@nmorph/nmorph-ui-kit 1.0.52 → 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.
Files changed (89) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.es.js +13 -15
  3. package/dist/index.umd.js +2 -2
  4. package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +14 -58
  5. package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +7 -37
  6. package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +9 -43
  7. package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +13 -65
  8. package/dist/src/components/basic/nmorph-scroll/types.d.ts +0 -1
  9. package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +7 -35
  10. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +9 -45
  11. package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +15 -47
  12. package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -1
  13. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +9 -28
  14. package/dist/src/components/data/nmorph-calendar/utils.d.ts +1 -2
  15. package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +6 -32
  16. package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -30
  17. package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +3 -22
  18. package/dist/src/components/data/nmorph-carousel/types.d.ts +0 -1
  19. package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +7 -31
  20. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +10 -40
  21. package/dist/src/components/data/nmorph-collapse/types.d.ts +0 -1
  22. package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -45
  23. package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +5 -36
  24. package/dist/src/components/data/nmorph-image-preview/types.d.ts +0 -1
  25. package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +5 -36
  26. package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +8 -44
  27. package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +6 -33
  28. package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +4 -32
  29. package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +6 -38
  30. package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +3 -22
  31. package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +8 -36
  32. package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +5 -23
  33. package/dist/src/components/data/nmorph-table/types.d.ts +0 -1
  34. package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +6 -24
  35. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +7 -33
  36. package/dist/src/components/data/nmorph-tag-list/types.d.ts +0 -1
  37. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +11 -53
  38. package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +9 -48
  39. package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +9 -39
  40. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +13 -49
  41. package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +10 -42
  42. package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +8 -38
  43. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +8 -42
  44. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +2 -2
  45. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +6 -30
  46. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +10 -27
  47. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +7 -28
  48. package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -44
  49. package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -32
  50. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +6 -36
  51. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +0 -1
  52. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +4 -30
  53. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -25
  54. package/dist/src/components/form/nmorph-form/types.d.ts +0 -1
  55. package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +8 -42
  56. package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +9 -40
  57. package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +9 -43
  58. package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -55
  59. package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +9 -38
  60. package/dist/src/components/form/nmorph-select/types.d.ts +0 -1
  61. package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +5 -39
  62. package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +12 -44
  63. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +13 -51
  64. package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +11 -47
  65. package/dist/src/components/form/nmorph-time-picker/utils.d.ts +0 -1
  66. package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -37
  67. package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +5 -28
  68. package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +7 -33
  69. package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +0 -1
  70. package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +8 -38
  71. package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -37
  72. package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +7 -35
  73. package/dist/src/components/navigation/nmorph-tabs/type.d.ts +0 -1
  74. package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +0 -1
  75. package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +2 -24
  76. package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -30
  77. package/dist/src/components/providers/index.d.ts +0 -1
  78. package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +4 -30
  79. package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +0 -1
  80. package/dist/src/hooks/use-field-validation.d.ts +0 -1
  81. package/dist/src/hooks/use-form-validation.d.ts +0 -1
  82. package/dist/src/hooks/use-nmorph-translation.d.ts +1 -2
  83. package/dist/src/hooks/use-placement.d.ts +0 -1
  84. package/dist/src/outside-hooks/use-nmorph-notification.d.ts +0 -1
  85. package/dist/src/outside-hooks/use-nmorph-theme.d.ts +0 -1
  86. package/dist/src/outside-hooks/use-nmorph.d.ts +0 -1
  87. package/dist/src/types/index.d.ts +0 -1
  88. package/dist/style.css +1 -1
  89. package/package.json +8 -10
@@ -1,7 +1,6 @@
1
- import { INmorphCommonInputProps, NmorphComponentHeight, NmorphSelectionDateType } from '../../../types';
1
+ import { INmorphCommonInputProps, NmorphSelectionDateType } from '../../../types';
2
2
  import { NmorphSelectedDateModelType } from '../..';
