@nmorph/nmorph-ui-kit 0.0.5 → 0.0.7
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.umd.js +1 -0
- 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/hooks/useFieldValidation.d.ts +1 -1
- package/dist/types/hooks/useFormValidation.d.ts +1 -1
- package/package.json +2 -1
- package/dist/styles/base/_animation.scss +0 -27
- package/dist/styles/base/_basic.scss +0 -43
- package/dist/styles/base/_border-radius.scss +0 -10
- package/dist/styles/base/_colors.scss +0 -36
- package/dist/styles/base/_common-mixins.scss +0 -46
- package/dist/styles/base/_dimensions.scss +0 -20
- package/dist/styles/base/_histoire.scss +0 -8
- package/dist/styles/base/_normalize.scss +0 -388
- package/dist/styles/base/_theme-mixin.scss +0 -34
- package/dist/styles/base/_typography.scss +0 -44
- package/dist/styles/base/style.scss +0 -9
- package/dist/styles/main.scss +0 -3
|
@@ -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;
|