@oinone/kunlun-vue-ui-common 6.3.9 → 6.4.1
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/dist/icons/iconfont/iconfont.css +7 -3
- package/dist/icons/iconfont/iconfont.js +1 -1
- package/dist/icons/iconfont/iconfont.json +7 -0
- package/dist/icons/iconfont/iconfont.ttf +0 -0
- package/dist/icons/iconfont/iconfont.woff +0 -0
- package/dist/icons/iconfont/iconfont.woff2 +0 -0
- package/dist/icons/oinone-iconfont/iconfont.css +171 -3
- package/dist/icons/oinone-iconfont/iconfont.js +1 -1
- package/dist/icons/oinone-iconfont/iconfont.json +294 -0
- package/dist/icons/oinone-iconfont/iconfont.ttf +0 -0
- package/dist/icons/oinone-iconfont/iconfont.woff +0 -0
- package/dist/icons/oinone-iconfont/iconfont.woff2 +0 -0
- package/dist/oinone-kunlun-vue-ui-common.esm.js +2 -3
- package/dist/types/src/component/index.d.ts +2 -0
- package/dist/types/src/component/oio-button/props.d.ts +3 -0
- package/dist/types/src/component/oio-card/context.d.ts +12 -0
- package/dist/types/src/component/oio-card/index.d.ts +1 -0
- package/dist/types/src/component/oio-drawer/props.d.ts +18 -4
- package/dist/types/src/component/oio-drawer/typing.d.ts +4 -2
- package/dist/types/src/component/oio-drawer/useDrawer.d.ts +5 -1
- package/dist/types/src/component/oio-group/props.d.ts +3 -0
- package/dist/types/src/component/oio-inner-popup/props.d.ts +0 -2
- package/dist/types/src/component/oio-input/props.d.ts +18 -0
- package/dist/types/src/component/oio-modal/props.d.ts +18 -3
- package/dist/types/src/component/oio-modal/typing.d.ts +3 -5
- package/dist/types/src/component/oio-modal/useModal.d.ts +8 -3
- package/dist/types/src/component/oio-select/model.d.ts +2 -0
- package/dist/types/src/component/oio-select/props.d.ts +4 -0
- package/dist/types/src/component/oio-tabs/index.d.ts +1 -0
- package/dist/types/src/component/oio-tabs/props.d.ts +4 -0
- package/dist/types/src/component/oio-tabs/typing.d.ts +5 -0
- package/dist/types/src/component/oio-tree/events.d.ts +1 -1
- package/dist/types/src/component/oio-tree/props.d.ts +1 -35
- package/dist/types/src/component/vc-popup/index.d.ts +1 -0
- package/dist/types/src/component/vc-popup/props.d.ts +13 -0
- package/dist/types/src/context/form-context.d.ts +7 -0
- package/dist/types/src/context/index.d.ts +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/quick-utils/index.d.ts +1 -0
- package/dist/types/src/quick-utils/use-copy.d.ts +4 -0
- package/dist/types/src/util/PropRecordHelper.d.ts +1 -1
- package/icons/iconfont/iconfont.css +7 -3
- package/icons/iconfont/iconfont.js +1 -1
- package/icons/iconfont/iconfont.json +7 -0
- package/icons/iconfont/iconfont.ttf +0 -0
- package/icons/iconfont/iconfont.woff +0 -0
- package/icons/iconfont/iconfont.woff2 +0 -0
- package/icons/oinone-iconfont/iconfont.css +171 -3
- package/icons/oinone-iconfont/iconfont.js +1 -1
- package/icons/oinone-iconfont/iconfont.json +294 -0
- package/icons/oinone-iconfont/iconfont.ttf +0 -0
- package/icons/oinone-iconfont/iconfont.woff +0 -0
- package/icons/oinone-iconfont/iconfont.woff2 +0 -0
- package/package.json +5 -5
- package/src/component/index.ts +4 -0
- package/src/component/oio-button/props.ts +3 -0
- package/src/component/oio-card/context.ts +27 -0
- package/src/component/oio-card/index.ts +1 -0
- package/src/component/oio-close-icon/oio-close-icon.vue +2 -2
- package/src/component/oio-drawer/props.ts +13 -6
- package/src/component/oio-drawer/typing.ts +4 -2
- package/src/component/oio-drawer/useDrawer.ts +176 -27
- package/src/component/oio-group/props.ts +3 -0
- package/src/component/oio-inner-popup/props.ts +1 -2
- package/src/component/oio-input/props.ts +3 -0
- package/src/component/oio-modal/props.ts +13 -5
- package/src/component/oio-modal/typing.ts +3 -5
- package/src/component/oio-modal/useModal.ts +110 -20
- package/src/component/oio-select/model.ts +3 -0
- package/src/component/oio-select/props.ts +4 -0
- package/src/component/oio-tabs/index.ts +1 -0
- package/src/component/oio-tabs/props.ts +4 -0
- package/src/component/oio-tabs/typing.ts +5 -0
- package/src/component/oio-tree/events.ts +1 -1
- package/src/component/oio-tree/props.ts +1 -37
- package/src/component/vc-popup/index.ts +1 -0
- package/src/component/vc-popup/props.ts +14 -0
- package/src/component/vc-popup/usePopup.ts +2 -0
- package/src/context/form-context.ts +17 -0
- package/src/context/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/quick-utils/index.ts +1 -0
- package/src/quick-utils/use-copy.ts +56 -0
- package/src/util/PropRecordHelper.ts +9 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PopupDisplayAs } from './vc-popup';
|
|
1
2
|
export * from './oio-block';
|
|
2
3
|
export * from './oio-breadcrumb';
|
|
3
4
|
export * from './oio-button';
|
|
@@ -39,3 +40,4 @@ export * from './oio-tooltip';
|
|
|
39
40
|
export * from './oio-tree';
|
|
40
41
|
export * from './oio-tree-select';
|
|
41
42
|
export * from './oio-upload';
|
|
43
|
+
export { PopupDisplayAs };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
export interface OioCardContext {
|
|
3
|
+
scope: string | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare enum OioCardScope {
|
|
6
|
+
title = "title",
|
|
7
|
+
content = "content"
|
|
8
|
+
}
|
|
9
|
+
export declare const defaultOioCardContext: OioCardContext;
|
|
10
|
+
export declare const OioCardContextKey: InjectionKey<OioCardContext>;
|
|
11
|
+
export declare const useProviderOioCardContext: (state: Partial<OioCardContext>) => void;
|
|
12
|
+
export declare const useInjectOioCardContext: () => OioCardContext;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { DrawerPlacement } from './typing';
|
|
3
3
|
export declare const OioDrawerProps: {
|
|
4
4
|
data: {
|
|
5
5
|
type: ObjectConstructor;
|
|
@@ -36,6 +36,9 @@ export declare const OioDrawerProps: {
|
|
|
36
36
|
type: BooleanConstructor;
|
|
37
37
|
default: undefined;
|
|
38
38
|
};
|
|
39
|
+
'onUpdate:visible': {
|
|
40
|
+
type: PropType<(val: boolean) => void>;
|
|
41
|
+
};
|
|
39
42
|
closable: {
|
|
40
43
|
type: BooleanConstructor;
|
|
41
44
|
default: undefined;
|
|
@@ -44,6 +47,12 @@ export declare const OioDrawerProps: {
|
|
|
44
47
|
type: BooleanConstructor;
|
|
45
48
|
default: undefined;
|
|
46
49
|
};
|
|
50
|
+
displayAs: {
|
|
51
|
+
type: PropType<"drawer" | "modal">;
|
|
52
|
+
};
|
|
53
|
+
'onUpdate:displayAs': {
|
|
54
|
+
type: PropType<(val: "drawer" | "modal") => void>;
|
|
55
|
+
};
|
|
47
56
|
getTriggerContainer: {
|
|
48
57
|
type: PropType<(triggerNode: Node | HTMLElement) => Node | HTMLElement>;
|
|
49
58
|
};
|
|
@@ -55,7 +64,6 @@ export declare const OioDrawerProps: {
|
|
|
55
64
|
};
|
|
56
65
|
title: {
|
|
57
66
|
type: StringConstructor;
|
|
58
|
-
default: string;
|
|
59
67
|
};
|
|
60
68
|
help: {
|
|
61
69
|
type: StringConstructor;
|
|
@@ -65,11 +73,9 @@ export declare const OioDrawerProps: {
|
|
|
65
73
|
};
|
|
66
74
|
width: {
|
|
67
75
|
type: PropType<string | number>;
|
|
68
|
-
default: DrawerWidth;
|
|
69
76
|
};
|
|
70
77
|
height: {
|
|
71
78
|
type: PropType<string | number>;
|
|
72
|
-
default: DrawerHeight;
|
|
73
79
|
};
|
|
74
80
|
headerInvisible: {
|
|
75
81
|
type: BooleanConstructor;
|
|
@@ -79,6 +85,14 @@ export declare const OioDrawerProps: {
|
|
|
79
85
|
type: BooleanConstructor;
|
|
80
86
|
default: undefined;
|
|
81
87
|
};
|
|
88
|
+
enabledFullScreen: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
showPopupToggle: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
82
96
|
mask: {
|
|
83
97
|
type: BooleanConstructor;
|
|
84
98
|
default: undefined;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export declare enum DrawerWidth {
|
|
2
2
|
small = "20%",
|
|
3
3
|
medium = "40%",
|
|
4
|
-
large = "80%"
|
|
4
|
+
large = "80%",
|
|
5
|
+
full = "100%"
|
|
5
6
|
}
|
|
6
7
|
export declare enum DrawerHeight {
|
|
7
8
|
small = "30%",
|
|
8
9
|
medium = "50%",
|
|
9
|
-
large = "80%"
|
|
10
|
+
large = "80%",
|
|
11
|
+
full = "100%"
|
|
10
12
|
}
|
|
11
13
|
export declare enum DrawerPlacement {
|
|
12
14
|
top = "top",
|
|
@@ -2,8 +2,12 @@ export declare function useDrawer(props: any, context: any): {
|
|
|
2
2
|
placement: import("vue").ComputedRef<any>;
|
|
3
3
|
width: import("vue").ComputedRef<any>;
|
|
4
4
|
widthClassSuffix: import("vue").ComputedRef<string | undefined>;
|
|
5
|
-
height: import("vue").ComputedRef<
|
|
5
|
+
height: import("vue").ComputedRef<string | undefined>;
|
|
6
6
|
heightClassSuffix: import("vue").ComputedRef<string | undefined>;
|
|
7
|
+
modalDrawerClassName: import("vue").ComputedRef<string[]>;
|
|
8
|
+
isFullScreen: import("vue").Ref<boolean>;
|
|
9
|
+
onFullSwitch: () => void;
|
|
10
|
+
onDisplayAsSwitch: () => void;
|
|
7
11
|
data: import("vue").Ref<object>;
|
|
8
12
|
enter: (event: PointerEvent) => void;
|
|
9
13
|
cancel: (event: PointerEvent) => void;
|
|
@@ -6,7 +6,6 @@ declare type InnerPopupTeleportType = string | HTMLElement;
|
|
|
6
6
|
export declare const OioInnerPopupAppearanceProps: {
|
|
7
7
|
title: {
|
|
8
8
|
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
9
|
};
|
|
11
10
|
help: {
|
|
12
11
|
type: StringConstructor;
|
|
@@ -133,7 +132,6 @@ export declare const OioInnerPopupProps: {
|
|
|
133
132
|
};
|
|
134
133
|
title: {
|
|
135
134
|
type: StringConstructor;
|
|
136
|
-
default: string;
|
|
137
135
|
};
|
|
138
136
|
help: {
|
|
139
137
|
type: StringConstructor;
|
|
@@ -23,6 +23,9 @@ export declare const AInputProps: {
|
|
|
23
23
|
value: {
|
|
24
24
|
type: StringConstructor;
|
|
25
25
|
};
|
|
26
|
+
'onUpdate:value': {
|
|
27
|
+
type: PropType<(value: string) => void>;
|
|
28
|
+
};
|
|
26
29
|
defaultValue: {
|
|
27
30
|
type: StringConstructor;
|
|
28
31
|
};
|
|
@@ -68,6 +71,9 @@ export declare const OioInputProps: {
|
|
|
68
71
|
value: {
|
|
69
72
|
type: StringConstructor;
|
|
70
73
|
};
|
|
74
|
+
'onUpdate:value': {
|
|
75
|
+
type: PropType<(value: string) => void>;
|
|
76
|
+
};
|
|
71
77
|
defaultValue: {
|
|
72
78
|
type: StringConstructor;
|
|
73
79
|
};
|
|
@@ -98,6 +104,9 @@ export declare const AInputSearchProps: {
|
|
|
98
104
|
value: {
|
|
99
105
|
type: StringConstructor;
|
|
100
106
|
};
|
|
107
|
+
'onUpdate:value': {
|
|
108
|
+
type: PropType<(value: string) => void>;
|
|
109
|
+
};
|
|
101
110
|
defaultValue: {
|
|
102
111
|
type: StringConstructor;
|
|
103
112
|
};
|
|
@@ -143,6 +152,9 @@ export declare const OioInputSearchProps: {
|
|
|
143
152
|
value: {
|
|
144
153
|
type: StringConstructor;
|
|
145
154
|
};
|
|
155
|
+
'onUpdate:value': {
|
|
156
|
+
type: PropType<(value: string) => void>;
|
|
157
|
+
};
|
|
146
158
|
defaultValue: {
|
|
147
159
|
type: StringConstructor;
|
|
148
160
|
};
|
|
@@ -244,6 +256,9 @@ export declare const AInputPasswordProps: {
|
|
|
244
256
|
value: {
|
|
245
257
|
type: StringConstructor;
|
|
246
258
|
};
|
|
259
|
+
'onUpdate:value': {
|
|
260
|
+
type: PropType<(value: string) => void>;
|
|
261
|
+
};
|
|
247
262
|
defaultValue: {
|
|
248
263
|
type: StringConstructor;
|
|
249
264
|
};
|
|
@@ -293,6 +308,9 @@ export declare const OioInputPasswordProps: {
|
|
|
293
308
|
value: {
|
|
294
309
|
type: StringConstructor;
|
|
295
310
|
};
|
|
311
|
+
'onUpdate:value': {
|
|
312
|
+
type: PropType<(value: string) => void>;
|
|
313
|
+
};
|
|
296
314
|
defaultValue: {
|
|
297
315
|
type: StringConstructor;
|
|
298
316
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ModalWidthType } from './typing';
|
|
3
3
|
export declare const OioModalProps: {
|
|
4
4
|
data: {
|
|
5
5
|
type: ObjectConstructor;
|
|
@@ -37,6 +37,9 @@ export declare const OioModalProps: {
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
|
+
'onUpdate:visible': {
|
|
41
|
+
type: PropType<(val: boolean) => void>;
|
|
42
|
+
};
|
|
40
43
|
closable: {
|
|
41
44
|
type: BooleanConstructor;
|
|
42
45
|
default: undefined;
|
|
@@ -45,6 +48,12 @@ export declare const OioModalProps: {
|
|
|
45
48
|
type: BooleanConstructor;
|
|
46
49
|
default: undefined;
|
|
47
50
|
};
|
|
51
|
+
displayAs: {
|
|
52
|
+
type: PropType<"drawer" | "modal">;
|
|
53
|
+
};
|
|
54
|
+
'onUpdate:displayAs': {
|
|
55
|
+
type: PropType<(val: "drawer" | "modal") => void>;
|
|
56
|
+
};
|
|
48
57
|
destroyOnClose: {
|
|
49
58
|
type: BooleanConstructor;
|
|
50
59
|
default: undefined;
|
|
@@ -60,14 +69,12 @@ export declare const OioModalProps: {
|
|
|
60
69
|
};
|
|
61
70
|
title: {
|
|
62
71
|
type: StringConstructor;
|
|
63
|
-
default: string;
|
|
64
72
|
};
|
|
65
73
|
help: {
|
|
66
74
|
type: StringConstructor;
|
|
67
75
|
};
|
|
68
76
|
width: {
|
|
69
77
|
type: PropType<ModalWidthType>;
|
|
70
|
-
default: ModalWidth;
|
|
71
78
|
};
|
|
72
79
|
height: {
|
|
73
80
|
type: PropType<ModalWidthType>;
|
|
@@ -80,6 +87,14 @@ export declare const OioModalProps: {
|
|
|
80
87
|
type: BooleanConstructor;
|
|
81
88
|
default: undefined;
|
|
82
89
|
};
|
|
90
|
+
enabledFullScreen: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
showPopupToggle: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
83
98
|
mask: {
|
|
84
99
|
type: BooleanConstructor;
|
|
85
100
|
default: undefined;
|
|
@@ -2,15 +2,13 @@ export declare enum ModalWidth {
|
|
|
2
2
|
small = 560,
|
|
3
3
|
medium = 890,
|
|
4
4
|
large = 1200,
|
|
5
|
-
custom = "CUSTOM",
|
|
6
5
|
full = "100%"
|
|
7
6
|
}
|
|
8
7
|
export declare type ModalWidthType = number | string | keyof typeof ModalWidth;
|
|
9
8
|
export declare enum ModalHeight {
|
|
10
|
-
small = "
|
|
11
|
-
medium = "
|
|
12
|
-
large = "
|
|
13
|
-
custom = "CUSTOM",
|
|
9
|
+
small = "40vh",
|
|
10
|
+
medium = "60vh",
|
|
11
|
+
large = "90vh",
|
|
14
12
|
full = "100%"
|
|
15
13
|
}
|
|
16
14
|
export declare type ModalHeightType = number | string | keyof typeof ModalHeight;
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { ModalWidth } from './typing';
|
|
1
2
|
export declare function useModal(props: any, context: any): {
|
|
2
|
-
|
|
3
|
+
title: import("vue").ComputedRef<any>;
|
|
4
|
+
width: import("vue").ComputedRef<string | ModalWidth.small | ModalWidth.medium | ModalWidth.large | null | undefined>;
|
|
3
5
|
widthClassSuffix: import("vue").ComputedRef<string | undefined>;
|
|
6
|
+
height: import("vue").ComputedRef<string | null | undefined>;
|
|
4
7
|
heightClassSuffix: import("vue").ComputedRef<string | undefined>;
|
|
5
|
-
|
|
6
|
-
|
|
8
|
+
isFullScreen: import("vue").Ref<boolean>;
|
|
9
|
+
drawerModalClassName: import("vue").ComputedRef<string[]>;
|
|
10
|
+
onFullSwitch: () => void;
|
|
11
|
+
onDisplayAsSwitch: () => void;
|
|
7
12
|
data: import("vue").Ref<object>;
|
|
8
13
|
enter: (event: PointerEvent) => void;
|
|
9
14
|
cancel: (event: PointerEvent) => void;
|
|
@@ -5,6 +5,7 @@ export interface SelectItem<T = unknown> {
|
|
|
5
5
|
label: string;
|
|
6
6
|
state?: EnumOptionState;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
icon?: string;
|
|
8
9
|
data: T;
|
|
9
10
|
}
|
|
10
11
|
export interface SelectProperties {
|
|
@@ -12,6 +13,7 @@ export interface SelectProperties {
|
|
|
12
13
|
keyProp: string;
|
|
13
14
|
labelProp: string;
|
|
14
15
|
disabledProp: string;
|
|
16
|
+
iconProp?: string;
|
|
15
17
|
filterProp: string;
|
|
16
18
|
}
|
|
17
19
|
export declare const defaultSelectProperties: SelectProperties;
|
|
@@ -71,6 +71,10 @@ export declare const OioSelectProps: {
|
|
|
71
71
|
dropdownClassName: {
|
|
72
72
|
type: PropType<string | string[]>;
|
|
73
73
|
};
|
|
74
|
+
dropdownVisible: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: undefined;
|
|
77
|
+
};
|
|
74
78
|
getTriggerContainer: {
|
|
75
79
|
type: PropType<(triggerNode: Node | HTMLElement) => Node | HTMLElement>;
|
|
76
80
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { OioTabsBizStyle } from './typing';
|
|
2
3
|
export declare const DEFAULT_TABS_TITLE = "\u9009\u9879\u5361";
|
|
3
4
|
export declare const DEFAULT_TAB_TITLE = "\u9009\u9879\u9875";
|
|
4
5
|
export declare enum OioTabPosition {
|
|
@@ -82,6 +83,9 @@ export declare const OioTabsProps: {
|
|
|
82
83
|
type: {
|
|
83
84
|
type: PropType<OioTabsType | "line" | "card" | "editable-card">;
|
|
84
85
|
};
|
|
86
|
+
bizStyle: {
|
|
87
|
+
type: PropType<OioTabsBizStyle>;
|
|
88
|
+
};
|
|
85
89
|
layout: {
|
|
86
90
|
type: PropType<import("..").FormLayout | "horizontal" | "vertical" | "inline">;
|
|
87
91
|
};
|
|
@@ -1,39 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OioTreeNode } from '@oinone/kunlun-shared';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
export interface OioTreeNode<T = unknown> extends StandardTreeNode<T, OioTreeNode<T>> {
|
|
4
|
-
class?: string | string[];
|
|
5
|
-
style?: CSSStyle;
|
|
6
|
-
title?: string;
|
|
7
|
-
value: T;
|
|
8
|
-
/**
|
|
9
|
-
* 正在加载更多状态
|
|
10
|
-
*/
|
|
11
|
-
loadingMore?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* 预加载
|
|
14
|
-
*/
|
|
15
|
-
preloaded?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* 已加载(不再查询子节点)
|
|
18
|
-
*/
|
|
19
|
-
loaded?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* 正在加载状态
|
|
22
|
-
*/
|
|
23
|
-
loading?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* 是否显示checkbox, 默认: true
|
|
26
|
-
*/
|
|
27
|
-
checkbox?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* 是否可选择, 默认: true
|
|
30
|
-
*/
|
|
31
|
-
selectable?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* 是否禁用
|
|
34
|
-
*/
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
}
|
|
37
3
|
export declare const OioTreeProps: {
|
|
38
4
|
blockNode: {
|
|
39
5
|
type: BooleanConstructor;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { ReturnPromise, ReturnVoid } from '@oinone/kunlun-shared';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
+
export declare enum PopupDisplayAs {
|
|
4
|
+
drawer = "drawer",
|
|
5
|
+
modal = "modal"
|
|
6
|
+
}
|
|
3
7
|
export declare const VcPopupAppearanceProps: {
|
|
4
8
|
zIndex: {
|
|
5
9
|
type: NumberConstructor;
|
|
@@ -41,6 +45,9 @@ export declare const VcPopupControlProps: {
|
|
|
41
45
|
type: BooleanConstructor;
|
|
42
46
|
default: undefined;
|
|
43
47
|
};
|
|
48
|
+
'onUpdate:visible': {
|
|
49
|
+
type: PropType<(val: boolean) => void>;
|
|
50
|
+
};
|
|
44
51
|
closable: {
|
|
45
52
|
type: BooleanConstructor;
|
|
46
53
|
default: undefined;
|
|
@@ -49,6 +56,12 @@ export declare const VcPopupControlProps: {
|
|
|
49
56
|
type: BooleanConstructor;
|
|
50
57
|
default: undefined;
|
|
51
58
|
};
|
|
59
|
+
displayAs: {
|
|
60
|
+
type: PropType<"drawer" | "modal">;
|
|
61
|
+
};
|
|
62
|
+
'onUpdate:displayAs': {
|
|
63
|
+
type: PropType<(val: keyof typeof PopupDisplayAs) => void>;
|
|
64
|
+
};
|
|
52
65
|
destroyOnClose: {
|
|
53
66
|
type: BooleanConstructor;
|
|
54
67
|
default: undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
export interface OioDefaultFormContext {
|
|
3
|
+
getTriggerContainer: (triggerNode: Node | HTMLElement) => Node | HTMLElement;
|
|
4
|
+
}
|
|
5
|
+
export declare const OioDefaultFormContextKey: InjectionKey<OioDefaultFormContext>;
|
|
6
|
+
export declare const useProviderOioDefaultFormContext: (state: OioDefaultFormContext) => void;
|
|
7
|
+
export declare const useInjectOioDefaultFormContext: () => OioDefaultFormContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './form-context';
|
|
@@ -2,6 +2,7 @@ export * from './draggable';
|
|
|
2
2
|
export * from './use-resizable-handle';
|
|
3
3
|
export * from './use-cleanable-event';
|
|
4
4
|
export * from './use-click';
|
|
5
|
+
export * from './use-copy';
|
|
5
6
|
export * from './use-debounced-ref';
|
|
6
7
|
export * from './use-scroll-operator';
|
|
7
8
|
export * from './use-time-difference';
|
|
@@ -55,7 +55,7 @@ export declare class PropRecordHelper {
|
|
|
55
55
|
*/
|
|
56
56
|
static collectionSlots(slots: Slots, slotNames: SlotName[]): Record<string, Slot>;
|
|
57
57
|
private static HTML_INTERNAL_ATTRIBUTES;
|
|
58
|
-
static collectionBasicProps(attrs: Record<string, unknown>, classNames?: string[], style?: string | CSSStyle): Record<string, unknown>;
|
|
58
|
+
static collectionBasicProps(attrs: Record<string, unknown>, classNames?: string[], style?: string | Partial<CSSStyle>): Record<string, unknown>;
|
|
59
59
|
private static HTML_ATTRIBUTES_PREFIX;
|
|
60
60
|
private static collectionHTMLAttributes;
|
|
61
61
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "iconfont"; /* Project id 5011527 */
|
|
3
|
-
src: url('iconfont.woff2?t=
|
|
4
|
-
url('iconfont.woff?t=
|
|
5
|
-
url('iconfont.ttf?t=
|
|
3
|
+
src: url('iconfont.woff2?t=1765785584752') format('woff2'),
|
|
4
|
+
url('iconfont.woff?t=1765785584752') format('woff'),
|
|
5
|
+
url('iconfont.ttf?t=1765785584752') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.iconfont {
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.oinone-company-outlined:before {
|
|
17
|
+
content: "\e9b4";
|
|
18
|
+
}
|
|
19
|
+
|
|
16
20
|
.oinone-card-outlined:before {
|
|
17
21
|
content: "\e81e";
|
|
18
22
|
}
|