ll-plus 2.0.3 → 2.0.5
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/component.mjs +19 -9
- package/es/component.mjs.map +1 -1
- package/es/components/advanced-filtering/index.d.ts +11556 -4846
- package/es/components/advanced-filtering/src/advanced-filtering.d.ts +992 -97
- package/es/components/advanced-filtering/src/advanced-filtering.mjs +5 -1
- package/es/components/advanced-filtering/src/advanced-filtering.mjs.map +1 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6052 -1580
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs +2 -1
- package/es/components/advanced-filtering/src/advanced-filtering.vue2.mjs.map +1 -1
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +480 -480
- package/es/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/es/components/avatar/index.d.ts +4 -4
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +4 -4
- package/es/components/button/index.d.ts +5 -8
- package/es/components/button/index.mjs +1 -1
- package/es/components/button/index.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +4 -8
- package/es/components/button/src/button.vue2.mjs +1 -1
- package/es/components/button/src/button.vue2.mjs.map +1 -1
- package/es/components/checkbox/index.d.ts +12 -12
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +6 -6
- package/es/components/checkbox/src/checkbox.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/es/components/drawer/index.d.ts +6 -6
- package/es/components/drawer/src/drawer.mjs +3 -0
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- package/es/components/empty/src/empty.d.ts +1 -1
- package/es/components/empty/src/empty.mjs +1 -1
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/form/index.d.ts +240 -240
- package/es/components/form/src/form.d.ts +96 -96
- package/es/components/form/src/form.vue.d.ts +240 -240
- package/es/components/form-item/index.d.ts +24 -24
- package/es/components/form-item/src/form-item.vue.d.ts +24 -24
- package/es/components/icon/index.d.ts +1 -1
- package/es/components/icon/src/icon.vue.d.ts +1 -1
- package/es/components/input/index.d.ts +38 -31
- package/es/components/input/index.mjs +1 -1
- package/es/components/input/index.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +31 -31
- package/es/components/input-number/index.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +2 -2
- package/es/components/modal/index.d.ts +12 -12
- package/es/components/modal/src/modal.d.ts +3 -3
- package/es/components/modal/src/modal.mjs +4 -4
- package/es/components/modal/src/modal.mjs.map +1 -1
- package/es/components/modal/src/modal.vue.d.ts +12 -12
- package/es/components/modal/src/modal.vue2.mjs +9 -29
- package/es/components/modal/src/modal.vue2.mjs.map +1 -1
- package/es/components/select-group/src/select-group.d.ts +1 -1
- package/es/components/switch/index.d.ts +13 -6
- package/es/components/switch/index.mjs +1 -1
- package/es/components/switch/index.mjs.map +1 -1
- package/es/components/switch/src/switch.d.ts +3 -3
- package/es/components/switch/src/switch.vue.d.ts +6 -6
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/components/header-search.vue.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/es/components/tree-search/index.d.ts +23 -29
- package/es/components/tree-search/index.mjs.map +1 -1
- package/es/components/tree-search/src/components/header-search.vue.d.ts +1 -1
- package/es/components/tree-search/src/components/tree-list.vue.d.ts +2 -2
- package/es/components/tree-search/src/config/tree-search.d.ts +5 -5
- package/es/components/tree-search/src/tree-search.vue.d.ts +23 -23
- package/es/utils/number.d.ts +1 -1
- package/global.d.ts +26 -1
- package/index.full.js +34 -41
- package/index.full.min.js +16 -16
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +14 -14
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +34 -41
- package/lib/component.js +51 -41
- package/lib/component.js.map +1 -1
- package/lib/components/advanced-filtering/index.d.ts +11556 -4846
- package/lib/components/advanced-filtering/src/advanced-filtering.d.ts +992 -97
- package/lib/components/advanced-filtering/src/advanced-filtering.js +5 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.js.map +1 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6052 -1580
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js +2 -1
- package/lib/components/advanced-filtering/src/advanced-filtering.vue2.js.map +1 -1
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +480 -480
- package/lib/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/lib/components/avatar/index.d.ts +4 -4
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +4 -4
- package/lib/components/button/index.d.ts +5 -8
- package/lib/components/button/index.js +3 -0
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +4 -8
- package/lib/components/button/src/button.vue2.js +1 -1
- package/lib/components/button/src/button.vue2.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +12 -12
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +6 -6
- package/lib/components/checkbox/src/checkbox.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/lib/components/drawer/index.d.ts +6 -6
- package/lib/components/drawer/src/drawer.js +3 -0
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- package/lib/components/empty/src/empty.d.ts +1 -1
- package/lib/components/empty/src/empty.js +1 -1
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/form/index.d.ts +240 -240
- package/lib/components/form/src/form.d.ts +96 -96
- package/lib/components/form/src/form.vue.d.ts +240 -240
- package/lib/components/form-item/index.d.ts +24 -24
- package/lib/components/form-item/src/form-item.vue.d.ts +24 -24
- package/lib/components/icon/index.d.ts +1 -1
- package/lib/components/icon/src/icon.vue.d.ts +1 -1
- package/lib/components/input/index.d.ts +38 -31
- package/lib/components/input/index.js +3 -0
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +31 -31
- package/lib/components/input-number/index.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +2 -2
- package/lib/components/modal/index.d.ts +12 -12
- package/lib/components/modal/src/modal.d.ts +3 -3
- package/lib/components/modal/src/modal.js +4 -4
- package/lib/components/modal/src/modal.js.map +1 -1
- package/lib/components/modal/src/modal.vue.d.ts +12 -12
- package/lib/components/modal/src/modal.vue2.js +8 -28
- package/lib/components/modal/src/modal.vue2.js.map +1 -1
- package/lib/components/select-group/src/select-group.d.ts +1 -1
- package/lib/components/switch/index.d.ts +13 -6
- package/lib/components/switch/index.js +3 -0
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/switch/src/switch.d.ts +3 -3
- package/lib/components/switch/src/switch.vue.d.ts +6 -6
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/components/header-search.vue.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/lib/components/tree-search/index.d.ts +23 -29
- package/lib/components/tree-search/index.js.map +1 -1
- package/lib/components/tree-search/src/components/header-search.vue.d.ts +1 -1
- package/lib/components/tree-search/src/components/tree-list.vue.d.ts +2 -2
- package/lib/components/tree-search/src/config/tree-search.d.ts +5 -5
- package/lib/components/tree-search/src/tree-search.vue.d.ts +23 -23
- package/lib/utils/number.d.ts +1 -1
- package/package.json +1 -1
- package/types/packages/components/advanced-filtering/index.d.ts +11556 -4846
- package/types/packages/components/advanced-filtering/src/advanced-filtering.d.ts +992 -97
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +6052 -1580
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +480 -480
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-tags.vue.d.ts +2242 -4
- package/types/packages/components/avatar/index.d.ts +4 -4
- package/types/packages/components/avatar/src/avatar.d.ts +1 -1
- package/types/packages/components/avatar/src/avatar.vue.d.ts +4 -4
- package/types/packages/components/button/index.d.ts +5 -8
- package/types/packages/components/button/src/button.d.ts +1 -1
- package/types/packages/components/button/src/button.vue.d.ts +4 -8
- package/types/packages/components/checkbox/index.d.ts +12 -12
- package/types/packages/components/checkbox/src/checkbox-group.vue.d.ts +6 -6
- package/types/packages/components/checkbox/src/checkbox.d.ts +3 -3
- package/types/packages/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/types/packages/components/drawer/index.d.ts +6 -6
- package/types/packages/components/drawer/src/drawer.vue.d.ts +6 -6
- package/types/packages/components/empty/src/empty.d.ts +1 -1
- package/types/packages/components/form/index.d.ts +240 -240
- package/types/packages/components/form/src/form.d.ts +96 -96
- package/types/packages/components/form/src/form.vue.d.ts +240 -240
- package/types/packages/components/form-item/index.d.ts +24 -24
- package/types/packages/components/form-item/src/form-item.vue.d.ts +24 -24
- package/types/packages/components/icon/index.d.ts +1 -1
- package/types/packages/components/icon/src/icon.vue.d.ts +1 -1
- package/types/packages/components/input/index.d.ts +38 -31
- package/types/packages/components/input/src/input.vue.d.ts +31 -31
- package/types/packages/components/input-number/index.d.ts +2 -2
- package/types/packages/components/input-number/src/input-number.vue.d.ts +2 -2
- package/types/packages/components/modal/index.d.ts +12 -12
- package/types/packages/components/modal/src/modal.d.ts +3 -3
- package/types/packages/components/modal/src/modal.vue.d.ts +12 -12
- package/types/packages/components/select-group/src/select-group.d.ts +1 -1
- package/types/packages/components/switch/index.d.ts +13 -6
- package/types/packages/components/switch/src/switch.d.ts +3 -3
- package/types/packages/components/switch/src/switch.vue.d.ts +6 -6
- package/types/packages/components/table/index.d.ts +1 -1
- package/types/packages/components/table/src/components/header-search.vue.d.ts +1 -1
- package/types/packages/components/table/src/table.vue.d.ts +1 -1
- package/types/packages/components/tooltip/index.d.ts +2 -2
- package/types/packages/components/tooltip/src/tooltip.vue.d.ts +2 -2
- package/types/packages/components/tree-search/index.d.ts +23 -29
- package/types/packages/components/tree-search/src/components/header-search.vue.d.ts +1 -1
- package/types/packages/components/tree-search/src/components/tree-list.vue.d.ts +2 -2
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +5 -5
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +23 -23
- package/types/packages/utils/number.d.ts +1 -1
|
@@ -1,18 +1,19 @@
|
|
|
1
|
+
import Switch from './src/switch.vue';
|
|
1
2
|
export declare const LlSwitch: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
3
|
disabled: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
5
6
|
};
|
|
6
7
|
checkedValue: {
|
|
7
|
-
type: (
|
|
8
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
8
9
|
default: boolean;
|
|
9
10
|
};
|
|
10
11
|
unCheckedValue: {
|
|
11
|
-
type: (
|
|
12
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
12
13
|
default: boolean;
|
|
13
14
|
};
|
|
14
15
|
value: {
|
|
15
|
-
type: (
|
|
16
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
16
17
|
};
|
|
17
18
|
}, {
|
|
18
19
|
bem: {
|
|
@@ -45,15 +46,15 @@ export declare const LlSwitch: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
45
46
|
default: boolean;
|
|
46
47
|
};
|
|
47
48
|
checkedValue: {
|
|
48
|
-
type: (
|
|
49
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
49
50
|
default: boolean;
|
|
50
51
|
};
|
|
51
52
|
unCheckedValue: {
|
|
52
|
-
type: (
|
|
53
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
53
54
|
default: boolean;
|
|
54
55
|
};
|
|
55
56
|
value: {
|
|
56
|
-
type: (
|
|
57
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
57
58
|
};
|
|
58
59
|
}>> & {
|
|
59
60
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -63,4 +64,10 @@ export declare const LlSwitch: import("ll-plus/es/utils").SFCWithInstall<import(
|
|
|
63
64
|
checkedValue: string | number | boolean;
|
|
64
65
|
unCheckedValue: string | number | boolean;
|
|
65
66
|
}, {}>>;
|
|
67
|
+
export default LlSwitch;
|
|
66
68
|
export * from './src/switch';
|
|
69
|
+
declare module 'vue' {
|
|
70
|
+
interface GlobalComponents {
|
|
71
|
+
LlSwitch: typeof Switch;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/switch/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Switch from './src/switch.vue'\n\nexport const LlSwitch = withInstall(Switch)\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/switch/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Switch from './src/switch.vue'\n\nexport const LlSwitch = withInstall(Switch)\nexport default LlSwitch\nexport * from './src/switch'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n LlSwitch: typeof Switch\n }\n}\n"],"names":[],"mappings":";;;;;;AAIa,MAAA,QAAA,GAAW,YAAY,MAAM;;;;"}
|
|
@@ -4,14 +4,14 @@ export declare const SwitchProps: {
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
checkedValue: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
unCheckedValue: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
value: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -4,15 +4,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
checkedValue: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
unCheckedValue: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
value: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
16
16
|
};
|
|
17
17
|
}, {
|
|
18
18
|
bem: {
|
|
@@ -45,15 +45,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
default: boolean;
|
|
46
46
|
};
|
|
47
47
|
checkedValue: {
|
|
48
|
-
type: (
|
|
48
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
51
|
unCheckedValue: {
|
|
52
|
-
type: (
|
|
52
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
55
|
value: {
|
|
56
|
-
type: (
|
|
56
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
57
57
|
};
|
|
58
58
|
}>> & {
|
|
59
59
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -132,8 +132,8 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
132
132
|
}, {
|
|
133
133
|
props: import("@vue/shared").LooseRequired<{
|
|
134
134
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
135
|
-
readonly iconName?: string | undefined;
|
|
136
135
|
readonly color?: string | undefined;
|
|
136
|
+
readonly iconName?: string | undefined;
|
|
137
137
|
} & {}>;
|
|
138
138
|
iconName: import("vue").ComputedRef<string>;
|
|
139
139
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
49
|
}, {
|
|
50
50
|
props: import("@vue/shared").LooseRequired<{
|
|
51
51
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
52
|
-
readonly iconName?: string | undefined;
|
|
53
52
|
readonly color?: string | undefined;
|
|
53
|
+
readonly iconName?: string | undefined;
|
|
54
54
|
} & {}>;
|
|
55
55
|
iconName: import("vue").ComputedRef<string>;
|
|
56
56
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -132,8 +132,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
132
132
|
}, {
|
|
133
133
|
props: import("@vue/shared").LooseRequired<{
|
|
134
134
|
readonly size?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown> | undefined;
|
|
135
|
-
readonly iconName?: string | undefined;
|
|
136
135
|
readonly color?: string | undefined;
|
|
136
|
+
readonly iconName?: string | undefined;
|
|
137
137
|
} & {}>;
|
|
138
138
|
iconName: import("vue").ComputedRef<string>;
|
|
139
139
|
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -5,8 +5,8 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
|
|
|
5
5
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
6
6
|
}, {
|
|
7
7
|
props: import("@vue/shared").LooseRequired<{
|
|
8
|
-
readonly tip: string;
|
|
9
8
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
9
|
+
readonly tip: string;
|
|
10
10
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
11
11
|
} & {}>;
|
|
12
12
|
attrs: {
|
|
@@ -28,8 +28,8 @@ export declare const LlTooltip: import("ll-plus/es/utils").SFCWithInstall<import
|
|
|
28
28
|
readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
|
|
29
29
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
30
30
|
}>>, {
|
|
31
|
-
readonly tip: string;
|
|
32
31
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
32
|
+
readonly tip: string;
|
|
33
33
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
34
34
|
}, {}>>;
|
|
35
35
|
export default LlTooltip;
|
|
@@ -4,8 +4,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
5
5
|
}, {
|
|
6
6
|
props: import("@vue/shared").LooseRequired<{
|
|
7
|
-
readonly tip: string;
|
|
8
7
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
8
|
+
readonly tip: string;
|
|
9
9
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
10
10
|
} & {}>;
|
|
11
11
|
attrs: {
|
|
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
readonly placement: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown, "top", boolean>;
|
|
28
28
|
readonly maxWidth: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
29
29
|
}>>, {
|
|
30
|
-
readonly tip: string;
|
|
31
30
|
readonly placement: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom", unknown>;
|
|
31
|
+
readonly tip: string;
|
|
32
32
|
readonly maxWidth: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>;
|
|
33
33
|
}, {}>;
|
|
34
34
|
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import TreeSearch from './src/tree-search.vue';
|
|
2
1
|
export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
2
|
readonly loading: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4
3
|
readonly throttleTime: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
@@ -9,13 +8,13 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
9
8
|
key: string;
|
|
10
9
|
}, boolean>;
|
|
11
10
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
12
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "
|
|
11
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "drawer" | "none", unknown, "modal", boolean>;
|
|
13
12
|
readonly modalConfigProps: {
|
|
14
13
|
readonly type: import("vue").PropType<{
|
|
15
14
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
16
|
-
readonly
|
|
15
|
+
readonly title: string;
|
|
17
16
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
18
|
-
readonly
|
|
17
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
18
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
20
19
|
readonly confirmText: string;
|
|
21
20
|
readonly cancelText: string;
|
|
@@ -28,9 +27,9 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
28
27
|
};
|
|
29
28
|
readonly drawerConfigProps: {
|
|
30
29
|
readonly type: import("vue").PropType<{
|
|
31
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
30
|
readonly title: string;
|
|
31
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
33
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
35
34
|
readonly confirmText: string;
|
|
36
35
|
readonly cancelText: string;
|
|
@@ -52,16 +51,15 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
52
51
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
53
52
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
54
53
|
readonly fieldNames: import("./src/config").ITreeSearchFieldNames;
|
|
55
|
-
readonly treeData: any[];
|
|
56
54
|
readonly throttleTime: number;
|
|
55
|
+
readonly treeData: any[];
|
|
56
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "drawer" | "none", unknown>;
|
|
57
57
|
readonly onSearchInputChange: Function;
|
|
58
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "none" | "drawer", unknown>;
|
|
59
|
-
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
60
58
|
readonly modalConfigProps?: {
|
|
61
59
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
62
|
-
readonly
|
|
60
|
+
readonly title: string;
|
|
63
61
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
|
-
readonly
|
|
62
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
65
63
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
66
64
|
readonly confirmText: string;
|
|
67
65
|
readonly cancelText: string;
|
|
@@ -69,14 +67,15 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
69
67
|
readonly class: string;
|
|
70
68
|
} | undefined;
|
|
71
69
|
readonly drawerConfigProps?: {
|
|
72
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
73
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
74
70
|
readonly title: string;
|
|
71
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
75
73
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
74
|
readonly confirmText: string;
|
|
77
75
|
readonly cancelText: string;
|
|
78
76
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
79
77
|
} | undefined;
|
|
78
|
+
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
80
79
|
readonly onSelect?: ((selectedKeys: any, e: any) => any) | undefined;
|
|
81
80
|
readonly onClose?: (() => any) | undefined;
|
|
82
81
|
readonly onCancel?: (() => any) | undefined;
|
|
@@ -84,7 +83,7 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
84
83
|
readonly onExpand?: ((expandedKeys: any, data: any) => any) | undefined;
|
|
85
84
|
readonly onClickAdd?: (() => any) | undefined;
|
|
86
85
|
} & {}>;
|
|
87
|
-
emits: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "ok") => void) & ((event: "
|
|
86
|
+
emits: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "ok") => void) & ((event: "select", selectedKeys: any, e: any) => void) & ((event: "expand", expandedKeys: any, data: any) => void) & ((event: "clickAdd") => void);
|
|
88
87
|
isCollapseMenu: import("vue").Ref<boolean>;
|
|
89
88
|
searchValue: import("vue").Ref<string>;
|
|
90
89
|
bem: {
|
|
@@ -129,9 +128,9 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
129
128
|
};
|
|
130
129
|
}, {
|
|
131
130
|
props: import("@vue/shared").LooseRequired<{
|
|
132
|
-
readonly searchValue?: string | undefined;
|
|
133
131
|
readonly throttleTime?: number | undefined;
|
|
134
132
|
readonly onSearchInputChange?: Function | undefined;
|
|
133
|
+
readonly searchValue?: string | undefined;
|
|
135
134
|
readonly onClick?: (() => any) | undefined;
|
|
136
135
|
} & {}>;
|
|
137
136
|
emits: (event: "click") => void;
|
|
@@ -243,15 +242,15 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
243
242
|
}, {
|
|
244
243
|
props: import("@vue/shared").LooseRequired<{
|
|
245
244
|
readonly loading?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
246
|
-
readonly searchValue?: string | undefined;
|
|
247
245
|
readonly fieldNames?: import("./src/config").ITreeSearchFieldNames | undefined;
|
|
248
246
|
readonly treeData?: any[] | undefined;
|
|
249
247
|
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
248
|
+
readonly searchValue?: string | undefined;
|
|
250
249
|
readonly isCollapseMenu?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
251
250
|
readonly onSelect?: ((selectedKeys: any, e: any) => any) | undefined;
|
|
252
251
|
readonly onExpand?: ((expandedKeys: any, data: any) => any) | undefined;
|
|
253
252
|
} & {}>;
|
|
254
|
-
emits: ((event: "
|
|
253
|
+
emits: ((event: "select", selectedKeys: any, e: any) => void) & ((event: "expand", expandedKeys: any, data: any) => void);
|
|
255
254
|
newExpandedKeys: import("vue").Ref<any[]>;
|
|
256
255
|
bem: {
|
|
257
256
|
b: (blockSuffix?: string) => string;
|
|
@@ -330,13 +329,13 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
330
329
|
key: string;
|
|
331
330
|
}, boolean>;
|
|
332
331
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
333
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "
|
|
332
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "drawer" | "none", unknown, "modal", boolean>;
|
|
334
333
|
readonly modalConfigProps: {
|
|
335
334
|
readonly type: import("vue").PropType<{
|
|
336
335
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
337
|
-
readonly
|
|
336
|
+
readonly title: string;
|
|
338
337
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
339
|
-
readonly
|
|
338
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
340
339
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
341
340
|
readonly confirmText: string;
|
|
342
341
|
readonly cancelText: string;
|
|
@@ -349,9 +348,9 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
349
348
|
};
|
|
350
349
|
readonly drawerConfigProps: {
|
|
351
350
|
readonly type: import("vue").PropType<{
|
|
352
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
353
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
354
351
|
readonly title: string;
|
|
352
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
353
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
355
354
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
356
355
|
readonly confirmText: string;
|
|
357
356
|
readonly cancelText: string;
|
|
@@ -379,15 +378,10 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
379
378
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
380
379
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
381
380
|
readonly fieldNames: import("./src/config").ITreeSearchFieldNames;
|
|
382
|
-
readonly treeData: any[];
|
|
383
381
|
readonly throttleTime: number;
|
|
382
|
+
readonly treeData: any[];
|
|
383
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "drawer" | "none", unknown>;
|
|
384
384
|
readonly onSearchInputChange: Function;
|
|
385
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "none" | "drawer", unknown>;
|
|
386
385
|
}, {}>>;
|
|
387
386
|
export default LlTreeSearch;
|
|
388
387
|
export * from './src/config';
|
|
389
|
-
declare module 'vue' {
|
|
390
|
-
interface GlobalComponents {
|
|
391
|
-
LlTreeSearch: typeof TreeSearch;
|
|
392
|
-
}
|
|
393
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/tree-search/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport TreeSearch from './src/tree-search.vue'\n\nexport const LlTreeSearch = withInstall(TreeSearch)\nexport default LlTreeSearch\nexport * from './src/config'\n\
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/tree-search/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport TreeSearch from './src/tree-search.vue'\n\nexport const LlTreeSearch = withInstall(TreeSearch)\nexport default LlTreeSearch\nexport * from './src/config'\n\n// declare module 'vue' {\n// export interface GlobalComponents {\n// LlTreeSearch: typeof TreeSearch\n// }\n// }\n"],"names":[],"mappings":";;;;;;;;;;AAIa,MAAA,YAAA,GAAe,YAAY,UAAU;;;;"}
|
|
@@ -20,9 +20,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
};
|
|
21
21
|
}, {
|
|
22
22
|
props: import("@vue/shared").LooseRequired<{
|
|
23
|
-
readonly searchValue?: string | undefined;
|
|
24
23
|
readonly throttleTime?: number | undefined;
|
|
25
24
|
readonly onSearchInputChange?: Function | undefined;
|
|
25
|
+
readonly searchValue?: string | undefined;
|
|
26
26
|
readonly onClick?: (() => any) | undefined;
|
|
27
27
|
} & {}>;
|
|
28
28
|
emits: (event: "click") => void;
|
|
@@ -38,15 +38,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
}, {
|
|
39
39
|
props: import("@vue/shared").LooseRequired<{
|
|
40
40
|
readonly loading?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
41
|
-
readonly searchValue?: string | undefined;
|
|
42
41
|
readonly fieldNames?: import("../config").ITreeSearchFieldNames | undefined;
|
|
43
42
|
readonly treeData?: any[] | undefined;
|
|
44
43
|
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
44
|
+
readonly searchValue?: string | undefined;
|
|
45
45
|
readonly isCollapseMenu?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
46
46
|
readonly onSelect?: ((selectedKeys: any, e: any) => any) | undefined;
|
|
47
47
|
readonly onExpand?: ((expandedKeys: any, data: any) => any) | undefined;
|
|
48
48
|
} & {}>;
|
|
49
|
-
emits: ((event: "
|
|
49
|
+
emits: ((event: "select", selectedKeys: any, e: any) => void) & ((event: "expand", expandedKeys: any, data: any) => void);
|
|
50
50
|
newExpandedKeys: import("vue").Ref<any[]>;
|
|
51
51
|
bem: {
|
|
52
52
|
b: (blockSuffix?: string) => string;
|
|
@@ -16,13 +16,13 @@ export declare const treeSearchProps: {
|
|
|
16
16
|
key: string;
|
|
17
17
|
}, boolean>;
|
|
18
18
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
19
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "
|
|
19
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "drawer" | "none", unknown, "modal", boolean>;
|
|
20
20
|
readonly modalConfigProps: {
|
|
21
21
|
readonly type: import("vue").PropType<{
|
|
22
22
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
23
|
-
readonly
|
|
23
|
+
readonly title: string;
|
|
24
24
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
25
|
-
readonly
|
|
25
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
26
26
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
27
27
|
readonly confirmText: string;
|
|
28
28
|
readonly cancelText: string;
|
|
@@ -35,9 +35,9 @@ export declare const treeSearchProps: {
|
|
|
35
35
|
};
|
|
36
36
|
readonly drawerConfigProps: {
|
|
37
37
|
readonly type: import("vue").PropType<{
|
|
38
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
40
38
|
readonly title: string;
|
|
39
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
40
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
41
41
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
42
42
|
readonly confirmText: string;
|
|
43
43
|
readonly cancelText: string;
|
|
@@ -8,13 +8,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
key: string;
|
|
9
9
|
}, boolean>;
|
|
10
10
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
11
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "
|
|
11
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "drawer" | "none", unknown, "modal", boolean>;
|
|
12
12
|
readonly modalConfigProps: {
|
|
13
13
|
readonly type: import("vue").PropType<{
|
|
14
14
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
15
|
-
readonly
|
|
15
|
+
readonly title: string;
|
|
16
16
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
|
-
readonly
|
|
17
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
18
18
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
19
19
|
readonly confirmText: string;
|
|
20
20
|
readonly cancelText: string;
|
|
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
readonly drawerConfigProps: {
|
|
29
29
|
readonly type: import("vue").PropType<{
|
|
30
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
30
|
readonly title: string;
|
|
31
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
33
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
34
|
readonly confirmText: string;
|
|
35
35
|
readonly cancelText: string;
|
|
@@ -51,16 +51,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
51
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
52
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
53
53
|
readonly fieldNames: import("./config").ITreeSearchFieldNames;
|
|
54
|
-
readonly treeData: any[];
|
|
55
54
|
readonly throttleTime: number;
|
|
55
|
+
readonly treeData: any[];
|
|
56
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "drawer" | "none", unknown>;
|
|
56
57
|
readonly onSearchInputChange: Function;
|
|
57
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "none" | "drawer", unknown>;
|
|
58
|
-
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
59
58
|
readonly modalConfigProps?: {
|
|
60
59
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
61
|
-
readonly
|
|
60
|
+
readonly title: string;
|
|
62
61
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
63
|
-
readonly
|
|
62
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
64
63
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
65
64
|
readonly confirmText: string;
|
|
66
65
|
readonly cancelText: string;
|
|
@@ -68,14 +67,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
67
|
readonly class: string;
|
|
69
68
|
} | undefined;
|
|
70
69
|
readonly drawerConfigProps?: {
|
|
71
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
73
70
|
readonly title: string;
|
|
71
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
72
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
74
73
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
75
74
|
readonly confirmText: string;
|
|
76
75
|
readonly cancelText: string;
|
|
77
76
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
78
77
|
} | undefined;
|
|
78
|
+
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
79
79
|
readonly onSelect?: ((selectedKeys: any, e: any) => any) | undefined;
|
|
80
80
|
readonly onClose?: (() => any) | undefined;
|
|
81
81
|
readonly onCancel?: (() => any) | undefined;
|
|
@@ -83,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
83
83
|
readonly onExpand?: ((expandedKeys: any, data: any) => any) | undefined;
|
|
84
84
|
readonly onClickAdd?: (() => any) | undefined;
|
|
85
85
|
} & {}>;
|
|
86
|
-
emits: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "ok") => void) & ((event: "
|
|
86
|
+
emits: ((event: "close") => void) & ((event: "cancel") => void) & ((event: "ok") => void) & ((event: "select", selectedKeys: any, e: any) => void) & ((event: "expand", expandedKeys: any, data: any) => void) & ((event: "clickAdd") => void);
|
|
87
87
|
isCollapseMenu: import("vue").Ref<boolean>;
|
|
88
88
|
searchValue: import("vue").Ref<string>;
|
|
89
89
|
bem: {
|
|
@@ -128,9 +128,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
props: import("@vue/shared").LooseRequired<{
|
|
131
|
-
readonly searchValue?: string | undefined;
|
|
132
131
|
readonly throttleTime?: number | undefined;
|
|
133
132
|
readonly onSearchInputChange?: Function | undefined;
|
|
133
|
+
readonly searchValue?: string | undefined;
|
|
134
134
|
readonly onClick?: (() => any) | undefined;
|
|
135
135
|
} & {}>;
|
|
136
136
|
emits: (event: "click") => void;
|
|
@@ -242,15 +242,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
242
|
}, {
|
|
243
243
|
props: import("@vue/shared").LooseRequired<{
|
|
244
244
|
readonly loading?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
245
|
-
readonly searchValue?: string | undefined;
|
|
246
245
|
readonly fieldNames?: import("./config").ITreeSearchFieldNames | undefined;
|
|
247
246
|
readonly treeData?: any[] | undefined;
|
|
248
247
|
readonly expandedKeys?: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string[] | number[]) | (() => string[] | number[]) | ((new (...args: any[]) => string[] | number[]) | (() => string[] | number[]))[], unknown, unknown> | undefined;
|
|
248
|
+
readonly searchValue?: string | undefined;
|
|
249
249
|
readonly isCollapseMenu?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
250
250
|
readonly onSelect?: ((selectedKeys: any, e: any) => any) | undefined;
|
|
251
251
|
readonly onExpand?: ((expandedKeys: any, data: any) => any) | undefined;
|
|
252
252
|
} & {}>;
|
|
253
|
-
emits: ((event: "
|
|
253
|
+
emits: ((event: "select", selectedKeys: any, e: any) => void) & ((event: "expand", expandedKeys: any, data: any) => void);
|
|
254
254
|
newExpandedKeys: import("vue").Ref<any[]>;
|
|
255
255
|
bem: {
|
|
256
256
|
b: (blockSuffix?: string) => string;
|
|
@@ -329,13 +329,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
329
329
|
key: string;
|
|
330
330
|
}, boolean>;
|
|
331
331
|
readonly open: import("ll-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
332
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "
|
|
332
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "modal" | "drawer" | "none", unknown, "modal", boolean>;
|
|
333
333
|
readonly modalConfigProps: {
|
|
334
334
|
readonly type: import("vue").PropType<{
|
|
335
335
|
readonly type: import("ll-plus/es/utils").EpPropMergeType<(new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload") | ((new (...args: any[]) => "confirm" | "operate" | "upload") | (() => "confirm" | "operate" | "upload"))[], unknown, unknown>;
|
|
336
|
-
readonly
|
|
336
|
+
readonly title: string;
|
|
337
337
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
338
|
-
readonly
|
|
338
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
339
339
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
340
340
|
readonly confirmText: string;
|
|
341
341
|
readonly cancelText: string;
|
|
@@ -348,9 +348,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
348
348
|
};
|
|
349
349
|
readonly drawerConfigProps: {
|
|
350
350
|
readonly type: import("vue").PropType<{
|
|
351
|
-
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
352
|
-
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
353
351
|
readonly title: string;
|
|
352
|
+
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
353
|
+
readonly showFooter: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
354
354
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
355
355
|
readonly confirmText: string;
|
|
356
356
|
readonly cancelText: string;
|
|
@@ -378,9 +378,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
378
378
|
readonly open: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
379
379
|
readonly loading: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
380
380
|
readonly fieldNames: import("./config").ITreeSearchFieldNames;
|
|
381
|
-
readonly treeData: any[];
|
|
382
381
|
readonly throttleTime: number;
|
|
382
|
+
readonly treeData: any[];
|
|
383
|
+
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "drawer" | "none", unknown>;
|
|
383
384
|
readonly onSearchInputChange: Function;
|
|
384
|
-
readonly operateWay: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "modal" | "none" | "drawer", unknown>;
|
|
385
385
|
}, {}>;
|
|
386
386
|
export default _default;
|
package/es/utils/number.d.ts
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function getAmountChinese(val: number): string;
|
|
24
24
|
export declare function thousandsFormat(num: string | number): string;
|
|
25
|
-
export declare function getDateTimeUnit(format: string): "
|
|
25
|
+
export declare function getDateTimeUnit(format: string): "month" | "year" | "day" | "minute";
|
|
26
26
|
/**
|
|
27
27
|
* 将用户输入的连续单个数字合并为一个数
|
|
28
28
|
* @param {Array} expressions - 记录计算表达式的数组
|