@nmorph/nmorph-ui-kit 1.0.53 → 1.0.61
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
|
@@ -1,36 +1,13 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
separator?: string;
|
|
4
4
|
}
|
|
5
|
-
declare
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
9
|
-
separator: string;
|
|
10
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
-
separator: string;
|
|
12
|
-
}>>> & Readonly<{}>, {
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
13
6
|
separator: string;
|
|
14
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
15
|
-
|
|
7
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
}>;
|
|
16
10
|
export default _default;
|
|
17
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
-
} : {
|
|
22
|
-
type: PropType<T[K]>;
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
type __VLS_WithDefaults<P, D> = {
|
|
27
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
-
default: D[K];
|
|
29
|
-
}> : P[K];
|
|
30
|
-
};
|
|
31
|
-
type __VLS_Prettify<T> = {
|
|
32
|
-
[K in keyof T]: T[K];
|
|
33
|
-
} & {};
|
|
34
11
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
12
|
new (): {
|
|
36
13
|
$slots: S;
|
|
@@ -1,41 +1,15 @@
|
|
|
1
1
|
import { INmorphBreadcrumbItemProps } from '../../../..';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router';
|
|
5
4
|
interface INmorphProps extends INmorphBreadcrumbItemProps {
|
|
6
5
|
}
|
|
7
|
-
declare
|
|
8
|
-
default?(_: {}): any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
11
|
-
to: string;
|
|
12
|
-
replace: boolean;
|
|
13
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
-
to: string;
|
|
15
|
-
replace: boolean;
|
|
16
|
-
}>>> & Readonly<{}>, {
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
17
7
|
replace: boolean;
|
|
18
|
-
to: string |
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
20
|
-
|
|
8
|
+
to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
}>;
|
|
21
12
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
14
|
new (): {
|
|
41
15
|
$slots: S;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NmorphDomElementType } from '../../../types';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
open: boolean;
|
|
6
5
|
relativeElement: NmorphDomElementType;
|
|
@@ -9,48 +8,19 @@ interface INmorphProps {
|
|
|
9
8
|
yOffset?: number;
|
|
10
9
|
fillWidth?: boolean;
|
|
11
10
|
}
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
16
|
-
width: number;
|
|
17
|
-
xOffset: number;
|
|
18
|
-
yOffset: number;
|
|
19
|
-
fillWidth: boolean;
|
|
20
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
21
|
-
"on-outside-click": () => void;
|
|
22
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
23
|
-
width: number;
|
|
24
|
-
xOffset: number;
|
|
25
|
-
yOffset: number;
|
|
26
|
-
fillWidth: boolean;
|
|
27
|
-
}>>> & Readonly<{
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
"on-outside-click": () => any;
|
|
13
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
28
14
|
"onOn-outside-click"?: () => any;
|
|
29
15
|
}>, {
|
|
30
16
|
width: number;
|
|
31
|
-
yOffset: number;
|
|
32
17
|
xOffset: number;
|
|
18
|
+
yOffset: number;
|
|
33
19
|
fillWidth: boolean;
|
|
34
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
35
|
-
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
36
23
|
export default _default;
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
type __VLS_WithDefaults<P, D> = {
|
|
47
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
-
default: D[K];
|
|
49
|
-
}> : P[K];
|
|
50
|
-
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
54
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
25
|
new (): {
|
|
56
26
|
$slots: S;
|
|
@@ -1,52 +1,24 @@
|
|
|
1
1
|
import { INmorphTabPaneProps, NmorphTableModelType } from '../..';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
modelValue?: NmorphTableModelType;
|
|
6
5
|
stretch?: boolean;
|
|
7
6
|
panes?: Array<INmorphTabPaneProps>;
|
|
8
7
|
}
|
|
9
|
-
declare
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
modelValue: number;
|
|
14
|
-
stretch: boolean;
|
|
15
|
-
panes: () => any[];
|
|
16
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
-
"update:model-value": (value: NmorphTableModelType) => void;
|
|
18
|
-
"tab-change": (value: NmorphTableModelType) => void;
|
|
19
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
20
|
-
modelValue: number;
|
|
21
|
-
stretch: boolean;
|
|
22
|
-
panes: () => any[];
|
|
23
|
-
}>>> & Readonly<{
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
+
"update:model-value": (value: NmorphTableModelType) => any;
|
|
10
|
+
"tab-change": (value: NmorphTableModelType) => any;
|
|
11
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
24
12
|
"onUpdate:model-value"?: (value: NmorphTableModelType) => any;
|
|
25
13
|
"onTab-change"?: (value: NmorphTableModelType) => any;
|
|
26
14
|
}>, {
|
|
27
15
|
modelValue: NmorphTableModelType;
|
|
28
16
|
stretch: boolean;
|
|
29
|
-
panes:
|
|
30
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any
|
|
31
|
-
|
|
17
|
+
panes: INmorphTabPaneProps[];
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
32
21
|
export default _default;
|
|
33
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
-
} : {
|
|
38
|
-
type: PropType<T[K]>;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
type __VLS_WithDefaults<P, D> = {
|
|
43
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
-
default: D[K];
|
|
45
|
-
}> : P[K];
|
|
46
|
-
};
|
|
47
|
-
type __VLS_Prettify<T> = {
|
|
48
|
-
[K in keyof T]: T[K];
|
|
49
|
-
} & {};
|
|
50
22
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
23
|
new (): {
|
|
52
24
|
$slots: S;
|
package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts
CHANGED
|
@@ -1,48 +1,20 @@
|
|
|
1
1
|
import { INmorphTabPaneProps } from '../../../..';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps extends INmorphTabPaneProps {
|
|
5
4
|
}
|
|
6
|
-
declare
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
content: string;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
7
10
|
label?(_: {
|
|
8
11
|
scope: INmorphTabPaneProps;
|
|
9
12
|
}): any;
|
|
10
13
|
default?(_: {
|
|
11
14
|
scope: INmorphTabPaneProps;
|
|
12
15
|
}): any;
|
|
13
|
-
}
|
|
14
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
15
|
-
label: string;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
content: string;
|
|
18
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
19
|
-
label: string;
|
|
20
|
-
disabled: boolean;
|
|
21
|
-
content: string;
|
|
22
|
-
}>>> & Readonly<{}>, {
|
|
23
|
-
label: string;
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
content: string;
|
|
26
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
27
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
|
+
}>;
|
|
28
17
|
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
19
|
new (): {
|
|
48
20
|
$slots: S;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { NmorphTableModelType } from './type';
|
|
2
|
-
|
|
3
2
|
export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
4
3
|
export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
@@ -1,31 +1,9 @@
|
|
|
1
1
|
import { NmorphDirectionType } from '../..';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
direction?: NmorphDirectionType;
|
|
6
5
|
}
|
|
7
|
-
declare const _default: DefineComponent<
|
|
8
|
-
direction: string;
|
|
9
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
|
-
direction: string;
|
|
11
|
-
}>>> & Readonly<{}>, {
|
|
6
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
12
7
|
direction: NmorphDirectionType;
|
|
13
8
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14
9
|
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
|
-
} & {};
|
|
@@ -1,41 +1,18 @@
|
|
|
1
|
-
import { DefineComponent,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
interface INmorphProps {
|
|
3
3
|
show: boolean;
|
|
4
4
|
transparent?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
10
|
-
transparent: boolean;
|
|
11
|
-
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
-
"on-outside-click": () => void;
|
|
13
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
|
|
14
|
-
transparent: boolean;
|
|
15
|
-
}>>> & Readonly<{
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
+
"on-outside-click": () => any;
|
|
8
|
+
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
16
9
|
"onOn-outside-click"?: () => any;
|
|
17
10
|
}>, {
|
|
18
11
|
transparent: boolean;
|
|
19
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
20
|
-
|
|
12
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
21
15
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
17
|
new (): {
|
|
41
18
|
$slots: S;
|
|
@@ -1,40 +1,14 @@
|
|
|
1
1
|
import { INmorphNotification, NmorphNotificationPlacement } from '..';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
interface INmorphProps {
|
|
5
4
|
notifications: INmorphNotification[];
|
|
6
5
|
placement?: keyof typeof NmorphNotificationPlacement;
|
|
7
6
|
zIndex?: number;
|
|
8
7
|
quantity?: number;
|
|
9
8
|
}
|
|
10
|
-
declare const _default: DefineComponent<
|
|
11
|
-
placement: string;
|
|
9
|
+
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
12
10
|
zIndex: number;
|
|
11
|
+
placement: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
13
12
|
quantity: number;
|
|
14
|
-
}
|
|
15
|
-
placement: string;
|
|
16
|
-
zIndex: number;
|
|
17
|
-
quantity: number;
|
|
18
|
-
}>>> & Readonly<{}>, {
|
|
19
|
-
zIndex: number;
|
|
20
|
-
placement: keyof typeof NmorphNotificationPlacement;
|
|
21
|
-
quantity: number;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
23
14
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { INmorphApplyTranslation, Locale, TranslateMessages } from '../types';
|
|
2
2
|
import { I18n } from 'vue-i18n';
|
|
3
|
-
|
|
4
3
|
export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
|
|
5
4
|
en: {
|
|
6
5
|
sun: string;
|
|
@@ -30,4 +29,4 @@ export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I1
|
|
|
30
29
|
};
|
|
31
30
|
ru?: TranslateMessages;
|
|
32
31
|
zh?: TranslateMessages;
|
|
33
|
-
}, {}, {},
|
|
32
|
+
}, {}, {}, "en" | "ru" | "zh" | Locale, false>;
|
|
@@ -2,7 +2,6 @@ import { Ref } from 'vue';
|
|
|
2
2
|
import { I18n } from 'vue-i18n';
|
|
3
3
|
import { NmorphFormValidationDataType } from '../components';
|
|
4
4
|
import { useNmorphBrowser, useNmorphTheme } from '../outside-hooks';
|
|
5
|
-
|
|
6
5
|
export interface INmorphInstance {
|
|
7
6
|
theme: ReturnType<typeof useNmorphTheme>;
|
|
8
7
|
browser: ReturnType<typeof useNmorphBrowser>;
|