@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.
Files changed (120) hide show
  1. package/dist/index.es.js +5 -2
  2. package/dist/index.umd.js +5 -2
  3. package/package.json +1 -1
  4. package/dist/index.d.ts +0 -2
  5. package/dist/src/components/basic/index.d.ts +0 -9
  6. package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +0 -39
  7. package/dist/src/components/basic/nmorph-button/types.d.ts +0 -15
  8. package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +0 -22
  9. package/dist/src/components/basic/nmorph-icon/NmorphIcons.d.ts +0 -259
  10. package/dist/src/components/basic/nmorph-icon/types.d.ts +0 -5
  11. package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +0 -29
  12. package/dist/src/components/basic/nmorph-link/types.d.ts +0 -6
  13. package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +0 -49
  14. package/dist/src/components/basic/nmorph-scroll/types.d.ts +0 -14
  15. package/dist/src/components/data/index.d.ts +0 -28
  16. package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +0 -21
  17. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +0 -31
  18. package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +0 -42
  19. package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -2
  20. package/dist/src/components/data/nmorph-calendar/hooks/use-calendar-texts.d.ts +0 -4
  21. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +0 -25
  22. package/dist/src/components/data/nmorph-calendar/types.d.ts +0 -12
  23. package/dist/src/components/data/nmorph-calendar/utils.d.ts +0 -10
  24. package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +0 -20
  25. package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +0 -19
  26. package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +0 -13
  27. package/dist/src/components/data/nmorph-carousel/types.d.ts +0 -5
  28. package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +0 -21
  29. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +0 -32
  30. package/dist/src/components/data/nmorph-collapse/types.d.ts +0 -9
  31. package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +0 -30
  32. package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +0 -23
  33. package/dist/src/components/data/nmorph-image-preview/types.d.ts +0 -5
  34. package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +0 -23
  35. package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +0 -29
  36. package/dist/src/components/data/nmorph-progress/types.d.ts +0 -6
  37. package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +0 -20
  38. package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +0 -16
  39. package/dist/src/components/data/nmorph-skeleton/types.d.ts +0 -5
  40. package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +0 -24
  41. package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +0 -13
  42. package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +0 -23
  43. package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +0 -11
  44. package/dist/src/components/data/nmorph-table/types.d.ts +0 -21
  45. package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +0 -13
  46. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +0 -15
  47. package/dist/src/components/data/nmorph-tag-list/types.d.ts +0 -8
  48. package/dist/src/components/feedback/index.d.ts +0 -4
  49. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +0 -30
  50. package/dist/src/components/feedback/nmorph-alert/types.d.ts +0 -18
  51. package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +0 -38
  52. package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +0 -25
  53. package/dist/src/components/form/index.d.ts +0 -22
  54. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +0 -36
  55. package/dist/src/components/form/nmorph-autocomplete/types.d.ts +0 -5
  56. package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +0 -24
  57. package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +0 -26
  58. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +0 -24
  59. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +0 -7
  60. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +0 -17
  61. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +0 -21
  62. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +0 -17
  63. package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +0 -34
  64. package/dist/src/components/form/nmorph-file-upload/types.d.ts +0 -61
  65. package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +0 -20
  66. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +0 -23
  67. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +0 -3
  68. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +0 -13
  69. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +0 -9
  70. package/dist/src/components/form/nmorph-form/types.d.ts +0 -7
  71. package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +0 -25
  72. package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +0 -26
  73. package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +0 -28
  74. package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +0 -39
  75. package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +0 -19
  76. package/dist/src/components/form/nmorph-select/types.d.ts +0 -9
  77. package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +0 -25
  78. package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.d.ts +0 -18
  79. package/dist/src/components/form/nmorph-select-button/types.d.ts +0 -8
  80. package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +0 -22
  81. package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +0 -33
  82. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +0 -36
  83. package/dist/src/components/index.d.ts +0 -7
  84. package/dist/src/components/navigation/index.d.ts +0 -9
  85. package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +0 -26
  86. package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +0 -15
  87. package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +0 -17
  88. package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +0 -14
  89. package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +0 -28
  90. package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +0 -26
  91. package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +0 -22
  92. package/dist/src/components/navigation/nmorph-tabs/type.d.ts +0 -12
  93. package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +0 -3
  94. package/dist/src/components/others/index.d.ts +0 -3
  95. package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +0 -9
  96. package/dist/src/components/others/nmorph-divider/types.d.ts +0 -1
  97. package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +0 -20
  98. package/dist/src/components/providers/index.d.ts +0 -3
  99. package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +0 -14
  100. package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +0 -14
  101. package/dist/src/hooks/index.d.ts +0 -7
  102. package/dist/src/hooks/use-common-styles.d.ts +0 -1
  103. package/dist/src/hooks/use-field-validation.d.ts +0 -53
  104. package/dist/src/hooks/use-form-validation.d.ts +0 -13
  105. package/dist/src/hooks/use-nmorph-translation.d.ts +0 -7
  106. package/dist/src/hooks/use-placement.d.ts +0 -20
  107. package/dist/src/hooks/use-style-class-mixins.d.ts +0 -1
  108. package/dist/src/main.d.ts +0 -9
  109. package/dist/src/outside-hooks/index.d.ts +0 -4
  110. package/dist/src/outside-hooks/use-nmorph-browser.d.ts +0 -14
  111. package/dist/src/outside-hooks/use-nmorph-notification.d.ts +0 -7
  112. package/dist/src/outside-hooks/use-nmorph-theme.d.ts +0 -2
  113. package/dist/src/outside-hooks/use-nmorph.d.ts +0 -2
  114. package/dist/src/outside-utils/index.d.ts +0 -3
  115. package/dist/src/types/index.d.ts +0 -180
  116. package/dist/src/utils/case-transformers.d.ts +0 -5
  117. package/dist/src/utils/common.d.ts +0 -3
  118. package/dist/src/utils/create-modifiers.d.ts +0 -4
  119. package/dist/src/utils/index.d.ts +0 -4
  120. package/dist/src/utils/theme-style.d.ts +0 -15
