@nmorph/nmorph-ui-kit 0.2.90 → 0.2.95
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.es.js +3940 -3934
- package/dist/index.umd.js +7 -7
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +8 -8
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +5 -5
- package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +5 -5
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +8 -8
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +7 -7
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +5 -5
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +7 -7
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +14 -14
- package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +5 -5
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +5 -5
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +5 -5
- package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +2 -2
- package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +5 -5
- package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +4 -4
- package/dist/src/components/data/nmorph-tag-item/NmorphTagItem.vue.d.ts +6 -6
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +4 -4
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +6 -6
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +6 -6
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +6 -6
- package/dist/src/components/form/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +8 -8
- package/dist/src/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +3 -3
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +8 -8
- package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +10 -10
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +5 -5
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +5 -5
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +5 -5
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +9 -9
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +6 -6
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +7 -7
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +8 -8
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +9 -9
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +8 -8
- package/dist/src/components/form/radio/nmorph-radio/NmorphRadio.vue.d.ts +8 -8
- package/dist/src/components/form/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +6 -6
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +6 -6
- package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +5 -5
- package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +7 -6
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +6 -6
- package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +6 -6
- package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +5 -5
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +5 -5
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +6 -6
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +5 -5
- package/dist/src/hooks/use-field-validation.d.ts +2 -2
- package/dist/src/hooks/use-form-validation.d.ts +2 -2
- package/dist/src/hooks/use-nmorph-notification.d.ts +1 -1
- package/dist/src/hooks/use-placement.d.ts +5 -2
- package/dist/src/providers/use-nmorph-browser.d.ts +6 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
date?: Date;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
6
|
date: () => Date;
|
|
7
|
-
}
|
|
7
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
8
|
"prev-month": () => void;
|
|
9
9
|
"next-month": () => void;
|
|
10
10
|
"prev-year": () => void;
|
|
@@ -13,16 +13,16 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
13
13
|
"change-month": () => void;
|
|
14
14
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
date: () => Date;
|
|
16
|
-
}>>> & {
|
|
16
|
+
}>>> & Readonly<{
|
|
17
17
|
"onPrev-month"?: () => any;
|
|
18
18
|
"onNext-month"?: () => any;
|
|
19
19
|
"onPrev-year"?: () => any;
|
|
20
20
|
"onNext-year"?: () => any;
|
|
21
21
|
"onChange-year"?: () => any;
|
|
22
22
|
"onChange-month"?: () => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
date: Date;
|
|
25
|
-
}, {}>;
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
export default _default;
|
|
27
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
currentDate: Date;
|
|
4
4
|
type?: 'year' | 'month';
|
|
5
5
|
}
|
|
6
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
7
|
type: string;
|
|
8
|
-
}
|
|
8
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
9
|
"update-year": (val: string) => void;
|
|
10
10
|
"update-month": (val: string) => void;
|
|
11
11
|
"back-to-years": () => void;
|
|
12
12
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
type: string;
|
|
14
|
-
}>>> & {
|
|
14
|
+
}>>> & Readonly<{
|
|
15
15
|
"onUpdate-year"?: (val: string) => any;
|
|
16
16
|
"onUpdate-month"?: (val: string) => any;
|
|
17
17
|
"onBack-to-years"?: () => any;
|
|
18
|
-
}
|
|
18
|
+
}>, {
|
|
19
19
|
type: "year" | "month";
|
|
20
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
3
|
clear: () => void;
|
|
4
|
-
}, string, PublicProps, Readonly<
|
|
4
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
5
5
|
onClear?: () => any;
|
|
6
|
-
}, {}, {}>;
|
|
6
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
7
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
2
|
import { INmorphCustomFileData, NmorphResolutionType } from '../..';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
@@ -12,15 +12,15 @@ interface INmorphProps {
|
|
|
12
12
|
declare function __VLS_template(): {
|
|
13
13
|
trigger?(_: {}): any;
|
|
14
14
|
};
|
|
15
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
16
|
modelValue: () => any[];
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
multiple: boolean;
|
|
19
19
|
allowedTypes: () => string[];
|
|
20
20
|
photoWithPreview: boolean;
|
|
21
21
|
fill: boolean;
|
|
22
|
-
}
|
|
23
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
22
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
24
24
|
"update:model-value": (val: File[]) => void;
|
|
25
25
|
"on-unsupported-file-type-error": (val: string) => void;
|
|
26
26
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -30,18 +30,18 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
30
30
|
allowedTypes: () => string[];
|
|
31
31
|
photoWithPreview: boolean;
|
|
32
32
|
fill: boolean;
|
|
33
|
-
}>>> & {
|
|
33
|
+
}>>> & Readonly<{
|
|
34
34
|
"onUpdate:model-value"?: (val: File[]) => any;
|
|
35
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
35
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
36
36
|
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
fill: boolean;
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
modelValue: INmorphCustomFileData[];
|
|
41
41
|
multiple: boolean;
|
|
42
42
|
allowedTypes: NmorphResolutionType[];
|
|
43
43
|
photoWithPreview: boolean;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
46
46
|
export default _default;
|
|
47
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NmorphFormValueType } from './types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, Ref, ComputedRef, PublicProps,
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, Ref, ComputedRef, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
value: NmorphFormValueType;
|
|
@@ -8,31 +8,31 @@ interface INmorphProps {
|
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
};
|
|
11
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
12
|
validateImmediately: boolean;
|
|
13
|
-
}
|
|
13
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
14
|
formValidator: (val: {
|
|
15
15
|
fields: Record<string, {
|
|
16
|
-
touched: Ref<boolean>;
|
|
16
|
+
touched: Ref<boolean, boolean>;
|
|
17
17
|
valid: ComputedRef<boolean>;
|
|
18
|
-
errors: Ref<string[]>;
|
|
18
|
+
errors: Ref<string[], string[]>;
|
|
19
19
|
validate: () => any;
|
|
20
20
|
}>;
|
|
21
21
|
}) => void;
|
|
22
22
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
23
|
validateImmediately: boolean;
|
|
24
|
-
}>>> & {
|
|
24
|
+
}>>> & Readonly<{
|
|
25
25
|
onFormValidator?: (val: {
|
|
26
26
|
fields: Record<string, {
|
|
27
|
-
touched: Ref<boolean>;
|
|
27
|
+
touched: Ref<boolean, boolean>;
|
|
28
28
|
valid: ComputedRef<boolean>;
|
|
29
|
-
errors: Ref<string[]>;
|
|
29
|
+
errors: Ref<string[], string[]>;
|
|
30
30
|
validate: () => any;
|
|
31
31
|
}>;
|
|
32
32
|
}) => any;
|
|
33
|
-
}
|
|
33
|
+
}>, {
|
|
34
34
|
validateImmediately: boolean;
|
|
35
|
-
}, {}>;
|
|
35
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
37
|
export default _default;
|
|
38
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NmorphComponentHeight } from '../../../../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
/**
|
|
@@ -16,25 +16,25 @@ interface INmorphProps {
|
|
|
16
16
|
declare function __VLS_template(): {
|
|
17
17
|
default?(_: {}): any;
|
|
18
18
|
};
|
|
19
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
20
|
label: string;
|
|
21
21
|
height: string;
|
|
22
22
|
showValidationIcon: boolean;
|
|
23
23
|
staticErrorBoxSpace: boolean;
|
|
24
24
|
validate: boolean;
|
|
25
|
-
}
|
|
25
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
26
26
|
label: string;
|
|
27
27
|
height: string;
|
|
28
28
|
showValidationIcon: boolean;
|
|
29
29
|
staticErrorBoxSpace: boolean;
|
|
30
30
|
validate: boolean;
|
|
31
|
-
}
|
|
31
|
+
}>>> & Readonly<{}>, {
|
|
32
32
|
height: keyof typeof NmorphComponentHeight;
|
|
33
33
|
label: string;
|
|
34
34
|
showValidationIcon: boolean;
|
|
35
35
|
staticErrorBoxSpace: boolean;
|
|
36
36
|
validate: boolean;
|
|
37
|
-
}, {}>;
|
|
37
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
39
39
|
export default _default;
|
|
40
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { NmorphComponentHeight } from '../../../../../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
height?: keyof typeof NmorphComponentHeight;
|
|
6
6
|
errors?: string[] | Ref<string[]>;
|
|
7
7
|
staticHeight?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
height: string;
|
|
11
11
|
errors: () => any[];
|
|
12
12
|
staticHeight: boolean;
|
|
13
|
-
}
|
|
13
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
14
|
height: string;
|
|
15
15
|
errors: () => any[];
|
|
16
16
|
staticHeight: boolean;
|
|
17
|
-
}
|
|
17
|
+
}>>> & Readonly<{}>, {
|
|
18
18
|
height: keyof typeof NmorphComponentHeight;
|
|
19
19
|
errors: string[] | Ref<string[]>;
|
|
20
20
|
staticHeight: boolean;
|
|
21
|
-
}, {}>;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22
22
|
export default _default;
|
|
23
23
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
24
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { ComputedRef, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
2
|
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
valid: boolean | ComputedRef<boolean>;
|
|
5
5
|
show?: boolean | ComputedRef<boolean>;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
8
|
show: boolean;
|
|
9
|
-
}
|
|
9
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
show: boolean;
|
|
11
|
-
}
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
12
|
show: boolean | ComputedRef<boolean>;
|
|
13
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
15
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
16
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
5
|
modelValue?: number;
|
|
@@ -8,7 +8,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
8
8
|
step?: number;
|
|
9
9
|
actionBtnPositionRight?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
12
|
height: string;
|
|
13
13
|
modelValue: number;
|
|
14
14
|
max: number;
|
|
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
actionBtnPositionRight: boolean;
|
|
19
19
|
fill: boolean;
|
|
20
|
-
}
|
|
21
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
20
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
22
22
|
"update:model-value": (val: number) => void;
|
|
23
23
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
24
|
height: string;
|
|
@@ -29,19 +29,19 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
actionBtnPositionRight: boolean;
|
|
31
31
|
fill: boolean;
|
|
32
|
-
}>>> & {
|
|
32
|
+
}>>> & Readonly<{
|
|
33
33
|
"onUpdate:model-value"?: (val: number) => any;
|
|
34
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
35
|
-
}
|
|
34
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
35
|
+
}>, {
|
|
36
36
|
fill: boolean;
|
|
37
37
|
height: keyof typeof NmorphComponentHeight;
|
|
38
38
|
disabled: boolean;
|
|
39
|
-
modelValue: number;
|
|
40
39
|
max: number;
|
|
40
|
+
modelValue: number;
|
|
41
41
|
min: number;
|
|
42
42
|
step: number;
|
|
43
43
|
actionBtnPositionRight: boolean;
|
|
44
|
-
}, {}>;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|
|
46
46
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
47
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
2
|
import { NmorphSelectModelValueType, INmorphSelectOption } from '../..';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
6
|
noElementPlaceholder?: string;
|
|
@@ -14,7 +14,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
14
14
|
declare function __VLS_template(): {
|
|
15
15
|
default?(_: {}): any;
|
|
16
16
|
};
|
|
17
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
18
18
|
noElementPlaceholder: string;
|
|
19
19
|
valueRequired: boolean;
|
|
20
20
|
options: () => any[];
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
25
25
|
height: string;
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
open: boolean;
|
|
28
|
-
}
|
|
28
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
29
|
"update:model-value": (val: NmorphSelectModelValueType) => void;
|
|
30
30
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
31
31
|
noElementPlaceholder: string;
|
|
@@ -38,9 +38,9 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
38
38
|
height: string;
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
open: boolean;
|
|
41
|
-
}>>> & {
|
|
41
|
+
}>>> & Readonly<{
|
|
42
42
|
"onUpdate:model-value"?: (val: NmorphSelectModelValueType) => any;
|
|
43
|
-
}
|
|
43
|
+
}>, {
|
|
44
44
|
loading: boolean;
|
|
45
45
|
fill: boolean;
|
|
46
46
|
height: keyof typeof NmorphComponentHeight;
|
|
@@ -51,7 +51,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
51
51
|
valueRequired: boolean;
|
|
52
52
|
optionsMap: INmorphSelectOption[];
|
|
53
53
|
open: boolean;
|
|
54
|
-
}, {}>;
|
|
54
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
55
55
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
56
56
|
export default _default;
|
|
57
57
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { NmorphComponentHeight } from '../../../../../types';
|
|
2
2
|
import { INmorphSelectOption } from '../../../..';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
8
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
9
9
|
label: string;
|
|
10
10
|
height: string;
|
|
11
11
|
disabled: boolean;
|
|
12
|
-
}
|
|
12
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
13
|
"change-value": (val: string) => void;
|
|
14
14
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
15
15
|
label: string;
|
|
16
16
|
height: string;
|
|
17
17
|
disabled: boolean;
|
|
18
|
-
}>>> & {
|
|
18
|
+
}>>> & Readonly<{
|
|
19
19
|
"onChange-value"?: (val: string) => any;
|
|
20
|
-
}
|
|
20
|
+
}>, {
|
|
21
21
|
height: keyof typeof NmorphComponentHeight;
|
|
22
22
|
label: string;
|
|
23
23
|
disabled: boolean;
|
|
24
|
-
}, {}>;
|
|
24
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
25
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
26
|
export default _default;
|
|
27
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
5
5
|
modelValue?: number;
|
|
@@ -8,7 +8,7 @@ interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
|
8
8
|
step?: number;
|
|
9
9
|
showTooltip?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
12
|
modelValue: number;
|
|
13
13
|
max: number;
|
|
14
14
|
min: number;
|
|
@@ -16,7 +16,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
fill: boolean;
|
|
18
18
|
showTooltip: boolean;
|
|
19
|
-
}
|
|
19
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
20
|
"update:model-value": (val: number) => void;
|
|
21
21
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
22
22
|
modelValue: number;
|
|
@@ -26,17 +26,17 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
fill: boolean;
|
|
28
28
|
showTooltip: boolean;
|
|
29
|
-
}>>> & {
|
|
29
|
+
}>>> & Readonly<{
|
|
30
30
|
"onUpdate:model-value"?: (val: number) => any;
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
fill: boolean;
|
|
33
33
|
disabled: boolean;
|
|
34
|
-
modelValue: number;
|
|
35
34
|
max: number;
|
|
35
|
+
modelValue: number;
|
|
36
36
|
min: number;
|
|
37
37
|
step: number;
|
|
38
38
|
showTooltip: boolean;
|
|
39
|
-
}, {}>;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
40
40
|
export default _default;
|
|
41
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
42
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
5
5
|
modelValue?: boolean | string | number;
|
|
@@ -13,15 +13,15 @@ declare function __VLS_template(): {
|
|
|
13
13
|
"thumb-on"?(_: {}): any;
|
|
14
14
|
"thumb-off"?(_: {}): any;
|
|
15
15
|
};
|
|
16
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
17
|
modelValue: boolean;
|
|
18
18
|
loading: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
height: string;
|
|
21
21
|
activeValue: boolean;
|
|
22
22
|
inactiveValue: boolean;
|
|
23
|
-
}
|
|
24
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
23
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
25
25
|
"update:model-value": (val: string | number | boolean) => void;
|
|
26
26
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
27
27
|
modelValue: boolean;
|
|
@@ -30,17 +30,17 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
30
30
|
height: string;
|
|
31
31
|
activeValue: boolean;
|
|
32
32
|
inactiveValue: boolean;
|
|
33
|
-
}>>> & {
|
|
33
|
+
}>>> & Readonly<{
|
|
34
34
|
"onUpdate:model-value"?: (val: string | number | boolean) => any;
|
|
35
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
36
|
-
}
|
|
35
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
36
|
+
}>, {
|
|
37
37
|
loading: boolean;
|
|
38
38
|
height: keyof NmorphComponentHeight;
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
modelValue: boolean | string | number;
|
|
41
41
|
activeValue: boolean | string | number;
|
|
42
42
|
inactiveValue: boolean | string | number;
|
|
43
|
-
}, {}>;
|
|
43
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
44
44
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
45
45
|
export default _default;
|
|
46
46
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
5
|
placeholder?: string;
|
|
@@ -10,7 +10,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
11
|
"prepend-icon"?(_: {}): any;
|
|
12
12
|
};
|
|
13
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
14
|
placeholder: string;
|
|
15
15
|
label: string;
|
|
16
16
|
typePassword: boolean;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
20
20
|
height: string;
|
|
21
21
|
fill: boolean;
|
|
22
22
|
clearable: boolean;
|
|
23
|
-
}
|
|
24
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
23
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
25
25
|
"update:model-value": (val: string) => void;
|
|
26
26
|
focus: () => void;
|
|
27
27
|
blur: () => void;
|
|
@@ -36,13 +36,13 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
36
36
|
height: string;
|
|
37
37
|
fill: boolean;
|
|
38
38
|
clearable: boolean;
|
|
39
|
-
}>>> & {
|
|
40
|
-
onFocus?: () => any;
|
|
39
|
+
}>>> & Readonly<{
|
|
41
40
|
onBlur?: () => any;
|
|
41
|
+
onFocus?: () => any;
|
|
42
42
|
"onUpdate:model-value"?: (val: string) => any;
|
|
43
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
43
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
44
44
|
"onOn-enter"?: () => any;
|
|
45
|
-
}
|
|
45
|
+
}>, {
|
|
46
46
|
fill: boolean;
|
|
47
47
|
height: keyof typeof NmorphComponentHeight;
|
|
48
48
|
disabled: boolean;
|
|
@@ -50,7 +50,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
50
50
|
placeholder: string;
|
|
51
51
|
clearable: boolean;
|
|
52
52
|
typePassword: boolean;
|
|
53
|
-
}, {}>;
|
|
53
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
54
54
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
55
55
|
export default _default;
|
|
56
56
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
2
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
import { NmorphHourType, NmorphMinuteSecondsType } from '../..';
|
|
4
4
|
|
|
5
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
@@ -10,7 +10,7 @@ interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
|
10
10
|
disabledMinutes?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
11
11
|
disabledSeconds?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
12
12
|
}
|
|
13
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
|
+
declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
14
|
modelValue: number;
|
|
15
15
|
open: boolean;
|
|
16
16
|
disabled: boolean;
|
|
@@ -19,8 +19,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
19
19
|
disabledHours: any;
|
|
20
20
|
disabledMinutes: any;
|
|
21
21
|
disabledSeconds: any;
|
|
22
|
-
}
|
|
23
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
22
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
24
24
|
"update:model-value": (val: number) => void;
|
|
25
25
|
"on-change-open-close": (val: boolean) => void;
|
|
26
26
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -32,11 +32,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
32
32
|
disabledHours: any;
|
|
33
33
|
disabledMinutes: any;
|
|
34
34
|
disabledSeconds: any;
|
|
35
|
-
}>>> & {
|
|
35
|
+
}>>> & Readonly<{
|
|
36
36
|
"onUpdate:model-value"?: (val: number) => any;
|
|
37
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
37
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
38
38
|
"onOn-change-open-close"?: (val: boolean) => any;
|
|
39
|
-
}
|
|
39
|
+
}>, {
|
|
40
40
|
height: keyof typeof NmorphComponentHeight;
|
|
41
41
|
disabled: boolean;
|
|
42
42
|
modelValue: number;
|
|
@@ -45,7 +45,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
45
45
|
disabledHours: [NmorphHourType, NmorphHourType] | null;
|
|
46
46
|
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
47
47
|
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
48
|
-
}, {}>;
|
|
48
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
49
49
|
export default _default;
|
|
50
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
51
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps,
|
|
1
|
+
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
2
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../../..';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphRadioOption {
|
|
@@ -7,23 +7,23 @@ interface INmorphProps extends INmorphRadioOption {
|
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
label?(_: {}): any;
|
|
9
9
|
};
|
|
10
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
label: string;
|
|
13
13
|
styleType: string;
|
|
14
|
-
}
|
|
15
|
-
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
14
|
+
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
|
+
inputDOMRef: (val: Ref<HTMLElement, HTMLElement>) => void;
|
|
16
16
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
label: string;
|
|
19
19
|
styleType: string;
|
|
20
|
-
}>>> & {
|
|
21
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
22
|
-
}
|
|
20
|
+
}>>> & Readonly<{
|
|
21
|
+
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
22
|
+
}>, {
|
|
23
23
|
label: string;
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
styleType: keyof typeof NmorphRadioStyleType;
|
|
26
|
-
}, {}>;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
27
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
28
28
|
export default _default;
|
|
29
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|