@nmorph/nmorph-ui-kit 0.0.2 → 0.0.5
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 +1158 -1161
- package/dist/style.css +1 -1
- package/dist/styles/base/_basic.scss +3 -3
- package/dist/styles/base/_colors.scss +22 -30
- package/dist/styles/base/_dimensions.scss +1 -1
- package/dist/styles/base/_histoire.scss +1 -1
- package/dist/styles/base/_theme-mixin.scss +4 -4
- package/dist/types/components/inputs/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +8 -8
- package/dist/types/components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +8 -8
- package/dist/types/components/inputs/checkbox/types.d.ts +6 -3
- package/dist/types/components/inputs/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +14 -14
- package/dist/types/components/inputs/nmorph-autocomplete/types.d.ts +2 -2
- package/dist/types/components/inputs/nmorph-date-picker/NmorphDatePicker.vue.d.ts +11 -11
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +7 -7
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +3 -3
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +3 -3
- package/dist/types/components/inputs/nmorph-date-picker/components/types.d.ts +1 -0
- package/dist/types/components/inputs/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -14
- package/dist/types/components/inputs/nmorph-file-upload/types.d.ts +32 -28
- package/dist/types/components/inputs/nmorph-number-input/NmorphNumberInput.vue.d.ts +8 -8
- package/dist/types/components/inputs/nmorph-select/NmorphSelect.vue.d.ts +15 -15
- package/dist/types/components/inputs/{nmorph-select-option → nmorph-select/components/nmorph-select-option}/NmorphSelectOption.vue.d.ts +5 -5
- package/dist/types/components/inputs/nmorph-select/types.d.ts +4 -0
- package/dist/types/components/inputs/nmorph-slider/NmorphSlider.vue.d.ts +5 -5
- package/dist/types/components/inputs/nmorph-switch/NmorphSwitch.vue.d.ts +8 -8
- package/dist/types/components/inputs/nmorph-text-input/NmorphTextInput.vue.d.ts +10 -10
- package/dist/types/components/inputs/nmorph-time-picker/NmorphTimePicker.vue.d.ts +15 -15
- package/dist/types/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts +3 -3
- package/dist/types/components/inputs/nmorph-time-picker/types.d.ts +3 -3
- package/dist/types/components/inputs/nmorph-time-picker/utils.d.ts +2 -2
- package/dist/types/components/inputs/radio/nmorph-radio/NmorphRadio.vue.d.ts +9 -9
- package/dist/types/components/inputs/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +9 -9
- package/dist/types/components/inputs/radio/types.d.ts +5 -2
- package/dist/types/components/nmorph-alert/NmorphAlert.vue.d.ts +3 -3
- package/dist/types/components/nmorph-avatar/NmorphAvatar.vue.d.ts +5 -5
- package/dist/types/components/nmorph-backtop/NmorphBacktop.vue.d.ts +3 -3
- package/dist/types/components/nmorph-badge/NmorphBadge.vue.d.ts +4 -4
- package/dist/types/components/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +3 -3
- package/dist/types/components/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +4 -4
- package/dist/types/components/nmorph-breadcrumb/types.d.ts +2 -2
- package/dist/types/components/nmorph-button/NmorphButton.vue.d.ts +7 -7
- package/dist/types/components/nmorph-calendar/NmorphCalendar.vue.d.ts +11 -11
- package/dist/types/components/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -3
- package/dist/types/components/nmorph-calendar/types.d.ts +5 -5
- package/dist/types/components/nmorph-calendar/utils.d.ts +4 -4
- package/dist/types/components/nmorph-card/NmorphCard.vue.d.ts +3 -3
- package/dist/types/components/nmorph-carousel/NmorphCarousel.vue.d.ts +3 -3
- package/dist/types/components/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +2 -2
- package/dist/types/components/nmorph-carousel/types.d.ts +1 -1
- package/dist/types/components/nmorph-collapse/NmorphCollapse.vue.d.ts +7 -7
- package/dist/types/components/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +5 -5
- package/dist/types/components/nmorph-collapse/types.d.ts +5 -2
- package/dist/types/components/nmorph-dialog/NmorphDialog.vue.d.ts +4 -4
- package/dist/types/components/nmorph-divider/NmorphDivider.vue.d.ts +6 -6
- package/dist/types/components/nmorph-divider/types.d.ts +1 -1
- package/dist/types/components/nmorph-dropdown/NmorphDropdown.vue.d.ts +7 -7
- package/dist/types/components/{form/nmorph-form → nmorph-form}/NmorphForm.vue.d.ts +5 -5
- package/dist/types/components/{form/nmorph-form → nmorph-form}/components/nmorph-form-item/NmorphFormItem.vue.d.ts +4 -4
- package/dist/types/components/{form/nmorph-form → nmorph-form}/components/nmorph-form-item/components/nmorph-error-box/NmorphErrorBox.vue.d.ts +4 -4
- package/dist/types/components/{form/nmorph-form → nmorph-form}/components/nmorph-form-item/components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -3
- package/dist/types/components/nmorph-form/types.d.ts +7 -0
- package/dist/types/components/nmorph-icon/NmorphIcon.vue.d.ts +4 -4
- package/dist/types/components/nmorph-image/NmorphImage.vue.d.ts +5 -5
- package/dist/types/components/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -3
- package/dist/types/components/nmorph-image-preview/types.d.ts +5 -0
- package/dist/types/components/nmorph-link/NmorphLink.vue.d.ts +7 -12
- package/dist/types/components/nmorph-link/types.d.ts +6 -0
- package/dist/types/components/nmorph-overlay/NmorphOverlay.vue.d.ts +3 -3
- package/dist/types/components/nmorph-pagination/NmorphPagination.vue.d.ts +4 -4
- package/dist/types/components/nmorph-progress/NmorphProgress.vue.d.ts +3 -3
- package/dist/types/components/nmorph-scroll/NmorphScroll.vue.d.ts +8 -14
- package/dist/types/components/nmorph-scroll/types.d.ts +7 -0
- package/dist/types/components/nmorph-skeleton/NmorphSkeleton.vue.d.ts +3 -3
- package/dist/types/components/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +3 -3
- package/dist/types/components/nmorph-sort-button/NmorphSortButton.vue.d.ts +3 -3
- package/dist/types/components/{table/nmorph-table → nmorph-table}/NmorphTable.vue.d.ts +4 -4
- package/dist/types/components/{table/nmorph-table → nmorph-table}/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +2 -2
- package/dist/types/components/{table/nmorph-table → nmorph-table}/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +6 -6
- package/dist/types/components/nmorph-table/types.d.ts +21 -0
- package/dist/types/components/nmorph-tabs/NmorphTabs.vue.d.ts +3 -3
- package/dist/types/components/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +5 -5
- package/dist/types/components/nmorph-tabs/type.d.ts +3 -3
- package/dist/types/components/nmorph-tag/NmorphTag.vue.d.ts +3 -3
- package/dist/types/components/nmorph-tooltip/NmorphTooltip.vue.d.ts +7 -7
- package/dist/types/components.d.ts +50 -52
- package/dist/types/histoire.setup.d.ts +0 -2
- package/dist/types/hooks/index.d.ts +1 -0
- package/dist/types/hooks/useEventManager.d.ts +1 -0
- package/dist/types/hooks/useFieldValidation.d.ts +21 -21
- package/dist/types/hooks/useFormValidation.d.ts +2 -2
- package/dist/types/hooks/usePlacement.d.ts +6 -6
- package/dist/types/types/common.d.ts +5 -5
- package/package.json +5 -24
- package/dist/fonts/Inter-Bold.woff +0 -0
- package/dist/fonts/Inter-Bold.woff2 +0 -0
- package/dist/fonts/Inter-Regular.woff +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.woff +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/types/components/form/types.d.ts +0 -7
- package/dist/types/components/inputs/nmorph-select-option/types.d.ts +0 -1
- package/dist/types/components/table/types.d.ts +0 -19
- /package/dist/types/components/{form/nmorph-form → nmorph-form}/components/nmorph-form-item/components/index.d.ts +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
3
|
import { NmorphSelectionDateType } from './components/types';
|
|
4
|
-
import {
|
|
5
|
-
interface
|
|
4
|
+
import { NmorphSelectedDateModelType } from '../../nmorph-calendar/types';
|
|
5
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
initialStartDate?: Date;
|
|
8
8
|
initialEndDate?: Date;
|
|
9
|
-
modelValue:
|
|
9
|
+
modelValue: NmorphSelectedDateModelType;
|
|
10
10
|
type?: keyof typeof NmorphSelectionDateType;
|
|
11
11
|
textSeparator?: string;
|
|
12
12
|
startDatePlaceholder?: string;
|
|
13
13
|
endDatePlaceholder?: string;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
15
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
height: string;
|
|
18
18
|
placeholder: string;
|
|
@@ -24,8 +24,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
24
24
|
startDatePlaceholder: string;
|
|
25
25
|
endDatePlaceholder: string;
|
|
26
26
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (modelValue:
|
|
28
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
27
|
+
"update:modelValue": (modelValue: NmorphSelectedDateModelType) => void;
|
|
28
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
height: string;
|
|
31
31
|
placeholder: string;
|
|
@@ -37,13 +37,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
37
37
|
startDatePlaceholder: string;
|
|
38
38
|
endDatePlaceholder: string;
|
|
39
39
|
}>>> & {
|
|
40
|
-
"onUpdate:modelValue"?: ((modelValue:
|
|
40
|
+
"onUpdate:modelValue"?: ((modelValue: NmorphSelectedDateModelType) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
modelValue: NmorphSelectedDateModelType;
|
|
42
44
|
type: "date" | "dates" | "daterange";
|
|
43
|
-
height: "thick" | "default" | "thin";
|
|
44
45
|
placeholder: string;
|
|
45
|
-
|
|
46
|
-
disabled: boolean;
|
|
46
|
+
height: "thick" | "default" | "thin";
|
|
47
47
|
initialStartDate: Date;
|
|
48
48
|
initialEndDate: Date;
|
|
49
49
|
textSeparator: string;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { NmorphSelectionDateType } from '../types';
|
|
3
|
-
import {
|
|
4
|
-
interface
|
|
3
|
+
import { NmorphDateType, NmorphSelectedDateModelType } from '../../../../nmorph-calendar/types';
|
|
4
|
+
interface INmorphProps {
|
|
5
5
|
initialDate?: Date;
|
|
6
|
-
selectedValues:
|
|
6
|
+
selectedValues: NmorphSelectedDateModelType;
|
|
7
7
|
type?: keyof typeof NmorphSelectionDateType;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
9
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
initialDate: () => Date;
|
|
11
11
|
type: string;
|
|
12
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
-
"update-selected-value": (selectedValue:
|
|
14
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
13
|
+
"update-selected-value": (selectedValue: NmorphDateType) => void;
|
|
14
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
initialDate: () => Date;
|
|
16
16
|
type: string;
|
|
17
17
|
}>>> & {
|
|
18
|
-
"onUpdate-selected-value"?: ((selectedValue:
|
|
18
|
+
"onUpdate-selected-value"?: ((selectedValue: NmorphDateType) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
type: "date" | "dates" | "daterange";
|
|
21
21
|
initialDate: Date;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
interface
|
|
2
|
+
interface INmorphProps {
|
|
3
3
|
date?: Date;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
5
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
6
|
date: () => Date;
|
|
7
7
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
8
|
"prev-month": () => void;
|
|
@@ -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<
|
|
14
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
date: () => Date;
|
|
16
16
|
}>>> & {
|
|
17
17
|
"onPrev-month"?: (() => any) | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
interface
|
|
2
|
+
interface INmorphProps {
|
|
3
3
|
currentDate: Date;
|
|
4
4
|
type?: 'year' | 'month';
|
|
5
5
|
}
|
|
6
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
6
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
7
|
type: string;
|
|
8
8
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
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<
|
|
12
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
type: string;
|
|
14
14
|
}>>> & {
|
|
15
15
|
"onUpdate-year"?: ((val: string) => any) | undefined;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
interface
|
|
5
|
-
modelValue?:
|
|
2
|
+
import { INmorphCustomFileData, NmorphResolutionType } from './types';
|
|
3
|
+
import { NmorphDomElementType } from '../../../types/common';
|
|
4
|
+
interface INmorphProps {
|
|
5
|
+
modelValue?: INmorphCustomFileData[];
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
multiple?: boolean;
|
|
8
|
-
allowedTypes?:
|
|
8
|
+
allowedTypes?: NmorphResolutionType[];
|
|
9
9
|
photoWithPreview?: boolean;
|
|
10
10
|
fill?: boolean;
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
data: File;
|
|
14
|
-
previewUrl: string;
|
|
15
|
-
}
|
|
16
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
13
|
modelValue: () => never[];
|
|
18
14
|
disabled: boolean;
|
|
19
15
|
multiple: boolean;
|
|
@@ -21,10 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
21
17
|
photoWithPreview: boolean;
|
|
22
18
|
fill: boolean;
|
|
23
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
|
-
inputDOMRef: (val: Ref<
|
|
20
|
+
inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
|
|
25
21
|
"update:modelValue": (val: File[]) => void;
|
|
26
22
|
"on-unsupported-file-type-error": (val: string) => void;
|
|
27
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
23
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
28
24
|
modelValue: () => never[];
|
|
29
25
|
disabled: boolean;
|
|
30
26
|
multiple: boolean;
|
|
@@ -32,13 +28,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
32
28
|
photoWithPreview: boolean;
|
|
33
29
|
fill: boolean;
|
|
34
30
|
}>>> & {
|
|
35
|
-
onInputDOMRef?: ((val: Ref<
|
|
31
|
+
onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
|
|
36
32
|
"onUpdate:modelValue"?: ((val: File[]) => any) | undefined;
|
|
37
33
|
"onOn-unsupported-file-type-error"?: ((val: string) => any) | undefined;
|
|
38
34
|
}, {
|
|
39
35
|
fill: boolean;
|
|
40
|
-
modelValue: CustomFileData[];
|
|
41
36
|
disabled: boolean;
|
|
37
|
+
modelValue: INmorphCustomFileData[];
|
|
42
38
|
multiple: boolean;
|
|
43
39
|
allowedTypes: ("zip" | "rar" | "7z" | "pdf" | "msword" | "docx" | "xlsx" | "pptx" | "json" | "xml" | "mpeg" | "audio-ogg" | "wav" | "mp4" | "webm" | "wideo-ogg" | "jpeg" | "jpg" | "png" | "gif" | "svg-xml" | "webp")[];
|
|
44
40
|
photoWithPreview: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum NmorphImageResolution {
|
|
2
2
|
jpeg = "image/jpeg",
|
|
3
3
|
jpg = "image/jpg",
|
|
4
4
|
png = "image/png",
|
|
@@ -6,17 +6,17 @@ export declare enum ImageResolution {
|
|
|
6
6
|
'svg-xml' = "image/svg+xml",
|
|
7
7
|
webp = "image/webp"
|
|
8
8
|
}
|
|
9
|
-
export declare enum
|
|
9
|
+
export declare enum NmorphVideoResolution {
|
|
10
10
|
mp4 = "video/mp4",
|
|
11
11
|
webm = "video/webm",
|
|
12
12
|
'wideo-ogg' = "video/ogg"
|
|
13
13
|
}
|
|
14
|
-
export declare enum
|
|
14
|
+
export declare enum NmorphAudioResolution {
|
|
15
15
|
mpeg = "audio/mpeg",
|
|
16
16
|
'audio-ogg' = "audio/ogg",
|
|
17
17
|
wav = "audio/wav"
|
|
18
18
|
}
|
|
19
|
-
export declare enum
|
|
19
|
+
export declare enum NmorphDocResolution {
|
|
20
20
|
pdf = "application/pdf",
|
|
21
21
|
msword = "application/msword",
|
|
22
22
|
docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
@@ -25,33 +25,37 @@ export declare enum DocResolution {
|
|
|
25
25
|
json = "application/json",
|
|
26
26
|
xml = "application/xml"
|
|
27
27
|
}
|
|
28
|
-
export declare enum
|
|
28
|
+
export declare enum NmorphArchiveResolution {
|
|
29
29
|
zip = "application/zip",
|
|
30
30
|
rar = "application/x-rar-compressed",
|
|
31
31
|
'7z' = "application/x-7z-compressed"
|
|
32
32
|
}
|
|
33
33
|
export declare const resolution: {
|
|
34
|
-
zip:
|
|
35
|
-
rar:
|
|
36
|
-
'7z': (typeof
|
|
37
|
-
pdf:
|
|
38
|
-
msword:
|
|
39
|
-
docx:
|
|
40
|
-
xlsx:
|
|
41
|
-
pptx:
|
|
42
|
-
json:
|
|
43
|
-
xml:
|
|
44
|
-
mpeg:
|
|
45
|
-
'audio-ogg': (typeof
|
|
46
|
-
wav:
|
|
47
|
-
mp4:
|
|
48
|
-
webm:
|
|
49
|
-
'wideo-ogg': (typeof
|
|
50
|
-
jpeg:
|
|
51
|
-
jpg:
|
|
52
|
-
png:
|
|
53
|
-
gif:
|
|
54
|
-
'svg-xml': (typeof
|
|
55
|
-
webp:
|
|
34
|
+
zip: NmorphArchiveResolution.zip;
|
|
35
|
+
rar: NmorphArchiveResolution.rar;
|
|
36
|
+
'7z': (typeof NmorphArchiveResolution)["7z"];
|
|
37
|
+
pdf: NmorphDocResolution.pdf;
|
|
38
|
+
msword: NmorphDocResolution.msword;
|
|
39
|
+
docx: NmorphDocResolution.docx;
|
|
40
|
+
xlsx: NmorphDocResolution.xlsx;
|
|
41
|
+
pptx: NmorphDocResolution.pptx;
|
|
42
|
+
json: NmorphDocResolution.json;
|
|
43
|
+
xml: NmorphDocResolution.xml;
|
|
44
|
+
mpeg: NmorphAudioResolution.mpeg;
|
|
45
|
+
'audio-ogg': (typeof NmorphAudioResolution)["audio-ogg"];
|
|
46
|
+
wav: NmorphAudioResolution.wav;
|
|
47
|
+
mp4: NmorphVideoResolution.mp4;
|
|
48
|
+
webm: NmorphVideoResolution.webm;
|
|
49
|
+
'wideo-ogg': (typeof NmorphVideoResolution)["wideo-ogg"];
|
|
50
|
+
jpeg: NmorphImageResolution.jpeg;
|
|
51
|
+
jpg: NmorphImageResolution.jpg;
|
|
52
|
+
png: NmorphImageResolution.png;
|
|
53
|
+
gif: NmorphImageResolution.gif;
|
|
54
|
+
'svg-xml': (typeof NmorphImageResolution)["svg-xml"];
|
|
55
|
+
webp: NmorphImageResolution.webp;
|
|
56
56
|
};
|
|
57
|
-
export type
|
|
57
|
+
export type NmorphResolutionType = keyof typeof resolution;
|
|
58
|
+
export interface INmorphCustomFileData {
|
|
59
|
+
data: File;
|
|
60
|
+
previewUrl: string;
|
|
61
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
|
-
interface
|
|
3
|
+
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
4
|
modelValue?: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
min?: number;
|
|
7
7
|
step?: number;
|
|
8
8
|
actionBtnPositionRight?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
10
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
11
|
height: string;
|
|
12
12
|
modelValue: number;
|
|
13
13
|
max: number;
|
|
@@ -17,9 +17,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
17
|
actionBtnPositionRight: boolean;
|
|
18
18
|
fill: boolean;
|
|
19
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
inputDOMRef: (val: Ref<
|
|
20
|
+
inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
|
|
21
21
|
"update:modelValue": (val: number) => void;
|
|
22
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
22
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
23
|
height: string;
|
|
24
24
|
modelValue: number;
|
|
25
25
|
max: number;
|
|
@@ -29,13 +29,13 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
29
29
|
actionBtnPositionRight: boolean;
|
|
30
30
|
fill: boolean;
|
|
31
31
|
}>>> & {
|
|
32
|
-
onInputDOMRef?: ((val: Ref<
|
|
32
|
+
onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
|
|
33
33
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
fill: boolean;
|
|
36
|
-
height: "thick" | "default" | "thin";
|
|
37
|
-
modelValue: number;
|
|
38
36
|
disabled: boolean;
|
|
37
|
+
modelValue: number;
|
|
38
|
+
height: "thick" | "default" | "thin";
|
|
39
39
|
max: number;
|
|
40
40
|
min: number;
|
|
41
41
|
step: number;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
interface
|
|
2
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
+
import { NmorphSelectModelValueType } from './types';
|
|
4
|
+
import { INmorphSelectOption } from './components/nmorph-select-option/NmorphSelectOption.vue';
|
|
5
|
+
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
6
|
noElementPlaceholder?: string;
|
|
7
7
|
valueRequired?: boolean;
|
|
8
|
-
options?:
|
|
9
|
-
optionsMap?:
|
|
10
|
-
modelValue?:
|
|
8
|
+
options?: INmorphSelectOption[];
|
|
9
|
+
optionsMap?: INmorphSelectOption[];
|
|
10
|
+
modelValue?: NmorphSelectModelValueType;
|
|
11
11
|
loading?: boolean;
|
|
12
12
|
open?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
noElementPlaceholder: string;
|
|
16
16
|
valueRequired: boolean;
|
|
17
17
|
options: () => never[];
|
|
@@ -23,8 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
open: boolean;
|
|
25
25
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (val:
|
|
27
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
26
|
+
"update:modelValue": (val: NmorphSelectModelValueType) => void;
|
|
27
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
28
28
|
noElementPlaceholder: string;
|
|
29
29
|
valueRequired: boolean;
|
|
30
30
|
options: () => never[];
|
|
@@ -36,17 +36,17 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
open: boolean;
|
|
38
38
|
}>>> & {
|
|
39
|
-
"onUpdate:modelValue"?: ((val:
|
|
39
|
+
"onUpdate:modelValue"?: ((val: NmorphSelectModelValueType) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
41
|
fill: boolean;
|
|
42
|
-
height: "thick" | "default" | "thin";
|
|
43
|
-
modelValue: SelectModelValue;
|
|
44
42
|
disabled: boolean;
|
|
43
|
+
modelValue: NmorphSelectModelValueType;
|
|
44
|
+
height: "thick" | "default" | "thin";
|
|
45
45
|
loading: boolean;
|
|
46
|
-
options:
|
|
46
|
+
options: INmorphSelectOption[];
|
|
47
47
|
noElementPlaceholder: string;
|
|
48
48
|
valueRequired: boolean;
|
|
49
|
-
optionsMap:
|
|
49
|
+
optionsMap: INmorphSelectOption[];
|
|
50
50
|
open: boolean;
|
|
51
51
|
}, {}>, {
|
|
52
52
|
default?(_: {}): any;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export interface
|
|
2
|
+
import { INmorphCommonInputProps } from '../../../../../types/common';
|
|
3
|
+
export interface INmorphSelectOption extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
8
8
|
label: string;
|
|
9
9
|
height: string;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
12
|
"change-value": (val: string) => void;
|
|
13
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
13
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
14
14
|
label: string;
|
|
15
15
|
height: string;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
}>>> & {
|
|
18
18
|
"onChange-value"?: ((val: string) => any) | undefined;
|
|
19
19
|
}, {
|
|
20
|
+
disabled: boolean;
|
|
20
21
|
label: string;
|
|
21
22
|
height: "thick" | "default" | "thin";
|
|
22
|
-
disabled: boolean;
|
|
23
23
|
}, {}>, {
|
|
24
24
|
default?(_: {}): any;
|
|
25
25
|
}>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
interface
|
|
2
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
4
4
|
modelValue?: number;
|
|
5
5
|
max?: number;
|
|
6
6
|
min?: number;
|
|
7
7
|
step?: number;
|
|
8
8
|
showTooltip?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
10
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
11
|
modelValue: number;
|
|
12
12
|
max: number;
|
|
13
13
|
min: number;
|
|
@@ -17,7 +17,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
17
|
showTooltip: boolean;
|
|
18
18
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
19
|
"update:modelValue": (val: number) => void;
|
|
20
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
20
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
21
21
|
modelValue: number;
|
|
22
22
|
max: number;
|
|
23
23
|
min: number;
|
|
@@ -29,8 +29,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
29
29
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
fill: boolean;
|
|
32
|
-
modelValue: number;
|
|
33
32
|
disabled: boolean;
|
|
33
|
+
modelValue: number;
|
|
34
34
|
max: number;
|
|
35
35
|
min: number;
|
|
36
36
|
step: number;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
|
-
interface
|
|
3
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
4
|
modelValue?: boolean;
|
|
5
5
|
loading?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
8
|
modelValue: boolean;
|
|
9
9
|
loading: boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
height: string;
|
|
12
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
-
inputDOMRef: (val: Ref<
|
|
13
|
+
inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
|
|
14
14
|
"update:modelValue": (val: boolean) => void;
|
|
15
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
15
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
16
|
modelValue: boolean;
|
|
17
17
|
loading: boolean;
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
height: string;
|
|
20
20
|
}>>> & {
|
|
21
|
-
onInputDOMRef?: ((val: Ref<
|
|
21
|
+
onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
|
|
22
22
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
23
23
|
}, {
|
|
24
|
-
height: "thick" | "default" | "thin";
|
|
25
|
-
modelValue: boolean;
|
|
26
24
|
disabled: boolean;
|
|
25
|
+
modelValue: boolean;
|
|
26
|
+
height: "thick" | "default" | "thin";
|
|
27
27
|
loading: boolean;
|
|
28
28
|
}, {}>, {
|
|
29
29
|
"thumb-on"?(_: {}): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
|
-
interface
|
|
3
|
+
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
typePassword?: boolean;
|
|
6
6
|
modelValue?: string;
|
|
7
7
|
clearable?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
9
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
placeholder: string;
|
|
11
11
|
label: string;
|
|
12
12
|
typePassword: boolean;
|
|
@@ -17,11 +17,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
17
|
fill: boolean;
|
|
18
18
|
clearable: boolean;
|
|
19
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
inputDOMRef: (val: Ref<
|
|
20
|
+
inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
|
|
21
21
|
"update:modelValue": (val: string) => void;
|
|
22
22
|
focus: () => void;
|
|
23
23
|
blur: () => void;
|
|
24
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
24
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
25
25
|
placeholder: string;
|
|
26
26
|
label: string;
|
|
27
27
|
typePassword: boolean;
|
|
@@ -32,18 +32,18 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
32
32
|
fill: boolean;
|
|
33
33
|
clearable: boolean;
|
|
34
34
|
}>>> & {
|
|
35
|
+
onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
|
|
36
|
+
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
35
37
|
onFocus?: (() => any) | undefined;
|
|
36
38
|
onBlur?: (() => any) | undefined;
|
|
37
|
-
onInputDOMRef?: ((val: Ref<NmorphDomElement>) => any) | undefined;
|
|
38
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
fill: boolean;
|
|
41
|
-
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
modelValue: string;
|
|
42
43
|
placeholder: string;
|
|
43
44
|
typePassword: boolean;
|
|
44
|
-
modelValue: string;
|
|
45
45
|
clearable: boolean;
|
|
46
|
-
|
|
46
|
+
height: "thick" | "default" | "thin";
|
|
47
47
|
}, {}>;
|
|
48
48
|
export default _default;
|
|
49
49
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
|
-
import {
|
|
4
|
-
interface
|
|
3
|
+
import { NmorphHourType, NmorphMinuteSecondsType } from './types';
|
|
4
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
5
5
|
modelValue?: number;
|
|
6
6
|
open?: boolean;
|
|
7
7
|
initWithoutValue?: boolean;
|
|
8
|
-
disabledHours?: [
|
|
9
|
-
disabledMinutes?: [
|
|
10
|
-
disabledSeconds?: [
|
|
8
|
+
disabledHours?: [NmorphHourType, NmorphHourType] | null;
|
|
9
|
+
disabledMinutes?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
10
|
+
disabledSeconds?: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
11
11
|
}
|
|
12
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
12
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
modelValue: number;
|
|
14
14
|
open: boolean;
|
|
15
15
|
disabled: boolean;
|
|
@@ -19,10 +19,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
19
19
|
disabledMinutes: null;
|
|
20
20
|
disabledSeconds: null;
|
|
21
21
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
|
-
inputDOMRef: (val: Ref<
|
|
22
|
+
inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
|
|
23
23
|
"update:modelValue": (val: number) => void;
|
|
24
24
|
"on-change-open-close": (val: boolean) => void;
|
|
25
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
25
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
26
26
|
modelValue: number;
|
|
27
27
|
open: boolean;
|
|
28
28
|
disabled: boolean;
|
|
@@ -32,18 +32,18 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
32
32
|
disabledMinutes: null;
|
|
33
33
|
disabledSeconds: null;
|
|
34
34
|
}>>> & {
|
|
35
|
-
onInputDOMRef?: ((val: Ref<
|
|
35
|
+
onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
|
|
36
36
|
"onUpdate:modelValue"?: ((val: number) => any) | undefined;
|
|
37
37
|
"onOn-change-open-close"?: ((val: boolean) => any) | undefined;
|
|
38
38
|
}, {
|
|
39
|
-
height: "thick" | "default" | "thin";
|
|
40
|
-
modelValue: number;
|
|
41
39
|
disabled: boolean;
|
|
40
|
+
modelValue: number;
|
|
41
|
+
height: "thick" | "default" | "thin";
|
|
42
42
|
open: boolean;
|
|
43
43
|
initWithoutValue: boolean;
|
|
44
|
-
disabledHours: [
|
|
45
|
-
disabledMinutes: [
|
|
46
|
-
disabledSeconds: [
|
|
44
|
+
disabledHours: [NmorphHourType, NmorphHourType] | null;
|
|
45
|
+
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
46
|
+
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
47
47
|
}, {}>;
|
|
48
48
|
export default _default;
|
|
49
49
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
package/dist/types/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
interface
|
|
2
|
+
interface INmorphProps {
|
|
3
3
|
selectedValue?: number;
|
|
4
4
|
values: number[];
|
|
5
5
|
stepHeight: number;
|
|
6
6
|
setValueOnMount?: boolean;
|
|
7
7
|
disabledRange?: [number, number] | null;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
9
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
selectedValue: number;
|
|
11
11
|
values: () => never[];
|
|
12
12
|
setValueOnMount: boolean;
|
|
13
13
|
disabledRange: null;
|
|
14
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
15
|
"value-changed": (val: number) => void;
|
|
16
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
16
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
17
|
selectedValue: number;
|
|
18
18
|
values: () => never[];
|
|
19
19
|
setValueOnMount: boolean;
|