@nmorph/nmorph-ui-kit 0.2.1 → 0.2.4

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 (91) hide show
  1. package/dist/components/basic/nmorph-button/NmorphButton.vue.d.ts +26 -13
  2. package/dist/components/basic/nmorph-button/types.d.ts +5 -0
  3. package/dist/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +17 -13
  4. package/dist/components/basic/nmorph-icon/NmorphIconsMap.d.ts +2 -1
  5. package/dist/components/basic/nmorph-icon/types.d.ts +0 -2
  6. package/dist/components/basic/nmorph-link/NmorphLink.vue.d.ts +17 -14
  7. package/dist/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +15 -8
  8. package/dist/components/basic/nmorph-scroll/types.d.ts +9 -1
  9. package/dist/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +12 -9
  10. package/dist/components/data/nmorph-badge/NmorphBadge.vue.d.ts +8 -6
  11. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +23 -20
  12. package/dist/components/data/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +7 -5
  13. package/dist/components/data/nmorph-calendar/utils.d.ts +2 -1
  14. package/dist/components/data/nmorph-card/NmorphCard.vue.d.ts +12 -9
  15. package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +7 -5
  16. package/dist/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +4 -2
  17. package/dist/components/data/nmorph-carousel/types.d.ts +1 -0
  18. package/dist/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +9 -6
  19. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +16 -13
  20. package/dist/components/data/nmorph-collapse/types.d.ts +1 -0
  21. package/dist/components/data/nmorph-image/NmorphImage.vue.d.ts +11 -8
  22. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +1 -1
  23. package/dist/components/data/nmorph-image-preview/types.d.ts +3 -2
  24. package/dist/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -1
  25. package/dist/components/data/nmorph-progress/NmorphProgress.vue.d.ts +12 -9
  26. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +8 -6
  27. package/dist/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +3 -2
  28. package/dist/components/data/nmorph-table/NmorphTable.vue.d.ts +10 -7
  29. package/dist/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +4 -2
  30. package/dist/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +15 -12
  31. package/dist/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +3 -2
  32. package/dist/components/data/nmorph-table/types.d.ts +2 -1
  33. package/dist/components/data/nmorph-tag/NmorphTag.vue.d.ts +4 -3
  34. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +13 -10
  35. package/dist/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +8 -6
  36. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +11 -8
  37. package/dist/components/form/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +12 -9
  38. package/dist/components/form/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +12 -9
  39. package/dist/components/form/checkbox/types.d.ts +1 -0
  40. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +14 -11
  41. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +6 -5
  42. package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +4 -3
  43. package/dist/components/form/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +1 -1
  44. package/dist/components/form/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +1 -1
  45. package/dist/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/NmorphClearButton.vue.d.ts +1 -1
  46. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +10 -7
  47. package/dist/components/form/nmorph-form/NmorphForm.vue.d.ts +9 -6
  48. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +10 -7
  49. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/index.d.ts +3 -2
  50. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +5 -4
  51. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -2
  52. package/dist/components/form/nmorph-form/types.d.ts +1 -0
  53. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +5 -4
  54. package/dist/components/form/nmorph-select/NmorphSelect.vue.d.ts +11 -8
  55. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +11 -7
  56. package/dist/components/form/nmorph-select/types.d.ts +2 -1
  57. package/dist/components/form/nmorph-slider/NmorphSlider.vue.d.ts +3 -2
  58. package/dist/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +25 -13
  59. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +17 -9
  60. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +8 -7
  61. package/dist/components/form/nmorph-time-picker/utils.d.ts +1 -0
  62. package/dist/components/form/radio/nmorph-radio/NmorphRadio.vue.d.ts +10 -7
  63. package/dist/components/form/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +12 -9
  64. package/dist/components/form/radio/types.d.ts +1 -0
  65. package/dist/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +7 -5
  66. package/dist/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +7 -5
  67. package/dist/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +9 -6
  68. package/dist/components/navigation/nmorph-breadcrumb/types.d.ts +1 -0
  69. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +9 -6
  70. package/dist/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +9 -6
  71. package/dist/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +10 -7
  72. package/dist/components/navigation/nmorph-tabs/type.d.ts +1 -0
  73. package/dist/components/navigation/nmorph-tabs/utils.d.ts +1 -0
  74. package/dist/components/others/nmorph-divider/NmorphDivider.vue.d.ts +3 -2
  75. package/dist/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +7 -5
  76. package/dist/hooks/index.d.ts +1 -1
  77. package/dist/hooks/useFieldValidation.d.ts +2 -1
  78. package/dist/hooks/useFormValidation.d.ts +2 -1
  79. package/dist/hooks/useNmorph.d.ts +7 -0
  80. package/dist/hooks/usePlacement.d.ts +2 -1
  81. package/dist/index.d.ts +0 -2
  82. package/dist/index.es.js +1941 -1900
  83. package/dist/index.umd.js +9 -1
  84. package/dist/main.d.ts +1 -6
  85. package/dist/style.css +1 -1
  86. package/dist/types/{common.d.ts → index.d.ts} +37 -1
  87. package/dist/utils/camel-to-kebab.d.ts +1 -0
  88. package/dist/utils/capitalize-first-char.d.ts +1 -0
  89. package/dist/utils/index.d.ts +2 -0
  90. package/package.json +3 -2
  91. package/dist/hooks/nmorphHooks.d.ts +0 -8
