dlzn-ui 1.74.0 → 1.76.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.
- package/assets/Index-BedLrhwL.css +1 -0
- package/assets/button-CawLqS02.css +1 -0
- package/assets/card-_JgeY1kg.css +2 -0
- package/assets/form-ClgamZql.css +2 -0
- package/assets/image-B0R_Wg4e.css +1 -0
- package/assets/input-number-CYEGbleB.css +2 -0
- package/assets/pagination-D7QwybX3.css +1 -0
- package/assets/{textarea-Dm5xaBIR.css → textarea-z-4sHFLB.css} +1 -1
- package/assets/upload-Cp3eA2SI.css +1 -0
- package/chunks/{Provider-DSTMx3l3.mjs → Provider-DS0ccNiT.mjs} +1 -1
- package/chunks/{button-CM6_TpFv.mjs → button-Ne9zVtg8.mjs} +54 -51
- package/chunks/{card-BkFRQIOC.mjs → card-BfHb58zl.mjs} +20 -17
- package/chunks/{checkbox-group-B0BJCKGC.mjs → checkbox-group-8yzWfZL_.mjs} +4 -4
- package/chunks/{form-BcTtjD3t.mjs → form-BBUFXU0H.mjs} +76 -65
- package/chunks/image-BEsiUWeF.mjs +45 -0
- package/chunks/{image-viewer-B1GG5ogH.mjs → image-viewer-BZux9RvX.mjs} +21 -15
- package/chunks/{input-CGJncROR.mjs → input-B8jjJrK5.mjs} +24 -20
- package/chunks/{input-number-D5ZdJKFz.mjs → input-number-Bt1mbd1D.mjs} +26 -20
- package/chunks/link-Byr_BYPx.mjs +39 -0
- package/chunks/{pagination-DP_iqkwA.mjs → pagination-Ca_TCfrh.mjs} +4 -4
- package/chunks/{radio-group-Wa4NlEWK.mjs → radio-group-Bmx_ESrX.mjs} +5 -5
- package/chunks/{range-input-DCI4kH6p.mjs → range-input-8ddDrOBB.mjs} +2 -2
- package/chunks/{select-BIKnY5zf.mjs → select-6VzBY_vu.mjs} +62 -43
- package/chunks/slider-C63Gzbld.mjs +45 -0
- package/chunks/switch-CqV3-avv.mjs +46 -0
- package/chunks/{tag-CtbOiURT.mjs → tag-B-ovDWQi.mjs} +17 -16
- package/chunks/{tag-input-DN7xD3ly.mjs → tag-input-iNXrRXk2.mjs} +21 -20
- package/chunks/{textarea-Cw15vQzL.mjs → textarea-xkwOhNut.mjs} +3 -3
- package/chunks/{tree-DEwIJXty.mjs → tree-CnkGS9CU.mjs} +1 -1
- package/{components/tree/src/tree.ts.mjs → chunks/tree-DDa08q83.mjs} +5 -5
- package/chunks/{tree-select-D2kftzY6.mjs → tree-select-ofeRjUNh.mjs} +2 -2
- package/chunks/{upload-BE0MC-8C.mjs → upload-BRtusVF3.mjs} +36 -37
- package/chunks/{user-g1zF8j96.mjs → user-DpkUzWVu.mjs} +10 -10
- package/components/button/index.d.ts +2 -3
- package/components/button/index.mjs +2 -0
- package/components/button/src/button.d.ts +29 -32
- package/components/button/src/button.mjs +2 -0
- package/components/button/src/button.vue.d.ts +17 -14
- package/components/card/index.d.ts +2 -3
- package/components/card/index.mjs +2 -0
- package/components/card/src/card.d.ts +8 -10
- package/components/card/src/card.mjs +2 -0
- package/components/card/src/card.vue.d.ts +9 -10
- package/components/checkbox/index.d.ts +2 -3
- package/components/checkbox/src/checkbox.d.ts +3 -5
- package/components/checkbox/src/checkbox.vue.d.ts +11 -12
- package/components/checkbox-group/index.d.ts +2 -3
- package/components/checkbox-group/index.mjs +2 -0
- package/components/checkbox-group/src/checkbox-group.d.ts +7 -9
- package/components/checkbox-group/src/checkbox-group.mjs +2 -0
- package/components/checkbox-group/src/checkbox-group.vue.d.ts +12 -13
- package/components/form/index.d.ts +2 -3
- package/components/form/index.mjs +2 -0
- package/components/form/src/form.d.ts +116 -124
- package/components/form/src/form.mjs +2 -0
- package/components/form/src/form.vue.d.ts +23 -22
- package/components/icon/index.d.ts +2 -3
- package/components/icon/src/icon.d.ts +2 -4
- package/components/icon/src/icon.vue.d.ts +6 -7
- package/components/image/index.d.ts +2 -3
- package/components/image/index.mjs +2 -0
- package/components/image/src/image.d.ts +3 -5
- package/components/image/src/image.mjs +2 -0
- package/components/image/src/image.vue.d.ts +6 -6
- package/components/image-viewer/index.d.ts +2 -3
- package/components/image-viewer/index.mjs +2 -0
- package/components/image-viewer/src/image-viewer.d.ts +11 -13
- package/components/image-viewer/src/image-viewer.mjs +2 -0
- package/components/image-viewer/src/image-viewer.vue.d.ts +13 -13
- package/components/index.d.ts +26 -78
- package/components/index.mjs +28 -0
- package/components/input/index.d.ts +2 -3
- package/components/input/index.mjs +2 -0
- package/components/input/src/input.d.ts +9 -11
- package/components/input/src/input.mjs +2 -0
- package/components/input/src/input.vue.d.ts +14 -15
- package/components/input-number/index.d.ts +2 -3
- package/components/input-number/index.mjs +2 -0
- package/components/input-number/src/input-number.d.ts +16 -18
- package/components/input-number/src/input-number.mjs +2 -0
- package/components/input-number/src/input-number.vue.d.ts +16 -17
- package/components/link/index.d.ts +2 -3
- package/components/link/index.mjs +2 -0
- package/components/link/src/link.d.ts +3 -5
- package/components/link/src/link.mjs +2 -0
- package/components/link/src/link.vue.d.ts +6 -7
- package/components/pagination/index.d.ts +2 -3
- package/components/pagination/index.mjs +2 -0
- package/components/pagination/src/pagination.d.ts +4 -6
- package/components/pagination/src/pagination.mjs +2 -0
- package/components/pagination/src/pagination.vue.d.ts +19 -19
- package/components/popconfirm/index.d.ts +2 -3
- package/components/popconfirm/src/popconfirm.d.ts +2 -4
- package/components/popconfirm/src/popconfirm.vue.d.ts +9 -10
- package/components/popup/index.d.ts +2 -3
- package/components/popup/src/popup.d.ts +3 -5
- package/components/popup/src/popup.vue.d.ts +9 -10
- package/components/provider/index.d.ts +1 -0
- package/components/provider/index.mjs +2 -0
- package/components/provider/src/Provider.mjs +2 -0
- package/components/provider/src/Provider.vue.d.ts +14 -0
- package/components/radio-group/index.d.ts +2 -3
- package/components/radio-group/index.mjs +2 -0
- package/components/radio-group/src/radio-group.d.ts +6 -8
- package/components/radio-group/src/radio-group.mjs +2 -0
- package/components/radio-group/src/radio-group.vue.d.ts +11 -12
- package/components/range-input/index.d.ts +2 -3
- package/components/range-input/index.mjs +2 -0
- package/components/range-input/src/range-input.d.ts +7 -9
- package/components/range-input/src/range-input.mjs +2 -0
- package/components/range-input/src/range-input.vue.d.ts +17 -18
- package/components/select/index.d.ts +2 -3
- package/components/select/index.mjs +2 -0
- package/components/select/src/select.d.ts +46 -48
- package/components/select/src/select.mjs +2 -0
- package/components/select/src/select.vue.d.ts +19 -19
- package/components/slider/index.d.ts +2 -3
- package/components/slider/index.mjs +2 -0
- package/components/slider/src/slider.d.ts +4 -6
- package/components/slider/src/slider.mjs +2 -0
- package/components/slider/src/slider.vue.d.ts +10 -11
- package/components/switch/index.d.ts +2 -3
- package/components/switch/index.mjs +2 -0
- package/components/switch/src/switch.d.ts +5 -7
- package/components/switch/src/switch.mjs +2 -0
- package/components/switch/src/switch.vue.d.ts +11 -12
- package/components/tab-panel/index.d.ts +2 -3
- package/components/tab-panel/src/tab-panel.d.ts +1 -2
- package/components/tab-panel/src/tab-panel.vue.d.ts +7 -7
- package/components/tag/index.d.ts +2 -3
- package/components/tag/index.mjs +2 -0
- package/components/tag/src/tag.d.ts +5 -7
- package/components/tag/src/tag.mjs +2 -0
- package/components/tag/src/tag.vue.d.ts +8 -8
- package/components/tag-input/index.d.ts +2 -3
- package/components/tag-input/index.mjs +2 -0
- package/components/tag-input/src/tag-input.d.ts +6 -8
- package/components/tag-input/src/tag-input.mjs +2 -0
- package/components/tag-input/src/tag-input.vue.d.ts +11 -12
- package/components/textarea/index.d.ts +2 -3
- package/components/textarea/index.mjs +2 -0
- package/components/textarea/src/textarea.d.ts +3 -5
- package/components/textarea/src/textarea.mjs +2 -0
- package/components/textarea/src/textarea.vue.d.ts +17 -18
- package/components/tree/index.d.ts +2 -3
- package/components/tree/index.mjs +3 -0
- package/components/tree/src/tree.d.ts +18 -20
- package/components/tree/src/tree.mjs +2 -0
- package/components/tree/src/tree.vue.d.ts +17 -17
- package/components/tree-select/index.d.ts +2 -3
- package/components/tree-select/index.mjs +2 -0
- package/components/tree-select/src/tree-select.d.ts +8 -10
- package/components/tree-select/src/tree-select.mjs +2 -0
- package/components/tree-select/src/tree-select.vue.d.ts +10 -11
- package/components/upload/index.d.ts +2 -3
- package/components/upload/index.mjs +2 -0
- package/components/upload/src/upload.d.ts +15 -17
- package/components/upload/src/upload.mjs +2 -0
- package/components/upload/src/upload.vue.d.ts +16 -15
- package/constants/index.d.ts +1 -2
- package/constants/{index.ts.mjs → index.mjs} +1 -1
- package/constants/others.d.ts +1 -3
- package/hooks/useAnimateAuto.d.ts +3 -4
- package/hooks/useAppContext.d.ts +2 -4
- package/hooks/useCommon.d.ts +2 -3
- package/hooks/useContextMenu.d.ts +9 -11
- package/hooks/useDic.d.ts +6 -8
- package/hooks/{useDic.ts.mjs → useDic.mjs} +1 -1
- package/hooks/useList.d.ts +8 -7
- package/hooks/{useList.ts.mjs → useList.mjs} +1 -1
- package/hooks/useMQ.d.ts +8 -9
- package/hooks/useSysUser.d.ts +4 -6
- package/hooks/{useSysUser.ts.mjs → useSysUser.mjs} +1 -1
- package/index.d.ts +8 -63
- package/index.mjs +29 -0
- package/package.json +3 -3
- package/plugins/alova/index.d.ts +11 -11
- package/plugins/alova/{index.ts.mjs → index.mjs} +1 -1
- package/plugins/autoImport/$confirm.d.ts +7 -0
- package/plugins/autoImport/{_confirm.ts.mjs → $confirm.mjs} +1 -1
- package/plugins/autoImport/$dialog.d.ts +22 -0
- package/plugins/autoImport/{_dialog.ts.mjs → $dialog.mjs} +2 -2
- package/plugins/autoImport/$drawer.d.ts +15 -0
- package/plugins/autoImport/{_drawer.ts.mjs → $drawer.mjs} +2 -2
- package/plugins/autoImport/$loading.d.ts +14 -0
- package/plugins/autoImport/{_loading.ts.mjs → $loading.mjs} +1 -1
- package/plugins/autoImport/$msg.d.ts +18 -0
- package/plugins/autoImport/{_msg.ts.mjs → $msg.mjs} +1 -1
- package/plugins/autoImport/$notify.d.ts +16 -0
- package/plugins/autoImport/{_notify.ts.mjs → $notify.mjs} +1 -1
- package/plugins/autoImport/dayjs.d.ts +2 -2
- package/plugins/others/directive.d.ts +3 -5
- package/plugins/others/{directive.ts.mjs → directive.mjs} +2 -2
- package/plugins/useContextMenuComponent/{Index.vue.mjs → Index.mjs} +4 -4
- package/plugins/useContextMenuComponent/Index.vue.d.ts +3 -4
- package/plugins/useContextMenuComponent/MenuNode.vue.d.ts +6 -7
- package/plugins/useContextMenuComponent/types.d.ts +7 -10
- package/router/index.d.ts +5 -6
- package/store/index.d.ts +3 -4
- package/store/modules/common.d.ts +17 -17
- package/store/modules/common.mjs +2 -0
- package/store/modules/excludeKPname.d.ts +7 -8
- package/store/modules/login.d.ts +10 -10
- package/store/modules/login.mjs +2 -0
- package/store/modules/recentRouters.d.ts +18 -18
- package/store/modules/{recentRouters.ts.mjs → recentRouters.mjs} +1 -1
- package/store/modules/router.d.ts +40 -39
- package/store/modules/router.mjs +2 -0
- package/store/modules/user.d.ts +32 -31
- package/store/modules/user.mjs +2 -0
- package/utils/boolean.d.ts +0 -2
- package/utils/{boolean.ts.mjs → boolean.mjs} +1 -1
- package/utils/index.d.ts +5 -6
- package/utils/{index.ts.mjs → index.mjs} +5 -5
- package/utils/number.d.ts +3 -4
- package/utils/{number.ts.mjs → number.mjs} +1 -1
- package/utils/string.d.ts +0 -2
- package/utils/tool.d.ts +1 -3
- package/utils/tree.d.ts +10 -11
- package/assets/Index-CRPjy593.css +0 -1
- package/assets/button-ySOkGcQh.css +0 -1
- package/assets/card-BQk39jnB.css +0 -2
- package/assets/form-DD3wq8_T.css +0 -2
- package/assets/image-BpCE1tpL.css +0 -1
- package/assets/input-number-DBKtI-Fk.css +0 -2
- package/assets/pagination-DqSXT3ik.css +0 -1
- package/assets/upload-BJHvcU-9.css +0 -1
- package/chunks/image-Cunr39w4.mjs +0 -46
- package/chunks/link-BuO-XtLZ.mjs +0 -41
- package/chunks/slider-47gg2-Of.mjs +0 -47
- package/chunks/switch-b7w8iKxZ.mjs +0 -45
- package/components/button/index.ts.mjs +0 -3
- package/components/button/src/button.ts.mjs +0 -9
- package/components/button/src/button.vue.mjs +0 -2
- package/components/card/index.ts.mjs +0 -3
- package/components/card/src/card.ts.mjs +0 -9
- package/components/card/src/card.vue.mjs +0 -2
- package/components/checkbox/src/checkbox.ts.mjs +0 -0
- package/components/checkbox-group/index.ts.mjs +0 -2
- package/components/checkbox-group/src/checkbox-group.ts.mjs +0 -0
- package/components/checkbox-group/src/checkbox-group.vue.mjs +0 -2
- package/components/form/index.ts.mjs +0 -3
- package/components/form/src/form.ts.mjs +0 -18
- package/components/form/src/form.vue.mjs +0 -2
- package/components/icon/src/icon.ts.mjs +0 -0
- package/components/image/index.ts.mjs +0 -3
- package/components/image/src/image.ts.mjs +0 -4
- package/components/image/src/image.vue.mjs +0 -2
- package/components/image-viewer/index.ts.mjs +0 -3
- package/components/image-viewer/src/image-viewer.ts.mjs +0 -12
- package/components/image-viewer/src/image-viewer.vue.mjs +0 -2
- package/components/index.ts.mjs +0 -42
- package/components/input/index.ts.mjs +0 -3
- package/components/input/src/input.ts.mjs +0 -10
- package/components/input/src/input.vue.mjs +0 -2
- package/components/input-number/index.ts.mjs +0 -3
- package/components/input-number/src/input-number.ts.mjs +0 -12
- package/components/input-number/src/input-number.vue.mjs +0 -2
- package/components/link/index.ts.mjs +0 -3
- package/components/link/src/link.ts.mjs +0 -4
- package/components/link/src/link.vue.mjs +0 -2
- package/components/pagination/index.ts.mjs +0 -2
- package/components/pagination/src/pagination.ts.mjs +0 -0
- package/components/pagination/src/pagination.vue.mjs +0 -2
- package/components/popconfirm/src/popconfirm.ts.mjs +0 -0
- package/components/popup/src/popup.ts.mjs +0 -0
- package/components/radio-group/index.ts.mjs +0 -2
- package/components/radio-group/src/radio-group.ts.mjs +0 -0
- package/components/radio-group/src/radio-group.vue.mjs +0 -2
- package/components/range-input/index.ts.mjs +0 -2
- package/components/range-input/src/range-input.ts.mjs +0 -0
- package/components/range-input/src/range-input.vue.mjs +0 -2
- package/components/select/index.ts.mjs +0 -3
- package/components/select/src/select.ts.mjs +0 -25
- package/components/select/src/select.vue.mjs +0 -2
- package/components/slider/index.ts.mjs +0 -3
- package/components/slider/src/slider.ts.mjs +0 -4
- package/components/slider/src/slider.vue.mjs +0 -2
- package/components/switch/index.ts.mjs +0 -3
- package/components/switch/src/switch.ts.mjs +0 -7
- package/components/switch/src/switch.vue.mjs +0 -2
- package/components/tab-panel/src/tab-panel.ts.mjs +0 -0
- package/components/tag/index.ts.mjs +0 -3
- package/components/tag/src/tag.ts.mjs +0 -7
- package/components/tag/src/tag.vue.mjs +0 -2
- package/components/tag-input/index.ts.mjs +0 -3
- package/components/tag-input/src/tag-input.ts.mjs +0 -7
- package/components/tag-input/src/tag-input.vue.mjs +0 -2
- package/components/textarea/index.ts.mjs +0 -2
- package/components/textarea/src/textarea.ts.mjs +0 -0
- package/components/textarea/src/textarea.vue.mjs +0 -2
- package/components/tree/index.ts.mjs +0 -3
- package/components/tree/src/tree.vue.mjs +0 -2
- package/components/tree-select/index.ts.mjs +0 -2
- package/components/tree-select/src/tree-select.ts.mjs +0 -0
- package/components/tree-select/src/tree-select.vue.mjs +0 -2
- package/components/upload/index.ts.mjs +0 -3
- package/components/upload/src/upload.ts.mjs +0 -4
- package/components/upload/src/upload.vue.mjs +0 -2
- package/entry/Provider.vue.d.ts +0 -15
- package/entry/Provider.vue.mjs +0 -2
- package/index.ts.mjs +0 -43
- package/plugins/autoImport/_confirm.d.ts +0 -9
- package/plugins/autoImport/_dialog.d.ts +0 -22
- package/plugins/autoImport/_drawer.d.ts +0 -17
- package/plugins/autoImport/_loading.d.ts +0 -17
- package/plugins/autoImport/_msg.d.ts +0 -18
- package/plugins/autoImport/_notify.d.ts +0 -16
- package/store/modules/common.ts.mjs +0 -2
- package/store/modules/login.ts.mjs +0 -2
- package/store/modules/router.ts.mjs +0 -2
- package/store/modules/user.ts.mjs +0 -2
- /package/chunks/{_plugin-vue_export-helper-B3ysoDQm.mjs → plugin-vue_export-helper-B3ysoDQm.mjs} +0 -0
- /package/components/checkbox/{index.ts.mjs → index.mjs} +0 -0
- /package/components/checkbox/src/{checkbox.vue.mjs → checkbox.mjs} +0 -0
- /package/components/icon/{index.ts.mjs → index.mjs} +0 -0
- /package/components/icon/src/{icon.vue.mjs → icon.mjs} +0 -0
- /package/components/popconfirm/{index.ts.mjs → index.mjs} +0 -0
- /package/components/popconfirm/src/{popconfirm.vue.mjs → popconfirm.mjs} +0 -0
- /package/components/popup/{index.ts.mjs → index.mjs} +0 -0
- /package/components/popup/src/{popup.vue.mjs → popup.mjs} +0 -0
- /package/components/tab-panel/{index.ts.mjs → index.mjs} +0 -0
- /package/components/tab-panel/src/{tab-panel.vue.mjs → tab-panel.mjs} +0 -0
- /package/constants/{others.ts.mjs → others.mjs} +0 -0
- /package/hooks/{useAnimateAuto.ts.mjs → useAnimateAuto.mjs} +0 -0
- /package/hooks/{useAppContext.ts.mjs → useAppContext.mjs} +0 -0
- /package/hooks/{useCommon.ts.mjs → useCommon.mjs} +0 -0
- /package/hooks/{useContextMenu.ts.mjs → useContextMenu.mjs} +0 -0
- /package/hooks/{useMQ.ts.mjs → useMQ.mjs} +0 -0
- /package/plugins/autoImport/{dayjs.ts.mjs → dayjs.mjs} +0 -0
- /package/plugins/useContextMenuComponent/{MenuNode.vue.mjs → MenuNode.mjs} +0 -0
- /package/router/{index.ts.mjs → index.mjs} +0 -0
- /package/store/{index.ts.mjs → index.mjs} +0 -0
- /package/store/modules/{excludeKPname.ts.mjs → excludeKPname.mjs} +0 -0
- /package/utils/{string.ts.mjs → string.mjs} +0 -0
- /package/utils/{tool.ts.mjs → tool.mjs} +0 -0
- /package/utils/{tree.ts.mjs → tree.mjs} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.custom_context_menu[data-v-22fe4836]{--td-bg-color-container-hover:var(--td-bg-color-secondarycontainer-hover);border:.5px solid var(--td-component-border);border-radius:var(--td-radius-medium);min-width:100px;box-shadow:var(--td-shadow-2)}.custom_context_menu[data-v-22fe4836] .t-menu--scroll{padding:8px 0!important}.custom_context_menu[data-v-22fe4836] .t-menu__item{height:var(--td-comp-size-s);line-height:var(--td-comp-size-s);margin-top:0!important;padding:0 12px!important}.custom_context_menu[data-v-22fe4836] .t-submenu{margin-top:0!important}.custom_context_menu[data-v-22fe4836] .t-fake-arrow{transform:rotate(270deg)!important}.custom_context_menu[data-v-22fe4836] .t-fake-arrow path{d:path("M3.75 5.7998L7.99274 10.0425L12.2361 5.79921")!important}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-5556b131] .iconify{flex-shrink:0;font-size:var(--td-font-size-body-large)!important}[data-v-5556b131] .iconify+.t-button__text:not(:empty){margin-left:8px}.t-size-s[data-v-5556b131] .iconify{font-size:var(--td-font-size-body-medium)!important}.t-size-l[data-v-5556b131] .iconify{font-size:var(--td-font-size-title-large)!important}.t-button+.t-button[data-v-5556b131]{margin-left:var(--td-comp-margin-m)}.t-button+.t-button.t-size-s[data-v-5556b131]{margin-left:var(--td-comp-margin-xs)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.title_ellipsis[data-v-928dbf60] .t-card__header-wrapper{display:inline;overflow:hidden}.title_ellipsis[data-v-928dbf60] .t-card__title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-v-928dbf60] .t-card__title{line-height:32px}[data-v-928dbf60] .t-card__header{align-items:flex-start}[data-v-928dbf60] .t-card__title--bordered:last-child{border-bottom:none}[data-v-928dbf60] .t-card__body:has(>.t-form:last-child){padding-bottom:0}[data-v-928dbf60] .t-card__actions{min-height:32px;color:inherit;align-items:center;display:flex}[data-v-928dbf60] .t-loading__parent:has(.t-card__body.flex-1){flex-direction:column;flex:1;display:flex;overflow-y:auto}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
[data-v-87d0e4f6] .t-form__label{padding-right:var(--td-size-1)}[data-v-87d0e4f6] .t-form__label--top{min-height:auto;line-height:inherit}[data-v-87d0e4f6] .t-form__item{margin-bottom:var(--td-comp-margin-xxl)!important}[data-v-87d0e4f6] .t-form__item.no_label_item .t-form__label{display:none}[data-v-87d0e4f6] .t-form__item .t-input-adornment{flex:auto}.t-form[data-v-87d0e4f6]{--td-comp-margin-xxl:var(--td-comp-margin-xl)}.t-form[data-v-87d0e4f6]: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-87d0e4f6]{margin-bottom:0!important}.t-form-inline[data-v-87d0e4f6]{--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-87d0e4f6] .no_label_item{align-self:flex-end}.t-form-inline[data-v-87d0e4f6] .t-form__item{min-width:auto;margin-right:0;display:block}.t-form-inline[data-v-87d0e4f6] .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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.t-image__wrapper[data-v-ae491c28]{background:0 0}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.t-input-number--normal[data-v-57c7f43f]{width:100%}.t-input-number--auto-width[data-v-57c7f43f]{align-items:center;max-width:100%;display:inline-flex}.t-input-number--auto-width[data-v-57c7f43f] .t-input--auto-width{flex:1}.t-input-number--auto-width[data-v-57c7f43f] .t-input--auto-width .t-input{max-width:100%}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.t-pagination[data-v-2fa755d5] .t-pagination__total{flex:none;order:2}.t-pagination[data-v-2fa755d5] .t-pagination__select .t-input{min-width:100px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[data-v-
|
|
1
|
+
[data-v-9b495945] .t-textarea__info_wrapper:has(>.t-textarea__limit:only-child){pointer-events:none;position:absolute;bottom:2px;right:4px}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.t-upload.file[data-v-f3396e6a] .t-upload__trigger{pointer-events:none}.t-upload.file[data-v-f3396e6a] .t-upload__trigger .t-button{pointer-events:auto}
|
|
@@ -3,7 +3,7 @@ import { Button as c, Icon as l } from "tdesign-vue-next";
|
|
|
3
3
|
import { ElConfigProvider as u } from "element-plus";
|
|
4
4
|
import d from "element-plus/es/locale/lang/zh-cn";
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region ../../packages/dlzn-ui/
|
|
6
|
+
//#region ../../packages/dlzn-ui/components/provider/src/Provider.vue
|
|
7
7
|
var f = /* @__PURE__ */ n({
|
|
8
8
|
__name: "Provider",
|
|
9
9
|
setup(n) {
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import t from "
|
|
3
|
-
import { n } from "./
|
|
4
|
-
import { t as r } from "./
|
|
5
|
-
import { t as i } from "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import e from "../plugins/autoImport/$loading.mjs";
|
|
2
|
+
import { n as t } from "./user-DpkUzWVu.mjs";
|
|
3
|
+
import { t as n } from "./icon-COjp1yrx.mjs";
|
|
4
|
+
import { t as r } from "./popconfirm-DxWa7vWm.mjs";
|
|
5
|
+
import { t as i } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createSlots as u, createVNode as d, defineComponent as f, getCurrentInstance as p, guardReactiveProps as m, h, mergeDefaults as g, mergeProps as _, normalizeProps as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, unref as w, useAttrs as T, watch as E, withCtx as D } from "vue";
|
|
7
|
+
import { useFocus as O } from "@vueuse/core";
|
|
8
|
+
import { Button as k } from "tdesign-vue-next";
|
|
9
|
+
import '../assets/button-CawLqS02.css';//#region ../../packages/dlzn-ui/components/button/src/button.ts
|
|
10
|
+
var A = {
|
|
11
|
+
autoIcon: !0,
|
|
12
|
+
autoLoading: !0,
|
|
13
|
+
autoTheme: !0,
|
|
14
|
+
loading: void 0
|
|
15
|
+
}, j = /*#__PURE__*/ i(/* @__PURE__ */ f({
|
|
13
16
|
inheritAttrs: !1,
|
|
14
17
|
name: "TButton",
|
|
15
18
|
__name: "button",
|
|
16
|
-
props: /*@__PURE__*/
|
|
19
|
+
props: /*@__PURE__*/ g({
|
|
17
20
|
autoIcon: { type: Boolean },
|
|
18
21
|
autoLoading: { type: Boolean },
|
|
19
22
|
autoTheme: { type: Boolean },
|
|
@@ -50,11 +53,11 @@ var j = /*#__PURE__*/ a(/* @__PURE__ */ p({
|
|
|
50
53
|
Object,
|
|
51
54
|
Array
|
|
52
55
|
] }
|
|
53
|
-
},
|
|
54
|
-
setup(
|
|
55
|
-
let
|
|
56
|
-
function
|
|
57
|
-
if (!
|
|
56
|
+
}, A),
|
|
57
|
+
setup(i) {
|
|
58
|
+
let f = i, g = b("");
|
|
59
|
+
function A() {
|
|
60
|
+
if (!f.autoTheme || g.value.trim() === "") return {};
|
|
58
61
|
let e = /* @__PURE__ */ new Map([
|
|
59
62
|
[{ theme: "danger" }, ["删除", "清除"]],
|
|
60
63
|
[{
|
|
@@ -68,41 +71,41 @@ var j = /*#__PURE__*/ a(/* @__PURE__ */ p({
|
|
|
68
71
|
]],
|
|
69
72
|
[{ theme: "warning" }, ["预警"]]
|
|
70
73
|
]), t = {};
|
|
71
|
-
for (let [n, r] of e) if (r.some((e) =>
|
|
74
|
+
for (let [n, r] of e) if (r.some((e) => g.value.includes(e))) {
|
|
72
75
|
t = n;
|
|
73
76
|
break;
|
|
74
77
|
}
|
|
75
78
|
return t;
|
|
76
79
|
}
|
|
77
|
-
let j =
|
|
78
|
-
|
|
80
|
+
let j = b(!1), M = e.isLoading, N = b(null), { focused: P } = O(N), F, I;
|
|
81
|
+
E(M, (e) => {
|
|
79
82
|
e ? (clearTimeout(I), I = void 0, F = setTimeout(() => {
|
|
80
83
|
j.value = P.value, clearTimeout(F), F = void 0;
|
|
81
84
|
}, 150)) : F === void 0 ? I = setTimeout(() => {
|
|
82
85
|
j.value = !1;
|
|
83
86
|
}, 150) : (clearTimeout(F), F = void 0, j.value = !1);
|
|
84
|
-
}, { immediate: !0 }),
|
|
87
|
+
}, { immediate: !0 }), E(P, (e) => {
|
|
85
88
|
e && M.value && (j.value = !0);
|
|
86
89
|
});
|
|
87
|
-
let L =
|
|
90
|
+
let L = o(() => f.loading === void 0 ? f.autoLoading ? j.value : !1 : f.loading), R = o(() => {
|
|
88
91
|
let e = {
|
|
89
|
-
...
|
|
90
|
-
...
|
|
92
|
+
...f,
|
|
93
|
+
...A(),
|
|
91
94
|
loading: L.value
|
|
92
95
|
};
|
|
93
96
|
return Object.keys(e).forEach((t) => {
|
|
94
97
|
e[t] === void 0 && delete e[t];
|
|
95
98
|
}), delete e.permission, delete e.popconfirm, delete e.autoIcon, delete e.autoLoading, delete e.autoTheme, delete e.icon, e;
|
|
96
|
-
}), z =
|
|
99
|
+
}), z = k, B = p();
|
|
97
100
|
function V(e) {
|
|
98
101
|
let t = e ?? {};
|
|
99
102
|
B.exposed = t, N.value = t.$el;
|
|
100
103
|
}
|
|
101
104
|
function H() {
|
|
102
|
-
|
|
105
|
+
g.value = N.value?.textContent ?? "";
|
|
103
106
|
}
|
|
104
|
-
let U =
|
|
105
|
-
if (!
|
|
107
|
+
let U = o(() => {
|
|
108
|
+
if (!f.autoIcon || g.value.trim() === "") return;
|
|
106
109
|
let e = {
|
|
107
110
|
"mdi:plus": [
|
|
108
111
|
"新增",
|
|
@@ -152,48 +155,48 @@ var j = /*#__PURE__*/ a(/* @__PURE__ */ p({
|
|
|
152
155
|
"bi:journal-text": ["日志"],
|
|
153
156
|
"material-symbols:security": ["权限"]
|
|
154
157
|
}, t;
|
|
155
|
-
for (let [n, r] of Object.entries(e)) if (r.some((e) =>
|
|
158
|
+
for (let [n, r] of Object.entries(e)) if (r.some((e) => g.value.includes(e))) {
|
|
156
159
|
t = n;
|
|
157
160
|
break;
|
|
158
161
|
}
|
|
159
162
|
if (t !== void 0) return t;
|
|
160
|
-
}), W =
|
|
163
|
+
}), W = T(), G = o(() => _(W, {
|
|
161
164
|
...R.value,
|
|
162
165
|
ref: V
|
|
163
|
-
}, { class: "flex-shrink-0" })), K =
|
|
164
|
-
if (
|
|
165
|
-
...
|
|
166
|
+
}, { class: "flex-shrink-0" })), K = o(() => {
|
|
167
|
+
if (f.popconfirm) return {
|
|
168
|
+
...f.popconfirm,
|
|
166
169
|
onVisibleChange: (...e) => {
|
|
167
|
-
|
|
170
|
+
f.popconfirm?.onVisibleChange?.(...e), !e[0] && (document.activeElement?.classList.contains("t-popconfirm__confirm") || document.activeElement?.classList.contains("t-popconfirm__cancel")) && (P.value = !0);
|
|
168
171
|
}
|
|
169
172
|
};
|
|
170
173
|
});
|
|
171
|
-
return (
|
|
172
|
-
default:
|
|
174
|
+
return (e, o) => w(t)().checkPermissions(i.permission) ? (y(), l(a, { key: 0 }, [K.value ? (y(), s(r, v(_({ key: 0 }, K.value)), {
|
|
175
|
+
default: D(() => [(y(), s(C(h(w(z), G.value)), {
|
|
173
176
|
onVnodeMounted: H,
|
|
174
177
|
onVnodeUpdated: H
|
|
175
|
-
},
|
|
178
|
+
}, u({ _: 2 }, [i.icon || U.value ? {
|
|
176
179
|
name: "icon",
|
|
177
|
-
fn:
|
|
180
|
+
fn: D(() => [d(n, { icon: i.icon || U.value }, null, 8, ["icon"])]),
|
|
178
181
|
key: "0"
|
|
179
|
-
} : void 0,
|
|
180
|
-
name:
|
|
181
|
-
fn:
|
|
182
|
+
} : void 0, x(Object.keys(e.$slots), (t) => ({
|
|
183
|
+
name: t,
|
|
184
|
+
fn: D((n) => [S(e.$slots, t, v(m(n)), void 0, !0)])
|
|
182
185
|
}))]), 1536))]),
|
|
183
186
|
_: 3
|
|
184
|
-
}, 16)) : (
|
|
187
|
+
}, 16)) : (y(), s(C(h(w(z), G.value)), {
|
|
185
188
|
key: 1,
|
|
186
189
|
onVnodeMounted: H,
|
|
187
190
|
onVnodeUpdated: H
|
|
188
|
-
},
|
|
191
|
+
}, u({ _: 2 }, [i.icon || U.value ? {
|
|
189
192
|
name: "icon",
|
|
190
|
-
fn:
|
|
193
|
+
fn: D(() => [d(n, { icon: i.icon || U.value }, null, 8, ["icon"])]),
|
|
191
194
|
key: "0"
|
|
192
|
-
} : void 0,
|
|
193
|
-
name:
|
|
194
|
-
fn:
|
|
195
|
-
}))]), 1536))], 64)) :
|
|
195
|
+
} : void 0, x(Object.keys(e.$slots), (t) => ({
|
|
196
|
+
name: t,
|
|
197
|
+
fn: D((n) => [S(e.$slots, t, v(m(n)), void 0, !0)])
|
|
198
|
+
}))]), 1536))], 64)) : c("v-if", !0);
|
|
196
199
|
}
|
|
197
|
-
}), [["__scopeId", "data-v-
|
|
200
|
+
}), [["__scopeId", "data-v-5556b131"]]);
|
|
198
201
|
//#endregion
|
|
199
|
-
export { j as t };
|
|
202
|
+
export { A as n, j as t };
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
3
|
+
import { Card as d } from "tdesign-vue-next";
|
|
4
|
+
import '../assets/card-_JgeY1kg.css';//#region ../../packages/dlzn-ui/components/card/src/card.ts
|
|
5
|
+
var f = {
|
|
6
|
+
bodyFullHeight: !1,
|
|
7
|
+
headerBordered: !0,
|
|
8
|
+
shadow: !0,
|
|
9
|
+
titleEllipsis: !1
|
|
10
|
+
}, p = /*#__PURE__*/ e(/* @__PURE__ */ r({
|
|
8
11
|
inheritAttrs: !1,
|
|
9
12
|
name: "TCard",
|
|
10
13
|
__name: "card",
|
|
11
|
-
props: /*@__PURE__*/
|
|
14
|
+
props: /*@__PURE__*/ o({
|
|
12
15
|
actions: {},
|
|
13
16
|
avatar: {},
|
|
14
17
|
bordered: { type: Boolean },
|
|
@@ -35,26 +38,26 @@ var p = /*#__PURE__*/ e(/* @__PURE__ */ i({
|
|
|
35
38
|
title: {},
|
|
36
39
|
bodyFullHeight: { type: Boolean },
|
|
37
40
|
titleEllipsis: { type: Boolean }
|
|
38
|
-
},
|
|
41
|
+
}, f),
|
|
39
42
|
setup(e) {
|
|
40
|
-
let
|
|
41
|
-
let e = { ...
|
|
43
|
+
let r = e, o = t(() => {
|
|
44
|
+
let e = { ...r };
|
|
42
45
|
return delete e.bodyFullHeight, delete e.titleEllipsis, Object.keys(e).forEach((t) => {
|
|
43
46
|
e[t] === void 0 && delete e[t];
|
|
44
47
|
}), e;
|
|
45
|
-
}),
|
|
48
|
+
}), f = d, p = i();
|
|
46
49
|
function m(e) {
|
|
47
50
|
p.exposed = e ?? {};
|
|
48
51
|
}
|
|
49
|
-
return (t,
|
|
50
|
-
...
|
|
52
|
+
return (t, r) => (c(), n(l(a(u(f), s(t.$attrs, {
|
|
53
|
+
...o.value,
|
|
51
54
|
ref: m,
|
|
52
|
-
bodyClassName: [e.bodyFullHeight ? "flex-1" : "",
|
|
55
|
+
bodyClassName: [e.bodyFullHeight ? "flex-1" : "", o.value.bodyClassName].filter(Boolean).join(" ")
|
|
53
56
|
}, { class: {
|
|
54
57
|
"flex flex-col": e.bodyFullHeight,
|
|
55
58
|
title_ellipsis: e.titleEllipsis
|
|
56
59
|
} }), t.$slots))));
|
|
57
60
|
}
|
|
58
|
-
}), [["__scopeId", "data-v-
|
|
61
|
+
}), [["__scopeId", "data-v-928dbf60"]]);
|
|
59
62
|
//#endregion
|
|
60
|
-
export { p as t };
|
|
63
|
+
export { f as n, p as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "../plugins/autoImport
|
|
2
|
-
import { m as t } from "./user-
|
|
3
|
-
import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.
|
|
4
|
-
import { useList as i } from "../hooks/useList.
|
|
1
|
+
import e from "../plugins/autoImport/$notify.mjs";
|
|
2
|
+
import { m as t } from "./user-DpkUzWVu.mjs";
|
|
3
|
+
import { isFalsy as n, isValidNumberString as r } from "../utils/boolean.mjs";
|
|
4
|
+
import { useList as i } from "../hooks/useList.mjs";
|
|
5
5
|
import { computed as a, createBlock as o, defineComponent as s, getCurrentInstance as c, h as l, mergeProps as u, openBlock as d, resolveDynamicComponent as f, unref as p } from "vue";
|
|
6
6
|
import { CheckboxGroup as m } from "tdesign-vue-next";
|
|
7
7
|
//#endregion
|
|
@@ -1,33 +1,44 @@
|
|
|
1
|
-
import e from "../plugins/autoImport
|
|
2
|
-
import t from "../plugins/autoImport
|
|
3
|
-
import { isFalsy as n } from "../utils/boolean.
|
|
4
|
-
import { t as r } from "./
|
|
1
|
+
import e from "../plugins/autoImport/$msg.mjs";
|
|
2
|
+
import t from "../plugins/autoImport/$notify.mjs";
|
|
3
|
+
import { isFalsy as n } from "../utils/boolean.mjs";
|
|
4
|
+
import { t as r } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
5
5
|
import { t as i } from "./checkbox-CLlUEbkk.mjs";
|
|
6
|
-
import { t as a } from "./checkbox-group-
|
|
7
|
-
import {
|
|
8
|
-
import { t as s } from "./input-
|
|
9
|
-
import { t as c } from "./
|
|
10
|
-
import { t as l } from "./
|
|
11
|
-
import { t as u } from "./
|
|
12
|
-
import { t as d } from "./
|
|
13
|
-
import { t as f } from "./
|
|
14
|
-
import { t as p } from "./
|
|
15
|
-
import { t as m } from "./
|
|
16
|
-
import { t as ee } from "./
|
|
17
|
-
import { t as te } from "./tree-
|
|
18
|
-
import { t as ne } from "./
|
|
19
|
-
import {
|
|
20
|
-
import { Fragment as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, defineAsyncComponent as x, defineComponent as S, getCurrentInstance as C, mergeDefaults as w, mergeProps as T, nextTick as E, onMounted as re, openBlock as D, provide as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, shallowRef as N, unref as P, watch as F, withCtx as I } from "vue";
|
|
6
|
+
import { t as a } from "./checkbox-group-8yzWfZL_.mjs";
|
|
7
|
+
import { t as o } from "./input-number-Bt1mbd1D.mjs";
|
|
8
|
+
import { t as s } from "./input-B8jjJrK5.mjs";
|
|
9
|
+
import { t as c } from "./radio-group-Bmx_ESrX.mjs";
|
|
10
|
+
import { t as l } from "./range-input-8ddDrOBB.mjs";
|
|
11
|
+
import { t as u } from "./select-6VzBY_vu.mjs";
|
|
12
|
+
import { t as d } from "./slider-C63Gzbld.mjs";
|
|
13
|
+
import { t as f } from "./switch-CqV3-avv.mjs";
|
|
14
|
+
import { t as p } from "./tag-input-iNXrRXk2.mjs";
|
|
15
|
+
import { t as m } from "./textarea-xkwOhNut.mjs";
|
|
16
|
+
import { t as ee } from "./tree-select-ofeRjUNh.mjs";
|
|
17
|
+
import { t as te } from "./tree-CnkGS9CU.mjs";
|
|
18
|
+
import { t as ne } from "./upload-BRtusVF3.mjs";
|
|
19
|
+
import { Fragment as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, defineAsyncComponent as b, defineComponent as x, getCurrentInstance as S, mergeDefaults as C, mergeProps as w, nextTick as T, onMounted as re, openBlock as E, provide as D, reactive as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as M, shallowRef as N, unref as P, watch as F, withCtx as I } from "vue";
|
|
21
20
|
import { useMutationObserver as L, useResizeObserver as R } from "@vueuse/core";
|
|
22
21
|
import { Form as z, FormItem as B } from "tdesign-vue-next";
|
|
23
22
|
import V from "virtual:dlzn-ui/app-params";
|
|
24
|
-
import '../assets/form-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
import '../assets/form-ClgamZql.css';//#region ../../packages/dlzn-ui/components/form/src/form.ts
|
|
24
|
+
var H = {
|
|
25
|
+
autoLabelWidth: !0,
|
|
26
|
+
colon: !0,
|
|
27
|
+
data: () => O({}),
|
|
28
|
+
disabled: !1,
|
|
29
|
+
labelAlign: "top",
|
|
30
|
+
layout: "inline",
|
|
31
|
+
msgErrorWhenValidate: !0,
|
|
32
|
+
preventSubmitDefault: !0,
|
|
33
|
+
readonly: !1,
|
|
34
|
+
requiredMark: void 0,
|
|
35
|
+
resetType: "initial",
|
|
36
|
+
showErrorMessage: !0
|
|
37
|
+
}, U = /*#__PURE__*/ r(/* @__PURE__ */ x({
|
|
27
38
|
inheritAttrs: !1,
|
|
28
39
|
name: "TForm",
|
|
29
40
|
__name: "form",
|
|
30
|
-
props: /*@__PURE__*/
|
|
41
|
+
props: /*@__PURE__*/ C({
|
|
31
42
|
autoLabelWidth: { type: Boolean },
|
|
32
43
|
data: {},
|
|
33
44
|
items: {},
|
|
@@ -51,15 +62,15 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
51
62
|
onReset: { type: Function },
|
|
52
63
|
onSubmit: { type: Function },
|
|
53
64
|
onValidate: { type: Function }
|
|
54
|
-
},
|
|
55
|
-
setup(r, { expose:
|
|
56
|
-
let
|
|
65
|
+
}, H),
|
|
66
|
+
setup(r, { expose: x }) {
|
|
67
|
+
let C = r, { busComponentInitialValueMap: O, busFormItems: H } = V, U = S(), W = k(null), G = g(() => C.items.map((e) => {
|
|
57
68
|
if (typeof e.__others == "function") {
|
|
58
69
|
let t = {
|
|
59
70
|
...e,
|
|
60
71
|
...e.__others({
|
|
61
72
|
exposed: W,
|
|
62
|
-
formData:
|
|
73
|
+
formData: C.data
|
|
63
74
|
})
|
|
64
75
|
};
|
|
65
76
|
return delete t.__others, t;
|
|
@@ -68,10 +79,10 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
68
79
|
}));
|
|
69
80
|
function K() {
|
|
70
81
|
G.value.forEach((e) => {
|
|
71
|
-
if (e.model !== void 0 && !Object.hasOwn(
|
|
72
|
-
if (
|
|
73
|
-
let t =
|
|
74
|
-
|
|
82
|
+
if (e.model !== void 0 && !Object.hasOwn(C.data, e.model)) {
|
|
83
|
+
if (O.has(e.component)) {
|
|
84
|
+
let t = O.get(e.component);
|
|
85
|
+
C.data[e.model] = t(e);
|
|
75
86
|
return;
|
|
76
87
|
}
|
|
77
88
|
let t = [
|
|
@@ -89,34 +100,34 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
89
100
|
"yearrange",
|
|
90
101
|
"years"
|
|
91
102
|
].includes(e.type) || e.component === "TSlider" && e.range === !0;
|
|
92
|
-
|
|
103
|
+
C.data[e.model] = t ? [] : e.component === "TCheckbox" ? !1 : e.component === "TSwitch" ? Array.isArray(e.customValue) ? e.customValue[1] : !1 : "";
|
|
93
104
|
}
|
|
94
105
|
});
|
|
95
106
|
}
|
|
96
107
|
F(G, K, {
|
|
97
108
|
deep: 2,
|
|
98
109
|
immediate: !0
|
|
99
|
-
}), F(() =>
|
|
110
|
+
}), F(() => C.data, () => {
|
|
100
111
|
t.error("TForm: data is changed");
|
|
101
112
|
});
|
|
102
113
|
let q = /* @__PURE__ */ new Map(), J = {
|
|
103
114
|
TCheckbox: i,
|
|
104
115
|
TCheckboxGroup: a,
|
|
105
|
-
TInput:
|
|
106
|
-
TInputNumber:
|
|
107
|
-
TRadioGroup:
|
|
108
|
-
TRangeInput:
|
|
109
|
-
TSelect:
|
|
110
|
-
TSlider:
|
|
111
|
-
TSwitch:
|
|
112
|
-
TTagInput:
|
|
113
|
-
TTextarea:
|
|
114
|
-
TTree:
|
|
115
|
-
TTreeSelect:
|
|
116
|
-
TUpload:
|
|
116
|
+
TInput: s,
|
|
117
|
+
TInputNumber: o,
|
|
118
|
+
TRadioGroup: c,
|
|
119
|
+
TRangeInput: l,
|
|
120
|
+
TSelect: u,
|
|
121
|
+
TSlider: d,
|
|
122
|
+
TSwitch: f,
|
|
123
|
+
TTagInput: p,
|
|
124
|
+
TTextarea: m,
|
|
125
|
+
TTree: te,
|
|
126
|
+
TTreeSelect: ee,
|
|
127
|
+
TUpload: ne
|
|
117
128
|
};
|
|
118
129
|
function Y(e) {
|
|
119
|
-
return typeof e == "string" ? H.has(e) ? (q.has(e) || q.set(e,
|
|
130
|
+
return typeof e == "string" ? H.has(e) ? (q.has(e) || q.set(e, b(H.get(e))), q.get(e)) : J[e] : s;
|
|
120
131
|
}
|
|
121
132
|
function ie(e) {
|
|
122
133
|
let t = {};
|
|
@@ -135,7 +146,7 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
135
146
|
"TCheckboxGroup",
|
|
136
147
|
"TRadioGroup"
|
|
137
148
|
].includes(e.component), r = e.component === "TUpload" ? "请上传文件" : typeof t.label == "string" ? n ? `请选择${t.label}` : `请填写${t.label}` : "必填";
|
|
138
|
-
return t.required === !0 && (t.rules === void 0 && (t.rules = []), !t.rules.some((e) => e.required === !0) &&
|
|
149
|
+
return t.required === !0 && (t.rules === void 0 && (t.rules = []), !t.rules.some((e) => e.required === !0) && C.rules?.[e.model ?? ""] === void 0 && t.rules.unshift({
|
|
139
150
|
message: r,
|
|
140
151
|
required: !0
|
|
141
152
|
}, {
|
|
@@ -146,8 +157,8 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
146
157
|
whitespace: !0
|
|
147
158
|
}), t;
|
|
148
159
|
}
|
|
149
|
-
let ae =
|
|
150
|
-
let e = { ...
|
|
160
|
+
let ae = g(() => {
|
|
161
|
+
let e = { ...C };
|
|
151
162
|
if (e.rules !== void 0) {
|
|
152
163
|
let t = {};
|
|
153
164
|
Object.keys(e.rules).forEach((n) => {
|
|
@@ -165,7 +176,7 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
165
176
|
e[t] === void 0 && delete e[t];
|
|
166
177
|
}), e;
|
|
167
178
|
}), oe = z, Z = () => {
|
|
168
|
-
let e = { ...
|
|
179
|
+
let e = { ...C.data };
|
|
169
180
|
return G.value.forEach((t) => {
|
|
170
181
|
t.show === !1 && delete e[t.model];
|
|
171
182
|
}), e;
|
|
@@ -177,7 +188,7 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
177
188
|
let t = r.validate;
|
|
178
189
|
r.validate = (...n) => new Promise((r, i) => {
|
|
179
190
|
t(...n).then((t) => {
|
|
180
|
-
t === !0 ? r(Z()) : (
|
|
191
|
+
t === !0 ? r(Z()) : (C.msgErrorWhenValidate && Object.keys(t).forEach((n) => {
|
|
181
192
|
t[n].forEach((t) => {
|
|
182
193
|
t.result === !1 && e.error(t.message);
|
|
183
194
|
});
|
|
@@ -196,11 +207,11 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
196
207
|
if (!r.clearValidate._alreadyReplace) {
|
|
197
208
|
let e = r.clearValidate;
|
|
198
209
|
r.clearValidate = (...t) => {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
210
|
+
T(() => {
|
|
211
|
+
T(() => {
|
|
212
|
+
T(() => {
|
|
213
|
+
T(() => {
|
|
214
|
+
T(() => {
|
|
204
215
|
e(...t);
|
|
205
216
|
});
|
|
206
217
|
});
|
|
@@ -211,9 +222,9 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
211
222
|
}
|
|
212
223
|
r.getFormData = Z, r.setFormData = (e, t) => {
|
|
213
224
|
let { ignoreKeys: r = [], isNotFalsy: i = !0, numberToStringKeys: a = [], override: o = {}, splitToArrKeys: s = [] } = t ?? {};
|
|
214
|
-
Object.keys(
|
|
215
|
-
r.includes(t) || (s.includes(t) ?
|
|
216
|
-
}), Object.assign(
|
|
225
|
+
Object.keys(C.data).forEach((t) => {
|
|
226
|
+
r.includes(t) || (s.includes(t) ? C.data[t] = typeof e[t] == "string" ? e[t].split(",").filter(Boolean) : [] : i && n(e[t]) || (C.data[t] = e[t]), a.includes(t) && typeof C.data[t] == "number" && (C.data[t] = String(C.data[t])));
|
|
227
|
+
}), Object.assign(C.data, o);
|
|
217
228
|
};
|
|
218
229
|
}
|
|
219
230
|
let r = t ?? {};
|
|
@@ -236,7 +247,7 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
236
247
|
let e = [...Q.value];
|
|
237
248
|
if (e.forEach((e) => {
|
|
238
249
|
e.style.minWidth = "auto";
|
|
239
|
-
}),
|
|
250
|
+
}), C.labelAlign === "top" || !C.autoLabelWidth) return;
|
|
240
251
|
let t = 0;
|
|
241
252
|
e.forEach((e) => {
|
|
242
253
|
t = Math.max(t, e.offsetWidth);
|
|
@@ -244,12 +255,12 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
244
255
|
e.style.minWidth = `${t}px`;
|
|
245
256
|
});
|
|
246
257
|
}
|
|
247
|
-
return
|
|
258
|
+
return D("formData", C.data), D("formExposed", W), D("isFormDisabled", g(() => C.disabled)), D("isFormReadonly", g(() => C.readonly)), x({}), (e, t) => (E(), y(h, null, [v(" eslint-disable vue/no-mutating-props "), (E(), _(M(P(oe)), w(w(e.$attrs, {
|
|
248
259
|
...ae.value,
|
|
249
260
|
ref: se
|
|
250
261
|
}), { "label-width": "fit-content" }), {
|
|
251
|
-
default: I(() => [(
|
|
252
|
-
default: I(() => [t.slot ? j(e.$slots, t.slot, {}, void 0, !0, 0) : (
|
|
262
|
+
default: I(() => [(E(!0), y(h, null, A(G.value.filter((e) => e.show !== !1), (t) => (E(), _(P(B), w({ key: t.model ?? t.slot }, { ref_for: !0 }, w({ ...X(t) }, { class: { no_label_item: P(n)(t._label) } }), { name: t.model }), {
|
|
263
|
+
default: I(() => [t.slot ? j(e.$slots, t.slot, {}, void 0, !0, 0) : (E(), _(M(Y(t.component)), w({
|
|
253
264
|
key: 1,
|
|
254
265
|
modelValue: r.data[t.model],
|
|
255
266
|
"onUpdate:modelValue": (e) => r.data[t.model] = e
|
|
@@ -259,6 +270,6 @@ var H = /*#__PURE__*/ r(/* @__PURE__ */ S({
|
|
|
259
270
|
_: 3
|
|
260
271
|
}, 16))], 2112));
|
|
261
272
|
}
|
|
262
|
-
}), [["__scopeId", "data-v-
|
|
273
|
+
}), [["__scopeId", "data-v-87d0e4f6"]]);
|
|
263
274
|
//#endregion
|
|
264
|
-
export { H as t };
|
|
275
|
+
export { H as n, U as t };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as e } from "./plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
3
|
+
import { Image as d } from "tdesign-vue-next";
|
|
4
|
+
import '../assets/image-B0R_Wg4e.css';//#region ../../packages/dlzn-ui/components/image/src/image.ts
|
|
5
|
+
var f = { lazy: !0 }, p = /*@__PURE__*/ r({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
name: "TImage",
|
|
8
|
+
__name: "image",
|
|
9
|
+
props: /*@__PURE__*/ o({
|
|
10
|
+
alt: {},
|
|
11
|
+
error: {},
|
|
12
|
+
fallback: {},
|
|
13
|
+
fit: {},
|
|
14
|
+
gallery: { type: Boolean },
|
|
15
|
+
lazy: { type: Boolean },
|
|
16
|
+
loading: {},
|
|
17
|
+
overlayContent: {},
|
|
18
|
+
overlayTrigger: {},
|
|
19
|
+
placeholder: {},
|
|
20
|
+
position: {},
|
|
21
|
+
referrerpolicy: {},
|
|
22
|
+
shape: {},
|
|
23
|
+
src: {},
|
|
24
|
+
srcset: {},
|
|
25
|
+
onError: { type: Function },
|
|
26
|
+
onLoad: { type: Function }
|
|
27
|
+
}, { ...f }),
|
|
28
|
+
setup(e) {
|
|
29
|
+
let r = e, o = t(() => {
|
|
30
|
+
let e = { ...r };
|
|
31
|
+
return Object.keys(e).forEach((t) => {
|
|
32
|
+
e[t] === void 0 && delete e[t];
|
|
33
|
+
}), e;
|
|
34
|
+
}), f = d, p = i();
|
|
35
|
+
function m(e) {
|
|
36
|
+
p.exposed = e ?? {};
|
|
37
|
+
}
|
|
38
|
+
return (e, t) => (c(), n(l(a(u(f), s(e.$attrs, {
|
|
39
|
+
...o.value,
|
|
40
|
+
ref: m
|
|
41
|
+
}), e.$slots))));
|
|
42
|
+
}
|
|
43
|
+
}), m = /*#__PURE__*/ e(p, [["__scopeId", "data-v-ae491c28"]]);
|
|
44
|
+
//#endregion
|
|
45
|
+
export { f as n, m as t };
|