keli-ui 0.0.12 → 0.0.14

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.
Files changed (33) hide show
  1. package/dist/keli-ui.css +1 -1
  2. package/dist/keli-ui.js +143 -128
  3. package/dist/keli-ui.umd.cjs +1 -1
  4. package/dist/types/lib/useButtonExec.d.ts +1 -1
  5. package/dist/types/packages/QueryComponents/QueryBar/QueryBarClient.vue.d.ts +1 -1
  6. package/dist/types/packages/QueryComponents/QueryBar/QueryBarMobile.vue.d.ts +1 -1
  7. package/dist/types/packages/QueryComponents/QueryBar/index.d.ts +4 -5
  8. package/dist/types/packages/QueryComponents/QuerySelect/QuerySelectClient.vue.d.ts +3 -3
  9. package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderClient.vue.d.ts +6 -6
  10. package/dist/types/packages/TableComponents/TableCardRender/TableCardRenderMobile.vue.d.ts +4 -6
  11. package/dist/types/packages/TableComponents/TableCardRender/index.d.ts +18 -19
  12. package/dist/types/packages/TableComponents/TableCheckBoxAsync/TableCheckBoxAsync.vue.d.ts +2 -2
  13. package/dist/types/packages/TableComponents/TableInput/TableInput.vue.d.ts +2 -2
  14. package/dist/types/packages/TableComponents/TableInputNumber/TableInputNumber.vue.d.ts +2 -2
  15. package/dist/types/packages/TableComponents/TableRender/TableRenderClient.vue.d.ts +28 -10
  16. package/dist/types/packages/TableComponents/TableRender/TableRenderMobile.vue.d.ts +6 -8
  17. package/dist/types/packages/TableComponents/TableRender/hooks/useCopyPaste.hook.d.ts +1 -1
  18. package/dist/types/packages/TableComponents/TableRender/index.d.ts +18 -19
  19. package/dist/types/packages/TableComponents/TableSelect/TableSelect.vue.d.ts +1 -1
  20. package/dist/types/packages/TableComponents/TableSelectAsync/TableSelectAsync.vue.d.ts +1 -1
  21. package/dist/types/packages/TableComponents/TableSwitch/TableSwitch.vue.d.ts +1 -1
  22. package/dist/types/packages/TableComponents/TableTreeRender/TableTreeRender.vue.d.ts +6 -8
  23. package/dist/types/packages/TableComponents/utils/dataFormatter.d.ts +1 -1
  24. package/dist/types/packages/ToolBar/ToolBarClient.vue.d.ts +1 -1
  25. package/dist/types/packages/ToolBar/ToolBarMobile.vue.d.ts +1 -1
  26. package/dist/types/packages/ToolBar/ToolBarProxy.vue.d.ts +1 -1
  27. package/dist/types/packages/index.d.ts +12 -11
  28. package/dist/types/packages/types/componentFrame.d.ts +3 -1
  29. package/dist/types/packages/types/queryFrame.d.ts +16 -0
  30. package/dist/types/packages/types/tableFrame.d.ts +50 -16
  31. package/dist/types/utils/msgTips.d.ts +1 -1
  32. package/package.json +1 -1
  33. package/dist/types/packages/TableComponents/TableRender/hooks/tableRender.hook.d.ts +0 -0
package/dist/keli-ui.js CHANGED
@@ -69494,6 +69494,12 @@ if (!VxeUI.hasLanguage("zh-CN")) {
69494
69494
  VxeUI.setLanguage(defaultLanguage2);
69495
69495
  }
69496
69496
  VxeUI.setTheme("light");
69497
+ function isEmpty(s) {
69498
+ return s === "" || s === null || s === void 0;
69499
+ }
69500
+ function isNotEmpty(s) {
69501
+ return s === null ? false : s === void 0 ? false : s !== "";
69502
+ }
69497
69503
  const configProviderContextKey = Symbol();
69498
69504
  const defaultNamespace = "el";
69499
69505
  const statePrefix = "is-";
