yuyeon 0.1.0-rc.13 → 0.1.0-rc.16
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/abstract/items.d.ts +49 -0
- package/dist/components/alert/YAlert.d.ts +24 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/app/YApp.d.ts +8 -0
- package/dist/components/app/index.d.ts +1 -0
- package/dist/components/badge/YBadge.d.ts +142 -0
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/bench/YBench.d.ts +4 -0
- package/dist/components/bench/index.d.ts +1 -0
- package/dist/components/button/YButton.d.ts +248 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/card/YCard.d.ts +12 -0
- package/dist/components/card/YCardBody.d.ts +2 -0
- package/dist/components/card/YCardFooter.d.ts +2 -0
- package/dist/components/card/YCardHeader.d.ts +2 -0
- package/dist/components/card/index.d.ts +4 -0
- package/dist/components/checkbox/YCheckbox.d.ts +48 -0
- package/dist/components/checkbox/YInputCheckbox.d.ts +55 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/chip/YChip.d.ts +36 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/date-picker/YDateCalendar.d.ts +143 -0
- package/dist/components/date-picker/YDatePicker.d.ts +123 -0
- package/dist/components/date-picker/YDatePickerControl.d.ts +129 -0
- package/dist/components/date-picker/YMonthPicker.d.ts +29 -0
- package/dist/components/date-picker/YYearPicker.d.ts +44 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/default-provider/YDefaultProvider.d.ts +0 -0
- package/dist/components/default-provider/index.d.ts +0 -0
- package/dist/components/dialog/YDialog.d.ts +2333 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/divider/YDivider.d.ts +16 -0
- package/dist/components/divider/index.d.ts +1 -0
- package/dist/components/dropdown/YDropdown.d.ts +651 -0
- package/dist/components/dropdown/index.d.ts +1 -0
- package/dist/components/field-input/YFieldInput.d.ts +416 -0
- package/dist/components/field-input/index.d.ts +1 -0
- package/dist/components/form/YForm.d.ts +42 -0
- package/dist/components/form/index.d.ts +1 -0
- package/dist/components/hover/YHover.d.ts +75 -0
- package/dist/components/icon/YIcon.d.ts +82 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icons/YIconCheckbox.d.ts +14 -0
- package/dist/components/icons/YIconClear.d.ts +1 -0
- package/dist/components/icons/YIconDropdown.d.ts +1 -0
- package/dist/components/icons/YIconExpand.d.ts +1 -0
- package/dist/components/icons/YIconPageControl.d.ts +21 -0
- package/dist/components/icons/YIconSort.d.ts +19 -0
- package/dist/components/icons/index.d.ts +89 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/input/YInput.d.ts +336 -0
- package/dist/components/input/index.d.ts +1 -0
- package/dist/components/layer/YLayer.d.ts +2089 -0
- package/dist/components/layer/active-delay.d.ts +4 -0
- package/dist/components/layer/active-stack.d.ts +16 -0
- package/dist/components/layer/base.d.ts +22 -0
- package/dist/components/layer/content.d.ts +21 -0
- package/dist/components/layer/index.d.ts +1 -0
- package/dist/components/layer/scroll-strategies.d.ts +41 -0
- package/dist/components/list/YList.d.ts +24 -0
- package/dist/components/list/YListItem.d.ts +55 -0
- package/dist/components/list/index.d.ts +2 -0
- package/dist/components/loading/YSpinnerRing.d.ts +3 -0
- package/dist/components/loading/index.d.ts +1 -0
- package/dist/components/menu/YMenu.d.ts +2188 -0
- package/dist/components/menu/index.d.ts +1 -0
- package/dist/components/navigation/YNavigation.d.ts +1 -0
- package/dist/components/navigation/index.d.ts +1 -0
- package/dist/components/pagination/YPagination.d.ts +177 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/panel/YDividePanel.d.ts +5 -0
- package/dist/components/panel/index.d.ts +1 -0
- package/dist/components/plate/YPlate.d.ts +11 -0
- package/dist/components/plate/index.d.ts +1 -0
- package/dist/components/progress-bar/YProgressBar.d.ts +78 -0
- package/dist/components/progress-bar/index.d.ts +1 -0
- package/dist/components/select/YSelect.d.ts +7241 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/snackbar/YSnackbar.d.ts +90 -0
- package/dist/components/snackbar/index.d.ts +1 -0
- package/dist/components/switch/YSwitch.d.ts +108 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/tab/YTab.d.ts +284 -0
- package/dist/components/tab/YTabs.d.ts +131 -0
- package/dist/components/tab/index.d.ts +3 -0
- package/dist/components/tab/shared.d.ts +4 -0
- package/dist/components/tab/types.d.ts +5 -0
- package/dist/components/table/YDataTable.d.ts +453 -0
- package/dist/components/table/YDataTableBody.d.ts +110 -0
- package/dist/components/table/YDataTableCell.d.ts +57 -0
- package/dist/components/table/YDataTableControl.d.ts +71 -0
- package/dist/components/table/YDataTableHead.d.ts +72 -0
- package/dist/components/table/YDataTableLayer.d.ts +12 -0
- package/dist/components/table/YDataTableRow.d.ts +49 -0
- package/dist/components/table/YDataTableServer.d.ts +490 -0
- package/dist/components/table/YTable.d.ts +84 -0
- package/dist/components/table/composibles/header.d.ts +69 -0
- package/dist/components/table/composibles/items.d.ts +55 -0
- package/dist/components/table/composibles/options.d.ts +11 -0
- package/dist/components/table/composibles/pagination.d.ts +81 -0
- package/dist/components/table/composibles/selection.d.ts +82 -0
- package/dist/components/table/composibles/sorting.d.ts +44 -0
- package/dist/components/table/index.d.ts +3 -0
- package/dist/components/table/types/common.d.ts +2 -0
- package/dist/components/table/types/header.d.ts +23 -0
- package/dist/components/table/types/index.d.ts +57 -0
- package/dist/components/table/types/item.d.ts +21 -0
- package/dist/components/table/types/row.d.ts +4 -0
- package/dist/components/text-ellipsis/YTextEllipsis.d.ts +15 -0
- package/dist/components/text-ellipsis/index.d.ts +1 -0
- package/dist/components/text-highlighter/YTextHighlighter.d.ts +41 -0
- package/dist/components/text-highlighter/index.d.ts +1 -0
- package/dist/components/textarea/YTextarea.d.ts +589 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/toggle-button/YToggleButton.d.ts +4 -0
- package/dist/components/toggle-button/index.d.ts +1 -0
- package/dist/components/tooltip/YTooltip.d.ts +3875 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/transitions/expand-transition.d.ts +17 -0
- package/dist/components/transitions/index.d.ts +32 -0
- package/dist/components/tree-view/YTreeView.d.ts +154 -0
- package/dist/components/tree-view/YTreeViewNode.d.ts +202 -0
- package/dist/components/tree-view/index.d.ts +2 -0
- package/dist/components/tree-view/types.d.ts +15 -0
- package/dist/components/tree-view/util.d.ts +6 -0
- package/dist/composables/choice-link.d.ts +3 -0
- package/dist/composables/choice.d.ts +113 -0
- package/dist/composables/communication.d.ts +8 -0
- package/dist/composables/component.d.ts +3 -0
- package/dist/composables/coordinate/arrangement.d.ts +7 -0
- package/dist/composables/coordinate/index.d.ts +1672 -0
- package/dist/composables/coordinate/levitation.d.ts +7 -0
- package/dist/composables/coordinate/types.d.ts +7 -0
- package/dist/composables/coordinate/utils/point.d.ts +22 -0
- package/dist/composables/date/factory.d.ts +3 -0
- package/dist/composables/date/index.d.ts +12 -0
- package/dist/composables/date/setting.d.ts +5 -0
- package/dist/composables/date/types.d.ts +13 -0
- package/dist/composables/dimension.d.ts +54 -0
- package/dist/composables/focus.d.ts +30 -0
- package/dist/composables/form.d.ts +127 -0
- package/dist/composables/i18n/index.d.ts +9 -0
- package/dist/composables/i18n/locale.d.ts +3 -0
- package/dist/composables/i18n/rtl.d.ts +21 -0
- package/dist/composables/i18n/share.d.ts +1 -0
- package/dist/composables/icon.d.ts +95 -0
- package/dist/composables/index.d.ts +9 -0
- package/dist/composables/layer-group.d.ts +8 -0
- package/dist/composables/layout.d.ts +10 -0
- package/dist/composables/list-items.d.ts +111 -0
- package/dist/composables/progress.d.ts +3 -0
- package/dist/composables/ref.d.ts +6 -0
- package/dist/composables/resize-observer.d.ts +14 -0
- package/dist/composables/scope.d.ts +3 -0
- package/dist/composables/theme/factory.d.ts +4 -0
- package/dist/composables/theme/helper.d.ts +3 -0
- package/dist/composables/theme/index.d.ts +56 -0
- package/dist/composables/theme/setting.d.ts +10 -0
- package/dist/composables/theme/types.d.ts +28 -0
- package/dist/composables/timing.d.ts +20 -0
- package/dist/composables/transition.d.ts +22 -0
- package/dist/composables/validation.d.ts +82 -0
- package/dist/composables/vue-router.d.ts +43 -0
- package/dist/directives/complement-click/index.d.ts +26 -0
- package/dist/directives/plate-wave/index.d.ts +14 -0
- package/dist/directives/theme-class.d.ts +4 -0
- package/dist/etc/index.d.ts +1 -0
- package/dist/globals.d.ts +20 -0
- package/dist/i18n/built-in.d.ts +3 -0
- package/dist/i18n/config.d.ts +81 -0
- package/dist/i18n/types.d.ts +20 -0
- package/dist/index.d.ts +13 -0
- package/dist/locales/en.d.ts +6 -0
- package/dist/locales/index.d.ts +2 -0
- package/dist/locales/ko.d.ts +6 -0
- package/dist/mixins/di.d.ts +2 -0
- package/dist/mixins/rebind-attrs.d.ts +5 -0
- package/dist/shims.d.ts +51 -0
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +7 -0
- package/dist/util/anchor.d.ts +23 -0
- package/dist/util/array.d.ts +2 -0
- package/dist/util/collection.d.ts +1 -0
- package/dist/util/color/apca.d.ts +29 -0
- package/dist/util/color/const.d.ts +5 -0
- package/dist/util/color/contrast/contrast.d.ts +74 -0
- package/dist/util/color/conversion.d.ts +131 -0
- package/dist/util/color/hct/cam16.d.ts +116 -0
- package/dist/util/color/hct/hct-solver.d.ts +131 -0
- package/dist/util/color/hct/hct.d.ts +71 -0
- package/dist/util/color/hct/viewing-conditions.d.ts +58 -0
- package/dist/util/color/index.d.ts +4 -0
- package/dist/util/color/palettes/core-palette.d.ts +44 -0
- package/dist/util/color/palettes/tonal-palette.d.ts +40 -0
- package/dist/util/color/types.d.ts +14 -0
- package/dist/util/color/utils/math-utils.d.ts +82 -0
- package/dist/util/common.d.ts +13 -0
- package/dist/util/date/adapters/yuyeon-date-adapter.d.ts +43 -0
- package/dist/util/date/built-in.d.ts +41 -0
- package/dist/util/date/index.d.ts +3 -0
- package/dist/util/date/types.d.ts +167 -0
- package/dist/util/debounce.d.ts +11 -0
- package/dist/util/dom.d.ts +3 -0
- package/dist/util/frame-scheduler.d.ts +7 -0
- package/dist/util/index.d.ts +16 -0
- package/dist/util/reactivity.d.ts +7 -0
- package/dist/util/rect.d.ts +36 -0
- package/dist/util/scroll.d.ts +3 -0
- package/dist/util/string.d.ts +4 -0
- package/dist/util/ui.d.ts +4 -0
- package/dist/util/validation.d.ts +3 -0
- package/dist/util/vue-component.d.ts +39 -0
- package/dist/yuyeon.js +2974 -2971
- package/dist/yuyeon.umd.cjs +13 -13
- package/lib/components/badge/YBadge.scss +0 -1
- package/lib/components/field-input/YFieldInput.scss +1 -1
- package/lib/components/layer/YLayer.mjs +15 -7
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/content.mjs +22 -0
- package/lib/components/layer/content.mjs.map +1 -0
- package/lib/components/menu/YMenu.mjs +1 -9
- package/lib/components/menu/YMenu.mjs.map +1 -1
- package/lib/components/select/YSelect.mjs +8 -5
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/composables/coordinate/index.mjs.map +1 -1
- package/lib/composables/icon.mjs.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/package.json +11 -11
- package/types/components/dialog/YDialog.d.ts +2 -2
- package/types/components/dropdown/YDropdown.d.ts +6 -6
- package/types/components/layer/YLayer.d.ts +6 -6
- package/types/components/menu/YMenu.d.ts +5 -5
- package/types/components/select/YSelect.d.ts +41 -41
- package/types/components/tooltip/YTooltip.d.ts +11 -11
- package/types/composables/coordinate/index.d.ts +4 -4
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const pressItemsPropsOptions: <Defaults extends {
|
|
4
|
+
items?: unknown;
|
|
5
|
+
itemKey?: unknown;
|
|
6
|
+
itemText?: unknown;
|
|
7
|
+
itemChildren?: unknown;
|
|
8
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
9
|
+
items: unknown extends Defaults["items"] ? {
|
|
10
|
+
type: PropType<any[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
} : Omit<{
|
|
13
|
+
type: PropType<any[]>;
|
|
14
|
+
default: () => never[];
|
|
15
|
+
}, "default" | "type"> & {
|
|
16
|
+
type: PropType<unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"]>;
|
|
17
|
+
default: unknown extends Defaults["items"] ? any[] : any[] | Defaults["items"];
|
|
18
|
+
};
|
|
19
|
+
itemKey: unknown extends Defaults["itemKey"] ? {
|
|
20
|
+
type: PropType<string>;
|
|
21
|
+
default: string;
|
|
22
|
+
} : Omit<{
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
}, "default" | "type"> & {
|
|
26
|
+
type: PropType<unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"]>;
|
|
27
|
+
default: unknown extends Defaults["itemKey"] ? string : string | Defaults["itemKey"];
|
|
28
|
+
};
|
|
29
|
+
itemText: unknown extends Defaults["itemText"] ? {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
default: string;
|
|
32
|
+
} : Omit<{
|
|
33
|
+
type: PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
}, "default" | "type"> & {
|
|
36
|
+
type: PropType<unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"]>;
|
|
37
|
+
default: unknown extends Defaults["itemText"] ? string : string | Defaults["itemText"];
|
|
38
|
+
};
|
|
39
|
+
itemChildren: unknown extends Defaults["itemChildren"] ? {
|
|
40
|
+
type: PropType<string | boolean>;
|
|
41
|
+
default: string;
|
|
42
|
+
} : Omit<{
|
|
43
|
+
type: PropType<string | boolean>;
|
|
44
|
+
default: string;
|
|
45
|
+
}, "default" | "type"> & {
|
|
46
|
+
type: PropType<unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"]>;
|
|
47
|
+
default: unknown extends Defaults["itemChildren"] ? string | boolean : NonNullable<string | boolean> | Defaults["itemChildren"];
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PropType, SlotsType } from 'vue';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* # Component
|
|
5
|
+
*/
|
|
6
|
+
export declare const YAlert: import('vue').DefineComponent<{
|
|
7
|
+
semantic: PropType<string>;
|
|
8
|
+
variation: PropType<string>;
|
|
9
|
+
color: PropType<string>;
|
|
10
|
+
textColor: PropType<string>;
|
|
11
|
+
outlineColor: PropType<string>;
|
|
12
|
+
}, void, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
semantic: PropType<string>;
|
|
14
|
+
variation: PropType<string>;
|
|
15
|
+
color: PropType<string>;
|
|
16
|
+
textColor: PropType<string>;
|
|
17
|
+
outlineColor: PropType<string>;
|
|
18
|
+
}>>, {}, SlotsType<{
|
|
19
|
+
leading: any;
|
|
20
|
+
trailing: any;
|
|
21
|
+
title: any;
|
|
22
|
+
default: any;
|
|
23
|
+
}>>;
|
|
24
|
+
export type YAlert = InstanceType<typeof YAlert>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YAlert';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* # App Component
|
|
4
|
+
*/
|
|
5
|
+
export declare const YApp: import('vue').DefineComponent<{}, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
8
|
+
export type YApp = InstanceType<typeof YApp>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YApp';
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { PropType, SlotsType } from 'vue';
|
|
2
|
+
import { IconValue } from '../../composables/icon';
|
|
3
|
+
|
|
4
|
+
export declare const pressYBadgePropsOptions: <Defaults extends {
|
|
5
|
+
tag?: unknown;
|
|
6
|
+
dot?: unknown;
|
|
7
|
+
bordered?: unknown;
|
|
8
|
+
floating?: unknown;
|
|
9
|
+
inline?: unknown;
|
|
10
|
+
icon?: unknown;
|
|
11
|
+
color?: unknown;
|
|
12
|
+
hide?: unknown;
|
|
13
|
+
label?: unknown;
|
|
14
|
+
content?: unknown;
|
|
15
|
+
max?: unknown;
|
|
16
|
+
transition?: unknown;
|
|
17
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
18
|
+
tag: unknown extends Defaults["tag"] ? {
|
|
19
|
+
type: PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
} : Omit<{
|
|
22
|
+
type: PropType<string>;
|
|
23
|
+
default: string;
|
|
24
|
+
}, "default" | "type"> & {
|
|
25
|
+
type: PropType<unknown extends Defaults["tag"] ? string : string | Defaults["tag"]>;
|
|
26
|
+
default: unknown extends Defaults["tag"] ? string : string | Defaults["tag"];
|
|
27
|
+
};
|
|
28
|
+
dot: unknown extends Defaults["dot"] ? BooleanConstructor : {
|
|
29
|
+
type: PropType<unknown extends Defaults["dot"] ? boolean : boolean | Defaults["dot"]>;
|
|
30
|
+
default: unknown extends Defaults["dot"] ? boolean : boolean | Defaults["dot"];
|
|
31
|
+
};
|
|
32
|
+
bordered: unknown extends Defaults["bordered"] ? BooleanConstructor : {
|
|
33
|
+
type: PropType<unknown extends Defaults["bordered"] ? boolean : boolean | Defaults["bordered"]>;
|
|
34
|
+
default: unknown extends Defaults["bordered"] ? boolean : boolean | Defaults["bordered"];
|
|
35
|
+
};
|
|
36
|
+
floating: unknown extends Defaults["floating"] ? BooleanConstructor : {
|
|
37
|
+
type: PropType<unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"]>;
|
|
38
|
+
default: unknown extends Defaults["floating"] ? boolean : boolean | Defaults["floating"];
|
|
39
|
+
};
|
|
40
|
+
inline: unknown extends Defaults["inline"] ? BooleanConstructor : {
|
|
41
|
+
type: PropType<unknown extends Defaults["inline"] ? boolean : boolean | Defaults["inline"]>;
|
|
42
|
+
default: unknown extends Defaults["inline"] ? boolean : boolean | Defaults["inline"];
|
|
43
|
+
};
|
|
44
|
+
icon: unknown extends Defaults["icon"] ? PropType<IconValue> : {
|
|
45
|
+
type: PropType<unknown extends Defaults["icon"] ? IconValue : NonNullable<IconValue> | Defaults["icon"]>;
|
|
46
|
+
default: unknown extends Defaults["icon"] ? IconValue : NonNullable<IconValue> | Defaults["icon"];
|
|
47
|
+
};
|
|
48
|
+
color: unknown extends Defaults["color"] ? StringConstructor : {
|
|
49
|
+
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
50
|
+
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
51
|
+
};
|
|
52
|
+
hide: unknown extends Defaults["hide"] ? BooleanConstructor : {
|
|
53
|
+
type: PropType<unknown extends Defaults["hide"] ? boolean : boolean | Defaults["hide"]>;
|
|
54
|
+
default: unknown extends Defaults["hide"] ? boolean : boolean | Defaults["hide"];
|
|
55
|
+
};
|
|
56
|
+
label: unknown extends Defaults["label"] ? {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
} : Omit<{
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
}, "default" | "type"> & {
|
|
63
|
+
type: PropType<unknown extends Defaults["label"] ? string : string | Defaults["label"]>;
|
|
64
|
+
default: unknown extends Defaults["label"] ? string : string | Defaults["label"];
|
|
65
|
+
};
|
|
66
|
+
content: unknown extends Defaults["content"] ? (StringConstructor | NumberConstructor)[] : {
|
|
67
|
+
type: PropType<unknown extends Defaults["content"] ? string | number : NonNullable<string | number> | Defaults["content"]>;
|
|
68
|
+
default: unknown extends Defaults["content"] ? string | number : NonNullable<string | number> | Defaults["content"];
|
|
69
|
+
};
|
|
70
|
+
max: unknown extends Defaults["max"] ? NumberConstructor : {
|
|
71
|
+
type: PropType<unknown extends Defaults["max"] ? number : number | Defaults["max"]>;
|
|
72
|
+
default: unknown extends Defaults["max"] ? number : number | Defaults["max"];
|
|
73
|
+
};
|
|
74
|
+
transition: unknown extends Defaults["transition"] ? {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
} : Omit<{
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
}, "default" | "type"> & {
|
|
81
|
+
type: PropType<unknown extends Defaults["transition"] ? string : string | Defaults["transition"]>;
|
|
82
|
+
default: unknown extends Defaults["transition"] ? string : string | Defaults["transition"];
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export declare const YBadge: import('vue').DefineComponent<{
|
|
86
|
+
tag: {
|
|
87
|
+
type: PropType<string>;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
dot: BooleanConstructor;
|
|
91
|
+
bordered: BooleanConstructor;
|
|
92
|
+
floating: BooleanConstructor;
|
|
93
|
+
inline: BooleanConstructor;
|
|
94
|
+
icon: PropType<IconValue>;
|
|
95
|
+
color: StringConstructor;
|
|
96
|
+
hide: BooleanConstructor;
|
|
97
|
+
label: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
content: (StringConstructor | NumberConstructor)[];
|
|
102
|
+
max: NumberConstructor;
|
|
103
|
+
transition: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
}, void, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
108
|
+
tag: {
|
|
109
|
+
type: PropType<string>;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
dot: BooleanConstructor;
|
|
113
|
+
bordered: BooleanConstructor;
|
|
114
|
+
floating: BooleanConstructor;
|
|
115
|
+
inline: BooleanConstructor;
|
|
116
|
+
icon: PropType<IconValue>;
|
|
117
|
+
color: StringConstructor;
|
|
118
|
+
hide: BooleanConstructor;
|
|
119
|
+
label: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
content: (StringConstructor | NumberConstructor)[];
|
|
124
|
+
max: NumberConstructor;
|
|
125
|
+
transition: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
}>>, {
|
|
130
|
+
label: string;
|
|
131
|
+
floating: boolean;
|
|
132
|
+
transition: string;
|
|
133
|
+
inline: boolean;
|
|
134
|
+
hide: boolean;
|
|
135
|
+
dot: boolean;
|
|
136
|
+
tag: string;
|
|
137
|
+
bordered: boolean;
|
|
138
|
+
}, SlotsType<{
|
|
139
|
+
default: any;
|
|
140
|
+
badge: any;
|
|
141
|
+
}>>;
|
|
142
|
+
export type YBadge = InstanceType<typeof YBadge>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YBadge';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* # Base Component
|
|
3
|
+
*/
|
|
4
|
+
export declare const YBench: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YBench';
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const pressYButtonProps: <Defaults extends {
|
|
4
|
+
value?: unknown;
|
|
5
|
+
disabled?: unknown;
|
|
6
|
+
selectedClass?: unknown;
|
|
7
|
+
href?: unknown;
|
|
8
|
+
replace?: unknown;
|
|
9
|
+
to?: unknown;
|
|
10
|
+
exact?: unknown;
|
|
11
|
+
loading?: unknown;
|
|
12
|
+
active?: unknown;
|
|
13
|
+
injectSymbol?: unknown;
|
|
14
|
+
variation?: unknown;
|
|
15
|
+
small?: unknown;
|
|
16
|
+
icon?: unknown;
|
|
17
|
+
outlined?: unknown;
|
|
18
|
+
rounded?: unknown;
|
|
19
|
+
filled?: unknown;
|
|
20
|
+
color?: unknown;
|
|
21
|
+
noWave?: unknown;
|
|
22
|
+
} = {}>(defaults?: Defaults | undefined) => {
|
|
23
|
+
value: unknown extends Defaults["value"] ? null : {
|
|
24
|
+
type: PropType<unknown extends Defaults["value"] ? any : any>;
|
|
25
|
+
default: unknown extends Defaults["value"] ? any : any;
|
|
26
|
+
};
|
|
27
|
+
disabled: unknown extends Defaults["disabled"] ? BooleanConstructor : {
|
|
28
|
+
type: PropType<unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"]>;
|
|
29
|
+
default: unknown extends Defaults["disabled"] ? boolean : boolean | Defaults["disabled"];
|
|
30
|
+
};
|
|
31
|
+
selectedClass: unknown extends Defaults["selectedClass"] ? StringConstructor : {
|
|
32
|
+
type: PropType<unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"]>;
|
|
33
|
+
default: unknown extends Defaults["selectedClass"] ? string : string | Defaults["selectedClass"];
|
|
34
|
+
};
|
|
35
|
+
href: unknown extends Defaults["href"] ? StringConstructor : {
|
|
36
|
+
type: PropType<unknown extends Defaults["href"] ? string : string | Defaults["href"]>;
|
|
37
|
+
default: unknown extends Defaults["href"] ? string : string | Defaults["href"];
|
|
38
|
+
};
|
|
39
|
+
replace: unknown extends Defaults["replace"] ? BooleanConstructor : {
|
|
40
|
+
type: PropType<unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"]>;
|
|
41
|
+
default: unknown extends Defaults["replace"] ? boolean : boolean | Defaults["replace"];
|
|
42
|
+
};
|
|
43
|
+
to: unknown extends Defaults["to"] ? PropType<import('vue-router').RouteLocationRaw> : {
|
|
44
|
+
type: PropType<unknown extends Defaults["to"] ? import('vue-router').RouteLocationRaw : NonNullable<import('vue-router').RouteLocationRaw> | Defaults["to"]>;
|
|
45
|
+
default: unknown extends Defaults["to"] ? import('vue-router').RouteLocationRaw : NonNullable<import('vue-router').RouteLocationRaw> | Defaults["to"];
|
|
46
|
+
};
|
|
47
|
+
exact: unknown extends Defaults["exact"] ? BooleanConstructor : {
|
|
48
|
+
type: PropType<unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"]>;
|
|
49
|
+
default: unknown extends Defaults["exact"] ? boolean : boolean | Defaults["exact"];
|
|
50
|
+
};
|
|
51
|
+
loading: unknown extends Defaults["loading"] ? BooleanConstructor : {
|
|
52
|
+
type: PropType<unknown extends Defaults["loading"] ? boolean : boolean | Defaults["loading"]>;
|
|
53
|
+
default: unknown extends Defaults["loading"] ? boolean : boolean | Defaults["loading"];
|
|
54
|
+
};
|
|
55
|
+
active: unknown extends Defaults["active"] ? {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: undefined;
|
|
58
|
+
} : Omit<{
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: undefined;
|
|
61
|
+
}, "default" | "type"> & {
|
|
62
|
+
type: PropType<unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"]>;
|
|
63
|
+
default: unknown extends Defaults["active"] ? boolean : boolean | Defaults["active"];
|
|
64
|
+
};
|
|
65
|
+
injectSymbol: unknown extends Defaults["injectSymbol"] ? {
|
|
66
|
+
type: null;
|
|
67
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
68
|
+
} : Omit<{
|
|
69
|
+
type: null;
|
|
70
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
71
|
+
}, "default" | "type"> & {
|
|
72
|
+
type: PropType<unknown extends Defaults["injectSymbol"] ? any : any>;
|
|
73
|
+
default: unknown extends Defaults["injectSymbol"] ? any : any;
|
|
74
|
+
};
|
|
75
|
+
variation: unknown extends Defaults["variation"] ? {
|
|
76
|
+
type: PropType<string>;
|
|
77
|
+
} : Omit<{
|
|
78
|
+
type: PropType<string>;
|
|
79
|
+
}, "default" | "type"> & {
|
|
80
|
+
type: PropType<unknown extends Defaults["variation"] ? string : string | Defaults["variation"]>;
|
|
81
|
+
default: unknown extends Defaults["variation"] ? string : string | Defaults["variation"];
|
|
82
|
+
};
|
|
83
|
+
small: unknown extends Defaults["small"] ? BooleanConstructor : {
|
|
84
|
+
type: PropType<unknown extends Defaults["small"] ? boolean : boolean | Defaults["small"]>;
|
|
85
|
+
default: unknown extends Defaults["small"] ? boolean : boolean | Defaults["small"];
|
|
86
|
+
};
|
|
87
|
+
icon: unknown extends Defaults["icon"] ? BooleanConstructor : {
|
|
88
|
+
type: PropType<unknown extends Defaults["icon"] ? boolean : boolean | Defaults["icon"]>;
|
|
89
|
+
default: unknown extends Defaults["icon"] ? boolean : boolean | Defaults["icon"];
|
|
90
|
+
};
|
|
91
|
+
outlined: unknown extends Defaults["outlined"] ? {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
} : Omit<{
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: boolean;
|
|
97
|
+
}, "default" | "type"> & {
|
|
98
|
+
type: PropType<unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"]>;
|
|
99
|
+
default: unknown extends Defaults["outlined"] ? boolean : boolean | Defaults["outlined"];
|
|
100
|
+
};
|
|
101
|
+
rounded: unknown extends Defaults["rounded"] ? {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
default: boolean;
|
|
104
|
+
} : Omit<{
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
}, "default" | "type"> & {
|
|
108
|
+
type: PropType<unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"]>;
|
|
109
|
+
default: unknown extends Defaults["rounded"] ? boolean : boolean | Defaults["rounded"];
|
|
110
|
+
};
|
|
111
|
+
filled: unknown extends Defaults["filled"] ? {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
} : Omit<{
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
}, "default" | "type"> & {
|
|
118
|
+
type: PropType<unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"]>;
|
|
119
|
+
default: unknown extends Defaults["filled"] ? boolean : boolean | Defaults["filled"];
|
|
120
|
+
};
|
|
121
|
+
color: unknown extends Defaults["color"] ? {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
} : Omit<{
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
}, "default" | "type"> & {
|
|
126
|
+
type: PropType<unknown extends Defaults["color"] ? string : string | Defaults["color"]>;
|
|
127
|
+
default: unknown extends Defaults["color"] ? string : string | Defaults["color"];
|
|
128
|
+
};
|
|
129
|
+
noWave: unknown extends Defaults["noWave"] ? {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
} : Omit<{
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
}, "default" | "type"> & {
|
|
136
|
+
type: PropType<unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"]>;
|
|
137
|
+
default: unknown extends Defaults["noWave"] ? boolean : boolean | Defaults["noWave"];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
export declare const YButton: import('vue').DefineComponent<{
|
|
141
|
+
value: null;
|
|
142
|
+
disabled: BooleanConstructor;
|
|
143
|
+
selectedClass: StringConstructor;
|
|
144
|
+
href: StringConstructor;
|
|
145
|
+
replace: BooleanConstructor;
|
|
146
|
+
to: PropType<import('vue-router').RouteLocationRaw>;
|
|
147
|
+
exact: BooleanConstructor;
|
|
148
|
+
loading: BooleanConstructor;
|
|
149
|
+
active: {
|
|
150
|
+
type: BooleanConstructor;
|
|
151
|
+
default: undefined;
|
|
152
|
+
};
|
|
153
|
+
injectSymbol: {
|
|
154
|
+
type: null;
|
|
155
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
156
|
+
};
|
|
157
|
+
variation: {
|
|
158
|
+
type: PropType<string>;
|
|
159
|
+
};
|
|
160
|
+
small: BooleanConstructor;
|
|
161
|
+
icon: BooleanConstructor;
|
|
162
|
+
outlined: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
rounded: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
default: boolean;
|
|
169
|
+
};
|
|
170
|
+
filled: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
color: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
};
|
|
177
|
+
noWave: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
}, {
|
|
182
|
+
link: import('../../composables/vue-router').UseLink;
|
|
183
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
184
|
+
click: (event: MouseEvent) => true;
|
|
185
|
+
'choice:selected': (choice: {
|
|
186
|
+
value: boolean;
|
|
187
|
+
}) => true;
|
|
188
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
189
|
+
value: null;
|
|
190
|
+
disabled: BooleanConstructor;
|
|
191
|
+
selectedClass: StringConstructor;
|
|
192
|
+
href: StringConstructor;
|
|
193
|
+
replace: BooleanConstructor;
|
|
194
|
+
to: PropType<import('vue-router').RouteLocationRaw>;
|
|
195
|
+
exact: BooleanConstructor;
|
|
196
|
+
loading: BooleanConstructor;
|
|
197
|
+
active: {
|
|
198
|
+
type: BooleanConstructor;
|
|
199
|
+
default: undefined;
|
|
200
|
+
};
|
|
201
|
+
injectSymbol: {
|
|
202
|
+
type: null;
|
|
203
|
+
default: import('vue').InjectionKey<import('../../composables/choice').ChoiceProvide>;
|
|
204
|
+
};
|
|
205
|
+
variation: {
|
|
206
|
+
type: PropType<string>;
|
|
207
|
+
};
|
|
208
|
+
small: BooleanConstructor;
|
|
209
|
+
icon: BooleanConstructor;
|
|
210
|
+
outlined: {
|
|
211
|
+
type: BooleanConstructor;
|
|
212
|
+
default: boolean;
|
|
213
|
+
};
|
|
214
|
+
rounded: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
default: boolean;
|
|
217
|
+
};
|
|
218
|
+
filled: {
|
|
219
|
+
type: BooleanConstructor;
|
|
220
|
+
default: boolean;
|
|
221
|
+
};
|
|
222
|
+
color: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
};
|
|
225
|
+
noWave: {
|
|
226
|
+
type: BooleanConstructor;
|
|
227
|
+
default: boolean;
|
|
228
|
+
};
|
|
229
|
+
}>> & {
|
|
230
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
231
|
+
"onChoice:selected"?: ((choice: {
|
|
232
|
+
value: boolean;
|
|
233
|
+
}) => any) | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
small: boolean;
|
|
236
|
+
replace: boolean;
|
|
237
|
+
disabled: boolean;
|
|
238
|
+
exact: boolean;
|
|
239
|
+
loading: boolean;
|
|
240
|
+
active: boolean;
|
|
241
|
+
injectSymbol: any;
|
|
242
|
+
icon: boolean;
|
|
243
|
+
outlined: boolean;
|
|
244
|
+
rounded: boolean;
|
|
245
|
+
filled: boolean;
|
|
246
|
+
noWave: boolean;
|
|
247
|
+
}, {}>;
|
|
248
|
+
export type YButton = InstanceType<typeof YButton>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './YButton';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const YCard: import('vue').DefineComponent<{
|
|
4
|
+
outline: {
|
|
5
|
+
type: PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
8
|
+
outline: {
|
|
9
|
+
type: PropType<boolean>;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export type YCard = InstanceType<typeof YCard>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const YCardBody: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export type YCardBody = InstanceType<typeof YCardBody>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const YCardFooter: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export type YCardFooter = InstanceType<typeof YCardFooter>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const YCardHeader: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export type YCardHeader = InstanceType<typeof YCardHeader>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
export declare const YCheckbox: import('vue').DefineComponent<{
|
|
4
|
+
modelValue: PropType<boolean | any[]>;
|
|
5
|
+
value: PropType<any>;
|
|
6
|
+
label: PropType<string>;
|
|
7
|
+
reverse: PropType<boolean>;
|
|
8
|
+
icon: {
|
|
9
|
+
type: PropType<string | {
|
|
10
|
+
checked?: string | undefined;
|
|
11
|
+
unchecked?: string | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
type: PropType<string>;
|
|
16
|
+
default: () => string;
|
|
17
|
+
};
|
|
18
|
+
disabled: PropType<boolean>;
|
|
19
|
+
readonly: PropType<boolean>;
|
|
20
|
+
}, {
|
|
21
|
+
checked: import('vue').Ref<boolean>;
|
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "change" | "click" | "focus" | "update:modelValue")[], "blur" | "change" | "click" | "focus" | "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
modelValue: PropType<boolean | any[]>;
|
|
24
|
+
value: PropType<any>;
|
|
25
|
+
label: PropType<string>;
|
|
26
|
+
reverse: PropType<boolean>;
|
|
27
|
+
icon: {
|
|
28
|
+
type: PropType<string | {
|
|
29
|
+
checked?: string | undefined;
|
|
30
|
+
unchecked?: string | undefined;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
color: {
|
|
34
|
+
type: PropType<string>;
|
|
35
|
+
default: () => string;
|
|
36
|
+
};
|
|
37
|
+
disabled: PropType<boolean>;
|
|
38
|
+
readonly: PropType<boolean>;
|
|
39
|
+
}>> & {
|
|
40
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
color: string;
|
|
47
|
+
}, {}>;
|
|
48
|
+
export type YCheckbox = InstanceType<typeof YCheckbox>;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
id: PropType<string>;
|
|
5
|
+
value: PropType<boolean>;
|
|
6
|
+
icon: PropType<string>;
|
|
7
|
+
color: {
|
|
8
|
+
type: PropType<string>;
|
|
9
|
+
default: () => string;
|
|
10
|
+
};
|
|
11
|
+
disabled: PropType<boolean>;
|
|
12
|
+
readonly: PropType<boolean>;
|
|
13
|
+
}, unknown, {
|
|
14
|
+
counterId: string;
|
|
15
|
+
checked: boolean;
|
|
16
|
+
focused: boolean;
|
|
17
|
+
}, {
|
|
18
|
+
coloredClass(): string | undefined;
|
|
19
|
+
classes(): Record<string, boolean>;
|
|
20
|
+
inputId(): string;
|
|
21
|
+
iconComponent(): import('vue').DefineComponent<{
|
|
22
|
+
checked: BooleanConstructor;
|
|
23
|
+
indeterminate: BooleanConstructor;
|
|
24
|
+
disabled: BooleanConstructor;
|
|
25
|
+
}, unknown, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
|
+
checked: BooleanConstructor;
|
|
27
|
+
indeterminate: BooleanConstructor;
|
|
28
|
+
disabled: BooleanConstructor;
|
|
29
|
+
}>>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
indeterminate: boolean;
|
|
32
|
+
checked: boolean;
|
|
33
|
+
}, {}> | null;
|
|
34
|
+
}, {
|
|
35
|
+
onFocus(e: FocusEvent): void;
|
|
36
|
+
onBlur(e: FocusEvent): void;
|
|
37
|
+
onClick(event: MouseEvent): void;
|
|
38
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "focus")[], "blur" | "click" | "focus", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
39
|
+
id: PropType<string>;
|
|
40
|
+
value: PropType<boolean>;
|
|
41
|
+
icon: PropType<string>;
|
|
42
|
+
color: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
default: () => string;
|
|
45
|
+
};
|
|
46
|
+
disabled: PropType<boolean>;
|
|
47
|
+
readonly: PropType<boolean>;
|
|
48
|
+
}>> & {
|
|
49
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
}, {
|
|
53
|
+
color: string;
|
|
54
|
+
}, {}>;
|
|
55
|
+
export default _default;
|