dlzn-ui 2.0.43 → 2.0.45
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.
- package/assets/Index-D3ij96rM.css +1 -0
- package/assets/css-Ctf0Amkf.css +1 -0
- package/chunks/{AssignUser-CI1hv7zm.mjs → AssignUser-ag8Zz6lZ.mjs} +3 -3
- package/chunks/{Common-BiNl0t80.mjs → Common-BVhvn8ey.mjs} +2 -2
- package/chunks/{Day-iiU2bfSn.mjs → Day-Bsqlho18.mjs} +2 -2
- package/chunks/{DictTypeDetail-SpKe9j4h.mjs → DictTypeDetail-CGtRLsz1.mjs} +2 -2
- package/chunks/{Hour-CUOdal3S.mjs → Hour-CZxgu-gr.mjs} +1 -1
- package/chunks/{Index-bEWcnIHJ.mjs → Index-B0jtPG4z.mjs} +1 -1
- package/chunks/{Index-Cu2Ud84o.mjs → Index-B5dltuvs.mjs} +1 -1
- package/chunks/{Index-B-IRDS1Z.mjs → Index-BPfxS1Ur.mjs} +1 -1
- package/chunks/{Index-BwWS0oPl.mjs → Index-BVighfGs.mjs} +5 -3
- package/chunks/{Index-BMg2Bxvj.mjs → Index-BZloUL93.mjs} +1 -1
- package/chunks/{Index-Bvu1c8Oy.mjs → Index-CXXPLw95.mjs} +4 -4
- package/chunks/{Index-AH0WCRJO.mjs → Index-CoNNokMv.mjs} +8 -8
- package/chunks/{Index-BChP9CTL.mjs → Index-DOMlymIc.mjs} +1 -1
- package/chunks/{Index-Bye0GY_j.mjs → Index-DlS664Iz.mjs} +1 -1
- package/chunks/{Index-CgJ94bEi.mjs → Index-DvWanFOZ.mjs} +1 -1
- package/chunks/{Index-BDidP0_Z.mjs → Index-R7H-nvMs.mjs} +1 -1
- package/chunks/{IndexItem-D_ZeRKlH.mjs → IndexItem-sPXuxTUs.mjs} +16 -16
- package/chunks/{Log-B72TP2Kr.mjs → Log-Br8Cnim8.mjs} +2 -2
- package/chunks/{LoginBg-HtZ8Lyev.mjs → LoginBg-BW263459.mjs} +1 -1
- package/chunks/{Minute-BLIvzH46.mjs → Minute-CQuKQcXO.mjs} +1 -1
- package/chunks/{Month-DzGi1B-x.mjs → Month-5cx6suVd.mjs} +1 -1
- package/chunks/{Second-DwM7HaZz.mjs → Second-DA6oyNKU.mjs} +1 -1
- package/chunks/{SelectDept-_EyrHhI9.mjs → SelectDept-CQRWjQ8n.mjs} +2 -2
- package/chunks/{SelectMenu-BGTtgamJ.mjs → SelectMenu-BNj0Lni8.mjs} +2 -2
- package/chunks/{SelectUser-DLapii8R.mjs → SelectUser-C6hO7rb-.mjs} +2 -2
- package/chunks/{UserInfo-CfJFU4J9.mjs → UserInfo-CAUjgfdS.mjs} +1 -1
- package/chunks/Wrapper-Boiyneqd.mjs +42 -0
- package/chunks/{app-BujKzbGI.mjs → app-BPNk1ofJ.mjs} +1 -1
- package/chunks/{custom-page-list-DjIGvqzk.mjs → custom-page-list-BHR3DhVT.mjs} +4 -4
- package/chunks/{custom-page-table-wy-8H6kG.mjs → custom-page-table-BxrEvdku.mjs} +2 -2
- package/chunks/{date-picker-D15OhWnK.mjs → date-picker-D-MGwALF.mjs} +2 -2
- package/chunks/{input-number-q9JM7-Uo.mjs → input-number-7Y1iWPPV.mjs} +12 -12
- package/chunks/{overview-CTQGBB2-.mjs → overview-DT-7oasE.mjs} +1 -1
- package/chunks/{page-list-DkOcgqMW.mjs → page-list-vyKjJFLU.mjs} +3 -3
- package/chunks/{page-query-CHFRZRhi.mjs → page-query-CPBOBzEz.mjs} +1 -1
- package/chunks/{page-table-C4tKerQw.mjs → page-table-IaiiKrWo.mjs} +4 -4
- package/chunks/{pagination-BxkLAF3U.mjs → pagination-u4S0HaQV.mjs} +1 -1
- package/chunks/{provider-DF-mIyi1.mjs → provider-DgBBnNgY.mjs} +499 -507
- package/chunks/{range-input-CkZteidJ.mjs → range-input-PIfE-AxB.mjs} +1 -1
- package/chunks/{scrollbar-CI1mysNQ.mjs → scrollbar-CoERe4kE.mjs} +1 -1
- package/chunks/{table-DfTSS9S4.mjs → table-DMUIy_b9.mjs} +15 -15
- package/chunks/utils-ag05P503.mjs +9 -0
- package/components/app/index.mjs +1 -1
- package/components/app/src/app.mjs +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Picker.mjs +6 -6
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/cron.mjs +1 -1
- package/components/custom-page-list/index.mjs +1 -1
- package/components/custom-page-list/src/custom-page-list.mjs +1 -1
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/index.mjs +13 -13
- package/components/input-number/index.mjs +1 -1
- package/components/input-number/src/input-number.mjs +1 -1
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/overview.mjs +1 -1
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +4 -4
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/range-input/index.mjs +1 -1
- package/components/range-input/src/range-input.mjs +1 -1
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select-sys-user/index.mjs +1 -1
- package/components/select-sys-user/src/Picker.mjs +2 -2
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.mjs +1 -1
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useLabel/index.d.ts +5 -0
- package/hooks/useLabel/index.mjs +17 -0
- package/hooks/useList/index.d.ts +1 -1
- package/hooks/useList/index.mjs +20 -30
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Entry.mjs +1 -1
- package/layout/Home.mjs +2 -2
- package/layout/Login.mjs +2 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/LoginBg.mjs +1 -1
- package/layout/profile/Index.mjs +3 -3
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/UserInfo.mjs +1 -1
- package/main.mjs +2 -2
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.mjs +1 -1
- package/plugins/autoImport/$confirm/index.mjs +1 -1
- package/plugins/autoImport/$dialog/index.mjs +1 -1
- package/plugins/autoImport/$drawer/index.mjs +1 -1
- package/plugins/captcha/captcha.mjs +2 -2
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/directive/index.mjs +7 -7
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.mjs +1 -1
- package/plugins/tableRenders/Wrapper.vue.d.ts +1 -3
- package/plugins/tableRenders/cell/Avatar/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatDate/Index.mjs +1 -1
- package/plugins/tableRenders/cell/FormatNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Icon/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Image/Index.mjs +1 -1
- package/plugins/tableRenders/cell/ImageViewer/Index.mjs +1 -1
- package/plugins/tableRenders/cell/InputNumber/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/index.mjs +11 -11
- package/plugins/tableRenders/title/index.mjs +1 -1
- package/router/index.mjs +1 -1
- package/store/modules/common.mjs +1 -1
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.mjs +1 -1
- package/utils/dom.d.ts +1 -0
- package/utils/dom.mjs +7 -0
- package/utils/gather.d.ts +7 -0
- package/utils/gather.mjs +2 -0
- package/utils/index.d.ts +2 -0
- package/utils/index.mjs +7 -5
- package/views/monitor/logininfor/index.mjs +2 -2
- package/views/monitor/online/index.mjs +2 -2
- package/views/monitor/operlog/index.mjs +2 -2
- package/views/monitor/server/index.mjs +2 -3
- package/views/system/config/index.mjs +2 -2
- package/views/system/dept/index.mjs +17 -17
- package/views/system/dept/utils.mjs +2 -2
- package/views/system/dict/index.mjs +3 -3
- package/views/system/dict/modules/DictTypeDetail.mjs +1 -1
- package/views/system/menu/index.mjs +15 -15
- package/views/system/notice/index.mjs +2 -2
- package/views/system/post/index.mjs +2 -2
- package/views/system/role/index.mjs +5 -5
- package/views/system/role/modules/AssignUser.mjs +1 -1
- package/views/system/role/modules/SelectDept.mjs +1 -1
- package/views/system/role/modules/SelectMenu.mjs +1 -1
- package/views/system/role/modules/SelectUser.mjs +1 -1
- package/views/system/user/index.mjs +23 -23
- package/views/tool/job/index.mjs +3 -3
- package/views/tool/job/modules/Log.mjs +1 -1
- package/assets/Index-BfBCL2il.css +0 -1
- package/assets/css-BPkXehJY.css +0 -1
- package/chunks/Wrapper-C6BtJDSa.mjs +0 -47
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isFalsy as e } from "../utils/boolean.mjs";
|
|
2
|
+
import "./utils-ag05P503.mjs";
|
|
2
3
|
import { formatNumber as t } from "../utils/number.mjs";
|
|
3
|
-
import "../utils/index.mjs";
|
|
4
4
|
import { computed as n, createBlock as r, defineComponent as i, getCurrentInstance as a, h as o, mergeModels as s, mergeProps as c, openBlock as l, resolveDynamicComponent as u, unref as d, useModel as f } from "vue";
|
|
5
5
|
import { RangeInput as p } from "tdesign-vue-next";
|
|
6
6
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../assets/css-
|
|
1
|
+
import '../assets/css-Ctf0Amkf.css';import '../assets/scrollbar-CWhno35V.css';/* empty css */
|
|
2
2
|
import { computed as e, createBlock as t, defineComponent as n, getCurrentInstance as r, h as i, mergeProps as a, openBlock as o, resolveDynamicComponent as s, unref as c } from "vue";
|
|
3
3
|
import { ElScrollbar as l } from "element-plus";
|
|
4
4
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as e, _ as t, n } from "./provider-
|
|
1
|
+
import { I as e, _ as t, n } from "./provider-DgBBnNgY.mjs";
|
|
2
2
|
import { t as r } from "./icon-COjp1yrx.mjs";
|
|
3
3
|
import "../components/icon/index.mjs";
|
|
4
4
|
import { n as ee } from "./useAppContext-D47amIp5.mjs";
|
|
5
|
+
import { isFalsy as i } from "../utils/boolean.mjs";
|
|
6
|
+
import "./utils-ag05P503.mjs";
|
|
5
7
|
import te from "../hooks/useMQ/index.mjs";
|
|
6
|
-
import { t as
|
|
7
|
-
import { isFalsy as a } from "../utils/boolean.mjs";
|
|
8
|
-
import "../utils/index.mjs";
|
|
8
|
+
import { t as a } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
9
9
|
import { getCellRender as ne } from "../plugins/tableRenders/cell/index.mjs";
|
|
10
10
|
import { getTitleRender as re } from "../plugins/tableRenders/title/index.mjs";
|
|
11
11
|
import { Teleport as ie, computed as o, createBlock as s, createCommentVNode as c, createElementVNode as l, createSlots as ae, createVNode as u, defineComponent as d, getCurrentInstance as oe, guardReactiveProps as f, h as p, mergeDefaults as m, mergeProps as h, nextTick as se, normalizeClass as ce, normalizeProps as g, onMounted as le, onUnmounted as ue, openBlock as _, provide as v, ref as y, renderList as de, renderSlot as b, resolveDynamicComponent as fe, unref as x, useCssVars as pe, useTemplateRef as me, watch as S, withCtx as C } from "vue";
|
|
@@ -45,7 +45,7 @@ var D = {
|
|
|
45
45
|
indent: 41,
|
|
46
46
|
treeNodeColumnIndex: 0
|
|
47
47
|
})
|
|
48
|
-
}, xe = { class: "table_operations_wrapper items-end justify-end gap-3" }, Se = { class: "flex flex-1 items-end" }, O = /*#__PURE__*/
|
|
48
|
+
}, xe = { class: "table_operations_wrapper items-end justify-end gap-3" }, Se = { class: "flex flex-1 items-end" }, O = /*#__PURE__*/ a(/* @__PURE__ */ d({
|
|
49
49
|
inheritAttrs: !1,
|
|
50
50
|
__name: "table",
|
|
51
51
|
props: /*@__PURE__*/ m({
|
|
@@ -176,15 +176,15 @@ var D = {
|
|
|
176
176
|
onScrollX: { type: Function },
|
|
177
177
|
onScrollY: { type: Function }
|
|
178
178
|
}, D),
|
|
179
|
-
setup(
|
|
179
|
+
setup(a, { expose: d }) {
|
|
180
180
|
pe((e) => ({
|
|
181
181
|
v01eb5fec: x(J),
|
|
182
182
|
v3e8e080c: x(Y),
|
|
183
183
|
v38306880: x(X)
|
|
184
184
|
}));
|
|
185
|
-
let m =
|
|
185
|
+
let m = a, D = be();
|
|
186
186
|
function O(e) {
|
|
187
|
-
let t = e.find((e) =>
|
|
187
|
+
let t = e.find((e) => i(e.colKey));
|
|
188
188
|
if (t !== void 0) return `列的colKey不能为空: ${JSON.stringify(t)}`;
|
|
189
189
|
let n = e.find((t, n) => e.findIndex((e) => e.colKey === t.colKey) !== n);
|
|
190
190
|
return n === void 0 || `列的colKey不能重复: ${JSON.stringify(n)}`;
|
|
@@ -214,7 +214,7 @@ var D = {
|
|
|
214
214
|
S(() => O(m.columns), (e) => {
|
|
215
215
|
e !== !0 && ee.error(e);
|
|
216
216
|
}, { immediate: !0 });
|
|
217
|
-
let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY: ye(String(t)) }))), j = y({}), M = T(j, 600), N = {}, P = {}, F = y([]), I = o(() => k.value.filter((e) => !
|
|
217
|
+
let A = o(() => m.data.map((e, t) => Object.assign(e, { _ROW_KEY: ye(String(t)) }))), j = y({}), M = T(j, 600), N = {}, P = {}, F = y([]), I = o(() => k.value.filter((e) => !i(e.title) && !["row-select", "serial-number"].includes(e.colKey) && !e.colKey.startsWith("_")).map((e) => ({
|
|
218
218
|
label: e.title,
|
|
219
219
|
value: e.colKey
|
|
220
220
|
}))), L = o(() => I.value.map((e) => e.value).join("_")), R = _e(L, []);
|
|
@@ -314,7 +314,7 @@ var D = {
|
|
|
314
314
|
disabled: !H.value,
|
|
315
315
|
to: "#app"
|
|
316
316
|
}, [l("div", h({ class: ["flex w-full flex-col gap-3", {
|
|
317
|
-
"flex-1 overflow-y-auto":
|
|
317
|
+
"flex-1 overflow-y-auto": a.flexHeight || H.value,
|
|
318
318
|
"full_screen bg-(--td-bg-color-container) p-4": H.value,
|
|
319
319
|
transform_tfoot: x(X) > 0
|
|
320
320
|
}] }, e.$attrs), [
|
|
@@ -323,7 +323,7 @@ var D = {
|
|
|
323
323
|
columns: B.value,
|
|
324
324
|
data: A.value
|
|
325
325
|
})), void 0, !0)]),
|
|
326
|
-
|
|
326
|
+
a.showColumnConfigBtn ? (_(), s(x(w), {
|
|
327
327
|
key: 0,
|
|
328
328
|
content: "列显示配置"
|
|
329
329
|
}, {
|
|
@@ -337,7 +337,7 @@ var D = {
|
|
|
337
337
|
})]),
|
|
338
338
|
_: 1
|
|
339
339
|
})) : c("v-if", !0),
|
|
340
|
-
|
|
340
|
+
a.showToggleFullscreenBtn ? (_(), s(x(w), {
|
|
341
341
|
key: 1,
|
|
342
342
|
content: H.value ? "退出全屏" : "全屏显示"
|
|
343
343
|
}, {
|
|
@@ -360,14 +360,14 @@ var D = {
|
|
|
360
360
|
l("div", {
|
|
361
361
|
ref_key: "tableParentRef",
|
|
362
362
|
ref: U,
|
|
363
|
-
class: ce(["table_parent", { "flex-1 overflow-y-hidden":
|
|
363
|
+
class: ce(["table_parent", { "flex-1 overflow-y-hidden": a.flexHeight || H.value }])
|
|
364
364
|
}, [(_(), s(fe(p(x(ge), h({}, {
|
|
365
365
|
...V.value,
|
|
366
366
|
ref: Ae,
|
|
367
367
|
columns: B.value,
|
|
368
368
|
data: A.value,
|
|
369
|
-
height:
|
|
370
|
-
maxHeight:
|
|
369
|
+
height: a.flexHeight || H.value ? x(Ee) : V.value.height,
|
|
370
|
+
maxHeight: a.flexHeight || H.value ? void 0 : V.value.maxHeight,
|
|
371
371
|
resizable: V.value.bordered ? V.value.resizable : !1
|
|
372
372
|
}))), {
|
|
373
373
|
"selected-row-keys": Q.value,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { stringDisplay as e } from "../utils/string.mjs";
|
|
2
|
+
import "../utils/tool.mjs";
|
|
3
|
+
//#region ../../packages/dlzn-ui/utils/gather.ts
|
|
4
|
+
function t(t, n) {
|
|
5
|
+
let r = Array.isArray(n), i = (r ? n : [n]).map((n) => t.find((e) => String(e.value) === String(n))?.label ?? e(n));
|
|
6
|
+
return r ? i : i[0];
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t };
|
package/components/app/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/app-
|
|
1
|
+
import { t as e } from "../../chunks/app-BPNk1ofJ.mjs";
|
|
2
2
|
export { e as TApp };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/app-
|
|
1
|
+
import { t as e } from "../../../chunks/app-BPNk1ofJ.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { W as e, n as t } from "../../chunks/provider-
|
|
1
|
+
import { W as e, n as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { t as TButton, e as buttonPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e } from "../../../chunks/provider-
|
|
1
|
+
import { n as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e } from "../../chunks/provider-
|
|
1
|
+
import { _ as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TCheckboxGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as e } from "../../../chunks/provider-
|
|
1
|
+
import { _ as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as e } from "../../chunks/provider-
|
|
1
|
+
import { g as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TCron };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Common-
|
|
1
|
+
import { t as e } from "../../../chunks/Common-BVhvn8ey.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Day-
|
|
1
|
+
import { t as e } from "../../../chunks/Day-Bsqlho18.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Hour-
|
|
1
|
+
import { t as e } from "../../../chunks/Hour-CZxgu-gr.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Minute-
|
|
1
|
+
import { t as e } from "../../../chunks/Minute-CQuKQcXO.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Month-
|
|
1
|
+
import { t as e } from "../../../chunks/Month-5cx6suVd.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as e } from "../../../chunks/provider-
|
|
1
|
+
import { o as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
import t from "../../../plugins/autoImport/$msg/index.mjs";
|
|
3
3
|
import { t as n } from "../../../chunks/plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/input-UQjpNb61.mjs";
|
|
@@ -8,11 +8,11 @@ import { t as a } from "../../../chunks/textarea-CYirMH7f.mjs";
|
|
|
8
8
|
import "../../textarea/index.mjs";
|
|
9
9
|
import { t as o } from "../../../chunks/tab-panel-yh4fFZ2r.mjs";
|
|
10
10
|
import "../../tab-panel/index.mjs";
|
|
11
|
-
import { t as s } from "../../../chunks/Day-
|
|
12
|
-
import { t as c } from "../../../chunks/Hour-
|
|
13
|
-
import { t as l } from "../../../chunks/Minute-
|
|
14
|
-
import { t as u } from "../../../chunks/Month-
|
|
15
|
-
import { t as d } from "../../../chunks/Second-
|
|
11
|
+
import { t as s } from "../../../chunks/Day-Bsqlho18.mjs";
|
|
12
|
+
import { t as c } from "../../../chunks/Hour-CZxgu-gr.mjs";
|
|
13
|
+
import { t as l } from "../../../chunks/Minute-CQuKQcXO.mjs";
|
|
14
|
+
import { t as u } from "../../../chunks/Month-5cx6suVd.mjs";
|
|
15
|
+
import { t as d } from "../../../chunks/Second-DA6oyNKU.mjs";
|
|
16
16
|
import { computed as f, createBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, openBlock as _, ref as v, unref as y, watch as b, withCtx as x } from "vue";
|
|
17
17
|
import { Tabs as S } from "tdesign-vue-next";
|
|
18
18
|
import { Cron as C } from "croner";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/Second-
|
|
1
|
+
import { t as e } from "../../../chunks/Second-DA6oyNKU.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { g as e } from "../../../chunks/provider-
|
|
1
|
+
import { g as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/custom-page-list-
|
|
1
|
+
import { t as e } from "../../chunks/custom-page-list-BHR3DhVT.mjs";
|
|
2
2
|
export { e as TCustomPageList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/custom-page-list-
|
|
1
|
+
import { t as e } from "../../../chunks/custom-page-list-BHR3DhVT.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/custom-page-table-
|
|
1
|
+
import { t as e } from "../../chunks/custom-page-table-BxrEvdku.mjs";
|
|
2
2
|
export { e as TCustomPageTable };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/custom-page-table-
|
|
1
|
+
import { t as e } from "../../../chunks/custom-page-table-BxrEvdku.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/date-picker-
|
|
1
|
+
import { t as e } from "../../chunks/date-picker-D-MGwALF.mjs";
|
|
2
2
|
export { e as TDatePicker };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/date-picker-
|
|
1
|
+
import { t as e } from "../../../chunks/date-picker-D-MGwALF.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { U as e, o as t } from "../../chunks/provider-
|
|
1
|
+
import { U as e, o as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { t as TForm, e as formPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { o as e } from "../../../chunks/provider-
|
|
1
|
+
import { o as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
package/components/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { U as e, W as t, _ as n, c as r, d as i, f as a, g as o, h as s, l as c, m as l, n as u, o as d, p as f, s as p, t as m, u as h } from "../chunks/provider-
|
|
1
|
+
import { U as e, W as t, _ as n, c as r, d as i, f as a, g as o, h as s, l as c, m as l, n as u, o as d, p as f, s as p, t as m, u as h } from "../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
import { t as g } from "../chunks/icon-COjp1yrx.mjs";
|
|
3
3
|
import "./icon/index.mjs";
|
|
4
4
|
import { t as _ } from "../chunks/popconfirm-Bc93K9mT.mjs";
|
|
5
5
|
import "./popconfirm/index.mjs";
|
|
6
6
|
import { t as v } from "../chunks/checkbox-Drb_LAT6.mjs";
|
|
7
7
|
import "./checkbox/index.mjs";
|
|
8
|
-
import { t as y } from "../chunks/scrollbar-
|
|
8
|
+
import { t as y } from "../chunks/scrollbar-CoERe4kE.mjs";
|
|
9
9
|
import "./scrollbar/index.mjs";
|
|
10
10
|
import { t as b } from "../chunks/gradient-text-BAIl_tKw.mjs";
|
|
11
11
|
import "./gradient-text/index.mjs";
|
|
@@ -13,11 +13,11 @@ import { n as x, t as S } from "../chunks/image-cancjWRE.mjs";
|
|
|
13
13
|
import "./image/index.mjs";
|
|
14
14
|
import { n as C, t as w } from "../chunks/input-UQjpNb61.mjs";
|
|
15
15
|
import "./input/index.mjs";
|
|
16
|
-
import { t as T } from "../chunks/date-picker-
|
|
16
|
+
import { t as T } from "../chunks/date-picker-D-MGwALF.mjs";
|
|
17
17
|
import "./date-picker/index.mjs";
|
|
18
|
-
import { n as E, t as D } from "../chunks/input-number-
|
|
18
|
+
import { n as E, t as D } from "../chunks/input-number-7Y1iWPPV.mjs";
|
|
19
19
|
import "./input-number/index.mjs";
|
|
20
|
-
import { t as O } from "../chunks/range-input-
|
|
20
|
+
import { t as O } from "../chunks/range-input-PIfE-AxB.mjs";
|
|
21
21
|
import "./range-input/index.mjs";
|
|
22
22
|
import { n as k, t as A } from "../chunks/tag-input-BuAFWI1F.mjs";
|
|
23
23
|
import "./tag-input/index.mjs";
|
|
@@ -29,10 +29,10 @@ import { t as F } from "../chunks/textarea-CYirMH7f.mjs";
|
|
|
29
29
|
import "./textarea/index.mjs";
|
|
30
30
|
import { n as I, t as L } from "../chunks/card-Domqu1Hz.mjs";
|
|
31
31
|
import "./card/index.mjs";
|
|
32
|
-
import { n as R, r as z, t as B } from "../chunks/page-table-
|
|
33
|
-
import { t as V } from "../chunks/pagination-
|
|
32
|
+
import { n as R, r as z, t as B } from "../chunks/page-table-IaiiKrWo.mjs";
|
|
33
|
+
import { t as V } from "../chunks/pagination-u4S0HaQV.mjs";
|
|
34
34
|
import "./pagination/index.mjs";
|
|
35
|
-
import { n as H, t as U } from "../chunks/table-
|
|
35
|
+
import { n as H, t as U } from "../chunks/table-DMUIy_b9.mjs";
|
|
36
36
|
import { t as W } from "../chunks/popup-4CBPH3ga.mjs";
|
|
37
37
|
import "./popup/index.mjs";
|
|
38
38
|
import { n as G, t as K } from "../chunks/tag-CQPtIWU2.mjs";
|
|
@@ -43,16 +43,16 @@ import { n as Y, t as X } from "../chunks/link-nbeAJ6Mt.mjs";
|
|
|
43
43
|
import "./link/index.mjs";
|
|
44
44
|
import "./table/index.mjs";
|
|
45
45
|
import "./page-table/index.mjs";
|
|
46
|
-
import { t as Z } from "../chunks/custom-page-table-
|
|
46
|
+
import { t as Z } from "../chunks/custom-page-table-BxrEvdku.mjs";
|
|
47
47
|
import "./custom-page-table/index.mjs";
|
|
48
|
-
import { n as Q, r as $, t as ee } from "../chunks/page-list-
|
|
49
|
-
import { t as te } from "../chunks/page-query-
|
|
48
|
+
import { n as Q, r as $, t as ee } from "../chunks/page-list-vyKjJFLU.mjs";
|
|
49
|
+
import { t as te } from "../chunks/page-query-CPBOBzEz.mjs";
|
|
50
50
|
import "./page-query/index.mjs";
|
|
51
51
|
import "./page-list/index.mjs";
|
|
52
|
-
import { t as ne } from "../chunks/custom-page-list-
|
|
52
|
+
import { t as ne } from "../chunks/custom-page-list-BHR3DhVT.mjs";
|
|
53
53
|
import "./custom-page-list/index.mjs";
|
|
54
54
|
import { t as re } from "../chunks/overview-BvLGalk-.mjs";
|
|
55
|
-
import { t as ie } from "../chunks/overview-
|
|
55
|
+
import { t as ie } from "../chunks/overview-DT-7oasE.mjs";
|
|
56
56
|
import "./overview/index.mjs";
|
|
57
57
|
import { t as ae } from "../chunks/tab-panel-yh4fFZ2r.mjs";
|
|
58
58
|
import "./tab-panel/index.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/input-number-
|
|
1
|
+
import { n as e, t } from "../../chunks/input-number-7Y1iWPPV.mjs";
|
|
2
2
|
export { t as TInputNumber, e as inputNumberPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/input-number-
|
|
1
|
+
import { t as e } from "../../../chunks/input-number-7Y1iWPPV.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-R7H-nvMs.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/IndexItem-
|
|
1
|
+
import { t as e } from "../../../chunks/IndexItem-sPXuxTUs.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/overview-
|
|
1
|
+
import { t as e } from "../../../chunks/overview-DT-7oasE.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/page-list-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/page-list-vyKjJFLU.mjs";
|
|
2
2
|
export { n as TPageList, e as baseCustomPageListPropsInit, t as useBaseCustomPageListMixin };
|
|
@@ -93,8 +93,8 @@ export declare function useBaseCustomPageListMixin({ pageQueryRef, pageTableRef,
|
|
|
93
93
|
finallyFormItems: import('vue').ComputedRef<({
|
|
94
94
|
class?: import('vue').ClassValue;
|
|
95
95
|
style?: import('vue').StyleValue;
|
|
96
|
-
name?: string | undefined;
|
|
97
96
|
label?: (string | import('tdesign-vue-next').TNode) | undefined;
|
|
97
|
+
name?: string | undefined;
|
|
98
98
|
onChange?: ((checked: boolean, context: {
|
|
99
99
|
e: Event;
|
|
100
100
|
}) => void) | undefined;
|
|
@@ -216,8 +216,8 @@ export declare function useBaseCustomPageListMixin({ pageQueryRef, pageTableRef,
|
|
|
216
216
|
} | {
|
|
217
217
|
class?: import('vue').ClassValue;
|
|
218
218
|
style?: import('vue').StyleValue;
|
|
219
|
-
name?: string | undefined;
|
|
220
219
|
label?: (string | import('tdesign-vue-next').TNode) | undefined;
|
|
220
|
+
name?: string | undefined;
|
|
221
221
|
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden" | undefined;
|
|
222
222
|
onBlur?: ((value: import('tdesign-vue-next').InputValue, context: {
|
|
223
223
|
e: FocusEvent;
|
|
@@ -531,8 +531,8 @@ export declare function useBaseCustomPageListMixin({ pageQueryRef, pageTableRef,
|
|
|
531
531
|
} | {
|
|
532
532
|
class?: import('vue').ClassValue;
|
|
533
533
|
style?: import('vue').StyleValue;
|
|
534
|
-
name?: string | undefined;
|
|
535
534
|
label?: (string | import('tdesign-vue-next').TNode) | undefined;
|
|
535
|
+
name?: string | undefined;
|
|
536
536
|
type?: "text" | "number" | "url" | "tel" | "password" | "search" | "submit" | "hidden" | undefined;
|
|
537
537
|
onBlur?: ((value: import('tdesign-vue-next').InputValue, context: {
|
|
538
538
|
e: FocusEvent;
|
|
@@ -711,8 +711,8 @@ export declare function useBaseCustomPageListMixin({ pageQueryRef, pageTableRef,
|
|
|
711
711
|
} | {
|
|
712
712
|
class?: import('vue').ClassValue;
|
|
713
713
|
style?: import('vue').StyleValue;
|
|
714
|
-
useGrouping?: boolean | undefined;
|
|
715
714
|
label?: (string | import('tdesign-vue-next').TNode) | undefined;
|
|
715
|
+
useGrouping?: boolean | undefined;
|
|
716
716
|
theme?: "normal" | "row" | undefined;
|
|
717
717
|
onBlur?: ((value: import('tdesign-vue-next').InputNumberValue, context: {
|
|
718
718
|
e: FocusEvent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/page-list-
|
|
1
|
+
import { t as e } from "../../../chunks/page-list-vyKjJFLU.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/page-query-
|
|
1
|
+
import { t as e } from "../../chunks/page-query-CPBOBzEz.mjs";
|
|
2
2
|
export { e as TPageQuery };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/page-query-
|
|
1
|
+
import { t as e } from "../../../chunks/page-query-CPBOBzEz.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../chunks/page-table-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../chunks/page-table-IaiiKrWo.mjs";
|
|
2
2
|
export { n as TPageTable, e as basePageTablePropsInit, t as useBasePageTableMixin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/page-table-
|
|
1
|
+
import { t as e } from "../../../chunks/page-table-IaiiKrWo.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/pagination-
|
|
1
|
+
import { t as e } from "../../chunks/pagination-u4S0HaQV.mjs";
|
|
2
2
|
export { e as TPagination };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/pagination-
|
|
1
|
+
import { t as e } from "../../../chunks/pagination-u4S0HaQV.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/provider-
|
|
1
|
+
import { t as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TProvider };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/provider-
|
|
1
|
+
import { t as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as e } from "../../chunks/provider-
|
|
1
|
+
import { h as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TRadioGroup };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { h as e } from "../../../chunks/provider-
|
|
1
|
+
import { h as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/range-input-
|
|
1
|
+
import { t as e } from "../../chunks/range-input-PIfE-AxB.mjs";
|
|
2
2
|
export { e as TRangeInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/range-input-
|
|
1
|
+
import { t as e } from "../../../chunks/range-input-PIfE-AxB.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../chunks/scrollbar-
|
|
1
|
+
import { t as e } from "../../chunks/scrollbar-CoERe4kE.mjs";
|
|
2
2
|
export { e as TScrollbar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/scrollbar-
|
|
1
|
+
import { t as e } from "../../../chunks/scrollbar-CoERe4kE.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { m as e, p as t } from "../../chunks/provider-
|
|
1
|
+
import { m as e, p as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { t as TSelect, e as selectPropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { p as e } from "../../../chunks/provider-
|
|
1
|
+
import { p as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as e } from "../../chunks/provider-
|
|
1
|
+
import { f as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TSelectSysUser };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as e } from "../../../chunks/provider-
|
|
2
|
-
import { t } from "../../../chunks/page-list-
|
|
1
|
+
import { S as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
|
+
import { t } from "../../../chunks/page-list-vyKjJFLU.mjs";
|
|
3
3
|
import "../../page-list/index.mjs";
|
|
4
4
|
import { createBlock as n, createSlots as r, createVNode as i, defineComponent as a, mergeProps as o, openBlock as s, unref as c, useTemplateRef as l, withCtx as u } from "vue";
|
|
5
5
|
import { Alert as d } from "tdesign-vue-next";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as e } from "../../../chunks/provider-
|
|
1
|
+
import { f as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../chunks/table-
|
|
1
|
+
import { n as e, t } from "../../chunks/table-DMUIy_b9.mjs";
|
|
2
2
|
export { t as TTable, e as tablePropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../chunks/table-
|
|
1
|
+
import { t as e } from "../../../chunks/table-DMUIy_b9.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as e, u as t } from "../../chunks/provider-
|
|
1
|
+
import { d as e, u as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { t as TTree, e as treePropsInit };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { u as e } from "../../../chunks/provider-
|
|
1
|
+
import { u as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as e } from "../../chunks/provider-
|
|
1
|
+
import { l as e } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as TTreeSelect };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as e } from "../../../chunks/provider-
|
|
1
|
+
import { l as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as e, s as t } from "../../chunks/provider-
|
|
1
|
+
import { c as e, s as t } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as DEFAULT_ACCEPT, t as TUpload };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { s as e } from "../../../chunks/provider-
|
|
1
|
+
import { s as e } from "../../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { b as e, v as t, x as n, y as r } from "../../chunks/provider-
|
|
1
|
+
import { b as e, v as t, x as n, y as r } from "../../chunks/provider-DgBBnNgY.mjs";
|
|
2
2
|
export { e as default, t as useClearDic, r as useDicLabel, n as useRefreshDic };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { Gather } from '../../utils';
|
|
3
|
+
export default function useLabel(arr: Ref<Gather[]>): ComputedRef<string[]>;
|
|
4
|
+
export default function useLabel(arr: Ref<Gather[]>, value: PettyPrimitive): ComputedRef<string>;
|
|
5
|
+
export default function useLabel(arr: Ref<Gather[]>, value: Array<PettyPrimitive>): ComputedRef<string[]>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { t as e } from "../../chunks/utils-ag05P503.mjs";
|
|
2
|
+
import { computed as t } from "vue";
|
|
3
|
+
//#region ../../packages/dlzn-ui/hooks/useLabel/index.ts
|
|
4
|
+
function n(n, r) {
|
|
5
|
+
return t(() => {
|
|
6
|
+
if (r === void 0) return n.value.map((e) => e.label);
|
|
7
|
+
if (Array.isArray(r)) return n.value.length === 0 ? [] : e(n.value, r);
|
|
8
|
+
if (n.value.length === 0) return "";
|
|
9
|
+
if (typeof r == "string") {
|
|
10
|
+
let t = r.split(",").filter(Boolean);
|
|
11
|
+
if (t.length > 0) return e(n.value, t).join(",");
|
|
12
|
+
}
|
|
13
|
+
return e(n.value, r);
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
export { n as default };
|