@@ -75450,6 +75456,55 @@ function closeAll() {
75450
75456
  notify.closeAll = closeAll;
75451
75457
  notify._context = null;
75452
75458
  const ElNotification = withInstallFunction(notify, "$notify");
75459
+ const timestamp = (t2, f) => {
75460
+ if (t2 === null) {
75461
+ return t2;
75462
+ }
75463
+ return dayjs(t2).format(f || "YYYY-MM-DD HH:mm:ss");
75464
+ };
75465
+ const stringList = (s) => {
75466
+ if (typeof s === "object" && !Array.isArray(s)) {
75467
+ try {
75468
+ if (s !== "" && s !== null && s.type) return s.value;
75469
+ } catch (error) {
75470
+ console.error(error);
75471
+ }
75472
+ } else if (s.type) {
75473
+ const array = JSON.parse(s.value);
75474
+ return array.length > 0 ? array[array.length - 1] : "";
75475
+ }
75476
+ return s === null ? null : s.toString();
75477
+ };
75478
+ const formatterData = {
75479
+ toString: (value) => {
75480
+ if (value === null || value === void 0) {
75481
+ return null;
75482
+ }
75483
+ return typeof value === "string" ? value : value.toString();
75484
+ },
75485
+ parseInt: (value) => {
75486
+ return Number.parseInt(value, 10);
75487
+ },
75488
+ array: (params) => {
75489
+ if (params.translateObject[params.fieldName] && isNotEmpty(params.translateObject[params.fieldName][params.value]))
75490
+ return params.translateObject[params.fieldName][params.value];
75491
+ if (!params.translateObject[params.fieldName]) {
75492
+ params.translateObject[params.fieldName] = {};
75493
+ params.translateIndexArray[params.fieldName] = {
75494
+ index: 0
75495
+ };
75496
+ }
75497
+ for (let i = params.translateIndexArray[params.fieldName].index; i < params.array.length; i += 1) {
75498
+ params.translateObject[params.fieldName][params.array[i].value] = params.array[i].label;
75499
+ params.translateIndexArray[params.fieldName].index = i;
75500
+ if (params.array[i].value === params.value) {
75501
+ return params.array[i].label;
75502
+ }
75503
+ }
75504
+ return params.value;
75505
+ }
75506
+ };
75507
+ const dataFormatter = { timestamp, stringList, ...formatterData };
75453
75508
  function noop() {
75454
75509
  }
75455
75510
  const extend = Object.assign;
@@ -78104,12 +78159,6 @@ function showNotify(options) {
78104
78159
  return instance;
78105
78160
  }
78106
78161
  withInstall(stdin_default);
78107
- function isEmpty(s) {
78108
- return s === "" || s === null || s === void 0;
78109
- }
78110
- function isNotEmpty(s) {
78111
- return s === null ? false : s === void 0 ? false : s !== "";
78112
- }
78113
78162
  const deviceMode = ref("client");
78114
78163
  const isMobileDevice = computed(() => {
78115
78164
  return deviceMode.value === "mobile";
@@ -78208,6 +78257,11 @@ const msgTips = { alert, elNotification, tips };
78208
78257
  msgTips.elNotification = mobileNotify;
78209
78258
  }
78210
78259
  })();
