@nmorph/nmorph-ui-kit 0.2.127 → 0.2.130
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 +3102 -3382
- package/dist/index.umd.js +7 -7
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +2 -6
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +2 -1
- package/dist/src/components/form/index.d.ts +4 -10
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +1 -4
- package/dist/src/components/form/{checkbox/nmorph-checkbox → nmorph-checkbox}/NmorphCheckbox.vue.d.ts +8 -5
- package/dist/src/components/form/{checkbox/nmorph-checkbox-group → nmorph-checkbox-group}/NmorphCheckboxGroup.vue.d.ts +1 -2
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +4 -4
- package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +0 -4
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +3 -3
- package/dist/src/components/form/{radio/nmorph-radio → nmorph-radio}/NmorphRadio.vue.d.ts +6 -8
- package/dist/src/components/form/{radio/nmorph-radio-group → nmorph-radio-group}/NmorphRadioGroup.vue.d.ts +1 -2
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +6 -9
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +5 -8
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +4 -4
- package/dist/src/types/index.d.ts +28 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/src/components/form/checkbox/types.d.ts +0 -12
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +0 -40
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +0 -43
- package/dist/src/components/form/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +0 -38
- package/dist/src/components/form/nmorph-date-picker/components/types.d.ts +0 -7
- package/dist/src/components/form/radio/types.d.ts +0 -13
|
@@ -30,9 +30,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
30
30
|
icon: any;
|
|
31
31
|
}>>, {
|
|
32
32
|
buttonDOMElement: Ref<HTMLElement, HTMLElement>;
|
|
33
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
|
-
click: () => void;
|
|
35
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
33
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
36
34
|
type: string;
|
|
37
35
|
fill: boolean;
|
|
38
36
|
text: any;
|
|
@@ -44,9 +42,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
44
42
|
ripple: boolean;
|
|
45
43
|
shape: string;
|
|
46
44
|
icon: any;
|
|
47
|
-
}>>> & Readonly<{
|
|
48
|
-
onClick?: () => any;
|
|
49
|
-
}>, {
|
|
45
|
+
}>>> & Readonly<{}>, {
|
|
50
46
|
loading: boolean;
|
|
51
47
|
fill: boolean;
|
|
52
48
|
height: keyof typeof NmorphComponentHeight;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { NmorphCalendarRangeType, NmorphSelectedDateModelType,
|
|
1
|
+
import { NmorphCalendarRangeType, NmorphSelectedDateModelType, NmorphCalendarDateType } from '../..';
|
|
2
|
+
import { NmorphSelectionDateType } from '../../../types';
|
|
2
3
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
4
|
|
|
4
5
|
interface INmorphProps {
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
export { default as NmorphCheckbox } from './
|
|
2
|
-
export
|
|
3
|
-
export { default as NmorphCheckboxGroup } from './checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue';
|
|
1
|
+
export { default as NmorphCheckbox } from './nmorph-checkbox/NmorphCheckbox.vue';
|
|
2
|
+
export { default as NmorphCheckboxGroup } from './nmorph-checkbox-group/NmorphCheckboxGroup.vue';
|
|
4
3
|
export { default as NmorphAutocomplete } from './nmorph-autocomplete/NmorphAutocomplete.vue';
|
|
5
4
|
export * from './nmorph-autocomplete/types';
|
|
6
5
|
export { default as NmorphDatePicker } from './nmorph-date-picker/NmorphDatePicker.vue';
|
|
7
|
-
export * from './nmorph-date-picker/components/types';
|
|
8
|
-
export { default as NmorphYearMonthPicker } from './nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue';
|
|
9
|
-
export { default as NmorphDatePickerContent } from './nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue';
|
|
10
|
-
export { default as NmorphDatePickerHeader } from './nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue';
|
|
11
6
|
export { default as NmorphFileUpload } from './nmorph-file-upload/NmorphFileUpload.vue';
|
|
12
7
|
export * from './nmorph-file-upload/types';
|
|
13
8
|
export { default as NmorphForm } from './nmorph-form/NmorphForm.vue';
|
|
@@ -23,6 +18,5 @@ export { default as NmorphTextInput } from './nmorph-text-input/NmorphTextInput.
|
|
|
23
18
|
export { default as NmorphTimePicker } from './nmorph-time-picker/NmorphTimePicker.vue';
|
|
24
19
|
export * from './nmorph-time-picker/types';
|
|
25
20
|
export * from './nmorph-time-picker/utils';
|
|
26
|
-
export { default as NmorphRadio } from './
|
|
27
|
-
export
|
|
28
|
-
export { default as NmorphRadioGroup } from './radio/nmorph-radio-group/NmorphRadioGroup.vue';
|
|
21
|
+
export { default as NmorphRadio } from './nmorph-radio/NmorphRadio.vue';
|
|
22
|
+
export { default as NmorphRadioGroup } from './nmorph-radio-group/NmorphRadioGroup.vue';
|
|
@@ -2,7 +2,7 @@ import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
|
2
2
|
import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
|
|
3
3
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
4
|
|
|
5
|
-
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
6
6
|
modelValue?: string;
|
|
7
7
|
placeholder?: string;
|
|
8
8
|
clearable?: boolean;
|
|
@@ -18,7 +18,6 @@ declare function __VLS_template(): {
|
|
|
18
18
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
19
|
modelValue: string;
|
|
20
20
|
placeholder: string;
|
|
21
|
-
fill: boolean;
|
|
22
21
|
height: string;
|
|
23
22
|
disabled: boolean;
|
|
24
23
|
clearable: boolean;
|
|
@@ -30,7 +29,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
30
29
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
31
30
|
modelValue: string;
|
|
32
31
|
placeholder: string;
|
|
33
|
-
fill: boolean;
|
|
34
32
|
height: string;
|
|
35
33
|
disabled: boolean;
|
|
36
34
|
clearable: boolean;
|
|
@@ -41,7 +39,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
41
39
|
"onUpdate:model-value"?: (value: string) => any;
|
|
42
40
|
}>, {
|
|
43
41
|
list: INmorphAutocompleteListItem[];
|
|
44
|
-
fill: boolean;
|
|
45
42
|
height: keyof NmorphComponentHeight;
|
|
46
43
|
disabled: boolean;
|
|
47
44
|
modelValue: string;
|
|
@@ -1,29 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { INmorphCheckboxOption, NmorphCheckboxDesignType } from '../../../types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
label?(_: {}): any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
9
|
+
id: string;
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
modelValue: boolean;
|
|
11
12
|
label: string;
|
|
12
13
|
design: string;
|
|
13
|
-
}>>, {
|
|
14
|
-
inputDOMRef:
|
|
14
|
+
}>>, {
|
|
15
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
15
17
|
"update:model-value": (val: boolean) => void;
|
|
16
18
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
19
|
+
id: string;
|
|
17
20
|
disabled: boolean;
|
|
18
21
|
modelValue: boolean;
|
|
19
22
|
label: string;
|
|
20
23
|
design: string;
|
|
21
24
|
}>>> & Readonly<{
|
|
22
25
|
"onUpdate:model-value"?: (val: boolean) => any;
|
|
23
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
24
26
|
}>, {
|
|
25
27
|
label: string;
|
|
26
28
|
disabled: boolean;
|
|
29
|
+
id: string;
|
|
27
30
|
modelValue: boolean;
|
|
28
31
|
design: NmorphCheckboxDesignType;
|
|
29
32
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { NmorphCheckboxDesignType,
|
|
2
|
-
import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types';
|
|
1
|
+
import { INmorphCheckboxOption, INmorphCommonInputProps, NmorphCheckboxDesignType, NmorphComponentDirection } from '../../../types';
|
|
3
2
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
3
|
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight, NmorphSelectionDateType } from '../../../types';
|
|
2
|
+
import { NmorphSelectedDateModelType } from '../..';
|
|
3
3
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
2
1
|
import { INmorphCustomFileData, NmorphResolutionType } from '../..';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
modelValue?: INmorphCustomFileData[];
|
|
@@ -19,8 +19,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
19
19
|
allowedTypes: () => string[];
|
|
20
20
|
photoWithPreview: boolean;
|
|
21
21
|
fill: boolean;
|
|
22
|
-
}>>, {
|
|
23
|
-
inputDOMRef:
|
|
22
|
+
}>>, {
|
|
23
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
25
|
"update:model-value": (val: File[]) => void;
|
|
25
26
|
"on-unsupported-file-type-error": (val: string) => void;
|
|
26
27
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -32,7 +33,6 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
32
33
|
fill: boolean;
|
|
33
34
|
}>>> & Readonly<{
|
|
34
35
|
"onUpdate:model-value"?: (val: File[]) => any;
|
|
35
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
36
36
|
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
37
37
|
}>, {
|
|
38
38
|
fill: boolean;
|
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
|
|
|
11
11
|
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
12
|
validateImmediately: boolean;
|
|
13
13
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
-
|
|
14
|
+
"form-validator": (val: {
|
|
15
15
|
fields: Record<string, {
|
|
16
16
|
touched: Ref<boolean, boolean>;
|
|
17
17
|
valid: ComputedRef<boolean>;
|
|
@@ -22,7 +22,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
22
22
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
23
|
validateImmediately: boolean;
|
|
24
24
|
}>>> & Readonly<{
|
|
25
|
-
|
|
25
|
+
"onForm-validator"?: (val: {
|
|
26
26
|
fields: Record<string, {
|
|
27
27
|
touched: Ref<boolean, boolean>;
|
|
28
28
|
valid: ComputedRef<boolean>;
|
package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts
CHANGED
|
@@ -2,10 +2,6 @@ import { NmorphComponentHeight } from '../../../../../types';
|
|
|
2
2
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps {
|
|
5
|
-
/**
|
|
6
|
-
* The ID of the form field used to bind to validation data.
|
|
7
|
-
* @type {string}
|
|
8
|
-
*/
|
|
9
5
|
id: string;
|
|
10
6
|
height?: keyof typeof NmorphComponentHeight;
|
|
11
7
|
label?: string;
|
|
@@ -17,8 +17,9 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
actionBtnPositionRight: boolean;
|
|
19
19
|
fill: boolean;
|
|
20
|
-
}>>, {
|
|
21
|
-
inputDOMRef:
|
|
20
|
+
}>>, {
|
|
21
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
22
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
22
23
|
"update:model-value": (val: number) => void;
|
|
23
24
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
24
25
|
height: string;
|
|
@@ -31,7 +32,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
31
32
|
fill: boolean;
|
|
32
33
|
}>>> & Readonly<{
|
|
33
34
|
"onUpdate:model-value"?: (val: number) => any;
|
|
34
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
35
35
|
}>, {
|
|
36
36
|
fill: boolean;
|
|
37
37
|
height: keyof typeof NmorphComponentHeight;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { INmorphRadioOption, NmorphRadioStyleType } from '../../../types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
4
|
interface INmorphProps extends INmorphRadioOption {
|
|
5
5
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
@@ -11,15 +11,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
label: string;
|
|
13
13
|
styleType: string;
|
|
14
|
-
}>>, {
|
|
15
|
-
inputDOMRef:
|
|
16
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
+
}>>, {
|
|
15
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
label: string;
|
|
19
19
|
styleType: string;
|
|
20
|
-
}>>> & Readonly<{
|
|
21
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
22
|
-
}>, {
|
|
20
|
+
}>>> & Readonly<{}>, {
|
|
23
21
|
label: string;
|
|
24
22
|
disabled: boolean;
|
|
25
23
|
styleType: keyof typeof NmorphRadioStyleType;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { INmorphCommonInputProps, NmorphComponentDirection } from '
|
|
2
|
-
import { INmorphRadioOption, NmorphRadioStyleType } from '../../..';
|
|
1
|
+
import { INmorphCommonInputProps, INmorphRadioOption, NmorphComponentDirection, NmorphRadioStyleType } from '../../../types';
|
|
3
2
|
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
3
|
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
2
|
-
import {
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill' | 'height'> {
|
|
5
5
|
modelValue?: boolean | string | number;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
activeValue?: boolean | string | number;
|
|
@@ -17,25 +17,22 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
17
17
|
modelValue: boolean;
|
|
18
18
|
loading: boolean;
|
|
19
19
|
disabled: boolean;
|
|
20
|
-
height: string;
|
|
21
20
|
activeValue: boolean;
|
|
22
21
|
inactiveValue: boolean;
|
|
23
|
-
}>>, {
|
|
24
|
-
inputDOMRef:
|
|
22
|
+
}>>, {
|
|
23
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
25
|
"update:model-value": (val: string | number | boolean) => void;
|
|
26
26
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
27
27
|
modelValue: boolean;
|
|
28
28
|
loading: boolean;
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
height: string;
|
|
31
30
|
activeValue: boolean;
|
|
32
31
|
inactiveValue: boolean;
|
|
33
32
|
}>>> & Readonly<{
|
|
34
33
|
"onUpdate:model-value"?: (val: string | number | boolean) => any;
|
|
35
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
36
34
|
}>, {
|
|
37
35
|
loading: boolean;
|
|
38
|
-
height: keyof NmorphComponentHeight;
|
|
39
36
|
disabled: boolean;
|
|
40
37
|
modelValue: boolean | string | number;
|
|
41
38
|
activeValue: boolean | string | number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
3
|
|
|
4
|
-
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
|
+
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
typePassword?: boolean;
|
|
7
7
|
modelValue?: string;
|
|
@@ -18,10 +18,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
18
18
|
modelValue: string;
|
|
19
19
|
rules: () => any[];
|
|
20
20
|
height: string;
|
|
21
|
-
fill: boolean;
|
|
22
21
|
clearable: boolean;
|
|
23
|
-
}>>, {
|
|
24
|
-
inputDOMRef:
|
|
22
|
+
}>>, {
|
|
23
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
25
|
"update:model-value": (val: string) => void;
|
|
26
26
|
focus: () => void;
|
|
27
27
|
blur: () => void;
|
|
@@ -34,16 +34,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
34
34
|
modelValue: string;
|
|
35
35
|
rules: () => any[];
|
|
36
36
|
height: string;
|
|
37
|
-
fill: boolean;
|
|
38
37
|
clearable: boolean;
|
|
39
38
|
}>>> & Readonly<{
|
|
40
39
|
onBlur?: () => any;
|
|
41
40
|
onFocus?: () => any;
|
|
42
41
|
"onUpdate:model-value"?: (val: string) => any;
|
|
43
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
44
42
|
"onOn-enter"?: () => any;
|
|
45
43
|
}>, {
|
|
46
|
-
fill: boolean;
|
|
47
44
|
height: keyof typeof NmorphComponentHeight;
|
|
48
45
|
disabled: boolean;
|
|
49
46
|
modelValue: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
-
import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
3
2
|
import { NmorphHourType, NmorphMinuteSecondsType } from '../..';
|
|
3
|
+
import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
|
|
4
4
|
|
|
5
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
6
6
|
modelValue?: number;
|
|
@@ -19,8 +19,9 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
19
19
|
disabledHours: any;
|
|
20
20
|
disabledMinutes: any;
|
|
21
21
|
disabledSeconds: any;
|
|
22
|
-
}>>, {
|
|
23
|
-
inputDOMRef:
|
|
22
|
+
}>>, {
|
|
23
|
+
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
24
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
25
|
"update:model-value": (val: number) => void;
|
|
25
26
|
"on-change-open-close": (val: boolean) => void;
|
|
26
27
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -34,7 +35,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
34
35
|
disabledSeconds: any;
|
|
35
36
|
}>>> & Readonly<{
|
|
36
37
|
"onUpdate:model-value"?: (val: number) => any;
|
|
37
|
-
onInputDOMRef?: (val: Ref<HTMLElement, HTMLElement>) => any;
|
|
38
38
|
"onOn-change-open-close"?: (val: boolean) => any;
|
|
39
39
|
}>, {
|
|
40
40
|
height: keyof typeof NmorphComponentHeight;
|
|
@@ -404,3 +404,31 @@ export interface INmorphImage {
|
|
|
404
404
|
fit?: keyof typeof NmorphImageFit;
|
|
405
405
|
alt?: string;
|
|
406
406
|
}
|
|
407
|
+
export interface INmorphCheckboxOption {
|
|
408
|
+
id?: string;
|
|
409
|
+
disabled?: boolean;
|
|
410
|
+
modelValue?: boolean;
|
|
411
|
+
label?: string;
|
|
412
|
+
design?: NmorphCheckboxDesignType;
|
|
413
|
+
}
|
|
414
|
+
export type NmorphCheckboxDesignType = 'button' | 'checkbox';
|
|
415
|
+
export type NmorphCheckboxGroupSelectedValueInjectionType = Ref<string[]>;
|
|
416
|
+
export type NmorphCheckboxGroupChangeCheckboxValueHandlerInjectionType = (value: string, currentState: string[]) => void;
|
|
417
|
+
export interface INmorphRadioOption {
|
|
418
|
+
disabled?: boolean;
|
|
419
|
+
label?: string;
|
|
420
|
+
value: string;
|
|
421
|
+
}
|
|
422
|
+
export declare enum NmorphRadioStyleType {
|
|
423
|
+
'radio-style' = "radio-style",
|
|
424
|
+
'button' = "button"
|
|
425
|
+
}
|
|
426
|
+
export type NmorphRadioGroupSelectedValueInjectionType = Ref<string>;
|
|
427
|
+
export type NmorphRadioChangeRadioButtonValueHandlerInjectionType = (value: string) => void;
|
|
428
|
+
export declare enum NmorphSelectionDateType {
|
|
429
|
+
'date' = "date",
|
|
430
|
+
'dates' = "dates",
|
|
431
|
+
'daterange' = "daterange"
|
|
432
|
+
}
|
|
433
|
+
export type NmorphInnerPickerType = 'calendar' | 'year' | 'month';
|
|
434
|
+
export type NmorphDatePickerControlsType = 'decrease' | 'increase';
|