dlzn-ui 1.90.0 → 1.92.0

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 (89) hide show
  1. package/assets/Index-CCwQ_Mhh.css +2 -0
  2. package/assets/Index-Co01AdLU.css +2 -0
  3. package/assets/IndexItem-5VrD3wb-.css +1 -0
  4. package/assets/custom-page-list-Dem3-TSH.css +1 -0
  5. package/assets/form-BEBdn52r.css +2 -0
  6. package/chunks/{Common-JCpJRcIQ.mjs → Common-B_fOVewz.mjs} +7 -7
  7. package/chunks/{Day-B2-VMp6b.mjs → Day-J83Okbcs.mjs} +12 -12
  8. package/chunks/{Hour-C5dH6HGj.mjs → Hour-zpP7cab8.mjs} +1 -1
  9. package/chunks/Index-C26IC9j5.mjs +33 -0
  10. package/chunks/Index-ZW1zDBUE.mjs +38 -0
  11. package/chunks/IndexItem-rd9PLxFu.mjs +70 -0
  12. package/chunks/{Minute-CJB2X5dZ.mjs → Minute-D5hHwQbr.mjs} +1 -1
  13. package/chunks/{Month-gLxaWshK.mjs → Month-DKBThQCT.mjs} +1 -1
  14. package/chunks/{Second-BIIpAoTx.mjs → Second-CpyxAPSW.mjs} +1 -1
  15. package/chunks/custom-page-list-tscjv8y5.mjs +74 -0
  16. package/chunks/custom-page-table-BDReG7BA.mjs +46 -0
  17. package/chunks/{form-DjDtnVwq.mjs → form-iyDxFJGm.mjs} +84 -78
  18. package/chunks/overview-BB7h4V3u.mjs +22 -0
  19. package/chunks/overview-BvLGalk-.mjs +7 -0
  20. package/chunks/page-list-6ZKGfu67.mjs +212 -0
  21. package/chunks/{page-query-BAO5cEK6.mjs → page-query-Cd_ULbqY.mjs} +1 -1
  22. package/chunks/page-table-BMN86ain.mjs +246 -0
  23. package/chunks/select-sys-user-Bj08BwIs.mjs +109 -0
  24. package/components/cron/src/Common.mjs +1 -1
  25. package/components/cron/src/Day.mjs +1 -1
  26. package/components/cron/src/Hour.mjs +1 -1
  27. package/components/cron/src/Minute.mjs +1 -1
  28. package/components/cron/src/Month.mjs +1 -1
  29. package/components/cron/src/Picker.mjs +6 -6
  30. package/components/cron/src/Second.mjs +1 -1
  31. package/components/custom-page-list/index.d.ts +2 -0
  32. package/components/custom-page-list/index.mjs +2 -0
  33. package/components/custom-page-list/src/custom-page-list.d.ts +3 -0
  34. package/components/custom-page-list/src/custom-page-list.mjs +2 -0
  35. package/components/custom-page-list/src/custom-page-list.vue.d.ts +26 -0
  36. package/components/custom-page-table/index.d.ts +2 -0
  37. package/components/custom-page-table/index.mjs +2 -0
  38. package/components/custom-page-table/src/custom-page-table.d.ts +3 -0
  39. package/components/custom-page-table/src/custom-page-table.mjs +2 -0
  40. package/components/custom-page-table/src/custom-page-table.vue.d.ts +33 -0
  41. package/components/date-picker/src/date-picker.vue.d.ts +1 -1
  42. package/components/form/index.mjs +1 -1
  43. package/components/form/src/form.d.ts +6 -0
  44. package/components/form/src/form.mjs +1 -1
  45. package/components/form/src/form.vue.d.ts +3 -3
  46. package/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
  47. package/components/index.d.ts +8 -0
  48. package/components/index.mjs +41 -32
  49. package/components/overview/index.d.ts +2 -0
  50. package/components/overview/index.mjs +3 -0
  51. package/components/overview/src/DicLabel/Index.mjs +2 -0
  52. package/components/overview/src/DicLabel/Index.vue.d.ts +11 -0
  53. package/components/overview/src/DicLabel/index.d.ts +27 -0
  54. package/components/overview/src/DicLabel/index2.mjs +0 -0
  55. package/components/overview/src/IndexItem.mjs +2 -0
  56. package/components/overview/src/IndexItem.vue.d.ts +8 -0
  57. package/components/overview/src/OptionLabel/Index.mjs +2 -0
  58. package/components/overview/src/OptionLabel/Index.vue.d.ts +13 -0
  59. package/components/overview/src/OptionLabel/index.d.ts +33 -0
  60. package/components/overview/src/OptionLabel/index2.mjs +0 -0
  61. package/components/overview/src/overview.d.ts +27 -0
  62. package/components/overview/src/overview.mjs +2 -0
  63. package/components/overview/src/overview.vue.d.ts +11 -0
  64. package/components/page-list/index.d.ts +2 -0
  65. package/components/page-list/index.mjs +2 -0
  66. package/components/page-list/src/page-list.d.ts +1426 -0
  67. package/components/page-list/src/page-list.mjs +2 -0
  68. package/components/page-list/src/page-list.vue.d.ts +31 -0
  69. package/components/page-query/index.mjs +1 -1
  70. package/components/page-query/src/page-query.mjs +1 -1
  71. package/components/page-query/src/page-query.vue.d.ts +3 -3
  72. package/components/page-table/index.d.ts +2 -0
  73. package/components/page-table/index.mjs +2 -0
  74. package/components/page-table/src/page-table.d.ts +41 -0
  75. package/components/page-table/src/page-table.mjs +2 -0
  76. package/components/page-table/src/page-table.vue.d.ts +56 -0
  77. package/components/select-sys-user/index.d.ts +2 -0
  78. package/components/select-sys-user/index.mjs +2 -0
  79. package/components/select-sys-user/src/Picker.mjs +88 -0
  80. package/components/select-sys-user/src/Picker.vue.d.ts +11 -0
  81. package/components/select-sys-user/src/select-sys-user.d.ts +4 -0
  82. package/components/select-sys-user/src/select-sys-user.mjs +2 -0
  83. package/components/select-sys-user/src/select-sys-user.vue.d.ts +12 -0
  84. package/components/table/src/table.vue.d.ts +2 -2
  85. package/components/tree/src/tree.vue.d.ts +1 -1
  86. package/index.mjs +41 -32
  87. package/package.json +1 -1
  88. package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +1 -1
  89. package/assets/form-BoTdcg8R.css +0 -2
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ .t-tag+.t-tag[data-v-013a6481]{margin-left:calc(var(--spacing,.25rem) * 2)}
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ .t-tag+.t-tag[data-v-72a06e65]{margin-left:calc(var(--spacing,.25rem) * 2)}
@@ -0,0 +1 @@
1
+ .t-typography[data-v-034d6ce8]>p{white-space:nowrap!important}
@@ -0,0 +1 @@
1
+ .page_operations_wrapper[data-v-b8ed8a2d]{display:none}.page_operations_wrapper[data-v-b8ed8a2d]:not(:empty){display:flex}
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ [data-v-289eb605] .t-form__label{padding-right:var(--td-size-1)}[data-v-289eb605] .t-form__label--top{min-height:auto;line-height:inherit}[data-v-289eb605] .t-form__item{margin-bottom:var(--td-comp-margin-xxl)!important}[data-v-289eb605] .t-form__item.no_label_item .t-form__label{display:none}[data-v-289eb605] .t-form__item .t-input-adornment{flex:auto}.t-form[data-v-289eb605]{--td-comp-margin-xxl:var(--td-comp-margin-xl)}.t-form[data-v-289eb605]:has(.t-form__item:not(.no_label_item)) .no_label_item .t-form__label{opacity:0;height:1px;padding-right:0;display:block}.t-form.no_item_mb .t-form__item[data-v-289eb605]{margin-bottom:0!important}.t-form-inline[data-v-289eb605]{--repeat-min-width:220px;--repeat-gap:24px;grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}.t-form-inline[data-v-289eb605] .no_label_item{align-self:flex-end}.t-form-inline[data-v-289eb605] .t-form__item{min-width:auto;margin-right:0;display:block}.t-form-inline[data-v-289eb605] .t-form__item.grid_item .t-form__controls-content{grid-template-columns:repeat(auto-fill, minmax(var(--repeat-min-width), 1fr));gap:0 var(--repeat-gap);display:grid}
@@ -1,8 +1,8 @@
1
1
  import { isFalsy as e, isValidNumberString as t } from "../utils/boolean.mjs";