@@ -1,39 +1,42 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { INmorphCollapseItemProps } from '../../../..';
3
- import { NmorphComponentHeight } from '../../../../../types/common';
2
+ import { NmorphComponentHeight } from '../../../../../types';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+
4
5
  interface INmorphProps extends INmorphCollapseItemProps {
5
6
  height?: keyof typeof NmorphComponentHeight;
6
- closeOnClick?: boolean;
7
+ block?: boolean;
7
8
  }
8
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
9
+ declare function __VLS_template(): {
10
+ title?(_: {}): any;
11
+ default?(_: {}): any;
12
+ };
13
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
9
14
  height: string;
10
15
  title: string;
11
16
  disabled: boolean;
12
- closeOnClick: boolean;
17
+ block: boolean;
13
18
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
19
  "click-item": (data: {
15
20
  id: string;
16
21
  isOpen: boolean;
17
22
  }) => void;
18
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
24
  height: string;
20
25
  title: string;
21
26
  disabled: boolean;
22
- closeOnClick: boolean;
27
+ block: boolean;
23
28
  }>>> & {
24
29
  "onClick-item"?: (data: {
25
30
  id: string;
26
31
  isOpen: boolean;
27
32
  }) => any;
28
33
  }, {
29
- height: "thick" | "default" | "thin";
34
+ block: boolean;
35
+ height: keyof typeof NmorphComponentHeight;
30
36
  title: string;
31
37
  disabled: boolean;
32
- closeOnClick: boolean;
33
- }, {}>, {
34
- title?(_: {}): any;
35
- default?(_: {}): any;
36
- }>;
38
+ }, {}>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
40
  export default _default;
38
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
42
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,5 @@
1
1
  import { Ref } from 'vue';
2
+
2
3
  export type NmorphCollapseModelType = string | string[];
