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
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { TreeSelectProps } from
|
|
2
|
-
|
|
3
|
-
declare const __VLS_export:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}, {}, {}, {}, string,
|
|
1
|
+
import { TreeSelectProps } from './tree-select';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const __VLS_export: DefineComponent<TreeSelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TreeSelectProps> & Readonly<{}>, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
readonly: boolean;
|
|
6
|
+
clearable: boolean;
|
|
7
|
+
filterable: boolean;
|
|
8
|
+
popupVisible: boolean;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
11
|
-
|
|
12
|
-
export { _default as default };
|
|
11
|
+
export default _default;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { DEFAULT_ACCEPT, _default as TUpload, UploadFile, UploadInstanceFunctions, UploadProps };
|
|
1
|
+
export * from './src/upload';
|
|
2
|
+
export { default as TUpload } from './src/upload.vue';
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region ../../packages/dlzn-ui/components/upload/src/upload.d.ts
|
|
1
|
+
import { AlovaGenerics, Method } from 'alova';
|
|
2
|
+
import { UploadFile as _UploadFile, UploadInstanceFunctions as _UploadInstanceFunctions, UploadProps as _UploadProps, RequestMethodResponse } from 'tdesign-vue-next';
|
|
4
3
|
export declare const DEFAULT_ACCEPT = ".xlsx,.xls";
|
|
5
|
-
export type UploadFile =
|
|
6
|
-
export type UploadInstanceFunctions =
|
|
7
|
-
export interface UploadProps extends Omit<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
export type UploadFile = _UploadFile;
|
|
5
|
+
export type UploadInstanceFunctions = _UploadInstanceFunctions;
|
|
6
|
+
export interface UploadProps extends Omit<_UploadProps, 'action' | 'data' | 'defaultFiles' | 'defaultValue' | 'files' | 'format' | 'formatRequest' | 'formatResponse' | 'headers' | 'method' | 'name' | 'requestMethod' | 'value'> {
|
|
7
|
+
downloadTemplate?: Method<Omit<AlovaGenerics, 'Responded'> & {
|
|
8
|
+
Responded: Blob;
|
|
9
|
+
}> | string;
|
|
10
|
+
'onUpdate:modelValue'?: (value: UploadFile[]) => void;
|
|
11
|
+
requestMethod?: ((file: UploadFile | UploadFile[]) => Method<Omit<AlovaGenerics, 'Responded'> & {
|
|
12
|
+
Responded: RequestMethodResponse['response'];
|
|
13
|
+
}>) | {
|
|
14
|
+
biz: string;
|
|
15
|
+
ossUrl?: string;
|
|
16
|
+
};
|
|
18
17
|
}
|
|
19
|
-
//#endregion
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { UploadInstanceFunctions, UploadProps } from
|
|
2
|
-
|
|
1
|
+
import { UploadInstanceFunctions, UploadProps } from './upload';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare var __VLS_10: string, __VLS_11: any;
|
|
4
|
-
type __VLS_Slots = {} & {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: DefineComponent<UploadProps, UploadInstanceFunctions, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UploadProps> & Readonly<{}>, {
|
|
8
|
+
theme: "custom" | "file" | "file-input" | "file-flow" | "image" | "image-flow";
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
multiple: boolean;
|
|
11
|
+
accept: string;
|
|
12
|
+
useMockProgress: boolean;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
15
|
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
14
17
|
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
18
21
|
};
|
|
19
|
-
//#endregion
|
|
20
|
-
export { _default as default };
|
package/constants/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { passwordReg, passwordRegMessage, validNumberStringReg };
|
|
1
|
+
export * from './others';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { passwordReg as e, passwordRegMessage as t, validNumberStringReg as n } from "./others.
|
|
1
|
+
import { passwordReg as e, passwordRegMessage as t, validNumberStringReg as n } from "./others.mjs";
|
|
2
2
|
export { e as passwordReg, t as passwordRegMessage, n as validNumberStringReg };
|
package/constants/others.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
//#region ../../packages/dlzn-ui/constants/others.d.ts
|
|
2
1
|
export declare const passwordReg: RegExp;
|
|
3
|
-
export declare const passwordRegMessage = "
|
|
2
|
+
export declare const passwordRegMessage = "\u5BC6\u78018\u4F4D\u53CA\u4EE5\u4E0A\uFF0C\u542B\u5927\u5199\u5B57\u6BCD\u3001\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u7279\u6B8A\u5B57\u7B26\u4E2D\u81F3\u5C11\u4E09\u7C7B";
|
|
4
3
|
export declare const validNumberStringReg: RegExp;
|
|
5
|
-
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { AutoAnimateOptions, AutoAnimationPlugin } from '@formkit/auto-animate';
|
|
2
2
|
declare const _default: () => {
|
|
3
|
-
|
|
3
|
+
autoAnimate: (el: HTMLElement, config?: Partial< AutoAnimateOptions> | AutoAnimationPlugin | undefined) => void;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
|
-
export { _default as default };
|
|
5
|
+
export default _default;
|
package/hooks/useAppContext.d.ts
CHANGED
package/hooks/useCommon.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function usePrimaryColor():
|
|
3
|
-
//#endregion
|
|
1
|
+
import { ShallowRef } from 'vue';
|
|
2
|
+
export declare function usePrimaryColor(): ShallowRef<string | undefined, string | undefined>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region ../../packages/dlzn-ui/hooks/useContextMenu.d.ts
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { Items } from '../plugins/useContextMenuComponent/types';
|
|
4
3
|
interface HookReturnType {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
items: Ref<Items>;
|
|
5
|
+
showMenu: Ref<boolean>;
|
|
6
|
+
x: Ref<number>;
|
|
7
|
+
y: Ref<number>;
|
|
9
8
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export { useContextMenu as default };
|
|
9
|
+
export default function useContextMenu(): HookReturnType;
|
|
10
|
+
export default function useContextMenu(e: PointerEvent, _items: Items): void;
|
|
11
|
+
export {};
|
package/hooks/useDic.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ComputedRef } from
|
|
2
|
-
//#region ../../packages/dlzn-ui/hooks/useDic.d.ts
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
3
2
|
export interface DicItem {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
cssClass: string;
|
|
4
|
+
dictType: string;
|
|
5
|
+
label: string;
|
|
6
|
+
remark: string;
|
|
7
|
+
value: string;
|
|
9
8
|
}
|
|
10
9
|
export declare function useClearDic(): void;
|
|
11
10
|
export declare function useDicLabel(code: string): ComputedRef<string[]>;
|
|
@@ -13,4 +12,3 @@ export declare function useDicLabel(code: string, value: PettyPrimitive): Comput
|
|
|
13
12
|
export declare function useDicLabel(code: string, value: Array<PettyPrimitive>): ComputedRef<string[]>;
|
|
14
13
|
export declare function useDicOptions(code: string, includeArr?: string[]): ComputedRef<DicItem[]>;
|
|
15
14
|
export declare function useRefreshDic(code: string): void;
|
|
16
|
-
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { f as e, h as t, m as n, p as r } from "../chunks/user-
|
|
1
|
+
import { f as e, h as t, m as n, p as r } from "../chunks/user-DpkUzWVu.mjs";
|
|
2
2
|
export { e as useClearDic, r as useDicLabel, n as useDicOptions, t as useRefreshDic };
|
package/hooks/useList.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from
|
|
2
|
-
//#region ../../packages/dlzn-ui/hooks/useList.d.ts
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
3
2
|
export interface ListItem {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
7
6
|
}
|
|
8
7
|
export type UseListAllKey = keyof typeof promiseMap;
|
|
9
8
|
export type UseListKey = Exclude<UseListAllKey, UseListTreeKey>;
|
|
10
9
|
export type UseListTreeKey = TreeKeys<typeof promiseMap>;
|
|
11
|
-
type TreeKeys<T> = {
|
|
10
|
+
type TreeKeys<T> = {
|
|
11
|
+
[K in keyof T]: K extends `${string}Tree` ? K : never;
|
|
12
|
+
}[keyof T];
|
|
12
13
|
declare const promiseMap: Record<string, () => Promise<ListItem[]>>;
|
|
13
14
|
export declare function useClearList(): void;
|
|
14
15
|
export declare function useList(key: UseListAllKey): Ref<ListItem[], ListItem[]>;
|
|
@@ -16,4 +17,4 @@ export declare function useListLabel(key: UseListKey): ComputedRef<string[]>;
|
|
|
16
17
|
export declare function useListLabel(key: UseListKey, value: PettyPrimitive): ComputedRef<string>;
|
|
17
18
|
export declare function useListLabel(key: UseListKey, value: Array<PettyPrimitive>): ComputedRef<string[]>;
|
|
18
19
|
export declare function useListRefresh(key: UseListAllKey): void;
|
|
19
|
-
|
|
20
|
+
export {};
|
package/hooks/useMQ.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
is2xl: ComputedRef<boolean>;
|
|
4
|
+
isLg: ComputedRef<boolean>;
|
|
5
|
+
isMd: ComputedRef<boolean>;
|
|
6
|
+
isSm: ComputedRef<boolean>;
|
|
7
|
+
isXl: ComputedRef<boolean>;
|
|
8
|
+
isXs: ComputedRef<boolean>;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
export { _default as default };
|
|
10
|
+
export default _default;
|
package/hooks/useSysUser.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { Ref } from
|
|
2
|
-
//#region ../../packages/dlzn-ui/hooks/useSysUser.d.ts
|
|
1
|
+
import { Ref } from 'vue';
|
|
3
2
|
export interface SysUserItem {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
7
6
|
}
|
|
8
7
|
export declare function useClearSysUser(): void;
|
|
9
8
|
export declare function useRefreshSysUser(id: string): void;
|
|
10
9
|
export declare function useSysUser(id: string): Ref<null | SysUserItem>;
|
|
11
|
-
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { d as e, l as t, u as n } from "../chunks/user-
|
|
1
|
+
import { d as e, l as t, u as n } from "../chunks/user-DpkUzWVu.mjs";
|
|
2
2
|
export { t as useClearSysUser, n as useRefreshSysUser, e as useSysUser };
|
package/index.d.ts
CHANGED
|
@@ -1,65 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import _default from "./components/button/src/button.vue.js";
|
|
5
|
-
import { CardProps, cardPropsInit } from "./components/card/src/card.js";
|
|
6
|
-
import _default$1 from "./components/card/src/card.vue.js";
|
|
7
|
-
import { ListItem } from "./hooks/useList.js";
|
|
8
|
-
import { CheckboxGroupProps } from "./components/checkbox-group/src/checkbox-group.js";
|
|
9
|
-
import _default$3 from "./components/checkbox-group/src/checkbox-group.vue.js";
|
|
10
|
-
import { CheckboxProps } from "./components/checkbox/src/checkbox.js";
|
|
11
|
-
import _default$2 from "./components/checkbox/src/checkbox.vue.js";
|
|
12
|
-
import { InputProps, inputPropsInit } from "./components/input/src/input.js";
|
|
13
|
-
import _default$8 from "./components/input/src/input.vue.js";
|
|
14
|
-
import { InputNumberProps, inputNumberPropsInit } from "./components/input-number/src/input-number.js";
|
|
15
|
-
import _default$9 from "./components/input-number/src/input-number.vue.js";
|
|
16
|
-
import { RadioGroupProps } from "./components/radio-group/src/radio-group.js";
|
|
17
|
-
import _default$14 from "./components/radio-group/src/radio-group.vue.js";
|
|
18
|
-
import { RangeInputProps } from "./components/range-input/src/range-input.js";
|
|
19
|
-
import _default$15 from "./components/range-input/src/range-input.vue.js";
|
|
20
|
-
import { SelectProps, selectPropsInit } from "./components/select/src/select.js";
|
|
21
|
-
import _default$16 from "./components/select/src/select.vue.js";
|
|
22
|
-
import { SliderProps, sliderPropsInit } from "./components/slider/src/slider.js";
|
|
23
|
-
import _default$17 from "./components/slider/src/slider.vue.js";
|
|
24
|
-
import { SwitchProps, switchPropsInit } from "./components/switch/src/switch.js";
|
|
25
|
-
import _default$18 from "./components/switch/src/switch.vue.js";
|
|
26
|
-
import { TagInputProps, tagInputPropsInit } from "./components/tag-input/src/tag-input.js";
|
|
27
|
-
import _default$21 from "./components/tag-input/src/tag-input.vue.js";
|
|
28
|
-
import { TextareaProps } from "./components/textarea/src/textarea.js";
|
|
29
|
-
import _default$22 from "./components/textarea/src/textarea.vue.js";
|
|
30
|
-
import { TreeProps, treePropsInit } from "./components/tree/src/tree.js";
|
|
31
|
-
import _default$23 from "./components/tree/src/tree.vue.js";
|
|
32
|
-
import { TreeSelectProps } from "./components/tree-select/src/tree-select.js";
|
|
33
|
-
import _default$24 from "./components/tree-select/src/tree-select.vue.js";
|
|
34
|
-
import { DEFAULT_ACCEPT, UploadFile, UploadInstanceFunctions, UploadProps } from "./components/upload/src/upload.js";
|
|
35
|
-
import _default$25 from "./components/upload/src/upload.vue.js";
|
|
36
|
-
import { AllowedComponentProps, FormExposed, FormInstance, FormItem, FormItemComponentPropsUnderlyingWithMeta, FormItemProps, FormProps, FormPropsData, GetFormData, ResolvedFormItem, SetFormData, SlotItem, formPropsInit } from "./components/form/src/form.js";
|
|
37
|
-
import _default$4 from "./components/form/src/form.vue.js";
|
|
38
|
-
import { IconProps } from "./components/icon/src/icon.js";
|
|
39
|
-
import _default$5 from "./components/icon/src/icon.vue.js";
|
|
40
|
-
import { ImageViewerProps, imageViewerPropsInit } from "./components/image-viewer/src/image-viewer.js";
|
|
41
|
-
import _default$7 from "./components/image-viewer/src/image-viewer.vue.js";
|
|
42
|
-
import { ImageProps, imagePropsInit } from "./components/image/src/image.js";
|
|
43
|
-
import _default$6 from "./components/image/src/image.vue.js";
|
|
44
|
-
import { LinkProps, linkPropsInit } from "./components/link/src/link.js";
|
|
45
|
-
import _default$10 from "./components/link/src/link.vue.js";
|
|
46
|
-
import { PaginationProps } from "./components/pagination/src/pagination.js";
|
|
47
|
-
import _default$11 from "./components/pagination/src/pagination.vue.js";
|
|
48
|
-
import { PopupProps } from "./components/popup/src/popup.js";
|
|
49
|
-
import _default$13 from "./components/popup/src/popup.vue.js";
|
|
50
|
-
import { TabPanelProps } from "./components/tab-panel/src/tab-panel.js";
|
|
51
|
-
import _default$19 from "./components/tab-panel/src/tab-panel.vue.js";
|
|
52
|
-
import { TagProps, tagPropsInit } from "./components/tag/src/tag.js";
|
|
53
|
-
import _default$20 from "./components/tag/src/tag.vue.js";
|
|
54
|
-
import "./components/index.js";
|
|
55
|
-
import { AsyncComponentLoader } from "vue";
|
|
56
|
-
//#region ../../packages/dlzn-ui/index.d.ts
|
|
1
|
+
import { AsyncComponentLoader } from 'vue';
|
|
2
|
+
import { ListItem } from './hooks/useList';
|
|
3
|
+
export * from './components';
|
|
57
4
|
export interface AppParams {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
5
|
+
busComponentInitialValueMap: Map<string, (itemConfig: Record<string, any>) => any>;
|
|
6
|
+
busComponentPropsMap: Record<string, any>;
|
|
7
|
+
busFormItems: Map<string, AsyncComponentLoader>;
|
|
8
|
+
useListPromiseMap: Record<string, () => Promise<ListItem[]>>;
|
|
9
|
+
viewsEntryLazyImport: Record<string, AsyncVueComponentLoaderDefault>;
|
|
63
10
|
}
|
|
64
|
-
//#endregion
|
|
65
|
-
export { AllowedComponentProps, ButtonProps, CardProps, CheckboxGroupProps, CheckboxProps, DEFAULT_ACCEPT, FormExposed, FormInstance, FormItem, FormItemComponentPropsUnderlyingWithMeta, FormItemProps, FormProps, FormPropsData, GetFormData, IconProps, ImageProps, ImageViewerProps, InputNumberProps, InputProps, LinkProps, PaginationProps, PopconfirmProps, PopupProps, RadioGroupProps, RangeInputProps, ResolvedFormItem, SelectProps, SetFormData, SliderProps, SlotItem, SwitchProps, _default as TButton, _default$1 as TCard, _default$2 as TCheckbox, _default$3 as TCheckboxGroup, _default$4 as TForm, _default$5 as TIcon, _default$6 as TImage, _default$7 as TImageViewer, _default$8 as TInput, _default$9 as TInputNumber, _default$10 as TLink, _default$11 as TPagination, _default$12 as TPopconfirm, _default$13 as TPopup, _default$14 as TRadioGroup, _default$15 as TRangeInput, _default$16 as TSelect, _default$17 as TSlider, _default$18 as TSwitch, _default$19 as TTabPanel, _default$20 as TTag, _default$21 as TTagInput, _default$22 as TTextarea, _default$23 as TTree, _default$24 as TTreeSelect, _default$25 as TUpload, type TabPanelProps, TagInputProps, TagProps, TextareaProps, TreeProps, TreeSelectProps, UploadFile, UploadInstanceFunctions, UploadProps, buttonPropsInit, cardPropsInit, formPropsInit, imagePropsInit, imageViewerPropsInit, inputNumberPropsInit, inputPropsInit, linkPropsInit, selectPropsInit, sliderPropsInit, switchPropsInit, tagInputPropsInit, tagPropsInit, treePropsInit };
|
package/index.mjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { n as e, t } from "./chunks/button-Ne9zVtg8.mjs";
|
|
2
|
+
import { t as n } from "./chunks/icon-COjp1yrx.mjs";
|
|
3
|
+
import { t as r } from "./chunks/popconfirm-DxWa7vWm.mjs";
|
|
4
|
+
import { n as i, t as a } from "./chunks/card-BfHb58zl.mjs";
|
|
5
|
+
import { t as o } from "./chunks/checkbox-CLlUEbkk.mjs";
|
|
6
|
+
import { t as s } from "./chunks/checkbox-group-8yzWfZL_.mjs";
|
|
7
|
+
import { n as c, t as l } from "./chunks/form-BBUFXU0H.mjs";
|
|
8
|
+
import { n as u, t as d } from "./chunks/input-number-Bt1mbd1D.mjs";
|
|
9
|
+
import { n as f, t as p } from "./chunks/input-B8jjJrK5.mjs";
|
|
10
|
+
import { t as m } from "./chunks/radio-group-Bmx_ESrX.mjs";
|
|
11
|
+
import { t as h } from "./chunks/range-input-8ddDrOBB.mjs";
|
|
12
|
+
import { n as g, t as _ } from "./chunks/select-6VzBY_vu.mjs";
|
|
13
|
+
import { n as v, t as y } from "./chunks/slider-C63Gzbld.mjs";
|
|
14
|
+
import { n as b, t as x } from "./chunks/switch-CqV3-avv.mjs";
|
|
15
|
+
import { n as S, t as C } from "./chunks/tag-input-iNXrRXk2.mjs";
|
|
16
|
+
import { t as w } from "./chunks/textarea-xkwOhNut.mjs";
|
|
17
|
+
import { t as T } from "./chunks/tree-DDa08q83.mjs";
|
|
18
|
+
import { t as E } from "./chunks/tree-select-ofeRjUNh.mjs";
|
|
19
|
+
import { t as D } from "./chunks/tree-CnkGS9CU.mjs";
|
|
20
|
+
import { n as O, t as k } from "./chunks/upload-BRtusVF3.mjs";
|
|
21
|
+
import { n as A, t as j } from "./chunks/image-BEsiUWeF.mjs";
|
|
22
|
+
import { n as M, t as N } from "./chunks/image-viewer-BZux9RvX.mjs";
|
|
23
|
+
import { n as P, t as F } from "./chunks/link-Byr_BYPx.mjs";
|
|
24
|
+
import { t as I } from "./chunks/pagination-Ca_TCfrh.mjs";
|
|
25
|
+
import { t as L } from "./chunks/popup-BO_hNSY5.mjs";
|
|
26
|
+
import { t as R } from "./chunks/tab-panel-CtYeK29i.mjs";
|
|
27
|
+
import { n as z, t as B } from "./chunks/tag-B-ovDWQi.mjs";
|
|
28
|
+
import "./components/index.mjs";
|
|
29
|
+
export { O as DEFAULT_ACCEPT, t as TButton, a as TCard, o as TCheckbox, s as TCheckboxGroup, l as TForm, n as TIcon, j as TImage, N as TImageViewer, p as TInput, d as TInputNumber, F as TLink, I as TPagination, r as TPopconfirm, L as TPopup, m as TRadioGroup, h as TRangeInput, _ as TSelect, y as TSlider, x as TSwitch, R as TTabPanel, B as TTag, C as TTagInput, w as TTextarea, D as TTree, E as TTreeSelect, k as TUpload, e as buttonPropsInit, i as cardPropsInit, c as formPropsInit, A as imagePropsInit, M as imageViewerPropsInit, u as inputNumberPropsInit, f as inputPropsInit, P as linkPropsInit, g as selectPropsInit, v as sliderPropsInit, b as switchPropsInit, S as tagInputPropsInit, z as tagPropsInit, T as treePropsInit };
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"import": "./components/*/index.mjs"
|
|
13
13
|
},
|
|
14
14
|
"./plugins/*": {
|
|
15
|
-
"types": "./plugins
|
|
16
|
-
"import": "./plugins
|
|
15
|
+
"types": "./plugins/*.d.ts",
|
|
16
|
+
"import": "./plugins/*.mjs"
|
|
17
17
|
},
|
|
18
18
|
"./utils": {
|
|
19
19
|
"types": "./utils/index.d.ts",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"> 1%",
|
|
72
72
|
"not dead"
|
|
73
73
|
],
|
|
74
|
-
"version": "1.
|
|
74
|
+
"version": "1.76.0"
|
|
75
75
|
}
|
package/plugins/alova/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Arg } from
|
|
2
|
-
|
|
1
|
+
import { Arg, Alova, AlovaGenerics, AlovaDefaultCacheAdapter } from 'alova';
|
|
2
|
+
import { FetchRequestInit } from 'alova/fetch';
|
|
3
|
+
import { Ref, ComputedRef, WatchSource } from 'vue';
|
|
3
4
|
export declare function getFilterEmptyParamsObj(params: Arg, useEmptyParams?: boolean): Arg;
|
|
4
5
|
export declare function getParamsString(params: Arg, useEmptyParams?: boolean): string;
|
|
5
|
-
declare const _default:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
declare const _default: Alova<AlovaGenerics<any, any, FetchRequestInit, Response, Headers, AlovaDefaultCacheAdapter, AlovaDefaultCacheAdapter, {
|
|
7
|
+
name: "Vue";
|
|
8
|
+
State: Ref<unknown, unknown>;
|
|
9
|
+
Computed: ComputedRef<unknown>;
|
|
10
|
+
Watched: object | WatchSource<unknown>;
|
|
11
|
+
StateExport: Ref<unknown, unknown>;
|
|
12
|
+
ComputedExport: ComputedRef<unknown>;
|
|
12
13
|
}>>;
|
|
13
|
-
|
|
14
|
-
export { _default as default };
|
|
14
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, i as t, r as n } from "../../chunks/user-
|
|
1
|
+
import { a as e, i as t, r as n } from "../../chunks/user-DpkUzWVu.mjs";
|
|
2
2
|
export { n as default, t as getFilterEmptyParamsObj, e as getParamsString };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CreateDialogFnType } from './$dialog';
|
|
2
|
+
declare const _default: (arg1: (Omit<Parameters<CreateDialogFnType>[0], "onCancel" | "onConfirm"> & {
|
|
3
|
+
onCancelCallback?: () => Promise<void> | void;
|
|
4
|
+
onConfirmCallback?: () => Promise<void> | void;
|
|
5
|
+
useReject?: boolean;
|
|
6
|
+
}) | string, arg2?: Parameters<CreateDialogFnType>[1]) => Promise<void>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DialogInstance, DialogOptions } from 'tdesign-vue-next';
|
|
2
|
+
import { AppContext } from 'vue';
|
|
3
|
+
declare enum DialogCreateType {
|
|
4
|
+
alert = "alert",
|
|
5
|
+
closeAll = "closeAll",
|
|
6
|
+
confirm = "confirm"
|
|
7
|
+
}
|
|
8
|
+
export type CreateDialogFnType = (options: {
|
|
9
|
+
/**
|
|
10
|
+
* @description: 关闭所有的时候是不是也关闭这个弹窗
|
|
11
|
+
*/
|
|
12
|
+
closeWhenCloseAll?: boolean;
|
|
13
|
+
} & Omit<DialogOptions, 'default' | 'onConfirm'> & {
|
|
14
|
+
onConfirm?: ((...args: Parameters<NonNullable<DialogOptions['onConfirm']>>) => Promise<void>) | DialogOptions['onConfirm'];
|
|
15
|
+
}, context?: AppContext) => DialogInstance;
|
|
16
|
+
type CreateDialogType = CreateDialogFnType & Omit<{
|
|
17
|
+
[value in DialogCreateType]: CreateDialogFnType;
|
|
18
|
+
}, 'closeAll'> & {
|
|
19
|
+
closeAll: () => void;
|
|
20
|
+
};
|
|
21
|
+
declare const createDialog: CreateDialogType;
|
|
22
|
+
export default createDialog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "../../hooks/useAppContext.
|
|
2
|
-
import { t } from "../../chunks/Provider-
|
|
1
|
+
import e from "../../hooks/useAppContext.mjs";
|
|
2
|
+
import { t } from "../../chunks/Provider-DS0ccNiT.mjs";
|
|
3
3
|
import { computed as n, h as r, ref as i } from "vue";
|
|
4
4
|
import { useElementVisibility as a } from "@vueuse/core";
|
|
5
5
|
import { Button as o, DialogPlugin as s } from "tdesign-vue-next";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DrawerInstance, DrawerOptions } from 'tdesign-vue-next';
|
|
2
|
+
import { AppContext } from 'vue';
|
|
3
|
+
export type CreateDrawerFnType = (options: {
|
|
4
|
+
/**
|
|
5
|
+
* @description: 关闭所有的时候是不是也关闭这个
|
|
6
|
+
*/
|
|
7
|
+
closeWhenCloseAll?: boolean;
|
|
8
|
+
} & Omit<DrawerOptions, 'default' | 'onConfirm' | 'visible'> & {
|
|
9
|
+
onConfirm?: ((...args: Parameters<NonNullable<DrawerOptions['onConfirm']>>) => Promise<void>) | DrawerOptions['onConfirm'];
|
|
10
|
+
}, context?: AppContext) => DrawerInstance;
|
|
11
|
+
type CreateDrawerType = CreateDrawerFnType & {
|
|
12
|
+
closeAll: () => void;
|
|
13
|
+
};
|
|
14
|
+
declare const createDrawer: CreateDrawerType;
|
|
15
|
+
export default createDrawer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "../../hooks/useAppContext.
|
|
2
|
-
import { t } from "../../chunks/Provider-
|
|
1
|
+
import e from "../../hooks/useAppContext.mjs";
|
|
2
|
+
import { t } from "../../chunks/Provider-DS0ccNiT.mjs";
|
|
3
3
|
import { computed as n, h as r } from "vue";
|
|
4
4
|
import { DrawerPlugin as i } from "tdesign-vue-next";
|
|
5
5
|
//#region ../../packages/dlzn-ui/plugins/autoImport/$drawer.ts
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { CreateMessageFnType } from './$msg';
|
|
3
|
+
type LoadingText = Parameters<CreateMessageFnType>[0];
|
|
4
|
+
declare class LoadingService {
|
|
5
|
+
isLoading: Ref<boolean, boolean>;
|
|
6
|
+
private loadingCount;
|
|
7
|
+
private loadingInstance;
|
|
8
|
+
private loadingText;
|
|
9
|
+
changeView(): void;
|
|
10
|
+
hide(): void;
|
|
11
|
+
show(text?: LoadingText): void;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: LoadingService;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MessageInstance, MessageOptions, MessagePluginType } from 'tdesign-vue-next';
|
|
2
|
+
declare enum MessageCreateType {
|
|
3
|
+
error = "error",
|
|
4
|
+
info = "info",
|
|
5
|
+
loading = "loading",
|
|
6
|
+
question = "question",
|
|
7
|
+
success = "success",
|
|
8
|
+
warning = "warning"
|
|
9
|
+
}
|
|
10
|
+
export type CreateMessageFnType = (content: MessageOptions['content'], options?: Omit<MessageOptions, 'content' | 'theme'>) => Promise<MessageInstance>;
|
|
11
|
+
type CreateMessageType = CreateMessageFnType & {
|
|
12
|
+
[value in MessageCreateType]: CreateMessageFnType;
|
|
13
|
+
} & {
|
|
14
|
+
close: MessagePluginType['close'];
|
|
15
|
+
closeAll: MessagePluginType['closeAll'];
|
|
16
|
+
};
|
|
17
|
+
declare const createMessage: CreateMessageType;
|
|
18
|
+
export default createMessage;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { NotificationInstance, NotificationOptions, NotificationPluginType } from 'tdesign-vue-next';
|
|
2
|
+
declare enum NotificationCreateType {
|
|
3
|
+
error = "error",
|
|
4
|
+
info = "info",
|
|
5
|
+
success = "success",
|
|
6
|
+
warning = "warning"
|
|
7
|
+
}
|
|
8
|
+
type CreateNotificationFnType = (content: NotificationOptions['content'], options?: Omit<NotificationOptions, 'content' | 'theme'>) => Promise<NotificationInstance>;
|
|
9
|
+
type CreateNotificationType = CreateNotificationFnType & {
|
|
10
|
+
[value in NotificationCreateType]: CreateNotificationFnType;
|
|
11
|
+
} & {
|
|
12
|
+
close: NotificationPluginType['close'];
|
|
13
|
+
closeAll: NotificationPluginType['closeAll'];
|
|
14
|
+
};
|
|
15
|
+
declare const createNotification: CreateNotificationType;
|
|
16
|
+
export default createNotification;
|