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.
@@ -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];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "szld-libs",
3
3
  "private": false,
4
- "version": "0.4.7",
4
+ "version": "0.4.8",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",