2
2
  import { stringDisplay as n } from "../utils/string.mjs";
3
3
  import { t as r } from "./checkbox-group-D7jGdbHp.mjs";
4
- import { t as i } from "./radio-group-D29D9RMN.mjs";
5
- import { t as a } from "./select-DbGBggUm.mjs";
4
+ import { t as i } from "./select-DbGBggUm.mjs";
5
+ import { t as a } from "./radio-group-D29D9RMN.mjs";
6
6
  import { createBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeModels as d, openBlock as f, reactive as p, toDisplayString as m, unref as h, useModel as g, watch as _, withCtx as v } from "vue";
7
7
  import { Radio as y } from "tdesign-vue-next";
8
8
  //#region ../../packages/dlzn-ui/components/cron/src/Common.vue?vue&type=script&setup=true&lang.ts
@@ -72,7 +72,7 @@ var b = { class: "ml-10" }, x = { class: "ml-10" }, S = { class: "flex flex-col
72
72
  function E() {
73
73
  e(w.rangeStart) || e(w.rangeEnd) || Number(w.rangeStart) >= Number(w.rangeEnd) && (w.rangeEnd = n(Number(w.rangeStart) + 1));
74
74
  }
75
- return (e, t) => (f(), o(i, {
75
+ return (e, t) => (f(), o(a, {
76
76
  modelValue: w.type,
77
77
  "onUpdate:modelValue": t[5] ||= (e) => w.type = e,
78
78
  direction: "vertical"
@@ -85,7 +85,7 @@ var b = { class: "ml-10" }, x = { class: "ml-10" }, S = { class: "flex flex-col
85
85
  l(h(y), { value: "range" }, {
86
86
  default: v(() => [t[7] ||= c("区间 ", -1), s("span", b, [
87
87
  t[6] ||= c(" 从 ", -1),
88
- l(a, {
88
+ l(i, {
89
89
  modelValue: w.rangeStart,
90
90
  "onUpdate:modelValue": t[0] ||= (e) => w.rangeStart = e,
91
91
  clearable: !1,
@@ -97,7 +97,7 @@ var b = { class: "ml-10" }, x = { class: "ml-10" }, S = { class: "flex flex-col
97
97
  onChange: E
98
98
  }, null, 8, ["modelValue", "options"]),
99
99
  c(" " + m(u.unit) + ",至 ", 1),
100
- l(a, {
100
+ l(i, {
101
101
  modelValue: w.rangeEnd,
102
102
  "onUpdate:modelValue": t[1] ||= (e) => w.rangeEnd = e,
103
103
  clearable: !1,
@@ -115,7 +115,7 @@ var b = { class: "ml-10" }, x = { class: "ml-10" }, S = { class: "flex flex-col
115
115
  l(h(y), { value: "loop" }, {
116
116
  default: v(() => [t[9] ||= c("循环 ", -1), s("span", x, [
117
117
  t[8] ||= c(" 从 ", -1),
118
- l(a, {
118
+ l(i, {
119
119
  modelValue: w.incrementStart,
120
120
  "onUpdate:modelValue": t[2] ||= (e) => w.incrementStart = e,
121
121
  clearable: !1,
@@ -126,7 +126,7 @@ var b = { class: "ml-10" }, x = { class: "ml-10" }, S = { class: "flex flex-col
126
126
  }))
127
127
  }, null, 8, ["modelValue", "options"]),
128
128
  c(" " + m(u.unit) + "开始,间隔 ", 1),
129
- l(a, {
129
+ l(i, {
130
130
  modelValue: w.increment,
131
131
  "onUpdate:modelValue": t[3] ||= (e) => w.increment = e,
132
132
  clearable: !1,
@@ -1,7 +1,7 @@
1
1
  import { isValidNumberString as e } from "../utils/boolean.mjs";
2
2
  import { t } from "./checkbox-group-D7jGdbHp.mjs";
3
- import { t as n } from "./radio-group-D29D9RMN.mjs";
4
- import { t as r } from "./select-DbGBggUm.mjs";
3
+ import { t as n } from "./select-DbGBggUm.mjs";
4
+ import { t as r } from "./radio-group-D29D9RMN.mjs";
5
5
  import { createBlock as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, reactive as u, unref as d, useModel as f, watch as p, withCtx as m } from "vue";
6
6
  import { Radio as h } from "tdesign-vue-next";
7
7
  //#region ../../packages/dlzn-ui/components/cron/src/Day.vue?vue&type=script&setup=true&lang.ts
@@ -137,7 +137,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
137
137
  return;
138
138
  }
139
139
  S.type = "daySpecify", S.daySpecifyArr = b.value === "*" ? [] : b.value.split(",");
140
- }, { immediate: !0 }), (e, c) => (l(), i(n, {
140
+ }, { immediate: !0 }), (e, c) => (l(), i(r, {
141
141
  modelValue: S.type,
142
142
  "onUpdate:modelValue": c[11] ||= (e) => S.type = e,
143
143
  direction: "vertical"
@@ -150,7 +150,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
150
150
  s(d(h), { value: "weekLoop" }, {
151
151
  default: m(() => [c[16] ||= o("循环(按星期) ", -1), a("span", g, [
152
152
  c[13] ||= o(" 从星期 ", -1),
153
- s(r, {
153
+ s(n, {
154
154
  modelValue: S.weekIncrementStart,
155
155
  "onUpdate:modelValue": c[0] ||= (e) => S.weekIncrementStart = e,
156
156
  clearable: !1,
@@ -158,7 +158,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
158
158
  options: C
159
159
  }, null, 8, ["modelValue"]),
160
160
  c[14] ||= o(" 开始,间隔 ", -1),
161
- s(r, {
161
+ s(n, {
162
162
  modelValue: S.weekIncrement,
163
163
  "onUpdate:modelValue": c[1] ||= (e) => S.weekIncrement = e,
164
164
  clearable: !1,
@@ -175,7 +175,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
175
175
  s(d(h), { value: "dayLoop" }, {
176
176
  default: m(() => [c[20] ||= o("循环(按日) ", -1), a("span", _, [
177
177
  c[17] ||= o(" 从 ", -1),
178
- s(r, {
178
+ s(n, {
179
179
  modelValue: S.dayIncrementStart,
180
180
  "onUpdate:modelValue": c[2] ||= (e) => S.dayIncrementStart = e,
181
181
  clearable: !1,
@@ -186,7 +186,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
186
186
  }))
187
187
  }, null, 8, ["modelValue", "options"]),
188
188
  c[18] ||= o(" 日开始,间隔 ", -1),
189
- s(r, {
189
+ s(n, {
190
190
  modelValue: S.dayIncrement,
191
191
  "onUpdate:modelValue": c[3] ||= (e) => S.dayIncrement = e,
192
192
  clearable: !1,
@@ -228,7 +228,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
228
228
  _: 1
229
229
  }),
230
230
  s(d(h), { value: "lastXqOfMonth" }, {
231
- default: m(() => [c[25] ||= o("月最后一个星期 ", -1), s(r, {
231
+ default: m(() => [c[25] ||= o("月最后一个星期 ", -1), s(n, {
232
232
  modelValue: S.lastXqOfMonth,
233
233
  "onUpdate:modelValue": c[6] ||= (e) => S.lastXqOfMonth = e,
234
234
  clearable: !1,
@@ -240,7 +240,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
240
240
  s(d(h), { value: "lastDaysOfMonth" }, {
241
241
  default: m(() => [
242
242
  c[26] ||= o("月最后 ", -1),
243
- s(r, {
243
+ s(n, {
244
244
  modelValue: S.lastDaysOfMonth,
245
245
  "onUpdate:modelValue": c[7] ||= (e) => S.lastDaysOfMonth = e,
246
246
  clearable: !1,
@@ -255,7 +255,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
255
255
  _: 1
256
256
  }),
257
257
  s(d(h), { value: "nearestWeekday" }, {
258
- default: m(() => [s(r, {
258
+ default: m(() => [s(n, {
259
259
  modelValue: S.nearestWeekday,
260
260
  "onUpdate:modelValue": c[8] ||= (e) => S.nearestWeekday = e,
261
261
  clearable: !1,
@@ -270,7 +270,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
270
270
  s(d(h), { value: "nthXqOfMonth" }, {
271
271
  default: m(() => [
272
272
  c[29] ||= o("月第 ", -1),
273
- s(r, {
273
+ s(n, {
274
274
  modelValue: S.nthXqOfMonthNth,
275
275
  "onUpdate:modelValue": c[9] ||= (e) => S.nthXqOfMonthNth = e,
276
276
  clearable: !1,
@@ -281,7 +281,7 @@ var g = { class: "ml-10" }, _ = { class: "ml-10" }, v = { class: "flex flex-col
281
281
  }))
282
282
  }, null, 8, ["modelValue", "options"]),
283
283
  c[30] ||= o(" 个星期 ", -1),
284
- s(r, {
284
+ s(n, {
285
285
  modelValue: S.nthXqOfMonthXq,
286
286
  "onUpdate:modelValue": c[10] ||= (e) => S.nthXqOfMonthXq = e,
287
287
  clearable: !1,
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-JCpJRcIQ.mjs";
1
+ import { t as e } from "./Common-B_fOVewz.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Hour.vue
@@ -0,0 +1,33 @@
1
+ import { m as e } from "./user-DsSzsUIW.mjs";
2
+ import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { t as n } from "./tag-B-ovDWQi.mjs";
4
+ import { t as r } from "./overview-BvLGalk-.mjs";
5
+ import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderList as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
6
+ import '../assets/Index-Co01AdLU.css';//#region ../../packages/dlzn-ui/components/overview/src/DicLabel/Index.vue?vue&type=script&setup=true&lang.ts
7
+ var g = { key: 1 }, _ = /*#__PURE__*/ t(/* @__PURE__ */ l({
8
+ inheritAttrs: !1,
9
+ __name: "Index",
10
+ props: {
11
+ dicCode: {},
12
+ multiple: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ renderToTag: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ splitSymbol: { default: "," },
21
+ tag: { default: () => ({}) },
22
+ value: {}
23
+ },
24
+ setup(t) {
25
+ let l = t, _ = a(() => e(l.dicCode, r(l)).value.filter(Boolean));
26
+ return (e, r) => t.renderToTag ? (d(!0), s(i, { key: 0 }, f(_.value, (e) => (d(), o(m(n), u({ key: e }, { ref_for: !0 }, t.tag), {
27
+ default: h(() => [c(p(e), 1)]),
28
+ _: 2
29
+ }, 1040))), 128)) : (d(), s("span", g, p(_.value.join(t.splitSymbol)), 1));
30
+ }
31
+ }), [["__scopeId", "data-v-72a06e65"]]);
32
+ //#endregion
33
+ export { _ as t };
@@ -0,0 +1,38 @@
1
+ import e from "../hooks/useList/index.mjs";
2
+ import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { t as n } from "./tag-B-ovDWQi.mjs";
4
+ import { t as r } from "./overview-BvLGalk-.mjs";
5
+ import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderList as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
6
+ import '../assets/Index-CCwQ_Mhh.css';//#region ../../packages/dlzn-ui/components/overview/src/OptionLabel/Index.vue?vue&type=script&setup=true&lang.ts
7
+ var g = { key: 1 }, _ = /*#__PURE__*/ t(/* @__PURE__ */ l({
8
+ inheritAttrs: !1,
9
+ __name: "Index",
10
+ props: {
11
+ labelKey: { default: "label" },
12
+ multiple: {
13
+ type: Boolean,
14
+ default: !1
15
+ },
16
+ options: {},
17
+ renderToTag: {
18
+ type: Boolean,
19
+ default: !1
20
+ },
21
+ splitSymbol: { default: "," },
22
+ tag: { default: () => ({}) },
23
+ value: {},
24
+ valueKey: { default: "value" }
25
+ },
26
+ setup(t) {
27
+ let l = t, _ = a(() => {
28
+ let t = typeof l.options == "string" ? e(l.options).value : l.options;
29
+ return t.length === 0 ? [] : r(l).map((e) => t.find((t) => t[l.valueKey] === e)?.[l.labelKey] ?? e).filter(Boolean);
30
+ });
31
+ return (e, r) => t.renderToTag ? (d(!0), s(i, { key: 0 }, f(_.value, (e) => (d(), o(m(n), u({ key: e }, { ref_for: !0 }, t.tag), {
32
+ default: h(() => [c(p(e), 1)]),
33
+ _: 2
34
+ }, 1040))), 128)) : (d(), s("span", g, p(_.value.join(t.splitSymbol)), 1));
35
+ }
36
+ }), [["__scopeId", "data-v-013a6481"]]);
37
+ //#endregion
38
+ export { _ as t };
@@ -0,0 +1,70 @@
1
+ import { stringDisplay as e } from "../utils/string.mjs";
2
+ import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { t as n } from "./Index-C26IC9j5.mjs";
4
+ import { t as r } from "./Index-ZW1zDBUE.mjs";
5
+ import { createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, h as u, mergeProps as d, normalizeProps as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, useTemplateRef as v, withCtx as y } from "vue";
6
+ import { useResizeObserver as b, useThrottleFn as x } from "@vueuse/core";
7
+ import { Typography as S } from "tdesign-vue-next";
8
+ import { defaultsDeep as C } from "lodash-es";
9
+ import '../assets/IndexItem-5VrD3wb-.css';//#region ../../packages/dlzn-ui/components/overview/src/IndexItem.vue?vue&type=script&setup=true&lang.ts
10
+ var w = { class: "shrink-0 text-(--td-text-color-placeholder)" }, T = /*#__PURE__*/ t(/* @__PURE__ */ c({
11
+ __name: "IndexItem",
12
+ props: { item: {} },
13
+ setup(t) {
14
+ let c = /* #__PURE__ */ Object.assign({
15
+ "./DicLabel/Index.vue": n,
16
+ "./OptionLabel/Index.vue": r
17
+ });
18
+ function T(t) {
19
+ return E(t) ? () => u(c[`./${t.component}/Index.vue`], t) : () => u("span", e(t));
20
+ }
21
+ function E(e) {
22
+ return typeof e == "object" && !!e && "component" in e;
23
+ }
24
+ let D = m(!0), O = v("textRef"), k = x(() => {
25
+ if (O.value === null) return;
26
+ let e = O.value.$el.querySelector(":scope > p");
27
+ e !== null && (D.value = e.scrollWidth > e.clientWidth);
28
+ }, 500, !0);
29
+ b(O, k);
30
+ let A = m("");
31
+ function j() {
32
+ let e = O.value?.$el;
33
+ if (!e) return;
34
+ let t = e.querySelectorAll(".t-tag");
35
+ if (t.length > 0) {
36
+ A.value = [...t].map((e) => e.textContent.trim() ?? "").filter(Boolean).join(",");
37
+ return;
38
+ }
39
+ A.value = O.value?.$el.textContent.trim() ?? "";
40
+ }
41
+ function M() {
42
+ k(), j();
43
+ }
44
+ function N() {
45
+ k(), j();
46
+ }
47
+ return (e, n) => (p(), a("div", f(l(d({ class: "flex items-center" }, {
48
+ class: t.item.class,
49
+ style: t.item.style
50
+ }))), [o("span", w, g(t.item.label) + ":", 1), s(_(S), d({
51
+ ref_key: "textRef",
52
+ ref: O,
53
+ class: "my-0! flex-1 overflow-hidden"
54
+ }, _(C)({
55
+ ...t.item.textProps ?? {},
56
+ copyable: t.item.textProps?.copyable === !0 ? { text: A.value } : t.item.textProps?.copyable
57
+ }, { ellipsis: !D.value || { tooltipProps: {
58
+ content: T(t.item.content),
59
+ theme: "light"
60
+ } } }), {
61
+ onVnodeMounted: M,
62
+ onVnodeUpdated: N
63
+ }), {
64
+ default: y(() => [(p(), i(h(T(t.item.content))))]),
65
+ _: 1
66
+ }, 16)], 16));
67
+ }
68
+ }), [["__scopeId", "data-v-034d6ce8"]]);
69
+ //#endregion
70
+ export { T as t };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-JCpJRcIQ.mjs";
1
+ import { t as e } from "./Common-B_fOVewz.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Minute.vue
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-JCpJRcIQ.mjs";
1
+ import { t as e } from "./Common-B_fOVewz.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Month.vue
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Common-JCpJRcIQ.mjs";
1
+ import { t as e } from "./Common-B_fOVewz.mjs";
2
2
  import { createBlock as t, defineComponent as n, openBlock as r, useModel as i } from "vue";
3
3
  //#endregion
4
4
  //#region ../../packages/dlzn-ui/components/cron/src/Second.vue
@@ -0,0 +1,74 @@
1
+ import { t as e } from "./button-Cb2lySJu.mjs";
2
+ import { t } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { t as n } from "./card-BfHb58zl.mjs";
4
+ import { t as r } from "./custom-page-table-BDReG7BA.mjs";
5
+ import { n as i, r as a } from "./page-list-6ZKGfu67.mjs";
6
+ import { t as o } from "./page-query-Cd_ULbqY.mjs";
7
+ import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createVNode as p, defineComponent as m, guardReactiveProps as h, mergeDefaults as g, mergeProps as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, unref as S, useTemplateRef as C, withCtx as w } from "vue";
8
+ import { useRoute as T } from "vue-router";
9
+ import '../assets/custom-page-list-Dem3-TSH.css';//#region ../../packages/dlzn-ui/components/custom-page-list/src/custom-page-list.vue?vue&type=script&setup=true&lang.ts
10
+ var E = { class: "w-full" }, D = { class: "page_operations_wrapper items-end" }, O = /*@__PURE__*/ m({
11
+ inheritAttrs: !1,
12
+ __name: "custom-page-list",
13
+ props: /*@__PURE__*/ g({
14
+ apis: {},
15
+ cardProps: {},
16
+ formItems: {},
17
+ formOtherProps: {},
18
+ initialFormData: {},
19
+ isFirstQueryByParent: { type: Boolean },
20
+ operations: {}
21
+ }, { ...i }),
22
+ setup(t, { expose: i }) {
23
+ let m = t, g = T(), O = C("pageQueryRef"), k = C("pageTableRef"), { currentQueryParams: A, doQuery: j, doReset: M, exportProps: N, finallyFormItems: P, finallyQueryParams: F, onQuery: I, onReset: L, queryParams: R, resetCurrentQueryParams: z } = a({
24
+ pageQueryRef: O,
25
+ pageTableRef: k,
26
+ props: m,
27
+ route: g
28
+ });
29
+ return i({
30
+ currentQueryParams: A,
31
+ finallyQueryParams: F,
32
+ query: j,
33
+ reset: M,
34
+ resetCurrentQueryParams: z
35
+ }), (i, a) => (y(), c(S(n), v(h(_(i.$attrs, {
36
+ ...t.cardProps ?? {},
37
+ bodyFullHeight: !0,
38
+ bodyClassName: ["!flex flex-col overflow-y-auto", t.cardProps?.bodyClassName].filter(Boolean).join(" ")
39
+ }, { class: "h-full" }))), {
40
+ header: w(() => [d("div", E, [S(P).length > 0 ? (y(), c(S(o), _({
41
+ key: 0,
42
+ ref_key: "pageQueryRef",
43
+ ref: O,
44
+ data: t.initialFormData,
45
+ items: S(P)
46
+ }, t.formOtherProps, {
47
+ onQuery: S(I),
48
+ onReset: S(L)
49
+ }), f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => !["default", "page-bottom"].includes(e)), (e) => ({
50
+ name: e,
51
+ fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
52
+ }))]), 1040, [
53
+ "data",
54
+ "items",
55
+ "onQuery",
56
+ "onReset"
57
+ ])) : l("v-if", !0), d("div", D, [(y(!0), u(s, null, b(t.operations?.filter((e) => e.show !== !1), (t, n) => (y(), c(S(e), _({ key: n }, { ref_for: !0 }, t), null, 16))), 128)), t.apis.export ? (y(), c(S(e), v(_({ key: 0 }, S(N))), null, 16)) : l("v-if", !0)])])]),
58
+ default: w(() => [p(S(r), {
59
+ ref_key: "pageTableRef",
60
+ ref: k,
61
+ "initial-query": !1,
62
+ method: t.apis.list.method,
63
+ "query-params": S(R),
64
+ "watch-query-params": !1
65
+ }, f({ _: 2 }, [b(Object.keys(i.$slots).filter((e) => ["default", "page-bottom"].includes(e)), (e) => ({
66
+ name: e,
67
+ fn: w((t) => [x(i.$slots, e, v(h(t)), void 0, !0)])
68
+ }))]), 1032, ["method", "query-params"])]),
69
+ _: 3
70
+ }, 16));
71
+ }
72
+ }), k = /*#__PURE__*/ t(O, [["__scopeId", "data-v-b8ed8a2d"]]);
73
+ //#endregion
74
+ export { k as t };
@@ -0,0 +1,46 @@
1
+ import { n as e, r as t } from "./page-table-BMN86ain.mjs";
2
+ import { t as n } from "./pagination-BtXI5_uR.mjs";
3
+ import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, defineComponent as s, guardReactiveProps as c, isRef as l, mergeDefaults as u, normalizeProps as d, openBlock as f, renderSlot as p, unref as m } from "vue";
4
+ //#endregion
5
+ //#region ../../packages/dlzn-ui/components/custom-page-table/src/custom-page-table.vue
6
+ var h = /* @__PURE__ */ s({
7
+ __name: "custom-page-table",
8
+ props: /*@__PURE__*/ u({
9
+ initialQuery: { type: Boolean },
10
+ method: { type: [Function, String] },
11
+ queryParams: {},
12
+ watchQueryParams: { type: Boolean }
13
+ }, { ...e }),
14
+ setup(e, { expose: s }) {
15
+ let { data: u, finallyQueryParams: h, loading: g, pageNum: _, pageSize: v, query: y, reset: b } = t(e);
16
+ return s({
17
+ finallyQueryParams: h,
18
+ query: y,
19
+ reset: b
20
+ }), (e, t) => (f(), o(r, null, [
21
+ p(e.$slots, "default", d(c({
22
+ data: m(u).rows,
23
+ loading: m(g),
24
+ total: m(u).total,
25
+ pageNum: m(_),
26
+ pageSize: m(v)
27
+ }))),
28
+ m(u).total > 0 ? (f(), i(m(n), {
29
+ key: 0,
30
+ modelValue: m(_),
31
+ "onUpdate:modelValue": t[0] ||= (e) => l(_) ? _.value = e : null,
32
+ "page-size": m(v),
33
+ "onUpdate:pageSize": t[1] ||= (e) => l(v) ? v.value = e : null,
34
+ class: "mt-3!",
35
+ total: Number(m(u).total)
36
+ }, null, 8, [
37
+ "modelValue",
38
+ "page-size",
39
+ "total"
40
+ ])) : a("v-if", !0),
41
+ p(e.$slots, "page-bottom", d(c({ data: m(u).rows })))
42
+ ], 64));
43
+ }
44
+ });
45
+ //#endregion
46
+ export { h as t };