dlzn-ui 1.98.0 → 2.0.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/chunks/{Common-DEnkEenA.mjs → Common-DQpjT3jW.mjs} +1 -1
- package/chunks/{Day-BJk-nwsB.mjs → Day-HL6x7yLX.mjs} +1 -1
- package/chunks/{Hour-nvQIVCKw.mjs → Hour-BFGTBWNR.mjs} +1 -1
- package/chunks/{Index-BAZNGkfP.mjs → Index-BUPV2Hl-.mjs} +1 -1
- package/chunks/{Index-DtNVp8Jl.mjs → Index-BeAUzCzs.mjs} +1 -1
- package/chunks/{Index-DkZ1A8A0.mjs → Index-CZY-y6f3.mjs} +1 -1
- package/chunks/{Index-CPTcMvNy.mjs → Index-DWbVB7_E.mjs} +1 -1
- package/chunks/{IndexItem-C4w0eN1d.mjs → IndexItem-CqcYo6aP.mjs} +1 -1
- package/chunks/{Minute-idRXtDVQ.mjs → Minute-Br4alYKh.mjs} +1 -1
- package/chunks/{Month-CIhYqqTE.mjs → Month-DuoPRsUb.mjs} +1 -1
- package/chunks/{Provider-D_6GI2ye.mjs → Provider-DpmFID7p.mjs} +1 -0
- package/chunks/{Second-DfCTit3h.mjs → Second-Jj9aYZ3m.mjs} +1 -1
- package/chunks/{UserInfo-DqHkhnLr.mjs → UserInfo-ZJPvR0hg.mjs} +1 -1
- package/chunks/{button-DqozxOkh.mjs → button-D-dL2qTx.mjs} +3 -3
- package/chunks/{custom-page-list-dwWHpOuz.mjs → custom-page-list-CZsl69Hf.mjs} +4 -4
- package/chunks/{custom-page-table-DwmFejZX.mjs → custom-page-table-CX8NKDen.mjs} +2 -2
- package/chunks/{date-picker-a5izI55t.mjs → date-picker-BvxkBxnq.mjs} +1 -0
- package/chunks/{overview-B8RZSoRQ.mjs → overview-dupBPqu6.mjs} +1 -1
- package/chunks/{page-list-qQTRGef9.mjs → page-list-By87xkJB.mjs} +3 -3
- package/chunks/{page-query-D0O5XScF.mjs → page-query-CEXHuG0m.mjs} +1 -1
- package/chunks/{page-table-CvB-sMda.mjs → page-table-CrWVWOQm.mjs} +3 -3
- package/chunks/{pagination-BL-oNG9D.mjs → pagination-m0Fy8-Av.mjs} +1 -1
- package/chunks/{scrollbar-Bf2VJTtD.mjs → scrollbar-DJHdUV2S.mjs} +1 -0
- package/chunks/{table-C7ub7He7.mjs → table-DT3AEInG.mjs} +1 -1
- package/components/button/index.mjs +1 -1
- package/components/button/src/button.mjs +1 -1
- package/components/button/src/button.vue.d.ts +2 -3
- package/components/card/src/card.vue.d.ts +2 -3
- package/components/checkbox/src/checkbox.vue.d.ts +3 -4
- package/components/checkbox-group/index.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.mjs +1 -1
- package/components/checkbox-group/src/checkbox-group.vue.d.ts +3 -4
- package/components/cron/index.mjs +1 -1
- package/components/cron/src/Common.mjs +1 -1
- package/components/cron/src/Common.vue.d.ts +3 -4
- package/components/cron/src/Day.mjs +1 -1
- package/components/cron/src/Day.vue.d.ts +3 -4
- package/components/cron/src/Hour.mjs +1 -1
- package/components/cron/src/Hour.vue.d.ts +3 -4
- package/components/cron/src/Minute.mjs +1 -1
- package/components/cron/src/Minute.vue.d.ts +3 -4
- package/components/cron/src/Month.mjs +1 -1
- package/components/cron/src/Month.vue.d.ts +3 -4
- package/components/cron/src/Picker.mjs +7 -6
- package/components/cron/src/Picker.vue.d.ts +3 -4
- package/components/cron/src/Second.mjs +1 -1
- package/components/cron/src/Second.vue.d.ts +3 -4
- package/components/cron/src/cron.mjs +1 -1
- package/components/cron/src/cron.vue.d.ts +3 -4
- 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-list/src/custom-page-list.vue.d.ts +5 -7
- package/components/custom-page-table/index.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.mjs +1 -1
- package/components/custom-page-table/src/custom-page-table.vue.d.ts +4 -5
- package/components/date-picker/index.mjs +1 -1
- package/components/date-picker/src/date-picker.mjs +1 -1
- package/components/date-picker/src/date-picker.vue.d.ts +14 -17
- package/components/form/index.mjs +1 -1
- package/components/form/src/form.mjs +1 -1
- package/components/form/src/form.vue.d.ts +2 -3
- package/components/gradient-text/src/gradient-text.vue.d.ts +1 -2
- package/components/icon/src/icon.vue.d.ts +2 -3
- package/components/image/src/image.vue.d.ts +2 -4
- package/components/image-viewer/src/image-viewer.vue.d.ts +4 -6
- package/components/index.mjs +12 -12
- package/components/input/src/input.vue.d.ts +3 -4
- package/components/input-number/src/input-number.vue.d.ts +5 -6
- package/components/link/src/link.vue.d.ts +2 -3
- package/components/overview/index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.mjs +1 -1
- package/components/overview/src/DicLabel/Index.vue.d.ts +3 -5
- package/components/overview/src/IndexItem.mjs +1 -1
- package/components/overview/src/IndexItem.vue.d.ts +1 -2
- package/components/overview/src/OptionLabel/Index.vue.d.ts +3 -5
- package/components/overview/src/overview.mjs +1 -1
- package/components/overview/src/overview.vue.d.ts +2 -3
- package/components/page-list/index.mjs +1 -1
- package/components/page-list/src/page-list.d.ts +521 -529
- package/components/page-list/src/page-list.mjs +1 -1
- package/components/page-list/src/page-list.vue.d.ts +7 -10
- package/components/page-query/index.mjs +1 -1
- package/components/page-query/src/page-query.mjs +1 -1
- package/components/page-query/src/page-query.vue.d.ts +7 -8
- package/components/page-table/index.mjs +1 -1
- package/components/page-table/src/page-table.d.ts +4 -4
- package/components/page-table/src/page-table.mjs +1 -1
- package/components/page-table/src/page-table.vue.d.ts +12 -15
- package/components/pagination/index.mjs +1 -1
- package/components/pagination/src/pagination.mjs +1 -1
- package/components/pagination/src/pagination.vue.d.ts +4 -6
- package/components/popconfirm/src/popconfirm.vue.d.ts +2 -3
- package/components/popup/src/popup.vue.d.ts +2 -3
- package/components/provider/index.mjs +1 -1
- package/components/provider/src/Provider.mjs +1 -1
- package/components/provider/src/Provider.vue.d.ts +1 -2
- package/components/radio-group/index.mjs +1 -1
- package/components/radio-group/src/radio-group.mjs +1 -1
- package/components/radio-group/src/radio-group.vue.d.ts +3 -4
- package/components/range-input/src/range-input.vue.d.ts +3 -4
- package/components/scrollbar/index.mjs +1 -1
- package/components/scrollbar/src/scrollbar.mjs +1 -1
- package/components/scrollbar/src/scrollbar.vue.d.ts +3 -4
- package/components/select/index.mjs +1 -1
- package/components/select/src/select.mjs +1 -1
- package/components/select/src/select.vue.d.ts +4 -6
- 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/Picker.vue.d.ts +2 -3
- package/components/select-sys-user/src/select-sys-user.mjs +1 -1
- package/components/select-sys-user/src/select-sys-user.vue.d.ts +3 -4
- package/components/slider/src/slider.vue.d.ts +3 -4
- package/components/switch/src/switch.vue.d.ts +3 -4
- package/components/tab-panel/src/tab-panel.vue.d.ts +2 -4
- package/components/table/index.mjs +1 -1
- package/components/table/src/table.d.ts +2 -2
- package/components/table/src/table.mjs +1 -1
- package/components/table/src/table.vue.d.ts +10 -11
- package/components/tag/src/tag.vue.d.ts +3 -5
- package/components/tag-input/src/tag-input.vue.d.ts +3 -4
- package/components/textarea/src/textarea.vue.d.ts +3 -4
- package/components/tree/index.mjs +1 -1
- package/components/tree/src/tree.d.ts +2 -2
- package/components/tree/src/tree.mjs +1 -1
- package/components/tree/src/tree.vue.d.ts +6 -8
- package/components/tree-select/index.mjs +1 -1
- package/components/tree-select/src/tree-select.mjs +1 -1
- package/components/tree-select/src/tree-select.vue.d.ts +2 -3
- package/components/upload/index.mjs +1 -1
- package/components/upload/src/upload.mjs +1 -1
- package/components/upload/src/upload.vue.d.ts +2 -3
- package/hooks/useAnimateAuto/index.d.ts +1 -2
- package/hooks/useContextMenu/menu/src/MenuNode.vue.d.ts +1 -2
- package/hooks/useContextMenu/menu/src/menu.vue.d.ts +1 -2
- package/hooks/useDicOptions/index.mjs +1 -1
- package/hooks/useMQ/index.d.ts +6 -7
- package/hooks/usePrimaryColor/index.d.ts +1 -2
- package/hooks/useSysUser/index.mjs +1 -1
- package/layout/Home.vue.d.ts +1 -2
- package/layout/Index.mjs +1 -1
- package/layout/Index.vue.d.ts +1 -2
- package/layout/Login.mjs +1 -1
- package/layout/Login.vue.d.ts +1 -2
- package/layout/NotFound.mjs +1 -1
- package/layout/NotFound.vue.d.ts +1 -2
- package/layout/modules/Aside.mjs +1 -1
- package/layout/modules/Aside.vue.d.ts +1 -2
- package/layout/modules/Breadcrumb.mjs +1 -1
- package/layout/modules/Breadcrumb.vue.d.ts +3 -4
- package/layout/modules/Header.mjs +1 -1
- package/layout/modules/Header.vue.d.ts +1 -2
- package/layout/modules/LoginBg.vue.d.ts +1 -2
- package/layout/modules/LoginBgBak.vue.d.ts +1 -2
- package/layout/modules/MenuNode.vue.d.ts +1 -2
- package/layout/profile/Index.mjs +2 -2
- package/layout/profile/Index.vue.d.ts +1 -2
- package/layout/profile/ResetPwd.mjs +1 -1
- package/layout/profile/ResetPwd.vue.d.ts +2 -3
- package/layout/profile/UserInfo.mjs +1 -1
- package/layout/profile/UserInfo.vue.d.ts +3 -4
- package/layout/vueBits/LightRays.vue.d.ts +2 -3
- package/layout/vueBits/Plasma.vue.d.ts +2 -3
- package/layout/vueBits/Prism.vue.d.ts +2 -3
- package/package.json +1 -1
- package/plugins/autoImport/$alova/index.d.ts +7 -9
- 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/autoImport/$loading/index.mjs +1 -0
- package/plugins/captcha/captcha.mjs +1 -1
- package/plugins/captcha/captcha.vue.d.ts +3 -4
- package/plugins/captcha/index.mjs +1 -1
- package/plugins/initialize/webUpdateNotify.mjs +1 -1
- package/plugins/tableRenders/Wrapper.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Avatar/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/Buttons/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Buttons/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Default/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/DicLabel/Index.mjs +1 -1
- package/plugins/tableRenders/cell/DicLabel/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/FormatDate/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/FormatNumber/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Icon/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/Image/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/ImageViewer/Index.vue.d.ts +4 -7
- package/plugins/tableRenders/cell/Input/Index.vue.d.ts +3 -4
- package/plugins/tableRenders/cell/InputNumber/Index.vue.d.ts +5 -6
- package/plugins/tableRenders/cell/Link/Index.vue.d.ts +2 -4
- package/plugins/tableRenders/cell/OptionLabel/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/Select/Index.mjs +1 -1
- package/plugins/tableRenders/cell/Select/Index.vue.d.ts +6 -7
- package/plugins/tableRenders/cell/Switch/Index.vue.d.ts +3 -4
- package/plugins/tableRenders/cell/Tags/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/cell/TypographyText/Index.vue.d.ts +3 -5
- package/plugins/tableRenders/cell/TypographyTextLink/Index.vue.d.ts +4 -7
- package/plugins/tableRenders/cell/index.d.ts +1 -2
- package/plugins/tableRenders/cell/index.mjs +3 -3
- package/plugins/tableRenders/title/Default/Index.vue.d.ts +1 -2
- package/plugins/tableRenders/title/index.d.ts +1 -2
- package/router/index.d.ts +3 -3
- package/router/index.mjs +1 -1
- package/store/index.d.ts +1 -2
- package/store/modules/common.d.ts +5 -7
- package/store/modules/common.mjs +1 -1
- package/store/modules/excludeKPname.d.ts +1 -2
- package/store/modules/login.d.ts +2 -4
- package/store/modules/login.mjs +1 -1
- package/store/modules/recentRouters.d.ts +2 -4
- package/store/modules/recentRouters.mjs +1 -1
- package/store/modules/router.d.ts +6 -9
- package/store/modules/router.mjs +1 -1
- package/store/modules/user.d.ts +7 -10
- package/store/modules/user.mjs +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ButtonsProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<ButtonsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<ButtonsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ButtonsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DefaultProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<DefaultProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DefaultProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<DefaultProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DefaultProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-DWbVB7_E.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { DicLabelProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
declare const __VLS_export: DefineComponent<DicLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DicLabelProps> & Readonly<{}>, {
|
|
5
|
-
tag: TagProps;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<DicLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DicLabelProps> & Readonly<{}>, {
|
|
3
|
+
tag: import('../../../../components/tag').TagProps;
|
|
6
4
|
multiple: boolean;
|
|
7
5
|
splitSymbol: string;
|
|
8
6
|
renderToTag: boolean;
|
|
9
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
8
|
declare const _default: typeof __VLS_export;
|
|
11
9
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FormatDateProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<FormatDateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormatDateProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<FormatDateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormatDateProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FormatNumberProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<FormatNumberProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormatNumberProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<FormatNumberProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FormatNumberProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IconProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<IconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TdImageProps } from 'tdesign-vue-next';
|
|
3
|
-
declare const __VLS_export: DefineComponent<TdImageProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< TdImageProps> & Readonly<{}>, {
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('tdesign-vue-next').TdImageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('tdesign-vue-next').TdImageProps> & Readonly<{}>, {
|
|
4
2
|
lazy: boolean;
|
|
5
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
4
|
declare const _default: typeof __VLS_export;
|
|
7
5
|
export default _default;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ImageViewerProps } from '../../../../components/image-viewer';
|
|
3
|
-
import { TNode } from 'tdesign-vue-next';
|
|
4
|
-
declare const __VLS_export: DefineComponent<ImageViewerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ImageViewerProps> & Readonly<{}>, {
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('../../../../components/image-viewer').ImageViewerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../../../components/image-viewer').ImageViewerProps> & Readonly<{}>, {
|
|
5
2
|
visible: boolean;
|
|
6
|
-
closeBtn: boolean | TNode;
|
|
3
|
+
closeBtn: boolean | import('tdesign-vue-next').TNode;
|
|
7
4
|
showOverlay: boolean;
|
|
8
5
|
closeOnEscKeydown: boolean;
|
|
9
6
|
draggable: boolean;
|
|
10
7
|
closeOnOverlay: boolean;
|
|
11
|
-
navigationArrow: boolean | TNode;
|
|
12
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
navigationArrow: boolean | import('tdesign-vue-next').TNode;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
10
|
declare const _default: typeof __VLS_export;
|
|
14
11
|
export default _default;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { InputValue } from 'tdesign-vue-next';
|
|
2
2
|
import { InputProps } from './index.ts';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type __VLS_Props = InputProps;
|
|
5
4
|
type __VLS_ModelProps = {
|
|
6
5
|
'modelValue'?: InputValue;
|
|
7
6
|
};
|
|
8
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
9
|
"update:modelValue": (value: InputValue | undefined) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
11
|
"onUpdate:modelValue"?: ((value: InputValue | undefined) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
13
|
disabled: boolean;
|
|
@@ -16,6 +15,6 @@ declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, C
|
|
|
16
15
|
placeholder: string;
|
|
17
16
|
autocomplete: string;
|
|
18
17
|
clearable: boolean;
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
19
|
declare const _default: typeof __VLS_export;
|
|
21
20
|
export default _default;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import { InputNumberValue
|
|
1
|
+
import { InputNumberValue } from 'tdesign-vue-next';
|
|
2
2
|
import { InputNumberProps } from './index.ts';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type __VLS_Props = InputNumberProps;
|
|
5
4
|
type __VLS_ModelProps = {
|
|
6
5
|
'modelValue'?: InputNumberValue;
|
|
7
6
|
};
|
|
8
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
9
|
"update:modelValue": (value: InputNumberValue | undefined) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
11
|
"onUpdate:modelValue"?: ((value: InputNumberValue | undefined) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
13
|
useGrouping: boolean;
|
|
@@ -17,7 +16,7 @@ declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, C
|
|
|
17
16
|
readonly: boolean;
|
|
18
17
|
min: InputNumberValue;
|
|
19
18
|
autoWidth: boolean;
|
|
20
|
-
decimalPlaces: InputNumberDecimalPlaces;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
decimalPlaces: import('tdesign-vue-next').InputNumberDecimalPlaces;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
22
21
|
declare const _default: typeof __VLS_export;
|
|
23
22
|
export default _default;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LinkProps } from '../../../../components/link';
|
|
3
|
-
declare const __VLS_export: DefineComponent<LinkProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< LinkProps> & Readonly<{}>, {
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('../../../../components/link').LinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../../../components/link').LinkProps> & Readonly<{}>, {
|
|
4
2
|
theme: "default" | "primary" | "danger" | "warning" | "success";
|
|
5
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
4
|
declare const _default: typeof __VLS_export;
|
|
7
5
|
export default _default;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { OptionLabelProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
declare const __VLS_export: DefineComponent<OptionLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<OptionLabelProps> & Readonly<{}>, {
|
|
5
|
-
tag: TagProps;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<OptionLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OptionLabelProps> & Readonly<{}>, {
|
|
3
|
+
tag: import('../../../../components/tag').TagProps;
|
|
6
4
|
multiple: boolean;
|
|
7
5
|
splitSymbol: string;
|
|
8
6
|
renderToTag: boolean;
|
|
9
7
|
labelKey: string;
|
|
10
8
|
valueKey: string;
|
|
11
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
10
|
declare const _default: typeof __VLS_export;
|
|
13
11
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../../chunks/Index-
|
|
1
|
+
import { t as e } from "../../../../chunks/Index-BUPV2Hl-.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { SelectValue
|
|
1
|
+
import { SelectValue } from 'tdesign-vue-next';
|
|
2
2
|
import { SelectProps } from './index.ts';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type __VLS_Props = SelectProps;
|
|
5
4
|
type __VLS_ModelProps = {
|
|
6
5
|
'modelValue'?: SelectValue;
|
|
7
6
|
};
|
|
8
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
9
|
"update:modelValue": (value: SelectValue | undefined) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
11
|
"onUpdate:modelValue"?: ((value: SelectValue | undefined) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
|
-
keys: KeysType;
|
|
13
|
+
keys: import('tdesign-vue-next').KeysType;
|
|
15
14
|
showArrow: boolean;
|
|
16
|
-
scroll: InfinityScroll;
|
|
15
|
+
scroll: import('tdesign-vue-next').InfinityScroll;
|
|
17
16
|
disabled: boolean;
|
|
18
17
|
readonly: boolean;
|
|
19
18
|
placeholder: string;
|
|
@@ -24,6 +23,6 @@ declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, C
|
|
|
24
23
|
minCollapsedNum: number;
|
|
25
24
|
multiple: boolean;
|
|
26
25
|
popupVisible: boolean;
|
|
27
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
27
|
declare const _default: typeof __VLS_export;
|
|
29
28
|
export default _default;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { SwitchValue } from 'tdesign-vue-next';
|
|
2
2
|
import { SwitchProps } from './index.ts';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type __VLS_Props = SwitchProps;
|
|
5
4
|
type __VLS_ModelProps = {
|
|
6
5
|
'modelValue'?: SwitchValue;
|
|
7
6
|
};
|
|
8
7
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
9
|
-
declare const __VLS_export: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
9
|
"update:modelValue": (value: SwitchValue | undefined) => any;
|
|
11
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
11
|
"onUpdate:modelValue"?: ((value: SwitchValue | undefined) => any) | undefined;
|
|
13
12
|
}>, {
|
|
14
13
|
size: "small" | "medium" | "large";
|
|
15
14
|
disabled: boolean;
|
|
16
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
16
|
declare const _default: typeof __VLS_export;
|
|
18
17
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const __VLS_export: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
1
|
+
declare const __VLS_export: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
|
|
3
2
|
declare const _default: typeof __VLS_export;
|
|
4
3
|
export default _default;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
copyable: boolean | TypographyCopyable;
|
|
5
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1
|
+
declare const __VLS_export: import('vue').DefineComponent<import('tdesign-vue-next').TdTextProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('tdesign-vue-next').TdTextProps> & Readonly<{}>, {
|
|
2
|
+
copyable: boolean | import('tdesign-vue-next').TypographyCopyable;
|
|
3
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
4
|
declare const _default: typeof __VLS_export;
|
|
7
5
|
export default _default;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { TypographyTextLinkProps } from './index.ts';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
link: LinkProps;
|
|
7
|
-
typographyText: Omit< TdTextProps, "content" | "default">;
|
|
8
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<TypographyTextLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<TypographyTextLinkProps> & Readonly<{}>, {
|
|
3
|
+
link: import('../../../../components/link').LinkProps;
|
|
4
|
+
typographyText: Omit<import('tdesign-vue-next').TdTextProps, "content" | "default">;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
6
|
declare const _default: typeof __VLS_export;
|
|
10
7
|
export default _default;
|
|
@@ -18,11 +18,10 @@ import { TagsProps } from './Tags/index.ts';
|
|
|
18
18
|
import { TypographyTextProps } from './TypographyText/index.ts';
|
|
19
19
|
import { TypographyTextLinkProps } from './TypographyTextLink/index.ts';
|
|
20
20
|
import { CellRenderContext, TableCol, TNodeFn } from '../../../components/table';
|
|
21
|
-
import { h } from 'vue';
|
|
22
21
|
export type CellComponentConfig = {
|
|
23
22
|
[K in keyof ComponentPropsMap]: ComponentConfig<K>;
|
|
24
23
|
}[keyof ComponentPropsMap];
|
|
25
|
-
export type CellConfigFn = (h: typeof h, context: CellRenderContext) => CellComponentConfig | SlotReturnValue;
|
|
24
|
+
export type CellConfigFn = (h: typeof import('vue').h, context: CellRenderContext) => CellComponentConfig | SlotReturnValue;
|
|
26
25
|
export type ComponentConfig<T extends keyof ComponentPropsMap> = ComponentPropsMap[T] & {
|
|
27
26
|
component: T;
|
|
28
27
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "../../../chunks/useAppContext-D47amIp5.mjs";
|
|
2
2
|
import { t } from "../../../chunks/Index-BExLxGm4.mjs";
|
|
3
|
-
import { t as n } from "../../../chunks/Index-
|
|
3
|
+
import { t as n } from "../../../chunks/Index-BeAUzCzs.mjs";
|
|
4
4
|
import { t as r } from "../../../chunks/Index-BuqrJDKe.mjs";
|
|
5
|
-
import { t as i } from "../../../chunks/Index-
|
|
5
|
+
import { t as i } from "../../../chunks/Index-DWbVB7_E.mjs";
|
|
6
6
|
import { t as a } from "../../../chunks/Index-rd9a-AvJ.mjs";
|
|
7
7
|
import { t as o } from "../../../chunks/Index-SSYGey9h.mjs";
|
|
8
8
|
import { t as s } from "../../../chunks/Index-CFqKMPsW.mjs";
|
|
@@ -12,7 +12,7 @@ import { t as u } from "../../../chunks/Index-BXWCzgiM.mjs";
|
|
|
12
12
|
import { t as d } from "../../../chunks/Index-BbkM7HWR.mjs";
|
|
13
13
|
import { t as f } from "../../../chunks/Index-BZ26MYFd.mjs";
|
|
14
14
|
import { t as p } from "../../../chunks/Index-CoDY85gh.mjs";
|
|
15
|
-
import { t as m } from "../../../chunks/Index-
|
|
15
|
+
import { t as m } from "../../../chunks/Index-BUPV2Hl-.mjs";
|
|
16
16
|
import { t as h } from "../../../chunks/Index-CIfBvBlA.mjs";
|
|
17
17
|
import { t as g } from "../../../chunks/Index-BStfaqzV.mjs";
|
|
18
18
|
import { t as _ } from "../../../chunks/Index-DU8S7od8.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DefaultProps } from './index';
|
|
2
|
-
import {
|
|
3
|
-
declare const __VLS_export: DefineComponent<DefaultProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DefaultProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<DefaultProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DefaultProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
4
3
|
declare const _default: typeof __VLS_export;
|
|
5
4
|
export default _default;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { SlotReturnValue } from 'tdesign-vue-next';
|
|
2
2
|
import { DefaultProps } from './Default/index.ts';
|
|
3
3
|
import { TableCol, TitleRenderContext, TitleTNodeFn } from '../../../components/table';
|
|
4
|
-
import { h } from 'vue';
|
|
5
4
|
export type TitleComponentConfig = {
|
|
6
5
|
[K in keyof ComponentPropsMap]: ComponentConfig<K>;
|
|
7
6
|
}[keyof ComponentPropsMap];
|
|
8
|
-
export type TitleConfigFn = (h: typeof h, context: TitleRenderContext) => SlotReturnValue | TitleComponentConfig;
|
|
7
|
+
export type TitleConfigFn = (h: typeof import('vue').h, context: TitleRenderContext) => SlotReturnValue | TitleComponentConfig;
|
|
9
8
|
type ComponentConfig<T extends keyof ComponentPropsMap> = ComponentPropsMap[T] & {
|
|
10
9
|
component: T;
|
|
11
10
|
};
|
package/router/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { RouteRecordSingleView, RouteRecordSingleViewWithChildren
|
|
1
|
+
import { RouteRecordSingleView, RouteRecordSingleViewWithChildren } from 'vue-router';
|
|
2
2
|
export declare function getTopRoute(): RouteRecordSingleView | RouteRecordSingleViewWithChildren;
|
|
3
|
-
declare const router: _RouterClassic;
|
|
4
|
-
declare function getRoute(name: string): RouteRecordNormalized | undefined;
|
|
3
|
+
declare const router: import('vue-router')._RouterClassic;
|
|
4
|
+
declare function getRoute(name: string): import('vue-router').RouteRecordNormalized | undefined;
|
|
5
5
|
export { getRoute };
|
|
6
6
|
export default router;
|
package/router/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { E as e, T as t, w as n } from "../chunks/button-
|
|
1
|
+
import { E as e, T as t, w as n } from "../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { e as default, n as getRoute, t as getTopRoute };
|
package/store/index.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
1
|
interface AppInfo {
|
|
4
2
|
appName: string;
|
|
5
3
|
version: string;
|
|
6
4
|
}
|
|
7
|
-
declare const _default: SetupStoreDefinition<"common", {
|
|
8
|
-
appInfo: Ref<{
|
|
5
|
+
declare const _default: import('pinia').SetupStoreDefinition<"common", {
|
|
6
|
+
appInfo: import('vue').Ref<{
|
|
9
7
|
appName: string;
|
|
10
8
|
version: string;
|
|
11
9
|
}, AppInfo | {
|
|
12
10
|
appName: string;
|
|
13
11
|
version: string;
|
|
14
12
|
}>;
|
|
15
|
-
drawerOpen: Ref<boolean, boolean>;
|
|
16
|
-
drawerSize: Ref<number, number>;
|
|
13
|
+
drawerOpen: import('vue').Ref<boolean, boolean>;
|
|
14
|
+
drawerSize: import('vue').Ref<number, number>;
|
|
17
15
|
getAppInfo: () => void;
|
|
18
|
-
isRequestSleep: Ref<boolean, boolean>;
|
|
16
|
+
isRequestSleep: import('vue').Ref<boolean, boolean>;
|
|
19
17
|
requestActive: () => void;
|
|
20
18
|
}>;
|
|
21
19
|
export default _default;
|
package/store/modules/common.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { B as e } from "../../chunks/button-
|
|
1
|
+
import { B as e } from "../../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: SetupStoreDefinition<"excludeKPname", {
|
|
1
|
+
declare const _default: import('pinia').SetupStoreDefinition<"excludeKPname", {
|
|
3
2
|
add: (name: string) => void;
|
|
4
3
|
clear: () => void;
|
|
5
4
|
excludeKPname: string[];
|
package/store/modules/login.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
1
|
export interface LoginData {
|
|
4
2
|
code?: string;
|
|
5
3
|
password: string;
|
|
6
4
|
username: string;
|
|
7
5
|
}
|
|
8
|
-
declare const _default: SetupStoreDefinition<"login", {
|
|
6
|
+
declare const _default: import('pinia').SetupStoreDefinition<"login", {
|
|
9
7
|
login: (data: LoginData) => Promise<void>;
|
|
10
8
|
logout: () => Promise<void>;
|
|
11
|
-
token: Ref<string, string>;
|
|
9
|
+
token: import('vue').Ref<string, string>;
|
|
12
10
|
}>;
|
|
13
11
|
export default _default;
|
package/store/modules/login.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { k as e } from "../../chunks/button-
|
|
1
|
+
import { k as e } from "../../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { LocationQuery, RouteRecordNameGeneric } from 'vue-router';
|
|
2
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
3
|
-
import { Ref } from 'vue';
|
|
4
2
|
export interface recentRoutersConfig {
|
|
5
3
|
name: string;
|
|
6
4
|
query: LocationQuery;
|
|
7
5
|
}
|
|
8
|
-
declare const _default: SetupStoreDefinition<"recentRouters", {
|
|
6
|
+
declare const _default: import('pinia').SetupStoreDefinition<"recentRouters", {
|
|
9
7
|
add: (fromName: RouteRecordNameGeneric, options: recentRoutersConfig) => void;
|
|
10
8
|
clear: () => void;
|
|
11
9
|
close: (name: RouteRecordNameGeneric) => void;
|
|
12
10
|
init: () => void;
|
|
13
|
-
recentRouters: Ref<{
|
|
11
|
+
recentRouters: import('vue').Ref<{
|
|
14
12
|
name: string;
|
|
15
13
|
query: LocationQuery;
|
|
16
14
|
}[], recentRoutersConfig[] | {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { z as e } from "../../chunks/button-
|
|
1
|
+
import { z as e } from "../../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { Component, Ref
|
|
2
|
-
import { Method, RespondedAlovaGenerics, AlovaGenerics, AlovaDefaultCacheAdapter } from 'alova';
|
|
3
|
-
import { FetchRequestInit } from 'alova/fetch';
|
|
4
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
1
|
+
import { Component, Ref } from 'vue';
|
|
5
2
|
export interface RouteRecordRaw {
|
|
6
3
|
children?: RouteRecordRaw[];
|
|
7
4
|
component?: AsyncVueComponentLoaderDefault | Component;
|
|
@@ -32,15 +29,15 @@ interface ResRouterItem extends Omit<RouteRecordRaw, 'children' | 'component' |
|
|
|
32
29
|
title: string;
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
|
-
export declare function getRoutersMethod(): Method<RespondedAlovaGenerics<AlovaGenerics<any, any, FetchRequestInit, Response, Headers, AlovaDefaultCacheAdapter, AlovaDefaultCacheAdapter, {
|
|
32
|
+
export declare function getRoutersMethod(): import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, {
|
|
36
33
|
name: "Vue";
|
|
37
34
|
State: Ref<unknown, unknown>;
|
|
38
|
-
Computed: ComputedRef<unknown>;
|
|
39
|
-
Watched: object | WatchSource<unknown>;
|
|
35
|
+
Computed: import('vue').ComputedRef<unknown>;
|
|
36
|
+
Watched: object | import('vue').WatchSource<unknown>;
|
|
40
37
|
StateExport: Ref<unknown, unknown>;
|
|
41
|
-
ComputedExport: ComputedRef<unknown>;
|
|
38
|
+
ComputedExport: import('vue').ComputedRef<unknown>;
|
|
42
39
|
}>, ResRouterItem[], unknown>>;
|
|
43
|
-
declare const _default: SetupStoreDefinition<"router", {
|
|
40
|
+
declare const _default: import('pinia').SetupStoreDefinition<"router", {
|
|
44
41
|
clear: () => void;
|
|
45
42
|
getRouters: () => Promise<void>;
|
|
46
43
|
routersRaw: Ref<RouteRecordRaw[], RouteRecordRaw[]>;
|
package/store/modules/router.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { L as e, R as t } from "../../chunks/button-
|
|
1
|
+
import { L as e, R as t } from "../../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { t as default, e as getRoutersMethod };
|
package/store/modules/user.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { Ref
|
|
2
|
-
import { Method, RespondedAlovaGenerics, AlovaGenerics, AlovaDefaultCacheAdapter } from 'alova';
|
|
3
|
-
import { FetchRequestInit } from 'alova/fetch';
|
|
4
|
-
import { SetupStoreDefinition } from 'pinia';
|
|
1
|
+
import { Ref } from 'vue';
|
|
5
2
|
interface UserInfo {
|
|
6
3
|
admin: boolean;
|
|
7
4
|
dept: {
|
|
@@ -12,23 +9,23 @@ interface UserInfo {
|
|
|
12
9
|
userId: string;
|
|
13
10
|
userName: string;
|
|
14
11
|
}
|
|
15
|
-
export declare function getUserInfoMethod(): Method<RespondedAlovaGenerics<AlovaGenerics<any, any, FetchRequestInit, Response, Headers, AlovaDefaultCacheAdapter, AlovaDefaultCacheAdapter, {
|
|
12
|
+
export declare function getUserInfoMethod(): import('alova').Method<import('alova').RespondedAlovaGenerics<import('alova').AlovaGenerics<any, any, import('alova/fetch').FetchRequestInit, Response, Headers, import('alova').AlovaDefaultCacheAdapter, import('alova').AlovaDefaultCacheAdapter, {
|
|
16
13
|
name: "Vue";
|
|
17
14
|
State: Ref<unknown, unknown>;
|
|
18
|
-
Computed: ComputedRef<unknown>;
|
|
19
|
-
Watched: object | WatchSource<unknown>;
|
|
15
|
+
Computed: import('vue').ComputedRef<unknown>;
|
|
16
|
+
Watched: object | import('vue').WatchSource<unknown>;
|
|
20
17
|
StateExport: Ref<unknown, unknown>;
|
|
21
|
-
ComputedExport: ComputedRef<unknown>;
|
|
18
|
+
ComputedExport: import('vue').ComputedRef<unknown>;
|
|
22
19
|
}>, {
|
|
23
20
|
permissions: string[];
|
|
24
21
|
roles: string[];
|
|
25
22
|
user: UserInfo;
|
|
26
23
|
}, unknown>>;
|
|
27
|
-
declare const _default: SetupStoreDefinition<"user", {
|
|
24
|
+
declare const _default: import('pinia').SetupStoreDefinition<"user", {
|
|
28
25
|
checkPermissions: (v?: string | string[]) => boolean;
|
|
29
26
|
clear: () => void;
|
|
30
27
|
getUserInfo: (getRouters?: boolean) => Promise<void>;
|
|
31
|
-
isAdmin: ComputedRef<boolean>;
|
|
28
|
+
isAdmin: import('vue').ComputedRef<boolean>;
|
|
32
29
|
lastUserId: Ref<string, string>;
|
|
33
30
|
permissions: Ref<string[], string[]>;
|
|
34
31
|
roles: Ref<string[], string[]>;
|
package/store/modules/user.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t } from "../../chunks/button-
|
|
1
|
+
import { n as e, r as t } from "../../chunks/button-D-dL2qTx.mjs";
|
|
2
2
|
export { t as default, e as getUserInfoMethod };
|