@nmorph/nmorph-ui-kit 0.0.9 → 0.0.11
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/index.d.ts +9 -0
- package/dist/components/{nmorph-button → basic/nmorph-button}/NmorphButton.vue.d.ts +6 -6
- package/dist/components/{nmorph-icon → basic/nmorph-icon}/NmorphIcon.vue.d.ts +3 -3
- package/dist/components/{nmorph-icon → basic/nmorph-icon}/NmorphIconsMap.d.ts +1 -1
- package/dist/components/{nmorph-icon → basic/nmorph-icon}/types.d.ts +1 -1
- package/dist/components/{nmorph-link → basic/nmorph-link}/NmorphLink.vue.d.ts +4 -5
- package/dist/components/{nmorph-scroll → basic/nmorph-scroll}/NmorphScroll.vue.d.ts +4 -4
- package/dist/components/{nmorph-scroll → basic/nmorph-scroll}/types.d.ts +1 -1
- package/dist/components/data/index.d.ts +29 -0
- package/dist/components/{nmorph-avatar → data/nmorph-avatar}/NmorphAvatar.vue.d.ts +4 -4
- package/dist/components/{nmorph-calendar → data/nmorph-calendar}/NmorphCalendar.vue.d.ts +4 -5
- package/dist/components/{nmorph-card → data/nmorph-card}/NmorphCard.vue.d.ts +1 -1
- package/dist/components/{nmorph-collapse → data/nmorph-collapse}/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +4 -4
- package/dist/components/{nmorph-image → data/nmorph-image}/NmorphImage.vue.d.ts +2 -2
- package/dist/components/{nmorph-image-preview → data/nmorph-image-preview}/types.d.ts +1 -1
- package/dist/components/{nmorph-progress → data/nmorph-progress}/NmorphProgress.vue.d.ts +1 -1
- package/dist/components/{nmorph-skeleton → data/nmorph-skeleton}/components/NmorphSkeletonItem.vue.d.ts +1 -1
- package/dist/components/{nmorph-table → data/nmorph-table}/NmorphTable.vue.d.ts +1 -1
- package/dist/components/{nmorph-table → data/nmorph-table}/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +2 -2
- package/dist/components/{nmorph-sort-button → data/nmorph-table/inner-components/nmorph-sort-button}/NmorphSortButton.vue.d.ts +1 -1
- package/dist/components/{nmorph-table → data/nmorph-table}/types.d.ts +1 -1
- package/dist/components/{nmorph-tag → data/nmorph-tag}/NmorphTag.vue.d.ts +2 -2
- package/dist/components/feedback/index.d.ts +4 -0
- package/dist/components/{nmorph-alert → feedback/nmorph-alert}/NmorphAlert.vue.d.ts +1 -1
- package/dist/components/{nmorph-tooltip → feedback/nmorph-tooltip}/NmorphTooltip.vue.d.ts +1 -1
- package/dist/components/{inputs → form}/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +4 -4
- package/dist/components/{inputs → form}/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +2 -2
- package/dist/components/form/index.d.ts +28 -0
- package/dist/components/{inputs → form}/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +3 -3
- package/dist/components/{inputs → form}/nmorph-date-picker/NmorphDatePicker.vue.d.ts +3 -4
- package/dist/components/{inputs → form}/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +1 -2
- package/dist/components/{inputs → form}/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +1 -1
- package/dist/components/{inputs → form}/nmorph-file-upload/NmorphFileUpload.vue.d.ts +2 -2
- package/dist/components/{nmorph-form → form/nmorph-form}/components/nmorph-form-item/NmorphFormItem.vue.d.ts +2 -2
- package/dist/components/{nmorph-form/components/nmorph-form-item/components → form/nmorph-form/components/nmorph-form-item/inner-components}/nmorph-error-box/NmorphErrorBox.vue.d.ts +1 -1
- package/dist/components/{nmorph-form → form/nmorph-form}/types.d.ts +1 -1
- package/dist/components/{inputs → form}/nmorph-select/NmorphSelect.vue.d.ts +3 -4
- package/dist/components/{inputs → form}/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +3 -7
- package/dist/components/{inputs → form}/nmorph-select/types.d.ts +5 -0
- package/dist/components/{inputs → form}/nmorph-time-picker/NmorphTimePicker.vue.d.ts +3 -3
- package/dist/components/{inputs → form}/radio/nmorph-radio/NmorphRadio.vue.d.ts +2 -2
- package/dist/components/{inputs → form}/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +9 -0
- package/dist/components/{nmorph-breadcrumb → navigation/nmorph-breadcrumb}/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +1 -1
- package/dist/components/{nmorph-dropdown → navigation/nmorph-dropdown}/NmorphDropdown.vue.d.ts +2 -2
- package/dist/components/{nmorph-tabs → navigation/nmorph-tabs}/NmorphTabs.vue.d.ts +1 -1
- package/dist/components/{nmorph-tabs → navigation/nmorph-tabs}/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +2 -2
- package/dist/components/others/index.d.ts +3 -0
- package/dist/components/{nmorph-divider → others/nmorph-divider}/NmorphDivider.vue.d.ts +1 -1
- package/dist/components.d.ts +6 -50
- package/dist/hooks/useFieldValidation.d.ts +1 -1
- package/dist/hooks/useFormValidation.d.ts +1 -1
- package/dist/index.es.js +3601 -3581
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts +0 -46
- package/dist/components/{nmorph-button → basic/nmorph-button}/types.d.ts +0 -0
- package/dist/components/{nmorph-link → basic/nmorph-link}/types.d.ts +0 -0
- package/dist/components/{nmorph-avatar → data/nmorph-avatar}/type.d.ts +0 -0
- package/dist/components/{nmorph-badge → data/nmorph-badge}/NmorphBadge.vue.d.ts +0 -0
- package/dist/components/{nmorph-calendar → data/nmorph-calendar}/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +0 -0
- package/dist/components/{nmorph-calendar → data/nmorph-calendar}/locale.d.ts +0 -0
- package/dist/components/{nmorph-calendar → data/nmorph-calendar}/types.d.ts +0 -0
- package/dist/components/{nmorph-calendar → data/nmorph-calendar}/utils.d.ts +0 -0
- package/dist/components/{nmorph-carousel → data/nmorph-carousel}/NmorphCarousel.vue.d.ts +0 -0
- package/dist/components/{nmorph-carousel → data/nmorph-carousel}/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +0 -0
- package/dist/components/{nmorph-carousel → data/nmorph-carousel}/types.d.ts +0 -0
- package/dist/components/{nmorph-collapse → data/nmorph-collapse}/NmorphCollapse.vue.d.ts +0 -0
- package/dist/components/{nmorph-collapse → data/nmorph-collapse}/types.d.ts +0 -0
- package/dist/components/{nmorph-image-preview → data/nmorph-image-preview}/NmorphImagePreview.vue.d.ts +0 -0
- package/dist/components/{nmorph-pagination → data/nmorph-pagination}/NmorphPagination.vue.d.ts +0 -0
- package/dist/components/{nmorph-progress → data/nmorph-progress}/types.d.ts +0 -0
- package/dist/components/{nmorph-skeleton → data/nmorph-skeleton}/NmorphSkeleton.vue.d.ts +1 -1
- package/dist/components/{nmorph-skeleton → data/nmorph-skeleton}/types.d.ts +0 -0
- package/dist/components/{nmorph-table → data/nmorph-table}/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +0 -0
- package/dist/components/{nmorph-alert → feedback/nmorph-alert}/types.d.ts +0 -0
- package/dist/components/{nmorph-dialog → feedback/nmorph-dialog}/NmorphDialog.vue.d.ts +1 -1
- package/dist/components/{inputs → form}/checkbox/types.d.ts +0 -0
- package/dist/components/{inputs → form}/nmorph-autocomplete/types.d.ts +0 -0
- package/dist/components/{inputs → form}/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +0 -0
- package/dist/components/{inputs → form}/nmorph-date-picker/components/types.d.ts +0 -0
- package/dist/components/{inputs → form/nmorph-date-picker/inner-components}/nmorph-clear-button/NmorphClearButton.vue.d.ts +0 -0
- package/dist/components/{inputs → form}/nmorph-file-upload/types.d.ts +0 -0
- package/dist/components/{nmorph-form → form/nmorph-form}/NmorphForm.vue.d.ts +0 -0
- package/dist/components/{nmorph-form/components/nmorph-form-item/components → form/nmorph-form/components/nmorph-form-item/inner-components}/index.d.ts +0 -0
- package/dist/components/{nmorph-form/components/nmorph-form-item/components → form/nmorph-form/components/nmorph-form-item/inner-components}/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +0 -0
- package/dist/components/{inputs → form}/nmorph-number-input/NmorphNumberInput.vue.d.ts +2 -2
- package/dist/components/{inputs → form}/nmorph-slider/NmorphSlider.vue.d.ts +1 -1
- package/dist/components/{inputs → form}/nmorph-switch/NmorphSwitch.vue.d.ts +2 -2
- package/dist/components/{inputs → form}/nmorph-text-input/NmorphTextInput.vue.d.ts +4 -4
- /package/dist/components/{inputs → form}/nmorph-time-picker/types.d.ts +0 -0
- /package/dist/components/{inputs → form}/nmorph-time-picker/utils.d.ts +0 -0
- /package/dist/components/{inputs → form}/radio/types.d.ts +0 -0
- /package/dist/components/{nmorph-backtop → navigation/nmorph-backtop}/NmorphBacktop.vue.d.ts +0 -0
- /package/dist/components/{nmorph-breadcrumb → navigation/nmorph-breadcrumb}/NmorphBreadcrumb.vue.d.ts +0 -0
- /package/dist/components/{nmorph-breadcrumb → navigation/nmorph-breadcrumb}/types.d.ts +0 -0
- /package/dist/components/{nmorph-tabs → navigation/nmorph-tabs}/type.d.ts +0 -0
- /package/dist/components/{nmorph-tabs → navigation/nmorph-tabs}/utils.d.ts +0 -0
- /package/dist/components/{nmorph-divider → others/nmorph-divider}/types.d.ts +0 -0
- /package/dist/components/{nmorph-overlay → others/nmorph-overlay}/NmorphOverlay.vue.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as NmorphButton } from './nmorph-button/NmorphButton.vue';
|
|
2
|
+
export * from './nmorph-button/types';
|
|
3
|
+
export { default as NmorphIcon } from './nmorph-icon/NmorphIcon.vue';
|
|
4
|
+
export * from './nmorph-icon/types';
|
|
5
|
+
export * from './nmorph-icon/NmorphIconsMap';
|
|
6
|
+
export { default as NmorphLink } from './nmorph-link/NmorphLink.vue';
|
|
7
|
+
export * from './nmorph-link/types';
|
|
8
|
+
export { default as NmorphScroll } from './nmorph-scroll/NmorphScroll.vue';
|
|
9
|
+
export * from './nmorph-scroll/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { INmorphCommonInputProps } from '
|
|
3
|
-
import {
|
|
2
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
+
import { NmorphButtonStyle, NmorphButtonType } from '../..';
|
|
4
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
5
|
type?: keyof typeof NmorphButtonType;
|
|
6
6
|
text?: string | number;
|
|
@@ -35,12 +35,12 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
35
35
|
onClick?: () => any;
|
|
36
36
|
}, {
|
|
37
37
|
fill: boolean;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
styleType: "default" | "transparent";
|
|
40
|
-
type: "button" | "reset" | "submit";
|
|
41
|
-
text: string | number;
|
|
42
38
|
height: "thick" | "default" | "thin";
|
|
39
|
+
type: "submit" | "reset" | "button";
|
|
40
|
+
text: string | number;
|
|
41
|
+
disabled: boolean;
|
|
43
42
|
loading: boolean;
|
|
43
|
+
styleType: "default" | "transparent";
|
|
44
44
|
bgTransparentOnHover: boolean;
|
|
45
45
|
ripple: boolean;
|
|
46
46
|
}, {}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphIconName, NmorphIconSize } from '
|
|
2
|
+
import { NmorphIconName, NmorphIconSize } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
name?: NmorphIconName;
|
|
5
5
|
size?: keyof typeof NmorphIconSize;
|
|
@@ -20,11 +20,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
20
20
|
height: any;
|
|
21
21
|
path: any;
|
|
22
22
|
}>>>, {
|
|
23
|
-
path: string;
|
|
24
|
-
height: string;
|
|
25
23
|
name: NmorphIconName;
|
|
26
24
|
size: "small" | "medium" | "large";
|
|
27
25
|
width: string;
|
|
26
|
+
height: string;
|
|
27
|
+
path: string;
|
|
28
28
|
}, {}>, {
|
|
29
29
|
default?(_: {}): any;
|
|
30
30
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { NmorphIconList } from '
|
|
1
|
+
import { NmorphIconList } from '../../../types/common';
|
|
2
2
|
export declare const NmorphIconsMap: Record<NmorphIconList, string>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphIconName } from '
|
|
3
|
-
import { NmorphColor } from '
|
|
4
|
-
import { NmorphLinkTarget } from './types';
|
|
2
|
+
import { NmorphIconName, NmorphLinkTarget } from '../..';
|
|
3
|
+
import { NmorphColor } from '../../../types/common';
|
|
5
4
|
interface INmorphProps {
|
|
6
5
|
color?: keyof typeof NmorphColor;
|
|
7
6
|
underline?: boolean;
|
|
@@ -28,13 +27,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
28
27
|
target: string;
|
|
29
28
|
disabled: boolean;
|
|
30
29
|
}>>>, {
|
|
31
|
-
disabled: boolean;
|
|
32
30
|
text: string;
|
|
33
31
|
color: "accent" | "success" | "error" | "warning";
|
|
34
|
-
target: "top" | "self" | "blank" | "parent";
|
|
35
32
|
underline: boolean;
|
|
36
33
|
href: string;
|
|
37
34
|
iconName: NmorphIconName;
|
|
35
|
+
target: "top" | "self" | "blank" | "parent";
|
|
36
|
+
disabled: boolean;
|
|
38
37
|
}, {}>, {
|
|
39
38
|
prepend?(_: {}): any;
|
|
40
39
|
default?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphCoordsType, NmorphOverflowProp } from '
|
|
2
|
+
import { NmorphCoordsType, NmorphOverflowProp } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
modelValue?: NmorphCoordsType;
|
|
5
5
|
scrollYProp?: keyof typeof NmorphOverflowProp;
|
|
@@ -27,13 +27,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
27
|
scrollXProp: string;
|
|
28
28
|
scrollEndDelay: number;
|
|
29
29
|
}>>> & {
|
|
30
|
-
"onUpdate:modelValue"?: (coords: NmorphCoordsType) => any;
|
|
31
30
|
"onOn-scroll"?: (event: Event) => any;
|
|
31
|
+
"onUpdate:modelValue"?: (coords: NmorphCoordsType) => any;
|
|
32
32
|
"onOn-scroll-end"?: () => any;
|
|
33
33
|
}, {
|
|
34
34
|
modelValue: NmorphCoordsType;
|
|
35
|
-
scrollYProp: "
|
|
36
|
-
scrollXProp: "
|
|
35
|
+
scrollYProp: "auto" | "hidden" | "scroll";
|
|
36
|
+
scrollXProp: "auto" | "hidden" | "scroll";
|
|
37
37
|
scrollEndDelay: number;
|
|
38
38
|
}, {}>, {
|
|
39
39
|
default?(_: {}): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { default as NmorphAvatar } from './nmorph-avatar/NmorphAvatar.vue';
|
|
2
|
+
export * from './nmorph-avatar/type';
|
|
3
|
+
export { default as NmorphBadge } from './nmorph-badge/NmorphBadge.vue';
|
|
4
|
+
export { default as NmorphCalendar } from './nmorph-calendar/NmorphCalendar.vue';
|
|
5
|
+
export * from './nmorph-calendar/types';
|
|
6
|
+
export * from './nmorph-calendar/locale';
|
|
7
|
+
export * from './nmorph-calendar/utils';
|
|
8
|
+
export { default as NmorphCalendarHeader } from './nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue';
|
|
9
|
+
export { default as NmorphCard } from './nmorph-card/NmorphCard.vue';
|
|
10
|
+
export { default as NmorphCarousel } from './nmorph-carousel/NmorphCarousel.vue';
|
|
11
|
+
export * from './nmorph-carousel/types';
|
|
12
|
+
export { default as NmorphCarouselItem } from './nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue';
|
|
13
|
+
export { default as NmorphCollapse } from './nmorph-collapse/NmorphCollapse.vue';
|
|
14
|
+
export { default as NmorphCollapseItem } from './nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue';
|
|
15
|
+
export * from './nmorph-collapse/types';
|
|
16
|
+
export { default as NmorphImage } from './nmorph-image/NmorphImage.vue';
|
|
17
|
+
export { default as NmorphImagePreview } from './nmorph-image-preview/NmorphImagePreview.vue';
|
|
18
|
+
export * from './nmorph-image-preview/types';
|
|
19
|
+
export { default as NmorphPagination } from './nmorph-pagination/NmorphPagination.vue';
|
|
20
|
+
export { default as NmorphProgress } from './nmorph-progress/NmorphProgress.vue';
|
|
21
|
+
export * from './nmorph-progress/types';
|
|
22
|
+
export { default as NmorphSkeleton } from './nmorph-skeleton/NmorphSkeleton.vue';
|
|
23
|
+
export * from './nmorph-skeleton/types';
|
|
24
|
+
export { default as NmorphSkeletonItem } from './nmorph-skeleton/components/NmorphSkeletonItem.vue';
|
|
25
|
+
export { default as NmorphTable } from './nmorph-table/NmorphTable.vue';
|
|
26
|
+
export * from './nmorph-table/types';
|
|
27
|
+
export { default as NmorphTableCell } from './nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue';
|
|
28
|
+
export { default as NmorphTableColumn } from './nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue';
|
|
29
|
+
export { default as NmorphTag } from './nmorph-tag/NmorphTag.vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphAvatarType } from '
|
|
3
|
-
import { NmorphImageFit } from '
|
|
2
|
+
import { NmorphAvatarType } from '../..';
|
|
3
|
+
import { NmorphImageFit } from '../../../types/common';
|
|
4
4
|
interface INmorphProps {
|
|
5
5
|
size?: number;
|
|
6
6
|
shape?: NmorphAvatarType;
|
|
@@ -29,11 +29,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
29
29
|
onError?: () => any;
|
|
30
30
|
}, {
|
|
31
31
|
size: number;
|
|
32
|
-
alt: string;
|
|
33
32
|
src: string;
|
|
34
|
-
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
35
33
|
shape: NmorphAvatarType;
|
|
36
34
|
srcSet: string;
|
|
35
|
+
alt: string;
|
|
36
|
+
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
37
37
|
}, {}>, {
|
|
38
38
|
default?(_: {}): any;
|
|
39
39
|
}>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphCalendarDateType, NmorphCalendarRangeType, NmorphDateType, NmorphSelectedDateModelType } from '
|
|
3
|
-
import { NmorphSelectionDateType } from '../inputs/nmorph-date-picker/components/types';
|
|
2
|
+
import { NmorphCalendarDateType, NmorphCalendarRangeType, NmorphDateType, NmorphSelectedDateModelType, NmorphSelectionDateType } from '../..';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
markToday?: boolean;
|
|
6
5
|
initialDate?: Date;
|
|
@@ -30,12 +29,12 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
30
29
|
"onUpdate:modelValue"?: (date: Date) => any;
|
|
31
30
|
"onUpdate-initial-date"?: (date: Date) => any;
|
|
32
31
|
}, {
|
|
33
|
-
modelValue: Date;
|
|
34
32
|
type: "date" | "dates" | "daterange";
|
|
35
|
-
|
|
33
|
+
modelValue: Date;
|
|
34
|
+
markToday: boolean;
|
|
36
35
|
initialDate: Date;
|
|
36
|
+
range: [Date, Date];
|
|
37
37
|
selectedValues: NmorphSelectedDateModelType;
|
|
38
|
-
markToday: boolean;
|
|
39
38
|
}, {}>, {
|
|
40
39
|
header?(_: {}): any;
|
|
41
40
|
content?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphShadowType } from '
|
|
2
|
+
import { NmorphShadowType } from '../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
shadowType?: keyof typeof NmorphShadowType;
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { INmorphCollapseItemProps } from '
|
|
3
|
-
import { NmorphComponentHeight } from '
|
|
2
|
+
import { INmorphCollapseItemProps } from '../../../..';
|
|
3
|
+
import { NmorphComponentHeight } from '../../../../../types/common';
|
|
4
4
|
interface INmorphProps extends INmorphCollapseItemProps {
|
|
5
5
|
height?: keyof typeof NmorphComponentHeight;
|
|
6
6
|
}
|
|
@@ -23,9 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
23
23
|
isOpen: boolean;
|
|
24
24
|
}) => any;
|
|
25
25
|
}, {
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
title: string;
|
|
28
26
|
height: "thick" | "default" | "thin";
|
|
27
|
+
title: string;
|
|
28
|
+
disabled: boolean;
|
|
29
29
|
}, {}>, {
|
|
30
30
|
title?(_: {}): any;
|
|
31
31
|
default?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphImageFit } from '
|
|
2
|
+
import { NmorphImageFit } from '../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
src: string;
|
|
5
5
|
fit?: keyof typeof NmorphImageFit;
|
|
@@ -25,9 +25,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
25
25
|
}>>>, {
|
|
26
26
|
alt: string;
|
|
27
27
|
fit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
28
|
+
srcset: string;
|
|
28
29
|
loadingText: string;
|
|
29
30
|
loadFailedText: string;
|
|
30
|
-
srcset: string;
|
|
31
31
|
}, {}>, {
|
|
32
32
|
loading?(_: {}): any;
|
|
33
33
|
error?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphProgressColorType, NmorphProgressType } from '
|
|
2
|
+
import { NmorphProgressColorType, NmorphProgressType } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
type?: NmorphProgressType;
|
|
5
5
|
color?: NmorphProgressColorType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphSkeletonItemPropsType } from '
|
|
2
|
+
import { NmorphSkeletonItemPropsType } from '../../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
variant?: NmorphSkeletonItemPropsType;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphTableDataType, NmorphTableSortType } from '
|
|
2
|
+
import { NmorphTableDataType, NmorphTableSortType } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
data?: NmorphTableDataType;
|
|
5
5
|
rowHover?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphCellAlignmentType, NmorphTableColumnData, NmorphDataTableElRecordType, INmorphTableColumnProps } from '
|
|
2
|
+
import { NmorphCellAlignmentType, NmorphTableColumnData, NmorphDataTableElRecordType, INmorphTableColumnProps } from '../../../..';
|
|
3
3
|
interface INmorphProps extends INmorphTableColumnProps {
|
|
4
4
|
}
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
@@ -11,8 +11,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
11
11
|
width: string;
|
|
12
12
|
alignment: string;
|
|
13
13
|
}>>>, {
|
|
14
|
-
label: string;
|
|
15
14
|
width: string;
|
|
15
|
+
label: string;
|
|
16
16
|
alignment: NmorphCellAlignmentType;
|
|
17
17
|
}, {}>, {
|
|
18
18
|
default?(_: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphSortOrderType } from '
|
|
2
|
+
import { NmorphSortOrderType } from '../../../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
value: NmorphSortOrderType;
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NmorphSortOrderType } from '
|
|
1
|
+
import { NmorphSortOrderType } from '../../../types/common';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
3
|
export type NmorphTableSortType = Record<string, NmorphSortOrderType>;
|
|
4
4
|
export type NmorphDataTableElRecordType = Record<string, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphComponentHeight } from '
|
|
2
|
+
import { NmorphComponentHeight } from '../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
value: string;
|
|
5
5
|
text: string;
|
|
@@ -20,8 +20,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
20
20
|
}>>> & {
|
|
21
21
|
onClose?: (val: string) => any;
|
|
22
22
|
}, {
|
|
23
|
-
height: "thick" | "default" | "thin";
|
|
24
23
|
transparent: boolean;
|
|
24
|
+
height: "thick" | "default" | "thin";
|
|
25
25
|
removable: boolean;
|
|
26
26
|
}, {}>;
|
|
27
27
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphAlertType } from '
|
|
2
|
+
import { NmorphAlertType } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
color?: keyof typeof NmorphAlertType;
|
|
5
5
|
closable?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { INmorphCoords, NmorphPlacementType } from '
|
|
2
|
+
import { INmorphCoords, NmorphPlacementType } from '../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
text?: string;
|
|
5
5
|
position?: NmorphPlacementType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
-
import { INmorphCheckboxOption } from '
|
|
2
|
+
import { INmorphCheckboxOption } from '../../..';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
modelValue: boolean;
|
|
@@ -14,13 +14,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
14
14
|
label: string;
|
|
15
15
|
styleType: string;
|
|
16
16
|
}>>> & {
|
|
17
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
18
17
|
"onUpdate:modelValue"?: (val: boolean) => any;
|
|
18
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
19
19
|
}, {
|
|
20
|
+
label: string;
|
|
20
21
|
disabled: boolean;
|
|
21
22
|
modelValue: boolean;
|
|
22
|
-
|
|
23
|
-
styleType: "checkbox-style" | "button-style";
|
|
23
|
+
styleType: "button-style" | "checkbox-style";
|
|
24
24
|
}, {}>, {
|
|
25
25
|
default?(_: {}): any;
|
|
26
26
|
label?(_: {}): any;
|
package/dist/components/{inputs → form}/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types/common';
|
|
3
|
-
import { INmorphCheckboxOption, NmorphCheckboxStyleType } from '
|
|
3
|
+
import { INmorphCheckboxOption, NmorphCheckboxStyleType } from '../../..';
|
|
4
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
5
|
modelValue: string[];
|
|
6
6
|
options?: INmorphCheckboxOption[];
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
23
23
|
"onUpdate:modelValue"?: (val: string[]) => any;
|
|
24
24
|
}, {
|
|
25
25
|
modelValue: string[];
|
|
26
|
-
styleType: "
|
|
26
|
+
styleType: "button-style" | "checkbox-style";
|
|
27
27
|
options: INmorphCheckboxOption[];
|
|
28
28
|
direction: "row" | "column";
|
|
29
29
|
}, {}>, {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export { default as NmorphCheckbox } from './checkbox/nmorph-checkbox/NmorphCheckbox.vue';
|
|
2
|
+
export * from './checkbox/types';
|
|
3
|
+
export { default as NmorphCheckboxGroup } from './checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue';
|
|
4
|
+
export { default as NmorphAutocomplete } from './nmorph-autocomplete/NmorphAutocomplete.vue';
|
|
5
|
+
export * from './nmorph-autocomplete/types';
|
|
6
|
+
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
|
+
export { default as NmorphFileUpload } from './nmorph-file-upload/NmorphFileUpload.vue';
|
|
12
|
+
export * from './nmorph-file-upload/types';
|
|
13
|
+
export { default as NmorphForm } from './nmorph-form/NmorphForm.vue';
|
|
14
|
+
export * from './nmorph-form/types';
|
|
15
|
+
export { default as NmorphFormItem } from './nmorph-form/components/nmorph-form-item/NmorphFormItem.vue';
|
|
16
|
+
export { default as NmorphNumberInput } from './nmorph-number-input/NmorphNumberInput.vue';
|
|
17
|
+
export { default as NmorphSelect } from './nmorph-select/NmorphSelect.vue';
|
|
18
|
+
export * from './nmorph-select/types';
|
|
19
|
+
export { default as NmorphSelectOption } from './nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue';
|
|
20
|
+
export { default as NmorphSlider } from './nmorph-slider/NmorphSlider.vue';
|
|
21
|
+
export { default as NmorphSwitch } from './nmorph-switch/NmorphSwitch.vue';
|
|
22
|
+
export { default as NmorphTextInput } from './nmorph-text-input/NmorphTextInput.vue';
|
|
23
|
+
export { default as NmorphTimePicker } from './nmorph-time-picker/NmorphTimePicker.vue';
|
|
24
|
+
export * from './nmorph-time-picker/types';
|
|
25
|
+
export * from './nmorph-time-picker/utils';
|
|
26
|
+
export { default as NmorphRadio } from './radio/nmorph-radio/NmorphRadio.vue';
|
|
27
|
+
export * from './radio/types';
|
|
28
|
+
export { default as NmorphRadioGroup } from './radio/nmorph-radio-group/NmorphRadioGroup.vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
-
import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '
|
|
3
|
+
import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
|
|
4
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
5
|
modelValue?: string;
|
|
6
6
|
placeholder?: string;
|
|
@@ -30,15 +30,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
30
30
|
list: () => any[];
|
|
31
31
|
actionCallback: any;
|
|
32
32
|
}>>> & {
|
|
33
|
-
"onUpdate:modelValue"?: (value: string) => any;
|
|
34
33
|
onSelect?: (value: unknown) => any;
|
|
34
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
35
35
|
}, {
|
|
36
36
|
fill: boolean;
|
|
37
|
+
height: "thick" | "default" | "thin";
|
|
37
38
|
disabled: boolean;
|
|
38
39
|
modelValue: string;
|
|
39
40
|
placeholder: string;
|
|
40
41
|
clearable: boolean;
|
|
41
|
-
height: "thick" | "default" | "thin";
|
|
42
42
|
list: INmorphAutocompleteListItem[];
|
|
43
43
|
actionCallback: NmorphAutocompleteActionCallbackType;
|
|
44
44
|
}, {}>, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
-
import { NmorphSelectionDateType } from '
|
|
4
|
-
import { NmorphSelectedDateModelType } from '../../nmorph-calendar/types';
|
|
3
|
+
import { NmorphSelectionDateType, NmorphSelectedDateModelType } from '../..';
|
|
5
4
|
interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
6
5
|
placeholder?: string;
|
|
7
6
|
initialStartDate?: Date;
|
|
@@ -39,11 +38,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
39
38
|
}>>> & {
|
|
40
39
|
"onUpdate:modelValue"?: (modelValue: NmorphSelectedDateModelType) => any;
|
|
41
40
|
}, {
|
|
41
|
+
height: "thick" | "default" | "thin";
|
|
42
|
+
type: "date" | "dates" | "daterange";
|
|
42
43
|
disabled: boolean;
|
|
43
44
|
modelValue: NmorphSelectedDateModelType;
|
|
44
|
-
type: "date" | "dates" | "daterange";
|
|
45
45
|
placeholder: string;
|
|
46
|
-
height: "thick" | "default" | "thin";
|
|
47
46
|
initialStartDate: Date;
|
|
48
47
|
initialEndDate: Date;
|
|
49
48
|
textSeparator: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphSelectionDateType } from '
|
|
3
|
-
import { NmorphSelectedDateModelType } from '../../../../nmorph-calendar/types';
|
|
2
|
+
import { NmorphSelectionDateType, NmorphSelectedDateModelType } from '../../../..';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
initialDate?: Date;
|
|
6
5
|
selectedValues: NmorphSelectedDateModelType;
|
|
@@ -16,7 +16,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
16
16
|
"onUpdate-month"?: (val: string) => any;
|
|
17
17
|
"onBack-to-years"?: () => any;
|
|
18
18
|
}, {
|
|
19
|
-
type: "
|
|
19
|
+
type: "year" | "month";
|
|
20
20
|
}, {}>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
-
import { INmorphCustomFileData, NmorphResolutionType } from '
|
|
2
|
+
import { INmorphCustomFileData, NmorphResolutionType } from '../..';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
modelValue?: INmorphCustomFileData[];
|
|
5
5
|
disabled?: boolean;
|
|
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
27
27
|
photoWithPreview: boolean;
|
|
28
28
|
fill: boolean;
|
|
29
29
|
}>>> & {
|
|
30
|
-
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
31
30
|
"onUpdate:modelValue"?: (val: File[]) => any;
|
|
31
|
+
onInputDOMRef?: (val: Ref<HTMLElement>) => any;
|
|
32
32
|
"onOn-unsupported-file-type-error"?: (val: string) => any;
|
|
33
33
|
}, {
|
|
34
34
|
fill: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import { NmorphComponentHeight } from '
|
|
2
|
+
import { NmorphComponentHeight } from '../../../../../types/common';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
/**
|
|
5
5
|
* The ID of the form field used to bind to validation data.
|
|
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
25
25
|
staticErrorBoxSpace: boolean;
|
|
26
26
|
validate: boolean;
|
|
27
27
|
}>>>, {
|
|
28
|
-
label: string;
|
|
29
28
|
height: "thick" | "default" | "thin";
|
|
29
|
+
label: string;
|
|
30
30
|
showValidationIcon: boolean;
|
|
31
31
|
staticErrorBoxSpace: boolean;
|
|
32
32
|
validate: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NmorphComponentHeight } from '
|
|
1
|
+
import { NmorphComponentHeight } from '../../../../../../../types/common';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
3
3
|
interface INmorphProps {
|
|
4
4
|
height?: keyof typeof NmorphComponentHeight;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NmorphRulesType, useFormValidation } from '
|
|
1
|
+
import { NmorphRulesType, useFormValidation } from '../../../hooks';
|
|
2
2
|
export type NmorphAvailableFormValueType = string | string[] | number;
|
|
3
3
|
export type NmorphFormValueType = Record<string, {
|
|
4
4
|
value: NmorphAvailableFormValueType;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
import { INmorphCommonInputProps } from '../../../types/common';
|
|
3
|
-
import { NmorphSelectModelValueType } from '
|
|
4
|
-
import { INmorphSelectOption } from './components/nmorph-select-option/NmorphSelectOption.vue';
|
|
3
|
+
import { NmorphSelectModelValueType, INmorphSelectOption } from '../..';
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
5
|
noElementPlaceholder?: string;
|
|
7
6
|
valueRequired?: boolean;
|
|
@@ -39,15 +38,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
39
38
|
"onUpdate:modelValue"?: (val: NmorphSelectModelValueType) => any;
|
|
40
39
|
}, {
|
|
41
40
|
fill: boolean;
|
|
41
|
+
height: "thick" | "default" | "thin";
|
|
42
42
|
disabled: boolean;
|
|
43
43
|
modelValue: NmorphSelectModelValueType;
|
|
44
|
-
height: "thick" | "default" | "thin";
|
|
45
44
|
loading: boolean;
|
|
45
|
+
open: boolean;
|
|
46
46
|
options: INmorphSelectOption[];
|
|
47
47
|
noElementPlaceholder: string;
|
|
48
48
|
valueRequired: boolean;
|
|
49
49
|
optionsMap: INmorphSelectOption[];
|
|
50
|
-
open: boolean;
|
|
51
50
|
}, {}>, {
|
|
52
51
|
default?(_: {}): any;
|
|
53
52
|
}>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export interface INmorphSelectOption extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
2
|
+
import { INmorphSelectOption } from '../../../..';
|
|
7
3
|
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphSelectOption>, {
|
|
8
4
|
label: string;
|
|
9
5
|
height: string;
|
|
@@ -17,9 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
|
|
|
17
13
|
}>>> & {
|
|
18
14
|
"onChange-value"?: (val: string) => any;
|
|
19
15
|
}, {
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
label: string;
|
|
22
16
|
height: "thick" | "default" | "thin";
|
|
17
|
+
label: string;
|
|
18
|
+
disabled: boolean;
|
|
23
19
|
}, {}>, {
|
|
24
20
|
default?(_: {}): any;
|
|
25
21
|
}>;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types/common';
|
|
1
2
|
import { Ref } from 'vue';
|
|
2
3
|
export type NmorphSelectModelValueType = string | string[];
|
|
3
4
|
export type NmorphSelectSelectedValueInjectionType = Ref<NmorphSelectModelValueType>;
|
|
4
5
|
export type NmorphSelectChangeSelectedValue = (value: string) => void;
|
|
6
|
+
export interface INmorphSelectOption extends Omit<INmorphCommonInputProps, 'fill'> {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}
|