@dt-frames/ui 2.0.3 → 2.0.4
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/es/assets/locales/en.ts +1 -1
- package/es/components/curd/index.js +279 -269
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/index.js +27 -27
- package/es/components/drawer/src/index.d.ts +2 -3
- package/es/components/form/index.d.ts +20 -20
- package/es/components/form/index.js +91 -45
- package/es/components/form/index.less +206 -8
- package/es/components/form/src/components/FormItem.d.ts +3 -7
- package/es/components/form/src/components/formIcon.d.ts +14 -14
- package/es/components/form/src/components/formInputUseDialog.d.ts +8 -8
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +16 -16
- package/es/components/form/src/props.d.ts +2 -6
- package/es/components/form/src/types/form.type.d.ts +1 -1
- package/es/components/icons/index.less +5 -0
- package/es/components/modal/index.js +35 -34
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +9 -9
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +66 -28
- package/es/components/source/types/source.type.d.ts +4 -8
- package/es/components/table/index.js +278 -215
- package/es/components/table/index.less +41 -14
- package/es/components/table/src/index.d.ts +20 -10
- package/es/components/table/src/props.d.ts +8 -4
- package/es/components/table/src/types/table.type.d.ts +4 -5
- package/es/theme/index.js +342 -120
- package/es/theme/index.less +150 -0
- package/es/theme/src/components/header/components/size.d.ts +5 -5
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +5 -5
- package/es/theme/src/components/header/multiple-header.d.ts +6 -7
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +147 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +5 -3
- package/es/theme/src/index.d.ts +159 -15
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/package.json +1 -3
|
@@ -9,7 +9,7 @@ export declare function useMenu(): {
|
|
|
9
9
|
getMenuHidden: import("vue").ComputedRef<boolean>;
|
|
10
10
|
getMenuTheme: import("vue").ComputedRef<import("../enums").Theme>;
|
|
11
11
|
getTrigger: import("vue").ComputedRef<boolean>;
|
|
12
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
12
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
13
13
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
14
14
|
getMenuType: import("vue").ComputedRef<MenuType>;
|
|
15
15
|
getIsTopMenu: import("vue").ComputedRef<boolean>;
|
|
@@ -17,11 +17,13 @@ export declare function useMenu(): {
|
|
|
17
17
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
18
18
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
19
19
|
getIsHorizontal: import("vue").ComputedRef<boolean>;
|
|
20
|
-
getMiniWidthNumber: import("vue").ComputedRef<
|
|
21
|
-
getRealWidth: import("vue").ComputedRef<
|
|
20
|
+
getMiniWidthNumber: import("vue").ComputedRef<48 | 80>;
|
|
21
|
+
getRealWidth: import("vue").ComputedRef<number>;
|
|
22
22
|
getCalcContentWidth: import("vue").ComputedRef<string>;
|
|
23
23
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
24
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
24
25
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
26
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
25
27
|
toggleCollapsed: () => void;
|
|
26
28
|
setThemeStore: (conf?: Recordable) => void;
|
|
27
29
|
};
|
package/es/theme/src/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
8
8
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
9
9
|
getShowMenu: import("vue").ComputedRef<boolean>;
|
|
10
10
|
getShowSidebar: import("vue").ComputedRef<boolean>;
|
|
11
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
11
12
|
getFooter: import("vue").ComputedRef<import("./types/theme.type").FooterOptions>;
|
|
12
13
|
getShowFooter: import("vue").ComputedRef<any>;
|
|
13
14
|
height: any;
|
|
@@ -259,8 +260,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
259
260
|
$slots: Readonly<{
|
|
260
261
|
[name: string]: import("vue").Slot;
|
|
261
262
|
}>;
|
|
262
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
263
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
263
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
264
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
264
265
|
$emit: (event: string, ...args: any[]) => void;
|
|
265
266
|
$el: any;
|
|
266
267
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -320,7 +321,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
320
321
|
destroyTooltipOnHide: boolean;
|
|
321
322
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
322
323
|
arrowPointAtCenter: boolean;
|
|
323
|
-
}
|
|
324
|
+
}> & {
|
|
324
325
|
beforeCreate?: (() => void) | (() => void)[];
|
|
325
326
|
created?: (() => void) | (() => void)[];
|
|
326
327
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -335,7 +336,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
335
336
|
unmounted?: (() => void) | (() => void)[];
|
|
336
337
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
337
338
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
338
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
339
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
339
340
|
};
|
|
340
341
|
$forceUpdate: () => void;
|
|
341
342
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -449,7 +450,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
449
450
|
destroyTooltipOnHide: boolean;
|
|
450
451
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
451
452
|
arrowPointAtCenter: boolean;
|
|
452
|
-
}
|
|
453
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
453
454
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
454
455
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
455
456
|
t: {
|
|
@@ -736,11 +737,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
736
737
|
getMenuFixed: import("vue").ComputedRef<boolean>;
|
|
737
738
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
738
739
|
getMenuHidden: import("vue").ComputedRef<boolean>;
|
|
739
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
740
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
740
741
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
741
742
|
getMenuTheme: import("vue").ComputedRef<import("./enums").Theme>;
|
|
742
|
-
getRealWidth: import("vue").ComputedRef<
|
|
743
|
+
getRealWidth: import("vue").ComputedRef<number>;
|
|
743
744
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
745
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
744
746
|
getCollapsedWidth: import("vue").ComputedRef<80 | 48 | 0>;
|
|
745
747
|
onBreakPointChange: (broken: boolean) => void;
|
|
746
748
|
getTriggerAttr: import("vue").ComputedRef<{
|
|
@@ -789,7 +791,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
789
791
|
DragBar: import("vue").DefineComponent<{}, {
|
|
790
792
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
791
793
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
792
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
794
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
793
795
|
getDragBarStyle: import("vue").ComputedRef<{
|
|
794
796
|
left: string;
|
|
795
797
|
} | {
|
|
@@ -799,18 +801,160 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
799
801
|
'dt-darg-bar--hide': boolean;
|
|
800
802
|
})[]>;
|
|
801
803
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
804
|
+
MixSider: import("vue").DefineComponent<{}, {
|
|
805
|
+
MENU_WIDTH: number;
|
|
806
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
807
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
808
|
+
getMenuTheme: import("vue").ComputedRef<import("./enums").Theme>;
|
|
809
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
810
|
+
setMixSiderIsHasMenu: (val: boolean) => void;
|
|
811
|
+
menuModules: any;
|
|
812
|
+
activeId: import("vue").Ref<string>;
|
|
813
|
+
subMenus: import("vue").Ref<any[]>;
|
|
814
|
+
getDomStyle: import("vue").ComputedRef<CSSProperties>;
|
|
815
|
+
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
|
|
816
|
+
getSubMenuStyle: import("vue").ComputedRef<CSSProperties>;
|
|
817
|
+
setDomWidth: (width: string) => {
|
|
818
|
+
width: string;
|
|
819
|
+
minWidth: string;
|
|
820
|
+
maxWidth: string;
|
|
821
|
+
flex: string;
|
|
822
|
+
transition: string;
|
|
823
|
+
};
|
|
824
|
+
getMenuEvents: {
|
|
825
|
+
onMouseleave: () => void;
|
|
826
|
+
};
|
|
827
|
+
getItemEvents: (item: import("@dt-frames/core").Menus) => {
|
|
828
|
+
onMouseenter: () => void;
|
|
829
|
+
onClick: () => void;
|
|
830
|
+
} | {
|
|
831
|
+
onClick: () => void;
|
|
832
|
+
onMouseenter?: undefined;
|
|
833
|
+
};
|
|
834
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
835
|
+
setActive: (path: string) => void;
|
|
836
|
+
handleModuleClick: (path: string, isHover?: boolean) => void;
|
|
837
|
+
DtLogo: import("vue").DefineComponent<{
|
|
838
|
+
theme: {
|
|
839
|
+
type: StringConstructor;
|
|
840
|
+
validator: (v: string) => boolean;
|
|
841
|
+
};
|
|
842
|
+
showTitle: {
|
|
843
|
+
type: BooleanConstructor;
|
|
844
|
+
default: boolean;
|
|
845
|
+
};
|
|
846
|
+
}, {
|
|
847
|
+
t: {
|
|
848
|
+
(key: string): string;
|
|
849
|
+
(key: string, locale: string): string;
|
|
850
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
851
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
852
|
+
(key: string, list: unknown[]): string;
|
|
853
|
+
(key: string, named: Record<string, unknown>): string;
|
|
854
|
+
};
|
|
855
|
+
title: string;
|
|
856
|
+
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
857
|
+
props: any;
|
|
858
|
+
getLogoClass: import("vue").ComputedRef<string>;
|
|
859
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
860
|
+
theme: {
|
|
861
|
+
type: StringConstructor;
|
|
862
|
+
validator: (v: string) => boolean;
|
|
863
|
+
};
|
|
864
|
+
showTitle: {
|
|
865
|
+
type: BooleanConstructor;
|
|
866
|
+
default: boolean;
|
|
867
|
+
};
|
|
868
|
+
}>>, {
|
|
869
|
+
showTitle: boolean;
|
|
870
|
+
}>;
|
|
871
|
+
readonly DtScrollContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
872
|
+
scrollbarRef: any;
|
|
873
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
874
|
+
getScrollWrap: () => any;
|
|
875
|
+
scrollBottom: () => void;
|
|
876
|
+
ScrollBar: import("vue").DefineComponent<{
|
|
877
|
+
wrapClass: {
|
|
878
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
879
|
+
default: string;
|
|
880
|
+
};
|
|
881
|
+
wrapStyle: ArrayConstructor;
|
|
882
|
+
viewClass: {
|
|
883
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
884
|
+
default: string;
|
|
885
|
+
};
|
|
886
|
+
viewStyle: {
|
|
887
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
888
|
+
default: string;
|
|
889
|
+
};
|
|
890
|
+
noresize: BooleanConstructor;
|
|
891
|
+
tag: {
|
|
892
|
+
type: StringConstructor;
|
|
893
|
+
default: string;
|
|
894
|
+
};
|
|
895
|
+
}, {
|
|
896
|
+
sizeWidth: import("vue").Ref<string>;
|
|
897
|
+
sizeHeight: import("vue").Ref<string>;
|
|
898
|
+
moveX: import("vue").Ref<number>;
|
|
899
|
+
moveY: import("vue").Ref<number>;
|
|
900
|
+
wrap: import("vue").Ref<any>;
|
|
901
|
+
resize: import("vue").Ref<any>;
|
|
902
|
+
props: any;
|
|
903
|
+
style: import("vue").ComputedRef<{}>;
|
|
904
|
+
handleScroll: () => void;
|
|
905
|
+
update: () => void;
|
|
906
|
+
readonly Bar: import("vue").DefineComponent<{
|
|
907
|
+
vertical: BooleanConstructor;
|
|
908
|
+
size: StringConstructor;
|
|
909
|
+
move: NumberConstructor;
|
|
910
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
911
|
+
[key: string]: any;
|
|
912
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
913
|
+
vertical: BooleanConstructor;
|
|
914
|
+
size: StringConstructor;
|
|
915
|
+
move: NumberConstructor;
|
|
916
|
+
}>>, {
|
|
917
|
+
vertical: boolean;
|
|
918
|
+
}>;
|
|
919
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
920
|
+
wrapClass: {
|
|
921
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
922
|
+
default: string;
|
|
923
|
+
};
|
|
924
|
+
wrapStyle: ArrayConstructor;
|
|
925
|
+
viewClass: {
|
|
926
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
927
|
+
default: string;
|
|
928
|
+
};
|
|
929
|
+
viewStyle: {
|
|
930
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
931
|
+
default: string;
|
|
932
|
+
};
|
|
933
|
+
noresize: BooleanConstructor;
|
|
934
|
+
tag: {
|
|
935
|
+
type: StringConstructor;
|
|
936
|
+
default: string;
|
|
937
|
+
};
|
|
938
|
+
}>>, {
|
|
939
|
+
wrapClass: string | unknown[];
|
|
940
|
+
viewClass: string | unknown[];
|
|
941
|
+
viewStyle: string | unknown[];
|
|
942
|
+
noresize: boolean;
|
|
943
|
+
tag: string;
|
|
944
|
+
}>;
|
|
945
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
946
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
802
947
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
803
948
|
LayoutMultipleHeader: import("vue").DefineComponent<{}, {
|
|
804
949
|
getHeaderHeight: import("vue").ComputedRef<number>;
|
|
805
950
|
getFixed: import("vue").ComputedRef<boolean>;
|
|
806
951
|
getShowFullHeaderRef: import("vue").ComputedRef<boolean>;
|
|
807
|
-
getHeaderTheme: import("vue").ComputedRef<import("./enums").Theme>;
|
|
808
952
|
getShowInsetHeaderRef: import("vue").ComputedRef<boolean>;
|
|
809
953
|
getTabsHeight: import("vue").ComputedRef<number>;
|
|
810
954
|
getCalcContentWidth: import("vue").ComputedRef<string>;
|
|
811
955
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
812
|
-
getIsTopMenu: import("vue").ComputedRef<boolean>;
|
|
813
956
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
957
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
814
958
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
815
959
|
getPlaceholderDomStyle: import("vue").ComputedRef<{
|
|
816
960
|
height: string;
|
|
@@ -1046,8 +1190,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1046
1190
|
$slots: Readonly<{
|
|
1047
1191
|
[name: string]: import("vue").Slot;
|
|
1048
1192
|
}>;
|
|
1049
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
1050
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
1193
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
1194
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
|
1051
1195
|
$emit: (event: string, ...args: any[]) => void;
|
|
1052
1196
|
$el: any;
|
|
1053
1197
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1107,7 +1251,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1107
1251
|
destroyTooltipOnHide: boolean;
|
|
1108
1252
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
1109
1253
|
arrowPointAtCenter: boolean;
|
|
1110
|
-
}
|
|
1254
|
+
}> & {
|
|
1111
1255
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1112
1256
|
created?: (() => void) | (() => void)[];
|
|
1113
1257
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1122,7 +1266,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1122
1266
|
unmounted?: (() => void) | (() => void)[];
|
|
1123
1267
|
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1124
1268
|
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
1125
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}
|
|
1269
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
|
1126
1270
|
};
|
|
1127
1271
|
$forceUpdate: () => void;
|
|
1128
1272
|
$nextTick: typeof import("vue").nextTick;
|
|
@@ -1236,7 +1380,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1236
1380
|
destroyTooltipOnHide: boolean;
|
|
1237
1381
|
autoAdjustOverflow: boolean | import("ant-design-vue/lib/tooltip").AdjustOverflow;
|
|
1238
1382
|
arrowPointAtCenter: boolean;
|
|
1239
|
-
}
|
|
1383
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
|
1240
1384
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1241
1385
|
readonly DtUserInfo: import("vue").DefineComponent<{}, {
|
|
1242
1386
|
t: {
|
|
@@ -3,6 +3,7 @@ import { ThemeOptions, HeadOptions, MenuOptions, RouteReuseOptions, FooterOption
|
|
|
3
3
|
export declare const useThemeStore: import("pinia").StoreDefinition<"dt-theme", {
|
|
4
4
|
themeConf: ThemeOptions;
|
|
5
5
|
pageLoading: boolean;
|
|
6
|
+
mixSiderHasSubMenu: boolean;
|
|
6
7
|
}, {
|
|
7
8
|
getThemeConf(): ThemeOptions;
|
|
8
9
|
getHeaderConf(): HeadOptions;
|
|
@@ -10,6 +11,8 @@ export declare const useThemeStore: import("pinia").StoreDefinition<"dt-theme",
|
|
|
10
11
|
getFooterConf(): FooterOptions | VNode;
|
|
11
12
|
getRouteReuseConf(): RouteReuseOptions;
|
|
12
13
|
getPageLoading(): boolean;
|
|
14
|
+
getMixSiderIsHasMenu(): boolean;
|
|
13
15
|
}, {
|
|
14
16
|
setThemeConf(options?: ThemeOptions): void;
|
|
17
|
+
setMixSiderIsHasMenu(val: boolean): void;
|
|
15
18
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-frames/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -46,13 +46,11 @@
|
|
|
46
46
|
"preview": "vite preview"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@dt-frames/core": "workspace:2.0.0",
|
|
50
49
|
"lodash-es": "^4.17.21",
|
|
51
50
|
"sortablejs": "^1.15.0",
|
|
52
51
|
"xlsx": "^0.18.5"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@dt-frames/plugins": "workspace:2.0.0",
|
|
56
54
|
"npm-run-all": "^4.1.5",
|
|
57
55
|
"rimraf": "^3.0.2"
|
|
58
56
|
}
|