3
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
4
-
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  interface INmorphProps extends INmorphCommonInputProps {
6
5
  placeholder?: string;
7
6
  modelValue: NmorphSelectedDateModelType;
@@ -9,50 +8,17 @@ interface INmorphProps extends INmorphCommonInputProps {
9
8
  textSeparator?: string;
10
9
  initialDate?: Date;
11
10
  }
12
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
- disabled: boolean;
14
- height: string;
15
- placeholder: string;
16
- modelValue: any;
17
- type: string;
18
- textSeparator: string;
19
- initialDate: () => Date;
20
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
- "update:model-value": (modelValue: NmorphSelectedDateModelType) => void;
22
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
- disabled: boolean;
24
- height: string;
25
- placeholder: string;
26
- modelValue: any;
27
- type: string;
28
- textSeparator: string;
29
- initialDate: () => Date;
30
- }>>> & Readonly<{
11
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
12
+ "update:model-value": (modelValue: NmorphSelectedDateModelType) => any;
13
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
31
14
  "onUpdate:model-value"?: (modelValue: NmorphSelectedDateModelType) => any;
32
15
  }>, {
33
- height: keyof typeof NmorphComponentHeight;
34
- type: keyof typeof NmorphSelectionDateType;
16
+ type: "date" | "dates" | "daterange";
17
+ height: "default" | "thick" | "thin";
35
18
  disabled: boolean;
36
19
  modelValue: NmorphSelectedDateModelType;
37
20
  initialDate: Date;
38
21
  placeholder: string;
39
22
  textSeparator: string;
40
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
41
24
  export default _default;
42
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
43
- type __VLS_TypePropsToRuntimeProps<T> = {
44
- [K in keyof T]-?: {} extends Pick<T, K> ? {
45
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
46
- } : {
47
- type: PropType<T[K]>;
48
- required: true;
49
- };
50
- };
51
- type __VLS_WithDefaults<P, D> = {
52
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
53
- default: D[K];
54
- }> : P[K];
55
- };
56
- type __VLS_Prettify<T> = {
57
- [K in keyof T]: T[K];
58
- } & {};
@@ -1,6 +1,6 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
- clear: () => void;
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ clear: () => any;
4
4
  }, string, PublicProps, Readonly<{}> & Readonly<{
5
5
  onClear?: () => any;
6
6
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1,41 +1,17 @@
1
1
  import { NmorphSelectedDateModelType } from '../../../..';
2
2
  import { NmorphSelectionDateType } from '../../../../../types';
3
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
4
-
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  interface INmorphProps {
6
5
  initialDate?: Date;
7
6
  selectedValues: NmorphSelectedDateModelType;
8
7
  type?: keyof typeof NmorphSelectionDateType;
9
8
  }
10
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
- initialDate: () => Date;
12
- type: string;
13
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
- "update-selected-value": (selectedValue: Date) => void;
15
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
16
- initialDate: () => Date;
17
- type: string;
18
- }>>> & Readonly<{
9
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
+ "update-selected-value": (selectedValue: Date) => any;
11
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
19
12
  "onUpdate-selected-value"?: (selectedValue: Date) => any;
20
13
  }>, {
21
- type: keyof typeof NmorphSelectionDateType;
14
+ type: "date" | "dates" | "daterange";
22
15
  initialDate: Date;
23
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
17
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
@@ -1,38 +1,21 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  interface INmorphProps {
3
3
  year: number;
4
4
  month: number;
5
5
  }
6
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
- "prev-month": () => void;
8
- "next-month": () => void;
9
- "prev-year": () => void;
10
- "next-year": () => void;
11
- "change-year": () => void;
12
- "change-month": () => void;
13
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & Readonly<{
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
14
  "onPrev-month"?: () => any;
15
15
  "onNext-month"?: () => any;
16
16
  "onPrev-year"?: () => any;
17
17
  "onNext-year"?: () => any;
18
18
  "onChange-year"?: () => any;
19
19
  "onChange-month"?: () => any;
20
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
21
  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
- } & {};
@@ -1,38 +1,17 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  interface INmorphProps {
3
3
  currentDate: Date;
4
4
  type?: 'year' | 'month';
5
5
  }
6
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
7
- type: string;
8
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
- "update-year": (val: string) => void;
10
- "update-month": (val: string) => void;
11
- "back-to-years": () => void;
12
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
- type: string;
14
- }>>> & Readonly<{
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<{
15
11
  "onUpdate-year"?: (val: string) => any;
16
12
  "onUpdate-month"?: (val: string) => any;
17
13
  "onBack-to-years"?: () => any;
18
14
  }>, {
19
15
  type: "year" | "month";
20
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
17
  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
- } & {};
@@ -1,6 +1,5 @@
1
- import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
1
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { INmorphCustomFileData, NmorphResolutionType } from '../..';
3
-
4
3
  interface INmorphProps {
5
4
  modelValue?: INmorphCustomFileData[];
6
5
  disabled?: boolean;
@@ -9,58 +8,25 @@ interface INmorphProps {
9
8
  photoWithPreview?: boolean;
10
9
  buttonText?: string;
11
10
  }
12
- declare function __VLS_template(): {
13
- trigger?(_: {}): any;
14
- };
15
- declare const __VLS_component: DefineComponent< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
16
- modelValue: () => any[];
17
- disabled: boolean;
18
- multiple: boolean;
19
- allowedTypes: () => string[];
20
- photoWithPreview: boolean;
21
- buttonText: string;
22
- }>>, {
11
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<INmorphProps, {
23
12
  inputDOMRef: Ref<HTMLElement, HTMLElement>;
24
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
- "update:model-value": (val: File[]) => void;
26
- "on-unsupported-file-type-error": (val: string) => void;
27
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
28
- modelValue: () => any[];
29
- disabled: boolean;
30
- multiple: boolean;
31
- allowedTypes: () => string[];
32
- photoWithPreview: boolean;
33
- buttonText: string;
34
- }>>> & Readonly<{
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<{
35
17
  "onUpdate:model-value"?: (val: File[]) => any;
36
18
  "onOn-unsupported-file-type-error"?: (val: string) => any;
37
19
  }>, {
38
20
  disabled: boolean;
39
21
  modelValue: INmorphCustomFileData[];
40
22
  multiple: boolean;
41
- allowedTypes: NmorphResolutionType[];
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")[];
42
24
  photoWithPreview: boolean;
43
25
  buttonText: string;
44
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
45
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
27
+ trigger?(_: {}): any;
28
+ }>;
46
29
  export default _default;
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToRuntimeProps<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: PropType<T[K]>;
53
- required: true;
54
- };
55
- };
56
- type __VLS_WithDefaults<P, D> = {
57
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
- default: D[K];
59
- }> : P[K];
60
- };
61
- type __VLS_Prettify<T> = {
62
- [K in keyof T]: T[K];
63
- } & {};
64
30
  type __VLS_WithTemplateSlots<T, S> = T & {
65
31
  new (): {
66
32
  $slots: S;
@@ -1,41 +1,18 @@
1
- import { NmorphFormValueType, NmorphFormValidationDataType } from './types';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
1
+ import { NmorphFormValueType } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { INmorphUseFormValidation } from '../../../hooks';
4
4
  interface INmorphProps {
5
5
  value: NmorphFormValueType;
6
6
  validateImmediately?: boolean;
7
7
  }
8
- declare function __VLS_template(): {
9
- default?(_: {}): any;
10
- };
11
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
- validateImmediately: boolean;
13
- }>>, {
14
- formData: NmorphFormValidationDataType;
15
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
16
- validateImmediately: boolean;
17
- }>>> & Readonly<{}>, {
8
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
9
+ formData: INmorphUseFormValidation;
10
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
18
11
  validateImmediately: boolean;
19
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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,6 +1,5 @@
1
1
  import { NmorphComponentHeight } from '../../../../../types';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  interface INmorphProps {
5
4
  id: string;
6
5
  height?: keyof typeof NmorphComponentHeight;
@@ -8,44 +7,15 @@ interface INmorphProps {
8
7
  showValidationIcon?: boolean;
9
8
  staticErrorBoxSpace?: boolean;
10
9
  }
11
- declare function __VLS_template(): {
12
- default?(_: {}): any;
13
- };
14
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
- label: string;
16
- height: string;
17
- showValidationIcon: boolean;
18
- staticErrorBoxSpace: boolean;
19
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
20
- label: string;
21
- height: string;
22
- showValidationIcon: boolean;
23
- staticErrorBoxSpace: boolean;
24
- }>>> & Readonly<{}>, {
25
- height: keyof typeof NmorphComponentHeight;
10
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
11
+ height: "default" | "thick" | "thin";
26
12
  label: string;
27
13
  showValidationIcon: boolean;
28
14
  staticErrorBoxSpace: boolean;
29
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
30
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
16
+ default?(_: {}): any;
17
+ }>;
31
18
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
- type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
- default: D[K];
44
- }> : P[K];
45
- };
46
- type __VLS_Prettify<T> = {
47
- [K in keyof T]: T[K];
48
- } & {};
49
19
  type __VLS_WithTemplateSlots<T, S> = T & {
50
20
  new (): {
51
21
  $slots: S;
@@ -1,4 +1,3 @@
1
1
  import { default as NmorphErrorBox } from './nmorph-error-box/NmorphErrorBox.vue';
2
2
  import { default as NmorphValidationIcon } from './nmorph-validation-icon/NmorphValidationIcon.vue';
3
-
4
3
  export { NmorphErrorBox, NmorphValidationIcon };
@@ -1,39 +1,13 @@
1
1
  import { NmorphComponentHeight } from '../../../../../../../types';
2
- import { Ref, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
2
+ import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  interface INmorphProps {
5
4
  height?: keyof typeof NmorphComponentHeight;
6
5
  errors?: string[] | Ref<string[]>;
7
6
  staticHeight?: boolean;
8
7
  }
9
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
- height: string;
11
- errors: () => any[];
12
- staticHeight: boolean;
13
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
- height: string;
15
- errors: () => any[];
16
- staticHeight: boolean;
17
- }>>> & Readonly<{}>, {
18
- height: keyof typeof NmorphComponentHeight;
19
- errors: string[] | Ref<string[]>;
8
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
9
+ height: "default" | "thick" | "thin";
10
+ errors: string[] | Ref<string[], string[]>;
20
11
  staticHeight: boolean;
21
12
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
22
13
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
@@ -1,31 +1,9 @@
1
- import { ComputedRef, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
-
1
+ import { ComputedRef, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
2
  interface INmorphProps {
4
3
  valid: boolean | ComputedRef<boolean>;
5
4
  show?: boolean | ComputedRef<boolean>;
6
5
  }
7
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
8
- show: boolean;
9
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
- show: boolean;
11
- }>>> & Readonly<{}>, {
6
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
12
7
  show: boolean | ComputedRef<boolean>;
13
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, 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,5 +1,4 @@
1
1
  import { INmorphUseFormValidation, NmorphRulesType } from '../../../hooks';
2
-
3
2
  export type NmorphAvailableFormValueType = string | string[] | number | number[] | boolean | boolean[] | Date | Date[];
4
3
  export type NmorphFormValueType = Record<string, {
5
4
  value: NmorphAvailableFormValueType;
@@ -1,6 +1,5 @@
1
- import { INmorphCommonInputProps, NmorphComponentHeight } from '../../../types';
2
- import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
1
+ import { INmorphCommonInputProps } from '../../../types';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  interface INmorphProps extends INmorphCommonInputProps {
5
4
  modelValue?: number;
6
5
  max?: number;
@@ -8,52 +7,19 @@ interface INmorphProps extends INmorphCommonInputProps {
8
7
  step?: number;
9
8
  actionBtnPositionRight?: boolean;
10
9
  }
11
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
- height: string;
13
- modelValue: number;
14
- max: number;
15
- min: number;
16
- step: number;
17
- disabled: boolean;
18
- actionBtnPositionRight: boolean;
19
- }>>, {
10
+ declare const _default: DefineComponent<INmorphProps, {
20
11
  inputDOMRef: Ref<HTMLElement, HTMLElement>;
21
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
- "update:model-value": (val: number) => void;
23
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
24
- height: string;
25
- modelValue: number;
26
- max: number;
27
- min: number;
28
- step: number;
29
- disabled: boolean;
30
- actionBtnPositionRight: boolean;
31
- }>>> & Readonly<{
12
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
+ "update:model-value": (val: number) => any;
14
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
32
15
  "onUpdate:model-value"?: (val: number) => any;
33
16
  }>, {
34
- height: keyof typeof NmorphComponentHeight;
17
+ height: "default" | "thick" | "thin";
35
18
  disabled: boolean;
36
- max: number;
37
19
  modelValue: number;
20
+ max: number;
38
21
  min: number;
39
22
  step: number;
40
23
  actionBtnPositionRight: boolean;
41
24
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
42
25
  export default _default;
43
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
- type __VLS_TypePropsToRuntimeProps<T> = {
45
- [K in keyof T]-?: {} extends Pick<T, K> ? {
46
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
47
- } : {
48
- type: PropType<T[K]>;
49
- required: true;
50
- };
51
- };
52
- type __VLS_WithDefaults<P, D> = {
53
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
54
- default: D[K];
55
- }> : P[K];
56
- };
57
- type __VLS_Prettify<T> = {
58
- [K in keyof T]: T[K];
59
- } & {};
@@ -1,53 +1,22 @@
1
1
  import { INmorphRadioOption, NmorphRadioStyleType } from '../../../types';
2
- import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  interface INmorphProps extends INmorphRadioOption {
5
4
  styleType?: keyof typeof NmorphRadioStyleType;
6
5
  checked?: boolean;
7
6
  }
8
- declare function __VLS_template(): {
9
- label?(_: {}): any;
10
- };
11
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
- disabled: boolean;
13
- label: string;
14
- styleType: string;
15
- checked: boolean;
16
- tabindex: number;
17
- }>>, {
7
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
18
8
  inputDOMRef: Ref<HTMLElement, HTMLElement>;
19
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
20
- disabled: boolean;
21
- label: string;
22
- styleType: string;
23
- checked: boolean;
9
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
10
+ styleType: "button" | "radio-style";
24
11
  tabindex: number;
25
- }>>> & Readonly<{}>, {
26
- label: string;
27
12
  disabled: boolean;
28
- styleType: keyof typeof NmorphRadioStyleType;
29
- tabindex: number;
13
+ label: string;
30
14
  checked: boolean;
31
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
32
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
16
+ label?(_: {}): any;
17
+ label?(_: {}): any;
18
+ }>;
33
19
  export default _default;
34
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
- type __VLS_TypePropsToRuntimeProps<T> = {
36
- [K in keyof T]-?: {} extends Pick<T, K> ? {
37
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
38
- } : {
39
- type: PropType<T[K]>;
40
- required: true;
41
- };
42
- };
43
- type __VLS_WithDefaults<P, D> = {
44
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
45
- default: D[K];
46
- }> : P[K];
47
- };
48
- type __VLS_Prettify<T> = {
49
- [K in keyof T]: T[K];
50
- } & {};
51
20
  type __VLS_WithTemplateSlots<T, S> = T & {
52
21
  new (): {
53
22
  $slots: S;