3
4
  export interface INmorphCollapseItemProps {
4
5
  name: string;
@@ -1,5 +1,6 @@
1
+ import { NmorphImageFit } from '../../../types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { NmorphImageFit } from '../../../types/common';
3
+
3
4
  interface INmorphProps {
4
5
  src: string;
5
6
  fit?: keyof typeof NmorphImageFit;
@@ -8,14 +9,18 @@ interface INmorphProps {
8
9
  loadFailedText?: string;
9
10
  srcset?: string;
10
11
  }
11
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
+ declare function __VLS_template(): {
13
+ loading?(_: {}): any;
14
+ error?(_: {}): any;
15
+ };
16
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
17
  fit: string;
13
18
  closeOnOutsideClick: boolean;
14
19
  alt: string;
15
20
  loadingText: string;
16
21
  loadFailedText: string;
17
22
  srcset: string;
18
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
24
  fit: string;
20
25
  closeOnOutsideClick: boolean;
21
26
  alt: string;
@@ -24,14 +29,12 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
24
29
  srcset: string;
25
30
  }>>>, {
26
31
  alt: string;
27
- fit: "fill" | "contain" | "cover" | "none" | "scale-down";
32
+ fit: keyof typeof NmorphImageFit;
28
33
  srcset: string;
29
34
  loadingText: string;
30
35
  loadFailedText: string;
31
- }, {}>, {
32
- loading?(_: {}): any;
33
- error?(_: {}): any;
34
- }>;
36
+ }, {}>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
38
  export default _default;
36
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
40
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -18,7 +18,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
18
18
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
19
19
  "on-close": () => void;
20
20
  "on-open": () => void;
21
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
21
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
22
22
  alt: string;
23
23
  show: boolean;
24
24
  initialIndex: number;
@@ -1,5 +1,6 @@
1
- import { NmorphIconName } from '../..';
1
+ import { NmorphIconList } from '../../../types';
2
+
2
3
  export interface INmorphAction {
3
- icon: NmorphIconName;
4
+ icon: keyof typeof NmorphIconList;
4
5
  handler: () => void;
5
6
  }
@@ -18,7 +18,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
18
18
  "next-click": (currentPage: number) => void;
19
19
  "update:modelValue": (currentPage: number) => void;
20
20
  "update:range": (range: [number, number]) => void;
21
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
21
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
22
22
  range: () => number[];
23
23
  modelValue: number;
24
24
  pagerCount: number;
@@ -1,5 +1,6 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { NmorphProgressColorType, NmorphProgressType } from '../..';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+
3
4
  interface INmorphProps {
4
5
  type?: NmorphProgressType;
5
6
  color?: NmorphProgressColorType;
@@ -10,7 +11,12 @@ interface INmorphProps {
10
11
  circleSize?: number;
11
12
  strokeWidth?: number;
12
13
  }
13
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
+ declare function __VLS_template(): {
15
+ "inner-text"?(_: {}): any;
16
+ "right-sight"?(_: {}): any;
17
+ "circle-inner-part"?(_: {}): any;
18
+ };
19
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
20
  height: string;
15
21
  type: string;
16
22
  color: string;
@@ -19,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
19
25
  indeterminate: boolean;
20
26
  circleSize: number;
21
27
  strokeWidth: number;
22
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
28
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
29
  height: string;
24
30
  type: string;
25
31
  color: string;
@@ -29,18 +35,15 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
29
35
  circleSize: number;
30
36
  strokeWidth: number;
31
37
  }>>>, {
32
- type: NmorphProgressType;
33
38
  color: NmorphProgressColorType;
39
+ type: NmorphProgressType;
34
40
  textInside: boolean;
35
41
  showText: boolean;
36
42
  indeterminate: boolean;
37
43
  circleSize: number;
38
44
  strokeWidth: number;
39
- }, {}>, {
40
- "inner-text"?(_: {}): any;
41
- "right-sight"?(_: {}): any;
42
- "circle-inner-part"?(_: {}): any;
43
- }>;
45
+ }, {}>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
47
  export default _default;
45
48
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
46
49
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -4,11 +4,15 @@ interface INmorphProps {
4
4
  loading?: boolean;
5
5
  rows?: number;
6
6
  }
7
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
7
+ declare function __VLS_template(): {
8
+ template?(_: {}): any;
9
+ default?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
8
12
  animated: boolean;
9
13
  loading: boolean;
10
14
  rows: number;
11
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
16
  animated: boolean;
13
17
  loading: boolean;
14
18
  rows: number;
@@ -16,10 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
16
20
  loading: boolean;
17
21
  animated: boolean;
18
22
  rows: number;
19
- }, {}>, {
20
- template?(_: {}): any;
21
- default?(_: {}): any;
22
- }>;
23
+ }, {}>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
25
  export default _default;
