@nmorph/nmorph-ui-kit 0.2.0 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/basic/nmorph-button/NmorphButton.vue.d.ts +26 -13
- package/dist/components/basic/nmorph-button/types.d.ts +5 -0
- package/dist/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +17 -13
- package/dist/components/basic/nmorph-icon/NmorphIconsMap.d.ts +2 -1
- package/dist/components/basic/nmorph-icon/types.d.ts +0 -2
- package/dist/components/basic/nmorph-link/NmorphLink.vue.d.ts +17 -14
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +15 -8
- package/dist/components/basic/nmorph-scroll/types.d.ts +9 -1
- package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +12 -9
- package/dist/components/data/nmorph-badge/NmorphBadge.vue.d.ts +8 -6
- package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +23 -20
- package/dist/components/data/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +7 -5
- package/dist/components/data/nmorph-calendar/utils.d.ts +2 -1
- package/dist/components/data/nmorph-card/NmorphCard.vue.d.ts +12 -9
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -5
- package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +4 -2
- package/dist/components/data/nmorph-carousel/types.d.ts +1 -0
- package/dist/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +9 -6
- package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +16 -13
- package/dist/components/data/nmorph-collapse/types.d.ts +1 -0
- package/dist/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -8
- package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +1 -1
- package/dist/components/data/nmorph-image-preview/types.d.ts +3 -2
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
- package/dist/components/data/nmorph-progress/NmorphProgress.vue.d.ts +12 -9
- package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +8 -6
- package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +3 -2
- package/dist/components/data/nmorph-table/NmorphTable.vue.d.ts +10 -7
- package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +4 -2
- package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +15 -12
- package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +3 -2
- package/dist/components/data/nmorph-table/types.d.ts +2 -1
- package/dist/components/data/nmorph-tag/NmorphTag.vue.d.ts +4 -3
- package/dist/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +13 -10
- package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +8 -6
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +11 -8
- package/dist/components/form/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +12 -9
- package/dist/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +12 -9
- package/dist/components/form/checkbox/types.d.ts +1 -0
- package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +14 -11
- package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +6 -5
- package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +4 -3
- package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +1 -1
- package/dist/components/form/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +1 -1
- package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +1 -1
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -7
- package/dist/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -6
- package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +10 -7
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +3 -2
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +5 -4
- package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -2
- package/dist/components/form/nmorph-form/types.d.ts +1 -0
- package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +5 -4
- package/dist/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -8
- package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +11 -7
- package/dist/components/form/nmorph-select/types.d.ts +2 -1
- package/dist/components/form/nmorph-slider/NmorphSlider.vue.d.ts +4 -3
- package/dist/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +25 -13
- package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +17 -9
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +8 -7
- package/dist/components/form/nmorph-time-picker/utils.d.ts +1 -0
- package/dist/components/form/radio/nmorph-radio/NmorphRadio.vue.d.ts +10 -7
- package/dist/components/form/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +12 -9
- package/dist/components/form/radio/types.d.ts +1 -0
- package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -5
- package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +7 -5
- package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-breadcrumb/types.d.ts +1 -0
- package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -6
- package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +10 -7
- package/dist/components/navigation/nmorph-tabs/type.d.ts +1 -0
- package/dist/components/navigation/nmorph-tabs/utils.d.ts +1 -0
- package/dist/components/others/nmorph-divider/NmorphDivider.vue.d.ts +3 -2
- package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -5
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/useFieldValidation.d.ts +2 -1
- package/dist/hooks/useFormValidation.d.ts +2 -1
- package/dist/hooks/useNmorph.d.ts +7 -0
- package/dist/hooks/usePlacement.d.ts +2 -1
- package/dist/index.es.js +2006 -1869
- package/dist/index.umd.js +9 -1
- package/dist/main.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/types/{common.d.ts → index.d.ts} +37 -1
- package/dist/utils/camel-to-kebab.d.ts +1 -0
- package/dist/utils/capitalize-first-char.d.ts +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/package.json +3 -2
- package/dist/hooks/nmorphHooks.d.ts +0 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
|
|
2
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
3
|
import { NmorphHourType, NmorphMinuteSecondsType } from '../..';
|
|
4
|
+
|
|
4
5
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
5
6
|
modelValue?: number;
|
|
6
7
|
open?: boolean;
|
|
@@ -22,7 +23,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
22
23
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
23
24
|
"update:modelValue": (val: number) => void;
|
|
24
25
|
"on-change-open-close": (val: boolean) => void;
|
|
25
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
26
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
26
27
|
modelValue: number;
|
|
27
28
|
open: boolean;
|
|
28
29
|
disabled: boolean;
|
|
@@ -36,14 +37,14 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
36
37
|
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
37
38
|
"onOn-change-open-close"?: (val: boolean) => any;
|
|
38
39
|
}, {
|
|
39
|
-
height:
|
|
40
|
+
height: keyof typeof NmorphComponentHeight;
|
|
40
41
|
disabled: boolean;
|
|
41
42
|
modelValue: number;
|
|
42
43
|
open: boolean;
|
|
43
44
|
initWithoutValue: boolean;
|
|
44
|
-
disabledHours: [NmorphHourType, NmorphHourType];
|
|
45
|
-
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
46
|
-
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
|
|
45
|
+
disabledHours: [NmorphHourType, NmorphHourType] | null;
|
|
46
|
+
disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
47
|
+
disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
|
|
47
48
|
}, {}>;
|
|
48
49
|
export default _default;
|
|
49
50
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType
|
|
1
|
+
import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../../..';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends INmorphRadioOption {
|
|
4
5
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
5
6
|
}
|
|
6
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
label?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
11
|
disabled: boolean;
|
|
8
12
|
label: string;
|
|
9
13
|
styleType: string;
|
|
10
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
15
|
inputDOMRef: (val: Ref<HTMLElement>) => void;
|
|
12
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
17
|
disabled: boolean;
|
|
14
18
|
label: string;
|
|
15
19
|
styleType: string;
|
|
@@ -18,10 +22,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
18
22
|
}, {
|
|
19
23
|
label: string;
|
|
20
24
|
disabled: boolean;
|
|
21
|
-
styleType:
|
|
22
|
-
}, {}
|
|
23
|
-
|
|
24
|
-
}>;
|
|
25
|
+
styleType: keyof typeof NmorphRadioStyleType;
|
|
26
|
+
}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
28
|
export default _default;
|
|
26
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types/common';
|
|
1
|
+
import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types';
|
|
3
2
|
import { INmorphRadioOption, NmorphRadioStyleType } from '../../..';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
+
|
|
4
5
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
6
|
modelValue: string;
|
|
6
7
|
options?: INmorphRadioOption[];
|
|
7
8
|
styleType?: keyof typeof NmorphRadioStyleType;
|
|
8
9
|
direction?: keyof typeof NmorphComponentDirection;
|
|
9
10
|
}
|
|
10
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
15
|
modelValue: string;
|
|
12
16
|
styleType: string;
|
|
13
17
|
options: () => any[];
|
|
@@ -16,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
16
20
|
disabled: boolean;
|
|
17
21
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
18
22
|
"update:modelValue": (val: string) => void;
|
|
19
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
24
|
modelValue: string;
|
|
21
25
|
styleType: string;
|
|
22
26
|
options: () => any[];
|
|
@@ -28,12 +32,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
28
32
|
}, {
|
|
29
33
|
disabled: boolean;
|
|
30
34
|
modelValue: string;
|
|
31
|
-
styleType:
|
|
35
|
+
styleType: keyof typeof NmorphRadioStyleType;
|
|
32
36
|
options: INmorphRadioOption[];
|
|
33
|
-
direction:
|
|
34
|
-
}, {}
|
|
35
|
-
|
|
36
|
-
}>;
|
|
37
|
+
direction: keyof typeof NmorphComponentDirection;
|
|
38
|
+
}, {}>;
|
|
39
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
37
40
|
export default _default;
|
|
38
41
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
42
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -4,13 +4,16 @@ interface INmorphProps {
|
|
|
4
4
|
bottom?: number;
|
|
5
5
|
visibilityHeight?: number;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
11
|
right: number;
|
|
9
12
|
bottom: number;
|
|
10
13
|
visibilityHeight: number;
|
|
11
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
15
|
click: () => void;
|
|
13
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
17
|
right: number;
|
|
15
18
|
bottom: number;
|
|
16
19
|
visibilityHeight: number;
|
|
@@ -20,9 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
20
23
|
right: number;
|
|
21
24
|
bottom: number;
|
|
22
25
|
visibilityHeight: number;
|
|
23
|
-
}, {}
|
|
24
|
-
|
|
25
|
-
}>;
|
|
26
|
+
}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -2,15 +2,17 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
|
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
separator?: string;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
9
|
separator: string;
|
|
7
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
11
|
separator: string;
|
|
9
12
|
}>>>, {
|
|
10
13
|
separator: string;
|
|
11
|
-
}, {}
|
|
12
|
-
|
|
13
|
-
}>;
|
|
14
|
+
}, {}>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
16
|
export default _default;
|
|
15
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
18
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { INmorphBreadcrumbItemProps } from '../../../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends INmorphBreadcrumbItemProps {
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
10
|
to: string;
|
|
7
11
|
replace: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
13
|
to: string;
|
|
10
14
|
replace: boolean;
|
|
11
15
|
}>>>, {
|
|
12
16
|
replace: boolean;
|
|
13
17
|
to: string;
|
|
14
|
-
}, {}
|
|
15
|
-
|
|
16
|
-
}>;
|
|
18
|
+
}, {}>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
20
|
export default _default;
|
|
18
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
22
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NmorphDomElementType } from '../../../types';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
open: boolean;
|
|
5
6
|
relativeElement: NmorphDomElementType;
|
|
@@ -8,14 +9,17 @@ interface INmorphProps {
|
|
|
8
9
|
yOffset?: number;
|
|
9
10
|
fillWidth?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
16
|
width: number;
|
|
13
17
|
xOffset: number;
|
|
14
18
|
yOffset: number;
|
|
15
19
|
fillWidth: boolean;
|
|
16
20
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
21
|
"on-outside-click": () => void;
|
|
18
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
22
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
23
|
width: number;
|
|
20
24
|
xOffset: number;
|
|
21
25
|
yOffset: number;
|
|
@@ -27,9 +31,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
31
|
yOffset: number;
|
|
28
32
|
xOffset: number;
|
|
29
33
|
fillWidth: boolean;
|
|
30
|
-
}, {}
|
|
31
|
-
|
|
32
|
-
}>;
|
|
34
|
+
}, {}>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
33
36
|
export default _default;
|
|
34
37
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
38
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { NmorphTableModelType } from '../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
modelValue?: NmorphTableModelType;
|
|
5
6
|
stretch?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
12
|
modelValue: number;
|
|
9
13
|
stretch: boolean;
|
|
10
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
15
|
"update:model-value": (value: NmorphTableModelType) => void;
|
|
12
16
|
"tab-change": (value: NmorphTableModelType) => void;
|
|
13
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
17
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
18
|
modelValue: number;
|
|
15
19
|
stretch: boolean;
|
|
16
20
|
}>>> & {
|
|
@@ -19,9 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
19
23
|
}, {
|
|
20
24
|
modelValue: NmorphTableModelType;
|
|
21
25
|
stretch: boolean;
|
|
22
|
-
}, {}
|
|
23
|
-
|
|
24
|
-
}>;
|
|
26
|
+
}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
28
|
export default _default;
|
|
26
29
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
30
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts
CHANGED
|
@@ -1,20 +1,23 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { INmorphTabPaneProps } from '../../../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps extends INmorphTabPaneProps {
|
|
4
5
|
}
|
|
5
|
-
declare
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
label?(_: {}): any;
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
6
11
|
label: string;
|
|
7
12
|
disabled: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
14
|
label: string;
|
|
10
15
|
disabled: boolean;
|
|
11
16
|
}>>>, {
|
|
12
17
|
label: string;
|
|
13
18
|
disabled: boolean;
|
|
14
|
-
}, {}
|
|
15
|
-
|
|
16
|
-
default?(_: {}): any;
|
|
17
|
-
}>;
|
|
19
|
+
}, {}>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
21
|
export default _default;
|
|
19
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { NmorphTableModelType } from './type';
|
|
2
|
+
|
|
2
3
|
export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
3
4
|
export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
1
|
import { NmorphDirectionType } from '../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphProps {
|
|
4
5
|
direction?: NmorphDirectionType;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
7
8
|
direction: string;
|
|
8
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
10
|
direction: string;
|
|
10
11
|
}>>>, {
|
|
11
12
|
direction: NmorphDirectionType;
|
|
@@ -4,12 +4,15 @@ interface INmorphProps {
|
|
|
4
4
|
outsideClickEmitEvent?: boolean;
|
|
5
5
|
transparent?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
8
11
|
outsideClickEmitEvent: boolean;
|
|
9
12
|
transparent: boolean;
|
|
10
13
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
14
|
"on-outside-click": () => void;
|
|
12
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
13
16
|
outsideClickEmitEvent: boolean;
|
|
14
17
|
transparent: boolean;
|
|
15
18
|
}>>> & {
|
|
@@ -17,9 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
17
20
|
}, {
|
|
18
21
|
transparent: boolean;
|
|
19
22
|
outsideClickEmitEvent: boolean;
|
|
20
|
-
}, {}
|
|
21
|
-
|
|
22
|
-
}>;
|
|
23
|
+
}, {}>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
25
|
export default _default;
|
|
24
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
27
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Ref, ComputedRef } from 'vue';
|
|
2
1
|
import { NmorphAvailableFormValueType } from '../components/form/nmorph-form/types';
|
|
2
|
+
import { Ref, ComputedRef } from 'vue';
|
|
3
|
+
|
|
3
4
|
export declare const enum NmorphArrayValidationOperator {
|
|
4
5
|
'contains-one' = "contains-one",
|
|
5
6
|
'not-contains' = "not-contains",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Ref, ComputedRef } from 'vue';
|
|
2
1
|
import { NmorphFormValueType } from '../components/form/nmorph-form/types';
|
|
2
|
+
import { Ref, ComputedRef } from 'vue';
|
|
3
|
+
|
|
3
4
|
export declare const useFormValidation: (formData: NmorphFormValueType, validateFormOnLoad?: boolean) => {
|
|
4
5
|
fields: Record<string, {
|
|
5
6
|
touched: Ref<boolean>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { NmorphDomElementType, NmorphPlacementType } from '../types
|
|
1
|
+
import { NmorphDomElementType, NmorphPlacementType } from '../types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
+
|
|
3
4
|
interface INmorphUsePlacementPayload {
|
|
4
5
|
initialPlacement: NmorphPlacementType;
|
|
5
6
|
contentDOMElement: Ref<NmorphDomElementType>;
|