@nmorph/nmorph-ui-kit 1.1.0 → 1.1.1
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.es.js +5 -2
- package/dist/index.umd.js +5 -2
- package/package.json +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/src/components/basic/index.d.ts +0 -9
- package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +0 -39
- package/dist/src/components/basic/nmorph-button/types.d.ts +0 -15
- package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +0 -22
- package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +0 -259
- package/dist/src/components/basic/nmorph-icon/types.d.ts +0 -5
- package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +0 -29
- package/dist/src/components/basic/nmorph-link/types.d.ts +0 -6
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +0 -49
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +0 -14
- package/dist/src/components/data/index.d.ts +0 -28
- package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +0 -21
- package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +0 -31
- package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +0 -42
- package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -2
- package/dist/src/components/data/nmorph-calendar/hooks/use-calendar-texts.d.ts +0 -4
- package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +0 -25
- package/dist/src/components/data/nmorph-calendar/types.d.ts +0 -12
- package/dist/src/components/data/nmorph-calendar/utils.d.ts +0 -10
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +0 -20
- package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +0 -19
- package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +0 -13
- package/dist/src/components/data/nmorph-carousel/types.d.ts +0 -5
- package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +0 -21
- package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +0 -32
- package/dist/src/components/data/nmorph-collapse/types.d.ts +0 -9
- package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +0 -30
- package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +0 -23
- package/dist/src/components/data/nmorph-image-preview/types.d.ts +0 -5
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +0 -23
- package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +0 -29
- package/dist/src/components/data/nmorph-progress/types.d.ts +0 -6
- package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +0 -20
- package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +0 -16
- package/dist/src/components/data/nmorph-skeleton/types.d.ts +0 -5
- package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +0 -24
- package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +0 -13
- package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +0 -23
- package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +0 -11
- package/dist/src/components/data/nmorph-table/types.d.ts +0 -21
- package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +0 -13
- package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +0 -15
- package/dist/src/components/data/nmorph-tag-list/types.d.ts +0 -8
- package/dist/src/components/feedback/index.d.ts +0 -4
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +0 -30
- package/dist/src/components/feedback/nmorph-alert/types.d.ts +0 -18
- package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +0 -38
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +0 -25
- package/dist/src/components/form/index.d.ts +0 -22
- package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +0 -36
- package/dist/src/components/form/nmorph-autocomplete/types.d.ts +0 -5
- package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +0 -24
- package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +0 -26
- package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +0 -24
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +0 -7
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +0 -17
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +0 -21
- package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +0 -17
- package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +0 -34
- package/dist/src/components/form/nmorph-file-upload/types.d.ts +0 -61
- package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +0 -20
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +0 -23
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +0 -3
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +0 -13
- package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +0 -9
- package/dist/src/components/form/nmorph-form/types.d.ts +0 -7
- package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +0 -25
- package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +0 -26
- package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +0 -28
- package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +0 -39
- package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +0 -19
- package/dist/src/components/form/nmorph-select/types.d.ts +0 -9
- package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +0 -25
- package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.d.ts +0 -18
- package/dist/src/components/form/nmorph-select-button/types.d.ts +0 -8
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +0 -22
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +0 -33
- package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +0 -36
- package/dist/src/components/index.d.ts +0 -7
- package/dist/src/components/navigation/index.d.ts +0 -9
- package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +0 -26
- package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +0 -15
- package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +0 -17
- package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +0 -14
- package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +0 -28
- package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +0 -26
- package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +0 -22
- package/dist/src/components/navigation/nmorph-tabs/type.d.ts +0 -12
- package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +0 -3
- package/dist/src/components/others/index.d.ts +0 -3
- package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +0 -9
- package/dist/src/components/others/nmorph-divider/types.d.ts +0 -1
- package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +0 -20
- package/dist/src/components/providers/index.d.ts +0 -3
- package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +0 -14
- package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +0 -14
- package/dist/src/hooks/index.d.ts +0 -7
- package/dist/src/hooks/use-common-styles.d.ts +0 -1
- package/dist/src/hooks/use-field-validation.d.ts +0 -53
- package/dist/src/hooks/use-form-validation.d.ts +0 -13
- package/dist/src/hooks/use-nmorph-translation.d.ts +0 -7
- package/dist/src/hooks/use-placement.d.ts +0 -20
- package/dist/src/hooks/use-style-class-mixins.d.ts +0 -1
- package/dist/src/main.d.ts +0 -9
- package/dist/src/outside-hooks/index.d.ts +0 -4
- package/dist/src/outside-hooks/use-nmorph-browser.d.ts +0 -14
- package/dist/src/outside-hooks/use-nmorph-notification.d.ts +0 -7
- package/dist/src/outside-hooks/use-nmorph-theme.d.ts +0 -2
- package/dist/src/outside-hooks/use-nmorph.d.ts +0 -2
- package/dist/src/outside-utils/index.d.ts +0 -3
- package/dist/src/types/index.d.ts +0 -180
- package/dist/src/utils/case-transformers.d.ts +0 -5
- package/dist/src/utils/common.d.ts +0 -3
- package/dist/src/utils/create-modifiers.d.ts +0 -4
- package/dist/src/utils/index.d.ts +0 -4
- package/dist/src/utils/theme-style.d.ts +0 -15
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { INmorphSelectButtonOption } from '../..';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
-
interface INmorphProps extends INmorphCommonInputProps {
|
|
5
|
-
modelValue?: string;
|
|
6
|
-
options?: INmorphSelectButtonOption[];
|
|
7
|
-
}
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
9
|
-
"update:model-value": (val: string) => any;
|
|
10
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
11
|
-
"onUpdate:model-value"?: (val: string) => any;
|
|
12
|
-
}>, {
|
|
13
|
-
height: "default" | "thick" | "thin";
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
modelValue: string;
|
|
16
|
-
options: INmorphSelectButtonOption[];
|
|
17
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
18
|
-
default?(_: {}): any;
|
|
19
|
-
}>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../../../types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
7
|
-
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
8
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
11
|
-
default?(_: {}): any;
|
|
12
|
-
}>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export type NmorphSelectButtonChangeHandlerInjectionType = (value: string) => void;
|
|
3
|
-
export type NmorphSelectButtonSelectedValueInjectionType = Ref<string>;
|
|
4
|
-
export interface INmorphSelectButtonOption {
|
|
5
|
-
value: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
4
|
-
modelValue?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
min?: number;
|
|
7
|
-
step?: number;
|
|
8
|
-
showTooltip?: boolean;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
11
|
-
"update:model-value": (val: number) => any;
|
|
12
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
13
|
-
"onUpdate:model-value"?: (val: number) => any;
|
|
14
|
-
}>, {
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
modelValue: number;
|
|
17
|
-
max: number;
|
|
18
|
-
showTooltip: boolean;
|
|
19
|
-
min: number;
|
|
20
|
-
step: number;
|
|
21
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
type NmorphSwitchModelType = boolean | string | number;
|
|
4
|
-
interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
|
|
5
|
-
modelValue?: NmorphSwitchModelType;
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
activeValue?: NmorphSwitchModelType;
|
|
8
|
-
inactiveValue?: NmorphSwitchModelType;
|
|
9
|
-
}
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
11
|
-
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
12
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
-
"update:model-value": (val: string | number | boolean) => any;
|
|
14
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
15
|
-
"onUpdate:model-value"?: (val: string | number | boolean) => any;
|
|
16
|
-
}>, {
|
|
17
|
-
loading: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
modelValue: NmorphSwitchModelType;
|
|
20
|
-
activeValue: NmorphSwitchModelType;
|
|
21
|
-
inactiveValue: NmorphSwitchModelType;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
23
|
-
"bg-on"?(_: {}): any;
|
|
24
|
-
"bg-off"?(_: {}): any;
|
|
25
|
-
"thumb-on"?(_: {}): any;
|
|
26
|
-
"thumb-off"?(_: {}): any;
|
|
27
|
-
}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
-
new (): {
|
|
31
|
-
$slots: S;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { INmorphCommonInputProps } from '../../../types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps extends INmorphCommonInputProps {
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
typePassword?: boolean;
|
|
6
|
-
modelValue?: string;
|
|
7
|
-
clearable?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
|
|
10
|
-
inputDOMRef: Ref<HTMLElement, HTMLElement>;
|
|
11
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
-
blur: () => any;
|
|
13
|
-
focus: () => any;
|
|
14
|
-
"update:model-value": (val: string) => any;
|
|
15
|
-
"on-enter": () => any;
|
|
16
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
17
|
-
onBlur?: () => any;
|
|
18
|
-
onFocus?: () => any;
|
|
19
|
-
"onUpdate:model-value"?: (val: string) => any;
|
|
20
|
-
"onOn-enter"?: () => any;
|
|
21
|
-
}>, {
|
|
22
|
-
height: "default" | "thick" | "thin";
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
placeholder: string;
|
|
25
|
-
modelValue: string;
|
|
26
|
-
clearable: boolean;
|
|
27
|
-
typePassword: boolean;
|
|
28
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
29
|
-
"prepend-icon"?(_: {}): any;
|
|
30
|
-
}>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { default as NmorphBacktop } from './nmorph-backtop/NmorphBacktop.vue';
|
|
2
|
-
export { default as NmorphBreadcrumb } from './nmorph-breadcrumb/NmorphBreadcrumb.vue';
|
|
3
|
-
export * from './nmorph-breadcrumb/types';
|
|
4
|
-
export { default as NmorphBreadcrumbItem } from './nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue';
|
|
5
|
-
export { default as NmorphDropdown } from './nmorph-dropdown/NmorphDropdown.vue';
|
|
6
|
-
export { default as NmorphTabs } from './nmorph-tabs/NmorphTabs.vue';
|
|
7
|
-
export * from './nmorph-tabs/type';
|
|
8
|
-
export * from './nmorph-tabs/utils';
|
|
9
|
-
export { default as NmorphTabPane } from './nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NmorphElementDesignType } from '../../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps {
|
|
4
|
-
right?: number;
|
|
5
|
-
bottom?: number;
|
|
6
|
-
visibilityHeight?: number;
|
|
7
|
-
design?: NmorphElementDesignType;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
10
|
-
click: () => any;
|
|
11
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
12
|
-
onClick?: () => any;
|
|
13
|
-
}>, {
|
|
14
|
-
right: number;
|
|
15
|
-
design: NmorphElementDesignType;
|
|
16
|
-
bottom: number;
|
|
17
|
-
visibilityHeight: number;
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
19
|
-
default?(_: {}): any;
|
|
20
|
-
}>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
interface INmorphProps {
|
|
3
|
-
separator?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
6
|
-
separator: string;
|
|
7
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
8
|
-
default?(_: {}): any;
|
|
9
|
-
}>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
-
new (): {
|
|
13
|
-
$slots: S;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { INmorphBreadcrumbItemProps } from '../../../..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { RouteLocationAsRelativeGeneric, RouteLocationAsPathGeneric } from 'vue-router';
|
|
4
|
-
interface INmorphProps extends INmorphBreadcrumbItemProps {
|
|
5
|
-
}
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
7
|
-
replace: boolean;
|
|
8
|
-
to: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric;
|
|
9
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
10
|
-
default?(_: {}): any;
|
|
11
|
-
}>;
|
|
12
|
-
export default _default;
|
|
13
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
-
new (): {
|
|
15
|
-
$slots: S;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
export interface INmorphBreadcrumbItemProps {
|
|
4
|
-
to?: string | RouteLocationRaw;
|
|
5
|
-
replace?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface NmorphBreadcrumbInjectionItemWithId extends INmorphBreadcrumbItemProps {
|
|
8
|
-
itemId: string;
|
|
9
|
-
}
|
|
10
|
-
export type NmorphBreadcrumbsType = Ref<NmorphBreadcrumbInjectionItemWithId[]>;
|
|
11
|
-
export interface NmorphBreadcrumbInjection {
|
|
12
|
-
breadcrumbs: NmorphBreadcrumbsType;
|
|
13
|
-
breadcrumbId: string;
|
|
14
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NmorphDomElementType } from '../../../types';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps {
|
|
4
|
-
open: boolean;
|
|
5
|
-
relativeElement: NmorphDomElementType;
|
|
6
|
-
width?: number;
|
|
7
|
-
xOffset?: number;
|
|
8
|
-
yOffset?: number;
|
|
9
|
-
fillWidth?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
-
"on-outside-click": () => any;
|
|
13
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
14
|
-
"onOn-outside-click"?: () => any;
|
|
15
|
-
}>, {
|
|
16
|
-
width: number;
|
|
17
|
-
xOffset: number;
|
|
18
|
-
yOffset: number;
|
|
19
|
-
fillWidth: boolean;
|
|
20
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
21
|
-
default?(_: {}): any;
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { INmorphTabPaneProps, NmorphTableModelType } from '../..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps {
|
|
4
|
-
modelValue?: NmorphTableModelType;
|
|
5
|
-
stretch?: boolean;
|
|
6
|
-
panes?: Array<INmorphTabPaneProps>;
|
|
7
|
-
}
|
|
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<{
|
|
12
|
-
"onUpdate:model-value"?: (value: NmorphTableModelType) => any;
|
|
13
|
-
"onTab-change"?: (value: NmorphTableModelType) => any;
|
|
14
|
-
}>, {
|
|
15
|
-
modelValue: NmorphTableModelType;
|
|
16
|
-
stretch: boolean;
|
|
17
|
-
panes: INmorphTabPaneProps[];
|
|
18
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
19
|
-
default?(_: {}): any;
|
|
20
|
-
}>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
-
new (): {
|
|
24
|
-
$slots: S;
|
|
25
|
-
};
|
|
26
|
-
};
|
package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { INmorphTabPaneProps } from '../../../..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps extends INmorphTabPaneProps {
|
|
4
|
-
}
|
|
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>, {
|
|
10
|
-
label?(_: {
|
|
11
|
-
scope: INmorphTabPaneProps;
|
|
12
|
-
}): any;
|
|
13
|
-
default?(_: {
|
|
14
|
-
scope: INmorphTabPaneProps;
|
|
15
|
-
}): any;
|
|
16
|
-
}>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export type NmorphTableModelType = string | number;
|
|
3
|
-
export interface INmorphTabPaneProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
content?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface INmorphTabsDataProvider {
|
|
10
|
-
tabsData: Ref<INmorphTabPaneProps[]>;
|
|
11
|
-
tabsIdentifier: string;
|
|
12
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { NmorphTableModelType } from './type';
|
|
2
|
-
export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
3
|
-
export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { NmorphDirectionType } from '../..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps {
|
|
4
|
-
direction?: NmorphDirectionType;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
7
|
-
direction: NmorphDirectionType;
|
|
8
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
9
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type NmorphDirectionType = 'vertical' | 'horizontal';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
interface INmorphProps {
|
|
3
|
-
show: boolean;
|
|
4
|
-
transparent?: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
-
"on-outside-click": () => any;
|
|
8
|
-
}, string, PublicProps, Readonly<INmorphProps> & Readonly<{
|
|
9
|
-
"onOn-outside-click"?: () => any;
|
|
10
|
-
}>, {
|
|
11
|
-
transparent: boolean;
|
|
12
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
|
|
13
|
-
default?(_: {}): any;
|
|
14
|
-
}>;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { INmorphNotification, NmorphNotificationPlacement } from '..';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
interface INmorphProps {
|
|
4
|
-
notifications: INmorphNotification[];
|
|
5
|
-
placement?: keyof typeof NmorphNotificationPlacement;
|
|
6
|
-
zIndex?: number;
|
|
7
|
-
quantity?: number;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
|
|
10
|
-
zIndex: number;
|
|
11
|
-
placement: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
12
|
-
quantity: number;
|
|
13
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { INmorphAlertProps } from '../../../main';
|
|
2
|
-
export interface INmorphNotification extends INmorphAlertProps {
|
|
3
|
-
id?: string;
|
|
4
|
-
duration?: number;
|
|
5
|
-
width?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare enum NmorphNotificationPlacement {
|
|
8
|
-
'top-left' = "top-left",
|
|
9
|
-
'top-center' = "top-center",
|
|
10
|
-
'top-right' = "top-right",
|
|
11
|
-
'bottom-left' = "bottom-left",
|
|
12
|
-
'bottom-center' = "bottom-center",
|
|
13
|
-
'bottom-right' = "bottom-right"
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from './use-field-validation';
|
|
2
|
-
export * from './use-form-validation';
|
|
3
|
-
export * from './use-placement';
|
|
4
|
-
export * from '../outside-hooks/use-nmorph-theme';
|
|
5
|
-
export * from './use-nmorph-translation';
|
|
6
|
-
export * from './use-style-class-mixins';
|
|
7
|
-
export * from './use-common-styles';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useCommonStyles: () => void;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { NmorphAvailableFormValueType } from '../components/form/nmorph-form/types';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
export declare const enum NmorphArrayValidationOperator {
|
|
4
|
-
'contains-one' = "contains-one",
|
|
5
|
-
'not-contains' = "not-contains",
|
|
6
|
-
'full-eq' = "full-eq"
|
|
7
|
-
}
|
|
8
|
-
export declare enum NmorphNumberCompareOperator {
|
|
9
|
-
'eq' = "eq",
|
|
10
|
-
'gte' = "gte",
|
|
11
|
-
'lte' = "lte",
|
|
12
|
-
'gt' = "gt",
|
|
13
|
-
'lt' = "lt"
|
|
14
|
-
}
|
|
15
|
-
export declare enum NmorphBooleanCompareOperator {
|
|
16
|
-
'eq' = "eq",
|
|
17
|
-
'not-eq' = "not-eq"
|
|
18
|
-
}
|
|
19
|
-
export interface INmorphRule {
|
|
20
|
-
pattern?: RegExp;
|
|
21
|
-
numberCompareType?: keyof typeof NmorphNumberCompareOperator;
|
|
22
|
-
booleanCompareType?: keyof typeof NmorphBooleanCompareOperator;
|
|
23
|
-
arrayCompareType?: keyof typeof NmorphArrayValidationOperator;
|
|
24
|
-
compareValue?: number | string | string[];
|
|
25
|
-
error: string;
|
|
26
|
-
}
|
|
27
|
-
export type NmorphValidationInputValueType = NmorphAvailableFormValueType | null;
|
|
28
|
-
export type NmorphRulesType = INmorphRule[];
|
|
29
|
-
export interface INmorphUseValidationPayload {
|
|
30
|
-
inputValue: NmorphValidationInputValueType;
|
|
31
|
-
rules: NmorphRulesType | [];
|
|
32
|
-
}
|
|
33
|
-
export interface INmorphTextValidationRule extends INmorphRule {
|
|
34
|
-
pattern: RegExp;
|
|
35
|
-
}
|
|
36
|
-
export interface INmorphNumberValidationRule extends INmorphRule {
|
|
37
|
-
numberCompareType: keyof typeof NmorphNumberCompareOperator;
|
|
38
|
-
compareValue: number;
|
|
39
|
-
}
|
|
40
|
-
export interface INmorphRadioGroupValidationRule extends INmorphRule {
|
|
41
|
-
booleanCompareType: NmorphBooleanCompareOperator;
|
|
42
|
-
compareValue: string;
|
|
43
|
-
}
|
|
44
|
-
export interface INmorphCheckboxGroupValidationRule extends INmorphRule {
|
|
45
|
-
arrayCompareType: keyof typeof NmorphArrayValidationOperator;
|
|
46
|
-
compareValue: string[];
|
|
47
|
-
}
|
|
48
|
-
export declare const useFieldValidation: (data: INmorphUseValidationPayload) => {
|
|
49
|
-
touched: Ref<boolean, boolean>;
|
|
50
|
-
valid: Ref<boolean, boolean>;
|
|
51
|
-
errors: Ref<string[], string[]>;
|
|
52
|
-
validate: () => void;
|
|
53
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
import { NmorphFormValueType } from '../components/form/nmorph-form/types';
|
|
3
|
-
export interface INmorphUseFormValidation {
|
|
4
|
-
fields: Record<string, {
|
|
5
|
-
touched: Ref<boolean>;
|
|
6
|
-
valid: Ref<boolean>;
|
|
7
|
-
errors: Ref<string[]>;
|
|
8
|
-
validate: () => void;
|
|
9
|
-
}>;
|
|
10
|
-
isFormValid: Ref<boolean>;
|
|
11
|
-
isAnyTouched: Ref<boolean>;
|
|
12
|
-
}
|
|
13
|
-
export declare const useFormValidation: (formData: NmorphFormValueType, validateFormOnLoad?: boolean) => INmorphUseFormValidation;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { INmorphApplyTranslation, Locale, TranslateMessages } from '../types';
|
|
2
|
-
import { I18n } from 'vue-i18n';
|
|
3
|
-
export declare const useNmorphTranslation: (data: INmorphApplyTranslation) => I18n<{
|
|
4
|
-
en: any;
|
|
5
|
-
ru?: TranslateMessages;
|
|
6
|
-
zh?: TranslateMessages;
|
|
7
|
-
}, {}, {}, "en" | "ru" | "zh" | Locale, false>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { INmorphCoords, NmorphDomElementType, NmorphPlacementType } from '../types';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
interface INmorphUsePlacementPayload {
|
|
4
|
-
initialPlacement: NmorphPlacementType;
|
|
5
|
-
contentDOMElement: Ref<NmorphDomElementType>;
|
|
6
|
-
relativeElement: NmorphDomElementType | Ref<NmorphDomElementType>;
|
|
7
|
-
yOffset?: number;
|
|
8
|
-
xOffset?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const usePlacement: (data: INmorphUsePlacementPayload) => {
|
|
11
|
-
placement: Ref<"top" | "right" | "left" | "bottom", "top" | "right" | "left" | "bottom">;
|
|
12
|
-
placementCoords: Ref<{
|
|
13
|
-
x: string;
|
|
14
|
-
y: string;
|
|
15
|
-
}, INmorphCoords<string> | {
|
|
16
|
-
x: string;
|
|
17
|
-
y: string;
|
|
18
|
-
}>;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useStyleClassMixins: () => void;
|
package/dist/src/main.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ObjectPlugin } from 'vue';
|
|
2
|
-
export { default as ru } from './locales/ru.js';
|
|
3
|
-
export { default as zh } from './locales/zh.js';
|
|
4
|
-
export { default as en } from './locales/en.js';
|
|
5
|
-
export { nmorphLog } from './outside-utils';
|
|
6
|
-
export { useNmorphTheme, useNmorphBrowser, useNmorphNotification, useNmorph } from './outside-hooks';
|
|
7
|
-
export * from './types/index.ts';
|
|
8
|
-
export * from './components';
|
|
9
|
-
export declare const NmorphLibrary: ObjectPlugin<any[]>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
export declare const useNmorphBrowser: () => {
|
|
3
|
-
dimensions: Ref<{
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
}, {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
} | {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
}>;
|
|
13
|
-
scrollTop: Ref<number, number>;
|
|
14
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { INmorphNotification } from '../components/providers';
|
|
2
|
-
import { Ref } from 'vue';
|
|
3
|
-
export declare const useNmorphNotification: () => {
|
|
4
|
-
notifications: Ref<any[], any[]>;
|
|
5
|
-
notify: (options: INmorphNotification) => void;
|
|
6
|
-
removeNotification: (id: string) => void;
|
|
7
|
-
};
|