@fangzhongya/fang-ui 0.0.28 → 0.0.29

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 (99) hide show
  1. package/dist/components/array/src/index.cjs +6 -9
  2. package/dist/components/array/src/index.js +6 -9
  3. package/dist/components/cascader/index.d.ts +1 -1
  4. package/dist/components/cascader/src/index.d.ts +2 -2
  5. package/dist/components/checks/src/index.cjs +4 -4
  6. package/dist/components/checks/src/index.js +4 -4
  7. package/dist/components/common/list.cjs +2 -3
  8. package/dist/components/common/list.js +2 -3
  9. package/dist/components/common/use.cjs +11 -11
  10. package/dist/components/common/use.js +11 -11
  11. package/dist/components/cs-slot/src/index.cjs +6 -6
  12. package/dist/components/cs-slot/src/index.js +6 -6
  13. package/dist/components/dialog/src/index.cjs +2 -2
  14. package/dist/components/dialog/src/index.js +2 -2
  15. package/dist/components/edit-float/src/index2.cjs +2 -2
  16. package/dist/components/edit-float/src/index2.js +2 -2
  17. package/dist/components/el-tables/src/columns3.cjs +1 -1
  18. package/dist/components/el-tables/src/columns3.js +1 -1
  19. package/dist/components/el-tables/src/index.cjs +2 -3
  20. package/dist/components/el-tables/src/index.js +2 -3
  21. package/dist/components/forms/src/index.cjs +2 -2
  22. package/dist/components/forms/src/index.js +2 -2
  23. package/dist/components/forms/src/setup.cjs +5 -8
  24. package/dist/components/forms/src/setup.js +5 -8
  25. package/dist/components/forms/src/util.cjs +1 -2
  26. package/dist/components/forms/src/util.js +1 -2
  27. package/dist/components/forms-drag/src/index.cjs +2 -2
  28. package/dist/components/forms-drag/src/index.js +2 -2
  29. package/dist/components/forms-item/src/index.cjs +1 -1
  30. package/dist/components/forms-item/src/index.js +1 -1
  31. package/dist/components/forms-items/src/index.cjs +2 -2
  32. package/dist/components/forms-items/src/index.js +2 -2
  33. package/dist/components/global-config/src/index.cjs +1 -1
  34. package/dist/components/global-config/src/index.js +1 -1
  35. package/dist/components/icon-picker/src/index.cjs +4 -6
  36. package/dist/components/icon-picker/src/index.js +4 -6
  37. package/dist/components/input/index.d.ts +1 -1
  38. package/dist/components/input/src/index.d.ts +2 -2
  39. package/dist/components/input-number/index.d.ts +1 -1
  40. package/dist/components/input-number/src/index.d.ts +2 -2
  41. package/dist/components/input-select/index.d.ts +1 -1
  42. package/dist/components/input-select/src/index.d.ts +2 -2
  43. package/dist/components/input-select/src/index2.cjs +1 -1
  44. package/dist/components/input-select/src/index2.js +1 -1
  45. package/dist/components/labels/src/index2.cjs +1 -2
  46. package/dist/components/labels/src/index2.js +1 -2
  47. package/dist/components/menus/src/menu-ll.cjs +1 -1
  48. package/dist/components/menus/src/menu-ll.js +1 -1
  49. package/dist/components/page/src/index.cjs +65 -85
  50. package/dist/components/page/src/index.js +65 -85
  51. package/dist/components/page/src/set-column2.cjs +2 -2
  52. package/dist/components/page/src/set-column2.js +2 -2
  53. package/dist/components/right-key/index.d.ts +15 -0
  54. package/dist/components/right-key/src/data.cjs +4 -0
  55. package/dist/components/right-key/src/data.d.ts +4 -0
  56. package/dist/components/right-key/src/data.js +4 -0
  57. package/dist/components/right-key/src/index.cjs +5 -1
  58. package/dist/components/right-key/src/index.d.ts +9 -0
  59. package/dist/components/right-key/src/index.js +5 -1
  60. package/dist/components/role-select/src/index.cjs +1 -1
  61. package/dist/components/role-select/src/index.js +1 -1
  62. package/dist/components/selector/src/index2.cjs +2 -2
  63. package/dist/components/selector/src/index2.js +2 -2
  64. package/dist/components/selects/src/index.cjs +1 -1
  65. package/dist/components/selects/src/index.js +1 -1
  66. package/dist/components/stick-window/src/index.cjs +1 -1
  67. package/dist/components/stick-window/src/index.js +1 -1
  68. package/dist/components/switchs/src/index.cjs +4 -4
  69. package/dist/components/switchs/src/index.js +4 -4
  70. package/dist/components/table-list/src/table-list.cjs +10 -15
  71. package/dist/components/table-list/src/table-list.js +10 -15
  72. package/dist/components/tables/common/pagin.cjs +40 -57
  73. package/dist/components/tables/common/pagin.js +40 -57
  74. package/dist/components/tables/common/table-but.cjs +1 -2
  75. package/dist/components/tables/common/table-but.js +1 -2
  76. package/dist/components/tables/common/table-color.cjs +4 -5
  77. package/dist/components/tables/common/table-color.js +4 -5
  78. package/dist/components/tables/common/table-list.cjs +1 -2
  79. package/dist/components/tables/common/table-list.js +1 -2
  80. package/dist/components/tables/common/util.cjs +2 -3
  81. package/dist/components/tables/common/util.js +2 -3
  82. package/dist/components/tables/src/index.cjs +4 -5
  83. package/dist/components/tables/src/index.js +4 -5
  84. package/dist/components/tables-form/src/columns3.cjs +1 -1
  85. package/dist/components/tables-form/src/columns3.js +1 -1
  86. package/dist/components/tables-form/src/index.cjs +4 -7
  87. package/dist/components/tables-form/src/index.js +4 -7
  88. package/dist/components/tables-pagin/src/index.cjs +3 -4
  89. package/dist/components/tables-pagin/src/index.js +3 -4
  90. package/dist/components/vxe-tables/src/columns3.cjs +1 -1
  91. package/dist/components/vxe-tables/src/columns3.js +1 -1
  92. package/dist/components/vxe-tables/src/index.cjs +2 -3
  93. package/dist/components/vxe-tables/src/index.js +2 -3
  94. package/dist/directives/adjust/index.cjs +1 -2
  95. package/dist/directives/adjust/index.js +1 -2
  96. package/dist/hooks/global-config/index.cjs +2 -5
  97. package/dist/hooks/global-config/index.js +2 -5
  98. package/package.json +13 -13
  99. /package/dist/components/{forms-items → forms-item}/index.css +0 -0