24
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
27
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,11 +1,12 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { NmorphSkeletonItemPropsType } from '../../..';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+
3
4
  interface INmorphProps {
4
5
  variant?: NmorphSkeletonItemPropsType;
5
6
  }
6
7
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
7
8
  variant: string;
8
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
9
10
  variant: string;
10
11
  }>>>, {
11
12
  variant: NmorphSkeletonItemPropsType;
@@ -1,5 +1,6 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { NmorphTableDataType, NmorphTableSortType } from '../..';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+
3
4
  interface INmorphProps {
4
5
  data?: NmorphTableDataType;
5
6
  rowHover?: boolean;
@@ -7,7 +8,10 @@ interface INmorphProps {
7
8
  sort?: NmorphTableSortType;
8
9
  style?: 'nmorph' | 'common';
9
10
  }
10
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
+ declare function __VLS_template(): {
12
+ default?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
15
  /**
12
16
  * @description table data
13
17
  */
@@ -16,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
16
20
  sort: any;
17
21
  style: string;
18
22
  rowHover: boolean;
19
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
20
24
  /**
21
25
  * @description table data
22
26
  */
@@ -26,14 +30,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
26
30
  style: string;
27
31
  rowHover: boolean;
28
32
  }>>>, {
29
- sort: NmorphTableSortType;
30
33
  data: NmorphTableDataType;
34
+ sort: NmorphTableSortType;
31
35
  style: "nmorph" | "common";
32
36
  bordered: boolean;
33
37
  rowHover: boolean;
34
- }, {}>, {
35
- default?(_: {}): any;
36
- }>;
38
+ }, {}>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
40
  export default _default;
38
41
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
42
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,9 +2,11 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes,
2
2
  interface INmorphProps {
3
3
  row: number;
4
4
  }
5
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>>, {}, {}>, {
5
+ declare function __VLS_template(): {
6
6
  default?(_: {}): any;
7
- }>;
7
+ };
8
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>>, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
10
  export default _default;
9
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
12
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,12 +1,22 @@
1
+ import { INmorphTableColumnProps, NmorphTableColumnData, NmorphDataTableElRecordType, NmorphCellAlignmentType } from '../../../..';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { NmorphCellAlignmentType, NmorphTableColumnData, NmorphDataTableElRecordType, INmorphTableColumnProps } from '../../../..';
3
+
3
4
  interface INmorphProps extends INmorphTableColumnProps {
4
5
  }
5
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
6
+ declare function __VLS_template(): {
7
+ default?(_: {
8
+ scope: {
9
+ columns: NmorphTableColumnData[];
10
+ rows: NmorphDataTableElRecordType[];
11
+ tableId: string;
12
+ };
13
+ }): any;
14
+ };
15
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
6
16
  label: string;
7
17
  width: string;
8
18
  alignment: string;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
20
  label: string;
11
21
  width: string;
12
22
  alignment: string;
@@ -14,15 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
14
24
  width: string;
15
25
  label: string;
16
26
  alignment: NmorphCellAlignmentType;
17
- }, {}>, {
18
- default?(_: {
19
- scope: {
20
- columns: NmorphTableColumnData[];
21
- rows: NmorphDataTableElRecordType[];
22
- tableId: string;
23
- };
24
- }): any;
25
- }>;
27
+ }, {}>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
29
  export default _default;
27
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
31
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,11 +1,12 @@
1
+ import { NmorphSortOrderType } from '../../../../../types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { NmorphSortOrderType } from '../../../../../types/common';
3
+
3
4
  interface INmorphProps {
4
5
  value: NmorphSortOrderType;
5
6
  }
6
7
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
8
  sort: (val: NmorphSortOrderType) => void;
8
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
9
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
9
10
  onSort?: (val: NmorphSortOrderType) => any;
