Skip to content

Commit

Permalink
update studio build files
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrmatos committed Sep 25, 2023
1 parent 78b0723 commit c7a3602
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/jsreport-studio/static/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
</div>
<div id="content" class="root-container container"></div>

<script src="client.f358ea871b4cfadfcee0.js"></script>
<script src="client.4ed796f611fc2202fd81.js"></script>

</body>
</html>
13 changes: 4 additions & 9 deletions packages/jsreport-tags/studio/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1937,15 +1937,15 @@ const {
} = __webpack_require__(34);
function createGroupEntitiesByTags() {
const tagsCache = new WeakMap();
return (entitySets, entities, collapsedInfo, helpers) => {
return (entitySets, entities, helpers) => {
const entitySetsNames = helpers.getSetsToRender(entitySets);
const result = groupEntitiesByTags(entitySetsNames, entities, collapsedInfo, helpers, {
const result = groupEntitiesByTags(entitySetsNames, entities, helpers, {
tagsCache
});
return result;
};
}
function groupEntitiesByTags(entitySetsNames, entities, collapsedInfo, helpers, _ref) {
function groupEntitiesByTags(entitySetsNames, entities, helpers, _ref) {
let {
tagsCache
} = _ref;
Expand Down Expand Up @@ -1999,7 +1999,6 @@ function groupEntitiesByTags(entitySetsNames, entities, collapsedInfo, helpers,
}
}
const context = {
collapsedInfo,
tagsByShortidMap,
helpers
};
Expand Down Expand Up @@ -2037,8 +2036,7 @@ function groupEntityByTagAndType(collection, tagsByShortidMap, entity) {
function addItemsByTag(newItems, entitySetsNames, allTagEntities, currentTagEntities, entitiesByTagAndType, entitiesByTypeWithoutTag, context) {
const tagsWithNoEntities = [];
const {
tagsByShortidMap,
collapsedInfo
tagsByShortidMap
} = context;
const {
getNodeId,
Expand Down Expand Up @@ -2171,9 +2169,6 @@ function addItemsByTag(newItems, entitySetsNames, allTagEntities, currentTagEnti

// this will make tag groups with same name different
item.id = getNodeId(item.name, isOnlyGroupNode && ((_item$data = item.data) === null || _item$data === void 0 ? void 0 : _item$data.shortid) == null ? null : item.data, parentId, depth);
if (isOnlyGroupNode) {
item.collapsed = collapsedInfo.nodes[item.id] != null ? collapsedInfo.nodes[item.id] : collapsedInfo.defaultValue(item);
}
if (item.items != null && item.items.length > 0) {
toProcess.push({
parentId: item.id,
Expand Down

0 comments on commit c7a3602

Please sign in to comment.