@fangzhongya/fang-ui 0.0.48 → 0.0.50

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