10
11
  }, {}, {}>;
11
12
  export default _default;
@@ -1,5 +1,6 @@
1
- import { NmorphSortOrderType } from '../../../types/common';
1
+ import { NmorphSortOrderType } from '../../../types';
2
2
  import { Ref } from 'vue';
3
+
3
4
  export type NmorphTableSortType = Record<string, NmorphSortOrderType>;
4
5
  export type NmorphDataTableElRecordType = Record<string, unknown>;
5
6
  export type NmorphCellAlignmentType = 'left' | 'center' | 'right';
@@ -1,5 +1,6 @@
1
+ import { NmorphComponentHeight } from '../../../types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { NmorphComponentHeight } from '../../../types/common';
3
+
3
4
  interface INmorphProps {
4
5
  value: string;
5
6
  text: string;
@@ -13,7 +14,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
13
14
  transparent: boolean;
14
15
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
16
  close: (val: string) => void;
16
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
18
  height: string;
18
19
  removable: boolean;
19
20
  transparent: boolean;
@@ -21,7 +22,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
21
22
  onClose?: (val: string) => any;
22
23
  }, {
23
24
  transparent: boolean;
24
- height: "thick" | "default" | "thin";
25
+ height: keyof typeof NmorphComponentHeight;
25
26
  removable: boolean;
26
27
  }, {}>;
27
28
  export default _default;
@@ -1,15 +1,21 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
1
  import { NmorphAlertType } from '../..';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+
3
4
  interface INmorphProps {
4
5
  color?: keyof typeof NmorphAlertType;
5
6
  closable?: boolean;
6
7
  title?: string;
7
8
  content?: string;
8
- fill: boolean;
9
+ fill?: boolean;
9
10
  maxWidth?: number;
10
11
  showIcon?: boolean;
11
12
  }
12
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
+ declare function __VLS_template(): {
14
+ icon?(_: {}): any;
15
+ title?(_: {}): any;
16
+ default?(_: {}): any;
17
+ };
18
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
19
  color: string;
14
20
  closable: boolean;
15
21
  title: string;
@@ -19,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
19
25
  showIcon: boolean;
20
26
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
27
  close: () => void;
22
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
28
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
29
  color: string;
24
30
  closable: boolean;
25
31
  title: string;
@@ -31,17 +37,14 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
31
37
  onClose?: () => any;
32
38
  }, {
33
39
  fill: boolean;
40
+ color: keyof typeof NmorphAlertType;
34
41
  title: string;
35
- color: "success" | "error" | "warning" | "info";
36
42
  closable: boolean;
37
43
  content: string;
38
44
  maxWidth: number;
39
45
  showIcon: boolean;
40
- }, {}>, {
41
- icon?(_: {}): any;
42
- title?(_: {}): any;
43
- default?(_: {}): any;
44
- }>;
46
+ }, {}>;
47
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
48
  export default _default;
46
49
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
50
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -3,13 +3,17 @@ interface INmorphProps {
3
3
  modelValue?: boolean;
4
4
  title?: string;
5
5
  }
6
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
6
+ declare function __VLS_template(): {
7
+ header?(_: {}): any;
8
+ default?(_: {}): any;
9
+ };
10
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
7
11
  modelValue: boolean;
8
12
  title: string;
9
13
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
14
  "on-close": () => void;
11
15
  "update:modelValue": (value: boolean) => void;
12
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
16
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
17
  modelValue: boolean;
14
18
  title: string;
15
19
  }>>> & {
@@ -18,10 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
18
22
  }, {
19
23
  title: string;
20
24
  modelValue: boolean;
21
- }, {}>, {
22
- header?(_: {}): any;
23
- default?(_: {}): any;
24
- }>;
25
+ }, {}>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
25
27
  export default _default;
