szld-libs 0.4.7 → 0.4.8
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/szld-components.es.js +1014 -1012
- package/dist/szld-components.umd.js +25 -25
- package/es/hooks/useUniversalTable.js +4 -0
- package/lib/hooks/useUniversalTable.js +4 -0
- package/package.json +1 -1
|
@@ -391,6 +391,10 @@ function useUniversalTable() {
|
|
|
391
391
|
const updatedSelList = currentSelList.map((item) => {
|
|
392
392
|
var _a, _b;
|
|
393
393
|
const { input, inputType } = (item == null ? void 0 : item.renderdata) || {};
|
|
394
|
+
const defaultRenderData = item == null ? void 0 : item["default-render-data"];
|
|
395
|
+
if (defaultRenderData) {
|
|
396
|
+
return item;
|
|
397
|
+
}
|
|
394
398
|
if (input === "tab" && (inputType == null ? void 0 : inputType.startsWith("local-")) && (tabItems == null ? void 0 : tabItems.length) && (currentActive || currentActive === 0)) {
|
|
395
399
|
const tabConfig = currentSelList.find((item2) => input === "tab" && (inputType == null ? void 0 : inputType.startsWith("local-")));
|
|
396
400
|
const selectedPackage = tabItems[currentActive];
|
|
@@ -392,6 +392,10 @@ function useUniversalTable() {
|
|
|
392
392
|
const updatedSelList = currentSelList.map((item) => {
|
|
393
393
|
var _a, _b;
|
|
394
394
|
const { input, inputType } = (item == null ? void 0 : item.renderdata) || {};
|
|
395
|
+
const defaultRenderData = item == null ? void 0 : item["default-render-data"];
|
|
396
|
+
if (defaultRenderData) {
|
|
397
|
+
return item;
|
|
398
|
+
}
|
|
395
399
|
if (input === "tab" && (inputType == null ? void 0 : inputType.startsWith("local-")) && (tabItems == null ? void 0 : tabItems.length) && (currentActive || currentActive === 0)) {
|
|
396
400
|
const tabConfig = currentSelList.find((item2) => input === "tab" && (inputType == null ? void 0 : inputType.startsWith("local-")));
|
|
397
401
|
const selectedPackage = tabItems[currentActive];
|