@@ -109,8 +109,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
109
109
  const query = vue.ref(props.value);
110
110
  const isSenior = vue.ref(false);
111
111
  const getListQuery = () => {
112
- var _a;
113
- const v = (_a = props.config.query) == null ? void 0 : _a.list;
112
+ const v = props.config.query?.list;
114
113
  if (v && Array.isArray(v) && v.length > 0) {
115
114
  return getColumnList(v);
116
115
  } else {
@@ -123,9 +122,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
123
122
  };
124
123
  const listQuery = vue.ref([]);
125
124
  const setListQuery = () => {
126
- var _a;
127
125
  const list2 = getListQuery();
128
- if ((_a = props.config.query) == null ? void 0 : _a.senior) {
126
+ if (props.config.query?.senior) {
129
127
  let i = 0;
130
128
  list2.forEach((obj) => {
131
129
  if (obj.querybasis) {
@@ -143,8 +141,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
143
141
  listQuery.value = list2;
144
142
  };
145
143
  const onRefresh = () => {
146
- var _a;
147
- (_a = tableRef.value) == null ? void 0 : _a.getList();
144
+ tableRef.value?.getList();
148
145
  };
149
146
  const onQuery = (data) => {
150
147
  console.log("onQuery", data);
@@ -152,9 +149,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
152
149
  onRefresh();
153
150
  };
154
151
  const onReset = (data) => {
155
- var _a;
156
152
  console.log("onReset", data);
157
- if ((_a = props.config.query) == null ? void 0 : _a.reset) {
153
+ if (props.config.query?.reset) {
158
154
  query.value = data;
159
155
  onRefresh();
160
156
  }
@@ -170,7 +166,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
170
166
  };
171
167
  const butQuery = vue.ref([]);
172
168
  const getButQuery = () => {
173
- var _a;
174
169
  const arr = [
175
170
  {
176
171
  _id: "1",
@@ -183,7 +178,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
183
178
  type: "default"
184
179
  }
185
180
  ];
186
- if ((_a = props.config.query) == null ? void 0 : _a.senior) {
181
+ if (props.config.query?.senior) {
187
182
  const obj = {
188
183
  _id: "3",
189
184
  label: "高级",
@@ -219,9 +214,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
219
214
  setList.value = getList();
220
215
  };
221
216
  const tableList = vue.computed(() => {
222
- var _a;
223
217
  const arr = [];
224
- if (((_a = props.config.table) == null ? void 0 : _a.operation) !== false) {
218
+ if (props.config.table?.operation !== false) {
225
219
  arr.push({
226
220
  prop: "operation",
227
221
  label: "操作",
@@ -234,9 +228,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
234
228
  });
235
229
  let operationColumn = [];
236
230
  const getOperationColumn = () => {
237
- var _a, _b, _c;
238
231
  const array = [];
239
- if (((_a = props.config.edit) == null ? void 0 : _a.is) !== false) {
232
+ if (props.config.edit?.is !== false) {
240
233
  array.push({
241
234
  prop: 2,
242
235
  label: "编辑",
@@ -244,7 +237,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
244
237
  text: true
245
238
  });
246
239
  }
247
- if (((_b = props.config.delete) == null ? void 0 : _b.is) !== false) {
240
+ if (props.config.delete?.is !== false) {
248
241
  array.push({
249
242
  prop: 4,
250
243
  label: "删除",
@@ -252,7 +245,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
252
245
  text: true
253
246
  });
254
247
  }
255
- if (((_c = props.config.details) == null ? void 0 : _c.is) !== false) {
248
+ if (props.config.details?.is !== false) {
256
249
  array.push({
257
250
  prop: 9,
258
251
  label: "详情",
@@ -264,16 +257,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
264
257
  };
265
258
  let operationTop = [];
266
259
  const getOperationTop = () => {
267
- var _a, _b, _c;
268
260
  const array = [];
269
- if (((_a = props.config.add) == null ? void 0 : _a.is) !== false) {
261
+ if (props.config.add?.is !== false) {
270
262
  array.push({
271
263
  prop: 1,
272
264
  label: "添加",
273
265
  type: "primary"
274
266
  });
275
267
  }
276
- if (((_b = props.config.delete) == null ? void 0 : _b.is) !== false && ((_c = tableConfig.value.config) == null ? void 0 : _c.ischecked)) {
268
+ if (props.config.delete?.is !== false && tableConfig.value.config?.ischecked) {
277
269
  array.push({
278
270
  prop: 8,
279
271
  label: "批量删除",
@@ -283,11 +275,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
283
275
  return array;
284
276
  };
285
277
  const onDelete = (array) => {
286
- var _a, _b, _c;
287
278
  const ts = ["是否删除所选" + props.config.name + "?"];
288
- const label = ((_a = props.config.delete) == null ? void 0 : _a.label) || "name";
289
- const prop = ((_b = props.config.delete) == null ? void 0 : _b.prop) || "id";
290
- const name = ((_c = listObj[label]) == null ? void 0 : _c.label) || "内容";
279
+ const label = props.config.delete?.label || "name";
280
+ const prop = props.config.delete?.prop || "id";
281
+ const name = listObj[label]?.label || "内容";
291
282
  array.forEach((obj) => {
292
283
  ts.push(name + ":" + (obj[label] ?? ""));
293
284
  });
@@ -297,20 +288,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
297
288
  type: "warning",
298
289
  dangerouslyUseHTMLString: true
299
290
  }).then(() => {
300
- var _a2, _b2;
301
- const name2 = ((_a2 = props.config.delete) == null ? void 0 : _a2.name) || "ids";
291
+ const name2 = props.config.delete?.name || "ids";
302
292
  const value = { [name2]: array.map((o) => o[prop]) };
303
293
  console.log("onDelete", value);
304
- const ajax = (_b2 = props.config.delete) == null ? void 0 : _b2.ajax;
294
+ const ajax = props.config.delete?.ajax;
305
295
  if (ajax) {
306
296
  const param = {
307
297
  param: props.value
308
298
  };
309
299
  if (typeof ajax === "object") {
310
- param.onRequestBefore = ajax == null ? void 0 : ajax.onRequestBefore;
311
- param.onRequestAfter = ajax == null ? void 0 : ajax.onRequestAfter;
312
- param.ajax = ajax == null ? void 0 : ajax.url;
313
- param.ajaxConfig = ajax == null ? void 0 : ajax.config;
300
+ param.onRequestBefore = ajax?.onRequestBefore;
301
+ param.onRequestAfter = ajax?.onRequestAfter;
302
+ param.ajax = ajax?.url;
303
+ param.ajaxConfig = ajax?.config;
314
304
  } else {
315
305
  param.ajax = ajax;
316
306
  }
@@ -333,10 +323,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
333
323
  });
334
324
  };
335
325
  const onOperation = (item, row = {}) => {
336
- var _a, _b;
337
326
  if (item.prop === 1) {
338
327
  dialog.value = {
339
- ...(_a = props.config.add) == null ? void 0 : _a.value
328
+ ...props.config.add?.value
340
329
  };
341
330
  dialog.type = "add";
342
331
  dialog.visible = true;
@@ -357,16 +346,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
357
346
  } else if (item.prop === 9) {
358
347
  details.value = row;
359
348
  details.visible = true;
360
- const ajax = (_b = props.config.details) == null ? void 0 : _b.ajax;
349
+ const ajax = props.config.details?.ajax;
361
350
  if (ajax) {
362
351
  const param = {
363
352
  param: props.value
364
353
  };
365
354
  if (typeof ajax === "object") {
366
- param.onRequestBefore = ajax == null ? void 0 : ajax.onRequestBefore;
367
- param.onRequestAfter = ajax == null ? void 0 : ajax.onRequestAfter;
368
- param.ajax = ajax == null ? void 0 : ajax.url;
369
- param.ajaxConfig = ajax == null ? void 0 : ajax.config;
355
+ param.onRequestBefore = ajax?.onRequestBefore;
356
+ param.onRequestAfter = ajax?.onRequestAfter;
357
+ param.ajax = ajax?.url;
358
+ param.ajaxConfig = ajax?.config;
370
359
  } else {
371
360
  param.ajax = ajax;
372
361
  }
@@ -433,19 +422,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
433
422
  const onConfirm = () => {
434
423
  if (formRef.value) {
435
424
  formRef.value.validate().then((data) => {
436
- var _a, _b;
437
425
  if (dialog.type === "add") {
438
426
  console.log("添加", data);
439
- const ajax = (_a = props.config.add) == null ? void 0 : _a.ajax;
427
+ const ajax = props.config.add?.ajax;
440
428
  if (ajax) {
441
429
  const param = {
442
430
  param: props.value
443
431
  };
444
432
  if (typeof ajax === "object") {
445
- param.onRequestBefore = ajax == null ? void 0 : ajax.onRequestBefore;
446
- param.onRequestAfter = ajax == null ? void 0 : ajax.onRequestAfter;
447
- param.ajax = ajax == null ? void 0 : ajax.url;
448
- param.ajaxConfig = ajax == null ? void 0 : ajax.config;
433
+ param.onRequestBefore = ajax?.onRequestBefore;
434
+ param.onRequestAfter = ajax?.onRequestAfter;
435
+ param.ajax = ajax?.url;
436
+ param.ajaxConfig = ajax?.config;
449
437
  } else {
450
438
  param.ajax = ajax;
451
439
  }
@@ -470,16 +458,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
470
458
  }
471
459
  } else if (dialog.type === "edit") {
472
460
  console.log("编辑", data);
473
- const ajax = (_b = props.config.edit) == null ? void 0 : _b.ajax;
461
+ const ajax = props.config.edit?.ajax;
474
462
  if (ajax) {
475
463
  const param = {
476
464
  param: props.value
477
465
  };
478
466
  if (typeof ajax === "object") {
479
- param.onRequestBefore = ajax == null ? void 0 : ajax.onRequestBefore;
480
- param.onRequestAfter = ajax == null ? void 0 : ajax.onRequestAfter;
481
- param.ajax = ajax == null ? void 0 : ajax.url;
482
- param.ajaxConfig = ajax == null ? void 0 : ajax.config;
467
+ param.onRequestBefore = ajax?.onRequestBefore;
468
+ param.onRequestAfter = ajax?.onRequestAfter;
469
+ param.ajax = ajax?.url;
470
+ param.ajaxConfig = ajax?.config;
483
471
  } else {
484
472
  param.ajax = ajax;
485
473
  }
@@ -509,9 +497,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
509
497
  }
510
498
  };
511
499
  const getListForm = () => {
512
- var _a, _b;
513
500
  if (dialog.type === "edit") {
514
- const v = (_a = props.config.edit) == null ? void 0 : _a.list;
501
+ const v = props.config.edit?.list;
515
502
  if (v && Array.isArray(v) && v.length > 0) {
516
503
  return getColumnList(v);
517
504
  } else {
@@ -520,7 +507,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
520
507
  });
521
508
  }
522
509
  } else {
523
- const v = (_b = props.config.add) == null ? void 0 : _b.list;
510
+ const v = props.config.add?.list;
524
511
  if (v && Array.isArray(v) && v.length > 0) {
525
512
  return getColumnList(v);
526
513
  } else {
@@ -539,8 +526,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
539
526
  value: {}
540
527
  });
541
528
  const getListDetails = () => {
542
- var _a;
543
- const v = (_a = props.config.details) == null ? void 0 : _a.list;
529
+ const v = props.config.details?.list;
544
530
  if (v && Array.isArray(v) && v.length > 0) {
545
531
  return getColumnList(v);
546
532
  } else {
@@ -554,19 +540,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
554
540
  vue.watch(
555
541
  () => props.config,
556
542
  (newValue) => {
557
- var _a, _b, _c, _d;
558
543
  if (newValue) {
559
544
  if (props.config.table) {
560
545
  tableConfig.value = getTableConfig();
561
546
  }
562
- if (((_a = props.config.query) == null ? void 0 : _a.is) !== false) {
547
+ if (props.config.query?.is !== false) {
563
548
  setListQuery();
564
549
  butQuery.value = getButQuery();
565
550
  }
566
- if (((_b = props.config.details) == null ? void 0 : _b.is) !== false) {
551
+ if (props.config.details?.is !== false) {
567
552
  setListDetails();
568
553
  }
569
- if (((_c = props.config.add) == null ? void 0 : _c.is) !== false || ((_d = props.config.edit) == null ? void 0 : _d.is) !== false) {
554
+ if (props.config.add?.is !== false || props.config.edit?.is !== false) {
570
555
  setListForm();
571
556
  }
572
557
  operationColumn = getOperationColumn();
@@ -581,16 +566,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
581
566
  vue.watch(
582
567
  () => props.list,
583
568
  () => {
584
- var _a, _b, _c, _d;
585
569
  listObj = getListObj();
586
570
  setSetList();
587
- if (((_a = props.config.query) == null ? void 0 : _a.is) !== false) {
571
+ if (props.config.query?.is !== false) {
588
572
  setListQuery();
589
573
  }
590
- if (((_b = props.config.details) == null ? void 0 : _b.is) !== false) {
574
+ if (props.config.details?.is !== false) {
591
575
  setListDetails();
592
576
  }
593
- if (((_c = props.config.add) == null ? void 0 : _c.is) !== false || ((_d = props.config.edit) == null ? void 0 : _d.is) !== false) {
577
+ if (props.config.add?.is !== false || props.config.edit?.is !== false) {
594
578
  setListForm();
595
579
  }
596
580
  },
@@ -600,7 +584,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
600
584
  }
601
585
  );
602
586
  return (_ctx, _cache) => {
603
- var _a, _b, _c;
604
587
  return vue.openBlock(), vue.createElementBlock("div", {
605
588
  class: vue.normalizeClass(vue.unref(cs).z())
606
589
  }, [
@@ -639,37 +622,34 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
639
622
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => details.visible = $event),
640
623
  "no-footer": ""
641
624
  }, {
642
- default: vue.withCtx(() => {
643
- var _a2;
644
- return [
645
- vue.createVNode(vue.unref(index$3.Lists), vue.mergeProps((_a2 = props.config.details) == null ? void 0 : _a2.config, {
646
- value: details.value,
647
- options: props.options,
648
- compons: props.compons,
649
- list: list.value
650
- }), vue.createSlots({ _: 2 }, [
651
- vue.renderList(listSlots, (k) => {
652
- return {
653
- name: k,
654
- fn: vue.withCtx((scope) => [
655
- vue.unref(slots)["list-" + k] ? vue.renderSlot(_ctx.$slots, "list-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
656
- ])
657
- };
658
- })
659
- ]), 1040, ["value", "options", "compons", "list"])
660
- ];
661
- }),
625
+ default: vue.withCtx(() => [
626
+ vue.createVNode(vue.unref(index$3.Lists), vue.mergeProps(props.config.details?.config, {
627
+ value: details.value,
628
+ options: props.options,
629
+ compons: props.compons,
630
+ list: list.value
631
+ }), vue.createSlots({ _: 2 }, [
632
+ vue.renderList(listSlots, (k) => {
633
+ return {
634
+ name: k,
635
+ fn: vue.withCtx((scope) => [
636
+ vue.unref(slots)["list-" + k] ? vue.renderSlot(_ctx.$slots, "list-" + k, vue.normalizeProps(vue.mergeProps({ key: 0 }, scope))) : vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.mergeProps({ key: 1 }, scope)))
637
+ ])
638
+ };
639
+ })
640
+ ]), 1040, ["value", "options", "compons", "list"])
641
+ ]),
662
642
  _: 3
663
643
  }, 8, ["title", "modelValue"]),
664
644
  vue.createElementVNode("div", {
665
645
  class: vue.normalizeClass(vue.unref(cs).z("header"))
666
646
  }, [
667
647
  vue.renderSlot(_ctx.$slots, dataSlot.header),
668
- ((_a = props.config.query) == null ? void 0 : _a.is) !== false ? (vue.openBlock(), vue.createElementBlock("div", {
648
+ props.config.query?.is !== false ? (vue.openBlock(), vue.createElementBlock("div", {
669
649
  key: 0,
670
650
  class: vue.normalizeClass(vue.unref(cs).z("query"))
671
651
  }, [
672
- vue.createVNode(vue.unref(index$2.Forms), vue.mergeProps((_b = props.config.query) == null ? void 0 : _b.config, {
652
+ vue.createVNode(vue.unref(index$2.Forms), vue.mergeProps(props.config.query?.config, {
673
653
  query: "",
674
654
  "label-position": "auto",
675
655
  "model-value": props.value,
@@ -728,7 +708,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
728
708
  vue.createVNode(vue.unref(index$4.TablesPagin), {
729
709
  ref_key: "tableRef",
730
710
  ref: tableRef,
731
- load: ((_c = props.config.query) == null ? void 0 : _c.is) === false,
711
+ load: props.config.query?.is === false,
732
712
  config: tableConfig.value,
733
713
  param: query.value,
734
714
  options: props.options,