26
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
29
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,30 +1,33 @@
1
+ import { INmorphCoords, NmorphPlacementType } from '../../../types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { INmorphCoords, NmorphPlacementType } from '../../../types/common';
3
+
3
4
  interface INmorphProps {
4
5
  text?: string;
5
6
  position?: NmorphPlacementType;
6
7
  forceShow?: boolean;
7
8
  forceCoordinate?: Partial<INmorphCoords<string>> | null;
8
9
  }
9
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
+ declare function __VLS_template(): {
11
+ default?(_: {}): any;
12
+ content?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
15
  text: string;
11
16
  position: string;
12
17
  forceShow: boolean;
13
18
  forceCoordinate: any;
14
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
20
  text: string;
16
21
  position: string;
17
22
  forceShow: boolean;
18
23
  forceCoordinate: any;
19
24
  }>>>, {
20
25
  text: string;
21
- position: "left" | "right" | "top" | "bottom";
26
+ position: NmorphPlacementType;
22
27
  forceShow: boolean;
23
28
  forceCoordinate: any;
24
- }, {}>, {
25
- default?(_: {}): any;
26
- content?(_: {}): any;
27
- }>;
29
+ }, {}>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
31
  export default _default;
29
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
33
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,6 +1,11 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
2
- import { INmorphCheckboxOption } from '../../..';
3
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
1
+ import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { INmorphCheckboxOption, NmorphCheckboxStyleType } from '../../..';
3
+
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ label?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
4
9
  disabled: boolean;
5
10
  modelValue: boolean;
6
11
  label: string;
@@ -8,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
8
13
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
14
  inputDOMRef: (val: Ref<HTMLElement>) => void;
10
15
  "update:modelValue": (val: boolean) => void;
11
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
16
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
12
17
  disabled: boolean;
13
18
  modelValue: boolean;
14
19
  label: string;
@@ -20,11 +25,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
20
25
  label: string;
21
26
  disabled: boolean;
22
27
  modelValue: boolean;
23
- styleType: "button-style" | "checkbox-style";
24
- }, {}>, {
25
- default?(_: {}): any;
26
- label?(_: {}): any;
27
- }>;
28
+ styleType: keyof NmorphCheckboxStyleType;
29
+ }, {}>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
31
  export default _default;
29
32
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
33
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,20 +1,24 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
- import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types/common';
1
+ import { INmorphCommonInputProps, NmorphComponentDirection } from '../../../../types';
3
2
  import { INmorphCheckboxOption, NmorphCheckboxStyleType } from '../../..';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
+
4
5
  interface INmorphProps extends INmorphCommonInputProps {
5
6
  modelValue: string[];
6
7
  options?: INmorphCheckboxOption[];
7
8
  styleType?: keyof typeof NmorphCheckboxStyleType;
8
9
  direction?: keyof typeof NmorphComponentDirection;
9
10
  }
10
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
+ declare function __VLS_template(): {
12
+ default?(_: {}): any;
13
+ };
14
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
15
  modelValue: () => any[];
12
16
  options: () => any[];
13
17
  styleType: string;
14
18
  direction: string;
15
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
20
  "update:modelValue": (val: string[]) => void;
17
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
21
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
18
22
  modelValue: () => any[];
19
23
  options: () => any[];
20
24
  styleType: string;
@@ -23,12 +27,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
23
27
  "onUpdate:modelValue"?: (val: string[]) => any;
24
28
  }, {
25
29
  modelValue: string[];
26
- styleType: "button-style" | "checkbox-style";
30
+ styleType: keyof typeof NmorphCheckboxStyleType;
27
31
  options: INmorphCheckboxOption[];
28
- direction: "row" | "column";
29
- }, {}>, {
30
- default?(_: {}): any;
31
- }>;
32
+ direction: keyof typeof NmorphComponentDirection;
33
+ }, {}>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
35
  export default _default;
33
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
37
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,4 +1,5 @@
1
1
  import { Ref } from 'vue';
2
+
2
3
  export interface INmorphCheckboxOption {
3
4
  id: string;
4
5
  disabled?: boolean;