@@ -1,18 +0,0 @@
1
- export declare enum NmorphAlertType {
2
- success = "success",
3
- error = "error",
4
- warning = "warning",
5
- info = "info"
6
- }
7
- export interface INmorphAlertProps {
8
- id?: string;
9
- type?: keyof typeof NmorphAlertType;
10
- closable?: boolean;
11
- title?: string;
12
- content?: string;
13
- fill?: boolean;
14
- showIcon?: boolean;
15
- bordered?: boolean;
16
- html?: string;
17
- closeIconPosition?: string;
18
- }
@@ -1,38 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- modelValue?: boolean;
4
- title?: string;
5
- width?: string;
6
- openDelay?: number;
7
- closeDelay?: number;
8
- closeOnClickModal?: boolean;
9
- showClose?: boolean;
10
- zIndex?: number;
11
- closeOnOverlay?: boolean;
12
- }
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<{
17
- "onUpdate:model-value"?: (value: boolean) => any;
18
- "onOn-close"?: () => any;
19
- }>, {
20
- width: string;
21
- title: string;
22
- modelValue: boolean;
23
- openDelay: number;
24
- closeDelay: number;
25
- closeOnClickModal: boolean;
26
- showClose: boolean;
27
- zIndex: number;
28
- closeOnOverlay: boolean;
29
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
30
- header?(_: {}): any;
31
- default?(_: {}): any;
32
- }>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,25 +0,0 @@
1
- import { INmorphCoords, NmorphPlacementType } from '../../../types';
2
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- text?: string;
5
- position?: NmorphPlacementType;
6
- forceShow?: boolean;
7
- forceCoordinate?: Partial<INmorphCoords<string>> | null;
8
- }
9
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
10
- tooltipBody: Ref<HTMLElement, HTMLElement>;
11
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
12
- text: string;
13
- position: "top" | "right" | "left" | "bottom";
14
- forceShow: boolean;
15
- forceCoordinate: Partial<INmorphCoords<string>>;
16
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
17
- default?(_: {}): any;
18
- content?(_: {}): any;
19
- }>;
20
- export default _default;
21
- type __VLS_WithTemplateSlots<T, S> = T & {
22
- new (): {
23
- $slots: S;
24
- };
25
- };
@@ -1,22 +0,0 @@
1
- export { default as NmorphCheckbox } from './nmorph-checkbox/NmorphCheckbox.vue';
2
- export { default as NmorphCheckboxGroup } from './nmorph-checkbox-group/NmorphCheckboxGroup.vue';
3
- export { default as NmorphAutocomplete } from './nmorph-autocomplete/NmorphAutocomplete.vue';
4
- export * from './nmorph-autocomplete/types';
5
- export { default as NmorphDatePicker } from './nmorph-date-picker/NmorphDatePicker.vue';
6
- export { default as NmorphFileUpload } from './nmorph-file-upload/NmorphFileUpload.vue';
7
- export * from './nmorph-file-upload/types';
8
- export { default as NmorphForm } from './nmorph-form/NmorphForm.vue';
9
- export * from './nmorph-form/types';
10
- export { default as NmorphFormItem } from './nmorph-form/components/nmorph-form-item/NmorphFormItem.vue';
11
- export { default as NmorphNumberInput } from './nmorph-number-input/NmorphNumberInput.vue';
12
- export { default as NmorphSelect } from './nmorph-select/NmorphSelect.vue';
13
- export * from './nmorph-select/types';
14
- export { default as NmorphSelectOption } from './nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue';
15
- export { default as NmorphSlider } from './nmorph-slider/NmorphSlider.vue';
16
- export { default as NmorphSwitch } from './nmorph-switch/NmorphSwitch.vue';
17
- export { default as NmorphTextInput } from './nmorph-text-input/NmorphTextInput.vue';
18
- export { default as NmorphRadio } from './nmorph-radio/NmorphRadio.vue';
19
- export { default as NmorphRadioGroup } from './nmorph-radio-group/NmorphRadioGroup.vue';
20
- export { default as NmorphSelectButton } from './nmorph-select-button/NmorphSelectButton.vue';
21
- export { default as NmorphSelectButtonItem } from './nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue';
22
- export * from './nmorph-select-button/types';
@@ -1,36 +0,0 @@
1
- import { INmorphCommonInputProps } from '../../../types';
2
- import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- modelValue?: string;
6
- placeholder?: string;
7
- clearable?: boolean;
8
- list: INmorphAutocompleteListItem[];
9
- actionCallback?: NmorphAutocompleteActionCallbackType;
10
- }
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<{
15
- onSelect?: (value: unknown) => any;
16
- "onUpdate:model-value"?: (value: string) => any;
17
- }>, {
18
- height: "default" | "thick" | "thin";
19
- disabled: boolean;
20
- placeholder: string;
21
- modelValue: string;
22
- clearable: boolean;
23
- list: INmorphAutocompleteListItem[];
24
- actionCallback: NmorphAutocompleteActionCallbackType;
25
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
26
- loader?(_: {}): any;
27
- default?(_: {
28
- scope: INmorphAutocompleteListItem;
29
- }): any;
30
- }>;
31
- export default _default;
32
- type __VLS_WithTemplateSlots<T, S> = T & {
33
- new (): {
34
- $slots: S;
35
- };
36
- };
@@ -1,5 +0,0 @@
1
- export interface INmorphAutocompleteListItem {
2
- value: string;
3
- [key: string]: unknown;
4
- }
5
- export type NmorphAutocompleteActionCallbackType = (...args: unknown[]) => Promise<unknown>;
@@ -1,24 +0,0 @@
1
- import { INmorphCheckboxOption, NmorphCheckboxDesignType } from '../../../types';
2
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCheckboxOption, {
4
- inputDOMRef: Ref<HTMLElement, HTMLElement>;
5
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
6
- "update:model-value": (val: boolean) => any;
7
- }, string, PublicProps, Readonly<INmorphCheckboxOption> & Readonly<{
8
- "onUpdate:model-value"?: (val: boolean) => any;
9
- }>, {
10
- disabled: boolean;
11
- id: string;
12
- label: string;
13
- modelValue: boolean;
14
- design: NmorphCheckboxDesignType;
15
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
16
- default?(_: {}): any;
17
- label?(_: {}): any;
18
- }>;
19
- export default _default;
20
- type __VLS_WithTemplateSlots<T, S> = T & {
21
- new (): {
22
- $slots: S;
23
- };
24
- };
@@ -1,26 +0,0 @@
1
- import { INmorphCheckboxOption, INmorphCommonInputProps, NmorphCheckboxDesignType, NmorphComponentDirection } from '../../../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps extends INmorphCommonInputProps {
4
- modelValue: string[];
5
- options?: INmorphCheckboxOption[];
6
- design?: NmorphCheckboxDesignType;
7
- direction?: keyof typeof NmorphComponentDirection;
8
- }
9
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
- "update:model-value": (val: string[]) => any;
11
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
12
- "onUpdate:model-value"?: (val: string[]) => any;
13
- }>, {
14
- modelValue: string[];
15
- design: NmorphCheckboxDesignType;
16
- options: INmorphCheckboxOption[];
17
- direction: "row" | "column";
18
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
19
- default?(_: {}): any;
20
- }>;
21
- export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,24 +0,0 @@
1
- import { INmorphCommonInputProps, NmorphSelectionDateType } from '../../../types';
2
- import { NmorphSelectedDateModelType } from '../..';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- placeholder?: string;
6
- modelValue: NmorphSelectedDateModelType;
7
- type?: keyof typeof NmorphSelectionDateType;
8
- textSeparator?: string;
9
- initialDate?: Date;
10
- }
11
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
12
- "update:model-value": (modelValue: NmorphSelectedDateModelType) => any;
13
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
14
- "onUpdate:model-value"?: (modelValue: NmorphSelectedDateModelType) => any;
15
- }>, {
16
- type: "date" | "dates" | "daterange";
17
- height: "default" | "thick" | "thin";
18
- disabled: boolean;
19
- placeholder: string;
20
- modelValue: NmorphSelectedDateModelType;
21
- initialDate: Date;
22
- textSeparator: string;
23
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
- export default _default;
@@ -1,7 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
- clear: () => any;
4
- }, string, PublicProps, Readonly<{}> & Readonly<{
5
- onClear?: () => any;
6
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
7
- export default _default;
@@ -1,17 +0,0 @@
1
- import { NmorphSelectedDateModelType } from '../../../..';
2
- import { NmorphSelectionDateType } from '../../../../../types';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps {
5
- initialDate?: Date;
6
- selectedValues: NmorphSelectedDateModelType;
7
- type?: keyof typeof NmorphSelectionDateType;
8
- }
9
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
- "update-selected-value": (selectedValue: Date) => any;
11
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
12
- "onUpdate-selected-value"?: (selectedValue: Date) => any;
13
- }>, {
14
- type: "date" | "dates" | "daterange";
15
- initialDate: Date;
16
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
- export default _default;
@@ -1,21 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- year: number;
4
- month: number;
5
- }
6
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
7
- "prev-month": () => any;
8
- "next-month": () => any;
9
- "prev-year": () => any;
10
- "next-year": () => any;
11
- "change-year": () => any;
12
- "change-month": () => any;
13
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
14
- "onPrev-month"?: () => any;
15
- "onNext-month"?: () => any;
16
- "onPrev-year"?: () => any;
17
- "onNext-year"?: () => any;
18
- "onChange-year"?: () => any;
19
- "onChange-month"?: () => any;
20
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
- export default _default;
@@ -1,17 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- currentDate: Date;
4
- type?: 'year' | 'month';
5
- }
6
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
7
- "update-year": (val: string) => any;
8
- "update-month": (val: string) => any;
9
- "back-to-years": () => any;
10
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
11
- "onUpdate-year"?: (val: string) => any;
12
- "onUpdate-month"?: (val: string) => any;
13
- "onBack-to-years"?: () => any;
14
- }>, {
15
- type: "year" | "month";
16
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
- export default _default;
@@ -1,34 +0,0 @@
1
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { INmorphCustomFileData, NmorphResolutionType } from '../..';
3
- interface INmorphProps {
4
- modelValue?: INmorphCustomFileData[];
5
- disabled?: boolean;
6
- multiple?: boolean;
7
- allowedTypes?: NmorphResolutionType[];
8
- photoWithPreview?: boolean;
9
- buttonText?: string;
10
- }
11
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<INmorphProps, {
12
- inputDOMRef: Ref<HTMLElement, HTMLElement>;
13
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
14
- "update:model-value": (val: File[]) => any;
15
- "on-unsupported-file-type-error": (val: string) => any;
16
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
17
- "onUpdate:model-value"?: (val: File[]) => any;
18
- "onOn-unsupported-file-type-error"?: (val: string) => any;
19
- }>, {
20
- disabled: boolean;
21
- modelValue: INmorphCustomFileData[];
22
- multiple: boolean;
23
- allowedTypes: ("zip" | "rar" | "7z" | "pdf" | "msword" | "docx" | "xlsx" | "pptx" | "json" | "xml" | "mpeg" | "audio-ogg" | "wav" | "mp4" | "webm" | "wideo-ogg" | "jpeg" | "jpg" | "png" | "gif" | "svg-xml" | "webp")[];
24
- photoWithPreview: boolean;
25
- buttonText: string;
26
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
27
- trigger?(_: {}): any;
28
- }>;
29
- export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
@@ -1,61 +0,0 @@
1
- export declare enum NmorphImageResolution {
2
- jpeg = "image/jpeg",
3
- jpg = "image/jpg",
4
- png = "image/png",
5
- gif = "image/gif",
6
- 'svg-xml' = "image/svg+xml",
7
- webp = "image/webp"
8
- }
9
- export declare enum NmorphVideoResolution {
10
- mp4 = "video/mp4",
11
- webm = "video/webm",
12
- 'wideo-ogg' = "video/ogg"
13
- }
14
- export declare enum NmorphAudioResolution {
15
- mpeg = "audio/mpeg",
16
- 'audio-ogg' = "audio/ogg",
17
- wav = "audio/wav"
18
- }
19
- export declare enum NmorphDocResolution {
20
- pdf = "application/pdf",
21
- msword = "application/msword",
22
- docx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
23
- xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
24
- pptx = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
25
- json = "application/json",
26
- xml = "application/xml"
27
- }
28
- export declare enum NmorphArchiveResolution {
29
- zip = "application/zip",
30
- rar = "application/x-rar-compressed",
31
- '7z' = "application/x-7z-compressed"
32
- }
33
- export declare const resolution: {
34
- zip: NmorphArchiveResolution.zip;
35
- rar: NmorphArchiveResolution.rar;
36
- '7z': (typeof NmorphArchiveResolution)["7z"];
37
- pdf: NmorphDocResolution.pdf;
38
- msword: NmorphDocResolution.msword;
39
- docx: NmorphDocResolution.docx;
40
- xlsx: NmorphDocResolution.xlsx;
41
- pptx: NmorphDocResolution.pptx;
42
- json: NmorphDocResolution.json;
43
- xml: NmorphDocResolution.xml;
44
- mpeg: NmorphAudioResolution.mpeg;
45
- 'audio-ogg': (typeof NmorphAudioResolution)["audio-ogg"];
46
- wav: NmorphAudioResolution.wav;
47
- mp4: NmorphVideoResolution.mp4;
48
- webm: NmorphVideoResolution.webm;
49
- 'wideo-ogg': (typeof NmorphVideoResolution)["wideo-ogg"];
50
- jpeg: NmorphImageResolution.jpeg;
51
- jpg: NmorphImageResolution.jpg;
52
- png: NmorphImageResolution.png;
53
- gif: NmorphImageResolution.gif;
54
- 'svg-xml': (typeof NmorphImageResolution)["svg-xml"];
55
- webp: NmorphImageResolution.webp;
56
- };
57
- export type NmorphResolutionType = keyof typeof resolution;
58
- export interface INmorphCustomFileData {
59
- data: File;
60
- previewUrl: string;
61
- }
@@ -1,20 +0,0 @@
1
- import { NmorphFormValueType } from './types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { INmorphUseFormValidation } from '../../../hooks';
4
- interface INmorphProps {
5
- value: NmorphFormValueType;
6
- validateImmediately?: boolean;
7
- }
8
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
9
- formData: INmorphUseFormValidation;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
11
- validateImmediately: 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,23 +0,0 @@
1
- import { NmorphComponentHeight } from '../../../../../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- id: string;
5
- height?: keyof typeof NmorphComponentHeight;
6
- label?: string;
7
- showValidationIcon?: boolean;
8
- staticErrorBoxSpace?: boolean;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
11
- height: "default" | "thick" | "thin";
12
- label: string;
13
- showValidationIcon: boolean;
14
- staticErrorBoxSpace: boolean;
15
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
16
- default?(_: {}): any;
17
- }>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1,3 +0,0 @@
1
- import { default as NmorphErrorBox } from './nmorph-error-box/NmorphErrorBox.vue';
2
- import { default as NmorphValidationIcon } from './nmorph-validation-icon/NmorphValidationIcon.vue';
3
- export { NmorphErrorBox, NmorphValidationIcon };
@@ -1,13 +0,0 @@
1
- import { NmorphComponentHeight } from '../../../../../../../types';
2
- import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- height?: keyof typeof NmorphComponentHeight;
5
- errors?: string[] | Ref<string[]>;
6
- staticHeight?: boolean;
7
- }
8
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
9
- height: "default" | "thick" | "thin";
10
- errors: string[] | Ref<string[], string[]>;
11
- staticHeight: boolean;
12
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
13
- export default _default;
@@ -1,9 +0,0 @@
1
- import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- valid: boolean | ComputedRef<boolean>;
4
- show?: boolean | ComputedRef<boolean>;
5
- }
6
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
7
- show: boolean | ComputedRef<boolean>;
8
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
- export default _default;
@@ -1,7 +0,0 @@
1
- import { INmorphUseFormValidation, NmorphRulesType } from '../../../hooks';
2
- export type NmorphAvailableFormValueType = string | string[] | number | number[] | boolean | boolean[] | Date | Date[];
3
- export type NmorphFormValueType = Record<string, {
4
- value: NmorphAvailableFormValueType;
5
- rules: NmorphRulesType;
6
- }>;
7
- export type NmorphFormValidationDataType = INmorphUseFormValidation;
@@ -1,25 +0,0 @@
1
- import { INmorphCommonInputProps } from '../../../types';
2
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps extends INmorphCommonInputProps {
4
- modelValue?: number;
5
- max?: number;
6
- min?: number;
7
- step?: number;
8
- actionBtnPositionRight?: boolean;
9
- }
10
- declare const _default: DefineComponent<INmorphProps, {
11
- inputDOMRef: Ref<HTMLElement, HTMLElement>;
12
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
- "update:model-value": (val: number) => any;
14
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
15
- "onUpdate:model-value"?: (val: number) => any;
16
- }>, {
17
- height: "default" | "thick" | "thin";
18
- disabled: boolean;
19
- modelValue: number;
20
- max: number;
21
- min: number;
22
- step: number;
23
- actionBtnPositionRight: boolean;
24
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
25
- export default _default;
@@ -1,26 +0,0 @@
1
- import { INmorphRadioOption, NmorphRadioStyleType } from '../../../types';
2
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps extends Omit<INmorphRadioOption, 'value'> {
4
- value?: string;
5
- styleType?: keyof typeof NmorphRadioStyleType;
6
- checked?: boolean;
7
- }
8
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
9
- inputDOMRef: Ref<HTMLElement, HTMLElement>;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
11
- value: string;
12
- styleType: "button" | "radio-style";
13
- tabindex: number;
14
- disabled: boolean;
15
- label: string;
16
- checked: boolean;
17
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
18
- label?(_: {}): any;
19
- label?(_: {}): any;
20
- }>;
21
- export default _default;
22
- type __VLS_WithTemplateSlots<T, S> = T & {
23
- new (): {
24
- $slots: S;
25
- };
26
- };
@@ -1,28 +0,0 @@
1
- import { INmorphCommonInputProps, INmorphRadioOption, NmorphComponentDirection, NmorphRadioStyleType } from '../../../types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- type NmorphListRadioOptionElementType = Omit<INmorphRadioOption, 'checked'>;
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- modelValue: string;
6
- options?: NmorphListRadioOptionElementType[];
7
- styleType?: keyof typeof NmorphRadioStyleType;
8
- direction?: keyof typeof NmorphComponentDirection;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
11
- "update:model-value": (val: string) => any;
12
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
13
- "onUpdate:model-value"?: (val: string) => any;
14
- }>, {
15
- styleType: "button" | "radio-style";
16
- disabled: boolean;
17
- modelValue: string;
18
- options: NmorphListRadioOptionElementType[];
19
- direction: "row" | "column";
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,39 +0,0 @@
1
- import { INmorphCommonInputProps } from '../../../types';
2
- import { NmorphSelectModelValueType, INmorphSelectOption } from '../..';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- noElementPlaceholder?: string;
6
- valueRequired?: boolean;
7
- options?: INmorphSelectOption[];
8
- optionsMap?: INmorphSelectOption[];
9
- modelValue?: NmorphSelectModelValueType;
10
- loading?: boolean;
11
- open?: boolean;
12
- id?: string;
13
- name?: string;
14
- }
15
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
16
- "update:model-value": (val: NmorphSelectModelValueType) => any;
17
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
18
- "onUpdate:model-value"?: (val: NmorphSelectModelValueType) => any;
19
- }>, {
20
- loading: boolean;
21
- height: "default" | "thick" | "thin";
22
- disabled: boolean;
23
- id: string;
24
- modelValue: NmorphSelectModelValueType;
25
- name: string;
26
- open: boolean;
27
- options: INmorphSelectOption[];
28
- noElementPlaceholder: string;
29
- valueRequired: boolean;
30
- optionsMap: INmorphSelectOption[];
31
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
32
- default?(_: {}): any;
33
- }>;
34
- export default _default;
35
- type __VLS_WithTemplateSlots<T, S> = T & {
36
- new (): {
37
- $slots: S;
38
- };
39
- };
@@ -1,19 +0,0 @@
1
- import { INmorphSelectOption } from '../../../..';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphSelectOption, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
- "change-value": (val: string) => any;
5
- }, string, PublicProps, Readonly<INmorphSelectOption> & Readonly<{
6
- "onChange-value"?: (val: string) => any;
7
- }>, {
8
- height: "default" | "thick" | "thin";
9
- disabled: boolean;
10
- label: string;
11
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
12
- default?(_: {}): any;
13
- }>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,9 +0,0 @@
1
- import { INmorphCommonInputProps } from '../../../types';
2
- import { Ref } from 'vue';
3
- export type NmorphSelectModelValueType = string | string[];
4
- export type NmorphSelectSelectedValueInjectionType = Ref<NmorphSelectModelValueType>;
5
- export type NmorphSelectChangeSelectedValue = (value: string) => void;
6
- export interface INmorphSelectOption extends INmorphCommonInputProps {
7
- value: string;
8
- label: string;
9
- }