yuyeon 0.3.2-rc.9 → 0.3.4-beta.9
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/style.css +1 -1
- package/dist/yuyeon.js +3414 -3201
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/draggable/YDraggable.js.map +1 -1
- package/lib/components/draggable/index.js +2 -0
- package/lib/components/draggable/index.js.map +1 -0
- package/lib/components/field-input/YFieldInput.js +4 -2
- package/lib/components/field-input/YFieldInput.js.map +1 -1
- package/lib/components/input/YInput.scss +1 -1
- package/lib/components/radio/YRadio.js +58 -0
- package/lib/components/radio/YRadio.js.map +1 -0
- package/lib/components/radio/YRadio.scss +38 -0
- package/lib/components/radio/YRadioIcon.js +33 -0
- package/lib/components/radio/YRadioIcon.js.map +1 -0
- package/lib/components/radio/YRadioIcon.scss +44 -0
- package/lib/components/radio/index.js +3 -0
- package/lib/components/radio/index.js.map +1 -0
- package/lib/components/select/YSelect.js +0 -1
- package/lib/components/select/YSelect.js.map +1 -1
- package/lib/components/table/YDataTable.js +26 -13
- package/lib/components/table/YDataTable.js.map +1 -1
- package/lib/components/table/YDataTableBody.js +14 -18
- package/lib/components/table/YDataTableBody.js.map +1 -1
- package/lib/components/table/YDataTableControl.js +8 -6
- package/lib/components/table/YDataTableControl.js.map +1 -1
- package/lib/components/table/YDataTableControl.scss +10 -0
- package/lib/components/table/YDataTableLayerRow.js +87 -0
- package/lib/components/table/YDataTableLayerRow.js.map +1 -0
- package/lib/components/table/YDataTableLayerRow.vue +7 -6
- package/lib/components/table/YDataTableLayerRows.js +60 -0
- package/lib/components/table/YDataTableLayerRows.js.map +1 -0
- package/lib/components/table/YDataTableLayerRows.scss +14 -0
- package/lib/components/table/YDataTableRow.js +13 -5
- package/lib/components/table/YDataTableRow.js.map +1 -1
- package/lib/components/table/YDataTableRows.scss +14 -0
- package/lib/components/table/YDataTableServer.js +20 -8
- package/lib/components/table/YDataTableServer.js.map +1 -1
- package/lib/components/table/composables/expand.js +49 -0
- package/lib/components/table/composables/expand.js.map +1 -0
- package/lib/components/table/composables/items.js +8 -2
- package/lib/components/table/composables/items.js.map +1 -1
- package/lib/components/table/index.js +2 -0
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/types/item.js.map +1 -1
- package/lib/components/text-highlighter/YTextHighlighter.js +2 -1
- package/lib/components/text-highlighter/YTextHighlighter.js.map +1 -1
- package/lib/components/tree-view/YTreeViewNode.js +6 -2
- package/lib/components/tree-view/YTreeViewNode.js.map +1 -1
- package/lib/composables/style-color.js +1 -2
- package/lib/composables/style-color.js.map +1 -1
- package/lib/composables/theme/index.js +8 -1
- package/lib/composables/theme/index.js.map +1 -1
- package/lib/composables/validation.js +7 -4
- package/lib/composables/validation.js.map +1 -1
- package/lib/directives/index.js +3 -0
- package/lib/directives/index.js.map +1 -0
- package/lib/directives/plate-wave/index.js +2 -2
- package/lib/directives/plate-wave/index.js.map +1 -1
- package/lib/directives/theme-class/index.js +24 -0
- package/lib/directives/theme-class/index.js.map +1 -0
- package/lib/util/string.js +3 -0
- package/lib/util/string.js.map +1 -1
- package/package.json +13 -2
- package/types/abstract/items.d.ts +4 -4
- package/types/components/badge/YBadge.d.ts +4 -7
- package/types/components/button/YButton.d.ts +8 -8
- package/types/components/chip/YChip.d.ts +1 -4
- package/types/components/date-picker/YDateCalendar.d.ts +1 -1
- package/types/components/date-picker/YDatePicker.d.ts +1 -1
- package/types/components/date-picker/YDatePickerControl.d.ts +5 -5
- package/types/components/dialog/YDialog.d.ts +58 -58
- package/types/components/draggable/index.d.ts +1 -0
- package/types/components/dropdown/YDropdown.d.ts +55 -55
- package/types/components/field-input/YFieldInput.d.ts +19 -13
- package/types/components/hover/YHover.d.ts +3 -3
- package/types/components/icon/YIcon.d.ts +2 -2
- package/types/components/img/YImg.d.ts +5 -5
- package/types/components/input/YInput.d.ts +9 -9
- package/types/components/ip-field/YIpv4Field.d.ts +1 -1
- package/types/components/layer/YLayer.d.ts +26 -26
- package/types/components/layer/content.d.ts +1 -1
- package/types/components/layer/scroll-strategies.d.ts +1 -1
- package/types/components/list/YListItem.d.ts +1 -1
- package/types/components/menu/YMenu.d.ts +9 -9
- package/types/components/pagination/YPagination.d.ts +5 -5
- package/types/components/radio/YRadio.d.ts +25 -0
- package/types/components/radio/YRadioIcon.d.ts +6 -0
- package/types/components/radio/index.d.ts +2 -0
- package/types/components/select/YSelect.d.ts +68 -62
- package/types/components/snackbar/YSnackbar.d.ts +33 -33
- package/types/components/switch/YSwitch.d.ts +10 -10
- package/types/components/tab/YTab.d.ts +12 -12
- package/types/components/tab/YTabs.d.ts +4 -4
- package/types/components/table/YDataTable.d.ts +40 -15
- package/types/components/table/YDataTableBody.d.ts +3 -5
- package/types/components/table/YDataTableControl.d.ts +14 -2
- package/types/components/table/YDataTableHead.d.ts +2 -2
- package/types/components/table/YDataTableLayerRow.d.ts +22 -0
- package/types/components/table/YDataTableLayerRows.d.ts +9 -0
- package/types/components/table/YDataTableServer.d.ts +60 -26
- package/types/components/table/YTable.d.ts +4 -4
- package/types/components/table/composables/expand.d.ts +42 -0
- package/types/components/table/composables/header.d.ts +1 -1
- package/types/components/table/composables/items.d.ts +3 -3
- package/types/components/table/composables/pagination.d.ts +2 -2
- package/types/components/table/composables/selection.d.ts +3 -3
- package/types/components/table/composables/sorting.d.ts +1 -1
- package/types/components/table/index.d.ts +2 -0
- package/types/components/table/types/item.d.ts +1 -0
- package/types/components/textarea/YTextarea.d.ts +18 -18
- package/types/components/tooltip/YTooltip.d.ts +46 -46
- package/types/components/tree-view/YTreeView.d.ts +4 -4
- package/types/components/tree-view/YTreeViewNode.d.ts +8 -8
- package/types/composables/choice.d.ts +1 -1
- package/types/composables/coordinate/index.d.ts +8 -8
- package/types/composables/form.d.ts +2 -2
- package/types/composables/icon.d.ts +2 -2
- package/types/composables/list-items.d.ts +10 -10
- package/types/composables/style-color.d.ts +0 -1
- package/types/composables/theme/index.d.ts +1 -0
- package/types/composables/transition.d.ts +1 -1
- package/types/composables/validation.d.ts +3 -3
- package/types/directives/index.d.ts +2 -0
- package/types/directives/plate-wave/index.d.ts +7 -1
- package/types/shims.d.ts +64 -56
- package/types/util/string.d.ts +1 -0
- /package/types/directives/{theme-class.d.ts → theme-class/index.d.ts} +0 -0
|
@@ -22,7 +22,7 @@ declare const listItemsPropsOptions: {
|
|
|
22
22
|
itemKey: Omit<{
|
|
23
23
|
type: import('vue').PropType<string>;
|
|
24
24
|
default: string;
|
|
25
|
-
}, "
|
|
25
|
+
}, "type" | "default"> & {
|
|
26
26
|
type: import('vue').PropType<string>;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
@@ -33,7 +33,7 @@ declare const listItemsPropsOptions: {
|
|
|
33
33
|
itemChildren: Omit<{
|
|
34
34
|
type: import('vue').PropType<string | boolean>;
|
|
35
35
|
default: string;
|
|
36
|
-
}, "
|
|
36
|
+
}, "type" | "default"> & {
|
|
37
37
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
38
38
|
default: NonNullable<string | boolean>;
|
|
39
39
|
};
|
|
@@ -56,23 +56,23 @@ export declare const pressListItemsPropsOptions: <Defaults extends {
|
|
|
56
56
|
} : Omit<{
|
|
57
57
|
type: import('vue').PropType<any[]>;
|
|
58
58
|
default: () => never[];
|
|
59
|
-
}, "
|
|
59
|
+
}, "type" | "default"> & {
|
|
60
60
|
type: import('vue').PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
61
61
|
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
62
62
|
};
|
|
63
63
|
itemKey: unknown extends Defaults["itemKey"] ? Omit<{
|
|
64
64
|
type: import('vue').PropType<string>;
|
|
65
65
|
default: string;
|
|
66
|
-
}, "
|
|
66
|
+
}, "type" | "default"> & {
|
|
67
67
|
type: import('vue').PropType<string>;
|
|
68
68
|
default: string;
|
|
69
69
|
} : Omit<Omit<{
|
|
70
70
|
type: import('vue').PropType<string>;
|
|
71
71
|
default: string;
|
|
72
|
-
}, "
|
|
72
|
+
}, "type" | "default"> & {
|
|
73
73
|
type: import('vue').PropType<string>;
|
|
74
74
|
default: string;
|
|
75
|
-
}, "
|
|
75
|
+
}, "type" | "default"> & {
|
|
76
76
|
type: import('vue').PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
77
77
|
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
78
78
|
};
|
|
@@ -82,23 +82,23 @@ export declare const pressListItemsPropsOptions: <Defaults extends {
|
|
|
82
82
|
} : Omit<{
|
|
83
83
|
type: import('vue').PropType<string>;
|
|
84
84
|
default: string;
|
|
85
|
-
}, "
|
|
85
|
+
}, "type" | "default"> & {
|
|
86
86
|
type: import('vue').PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
87
87
|
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
88
88
|
};
|
|
89
89
|
itemChildren: unknown extends Defaults["itemChildren"] ? Omit<{
|
|
90
90
|
type: import('vue').PropType<string | boolean>;
|
|
91
91
|
default: string;
|
|
92
|
-
}, "
|
|
92
|
+
}, "type" | "default"> & {
|
|
93
93
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
94
94
|
default: NonNullable<string | boolean>;
|
|
95
95
|
} : Omit<Omit<{
|
|
96
96
|
type: import('vue').PropType<string | boolean>;
|
|
97
97
|
default: string;
|
|
98
|
-
}, "
|
|
98
|
+
}, "type" | "default"> & {
|
|
99
99
|
type: import('vue').PropType<NonNullable<string | boolean>>;
|
|
100
100
|
default: NonNullable<string | boolean>;
|
|
101
|
-
}, "
|
|
101
|
+
}, "type" | "default"> & {
|
|
102
102
|
type: import('vue').PropType<unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : Defaults["itemChildren"] | NonNullable<NonNullable<string | boolean>>>;
|
|
103
103
|
default: unknown extends Defaults["itemChildren"] ? NonNullable<string | boolean> : Defaults["itemChildren"] | NonNullable<NonNullable<string | boolean>>;
|
|
104
104
|
};
|
|
@@ -5,7 +5,6 @@ export declare const styleColorPropsOptions: {
|
|
|
5
5
|
background: StringConstructor;
|
|
6
6
|
backgroundOpacity: {
|
|
7
7
|
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
8
|
};
|
|
10
9
|
};
|
|
11
10
|
export declare function useStyleColor(props: ExtractPropTypes<typeof styleColorPropsOptions>, name: string): {
|
|
@@ -43,6 +43,7 @@ export declare function createThemeModule(options: ThemeOptions): {
|
|
|
43
43
|
scheme: Ref<string, string>;
|
|
44
44
|
theme: Ref<[string, string], [string, string]>;
|
|
45
45
|
currentThemeKey: ComputedRef<string>;
|
|
46
|
+
currentThemeColors: ComputedRef<Record<string, string>>;
|
|
46
47
|
themeClasses: ComputedRef<string>;
|
|
47
48
|
computedThemes: ComputedRef<Record<string, import('./types').ThemeDefinition>>;
|
|
48
49
|
computedPalette: ComputedRef<Record<string, string>>;
|
|
@@ -13,7 +13,7 @@ export declare const pressPolyTransitionPropsOptions: <Defaults extends {
|
|
|
13
13
|
is?: Component | undefined;
|
|
14
14
|
})>;
|
|
15
15
|
default: string;
|
|
16
|
-
}, "
|
|
16
|
+
}, "type" | "default"> & {
|
|
17
17
|
type: PropType<unknown extends Defaults["transition"] ? string | (TransitionProps & {
|
|
18
18
|
is?: Component | undefined;
|
|
19
19
|
}) : NonNullable<string | (TransitionProps & {
|
|
@@ -27,7 +27,7 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
27
27
|
} : Omit<{
|
|
28
28
|
type: PropType<"error" | "warning" | "success" | undefined>;
|
|
29
29
|
validator(value: string): boolean;
|
|
30
|
-
}, "
|
|
30
|
+
}, "type" | "default"> & {
|
|
31
31
|
type: PropType<unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>>;
|
|
32
32
|
default: unknown extends Defaults["status"] ? "error" | "warning" | "success" | undefined : Defaults["status"] | NonNullable<"error" | "warning" | "success" | undefined>;
|
|
33
33
|
};
|
|
@@ -43,7 +43,7 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
43
43
|
type: PropType<string>;
|
|
44
44
|
} : Omit<{
|
|
45
45
|
type: PropType<string>;
|
|
46
|
-
}, "
|
|
46
|
+
}, "type" | "default"> & {
|
|
47
47
|
type: PropType<unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"]>;
|
|
48
48
|
default: unknown extends Defaults["validateOn"] ? string : string | Defaults["validateOn"];
|
|
49
49
|
};
|
|
@@ -57,7 +57,7 @@ export declare const pressValidationPropsOptions: <Defaults extends {
|
|
|
57
57
|
} : Omit<{
|
|
58
58
|
type: PropType<string | number>;
|
|
59
59
|
default: number;
|
|
60
|
-
}, "
|
|
60
|
+
}, "type" | "default"> & {
|
|
61
61
|
type: PropType<unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>>;
|
|
62
62
|
default: unknown extends Defaults["maxErrors"] ? string | number : Defaults["maxErrors"] | NonNullable<string | number>;
|
|
63
63
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DirectiveBinding } from 'vue';
|
|
1
|
+
import { Directive, DirectiveBinding } from 'vue';
|
|
2
2
|
|
|
3
3
|
export interface PlateWaveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
|
|
4
4
|
value?: boolean;
|
|
@@ -11,4 +11,10 @@ export declare const PlateWave: {
|
|
|
11
11
|
updated(el: HTMLElement, binding: PlateWaveBinding): void;
|
|
12
12
|
unmount(el: HTMLElement): void;
|
|
13
13
|
};
|
|
14
|
+
export type PlateWaveDirective = Directive<HTMLElement, PlateWaveBinding>;
|
|
15
|
+
declare module 'vue' {
|
|
16
|
+
interface ComponentCustomProperties {
|
|
17
|
+
vPlateWave: PlateWaveDirective;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
14
20
|
export default PlateWave;
|
package/types/shims.d.ts
CHANGED
|
@@ -1,56 +1,64 @@
|
|
|
1
|
-
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableServer, YDateCalendar, YDatePicker, YDialog, YDividePanel, YDivider, YDropdown, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YInput, YInputCheckbox, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextHighlighter, YTextarea, YTi, YTooltip, YTreeView, YTreeViewNode
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare module '
|
|
5
|
-
export interface GlobalComponents {
|
|
6
|
-
// @define-components
|
|
7
|
-
YApp:
|
|
8
|
-
YButton:
|
|
9
|
-
YChip:
|
|
10
|
-
YInput:
|
|
11
|
-
YFieldInput:
|
|
12
|
-
YTextarea:
|
|
13
|
-
YForm:
|
|
14
|
-
YCard:
|
|
15
|
-
YCardBody:
|
|
16
|
-
YCardHeader:
|
|
17
|
-
YCardFooter:
|
|
18
|
-
YDialog:
|
|
19
|
-
YLayer:
|
|
20
|
-
YSnackbar:
|
|
21
|
-
YProgressBar:
|
|
22
|
-
YSpinnerRing:
|
|
23
|
-
YTooltip:
|
|
24
|
-
YExpandVTransition:
|
|
25
|
-
YExpandHTransition:
|
|
26
|
-
YDividePanel:
|
|
27
|
-
YList:
|
|
28
|
-
YListItem:
|
|
29
|
-
YTreeView:
|
|
30
|
-
YTreeViewNode:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
1
|
+
import { YAlert, YApp, YBadge, YButton, YCard, YCardBody, YCardFooter, YCardHeader, YCheckbox, YChip, YDataTable, YDataTableLayerRow, YDataTableLayerRows, YDataTableServer, YDateCalendar, YDatePicker, YDialog, YDividePanel, YDivider, YDropdown, YExpandHTransition, YExpandVTransition, YFieldInput, YForm, YHover, YIcon, YInput, YInputCheckbox, YIpv4Field, YLayer, YList, YListItem, YMenu, YMonthPicker, YPagination, YProgressBar, YProgressRing, YSelect, YSnackbar, YSpinnerRing, YSwitch, YTab, YTable, YTabs, YTextEllipsis, YTextHighlighter, YTextarea, YTi, YTooltip, YTreeView, YTreeViewNode } from 'yuyeon/components';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
declare module 'vue' {
|
|
5
|
+
export interface GlobalComponents {
|
|
6
|
+
// @define-components
|
|
7
|
+
YApp: YApp;
|
|
8
|
+
YButton: YButton;
|
|
9
|
+
YChip: YChip;
|
|
10
|
+
YInput: YInput;
|
|
11
|
+
YFieldInput: YFieldInput;
|
|
12
|
+
YTextarea: YTextarea;
|
|
13
|
+
YForm: YForm;
|
|
14
|
+
YCard: YCard;
|
|
15
|
+
YCardBody: YCardBody;
|
|
16
|
+
YCardHeader: YCardHeader;
|
|
17
|
+
YCardFooter: YCardFooter;
|
|
18
|
+
YDialog: YDialog;
|
|
19
|
+
YLayer: YLayer;
|
|
20
|
+
YSnackbar: YSnackbar;
|
|
21
|
+
YProgressBar: YProgressBar;
|
|
22
|
+
YSpinnerRing: YSpinnerRing;
|
|
23
|
+
YTooltip: YTooltip;
|
|
24
|
+
YExpandVTransition: YExpandVTransition;
|
|
25
|
+
YExpandHTransition: YExpandHTransition;
|
|
26
|
+
YDividePanel: YDividePanel;
|
|
27
|
+
YList: YList;
|
|
28
|
+
YListItem: YListItem;
|
|
29
|
+
YTreeView: YTreeView;
|
|
30
|
+
YTreeViewNode: YTreeViewNode;
|
|
31
|
+
YTable: YTable;
|
|
32
|
+
YDataTable: YDataTable;
|
|
33
|
+
YDataTableLayerRows: YDataTableLayerRows;
|
|
34
|
+
YDataTableLayerRow: YDataTableLayerRow;
|
|
35
|
+
YDataTableServer: YDataTableServer;
|
|
36
|
+
YMenu: YMenu;
|
|
37
|
+
YPagination: YPagination;
|
|
38
|
+
YInputCheckbox: YInputCheckbox;
|
|
39
|
+
YCheckbox: YCheckbox;
|
|
40
|
+
YSwitch: YSwitch;
|
|
41
|
+
YDropdown: YDropdown;
|
|
42
|
+
YSelect: YSelect;
|
|
43
|
+
YAlert: YAlert;
|
|
44
|
+
YTabs: YTabs;
|
|
45
|
+
YTab: YTab;
|
|
46
|
+
YDivider: YDivider;
|
|
47
|
+
YDateCalendar: YDateCalendar;
|
|
48
|
+
YIcon: YIcon;
|
|
49
|
+
YDatePicker: YDatePicker;
|
|
50
|
+
YMonthPicker: YMonthPicker;
|
|
51
|
+
YBadge: YBadge;
|
|
52
|
+
YIpv4Field: YIpv4Field;
|
|
53
|
+
YHover: YHover;
|
|
54
|
+
YTi: YTi;
|
|
55
|
+
YTextHighlighter: YTextHighlighter;
|
|
56
|
+
YProgressRing: YProgressRing;
|
|
57
|
+
YTextEllipsis: YTextEllipsis;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface GlobalDirectives {
|
|
61
|
+
vPlateWave: (typeof import('yuyeon/directives'))['PlateWave'];
|
|
62
|
+
vComplementClick: (typeof import('yuyeon/directives'))['ComplementClick'];
|
|
63
|
+
}
|
|
64
|
+
}
|
package/types/util/string.d.ts
CHANGED
|
File without changes
|