@superblocksteam/library 2.0.3-next.172 → 2.0.3-next.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{allPaths-BERwnhRf.js → allPaths-BIQ1lAti.js} +2 -2
- package/dist/{allPaths-BERwnhRf.js.map → allPaths-BIQ1lAti.js.map} +1 -1
- package/dist/{allPaths-Bpd3E6xy.js → allPaths-CnINpqHk.js} +2 -2
- package/dist/{allPaths-Bpd3E6xy.js.map → allPaths-CnINpqHk.js.map} +1 -1
- package/dist/{allPathsLoader-BSzGdn_4.js → allPathsLoader-Cu5NQvls.js} +3 -3
- package/dist/{allPathsLoader-C-JCfIgR.js.map → allPathsLoader-Cu5NQvls.js.map} +1 -1
- package/dist/{allPathsLoader-C-JCfIgR.js → allPathsLoader-LrSDm9sN.js} +3 -3
- package/dist/{allPathsLoader-BSzGdn_4.js.map → allPathsLoader-LrSDm9sN.js.map} +1 -1
- package/dist/{index-CUoqQjDK.js → index-Chvnowff.js} +18 -13
- package/dist/{index-CUoqQjDK.js.map → index-Chvnowff.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-bO9xGUBi.js → splitPathsBySizeLoader-Boa7FsNa.js} +2 -2
- package/dist/{splitPathsBySizeLoader-bO9xGUBi.js.map → splitPathsBySizeLoader-Boa7FsNa.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-Bu3ysO2_.js → splitPathsBySizeLoader-NTVYDbu3.js} +2 -2
- package/dist/{splitPathsBySizeLoader-Bu3ysO2_.js.map → splitPathsBySizeLoader-NTVYDbu3.js.map} +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IconSvgPaths16 } from "./index-BxzKdlqH.js";
|
|
2
2
|
import { I as IconSvgPaths20 } from "./index-DIn-fanT.js";
|
|
3
|
-
import { p as pascalCase, b as IconSize } from "./index-
|
|
3
|
+
import { p as pascalCase, b as IconSize } from "./index-Chvnowff.js";
|
|
4
4
|
function getIconPaths(name, size) {
|
|
5
5
|
var key = pascalCase(name);
|
|
6
6
|
return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getIconPaths,
|
|
15
15
|
iconNameToPathsRecordKey
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=allPaths-
|
|
17
|
+
//# sourceMappingURL=allPaths-BIQ1lAti.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-BIQ1lAti.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as IconSvgPaths16 } from "./index-DIJYif9G.js";
|
|
2
2
|
import { I as IconSvgPaths20 } from "./index-LHtbj0-V.js";
|
|
3
|
-
import { p as pascalCase, I as IconSize } from "./index-
|
|
3
|
+
import { p as pascalCase, I as IconSize } from "./index-Chvnowff.js";
|
|
4
4
|
function getIconPaths(name, size) {
|
|
5
5
|
var key = pascalCase(name);
|
|
6
6
|
return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
getIconPaths,
|
|
15
15
|
iconNameToPathsRecordKey
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=allPaths-
|
|
17
|
+
//# sourceMappingURL=allPaths-CnINpqHk.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPaths-
|
|
1
|
+
{"version":3,"file":"allPaths-CnINpqHk.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/allPaths.js"],"sourcesContent":["/*\n * Copyright 2021 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { pascalCase } from \"change-case\";\nimport * as IconSvgPaths16 from \"./generated/16px/paths\";\nimport * as IconSvgPaths20 from \"./generated/20px/paths\";\nimport { IconSize } from \"./iconTypes\";\nexport { IconSvgPaths16, IconSvgPaths20 };\n/**\n * Get the list of vector paths that define a given icon. These path strings are used to render `<path>`\n * elements inside an `<svg>` icon element. For full implementation details and nuances, see the icon component\n * handlebars template and `generate-icon-components` script in the __@blueprintjs/icons__ package.\n *\n * Note: this function loads all icon definitions __statically__, which means every icon is included in your\n * JS bundle. Only use this API if your app is likely to use all Blueprint icons at runtime. If you are looking for a\n * dynamic icon loader which loads icon definitions on-demand, use `{ Icons } from \"@blueprintjs/icons\"` instead.\n */\nexport function getIconPaths(name, size) {\n var key = pascalCase(name);\n return size === IconSize.STANDARD ? IconSvgPaths16[key] : IconSvgPaths20[key];\n}\n/**\n * Type safe string literal conversion of snake-case icon names to PascalCase icon names.\n * This is useful for indexing into the SVG paths record to extract a single icon's SVG path definition.\n *\n * @deprecated use `getIconPaths` instead\n */\nexport function iconNameToPathsRecordKey(name) {\n return pascalCase(name);\n}\n//# sourceMappingURL=allPaths.js.map"],"names":[],"mappings":";;;AA6BO,SAAS,aAAa,MAAM,MAAM;AACrC,MAAI,MAAM,WAAW,IAAI;AACzB,SAAO,SAAS,SAAS,WAAW,eAAe,GAAG,IAAI,eAAe,GAAG;AAChF;AAOO,SAAS,yBAAyB,MAAM;AAC3C,SAAO,WAAW,IAAI;AAC1B;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-Chvnowff.js";
|
|
2
2
|
var allPathsLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var getIconPaths;
|
|
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
|
|
|
7
7
|
case 0:
|
|
8
8
|
return [4, import(
|
|
9
9
|
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
10
|
-
"./allPaths-
|
|
10
|
+
"./allPaths-BIQ1lAti.js"
|
|
11
11
|
)];
|
|
12
12
|
case 1:
|
|
13
13
|
getIconPaths = _a.sent().getIconPaths;
|
|
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
|
|
|
19
19
|
export {
|
|
20
20
|
allPathsLoader
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=allPathsLoader-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-Cu5NQvls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-Cu5NQvls.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator } from "./index-Chvnowff.js";
|
|
2
2
|
var allPathsLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var getIconPaths;
|
|
@@ -7,7 +7,7 @@ var allPathsLoader = function(name, size) {
|
|
|
7
7
|
case 0:
|
|
8
8
|
return [4, import(
|
|
9
9
|
/* webpackChunkName: "blueprint-icons-all-paths" */
|
|
10
|
-
"./allPaths-
|
|
10
|
+
"./allPaths-CnINpqHk.js"
|
|
11
11
|
)];
|
|
12
12
|
case 1:
|
|
13
13
|
getIconPaths = _a.sent().getIconPaths;
|
|
@@ -19,4 +19,4 @@ var allPathsLoader = function(name, size) {
|
|
|
19
19
|
export {
|
|
20
20
|
allPathsLoader
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=allPathsLoader-
|
|
22
|
+
//# sourceMappingURL=allPathsLoader-LrSDm9sN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allPathsLoader-
|
|
1
|
+
{"version":3,"file":"allPathsLoader-LrSDm9sN.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/allPathsLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\n/**\n * A simple module loader which concatenates all icon paths into a single chunk.\n */\nexport var allPathsLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var getIconPaths;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-all-paths\" */\n \"../allPaths\")];\n case 1:\n getIconPaths = (_a.sent()).getIconPaths;\n return [2 /*return*/, getIconPaths(name, size)];\n }\n });\n}); };\n//# sourceMappingURL=allPathsLoader.js.map"],"names":[],"mappings":";AAmBU,IAAC,iBAAiB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AACrG,QAAI;AACJ,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAa,CAAC;AAAA,QAClB,KAAK;AACD,yBAAgB,GAAG,KAAI,EAAI;AAC3B,iBAAO,CAAC,GAAc,aAAa,MAAM,IAAI,CAAC;AAAA,MAC9D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -2692,14 +2692,14 @@ function getLoaderFn$1(options) {
|
|
|
2692
2692
|
if (!(loader === "all")) return [3, 3];
|
|
2693
2693
|
return [4, import(
|
|
2694
2694
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
2695
|
-
"./allPathsLoader-
|
|
2695
|
+
"./allPathsLoader-LrSDm9sN.js"
|
|
2696
2696
|
)];
|
|
2697
2697
|
case 2:
|
|
2698
2698
|
return [2, _b2.sent().allPathsLoader];
|
|
2699
2699
|
case 3:
|
|
2700
2700
|
return [4, import(
|
|
2701
2701
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
2702
|
-
"./splitPathsBySizeLoader-
|
|
2702
|
+
"./splitPathsBySizeLoader-NTVYDbu3.js"
|
|
2703
2703
|
)];
|
|
2704
2704
|
case 4:
|
|
2705
2705
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -63115,10 +63115,12 @@ class EntityManager {
|
|
|
63115
63115
|
if (eov.type === "external-function") {
|
|
63116
63116
|
const finalFunction = async (...args) => this.dirComputeEngine.compute({
|
|
63117
63117
|
snapshot: snapshot(scopeId),
|
|
63118
|
-
entityName: name,
|
|
63119
63118
|
func: eov.value,
|
|
63120
63119
|
path: prop,
|
|
63121
|
-
args
|
|
63120
|
+
args,
|
|
63121
|
+
get entityName() {
|
|
63122
|
+
return getName(entity.name);
|
|
63123
|
+
}
|
|
63122
63124
|
});
|
|
63123
63125
|
entity[prop] = finalFunction;
|
|
63124
63126
|
return;
|
|
@@ -63126,9 +63128,11 @@ class EntityManager {
|
|
|
63126
63128
|
const finalFunction = async (...args) => {
|
|
63127
63129
|
await runEventHandlers({
|
|
63128
63130
|
flow: eov.value,
|
|
63129
|
-
name,
|
|
63130
63131
|
scopeId,
|
|
63131
|
-
additionalContext: args[0]
|
|
63132
|
+
additionalContext: args[0],
|
|
63133
|
+
get name() {
|
|
63134
|
+
return getName(entity.name);
|
|
63135
|
+
}
|
|
63132
63136
|
});
|
|
63133
63137
|
};
|
|
63134
63138
|
if (isNested) {
|
|
@@ -143572,14 +143576,14 @@ function getLoaderFn(options) {
|
|
|
143572
143576
|
if (!(loader === "all")) return [3, 3];
|
|
143573
143577
|
return [4, import(
|
|
143574
143578
|
/* webpackChunkName: "blueprint-icons-all-paths-loader" */
|
|
143575
|
-
"./allPathsLoader-
|
|
143579
|
+
"./allPathsLoader-Cu5NQvls.js"
|
|
143576
143580
|
)];
|
|
143577
143581
|
case 2:
|
|
143578
143582
|
return [2, _b2.sent().allPathsLoader];
|
|
143579
143583
|
case 3:
|
|
143580
143584
|
return [4, import(
|
|
143581
143585
|
/* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
|
|
143582
|
-
"./splitPathsBySizeLoader-
|
|
143586
|
+
"./splitPathsBySizeLoader-Boa7FsNa.js"
|
|
143583
143587
|
)];
|
|
143584
143588
|
case 4:
|
|
143585
143589
|
return [2, _b2.sent().splitPathsBySizeLoader];
|
|
@@ -154665,6 +154669,7 @@ function getPageSize(props) {
|
|
|
154665
154669
|
return Math.max(pageSize, 1);
|
|
154666
154670
|
}
|
|
154667
154671
|
function getFilteredTableData(props) {
|
|
154672
|
+
var _a2;
|
|
154668
154673
|
if (!props.tableData) {
|
|
154669
154674
|
return [];
|
|
154670
154675
|
}
|
|
@@ -154714,10 +154719,10 @@ function getFilteredTableData(props) {
|
|
|
154714
154719
|
}
|
|
154715
154720
|
const sortedColumnWrapper = props.sortedColumn;
|
|
154716
154721
|
let sortedTableData;
|
|
154717
|
-
if (sortedColumnWrapper
|
|
154722
|
+
if (sortedColumnWrapper) {
|
|
154718
154723
|
const sortOrder = sortedColumnWrapper.asc;
|
|
154719
154724
|
const sortedColumn = sortedColumnWrapper.column;
|
|
154720
|
-
const column2 = props.columns[sortedColumn];
|
|
154725
|
+
const column2 = ((_a2 = props.columns) == null ? void 0 : _a2[sortedColumn]) ?? {};
|
|
154721
154726
|
const columnType = column2 && column2.columnType ? column2.columnType : "text";
|
|
154722
154727
|
const dateInputFormat = column2.inputFormat;
|
|
154723
154728
|
const isEmptyOrNil = (value) => {
|
|
@@ -154866,11 +154871,11 @@ function getFilteredTableData(props) {
|
|
|
154866
154871
|
return "";
|
|
154867
154872
|
};
|
|
154868
154873
|
const finalTableData = sortedTableData.filter((item) => {
|
|
154869
|
-
var
|
|
154874
|
+
var _a3;
|
|
154870
154875
|
const searchFound = getSearchKey() ? Object.values(item).join(", ").toLowerCase().includes(getSearchKey()) : true;
|
|
154871
154876
|
if (!searchFound) return false;
|
|
154872
154877
|
for (const [columnName, { byValue, condition }] of Object.entries(
|
|
154873
|
-
((
|
|
154878
|
+
((_a3 = props.filters) == null ? void 0 : _a3.byColumn) ?? {}
|
|
154874
154879
|
)) {
|
|
154875
154880
|
const column2 = props.columns[columnName];
|
|
154876
154881
|
const value = item[columnName];
|
|
@@ -190128,4 +190133,4 @@ export {
|
|
|
190128
190133
|
copyToClipboard as y,
|
|
190129
190134
|
navigateTo as z
|
|
190130
190135
|
};
|
|
190131
|
-
//# sourceMappingURL=index-
|
|
190136
|
+
//# sourceMappingURL=index-Chvnowff.js.map
|