@nmorph/nmorph-ui-kit 0.2.1 → 0.2.3
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/components/basic/nmorph-button/NmorphButton.vue.d.ts +26 -13
- package/dist/components/basic/nmorph-button/types.d.ts +5 -0
- package/dist/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +17 -13
- package/dist/components/basic/nmorph-icon/NmorphIconsMap.d.ts +2 -1
- package/dist/components/basic/nmorph-icon/types.d.ts +0 -2
- package/dist/components/basic/nmorph-link/NmorphLink.vue.d.ts +17 -14
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +15 -8
- package/dist/components/basic/nmorph-scroll/types.d.ts +9 -1
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +12 -9
- package/dist/components/data/nmorph-badge/NmorphBadge.vue.d.ts +8 -6
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +23 -20
- package/dist/components/data/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +7 -5
- package/dist/components/data/nmorph-calendar/utils.d.ts +2 -1
- package/dist/components/data/nmorph-card/NmorphCard.vue.d.ts +12 -9
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -5
- package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +4 -2
- package/dist/components/data/nmorph-carousel/types.d.ts +1 -0
- package/dist/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +9 -6
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +16 -13
- package/dist/components/data/nmorph-collapse/types.d.ts +1 -0
- package/dist/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -8
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +1 -1
- package/dist/components/data/nmorph-image-preview/types.d.ts +3 -2
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/components/data/nmorph-progress/NmorphProgress.vue.d.ts +12 -9
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +8 -6
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +3 -2
- package/dist/components/data/nmorph-table/NmorphTable.vue.d.ts +10 -7
- package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +4 -2
- package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +15 -12
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +3 -2
- package/dist/components/data/nmorph-table/types.d.ts +2 -1
- package/dist/components/data/nmorph-tag/NmorphTag.vue.d.ts +4 -3
- package/dist/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +13 -10
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +8 -6
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +11 -8
- package/dist/components/form/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +12 -9
- package/dist/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +12 -9
- package/dist/components/form/checkbox/types.d.ts +1 -0
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +14 -11
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +6 -5
- package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +4 -3
- package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +1 -1
- package/dist/components/form/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +1 -1
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +1 -1
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -7
- package/dist/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -6
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +10 -7
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +3 -2
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +5 -4
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -2
- package/dist/components/form/nmorph-form/types.d.ts +1 -0
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +5 -4
- package/dist/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -8
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +11 -7
- package/dist/components/form/nmorph-select/types.d.ts +2 -1
- package/dist/components/form/nmorph-slider/NmorphSlider.vue.d.ts +4 -3
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +25 -13
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +17 -9
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +8 -7
- package/dist/components/form/nmorph-time-picker/utils.d.ts +1 -0
- package/dist/components/form/radio/nmorph-radio/NmorphRadio.vue.d.ts +10 -7
- package/dist/components/form/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +12 -9
- package/dist/components/form/radio/types.d.ts +1 -0
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -5
- package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +7 -5
- package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-breadcrumb/types.d.ts +1 -0
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +10 -7
- package/dist/components/navigation/nmorph-tabs/type.d.ts +1 -0
- package/dist/components/navigation/nmorph-tabs/utils.d.ts +1 -0
- package/dist/components/others/nmorph-divider/NmorphDivider.vue.d.ts +3 -2
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -5
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useFieldValidation.d.ts +2 -1
- package/dist/hooks/useFormValidation.d.ts +2 -1
- package/dist/hooks/useNmorph.d.ts +7 -0
- package/dist/hooks/usePlacement.d.ts +2 -1
- package/dist/index.es.js +2006 -1869
- package/dist/index.umd.js +9 -1
- package/dist/main.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/types/{common.d.ts → index.d.ts} +37 -1
- package/dist/utils/camel-to-kebab.d.ts +1 -0
- package/dist/utils/capitalize-first-char.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +3 -2
- package/dist/hooks/nmorphHooks.d.ts +0 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INmorphCommonInputProps } from '../../../types/common';
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
3
2
|
import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
|
|
4
5
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
6
|
modelValue?: string;
|
|
6
7
|
placeholder?: string;
|
|
@@ -8,7 +9,13 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
8
9
|
list: INmorphAutocompleteListItem[];
|
|
9
10
|
actionCallback?: NmorphAutocompleteActionCallbackType;
|
|
10
11
|
}
|
|
11
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
loader?(_: {}): any;
|
|
14
|
+
default?(_: {
|
|
15
|
+
scope: INmorphAutocompleteListItem;
|
|
16
|
+
}): any;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
19
|
modelValue: string;
|
|
13
20
|
placeholder: string;
|
|
14
21
|
fill: boolean;
|
|
@@ -20,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
20
27
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
28
|
"update:modelValue": (value: string) => void;
|
|
22
29
|
select: (value: unknown) => void;
|
|
23
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
30
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
31
|
modelValue: string;
|
|
25
32
|
placeholder: string;
|
|
26
33
|
fill: boolean;
|
|
@@ -34,19 +41,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
34
41
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
35
42
|
}, {
|
|
36
43
|
fill: boolean;
|
|
37
|
-
height:
|
|
44
|
+
height: keyof NmorphComponentHeight;
|
|
38
45
|
disabled: boolean;
|
|
39
46
|
modelValue: string;
|
|
40
47
|
placeholder: string;
|
|
41
48
|
clearable: boolean;
|
|
42
49
|
list: INmorphAutocompleteListItem[];
|
|
43
50
|
actionCallback: NmorphAutocompleteActionCallbackType;
|
|
44
|
-
}, {}
|
|
45
|
-
|
|
46
|
-
default?(_: {
|
|
47
|
-
scope: INmorphAutocompleteListItem;
|
|
48
|
-
}): any;
|
|
49
|
-
}>;
|
|
51
|
+
}, {}>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
50
53
|
export default _default;
|
|
51
54
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
55
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INmorphCommonInputProps } from '../../../types/common';
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
3
2
|
import { NmorphSelectionDateType, NmorphSelectedDateModelType } from '../..';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
|
|
4
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
5
6
|
placeholder?: string;
|
|
6
7
|
initialStartDate?: Date;
|
|
@@ -24,7 +25,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
25
|
endDatePlaceholder: string;
|
|
25
26
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
27
|
"update:modelValue": (modelValue: NmorphSelectedDateModelType) => void;
|
|
27
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
28
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
28
29
|
disabled: boolean;
|
|
29
30
|
height: string;
|
|
30
31
|
placeholder: string;
|
|
@@ -38,8 +39,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
38
39
|
}>>> & {
|
|
39
40
|
"onUpdate:modelValue"?: (modelValue: NmorphSelectedDateModelType) => any;
|
|
40
41
|
}, {
|
|
41
|
-
height:
|
|
42
|
-
type:
|
|
42
|
+
height: keyof typeof NmorphComponentHeight;
|
|
43
|
+
type: keyof typeof NmorphSelectionDateType;
|
|
43
44
|
disabled: boolean;
|
|
44
45
|
modelValue: NmorphSelectedDateModelType;
|
|
45
46
|
placeholder: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { NmorphSelectionDateType, NmorphSelectedDateModelType } from '../../../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
initialDate?: Date;
|
|
5
6
|
selectedValues: NmorphSelectedDateModelType;
|
|
@@ -10,13 +11,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
11
|
type: string;
|
|
11
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
13
|
"update-selected-value": (selectedValue: Date) => void;
|
|
13
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
15
|
initialDate: () => Date;
|
|
15
16
|
type: string;
|
|
16
17
|
}>>> & {
|
|
17
18
|
"onUpdate-selected-value"?: (selectedValue: Date) => any;
|
|
18
19
|
}, {
|
|
19
|
-
type:
|
|
20
|
+
type: keyof typeof NmorphSelectionDateType;
|
|
20
21
|
initialDate: Date;
|
|
21
22
|
}, {}>;
|
|
22
23
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
11
11
|
"next-year": () => void;
|
|
12
12
|
"change-year": () => void;
|
|
13
13
|
"change-month": () => void;
|
|
14
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
date: () => Date;
|
|
16
16
|
}>>> & {
|
|
17
17
|
"onPrev-month"?: () => any;
|
|
@@ -9,7 +9,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
9
9
|
"update-year": (val: string) => void;
|
|
10
10
|
"update-month": (val: string) => void;
|
|
11
11
|
"back-to-years": () => void;
|
|
12
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
type: string;
|
|
14
14
|
}>>> & {
|
|
15
15
|
"onUpdate-year"?: (val: string) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
2
|
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
3
|
clear: () => void;
|
|
4
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
|
|
4
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{}>> & {
|
|
5
5
|
onClear?: () => any;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphCustomFileData, NmorphResolutionType } from '../..';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
modelValue?: INmorphCustomFileData[];
|
|
5
6
|
disabled?: boolean;
|
|
@@ -8,7 +9,10 @@ interface INmorphProps {
|
|
|
8
9
|
photoWithPreview?: boolean;
|
|
9
10
|
fill?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
trigger?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
16
|
modelValue: () => any[];
|
|
13
17
|
disabled: boolean;
|
|
14
18
|
multiple: boolean;
|
|
@@ -19,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
19
23
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
20
24
|
"update:modelValue": (val: File[]) => void;
|
|
21
25
|
"on-unsupported-file-type-error": (val: string) => void;
|
|
22
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
26
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
27
|
modelValue: () => any[];
|
|
24
28
|
disabled: boolean;
|
|
25
29
|
multiple: boolean;
|
|
@@ -35,11 +39,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
35
39
|
disabled: boolean;
|
|
36
40
|
modelValue: INmorphCustomFileData[];
|
|
37
41
|
multiple: boolean;
|
|
38
|
-
allowedTypes:
|
|
42
|
+
allowedTypes: NmorphResolutionType[];
|
|
39
43
|
photoWithPreview: boolean;
|
|
40
|
-
}, {}
|
|
41
|
-
|
|
42
|
-
}>;
|
|
44
|
+
}, {}>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
43
46
|
export default _default;
|
|
44
47
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
48
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, Ref, ComputedRef, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { NmorphFormValueType } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, Ref, ComputedRef, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
value: NmorphFormValueType;
|
|
5
6
|
validateImmediately?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
12
|
validateImmediately: boolean;
|
|
9
13
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
14
|
formValidator: (val: {
|
|
@@ -15,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
15
19
|
validate: () => any;
|
|
16
20
|
}>;
|
|
17
21
|
}) => void;
|
|
18
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
22
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
23
|
validateImmediately: boolean;
|
|
20
24
|
}>>> & {
|
|
21
25
|
onFormValidator?: (val: {
|
|
@@ -28,9 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
28
32
|
}) => any;
|
|
29
33
|
}, {
|
|
30
34
|
validateImmediately: boolean;
|
|
31
|
-
}, {}
|
|
32
|
-
|
|
33
|
-
}>;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
34
37
|
export default _default;
|
|
35
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
39
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NmorphComponentHeight } from '../../../../../types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
/**
|
|
5
6
|
* The ID of the form field used to bind to validation data.
|
|
@@ -12,27 +13,29 @@ interface INmorphProps {
|
|
|
12
13
|
staticErrorBoxSpace?: boolean;
|
|
13
14
|
validate?: boolean;
|
|
14
15
|
}
|
|
15
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
20
|
label: string;
|
|
17
21
|
height: string;
|
|
18
22
|
showValidationIcon: boolean;
|
|
19
23
|
staticErrorBoxSpace: boolean;
|
|
20
24
|
validate: boolean;
|
|
21
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
25
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
22
26
|
label: string;
|
|
23
27
|
height: string;
|
|
24
28
|
showValidationIcon: boolean;
|
|
25
29
|
staticErrorBoxSpace: boolean;
|
|
26
30
|
validate: boolean;
|
|
27
31
|
}>>>, {
|
|
28
|
-
height:
|
|
32
|
+
height: keyof typeof NmorphComponentHeight;
|
|
29
33
|
label: string;
|
|
30
34
|
showValidationIcon: boolean;
|
|
31
35
|
staticErrorBoxSpace: boolean;
|
|
32
36
|
validate: boolean;
|
|
33
|
-
}, {}
|
|
34
|
-
|
|
35
|
-
}>;
|
|
37
|
+
}, {}>;
|
|
38
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
39
|
export default _default;
|
|
37
40
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
41
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import NmorphErrorBox from './nmorph-error-box/NmorphErrorBox.vue';
|
|
2
|
-
import NmorphValidationIcon from './nmorph-validation-icon/NmorphValidationIcon.vue';
|
|
1
|
+
import { default as NmorphErrorBox } from './nmorph-error-box/NmorphErrorBox.vue';
|
|
2
|
+
import { default as NmorphValidationIcon } from './nmorph-validation-icon/NmorphValidationIcon.vue';
|
|
3
|
+
|
|
3
4
|
export { NmorphErrorBox, NmorphValidationIcon };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { NmorphComponentHeight } from '../../../../../../../types
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { NmorphComponentHeight } from '../../../../../../../types';
|
|
2
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
height?: keyof typeof NmorphComponentHeight;
|
|
5
6
|
errors?: string[] | Ref<string[]>;
|
|
@@ -9,12 +10,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
9
10
|
height: string;
|
|
10
11
|
errors: () => any[];
|
|
11
12
|
staticHeight: boolean;
|
|
12
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
14
|
height: string;
|
|
14
15
|
errors: () => any[];
|
|
15
16
|
staticHeight: boolean;
|
|
16
17
|
}>>>, {
|
|
17
|
-
height:
|
|
18
|
+
height: keyof typeof NmorphComponentHeight;
|
|
18
19
|
errors: string[] | Ref<string[]>;
|
|
19
20
|
staticHeight: boolean;
|
|
20
21
|
}, {}>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface INmorphProps {
|
|
3
4
|
valid: boolean | ComputedRef<boolean>;
|
|
4
5
|
show?: boolean | ComputedRef<boolean>;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
8
|
show: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
10
|
show: boolean;
|
|
10
11
|
}>>>, {
|
|
11
12
|
show: boolean | ComputedRef<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
5
|
modelValue?: number;
|
|
5
6
|
max?: number;
|
|
@@ -19,7 +20,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
19
20
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
21
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
21
22
|
"update:modelValue": (val: number) => void;
|
|
22
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
24
|
height: string;
|
|
24
25
|
modelValue: number;
|
|
25
26
|
max: number;
|
|
@@ -33,7 +34,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
33
34
|
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
34
35
|
}, {
|
|
35
36
|
fill: boolean;
|
|
36
|
-
height:
|
|
37
|
+
height: keyof typeof NmorphComponentHeight;
|
|
37
38
|
disabled: boolean;
|
|
38
39
|
modelValue: number;
|
|
39
40
|
max: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INmorphCommonInputProps } from '../../../types/common';
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
3
2
|
import { NmorphSelectModelValueType, INmorphSelectOption } from '../..';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
|
|
4
5
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
6
|
noElementPlaceholder?: string;
|
|
6
7
|
valueRequired?: boolean;
|
|
@@ -10,7 +11,10 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
10
11
|
loading?: boolean;
|
|
11
12
|
open?: boolean;
|
|
12
13
|
}
|
|
13
|
-
declare
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
18
|
noElementPlaceholder: string;
|
|
15
19
|
valueRequired: boolean;
|
|
16
20
|
options: () => any[];
|
|
@@ -23,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
23
27
|
open: boolean;
|
|
24
28
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
29
|
"update:modelValue": (val: NmorphSelectModelValueType) => void;
|
|
26
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
30
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
27
31
|
noElementPlaceholder: string;
|
|
28
32
|
valueRequired: boolean;
|
|
29
33
|
options: () => any[];
|
|
@@ -38,7 +42,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
38
42
|
"onUpdate:modelValue"?: (val: NmorphSelectModelValueType) => any;
|
|
39
43
|
}, {
|
|
40
44
|
fill: boolean;
|
|
41
|
-
height:
|
|
45
|
+
height: keyof typeof NmorphComponentHeight;
|
|
42
46
|
disabled: boolean;
|
|
43
47
|
modelValue: NmorphSelectModelValueType;
|
|
44
48
|
loading: boolean;
|
|
@@ -47,9 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
47
51
|
noElementPlaceholder: string;
|
|
48
52
|
valueRequired: boolean;
|
|
49
53
|
optionsMap: INmorphSelectOption[];
|
|
50
|
-
}, {}
|
|
51
|
-
|
|
52
|
-
}>;
|
|
54
|
+
}, {}>;
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
53
56
|
export default _default;
|
|
54
57
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
58
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,24 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NmorphComponentHeight } from '../../../../../types';
|
|
2
2
|
import { INmorphSelectOption } from '../../../..';
|
|
3
|
-
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
4
9
|
label: string;
|
|
5
10
|
height: string;
|
|
6
11
|
disabled: boolean;
|
|
7
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
13
|
"change-value": (val: string) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
10
15
|
label: string;
|
|
11
16
|
height: string;
|
|
12
17
|
disabled: boolean;
|
|
13
18
|
}>>> & {
|
|
14
19
|
"onChange-value"?: (val: string) => any;
|
|
15
20
|
}, {
|
|
16
|
-
height:
|
|
21
|
+
height: keyof typeof NmorphComponentHeight;
|
|
17
22
|
label: string;
|
|
18
23
|
disabled: boolean;
|
|
19
|
-
}, {}
|
|
20
|
-
|
|
21
|
-
}>;
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
22
26
|
export default _default;
|
|
23
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
28
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
+
|
|
3
4
|
export type NmorphSelectModelValueType = string | string[];
|
|
4
5
|
export type NmorphSelectSelectedValueInjectionType = Ref<NmorphSelectModelValueType>;
|
|
5
6
|
export type NmorphSelectChangeSelectedValue = (value: string) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
4
5
|
modelValue?: number;
|
|
5
6
|
max?: number;
|
|
@@ -17,7 +18,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
18
|
showTooltip: boolean;
|
|
18
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
20
|
"update:modelValue": (val: number) => void;
|
|
20
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
21
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
21
22
|
modelValue: number;
|
|
22
23
|
max: number;
|
|
23
24
|
min: number;
|
|
@@ -32,9 +33,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
32
33
|
disabled: boolean;
|
|
33
34
|
modelValue: number;
|
|
34
35
|
max: number;
|
|
35
|
-
showTooltip: boolean;
|
|
36
36
|
min: number;
|
|
37
37
|
step: number;
|
|
38
|
+
showTooltip: boolean;
|
|
38
39
|
}, {}>;
|
|
39
40
|
export default _default;
|
|
40
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,34 +1,46 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
4
|
+
type ValueType = boolean | string | number;
|
|
3
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
|
-
modelValue?:
|
|
6
|
+
modelValue?: ValueType;
|
|
5
7
|
loading?: boolean;
|
|
8
|
+
activeValue?: ValueType;
|
|
9
|
+
inactiveValue?: ValueType;
|
|
6
10
|
}
|
|
7
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
"thumb-on"?(_: {}): any;
|
|
13
|
+
"thumb-off"?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
16
|
modelValue: boolean;
|
|
9
17
|
loading: boolean;
|
|
10
18
|
disabled: boolean;
|
|
11
19
|
height: string;
|
|
20
|
+
activeValue: boolean;
|
|
21
|
+
inactiveValue: boolean;
|
|
12
22
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
23
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
14
|
-
"update:modelValue": (val:
|
|
15
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
|
+
"update:modelValue": (val: ValueType) => void;
|
|
25
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
26
|
modelValue: boolean;
|
|
17
27
|
loading: boolean;
|
|
18
28
|
disabled: boolean;
|
|
19
29
|
height: string;
|
|
30
|
+
activeValue: boolean;
|
|
31
|
+
inactiveValue: boolean;
|
|
20
32
|
}>>> & {
|
|
21
|
-
"onUpdate:modelValue"?: (val:
|
|
33
|
+
"onUpdate:modelValue"?: (val: ValueType) => any;
|
|
22
34
|
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
23
35
|
}, {
|
|
24
|
-
height:
|
|
36
|
+
height: keyof NmorphComponentHeight;
|
|
25
37
|
disabled: boolean;
|
|
26
|
-
modelValue:
|
|
38
|
+
modelValue: ValueType;
|
|
27
39
|
loading: boolean;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
40
|
+
activeValue: ValueType;
|
|
41
|
+
inactiveValue: ValueType;
|
|
42
|
+
}, {}>;
|
|
43
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
32
44
|
export default _default;
|
|
33
45
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
46
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
typePassword?: boolean;
|
|
6
7
|
modelValue?: string;
|
|
7
8
|
clearable?: boolean;
|
|
8
|
-
searchIcon?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
"prepend-icon"?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
14
|
placeholder: string;
|
|
12
15
|
label: string;
|
|
13
16
|
typePassword: boolean;
|
|
@@ -17,13 +20,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
20
|
height: string;
|
|
18
21
|
fill: boolean;
|
|
19
22
|
clearable: boolean;
|
|
20
|
-
searchIcon: boolean;
|
|
21
23
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
24
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
23
25
|
"update:modelValue": (val: string) => void;
|
|
24
26
|
focus: () => void;
|
|
25
27
|
blur: () => void;
|
|
26
|
-
|
|
28
|
+
"on-enter": () => void;
|
|
29
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
27
30
|
placeholder: string;
|
|
28
31
|
label: string;
|
|
29
32
|
typePassword: boolean;
|
|
@@ -33,22 +36,22 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
33
36
|
height: string;
|
|
34
37
|
fill: boolean;
|
|
35
38
|
clearable: boolean;
|
|
36
|
-
searchIcon: boolean;
|
|
37
39
|
}>>> & {
|
|
38
40
|
onFocus?: () => any;
|
|
39
41
|
onBlur?: () => any;
|
|
40
42
|
"onUpdate:modelValue"?: (val: string) => any;
|
|
41
43
|
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
44
|
+
"onOn-enter"?: () => any;
|
|
42
45
|
}, {
|
|
43
46
|
fill: boolean;
|
|
44
|
-
height:
|
|
47
|
+
height: keyof typeof NmorphComponentHeight;
|
|
45
48
|
disabled: boolean;
|
|
46
49
|
modelValue: string;
|
|
47
50
|
placeholder: string;
|
|
48
51
|
clearable: boolean;
|
|
49
52
|
typePassword: boolean;
|
|
50
|
-
searchIcon: boolean;
|
|
51
53
|
}, {}>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
52
55
|
export default _default;
|
|
53
56
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
57
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -67,3 +70,8 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
67
70
|
type __VLS_Prettify<T> = {
|
|
68
71
|
[K in keyof T]: T[K];
|
|
69
72
|
} & {};
|
|
73
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|