@nmorph/nmorph-ui-kit 1.0.53 → 1.0.62
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.d.ts +1 -0
- package/dist/index.es.js +3600 -5054
- package/dist/index.umd.js +5 -15
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +15 -59
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +7 -37
- package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +9 -43
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +13 -65
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +7 -35
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +9 -45
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +15 -47
- package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -1
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +9 -28
- package/dist/src/components/data/nmorph-calendar/utils.d.ts +1 -2
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +6 -32
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -30
- package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +3 -22
- package/dist/src/components/data/nmorph-carousel/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +7 -31
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +10 -40
- package/dist/src/components/data/nmorph-collapse/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -45
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +5 -36
- package/dist/src/components/data/nmorph-image-preview/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +5 -36
- package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +8 -44
- package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +6 -33
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +4 -32
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +6 -38
- package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +3 -22
- package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +8 -36
- package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +5 -23
- package/dist/src/components/data/nmorph-table/types.d.ts +0 -1
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +6 -24
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +7 -33
- package/dist/src/components/data/nmorph-tag-list/types.d.ts +0 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +12 -54
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +9 -48
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +9 -39
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +13 -49
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +11 -43
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +8 -38
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +9 -43
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +2 -2
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +6 -30
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +10 -27
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +7 -28
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -44
- package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -32
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +6 -36
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +0 -1
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +4 -30
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -25
- package/dist/src/components/form/nmorph-form/types.d.ts +0 -1
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +8 -42
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +9 -40
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +9 -43
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -55
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +9 -38
- package/dist/src/components/form/nmorph-select/types.d.ts +0 -1
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +5 -39
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +12 -44
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +13 -51
- package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +11 -47
- package/dist/src/components/form/nmorph-time-picker/utils.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -37
- package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +5 -28
- package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +7 -33
- package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +8 -38
- package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -37
- package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +7 -35
- package/dist/src/components/navigation/nmorph-tabs/type.d.ts +0 -1
- package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +0 -1
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +2 -24
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -30
- package/dist/src/components/providers/index.d.ts +0 -1
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +4 -30
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +0 -1
- package/dist/src/hooks/use-field-validation.d.ts +0 -1
- package/dist/src/hooks/use-form-validation.d.ts +0 -1
- package/dist/src/hooks/use-nmorph-translation.d.ts +1 -2
- package/dist/src/hooks/use-placement.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph-notification.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph-theme.d.ts +0 -1
- package/dist/src/outside-hooks/use-nmorph.d.ts +0 -1
- package/dist/src/types/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +7 -10
package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts
CHANGED
|
@@ -1,30 +1,11 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
row: number;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
6
6
|
default?(_: {}): any;
|
|
7
|
-
}
|
|
8
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
|
+
}>;
|
|
10
8
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
type __VLS_WithDefaults<P, D> = {
|
|
21
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
-
default: D[K];
|
|
23
|
-
}> : P[K];
|
|
24
|
-
};
|
|
25
|
-
type __VLS_Prettify<T> = {
|
|
26
|
-
[K in keyof T]: T[K];
|
|
27
|
-
} & {};
|
|
28
9
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
10
|
new (): {
|
|
30
11
|
$slots: S;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { INmorphTableColumnProps, NmorphTableColumnData, NmorphDataTableElRecordType
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
1
|
+
import { INmorphTableColumnProps, NmorphCellAlignmentType, NmorphTableColumnData, NmorphDataTableElRecordType } from '../../../..';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps extends INmorphTableColumnProps {
|
|
5
4
|
}
|
|
6
|
-
declare
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
6
|
+
width: string;
|
|
7
|
+
label: string;
|
|
8
|
+
alignment: NmorphCellAlignmentType;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
7
10
|
default?(_: {
|
|
8
11
|
scope: {
|
|
9
12
|
columns: NmorphTableColumnData[];
|
|
@@ -11,39 +14,8 @@ declare function __VLS_template(): {
|
|
|
11
14
|
tableId: string;
|
|
12
15
|
};
|
|
13
16
|
}): any;
|
|
14
|
-
}
|
|
15
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
|
-
label: string;
|
|
17
|
-
width: string;
|
|
18
|
-
alignment: string;
|
|
19
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
|
-
label: string;
|
|
21
|
-
width: string;
|
|
22
|
-
alignment: string;
|
|
23
|
-
}>>> & Readonly<{}>, {
|
|
24
|
-
width: string;
|
|
25
|
-
label: string;
|
|
26
|
-
alignment: NmorphCellAlignmentType;
|
|
27
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
28
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
|
+
}>;
|
|
29
18
|
export default _default;
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
-
} : {
|
|
35
|
-
type: PropType<T[K]>;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
20
|
new (): {
|
|
49
21
|
$slots: S;
|
|
@@ -1,29 +1,11 @@
|
|
|
1
1
|
import { NmorphSortOrderType } from '../../../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
value: NmorphSortOrderType;
|
|
6
5
|
}
|
|
7
|
-
declare const _default: DefineComponent<
|
|
8
|
-
sort: (val: NmorphSortOrderType) =>
|
|
9
|
-
}, string, PublicProps, Readonly<
|
|
6
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
sort: (val: NmorphSortOrderType) => any;
|
|
8
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
10
9
|
onSort?: (val: NmorphSortOrderType) => any;
|
|
11
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions,
|
|
10
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
11
|
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
type __VLS_WithDefaults<P, D> = {
|
|
23
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
-
default: D[K];
|
|
25
|
-
}> : P[K];
|
|
26
|
-
};
|
|
27
|
-
type __VLS_Prettify<T> = {
|
|
28
|
-
[K in keyof T]: T[K];
|
|
29
|
-
} & {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NmorphSortOrderType } from '../../../types';
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
|
-
|
|
4
3
|
export type NmorphTableSortType = Record<string, NmorphSortOrderType>;
|
|
5
4
|
export type NmorphDataTableElRecordType = Record<string, unknown>;
|
|
6
5
|
export type NmorphCellAlignmentType = 'left' | 'center' | 'right';
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
import { INmorphTagItemProps } from './types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
modelValue: INmorphTagItemProps[];
|
|
6
5
|
}
|
|
7
|
-
declare const _default: DefineComponent<
|
|
8
|
-
close: (val: string) =>
|
|
9
|
-
"update:model-value": (val: INmorphTagItemProps[]) =>
|
|
10
|
-
}, string, PublicProps, Readonly<
|
|
6
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
close: (val: string) => any;
|
|
8
|
+
"update:model-value": (val: INmorphTagItemProps[]) => any;
|
|
9
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
11
10
|
onClose?: (val: string) => any;
|
|
12
11
|
"onUpdate:model-value"?: (val: INmorphTagItemProps[]) => any;
|
|
13
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions,
|
|
12
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
13
|
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts
CHANGED
|
@@ -1,41 +1,15 @@
|
|
|
1
|
-
import { NmorphComponentHeight, NmorphElementDesignType } from '../../../../../types';
|
|
2
1
|
import { INmorphTagItemProps } from './../../types';
|
|
3
|
-
import { DefineComponent,
|
|
4
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { NmorphElementDesignType } from '../../../../../types';
|
|
5
4
|
interface INmorphProps extends INmorphTagItemProps {
|
|
6
5
|
}
|
|
7
|
-
declare const _default: DefineComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
design: string;
|
|
11
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
-
close: (val: string) => void;
|
|
13
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
-
height: string;
|
|
15
|
-
removable: boolean;
|
|
16
|
-
design: string;
|
|
17
|
-
}>>> & Readonly<{
|
|
6
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
close: (val: string) => any;
|
|
8
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
18
9
|
onClose?: (val: string) => any;
|
|
19
10
|
}>, {
|
|
20
|
-
height:
|
|
11
|
+
height: "default" | "thick" | "thin";
|
|
21
12
|
design: NmorphElementDesignType;
|
|
22
13
|
removable: boolean;
|
|
23
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
14
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
15
|
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
@@ -1,70 +1,28 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { INmorphAlertProps } from '../..';
|
|
4
3
|
interface INmorphProps extends INmorphAlertProps {
|
|
5
4
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
default?(_: {}): any;
|
|
10
|
-
};
|
|
11
|
-
declare const __VLS_component: DefineComponent< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
12
|
-
id: any;
|
|
13
|
-
type: string;
|
|
14
|
-
closable: boolean;
|
|
15
|
-
title: string;
|
|
16
|
-
content: string;
|
|
17
|
-
fill: boolean;
|
|
18
|
-
showIcon: boolean;
|
|
19
|
-
bordered: boolean;
|
|
20
|
-
html: string;
|
|
21
|
-
closeIconPosition: string;
|
|
22
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
-
close: () => void;
|
|
24
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
25
|
-
id: any;
|
|
26
|
-
type: string;
|
|
27
|
-
closable: boolean;
|
|
28
|
-
title: string;
|
|
29
|
-
content: string;
|
|
30
|
-
fill: boolean;
|
|
31
|
-
showIcon: boolean;
|
|
32
|
-
bordered: boolean;
|
|
33
|
-
html: string;
|
|
34
|
-
closeIconPosition: string;
|
|
35
|
-
}>>> & Readonly<{
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
6
|
+
close: () => any;
|
|
7
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
36
8
|
onClose?: () => any;
|
|
37
9
|
}>, {
|
|
38
|
-
type: keyof typeof NmorphAlertType;
|
|
39
10
|
fill: boolean;
|
|
11
|
+
type: "error" | "success" | "warning" | "info";
|
|
40
12
|
html: string;
|
|
41
13
|
title: string;
|
|
42
|
-
id: string;
|
|
43
14
|
bordered: boolean;
|
|
15
|
+
id: string;
|
|
44
16
|
closable: boolean;
|
|
45
17
|
content: string;
|
|
46
18
|
showIcon: boolean;
|
|
47
19
|
closeIconPosition: string;
|
|
48
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
49
|
-
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
21
|
+
icon?(_: {}): any;
|
|
22
|
+
title?(_: {}): any;
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
}>;
|
|
50
25
|
export default _default;
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
type __VLS_WithDefaults<P, D> = {
|
|
61
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
-
default: D[K];
|
|
63
|
-
}> : P[K];
|
|
64
|
-
};
|
|
65
|
-
type __VLS_Prettify<T> = {
|
|
66
|
-
[K in keyof T]: T[K];
|
|
67
|
-
} & {};
|
|
68
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
27
|
new (): {
|
|
70
28
|
$slots: S;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
modelValue?: boolean;
|
|
4
4
|
title?: string;
|
|
@@ -10,34 +10,10 @@ interface INmorphProps {
|
|
|
10
10
|
zIndex?: number;
|
|
11
11
|
closeOnOverlay?: boolean;
|
|
12
12
|
}
|
|
13
|
-
declare
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
18
|
-
modelValue: boolean;
|
|
19
|
-
title: string;
|
|
20
|
-
width: string;
|
|
21
|
-
openDelay: number;
|
|
22
|
-
closeDelay: number;
|
|
23
|
-
closeOnClickModal: boolean;
|
|
24
|
-
showClose: boolean;
|
|
25
|
-
zIndex: number;
|
|
26
|
-
closeOnOverlay: boolean;
|
|
27
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
|
-
"on-close": () => void;
|
|
29
|
-
"update:model-value": (value: boolean) => void;
|
|
30
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
31
|
-
modelValue: boolean;
|
|
32
|
-
title: string;
|
|
33
|
-
width: string;
|
|
34
|
-
openDelay: number;
|
|
35
|
-
closeDelay: number;
|
|
36
|
-
closeOnClickModal: boolean;
|
|
37
|
-
showClose: boolean;
|
|
38
|
-
zIndex: number;
|
|
39
|
-
closeOnOverlay: boolean;
|
|
40
|
-
}>>> & Readonly<{
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
+
"update:model-value": (value: boolean) => any;
|
|
15
|
+
"on-close": () => any;
|
|
16
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
41
17
|
"onUpdate:model-value"?: (value: boolean) => any;
|
|
42
18
|
"onOn-close"?: () => any;
|
|
43
19
|
}>, {
|
|
@@ -50,26 +26,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
|
|
|
50
26
|
showClose: boolean;
|
|
51
27
|
zIndex: number;
|
|
52
28
|
closeOnOverlay: boolean;
|
|
53
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
54
|
-
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
30
|
+
header?(_: {}): any;
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
}>;
|
|
55
33
|
export default _default;
|
|
56
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
-
} : {
|
|
61
|
-
type: PropType<T[K]>;
|
|
62
|
-
required: true;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
type __VLS_WithDefaults<P, D> = {
|
|
66
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
-
default: D[K];
|
|
68
|
-
}> : P[K];
|
|
69
|
-
};
|
|
70
|
-
type __VLS_Prettify<T> = {
|
|
71
|
-
[K in keyof T]: T[K];
|
|
72
|
-
} & {};
|
|
73
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
35
|
new (): {
|
|
75
36
|
$slots: S;
|
|
@@ -1,53 +1,23 @@
|
|
|
1
1
|
import { INmorphCoords, NmorphPlacementType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
text?: string;
|
|
6
5
|
position?: NmorphPlacementType;
|
|
7
6
|
forceShow?: boolean;
|
|
8
7
|
forceCoordinate?: Partial<INmorphCoords<string>> | null;
|
|
9
8
|
}
|
|
10
|
-
declare
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
content?(_: {}): any;
|
|
13
|
-
};
|
|
14
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
|
-
text: string;
|
|
16
|
-
position: string;
|
|
17
|
-
forceShow: boolean;
|
|
18
|
-
forceCoordinate: any;
|
|
19
|
-
}>>, {
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
20
10
|
tooltipBody: Ref<HTMLElement, HTMLElement>;
|
|
21
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
22
|
-
text: string;
|
|
23
|
-
position: string;
|
|
24
|
-
forceShow: boolean;
|
|
25
|
-
forceCoordinate: any;
|
|
26
|
-
}>>> & Readonly<{}>, {
|
|
11
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
27
12
|
text: string;
|
|
28
|
-
position:
|
|
13
|
+
position: "top" | "right" | "left" | "bottom";
|
|
29
14
|
forceShow: boolean;
|
|
30
|
-
forceCoordinate: Partial<INmorphCoords<string
|
|
31
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
32
|
-
|
|
15
|
+
forceCoordinate: Partial<INmorphCoords<string>>;
|
|
16
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
content?(_: {}): any;
|
|
19
|
+
}>;
|
|
33
20
|
export default _default;
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type __VLS_WithDefaults<P, D> = {
|
|
44
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
-
default: D[K];
|
|
46
|
-
}> : P[K];
|
|
47
|
-
};
|
|
48
|
-
type __VLS_Prettify<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
51
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
22
|
new (): {
|
|
53
23
|
$slots: S;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { INmorphCommonInputProps
|
|
1
|
+
import { INmorphCommonInputProps } from '../../../types';
|
|
2
2
|
import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
|
|
3
|
-
import { DefineComponent,
|
|
4
|
-
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
5
4
|
interface INmorphProps extends INmorphCommonInputProps {
|
|
6
5
|
modelValue?: string;
|
|
7
6
|
placeholder?: string;
|
|
@@ -9,62 +8,27 @@ interface INmorphProps extends INmorphCommonInputProps {
|
|
|
9
8
|
list: INmorphAutocompleteListItem[];
|
|
10
9
|
actionCallback?: NmorphAutocompleteActionCallbackType;
|
|
11
10
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}): any;
|
|
17
|
-
};
|
|
18
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
|
-
modelValue: string;
|
|
20
|
-
placeholder: string;
|
|
21
|
-
height: string;
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
clearable: boolean;
|
|
24
|
-
list: () => any[];
|
|
25
|
-
actionCallback: any;
|
|
26
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
27
|
-
"update:model-value": (value: string) => void;
|
|
28
|
-
select: (value: unknown) => void;
|
|
29
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
30
|
-
modelValue: string;
|
|
31
|
-
placeholder: string;
|
|
32
|
-
height: string;
|
|
33
|
-
disabled: boolean;
|
|
34
|
-
clearable: boolean;
|
|
35
|
-
list: () => any[];
|
|
36
|
-
actionCallback: any;
|
|
37
|
-
}>>> & Readonly<{
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
select: (value: unknown) => any;
|
|
13
|
+
"update:model-value": (value: string) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
38
15
|
onSelect?: (value: unknown) => any;
|
|
39
16
|
"onUpdate:model-value"?: (value: string) => any;
|
|
40
17
|
}>, {
|
|
41
|
-
height:
|
|
18
|
+
height: "default" | "thick" | "thin";
|
|
42
19
|
disabled: boolean;
|
|
43
20
|
modelValue: string;
|
|
44
21
|
placeholder: string;
|
|
45
22
|
clearable: boolean;
|
|
46
23
|
list: INmorphAutocompleteListItem[];
|
|
47
24
|
actionCallback: NmorphAutocompleteActionCallbackType;
|
|
48
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
49
|
-
|
|
25
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
26
|
+
loader?(_: {}): any;
|
|
27
|
+
default?(_: {
|
|
28
|
+
scope: INmorphAutocompleteListItem;
|
|
29
|
+
}): any;
|
|
30
|
+
}>;
|
|
50
31
|
export default _default;
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
type __VLS_WithDefaults<P, D> = {
|
|
61
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
62
|
-
default: D[K];
|
|
63
|
-
}> : P[K];
|
|
64
|
-
};
|
|
65
|
-
type __VLS_Prettify<T> = {
|
|
66
|
-
[K in keyof T]: T[K];
|
|
67
|
-
} & {};
|
|
68
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
33
|
new (): {
|
|
70
34
|
$slots: S;
|
|
@@ -1,54 +1,22 @@
|
|
|
1
1
|
import { INmorphCheckboxOption, NmorphCheckboxDesignType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
label?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
|
|
9
|
-
id: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
modelValue: boolean;
|
|
12
|
-
label: string;
|
|
13
|
-
design: string;
|
|
14
|
-
}>>, {
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCheckboxOption, {
|
|
15
4
|
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
16
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
"update:model-value": (val: boolean) =>
|
|
18
|
-
}, string, PublicProps, Readonly<
|
|
19
|
-
id: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
modelValue: boolean;
|
|
22
|
-
label: string;
|
|
23
|
-
design: string;
|
|
24
|
-
}>>> & Readonly<{
|
|
5
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
6
|
+
"update:model-value": (val: boolean) => any;
|
|
7
|
+
}, string, PublicProps, Readonly<INmorphCheckboxOption> & Readonly<{
|
|
25
8
|
"onUpdate:model-value"?: (val: boolean) => any;
|
|
26
9
|
}>, {
|
|
27
|
-
label: string;
|
|
28
10
|
disabled: boolean;
|
|
11
|
+
label: string;
|
|
29
12
|
modelValue: boolean;
|
|
30
|
-
id: string;
|
|
31
13
|
design: NmorphCheckboxDesignType;
|
|
32
|
-
|
|
33
|
-
|
|
14
|
+
id: string;
|
|
15
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
label?(_: {}): any;
|
|
18
|
+
}>;
|
|
34
19
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
52
20
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
21
|
new (): {
|
|
54
22
|
$slots: S;
|