78260
+ function sleep(time) {
78261
+ return new Promise((resolve) => {
78262
+ setTimeout(resolve, time * 1e3);
78263
+ });
78264
+ }
78211
78265
  function useCopyPaste(params) {
78212
78266
  if (!params.rowConfig || !params.rowConfig.height || !params.tableConfig || !params.tableConfig.paste) {
78213
78267
  return {
@@ -78705,72 +78759,6 @@ function useCopyPaste(params) {
78705
78759
  removePasteShortcut
78706
78760
  };
78707
78761
  }
78708
- const timestamp = (t2, f) => {
78709
- if (t2 === null) {
78710
- return t2;
78711
- }
78712
- return dayjs(t2).format(f || "YYYY-MM-DD HH:mm:ss");
78713
- };
78714
- const stringList = (s) => {
78715
- if (typeof s === "object" && !Array.isArray(s)) {
78716
- try {
78717
- if (s !== "" && s !== null && s.type) return s.value;
78718
- } catch (error) {
78719
- console.error(error);
78720
- }
78721
- } else if (s.type) {
78722
- const array = JSON.parse(s.value);
78723
- return array.length > 0 ? array[array.length - 1] : "";
78724
- }
78725
- return s === null ? null : s.toString();
78726
- };
78727
- const formatterData = {
78728
- toString: (value) => {
78729
- if (value === null || value === void 0) {
78730
- return null;
78731
- }
78732
- return typeof value === "string" ? value : value.toString();
78733
- },
78734
- parseInt: (value) => {
78735
- return Number.parseInt(value, 10);
78736
- },
78737
- array: (params) => {
78738
- if (params.translateObject[params.fieldName] && isNotEmpty(params.translateObject[params.fieldName][params.value]))
78739
- return params.translateObject[params.fieldName][params.value];
78740
- if (!params.translateObject[params.fieldName]) {
78741
- params.translateObject[params.fieldName] = {};
78742
- params.translateIndexArray[params.fieldName] = {
78743
- index: 0
78744
- };
78745
- }
78746
- for (let i = params.translateIndexArray[params.fieldName].index; i < params.array.length; i += 1) {
78747
- params.translateObject[params.fieldName][params.array[i].value] = params.array[i].label;
78748
- params.translateIndexArray[params.fieldName].index = i;
78749
- if (params.array[i].value === params.value) {
78750
- return params.array[i].label;
78751
- }
78752
- }
78753
- return params.value;
78754
- }
78755
- };
78756
- const dataFormatter = { timestamp, stringList, ...formatterData };
78757
- async function useButtonExec(data, button, rowIndex) {
78758
- if (isEmpty(button.webFunction)) {
78759
- return;
78760
- }
78761
- if (button.clickTips) {
78762
- msgTips.alert({
78763
- type: "warning",
78764
- msg: button.clickTips,
78765
- title: button.type,
78766
- callback: async () => {
78767
- button.webFunction(data, button.params, rowIndex);
78768
- }
78769
- });
78770
- } else {
78771
- button.webFunction(data, button.params, rowIndex);
78772
- }
78773
- }
78774
78762
  const mergeObjects = (queryData, typeData) => {
78775
78763
  var _a2;
78776
78764
  const mergedObj = {};
@@ -78957,6 +78945,23 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
78957
78945
  };
78958
78946
  }
78959
78947
  });
78948
+ async function useButtonExec(data, button, rowIndex) {
78949
+ if (isEmpty(button.webFunction)) {
78950
+ return;
78951
+ }
78952
+ if (button.clickTips) {
78953
+ msgTips.alert({
78954
+ type: "warning",
78955
+ msg: button.clickTips,
78956
+ title: button.type,
78957
+ callback: async () => {
78958
+ button.webFunction(data, button.params, rowIndex);
78959
+ }
78960
+ });
78961
+ } else {
78962
+ button.webFunction(data, button.params, rowIndex);
78963
+ }
78964
+ }
78960
78965
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
78961
78966
  __name: "ToolBarClient",
78962
78967
  props: {
@@ -79000,7 +79005,7 @@ const _export_sfc = (sfc, props) => {
79000
79005
  }
79001
79006
  return target;
79002
79007
  };
79003
- const ToolBarClient = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-a54415be"]]);
79008
+ const ToolBarClient = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-d81813fb"]]);
79004
79009
  const _hoisted_1$9 = { class: "ke-table-render-client" };
79005
79010
  const _hoisted_2$6 = {
79006
79011
  key: 1,
@@ -79299,23 +79304,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
79299
79304
  };
79300
79305
  }
79301
79306
  });
79302
- const customFormatter = (options) => {
79303
- if (isEmpty(options.cellValue) || isEmpty(options.tabObj))
79304
- return options.cellValue;
79305
- if (options.tabObj === "translate") {
79306
- return dataFormatter.array({
79307
- value: options.cellValue,
79308
- array: options.translateJson,
79309
- fieldName: options.fieldName,
79310
- translateObject: options.translateObject,
79311
- translateIndexArray: options.translateIndexArray
79312
- });
79313
- }
79314
- if (options.tabObj) {
79315
- return dataFormatter[options.tabObj](options.cellValue);
79316
- }
79317
- return options.cellValue;
79318
- };
79319
79307
  const _hoisted_1$8 = { style: { "margin": "16px" } };
79320
79308
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
79321
79309
  __name: "QueryBarMobile",
@@ -79510,7 +79498,24 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
79510
79498
  };
79511
79499
  }
79512
79500
  });
