orion-design 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Edittable/columns/EdittableColumnDate.d.ts +1 -1
- package/dist/components/Edittable/columns/EdittableColumnMultiselect.d.ts +1 -1
- package/dist/components/Edittable/columns/EdittableColumnNumber.d.ts +1 -1
- package/dist/components/Edittable/columns/EdittableColumnSingleselect.d.ts +1 -1
- package/dist/components/Form/Form.d.ts +2 -2
- package/dist/components/Form/Form.js.map +1 -1
- package/dist/components/Tabs/index.d.ts +114 -56
- package/dist/components/Tabs/index.js +88 -464
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Tabs/tab-pane.d.ts +8 -16
- package/dist/components/Tabs/tab-pane.js +1 -34
- package/dist/components/Tabs/tab-pane.js.map +1 -1
- package/dist/components/Tabs/tab-pane.vue.d.ts +3 -28
- package/dist/components/Tabs/tabs.d.ts +12 -101
- package/dist/components/Tabs/tabs.js +2 -0
- package/dist/components/Tabs/tabs.js.map +1 -0
- package/dist/components/Tabs/tabs.vue.d.ts +63 -0
- package/dist/components/_util/browser.js +2 -2
- package/dist/components/_util/dom/element.js +1 -1
- package/dist/components/_util/dom/position.js +1 -1
- package/dist/components/_util/dom/scroll.js +1 -1
- package/dist/components/_util/dom/style.js +1 -1
- package/dist/components/_util/index.js +1 -1
- package/dist/components/_util/raf.js +1 -1
- package/dist/components/_util/vue/global-node.js +1 -1
- package/dist/components/components.d.ts +0 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +14 -14
- package/dist/components/index.js.map +1 -1
- package/dist/index-C8JNJPWW.js +8 -0
- package/dist/{index-C9tCD90X.js.map → index-C8JNJPWW.js.map} +1 -1
- package/dist/index.css +1 -1
- package/dist/version/version.d.ts +1 -1
- package/dist/version/version.js +1 -1
- package/dist/version/version.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Tabs/constants.d.ts +0 -19
- package/dist/components/Tabs/constants.js +0 -5
- package/dist/components/Tabs/constants.js.map +0 -1
- package/dist/components/Tabs/tab-bar.d.ts +0 -59
- package/dist/components/Tabs/tab-bar.js +0 -15
- package/dist/components/Tabs/tab-bar.js.map +0 -1
- package/dist/components/Tabs/tab-bar.vue.d.ts +0 -131
- package/dist/components/Tabs/tab-nav.d.ts +0 -237
- package/dist/index-C9tCD90X.js +0 -45
@@ -44,8 +44,8 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
44
44
|
format: StringConstructor;
|
45
45
|
sourceFormat: StringConstructor;
|
46
46
|
}>> & Readonly<{}>, {
|
47
|
-
clearable: boolean;
|
48
47
|
editable: boolean;
|
48
|
+
clearable: boolean;
|
49
49
|
cellEditable: boolean;
|
50
50
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
51
51
|
export default _default;
|
@@ -59,8 +59,8 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
59
59
|
collapseTags: BooleanConstructor;
|
60
60
|
collapseTagsTooltip: BooleanConstructor;
|
61
61
|
}>> & Readonly<{}>, {
|
62
|
-
collapseTags: boolean;
|
63
62
|
editable: boolean;
|
63
|
+
collapseTags: boolean;
|
64
64
|
collapseTagsTooltip: boolean;
|
65
65
|
cellEditable: boolean;
|
66
66
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
@@ -77,9 +77,9 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
77
77
|
controls: BooleanConstructor;
|
78
78
|
controlsPosition: PropType<"" | "right">;
|
79
79
|
}>> & Readonly<{}>, {
|
80
|
+
editable: boolean;
|
80
81
|
thousandsSeparator: boolean;
|
81
82
|
percentage: boolean;
|
82
|
-
editable: boolean;
|
83
83
|
stepStrictly: boolean;
|
84
84
|
controls: boolean;
|
85
85
|
cellEditable: boolean;
|
@@ -59,8 +59,8 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
59
59
|
clearable: BooleanConstructor;
|
60
60
|
filterable: BooleanConstructor;
|
61
61
|
}>> & Readonly<{}>, {
|
62
|
-
clearable: boolean;
|
63
62
|
editable: boolean;
|
63
|
+
clearable: boolean;
|
64
64
|
filterable: boolean;
|
65
65
|
cellEditable: boolean;
|
66
66
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import { InjectionKey } from 'vue';
|
2
2
|
import { FormRules as ElFormRules, FormItemRule as ElFormItemRule } from 'element-plus';
|
3
|
-
|
3
|
+
type Arrayable<T> = T | T[];
|
4
4
|
export type FormRules = ElFormRules;
|
5
5
|
export type FormItemRule = ElFormItemRule;
|
6
|
-
export type Arrayable<T> = ElArrayable<T>;
|
7
6
|
export interface FormProps {
|
8
7
|
rules?: FormRules;
|
9
8
|
itemSpan?: number;
|
@@ -31,3 +30,4 @@ export interface FormItemProps {
|
|
31
30
|
required?: boolean;
|
32
31
|
rules?: Arrayable<FormItemRule>;
|
33
32
|
}
|
33
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Form.js","sources":["../../../src/components/Form/Form.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\nimport type { FormRules as ElFormRules, FormItemRule as ElFormItemRule } from 'element-plus'\r\
|
1
|
+
{"version":3,"file":"Form.js","sources":["../../../src/components/Form/Form.ts"],"sourcesContent":["import type { InjectionKey } from 'vue'\r\nimport type { FormRules as ElFormRules, FormItemRule as ElFormItemRule } from 'element-plus'\r\n\r\ntype Arrayable<T> = T | T[]\r\n\r\nexport type FormRules = ElFormRules\r\nexport type FormItemRule = ElFormItemRule\r\n\r\nexport interface FormProps {\r\n rules?: FormRules\r\n itemSpan?: number\r\n itemLabelWidth?: string | number\r\n disabled?: boolean\r\n modelValue: Record<string, any>\r\n}\r\n\r\nexport interface FormExpose {\r\n validate: () => Promise<boolean>\r\n}\r\n\r\nexport interface FormContext {\r\n modelValue: Record<string, any>\r\n updateModelValue: (name: string, value: any) => void\r\n updateModelValueMulti: (data: Record<string, any>) => void\r\n rules?: FormRules\r\n itemSpan: number\r\n disabled?: boolean\r\n}\r\n\r\nexport const formContextKey: InjectionKey<FormContext> = Symbol('formContextKey')\r\n\r\nexport interface FormItemProps {\r\n name: string\r\n label?: string\r\n span?: number\r\n labelWidth?: string | number\r\n required?: boolean\r\n rules?: Arrayable<FormItemRule>\r\n}\r\n"],"names":["formContextKey"],"mappings":"AA6Ba,MAAAA,IAA4C,OAAO,gBAAgB;"}
|
@@ -1,49 +1,85 @@
|
|
1
1
|
import { default as TabPane } from './tab-pane.vue';
|
2
|
-
declare const _default: import('../_util').SFCWithInstall<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
},
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
2
|
+
declare const _default: import('../_util').SFCWithInstall<{
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
4
|
+
modelValue?: import('./tabs').TabPaneName;
|
5
|
+
} & import('./tabs').TabsProps> & Readonly<{
|
6
|
+
"onTab-click"?: ((pane: {
|
7
|
+
uid: number;
|
8
|
+
slots: import('vue').Slots;
|
9
|
+
props: {
|
10
|
+
readonly label: string;
|
11
|
+
readonly disabled: boolean;
|
12
|
+
readonly closable: boolean;
|
13
|
+
readonly lazy: boolean;
|
14
|
+
readonly name?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
15
|
+
};
|
16
|
+
paneName: string | number | undefined;
|
17
|
+
active: boolean;
|
18
|
+
index: string | undefined;
|
19
|
+
isClosable: boolean;
|
20
|
+
}, ev: Event) => any) | undefined;
|
21
|
+
"onTab-change"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
22
|
+
"onTab-remove"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
23
|
+
"onTab-add"?: (() => any) | undefined;
|
24
|
+
"onUpdate:modelValue"?: ((modelValue: import('element-plus').TabPaneName) => any) | undefined;
|
25
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
26
|
+
"update:modelValue": (modelValue: import('element-plus').TabPaneName) => any;
|
27
|
+
} & {
|
28
|
+
"tab-click": (pane: {
|
29
|
+
uid: number;
|
30
|
+
slots: import('vue').Slots;
|
31
|
+
props: {
|
32
|
+
readonly label: string;
|
33
|
+
readonly disabled: boolean;
|
34
|
+
readonly closable: boolean;
|
35
|
+
readonly lazy: boolean;
|
36
|
+
readonly name?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
37
|
+
};
|
38
|
+
paneName: string | number | undefined;
|
39
|
+
active: boolean;
|
40
|
+
index: string | undefined;
|
41
|
+
isClosable: boolean;
|
42
|
+
}, ev: Event) => any;
|
43
|
+
"tab-change": (name: import('element-plus').TabPaneName) => any;
|
44
|
+
"tab-remove": (name: import('element-plus').TabPaneName) => any;
|
45
|
+
"tab-add": () => any;
|
46
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
47
|
+
P: {};
|
48
|
+
B: {};
|
49
|
+
D: {};
|
50
|
+
C: {};
|
51
|
+
M: {};
|
52
|
+
Defaults: {};
|
53
|
+
}, Readonly<{
|
54
|
+
modelValue?: import('./tabs').TabPaneName;
|
55
|
+
} & import('./tabs').TabsProps> & Readonly<{
|
56
|
+
"onTab-click"?: ((pane: {
|
57
|
+
uid: number;
|
58
|
+
slots: import('vue').Slots;
|
59
|
+
props: {
|
60
|
+
readonly label: string;
|
61
|
+
readonly disabled: boolean;
|
62
|
+
readonly closable: boolean;
|
63
|
+
readonly lazy: boolean;
|
64
|
+
readonly name?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
65
|
+
};
|
66
|
+
paneName: string | number | undefined;
|
67
|
+
active: boolean;
|
68
|
+
index: string | undefined;
|
69
|
+
isClosable: boolean;
|
70
|
+
}, ev: Event) => any) | undefined;
|
71
|
+
"onTab-change"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
72
|
+
"onTab-remove"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
73
|
+
"onTab-add"?: (() => any) | undefined;
|
74
|
+
"onUpdate:modelValue"?: ((modelValue: import('element-plus').TabPaneName) => any) | undefined;
|
75
|
+
}>, {}, {}, {}, {}, {}>;
|
76
|
+
__isFragment?: never;
|
77
|
+
__isTeleport?: never;
|
78
|
+
__isSuspense?: never;
|
79
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
80
|
+
modelValue?: import('./tabs').TabPaneName;
|
81
|
+
} & import('./tabs').TabsProps> & Readonly<{
|
82
|
+
"onTab-click"?: ((pane: {
|
47
83
|
uid: number;
|
48
84
|
slots: import('vue').Slots;
|
49
85
|
props: {
|
@@ -51,24 +87,46 @@ declare const _default: import('../_util').SFCWithInstall<import('vue').DefineCo
|
|
51
87
|
readonly disabled: boolean;
|
52
88
|
readonly closable: boolean;
|
53
89
|
readonly lazy: boolean;
|
54
|
-
readonly name?: import('
|
90
|
+
readonly name?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
55
91
|
};
|
56
92
|
paneName: string | number | undefined;
|
57
93
|
active: boolean;
|
58
94
|
index: string | undefined;
|
95
|
+
isClosable: boolean;
|
59
96
|
}, ev: Event) => any) | undefined;
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
}
|
97
|
+
"onTab-change"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
98
|
+
"onTab-remove"?: ((name: import('element-plus').TabPaneName) => any) | undefined;
|
99
|
+
"onTab-add"?: (() => any) | undefined;
|
100
|
+
"onUpdate:modelValue"?: ((modelValue: import('element-plus').TabPaneName) => any) | undefined;
|
101
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
102
|
+
"update:modelValue": (modelValue: import('element-plus').TabPaneName) => any;
|
103
|
+
} & {
|
104
|
+
"tab-click": (pane: {
|
105
|
+
uid: number;
|
106
|
+
slots: import('vue').Slots;
|
107
|
+
props: {
|
108
|
+
readonly label: string;
|
109
|
+
readonly disabled: boolean;
|
110
|
+
readonly closable: boolean;
|
111
|
+
readonly lazy: boolean;
|
112
|
+
readonly name?: import('element-plus/es/utils/index.mjs').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
113
|
+
};
|
114
|
+
paneName: string | number | undefined;
|
115
|
+
active: boolean;
|
116
|
+
index: string | undefined;
|
117
|
+
isClosable: boolean;
|
118
|
+
}, ev: Event) => any;
|
119
|
+
"tab-change": (name: import('element-plus').TabPaneName) => any;
|
120
|
+
"tab-remove": (name: import('element-plus').TabPaneName) => any;
|
121
|
+
"tab-add": () => any;
|
122
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
123
|
+
$slots: {
|
124
|
+
"right-extra"?(_: {}): any;
|
125
|
+
default?(_: {}): any;
|
126
|
+
};
|
127
|
+
})> & {
|
67
128
|
TabPane: typeof TabPane;
|
68
129
|
};
|
69
130
|
export default _default;
|
70
131
|
export * from './tabs';
|
71
|
-
export * from './tab-bar';
|
72
|
-
export * from './tab-nav';
|
73
132
|
export * from './tab-pane';
|
74
|
-
export * from './constants';
|