@nmorph/nmorph-ui-kit 1.0.53 → 1.0.62
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/index.d.ts +1 -0
- package/dist/index.es.js +3600 -5054
- package/dist/index.umd.js +5 -15
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +15 -59
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +7 -37
- package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +9 -43
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +13 -65
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +7 -35
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +9 -45
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +15 -47
- package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -1
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +9 -28
- package/dist/src/components/data/nmorph-calendar/utils.d.ts +1 -2
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +6 -32
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -30
- package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +3 -22
- package/dist/src/components/data/nmorph-carousel/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +7 -31
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +10 -40
- package/dist/src/components/data/nmorph-collapse/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -45
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +5 -36
- package/dist/src/components/data/nmorph-image-preview/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +5 -36
- package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +8 -44
- package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +6 -33
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +4 -32
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +6 -38
- package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +3 -22
- package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +8 -36
- package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +5 -23
- package/dist/src/components/data/nmorph-table/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +6 -24
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +7 -33
- package/dist/src/components/data/nmorph-tag-list/types.d.ts +0 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +12 -54
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +9 -48
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +9 -39
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +13 -49
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +11 -43
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +8 -38
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +9 -43
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +6 -30
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +10 -27
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +7 -28
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -44
- package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -32
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +6 -36
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +0 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +4 -30
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -25
- package/dist/src/components/form/nmorph-form/types.d.ts +0 -1
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +8 -42
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +9 -40
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +9 -43
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -55
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +9 -38
- package/dist/src/components/form/nmorph-select/types.d.ts +0 -1
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +5 -39
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +12 -44
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +13 -51
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +11 -47
- package/dist/src/components/form/nmorph-time-picker/utils.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -37
- package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +5 -28
- package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +7 -33
- package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +8 -38
- package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -37
- package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +7 -35
- package/dist/src/components/navigation/nmorph-tabs/type.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +0 -1
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +2 -24
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -30
- package/dist/src/components/providers/index.d.ts +0 -1
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +4 -30
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +0 -1
- package/dist/src/hooks/use-field-validation.d.ts +0 -1
- package/dist/src/hooks/use-form-validation.d.ts +0 -1
- package/dist/src/hooks/use-nmorph-translation.d.ts +1 -2
- package/dist/src/hooks/use-placement.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph-notification.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph-theme.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph.d.ts +0 -1
- package/dist/src/types/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +7 -10
|
@@ -1,53 +1,22 @@
|
|
|
1
1
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps extends INmorphRadioOption {
|
|
5
4
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
6
5
|
checked?: boolean;
|
|
7
6
|
}
|
|
8
|
-
declare
|
|
9
|
-
label?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
label: string;
|
|
14
|
-
styleType: string;
|
|
15
|
-
checked: boolean;
|
|
16
|
-
tabindex: number;
|
|
17
|
-
}>>, {
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
18
8
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
19
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
20
|
-
|
|
21
|
-
label: string;
|
|
22
|
-
styleType: string;
|
|
23
|
-
checked: boolean;
|
|
9
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
10
|
+
styleType: "button" | "radio-style";
|
|
24
11
|
tabindex: number;
|
|
25
|
-
}>>> & Readonly<{}>, {
|
|
26
|
-
label: string;
|
|
27
12
|
disabled: boolean;
|
|
28
|
-
|
|
29
|
-
styleType: keyof typeof NmorphRadioStyleType;
|
|
13
|
+
label: string;
|
|
30
14
|
checked: boolean;
|
|
31
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
32
|
-
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
16
|
+
label?(_: {}): any;
|
|
17
|
+
label?(_: {}): any;
|
|
18
|
+
}>;
|
|
33
19
|
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
51
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
21
|
new (): {
|
|
53
22
|
$slots: S;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, INmorphRadioOption, NmorphComponentDirection, NmorphRadioStyleType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type NmorphListRadioOptionElementType = Omit<INmorphRadioOption, 'checked'>;
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
5
|
modelValue: string;
|
|
@@ -8,53 +7,20 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
8
7
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
9
8
|
direction?: keyof typeof NmorphComponentDirection;
|
|
10
9
|
}
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
|
-
modelValue: string;
|
|
16
|
-
styleType: string;
|
|
17
|
-
options: () => any[];
|
|
18
|
-
direction: string;
|
|
19
|
-
label: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
|
-
"update:model-value": (val: string) => void;
|
|
23
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
|
-
modelValue: string;
|
|
25
|
-
styleType: string;
|
|
26
|
-
options: () => any[];
|
|
27
|
-
direction: string;
|
|
28
|
-
label: string;
|
|
29
|
-
disabled: boolean;
|
|
30
|
-
}>>> & Readonly<{
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:model-value": (val: string) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
31
13
|
"onUpdate:model-value"?: (val: string) => any;
|
|
32
14
|
}>, {
|
|
15
|
+
styleType: "button" | "radio-style";
|
|
33
16
|
disabled: boolean;
|
|
34
17
|
modelValue: string;
|
|
35
|
-
styleType: keyof typeof NmorphRadioStyleType;
|
|
36
18
|
options: NmorphListRadioOptionElementType[];
|
|
37
|
-
direction:
|
|
38
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
39
|
-
|
|
19
|
+
direction: "row" | "column";
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
40
23
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
58
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
25
|
new (): {
|
|
60
26
|
$slots: S;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
2
|
import { NmorphSelectModelValueType, INmorphSelectOption } from '../..';
|
|
3
|
-
import { DefineComponent,
|
|
4
|
-
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
5
|
noElementPlaceholder?: string;
|
|
7
6
|
valueRequired?: boolean;
|
|
@@ -13,69 +12,26 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
13
12
|
id?: string;
|
|
14
13
|
name?: string;
|
|
15
14
|
}
|
|
16
|
-
declare
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
|
-
noElementPlaceholder: string;
|
|
21
|
-
valueRequired: boolean;
|
|
22
|
-
options: () => any[];
|
|
23
|
-
optionsMap: () => any[];
|
|
24
|
-
modelValue: string;
|
|
25
|
-
loading: boolean;
|
|
26
|
-
height: string;
|
|
27
|
-
disabled: boolean;
|
|
28
|
-
open: boolean;
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
32
|
-
"update:model-value": (val: NmorphSelectModelValueType) => void;
|
|
33
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
34
|
-
noElementPlaceholder: string;
|
|
35
|
-
valueRequired: boolean;
|
|
36
|
-
options: () => any[];
|
|
37
|
-
optionsMap: () => any[];
|
|
38
|
-
modelValue: string;
|
|
39
|
-
loading: boolean;
|
|
40
|
-
height: string;
|
|
41
|
-
disabled: boolean;
|
|
42
|
-
open: boolean;
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
}>>> & Readonly<{
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
16
|
+
"update:model-value": (val: NmorphSelectModelValueType) => any;
|
|
17
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
46
18
|
"onUpdate:model-value"?: (val: NmorphSelectModelValueType) => any;
|
|
47
19
|
}>, {
|
|
48
|
-
|
|
49
|
-
|
|
20
|
+
loading: boolean;
|
|
21
|
+
height: "default" | "thick" | "thin";
|
|
50
22
|
disabled: boolean;
|
|
51
23
|
modelValue: NmorphSelectModelValueType;
|
|
24
|
+
name: string;
|
|
52
25
|
id: string;
|
|
53
|
-
loading: boolean;
|
|
54
26
|
open: boolean;
|
|
55
27
|
options: INmorphSelectOption[];
|
|
56
28
|
noElementPlaceholder: string;
|
|
57
29
|
valueRequired: boolean;
|
|
58
30
|
optionsMap: INmorphSelectOption[];
|
|
59
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
60
|
-
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
32
|
+
default?(_: {}): any;
|
|
33
|
+
}>;
|
|
61
34
|
export default _default;
|
|
62
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
63
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
64
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
65
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
66
|
-
} : {
|
|
67
|
-
type: PropType<T[K]>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
type __VLS_WithDefaults<P, D> = {
|
|
72
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
73
|
-
default: D[K];
|
|
74
|
-
}> : P[K];
|
|
75
|
-
};
|
|
76
|
-
type __VLS_Prettify<T> = {
|
|
77
|
-
[K in keyof T]: T[K];
|
|
78
|
-
} & {};
|
|
79
35
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
80
36
|
new (): {
|
|
81
37
|
$slots: S;
|
|
@@ -1,46 +1,17 @@
|
|
|
1
|
-
import { NmorphComponentHeight } from '../../../../../types';
|
|
2
1
|
import { INmorphSelectOption } from '../../../..';
|
|
3
|
-
import { DefineComponent,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
9
|
-
label: string;
|
|
10
|
-
height: string;
|
|
11
|
-
disabled: boolean;
|
|
12
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
-
"change-value": (val: string) => void;
|
|
14
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
15
|
-
label: string;
|
|
16
|
-
height: string;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
}>>> & Readonly<{
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphSelectOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
"change-value": (val: string) => any;
|
|
5
|
+
}, string, PublicProps, Readonly<INmorphSelectOption> & Readonly<{
|
|
19
6
|
"onChange-value"?: (val: string) => any;
|
|
20
7
|
}>, {
|
|
21
|
-
height:
|
|
22
|
-
label: string;
|
|
8
|
+
height: "default" | "thick" | "thin";
|
|
23
9
|
disabled: boolean;
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
label: string;
|
|
11
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
26
14
|
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithDefaults<P, D> = {
|
|
37
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
|
-
default: D[K];
|
|
39
|
-
}> : P[K];
|
|
40
|
-
};
|
|
41
|
-
type __VLS_Prettify<T> = {
|
|
42
|
-
[K in keyof T]: T[K];
|
|
43
|
-
} & {};
|
|
44
15
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
16
|
new (): {
|
|
46
17
|
$slots: S;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps } from '../../../types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
|
|
4
3
|
export type NmorphSelectModelValueType = string | string[];
|
|
5
4
|
export type NmorphSelectSelectedValueInjectionType = Ref<NmorphSelectModelValueType>;
|
|
6
5
|
export type NmorphSelectChangeSelectedValue = (value: string) => void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
5
4
|
modelValue?: number;
|
|
6
5
|
max?: number;
|
|
@@ -8,49 +7,16 @@ interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
|
8
7
|
step?: number;
|
|
9
8
|
showTooltip?: boolean;
|
|
10
9
|
}
|
|
11
|
-
declare const _default: DefineComponent<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
min: number;
|
|
15
|
-
step: number;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
fill: boolean;
|
|
18
|
-
showTooltip: boolean;
|
|
19
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
"update:model-value": (val: number) => void;
|
|
21
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
22
|
-
modelValue: number;
|
|
23
|
-
max: number;
|
|
24
|
-
min: number;
|
|
25
|
-
step: number;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
fill: boolean;
|
|
28
|
-
showTooltip: boolean;
|
|
29
|
-
}>>> & Readonly<{
|
|
10
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:model-value": (val: number) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
30
13
|
"onUpdate:model-value"?: (val: number) => any;
|
|
31
14
|
}>, {
|
|
32
15
|
disabled: boolean;
|
|
33
|
-
max: number;
|
|
34
16
|
modelValue: number;
|
|
17
|
+
max: number;
|
|
35
18
|
showTooltip: boolean;
|
|
36
19
|
min: number;
|
|
37
20
|
step: number;
|
|
38
21
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
39
22
|
export default _default;
|
|
40
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
-
} : {
|
|
45
|
-
type: PropType<T[K]>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
-
default: D[K];
|
|
52
|
-
}> : P[K];
|
|
53
|
-
};
|
|
54
|
-
type __VLS_Prettify<T> = {
|
|
55
|
-
[K in keyof T]: T[K];
|
|
56
|
-
} & {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
type NmorphSwitchModelType = boolean | string | number;
|
|
5
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
6
5
|
modelValue?: NmorphSwitchModelType;
|
|
@@ -8,56 +7,25 @@ interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
|
8
7
|
activeValue?: NmorphSwitchModelType;
|
|
9
8
|
inactiveValue?: NmorphSwitchModelType;
|
|
10
9
|
}
|
|
11
|
-
declare
|
|
12
|
-
"bg-on"?(_: {}): any;
|
|
13
|
-
"bg-off"?(_: {}): any;
|
|
14
|
-
"thumb-on"?(_: {}): any;
|
|
15
|
-
"thumb-off"?(_: {}): any;
|
|
16
|
-
};
|
|
17
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
18
|
-
modelValue: boolean;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
activeValue: boolean;
|
|
22
|
-
inactiveValue: boolean;
|
|
23
|
-
}>>, {
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
24
11
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
25
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
-
"update:model-value": (val: string | number | boolean) =>
|
|
27
|
-
}, string, PublicProps, Readonly<
|
|
28
|
-
modelValue: boolean;
|
|
29
|
-
loading: boolean;
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
activeValue: boolean;
|
|
32
|
-
inactiveValue: boolean;
|
|
33
|
-
}>>> & Readonly<{
|
|
12
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:model-value": (val: string | number | boolean) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
34
15
|
"onUpdate:model-value"?: (val: string | number | boolean) => any;
|
|
35
16
|
}>, {
|
|
17
|
+
loading: boolean;
|
|
36
18
|
disabled: boolean;
|
|
37
19
|
modelValue: NmorphSwitchModelType;
|
|
38
|
-
loading: boolean;
|
|
39
20
|
activeValue: NmorphSwitchModelType;
|
|
40
21
|
inactiveValue: NmorphSwitchModelType;
|
|
41
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
42
|
-
|
|
22
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
"bg-on"?(_: {}): any;
|
|
24
|
+
"bg-off"?(_: {}): any;
|
|
25
|
+
"thumb-on"?(_: {}): any;
|
|
26
|
+
"thumb-off"?(_: {}): any;
|
|
27
|
+
}>;
|
|
43
28
|
export default _default;
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type __VLS_WithDefaults<P, D> = {
|
|
54
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
55
|
-
default: D[K];
|
|
56
|
-
}> : P[K];
|
|
57
|
-
};
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
61
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
30
|
new (): {
|
|
63
31
|
$slots: S;
|
|
@@ -1,72 +1,34 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
4
|
placeholder?: string;
|
|
6
5
|
typePassword?: boolean;
|
|
7
6
|
modelValue?: string;
|
|
8
7
|
clearable?: boolean;
|
|
9
8
|
}
|
|
10
|
-
declare
|
|
11
|
-
"prepend-icon"?(_: {}): any;
|
|
12
|
-
};
|
|
13
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
-
placeholder: string;
|
|
15
|
-
label: string;
|
|
16
|
-
typePassword: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
modelValue: string;
|
|
19
|
-
rules: () => any[];
|
|
20
|
-
height: string;
|
|
21
|
-
clearable: boolean;
|
|
22
|
-
}>>, {
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
23
10
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
-
|
|
26
|
-
focus: () =>
|
|
27
|
-
|
|
28
|
-
"on-enter": () =>
|
|
29
|
-
}, string, PublicProps, Readonly<
|
|
30
|
-
placeholder: string;
|
|
31
|
-
label: string;
|
|
32
|
-
typePassword: boolean;
|
|
33
|
-
disabled: boolean;
|
|
34
|
-
modelValue: string;
|
|
35
|
-
rules: () => any[];
|
|
36
|
-
height: string;
|
|
37
|
-
clearable: boolean;
|
|
38
|
-
}>>> & Readonly<{
|
|
11
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
blur: () => any;
|
|
13
|
+
focus: () => any;
|
|
14
|
+
"update:model-value": (val: string) => any;
|
|
15
|
+
"on-enter": () => any;
|
|
16
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
39
17
|
onBlur?: () => any;
|
|
40
18
|
onFocus?: () => any;
|
|
41
19
|
"onUpdate:model-value"?: (val: string) => any;
|
|
42
20
|
"onOn-enter"?: () => any;
|
|
43
21
|
}>, {
|
|
44
|
-
height:
|
|
22
|
+
height: "default" | "thick" | "thin";
|
|
45
23
|
disabled: boolean;
|
|
46
24
|
modelValue: string;
|
|
47
25
|
placeholder: string;
|
|
48
26
|
clearable: boolean;
|
|
49
27
|
typePassword: boolean;
|
|
50
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
51
|
-
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
29
|
+
"prepend-icon"?(_: {}): any;
|
|
30
|
+
}>;
|
|
52
31
|
export default _default;
|
|
53
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
-
} : {
|
|
58
|
-
type: PropType<T[K]>;
|
|
59
|
-
required: true;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
type __VLS_WithDefaults<P, D> = {
|
|
63
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
|
-
default: D[K];
|
|
65
|
-
}> : P[K];
|
|
66
|
-
};
|
|
67
|
-
type __VLS_Prettify<T> = {
|
|
68
|
-
[K in keyof T]: T[K];
|
|
69
|
-
} & {};
|
|
70
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
33
|
new (): {
|
|
72
34
|
$slots: S;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
2
|
import { NmorphHourType, NmorphMinuteSecondsType } from '../..';
|
|
3
|
-
import { DefineComponent,
|
|
4
|
-
|
|
3
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
5
|
modelValue?: number;
|
|
7
6
|
open?: boolean;
|
|
@@ -10,57 +9,22 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
10
9
|
disabledMinutes?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
11
10
|
disabledSeconds?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
12
11
|
}
|
|
13
|
-
declare const _default: DefineComponent<
|
|
14
|
-
modelValue: number;
|
|
15
|
-
open: boolean;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
height: string;
|
|
18
|
-
initWithoutValue: boolean;
|
|
19
|
-
disabledHours: any;
|
|
20
|
-
disabledMinutes: any;
|
|
21
|
-
disabledSeconds: any;
|
|
22
|
-
}>>, {
|
|
12
|
+
declare const _default: DefineComponent<INmorphProps, {
|
|
23
13
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
-
"update:model-value": (val: number) =>
|
|
26
|
-
"on-change-open-close": (val: boolean) =>
|
|
27
|
-
}, string, PublicProps, Readonly<
|
|
28
|
-
modelValue: number;
|
|
29
|
-
open: boolean;
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
height: string;
|
|
32
|
-
initWithoutValue: boolean;
|
|
33
|
-
disabledHours: any;
|
|
34
|
-
disabledMinutes: any;
|
|
35
|
-
disabledSeconds: any;
|
|
36
|
-
}>>> & Readonly<{
|
|
14
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:model-value": (val: number) => any;
|
|
16
|
+
"on-change-open-close": (val: boolean) => any;
|
|
17
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
37
18
|
"onUpdate:model-value"?: (val: number) => any;
|
|
38
19
|
"onOn-change-open-close"?: (val: boolean) => any;
|
|
39
20
|
}>, {
|
|
40
|
-
height:
|
|
21
|
+
height: "default" | "thick" | "thin";
|
|
41
22
|
disabled: boolean;
|
|
42
23
|
modelValue: number;
|
|
43
24
|
open: boolean;
|
|
44
25
|
initWithoutValue: boolean;
|
|
45
|
-
disabledHours: [NmorphHourType, NmorphHourType]
|
|
46
|
-
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType]
|
|
47
|
-
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType]
|
|
26
|
+
disabledHours: [NmorphHourType, NmorphHourType];
|
|
27
|
+
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
28
|
+
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
48
29
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
49
30
|
export default _default;
|
|
50
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
-
} : {
|
|
55
|
-
type: PropType<T[K]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
type __VLS_WithDefaults<P, D> = {
|
|
60
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
-
default: D[K];
|
|
62
|
-
}> : P[K];
|
|
63
|
-
};
|
|
64
|
-
type __VLS_Prettify<T> = {
|
|
65
|
-
[K in keyof T]: T[K];
|
|
66
|
-
} & {};
|
|
@@ -1,54 +1,24 @@
|
|
|
1
1
|
import { NmorphElementDesignType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
right?: number;
|
|
6
5
|
bottom?: number;
|
|
7
6
|
visibilityHeight?: number;
|
|
8
7
|
design?: NmorphElementDesignType;
|
|
9
8
|
}
|
|
10
|
-
declare
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
-
right: number;
|
|
15
|
-
bottom: number;
|
|
16
|
-
visibilityHeight: number;
|
|
17
|
-
design: string;
|
|
18
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
-
click: () => void;
|
|
20
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
21
|
-
right: number;
|
|
22
|
-
bottom: number;
|
|
23
|
-
visibilityHeight: number;
|
|
24
|
-
design: string;
|
|
25
|
-
}>>> & Readonly<{
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
+
click: () => any;
|
|
11
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
26
12
|
onClick?: () => any;
|
|
27
13
|
}>, {
|
|
28
14
|
right: number;
|
|
29
15
|
design: NmorphElementDesignType;
|
|
30
16
|
bottom: number;
|
|
31
17
|
visibilityHeight: number;
|
|
32
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
33
|
-
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
34
21
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
52
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
23
|
new (): {
|
|
54
24
|
$slots: S;
|