@teammodlr/ui-kit 2.0.16 → 2.0.19
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/lib/components/dropdown/DropdownItem.vue.d.ts +10 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/select/Select.vue.d.ts +1 -1
- package/lib/components/transfer/Transfer.vue.d.ts +67 -0
- package/lib/components/transfer/style/Transfer.css.d.ts +7 -0
- package/lib/components/transfer/style/index.d.ts +1 -0
- package/lib/index.cjs.js +4 -4
- package/lib/index.es.js +1707 -1562
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/components/dropdown/DropdownItem.vue +17 -4
- package/src/components/dropdown/examples/basic.vue +1 -1
- package/src/components/dropdown/style/Dropdown.css.ts +1 -0
- package/src/components/index.ts +2 -1
- package/src/components/transfer/Transfer.vue +144 -0
- package/src/components/transfer/examples/basic.vue +21 -0
- package/src/components/transfer/examples/index.stories.ts +16 -0
- package/src/components/transfer/examples/index.ts +1 -0
- package/src/components/transfer/style/Transfer.css.ts +68 -0
- package/src/components/transfer/style/index.ts +1 -0
|
@@ -25,6 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: null;
|
|
27
27
|
};
|
|
28
|
+
href: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: null;
|
|
31
|
+
};
|
|
28
32
|
}, {
|
|
29
33
|
wrapper: import("vue").Ref<null>;
|
|
30
34
|
hasIconLeft: import("vue").ComputedRef<boolean>;
|
|
@@ -32,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
36
|
handleSelect: () => void;
|
|
33
37
|
computedWrapperClasses: import("vue").ComputedRef<string[]>;
|
|
34
38
|
style: typeof style;
|
|
39
|
+
computedType: import("vue").ComputedRef<"li" | "a">;
|
|
35
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
41
|
label: {
|
|
37
42
|
type: (StringConstructor | NumberConstructor)[];
|
|
@@ -57,10 +62,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
62
|
type: StringConstructor;
|
|
58
63
|
default: null;
|
|
59
64
|
};
|
|
65
|
+
href: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
60
69
|
}>> & {}, {
|
|
61
70
|
label: string | number;
|
|
62
71
|
onSelect: (label: string | number) => void;
|
|
63
72
|
disabled: boolean;
|
|
73
|
+
href: string;
|
|
64
74
|
description: string;
|
|
65
75
|
reference: boolean;
|
|
66
76
|
hotkey: string;
|
|
@@ -36,3 +36,4 @@ export { default as MModal } from './modal/Modal.vue';
|
|
|
36
36
|
export { default as MColorPicker } from './colorpicker/ColorPicker.vue';
|
|
37
37
|
export { default as MSlider } from './slider/Slider.vue';
|
|
38
38
|
export { default as MMessageProvider } from './messageprovider/MessageProvider.vue';
|
|
39
|
+
export { default as MTransfer } from './transfer/Transfer.vue';
|
|
@@ -186,9 +186,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
186
186
|
placeholder: string;
|
|
187
187
|
description: string;
|
|
188
188
|
transitionName: string;
|
|
189
|
+
optionLabel: string;
|
|
189
190
|
searchable: boolean;
|
|
190
191
|
optionValue: string;
|
|
191
|
-
optionLabel: string;
|
|
192
192
|
consistentWidth: boolean;
|
|
193
193
|
}>;
|
|
194
194
|
export default _default;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import * as style from "./style";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
options: {
|
|
4
|
+
type: ArrayConstructor;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
optionKey: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
optionLabel: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
sourceTitle: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
targetTitle: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
modelValue: {
|
|
24
|
+
type: ArrayConstructor;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
style: typeof style;
|
|
29
|
+
sourceData: import("vue").ComputedRef<unknown[]>;
|
|
30
|
+
targetData: import("vue").ComputedRef<unknown>;
|
|
31
|
+
wrapper: import("vue").Ref<HTMLElement | null>;
|
|
32
|
+
handleSourceClick: (option: any) => void;
|
|
33
|
+
handleTargetClick: (option: any) => void;
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
options: {
|
|
36
|
+
type: ArrayConstructor;
|
|
37
|
+
default: () => never[];
|
|
38
|
+
};
|
|
39
|
+
optionKey: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
optionLabel: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
sourceTitle: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
targetTitle: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
modelValue: {
|
|
56
|
+
type: ArrayConstructor;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
59
|
+
}>>, {
|
|
60
|
+
options: unknown[];
|
|
61
|
+
modelValue: unknown[];
|
|
62
|
+
optionKey: string;
|
|
63
|
+
optionLabel: string;
|
|
64
|
+
sourceTitle: string;
|
|
65
|
+
targetTitle: string;
|
|
66
|
+
}>;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const vars: {};
|
|
2
|
+
export declare const wrapper: string;
|
|
3
|
+
export declare const list: string;
|
|
4
|
+
export declare const listHeader: string;
|
|
5
|
+
export declare const listBody: string;
|
|
6
|
+
export declare const listContainer: string;
|
|
7
|
+
export declare const transferItem: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Transfer.css';
|