79513
- const ToolBarMobile = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-c0feb3aa"]]);
79501
+ const ToolBarMobile = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-f3dd7c43"]]);
79502
+ const customFormatter = (options) => {
79503
+ if (isEmpty(options.cellValue) || isEmpty(options.tabObj))
79504
+ return options.cellValue;
79505
+ if (options.tabObj === "translate") {
79506
+ return dataFormatter.array({
79507
+ value: options.cellValue,
79508
+ array: options.translateJson,
79509
+ fieldName: options.fieldName,
79510
+ translateObject: options.translateObject,
79511
+ translateIndexArray: options.translateIndexArray
79512
+ });
79513
+ }
79514
+ if (options.tabObj) {
79515
+ return dataFormatter[options.tabObj](options.cellValue);
79516
+ }
79517
+ return options.cellValue;
79518
+ };
79514
79519
  const _hoisted_1$6 = { class: "table-render-mobile" };
79515
79520
  const _hoisted_2$5 = { class: "table-render-mobile-search" };
79516
79521
  const _hoisted_3$2 = { class: "table-tool-button" };
@@ -79744,7 +79749,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
79744
79749
  };
79745
79750
  }
79746
79751
  });
79747
- const TableRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-24559185"]]);
79752
+ const TableRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-8d24642d"]]);
79748
79753
  const KeliTableRender = isMobileDevice.value ? TableRenderMobile : _sfc_main$h;
79749
79754
  KeliTableRender.install = (app) => {
79750
79755
  app.component(KeliTableRender.__name, KeliTableRender);
@@ -80013,7 +80018,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
80013
80018
  };
80014
80019
  }
80015
80020
  });
80016
- const TableCardRenderClient = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-f727ae8d"]]);
80021
+ const TableCardRenderClient = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-deb207ad"]]);
80017
80022
  const _hoisted_1$4 = { class: "table-render-mobile" };
80018
80023
  const _hoisted_2$3 = { class: "table-render-mobile-search" };
80019
80024
  const _hoisted_3 = { class: "table-tool-button" };
@@ -80254,7 +80259,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
80254
80259
  };
80255
80260
  }
80256
80261
  });
80257
- const TableCardRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-f646ed8a"]]);
80262
+ const TableCardRenderMobile = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-24284a44"]]);
80258
80263
  const KeliTableCardRender = isMobileDevice.value ? TableCardRenderMobile : TableCardRenderClient;
80259
80264
  KeliTableCardRender.install = (app) => {
80260
80265
  app.component(KeliTableCardRender.__name, KeliTableCardRender);
@@ -80465,7 +80470,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
80465
80470
  };
80466
80471
  }
80467
80472
  });
80468
- const KeliTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-ab548e2d"]]);
80473
+ const KeliTableTreeRender = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b06f3a94"]]);
80469
80474
  KeliTableTreeRender.install = (app) => {
80470
80475
  app.component(KeliTableTreeRender.__name, KeliTableTreeRender);
80471
80476
  };
@@ -80529,9 +80534,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
80529
80534
  };
80530
80535
  const textCache = {};
80531
80536
  const setShowText = (componentData, canReTry) => {
80532
- var _a2;
80533
- if (Array.isArray(props.detail.options)) {
80534
- (_a2 = props.detail) == null ? void 0 : _a2.options.forEach((item) => {
80537
+ var _a2, _b, _c;
80538
+ if (Array.isArray((_c = (_b = (_a2 = props.detail) == null ? void 0 : _a2.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.options)) {
80539
+ props.detail.editRender.props.options.forEach((item) => {
80535
80540
  textCache[item.value] = item.label;
80536
80541
  });
80537
80542
  }
@@ -80602,16 +80607,19 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
80602
80607
  modelValue: checkData.value,
80603
80608
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => checkData.value = $event)
80604
80609
  }, {
80605
- default: withCtx(() => [
80606
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.detail.options, (ops) => {
80607
- return openBlock(), createBlock(_component_el_checkbox, {
80608
- key: ops.value,
80609
- disabled: ops.disabled,
80610
- label: ops.label,
80611
- value: ops.value
80612
- }, null, 8, ["disabled", "label", "value"]);
80613
- }), 128))
80614
- ]),
80610
+ default: withCtx(() => {
80611
+ var _a2, _b, _c;
80612
+ return [
80613
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_c = (_b = (_a2 = __props.detail) == null ? void 0 : _a2.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.options, (ops) => {
80614
+ return openBlock(), createBlock(_component_el_checkbox, {
80615
+ key: ops.value,
80616
+ disabled: ops.disabled,
80617
+ label: ops.label,
80618
+ value: ops.value
80619
+ }, null, 8, ["disabled", "label", "value"]);
80620
+ }), 128))
80621
+ ];
80622
+ }),
80615
80623
  _: 1
