@nmorph/nmorph-ui-kit 0.0.4 → 0.0.6
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/types/components/inputs/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +3 -4
- package/dist/types/components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +5 -5
- package/dist/types/components/inputs/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +6 -6
- package/dist/types/components/inputs/nmorph-clear-button/NmorphClearButton.vue.d.ts +1 -1
- package/dist/types/components/inputs/nmorph-date-picker/NmorphDatePicker.vue.d.ts +5 -5
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +3 -3
- package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +6 -6
- 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-file-upload/NmorphFileUpload.vue.d.ts +6 -7
- package/dist/types/components/inputs/nmorph-number-input/NmorphNumberInput.vue.d.ts +4 -4
- package/dist/types/components/inputs/nmorph-select/NmorphSelect.vue.d.ts +5 -5
- package/dist/types/components/inputs/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
- package/dist/types/components/inputs/nmorph-slider/NmorphSlider.vue.d.ts +1 -1
- package/dist/types/components/inputs/nmorph-switch/NmorphSwitch.vue.d.ts +4 -4
- package/dist/types/components/inputs/nmorph-text-input/NmorphTextInput.vue.d.ts +8 -8
- package/dist/types/components/inputs/nmorph-time-picker/NmorphTimePicker.vue.d.ts +14 -14
- package/dist/types/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts +6 -6
- package/dist/types/components/inputs/radio/nmorph-radio/NmorphRadio.vue.d.ts +2 -3
- package/dist/types/components/inputs/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +3 -3
- package/dist/types/components/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/types/components/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -1
- package/dist/types/components/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -1
- package/dist/types/components/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +1 -2
- package/dist/types/components/nmorph-breadcrumb/types.d.ts +2 -1
- package/dist/types/components/nmorph-button/NmorphButton.vue.d.ts +1 -1
- package/dist/types/components/nmorph-calendar/NmorphCalendar.vue.d.ts +10 -10
- package/dist/types/components/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -3
- package/dist/types/components/nmorph-calendar/utils.d.ts +3 -3
- package/dist/types/components/nmorph-carousel/NmorphCarousel.vue.d.ts +1 -1
- package/dist/types/components/nmorph-collapse/NmorphCollapse.vue.d.ts +1 -1
- package/dist/types/components/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +2 -2
- package/dist/types/components/nmorph-dialog/NmorphDialog.vue.d.ts +2 -2
- package/dist/types/components/nmorph-dropdown/NmorphDropdown.vue.d.ts +1 -1
- package/dist/types/components/nmorph-form/NmorphForm.vue.d.ts +4 -4
- package/dist/types/components/nmorph-form/components/nmorph-form-item/components/nmorph-error-box/NmorphErrorBox.vue.d.ts +2 -2
- package/dist/types/components/nmorph-icon/NmorphIcon.vue.d.ts +8 -8
- package/dist/types/components/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -3
- package/dist/types/components/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
- package/dist/types/components/nmorph-pagination/NmorphPagination.vue.d.ts +4 -4
- package/dist/types/components/nmorph-scroll/NmorphScroll.vue.d.ts +3 -3
- package/dist/types/components/nmorph-sort-button/NmorphSortButton.vue.d.ts +1 -1
- package/dist/types/components/nmorph-table/NmorphTable.vue.d.ts +5 -5
- package/dist/types/components/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +3 -3
- package/dist/types/components/nmorph-tabs/NmorphTabs.vue.d.ts +2 -2
- package/dist/types/components/nmorph-tabs/utils.d.ts +2 -2
- package/dist/types/components/nmorph-tag/NmorphTag.vue.d.ts +1 -1
- package/dist/types/components/nmorph-tooltip/NmorphTooltip.vue.d.ts +3 -3
- package/dist/types/components.d.ts +50 -51
- package/dist/types/hooks/useFieldValidation.d.ts +1 -1
- package/dist/types/hooks/useFormValidation.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
2
|
import { INmorphCheckboxOption } from '../types';
|
|
3
|
-
import { NmorphDomElementType } from '../../../../types/common';
|
|
4
3
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
5
4
|
disabled: boolean;
|
|
6
5
|
modelValue: boolean;
|
|
7
6
|
label: string;
|
|
8
7
|
styleType: string;
|
|
9
8
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
-
inputDOMRef: (val: Ref<
|
|
9
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
11
10
|
"update:modelValue": (val: boolean) => void;
|
|
12
11
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
13
12
|
disabled: boolean;
|
|
@@ -15,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
15
14
|
label: string;
|
|
16
15
|
styleType: string;
|
|
17
16
|
}>>> & {
|
|
18
|
-
onInputDOMRef?: (
|
|
19
|
-
"onUpdate:modelValue"?: (
|
|
17
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
18
|
+
"onUpdate:modelValue"?: (val: boolean) => any;
|
|
20
19
|
}, {
|
|
21
20
|
disabled: boolean;
|
|
22
21
|
modelValue: boolean;
|
package/dist/types/components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts
CHANGED
|
@@ -8,19 +8,19 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
8
8
|
direction?: keyof typeof NmorphComponentDirection;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
-
modelValue: () =>
|
|
12
|
-
options: () =>
|
|
11
|
+
modelValue: () => any[];
|
|
12
|
+
options: () => any[];
|
|
13
13
|
styleType: string;
|
|
14
14
|
direction: string;
|
|
15
15
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
16
16
|
"update:modelValue": (val: string[]) => void;
|
|
17
17
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
18
|
-
modelValue: () =>
|
|
19
|
-
options: () =>
|
|
18
|
+
modelValue: () => any[];
|
|
19
|
+
options: () => any[];
|
|
20
20
|
styleType: string;
|
|
21
21
|
direction: string;
|
|
22
22
|
}>>> & {
|
|
23
|
-
"onUpdate:modelValue"?: (
|
|
23
|
+
"onUpdate:modelValue"?: (val: string[]) => any;
|
|
24
24
|
}, {
|
|
25
25
|
modelValue: string[];
|
|
26
26
|
styleType: "checkbox-style" | "button-style";
|
|
@@ -15,8 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
15
15
|
height: string;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
clearable: boolean;
|
|
18
|
-
list: () =>
|
|
19
|
-
actionCallback:
|
|
18
|
+
list: () => any[];
|
|
19
|
+
actionCallback: any;
|
|
20
20
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
21
|
"update:modelValue": (value: string) => void;
|
|
22
22
|
select: (value: unknown) => void;
|
|
@@ -27,11 +27,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
27
|
height: string;
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
clearable: boolean;
|
|
30
|
-
list: () =>
|
|
31
|
-
actionCallback:
|
|
30
|
+
list: () => any[];
|
|
31
|
+
actionCallback: any;
|
|
32
32
|
}>>> & {
|
|
33
|
-
"onUpdate:modelValue"?: (
|
|
34
|
-
onSelect?: (
|
|
33
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
34
|
+
onSelect?: (value: unknown) => any;
|
|
35
35
|
}, {
|
|
36
36
|
fill: boolean;
|
|
37
37
|
disabled: boolean;
|
|
@@ -2,6 +2,6 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes }
|
|
|
2
2
|
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
3
|
clear: () => void;
|
|
4
4
|
}, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
|
|
5
|
-
onClear?: (
|
|
5
|
+
onClear?: () => any;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
17
17
|
height: string;
|
|
18
18
|
placeholder: string;
|
|
19
19
|
initialStartDate: () => Date;
|
|
20
|
-
initialEndDate:
|
|
21
|
-
modelValue:
|
|
20
|
+
initialEndDate: any;
|
|
21
|
+
modelValue: any;
|
|
22
22
|
type: string;
|
|
23
23
|
textSeparator: string;
|
|
24
24
|
startDatePlaceholder: string;
|
|
@@ -30,14 +30,14 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
30
30
|
height: string;
|
|
31
31
|
placeholder: string;
|
|
32
32
|
initialStartDate: () => Date;
|
|
33
|
-
initialEndDate:
|
|
34
|
-
modelValue:
|
|
33
|
+
initialEndDate: any;
|
|
34
|
+
modelValue: any;
|
|
35
35
|
type: string;
|
|
36
36
|
textSeparator: string;
|
|
37
37
|
startDatePlaceholder: string;
|
|
38
38
|
endDatePlaceholder: string;
|
|
39
39
|
}>>> & {
|
|
40
|
-
"onUpdate:modelValue"?: (
|
|
40
|
+
"onUpdate:modelValue"?: (modelValue: NmorphSelectedDateModelType) => any;
|
|
41
41
|
}, {
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
modelValue: NmorphSelectedDateModelType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { NmorphSelectionDateType } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { NmorphSelectedDateModelType } from '../../../../nmorph-calendar/types';
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
initialDate?: Date;
|
|
6
6
|
selectedValues: NmorphSelectedDateModelType;
|
|
@@ -10,12 +10,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
10
10
|
initialDate: () => Date;
|
|
11
11
|
type: string;
|
|
12
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
-
"update-selected-value": (selectedValue:
|
|
13
|
+
"update-selected-value": (selectedValue: Date) => void;
|
|
14
14
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
initialDate: () => Date;
|
|
16
16
|
type: string;
|
|
17
17
|
}>>> & {
|
|
18
|
-
"onUpdate-selected-value"?: (
|
|
18
|
+
"onUpdate-selected-value"?: (selectedValue: Date) => any;
|
|
19
19
|
}, {
|
|
20
20
|
type: "date" | "dates" | "daterange";
|
|
21
21
|
initialDate: Date;
|
|
@@ -14,12 +14,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
14
14
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
date: () => Date;
|
|
16
16
|
}>>> & {
|
|
17
|
-
"onPrev-month"?: (
|
|
18
|
-
"onNext-month"?: (
|
|
19
|
-
"onPrev-year"?: (
|
|
20
|
-
"onNext-year"?: (
|
|
21
|
-
"onChange-year"?: (
|
|
22
|
-
"onChange-month"?: (
|
|
17
|
+
"onPrev-month"?: () => any;
|
|
18
|
+
"onNext-month"?: () => any;
|
|
19
|
+
"onPrev-year"?: () => any;
|
|
20
|
+
"onNext-year"?: () => any;
|
|
21
|
+
"onChange-year"?: () => any;
|
|
22
|
+
"onChange-month"?: () => any;
|
|
23
23
|
}, {
|
|
24
24
|
date: Date;
|
|
25
25
|
}, {}>;
|
|
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
12
12
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
type: string;
|
|
14
14
|
}>>> & {
|
|
15
|
-
"onUpdate-year"?: (
|
|
16
|
-
"onUpdate-month"?: (
|
|
17
|
-
"onBack-to-years"?: (
|
|
15
|
+
"onUpdate-year"?: (val: string) => any;
|
|
16
|
+
"onUpdate-month"?: (val: string) => any;
|
|
17
|
+
"onBack-to-years"?: () => any;
|
|
18
18
|
}, {
|
|
19
19
|
type: "month" | "year";
|
|
20
20
|
}, {}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
2
|
import { INmorphCustomFileData, NmorphResolutionType } from './types';
|
|
3
|
-
import { NmorphDomElementType } from '../../../types/common';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
modelValue?: INmorphCustomFileData[];
|
|
6
5
|
disabled?: boolean;
|
|
@@ -10,27 +9,27 @@ interface INmorphProps {
|
|
|
10
9
|
fill?: boolean;
|
|
11
10
|
}
|
|
12
11
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
|
-
modelValue: () =>
|
|
12
|
+
modelValue: () => any[];
|
|
14
13
|
disabled: boolean;
|
|
15
14
|
multiple: boolean;
|
|
16
15
|
allowedTypes: () => string[];
|
|
17
16
|
photoWithPreview: boolean;
|
|
18
17
|
fill: boolean;
|
|
19
18
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
inputDOMRef: (val: Ref<
|
|
19
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
21
20
|
"update:modelValue": (val: File[]) => void;
|
|
22
21
|
"on-unsupported-file-type-error": (val: string) => void;
|
|
23
22
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
|
-
modelValue: () =>
|
|
23
|
+
modelValue: () => any[];
|
|
25
24
|
disabled: boolean;
|
|
26
25
|
multiple: boolean;
|
|
27
26
|
allowedTypes: () => string[];
|
|
28
27
|
photoWithPreview: boolean;
|
|
29
28
|
fill: boolean;
|
|
30
29
|
}>>> & {
|
|
31
|
-
onInputDOMRef?: (
|
|
32
|
-
"onUpdate:modelValue"?: (
|
|
33
|
-
"onOn-unsupported-file-type-error"?: (
|
|
30
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
31
|
+
"onUpdate:modelValue"?: (val: File[]) => any;
|
|
32
|
+
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
34
33
|
}, {
|
|
35
34
|
fill: boolean;
|
|
36
35
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
3
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
4
|
modelValue?: number;
|
|
@@ -17,7 +17,7 @@ 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<HTMLElement>) => void;
|
|
21
21
|
"update:modelValue": (val: number) => void;
|
|
22
22
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
23
|
height: string;
|
|
@@ -29,8 +29,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
29
29
|
actionBtnPositionRight: boolean;
|
|
30
30
|
fill: boolean;
|
|
31
31
|
}>>> & {
|
|
32
|
-
onInputDOMRef?: (
|
|
33
|
-
"onUpdate:modelValue"?: (
|
|
32
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
33
|
+
"onUpdate:modelValue"?: (val: number) => any;
|
|
34
34
|
}, {
|
|
35
35
|
fill: boolean;
|
|
36
36
|
disabled: boolean;
|
|
@@ -14,8 +14,8 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
14
14
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
noElementPlaceholder: string;
|
|
16
16
|
valueRequired: boolean;
|
|
17
|
-
options: () =>
|
|
18
|
-
optionsMap: () =>
|
|
17
|
+
options: () => any[];
|
|
18
|
+
optionsMap: () => any[];
|
|
19
19
|
modelValue: string;
|
|
20
20
|
loading: boolean;
|
|
21
21
|
fill: boolean;
|
|
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
27
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
28
28
|
noElementPlaceholder: string;
|
|
29
29
|
valueRequired: boolean;
|
|
30
|
-
options: () =>
|
|
31
|
-
optionsMap: () =>
|
|
30
|
+
options: () => any[];
|
|
31
|
+
optionsMap: () => any[];
|
|
32
32
|
modelValue: string;
|
|
33
33
|
loading: boolean;
|
|
34
34
|
fill: boolean;
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
open: boolean;
|
|
38
38
|
}>>> & {
|
|
39
|
-
"onUpdate:modelValue"?: (
|
|
39
|
+
"onUpdate:modelValue"?: (val: NmorphSelectModelValueType) => any;
|
|
40
40
|
}, {
|
|
41
41
|
fill: boolean;
|
|
42
42
|
disabled: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
15
15
|
height: string;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
}>>> & {
|
|
18
|
-
"onChange-value"?: (
|
|
18
|
+
"onChange-value"?: (val: string) => any;
|
|
19
19
|
}, {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
label: string;
|
|
@@ -26,7 +26,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
26
26
|
fill: boolean;
|
|
27
27
|
showTooltip: boolean;
|
|
28
28
|
}>>> & {
|
|
29
|
-
"onUpdate:modelValue"?: (
|
|
29
|
+
"onUpdate:modelValue"?: (val: number) => any;
|
|
30
30
|
}, {
|
|
31
31
|
fill: boolean;
|
|
32
32
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
3
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
4
|
modelValue?: boolean;
|
|
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
height: string;
|
|
12
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
-
inputDOMRef: (val: Ref<
|
|
13
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
14
14
|
"update:modelValue": (val: boolean) => void;
|
|
15
15
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
16
|
modelValue: boolean;
|
|
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
height: string;
|
|
20
20
|
}>>> & {
|
|
21
|
-
onInputDOMRef?: (
|
|
22
|
-
"onUpdate:modelValue"?: (
|
|
21
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
22
|
+
"onUpdate:modelValue"?: (val: boolean) => any;
|
|
23
23
|
}, {
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
modelValue: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
3
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
4
|
placeholder?: string;
|
|
@@ -12,12 +12,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
12
12
|
typePassword: boolean;
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
modelValue: string;
|
|
15
|
-
rules: () =>
|
|
15
|
+
rules: () => any[];
|
|
16
16
|
height: string;
|
|
17
17
|
fill: boolean;
|
|
18
18
|
clearable: boolean;
|
|
19
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
inputDOMRef: (val: Ref<
|
|
20
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
21
21
|
"update:modelValue": (val: string) => void;
|
|
22
22
|
focus: () => void;
|
|
23
23
|
blur: () => void;
|
|
@@ -27,15 +27,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
27
27
|
typePassword: boolean;
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
modelValue: string;
|
|
30
|
-
rules: () =>
|
|
30
|
+
rules: () => any[];
|
|
31
31
|
height: string;
|
|
32
32
|
fill: boolean;
|
|
33
33
|
clearable: boolean;
|
|
34
34
|
}>>> & {
|
|
35
|
-
onInputDOMRef?: (
|
|
36
|
-
"onUpdate:modelValue"?: (
|
|
37
|
-
onFocus?: (
|
|
38
|
-
onBlur?: (
|
|
35
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
36
|
+
"onUpdate:modelValue"?: (val: string) => any;
|
|
37
|
+
onFocus?: () => any;
|
|
38
|
+
onBlur?: () => any;
|
|
39
39
|
}, {
|
|
40
40
|
fill: boolean;
|
|
41
41
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
3
|
import { NmorphHourType, NmorphMinuteSecondsType } from './types';
|
|
4
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
@@ -15,11 +15,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
15
15
|
disabled: boolean;
|
|
16
16
|
height: string;
|
|
17
17
|
initWithoutValue: boolean;
|
|
18
|
-
disabledHours:
|
|
19
|
-
disabledMinutes:
|
|
20
|
-
disabledSeconds:
|
|
18
|
+
disabledHours: any;
|
|
19
|
+
disabledMinutes: any;
|
|
20
|
+
disabledSeconds: any;
|
|
21
21
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
|
-
inputDOMRef: (val: Ref<
|
|
22
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
23
23
|
"update:modelValue": (val: number) => void;
|
|
24
24
|
"on-change-open-close": (val: boolean) => void;
|
|
25
25
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -28,22 +28,22 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
height: string;
|
|
30
30
|
initWithoutValue: boolean;
|
|
31
|
-
disabledHours:
|
|
32
|
-
disabledMinutes:
|
|
33
|
-
disabledSeconds:
|
|
31
|
+
disabledHours: any;
|
|
32
|
+
disabledMinutes: any;
|
|
33
|
+
disabledSeconds: any;
|
|
34
34
|
}>>> & {
|
|
35
|
-
onInputDOMRef?: (
|
|
36
|
-
"onUpdate:modelValue"?: (
|
|
37
|
-
"onOn-change-open-close"?: (
|
|
35
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
36
|
+
"onUpdate:modelValue"?: (val: number) => any;
|
|
37
|
+
"onOn-change-open-close"?: (val: boolean) => any;
|
|
38
38
|
}, {
|
|
39
39
|
disabled: boolean;
|
|
40
40
|
modelValue: number;
|
|
41
41
|
height: "thick" | "default" | "thin";
|
|
42
42
|
open: boolean;
|
|
43
43
|
initWithoutValue: boolean;
|
|
44
|
-
disabledHours: [NmorphHourType, NmorphHourType]
|
|
45
|
-
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType]
|
|
46
|
-
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType]
|
|
44
|
+
disabledHours: [NmorphHourType, NmorphHourType];
|
|
45
|
+
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
46
|
+
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
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
|
@@ -8,23 +8,23 @@ interface INmorphProps {
|
|
|
8
8
|
}
|
|
9
9
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
selectedValue: number;
|
|
11
|
-
values: () =>
|
|
11
|
+
values: () => any[];
|
|
12
12
|
setValueOnMount: boolean;
|
|
13
|
-
disabledRange:
|
|
13
|
+
disabledRange: any;
|
|
14
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
15
|
"value-changed": (val: number) => void;
|
|
16
16
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
17
|
selectedValue: number;
|
|
18
|
-
values: () =>
|
|
18
|
+
values: () => any[];
|
|
19
19
|
setValueOnMount: boolean;
|
|
20
|
-
disabledRange:
|
|
20
|
+
disabledRange: any;
|
|
21
21
|
}>>> & {
|
|
22
|
-
"onValue-changed"?: (
|
|
22
|
+
"onValue-changed"?: (val: number) => any;
|
|
23
23
|
}, {
|
|
24
24
|
values: number[];
|
|
25
25
|
selectedValue: number;
|
|
26
26
|
setValueOnMount: boolean;
|
|
27
|
-
disabledRange: [number, number]
|
|
27
|
+
disabledRange: [number, number];
|
|
28
28
|
}, {}>;
|
|
29
29
|
export default _default;
|
|
30
30
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
2
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../types';
|
|
3
|
-
import { NmorphDomElementType } from '../../../../types/common';
|
|
4
3
|
interface INmorphProps extends INmorphRadioOption {
|
|
5
4
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
6
5
|
}
|
|
@@ -9,13 +8,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
9
8
|
label: string;
|
|
10
9
|
styleType: string;
|
|
11
10
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
-
inputDOMRef: (val: Ref<
|
|
11
|
+
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
13
12
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
13
|
disabled: boolean;
|
|
15
14
|
label: string;
|
|
16
15
|
styleType: string;
|
|
17
16
|
}>>> & {
|
|
18
|
-
onInputDOMRef?: (
|
|
17
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
19
18
|
}, {
|
|
20
19
|
disabled: boolean;
|
|
21
20
|
label: string;
|
|
@@ -10,7 +10,7 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
11
|
modelValue: string;
|
|
12
12
|
styleType: string;
|
|
13
|
-
options: () =>
|
|
13
|
+
options: () => any[];
|
|
14
14
|
direction: string;
|
|
15
15
|
label: string;
|
|
16
16
|
disabled: boolean;
|
|
@@ -19,12 +19,12 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
19
19
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
20
|
modelValue: string;
|
|
21
21
|
styleType: string;
|
|
22
|
-
options: () =>
|
|
22
|
+
options: () => any[];
|
|
23
23
|
direction: string;
|
|
24
24
|
label: string;
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
}>>> & {
|
|
27
|
-
"onUpdate:modelValue"?: (
|
|
27
|
+
"onUpdate:modelValue"?: (val: string) => any;
|
|
28
28
|
}, {
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
modelValue: string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
2
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
2
|
import { INmorphBreadcrumbItemProps } from '../../types';
|
|
4
3
|
interface INmorphProps extends INmorphBreadcrumbItemProps {
|
|
@@ -11,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
11
10
|
replace: boolean;
|
|
12
11
|
}>>>, {
|
|
13
12
|
replace: boolean;
|
|
14
|
-
to:
|
|
13
|
+
to: string;
|
|
15
14
|
}, {}>, {
|
|
16
15
|
default?(_: {}): any;
|
|
17
16
|
}>;
|
|
@@ -7,7 +7,8 @@ export interface INmorphBreadcrumbItemProps {
|
|
|
7
7
|
export interface NmorphBreadcrumbInjectionItemWithId extends INmorphBreadcrumbItemProps {
|
|
8
8
|
itemId: string;
|
|
9
9
|
}
|
|
10
|
+
export type NmorphBreadcrumbsType = Ref<NmorphBreadcrumbInjectionItemWithId[]>;
|
|
10
11
|
export interface NmorphBreadcrumbInjection {
|
|
11
|
-
breadcrumbs:
|
|
12
|
+
breadcrumbs: NmorphBreadcrumbsType;
|
|
12
13
|
breadcrumbId: string;
|
|
13
14
|
}
|
|
@@ -12,25 +12,25 @@ interface INmorphProps {
|
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
markToday: boolean;
|
|
14
14
|
initialDate: () => Date;
|
|
15
|
-
modelValue:
|
|
16
|
-
range:
|
|
15
|
+
modelValue: any;
|
|
16
|
+
range: any;
|
|
17
17
|
type: string;
|
|
18
|
-
selectedValues:
|
|
18
|
+
selectedValues: any;
|
|
19
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
-
"update:modelValue": (date:
|
|
20
|
+
"update:modelValue": (date: Date) => void;
|
|
21
21
|
"update-initial-date": (date: Date) => void;
|
|
22
22
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
23
|
markToday: boolean;
|
|
24
24
|
initialDate: () => Date;
|
|
25
|
-
modelValue:
|
|
26
|
-
range:
|
|
25
|
+
modelValue: any;
|
|
26
|
+
range: any;
|
|
27
27
|
type: string;
|
|
28
|
-
selectedValues:
|
|
28
|
+
selectedValues: any;
|
|
29
29
|
}>>> & {
|
|
30
|
-
"onUpdate:modelValue"?: (
|
|
31
|
-
"onUpdate-initial-date"?: (
|
|
30
|
+
"onUpdate:modelValue"?: (date: Date) => any;
|
|
31
|
+
"onUpdate-initial-date"?: (date: Date) => any;
|
|
32
32
|
}, {
|
|
33
|
-
modelValue:
|
|
33
|
+
modelValue: Date;
|
|
34
34
|
type: "date" | "dates" | "daterange";
|
|
35
35
|
range: [Date, Date];
|
|
36
36
|
initialDate: Date;
|
|
@@ -11,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
11
11
|
"click-today": () => void;
|
|
12
12
|
"click-next-month": () => void;
|
|
13
13
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
|
|
14
|
-
"onClick-previous-month"?: (
|
|
15
|
-
"onClick-today"?: (
|
|
16
|
-
"onClick-next-month"?: (
|
|
14
|
+
"onClick-previous-month"?: () => any;
|
|
15
|
+
"onClick-today"?: () => any;
|
|
16
|
+
"onClick-next-month"?: () => any;
|
|
17
17
|
}, {}, {}>, {
|
|
18
18
|
default?(_: {}): any;
|
|
19
19
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NmorphCalendarDatesType, NmorphCalendarRangeType, NmorphSelectedDateModelType } from './types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
export declare const getDecadeYears: (year: number) =>
|
|
4
|
-
export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string |
|
|
3
|
+
export declare const getDecadeYears: (year: number) => any[];
|
|
4
|
+
export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string | string[];
|
|
5
5
|
export declare const hasAnyRangeDateInPrevMonth: (currentDate: Date, prevMonthRange: Date) => boolean;
|
|
6
6
|
export declare const hasAnyRangeDateInNextMonth: (currentDate: Date, nextMonthRange: Date) => boolean;
|
|
7
|
-
export declare const isTodayInRange: (range:
|
|
7
|
+
export declare const isTodayInRange: (range: [Date, Date]) => boolean;
|
|
8
8
|
export declare const getMonthName: (monthIndex: number) => string;
|
|
9
9
|
export declare const getMonthDaysByWeek: (selectedDate: Ref<Date>, range: NmorphCalendarRangeType | undefined) => NmorphCalendarDatesType[];
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
9
9
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
10
|
loop: boolean;
|
|
11
11
|
}>>> & {
|
|
12
|
-
onChange?: (
|
|
12
|
+
onChange?: (value: number) => any;
|
|
13
13
|
}, {
|
|
14
14
|
loop: boolean;
|
|
15
15
|
}, {}>, {
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
11
11
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
12
|
accordion: boolean;
|
|
13
13
|
}>>> & {
|
|
14
|
-
"onUpdate:modelValue"?: (
|
|
14
|
+
"onUpdate:modelValue"?: (value: NmorphCollapseModelType) => any;
|
|
15
15
|
}, {
|
|
16
16
|
accordion: boolean;
|
|
17
17
|
}, {}>, {
|
|
@@ -18,10 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
18
18
|
title: string;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
}>>> & {
|
|
21
|
-
"onClick-item"?: (
|
|
21
|
+
"onClick-item"?: (data: {
|
|
22
22
|
id: string;
|
|
23
23
|
isOpen: boolean;
|
|
24
|
-
}) => any
|
|
24
|
+
}) => any;
|
|
25
25
|
}, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
title: string;
|
|
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
13
13
|
modelValue: boolean;
|
|
14
14
|
title: string;
|
|
15
15
|
}>>> & {
|
|
16
|
-
"onUpdate:modelValue"?: (
|
|
17
|
-
"onOn-close"?: (
|
|
16
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
17
|
+
"onOn-close"?: () => any;
|
|
18
18
|
}, {
|
|
19
19
|
modelValue: boolean;
|
|
20
20
|
title: string;
|
|
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
21
21
|
yOffset: number;
|
|
22
22
|
fillWidth: boolean;
|
|
23
23
|
}>>> & {
|
|
24
|
-
"onOn-outside-click"?: (
|
|
24
|
+
"onOn-outside-click"?: () => any;
|
|
25
25
|
}, {
|
|
26
26
|
width: number;
|
|
27
27
|
xOffset: number;
|
|
@@ -12,20 +12,20 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
12
12
|
touched: Ref<boolean>;
|
|
13
13
|
valid: ComputedRef<boolean>;
|
|
14
14
|
errors: Ref<string[]>;
|
|
15
|
-
validate: () =>
|
|
15
|
+
validate: () => any;
|
|
16
16
|
}>;
|
|
17
17
|
}) => void;
|
|
18
18
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
19
|
validateImmediately: boolean;
|
|
20
20
|
}>>> & {
|
|
21
|
-
onFormValidator?: (
|
|
21
|
+
onFormValidator?: (val: {
|
|
22
22
|
fields: Record<string, {
|
|
23
23
|
touched: Ref<boolean>;
|
|
24
24
|
valid: ComputedRef<boolean>;
|
|
25
25
|
errors: Ref<string[]>;
|
|
26
|
-
validate: () =>
|
|
26
|
+
validate: () => any;
|
|
27
27
|
}>;
|
|
28
|
-
}) => any
|
|
28
|
+
}) => any;
|
|
29
29
|
}, {
|
|
30
30
|
validateImmediately: boolean;
|
|
31
31
|
}, {}>, {
|
|
@@ -7,11 +7,11 @@ interface INmorphProps {
|
|
|
7
7
|
}
|
|
8
8
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
9
|
height: string;
|
|
10
|
-
errors: () =>
|
|
10
|
+
errors: () => any[];
|
|
11
11
|
staticHeight: boolean;
|
|
12
12
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
13
|
height: string;
|
|
14
|
-
errors: () =>
|
|
14
|
+
errors: () => any[];
|
|
15
15
|
staticHeight: boolean;
|
|
16
16
|
}>>>, {
|
|
17
17
|
height: "thick" | "default" | "thin";
|
|
@@ -8,17 +8,17 @@ interface INmorphProps {
|
|
|
8
8
|
path?: string;
|
|
9
9
|
}
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
-
name:
|
|
11
|
+
name: any;
|
|
12
12
|
size: string;
|
|
13
|
-
width:
|
|
14
|
-
height:
|
|
15
|
-
path:
|
|
13
|
+
width: any;
|
|
14
|
+
height: any;
|
|
15
|
+
path: any;
|
|
16
16
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
|
-
name:
|
|
17
|
+
name: any;
|
|
18
18
|
size: string;
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
21
|
-
path:
|
|
19
|
+
width: any;
|
|
20
|
+
height: any;
|
|
21
|
+
path: any;
|
|
22
22
|
}>>>, {
|
|
23
23
|
path: string;
|
|
24
24
|
height: string;
|
|
@@ -26,11 +26,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
26
26
|
minScaleLevel: number;
|
|
27
27
|
maxScaleLevel: number;
|
|
28
28
|
}>>> & {
|
|
29
|
-
"onOn-close"?: (
|
|
30
|
-
"onOn-open"?: (
|
|
29
|
+
"onOn-close"?: () => any;
|
|
30
|
+
"onOn-open"?: () => any;
|
|
31
31
|
}, {
|
|
32
|
-
show: boolean;
|
|
33
32
|
alt: string;
|
|
33
|
+
show: boolean;
|
|
34
34
|
initialIndex: number;
|
|
35
35
|
scaleStep: number;
|
|
36
36
|
minScaleLevel: number;
|
|
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
13
13
|
show: boolean;
|
|
14
14
|
outsideClickEmitEvent: boolean;
|
|
15
15
|
}>>> & {
|
|
16
|
-
"onOn-outside-click"?: (
|
|
16
|
+
"onOn-outside-click"?: () => any;
|
|
17
17
|
}, {
|
|
18
18
|
show: boolean;
|
|
19
19
|
outsideClickEmitEvent: boolean;
|
|
@@ -25,10 +25,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
hideOnSinglePage: boolean;
|
|
27
27
|
}>>> & {
|
|
28
|
-
"onUpdate:modelValue"?: (
|
|
29
|
-
"onPrev-click"?: (
|
|
30
|
-
"onNext-click"?: (
|
|
31
|
-
"onUpdate:range"?: (
|
|
28
|
+
"onUpdate:modelValue"?: (currentPage: number) => any;
|
|
29
|
+
"onPrev-click"?: (currentPage: number) => any;
|
|
30
|
+
"onNext-click"?: (currentPage: number) => any;
|
|
31
|
+
"onUpdate:range"?: (range: [number, number]) => any;
|
|
32
32
|
}, {
|
|
33
33
|
disabled: boolean;
|
|
34
34
|
modelValue: number;
|
|
@@ -27,9 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
27
|
scrollXProp: string;
|
|
28
28
|
scrollEndDelay: number;
|
|
29
29
|
}>>> & {
|
|
30
|
-
"onUpdate:modelValue"?: (
|
|
31
|
-
"onOn-scroll"?: (
|
|
32
|
-
"onOn-scroll-end"?: (
|
|
30
|
+
"onUpdate:modelValue"?: (coords: NmorphCoordsType) => any;
|
|
31
|
+
"onOn-scroll"?: (event: Event) => any;
|
|
32
|
+
"onOn-scroll-end"?: () => any;
|
|
33
33
|
}, {
|
|
34
34
|
modelValue: NmorphCoordsType;
|
|
35
35
|
scrollYProp: "hidden" | "auto" | "scroll";
|
|
@@ -6,7 +6,7 @@ interface INmorphProps {
|
|
|
6
6
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
7
|
sort: (val: NmorphSortOrderType) => void;
|
|
8
8
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
|
|
9
|
-
onSort?: (
|
|
9
|
+
onSort?: (val: NmorphSortOrderType) => any;
|
|
10
10
|
}, {}, {}>;
|
|
11
11
|
export default _default;
|
|
12
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -11,26 +11,26 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
11
11
|
/**
|
|
12
12
|
* @description table data
|
|
13
13
|
*/
|
|
14
|
-
data: () =>
|
|
14
|
+
data: () => any[];
|
|
15
15
|
bordered: boolean;
|
|
16
|
-
sort:
|
|
16
|
+
sort: any;
|
|
17
17
|
style: string;
|
|
18
18
|
rowHover: boolean;
|
|
19
19
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
20
|
/**
|
|
21
21
|
* @description table data
|
|
22
22
|
*/
|
|
23
|
-
data: () =>
|
|
23
|
+
data: () => any[];
|
|
24
24
|
bordered: boolean;
|
|
25
|
-
sort:
|
|
25
|
+
sort: any;
|
|
26
26
|
style: string;
|
|
27
27
|
rowHover: boolean;
|
|
28
28
|
}>>>, {
|
|
29
29
|
sort: NmorphTableSortType;
|
|
30
30
|
data: NmorphTableDataType;
|
|
31
31
|
style: "nmorph" | "common";
|
|
32
|
-
rowHover: boolean;
|
|
33
32
|
bordered: boolean;
|
|
33
|
+
rowHover: boolean;
|
|
34
34
|
}, {}>, {
|
|
35
35
|
default?(_: {}): any;
|
|
36
36
|
}>;
|
package/dist/types/components/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
17
17
|
}, {}>, {
|
|
18
18
|
default?(_: {
|
|
19
19
|
scope: {
|
|
20
|
-
columns: NmorphTableColumnData[]
|
|
21
|
-
rows: NmorphDataTableElRecordType[]
|
|
22
|
-
tableId: string
|
|
20
|
+
columns: NmorphTableColumnData[];
|
|
21
|
+
rows: NmorphDataTableElRecordType[];
|
|
22
|
+
tableId: string;
|
|
23
23
|
};
|
|
24
24
|
}): any;
|
|
25
25
|
}>;
|
|
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
14
14
|
modelValue: number;
|
|
15
15
|
stretch: boolean;
|
|
16
16
|
}>>> & {
|
|
17
|
-
"onUpdate:model-value"?: (
|
|
18
|
-
"onTab-change"?: (
|
|
17
|
+
"onUpdate:model-value"?: (value: NmorphTableModelType) => any;
|
|
18
|
+
"onTab-change"?: (value: NmorphTableModelType) => any;
|
|
19
19
|
}, {
|
|
20
20
|
modelValue: NmorphTableModelType;
|
|
21
21
|
stretch: boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { NmorphTableModelType } from './type';
|
|
2
|
-
export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string
|
|
3
|
-
export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string
|
|
2
|
+
export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
3
|
+
export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
@@ -18,7 +18,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
18
18
|
removable: boolean;
|
|
19
19
|
transparent: boolean;
|
|
20
20
|
}>>> & {
|
|
21
|
-
onClose?: (
|
|
21
|
+
onClose?: (val: string) => any;
|
|
22
22
|
}, {
|
|
23
23
|
height: "thick" | "default" | "thin";
|
|
24
24
|
transparent: boolean;
|
|
@@ -10,17 +10,17 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
10
10
|
text: string;
|
|
11
11
|
position: string;
|
|
12
12
|
forceShow: boolean;
|
|
13
|
-
forceCoordinate:
|
|
13
|
+
forceCoordinate: any;
|
|
14
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
15
|
text: string;
|
|
16
16
|
position: string;
|
|
17
17
|
forceShow: boolean;
|
|
18
|
-
forceCoordinate:
|
|
18
|
+
forceCoordinate: any;
|
|
19
19
|
}>>>, {
|
|
20
20
|
text: string;
|
|
21
21
|
position: "left" | "right" | "top" | "bottom";
|
|
22
22
|
forceShow: boolean;
|
|
23
|
-
forceCoordinate:
|
|
23
|
+
forceCoordinate: any;
|
|
24
24
|
}, {}>, {
|
|
25
25
|
default?(_: {}): any;
|
|
26
26
|
content?(_: {}): any;
|
|
@@ -1,51 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
export { NmorphForm, NmorphTextInput, NmorphImage, NmorphIcon, NmorphButton, NmorphRadio, NmorphRadioGroup, NmorphCheckbox, NmorphCheckboxGroup, NmorphCarousel, NmorphCarouselItem, NmorphNumberInput, NmorphSwitch, NmorphTimePicker, NmorphDatePicker, NmorphYearMonthPicker, NmorphFormItem, NmorphSelect, NmorphSelectOption, NmorphFileUpload, NmorphCard, NmorphLink, NmorphSlider, NmorphTooltip, NmorphOverlay, NmorphImagePreview, NmorphScroll, NmorphTag, NmorphDropdown, NmorphCalendar, NmorphTable, NmorphTableColumn, NmorphTableCell, NmorphDivider, NmorphCollapse, NmorphCollapseItem, NmorphProgress, NmorphBacktop, NmorphBadge, NmorphAvatar, NmorphTabs, NmorphTabPane, NmorphBreadcrumb, NmorphBreadcrumbItem, NmorphAlert, NmorphDialog, NmorphSkeleton, NmorphSkeletonItem, NmorphPagination, NmorphAutocomplete, };
|
|
1
|
+
export { default as NmorphTextInput } from './components/inputs/nmorph-text-input/NmorphTextInput.vue';
|
|
2
|
+
export { default as NmorphCheckbox } from './components/inputs/checkbox/nmorph-checkbox/NmorphCheckbox.vue';
|
|
3
|
+
export { default as NmorphCheckboxGroup } from './components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue';
|
|
4
|
+
export { default as NmorphRadio } from './components/inputs/radio/nmorph-radio/NmorphRadio.vue';
|
|
5
|
+
export { default as NmorphRadioGroup } from './components/inputs/radio/nmorph-radio-group/NmorphRadioGroup.vue';
|
|
6
|
+
export { default as NmorphNumberInput } from './components/inputs/nmorph-number-input/NmorphNumberInput.vue';
|
|
7
|
+
export { default as NmorphSlider } from './components/inputs/nmorph-slider/NmorphSlider.vue';
|
|
8
|
+
export { default as NmorphSwitch } from './components/inputs/nmorph-switch/NmorphSwitch.vue';
|
|
9
|
+
export { default as NmorphSelect } from './components/inputs/nmorph-select/NmorphSelect.vue';
|
|
10
|
+
export { default as NmorphSelectOption } from './components/inputs/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue';
|
|
11
|
+
export { default as NmorphFileUpload } from './components/inputs/nmorph-file-upload/NmorphFileUpload.vue';
|
|
12
|
+
export { default as NmorphTimePicker } from './components/inputs/nmorph-time-picker/NmorphTimePicker.vue';
|
|
13
|
+
export { default as NmorphDatePicker } from './components/inputs/nmorph-date-picker/NmorphDatePicker.vue';
|
|
14
|
+
export { default as NmorphYearMonthPicker } from './components/inputs/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue';
|
|
15
|
+
export { default as NmorphAutocomplete } from './components/inputs/nmorph-autocomplete/NmorphAutocomplete.vue';
|
|
16
|
+
export { default as NmorphIcon } from './components/nmorph-icon/NmorphIcon.vue';
|
|
17
|
+
export { default as NmorphButton } from './components/nmorph-button/NmorphButton.vue';
|
|
18
|
+
export { default as NmorphCard } from './components/nmorph-card/NmorphCard.vue';
|
|
19
|
+
export { default as NmorphLink } from './components/nmorph-link/NmorphLink.vue';
|
|
20
|
+
export { default as NmorphTooltip } from './components/nmorph-tooltip/NmorphTooltip.vue';
|
|
21
|
+
export { default as NmorphTag } from './components/nmorph-tag/NmorphTag.vue';
|
|
22
|
+
export { default as NmorphOverlay } from './components/nmorph-overlay/NmorphOverlay.vue';
|
|
23
|
+
export { default as NmorphImage } from './components/nmorph-image/NmorphImage.vue';
|
|
24
|
+
export { default as NmorphImagePreview } from './components/nmorph-image-preview/NmorphImagePreview.vue';
|
|
25
|
+
export { default as NmorphCarousel } from './components/nmorph-carousel/NmorphCarousel.vue';
|
|
26
|
+
export { default as NmorphCarouselItem } from './components/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue';
|
|
27
|
+
export { default as NmorphFormItem } from './components/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue';
|
|
28
|
+
export { default as NmorphForm } from './components/nmorph-form/NmorphForm.vue';
|
|
29
|
+
export { default as NmorphScroll } from './components/nmorph-scroll/NmorphScroll.vue';
|
|
30
|
+
export { default as NmorphDropdown } from './components/nmorph-dropdown/NmorphDropdown.vue';
|
|
31
|
+
export { default as NmorphCalendar } from './components/nmorph-calendar/NmorphCalendar.vue';
|
|
32
|
+
export { default as NmorphTable } from './components/nmorph-table/NmorphTable.vue';
|
|
33
|
+
export { default as NmorphTableColumn } from './components/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue';
|
|
34
|
+
export { default as NmorphTableCell } from './components/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue';
|
|
35
|
+
export { default as NmorphDivider } from './components/nmorph-divider/NmorphDivider.vue';
|
|
36
|
+
export { default as NmorphCollapse } from './components/nmorph-collapse/NmorphCollapse.vue';
|
|
37
|
+
export { default as NmorphCollapseItem } from './components/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue';
|
|
38
|
+
export { default as NmorphProgress } from './components/nmorph-progress/NmorphProgress.vue';
|
|
39
|
+
export { default as NmorphBacktop } from './components/nmorph-backtop/NmorphBacktop.vue';
|
|
40
|
+
export { default as NmorphBadge } from './components/nmorph-badge/NmorphBadge.vue';
|
|
41
|
+
export { default as NmorphAvatar } from './components/nmorph-avatar/NmorphAvatar.vue';
|
|
42
|
+
export { default as NmorphTabs } from './components/nmorph-tabs/NmorphTabs.vue';
|
|
43
|
+
export { default as NmorphTabPane } from './components/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue';
|
|
44
|
+
export { default as NmorphBreadcrumb } from './components/nmorph-breadcrumb/NmorphBreadcrumb.vue';
|
|
45
|
+
export { default as NmorphBreadcrumbItem } from './components/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue';
|
|
46
|
+
export { default as NmorphAlert } from './components/nmorph-alert/NmorphAlert.vue';
|
|
47
|
+
export { default as NmorphDialog } from './components/nmorph-dialog/NmorphDialog.vue';
|
|
48
|
+
export { default as NmorphSkeleton } from './components/nmorph-skeleton/NmorphSkeleton.vue';
|
|
49
|
+
export { default as NmorphSkeletonItem } from './components/nmorph-skeleton/components/NmorphSkeletonItem.vue';
|
|
50
|
+
export { default as NmorphPagination } from './components/nmorph-pagination/NmorphPagination.vue';
|