80616
80624
  }, 8, ["modelValue"])
80617
80625
  ]),
@@ -80621,7 +80629,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
80621
80629
  };
80622
80630
  }
80623
80631
  });
80624
- const KeliTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-16ccc8c0"]]);
80632
+ const KeliTableCheckBoxAsync = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-843c7943"]]);
80625
80633
  KeliTableCheckBoxAsync.install = (app) => {
80626
80634
  app.component(KeliTableCheckBoxAsync.__name, KeliTableCheckBoxAsync);
80627
80635
  };
@@ -80739,7 +80747,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
80739
80747
  };
80740
80748
  }
80741
80749
  });
80742
- const KeliTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-d7547436"]]);
80750
+ const KeliTableInput = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-45577ce0"]]);
80743
80751
  const _hoisted_1 = { style: { "width": "100%" } };
80744
80752
  const _hoisted_2 = { style: { "margin": "4px 0 0", "text-align": "right" } };
80745
80753
  const _sfc_main$8 = /* @__PURE__ */ defineComponent({
@@ -80859,7 +80867,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
80859
80867
  };
80860
80868
  }
80861
80869
  });
80862
- const KeliTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-305591d3"]]);
80870
+ const KeliTableInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b622e1f6"]]);
80863
80871
  KeliTableInputNumber.install = (app) => {
80864
80872
  app.component(KeliTableInputNumber.__name, KeliTableInputNumber);
80865
80873
  };
@@ -80899,8 +80907,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
80899
80907
  }
80900
80908
  );
80901
80909
  const setValue = (v) => {
80902
- var _a2;
80903
- if ((_a2 = props.detail) == null ? void 0 : _a2.multiple) {
80910
+ var _a2, _b, _c;
80911
+ if ((_c = (_b = (_a2 = props.detail) == null ? void 0 : _a2.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.multiple) {
80904
80912
  valueRef.value = Array.isArray(v) ? v : [];
80905
80913
  } else if (["number", "string"].includes(typeof v) || v === null) {
80906
80914
  valueRef.value = v;
@@ -80910,24 +80918,24 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
80910
80918
  setValue(props.value);
80911
80919
  });
80912
80920
  return (_ctx, _cache) => {
80913
- var _a2, _b, _c, _d, _e, _f;
80921
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j;
80914
80922
  const _component_el_option = resolveComponent("el-option");
80915
80923
  const _component_el_select = resolveComponent("el-select");
80916
80924
  return openBlock(), createBlock(_component_el_select, mergeProps({
80917
80925
  modelValue: valueRef.value,
80918
80926
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
80919
- multiple: ((_a2 = __props.detail) == null ? void 0 : _a2.multiple) === true,
80927
+ multiple: ((_c = (_b = (_a2 = __props.detail) == null ? void 0 : _a2.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.multiple) === true,
80920
80928
  style: { "width": "100%" }
80921
- }, ((_c = (_b = __props.detail.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.componentParams) ? (_d = __props.detail) == null ? void 0 : _d.editRender.props.componentParams : {}, {
80929
+ }, ((_e = (_d = __props.detail.editRender) == null ? void 0 : _d.props) == null ? void 0 : _e.componentParams) ? (_f = __props.detail) == null ? void 0 : _f.editRender.props.componentParams : {}, {
80922
80930
  disabled: __props.detail.disabled !== false,
80923
- options: (_e = __props.detail) == null ? void 0 : _e.options,
80924
- placeholder: (_f = __props.detail) == null ? void 0 : _f.placeholder,
80931
+ options: (_i = (_h = (_g = __props.detail) == null ? void 0 : _g.editRender) == null ? void 0 : _h.props) == null ? void 0 : _i.options,
80932
+ placeholder: (_j = __props.detail) == null ? void 0 : _j.placeholder,
80925
80933
  onChange: handleChange
80926
80934
  }), {
80927
80935
  default: withCtx(() => {
80928
- var _a3;
80936
+ var _a3, _b2, _c2;
80929
80937
  return [
80930
- (openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = __props.detail) == null ? void 0 : _a3.options, (item) => {
80938
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_c2 = (_b2 = (_a3 = __props.detail) == null ? void 0 : _a3.editRender) == null ? void 0 : _b2.props) == null ? void 0 : _c2.options, (item) => {
80931
80939
  return openBlock(), createBlock(_component_el_option, {
80932
80940
  key: item.value,
80933
80941
  disabled: item.disabled,
@@ -80978,23 +80986,23 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
80978
80986
  emits("valueChange", (_a2 = props.detail) == null ? void 0 : _a2.field, value, props.rowData);
80979
80987
  };
80980
80988
  return (_ctx, _cache) => {
80981
- var _a2, _b, _c, _d, _e, _f;
80989
+ var _a2, _b, _c, _d, _e, _f, _g;
80982
80990
  const _component_el_option = resolveComponent("el-option");
80983
80991
  const _component_el_select = resolveComponent("el-select");
80984
80992
  return openBlock(), createBlock(_component_el_select, mergeProps({
80985
80993
  modelValue: valueRef.value,
80986
80994
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => valueRef.value = $event),
80987
- multiple: (_a2 = __props.detail) == null ? void 0 : _a2.multiple,
80995
+ multiple: ((_b = (_a2 = __props.detail) == null ? void 0 : _a2.editRender) == null ? void 0 : _b.props.multiple) === true,
80988
80996
  style: { "width": "100%" }
80989
- }, ((_c = (_b = __props.detail.editRender) == null ? void 0 : _b.props) == null ? void 0 : _c.componentParams) ? (_d = __props.detail) == null ? void 0 : _d.editRender.props.componentParams : {}, {
80990
- disabled: ((_e = __props.detail) == null ? void 0 : _e.disabled) !== false,
80991
- placeholder: (_f = __props.detail) == null ? void 0 : _f.placeholder,
80997
+ }, ((_d = (_c = __props.detail.editRender) == null ? void 0 : _c.props) == null ? void 0 : _d.componentParams) ? (_e = __props.detail) == null ? void 0 : _e.editRender.props.componentParams : {}, {
80998
+ disabled: ((_f = __props.detail) == null ? void 0 : _f.disabled) !== false,
80999
+ placeholder: (_g = __props.detail) == null ? void 0 : _g.placeholder,
80992
81000
  onChange: handleChange
80993
81001
  }), {
80994
81002
  default: withCtx(() => {
80995
- var _a3;
81003
+ var _a3, _b2;
80996
81004
  return [
80997
- (openBlock(true), createElementBlock(Fragment, null, renderList((_a3 = __props.detail) == null ? void 0 : _a3.options, (item) => {
81005
+ (openBlock(true), createElementBlock(Fragment, null, renderList((_b2 = (_a3 = __props.detail) == null ? void 0 : _a3.editRender) == null ? void 0 : _b2.props.options, (item) => {
80998
81006
  return openBlock(), createBlock(_component_el_option, {
80999
81007
  key: item.value,
81000
81008
  disabled: item.disabled,
@@ -81249,7 +81257,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
81249
81257
  };
81250
81258
  }
81251
81259
  });
81252
- const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ce16482a"]]);
81260
+ const KeliQuerySelect = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-d1b8eb49"]]);
81253
81261
  KeliQuerySelect.install = (app) => {
81254
81262
  app.component(KeliQuerySelect.__name, KeliQuerySelect);
81255
81263
  };
@@ -81333,6 +81341,7 @@ export {
81333
81341
  config,
81334
81342
  index as default,
81335
81343
  formats$3 as formats,
81344
+ formatterData,
81336
81345
  getConfig$7 as getConfig,
81337
81346
  getI18n$d as getI18n,
81338
81347
  getIcon$8 as getIcon,
@@ -81342,9 +81351,12 @@ export {
81342
81351
  hooks$8 as hooks,
81343
81352
  install,
81344
81353
  interceptor$1 as interceptor,
81354
+ isEmpty,
81355
+ isNotEmpty,
81345
81356
  log$1 as log,
81346
81357
  menus$1 as menus,
81347
81358
  modal,
81359
+ msgTips,
81348
81360
  print,
81349
81361
  readFile,
81350
81362
  renderer$b as renderer,
@@ -81355,7 +81367,10 @@ export {
81355
81367
  setLanguage,
81356
81368
  setTheme,
81357
81369
  setup,
81370
+ sleep,
81371
+ stringList,
81358
81372
  t$1 as t,
81373
+ timestamp,
81359
81374
  use,
81360
81375
  validators$1 as validators,
81361
81376
  version$1 as version