@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 } from '../../../types';
1
+ import { INmorphCommonInputProps } from '../../../types';
2
2
  import { NmorphButtonStyle, NmorphButtonType, NmorphButtonShape } from '../..';
3
- import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
4
-
3
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  interface INmorphProps extends INmorphCommonInputProps {
6
5
  styleType?: keyof typeof NmorphButtonStyle;
7
6
  loading?: boolean;
@@ -13,69 +12,26 @@ interface INmorphProps extends INmorphCommonInputProps {
13
12
  fill?: boolean;
14
13
  tabindex?: number;
15
14
  }
16
- declare function __VLS_template(): {
17
- icon?(_: {}): any;
18
- default?(_: {}): any;
19
- append?(_: {}): any;
20
- };
21
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
22
- type: string;
23
- fill: boolean;
24
- text: any;
25
- disabled: boolean;
26
- loading: boolean;
27
- styleType: string;
28
- height: string;
29
- accentBgOnHover: boolean;
30
- ripple: boolean;
31
- shape: string;
32
- tabindex: number;
33
- }>>, {
15
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
34
16
  buttonDOMElement: Ref<HTMLElement, HTMLElement>;
35
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
36
- type: string;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
37
18
  fill: boolean;
38
- text: any;
39
- disabled: boolean;
19
+ styleType: "default" | "transparent";
40
20
  loading: boolean;
41
- styleType: string;
42
- height: string;
43
- accentBgOnHover: boolean;
44
21
  ripple: boolean;
45
- shape: string;
46
- tabindex: number;
47
- }>>> & Readonly<{}>, {
48
- height: keyof typeof NmorphComponentHeight;
49
- type: keyof typeof NmorphButtonType;
50
- fill: boolean;
22
+ type: "reset" | "submit" | "button";
51
23
  text: string | number;
52
- disabled: boolean;
53
- shape: keyof typeof NmorphButtonShape;
54
- loading: boolean;
55
- styleType: keyof typeof NmorphButtonStyle;
56
24
  accentBgOnHover: boolean;
57
- ripple: boolean;
25
+ shape: "default" | "square" | "round" | "circle";
58
26
  tabindex: number;
59
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
60
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
27
+ height: "default" | "thick" | "thin";
28
+ disabled: boolean;
29
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
30
+ icon?(_: {}): any;
31
+ default?(_: {}): any;
32
+ append?(_: {}): any;
33
+ }>;
61
34
  export default _default;
62
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
- type __VLS_TypePropsToRuntimeProps<T> = {
64
- [K in keyof T]-?: {} extends Pick<T, K> ? {
65
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
66
- } : {
67
- type: PropType<T[K]>;
68
- required: true;
69
- };
70
- };
71
- type __VLS_WithDefaults<P, D> = {
72
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
- default: D[K];
74
- }> : P[K];
75
- };
76
- type __VLS_Prettify<T> = {
77
- [K in keyof T]: T[K];
78
- } & {};
79
35
  type __VLS_WithTemplateSlots<T, S> = T & {
80
36
  new (): {
81
37
  $slots: S;
@@ -1,50 +1,20 @@
1
1
  import { NmorphIconSize } from '../..';
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
  size?: keyof typeof NmorphIconSize;
6
5
  width?: string;
7
6
  height?: string;
8
7
  color?: string;
9
8
  }
10
- declare function __VLS_template(): {
11
- default?(_: {}): any;
12
- };
13
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
- size: string;
15
- width: any;
16
- height: any;
17
- color: string;
18
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
- size: string;
20
- width: any;
21
- height: any;
22
- color: string;
23
- }>>> & Readonly<{}>, {
24
- size: keyof typeof NmorphIconSize;
25
- width: string;
9
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
10
+ size: "small" | "medium" | "large";
26
11
  height: string;
12
+ width: string;
27
13
  color: string;
28
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
29
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
15
+ default?(_: {}): any;
16
+ }>;
30
17
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToRuntimeProps<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
- type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
- default: D[K];
43
- }> : P[K];
44
- };
45
- type __VLS_Prettify<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
48
18
  type __VLS_WithTemplateSlots<T, S> = T & {
49
19
  new (): {
50
20
  $slots: S;
@@ -1,7 +1,6 @@
1
1
  import { NmorphLinkTarget } from '../..';
2
2
  import { NmorphColor } 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
  type?: keyof typeof NmorphColor;
7
6
  underline?: boolean;
@@ -10,52 +9,19 @@ interface INmorphProps {
10
9
  target?: keyof typeof NmorphLinkTarget;
11
10
  disabled?: boolean;
12
11
  }
13
- declare function __VLS_template(): {
14
- prepend?(_: {}): any;
15
- icon?(_: {}): any;
16
- default?(_: {}): any;
17
- };
18
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
- type: NmorphColor;
20
- href: string;
21
- underline: boolean;
22
- text: string;
23
- target: string;
24
- disabled: boolean;
25
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
26
- type: NmorphColor;
27
- href: string;
28
- underline: boolean;
12
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
13
+ type: "error" | "accent" | "success" | "warning";
29
14
  text: string;
30
- target: string;
31
15
  disabled: boolean;
32
- }>>> & Readonly<{}>, {
33
- type: keyof typeof NmorphColor;
34
- text: string;
16
+ target: "self" | "blank" | "parent" | "top";
35
17
  underline: boolean;
36
18
  href: string;
37
- target: keyof typeof NmorphLinkTarget;
38
- disabled: boolean;
39
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
40
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
20
+ prepend?(_: {}): any;
21
+ icon?(_: {}): any;
22
+ default?(_: {}): any;
23
+ }>;
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
- } & {};
59
25
  type __VLS_WithTemplateSlots<T, S> = T & {
60
26
  new (): {
61
27
  $slots: S;
@@ -1,7 +1,6 @@
1
1
  import { INmorphA11yProps } from '../../../types';
2
2
  import { NmorphCoordsType, NmorphOverflowProp, NmorphScrollBehavior } from '../..';
3
- import { DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
4
-
3
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
4
  interface INmorphProps extends INmorphA11yProps {
6
5
  height?: string;
7
6
  maxHeight?: string;
@@ -16,49 +15,14 @@ interface INmorphProps extends INmorphA11yProps {
16
15
  xGapInPx?: number;
17
16
  yGapInPx?: number;
18
17
  }
19
- declare function __VLS_template(): {
20
- default?(_: {}): any;
21
- };
22
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
- height: string;
24
- maxHeight: string;
25
- modelValue: () => {
26
- x: number;
27
- y: number;
28
- };
29
- scrollYProp: string;
30
- scrollXProp: string;
31
- cssScrollBehavior: string;
32
- scrollEndDelay: number;
33
- updateOnlyOnScrollEnd: boolean;
34
- yBarWidthInPx: number;
35
- xBarWidthInPx: number;
36
- yGapInPx: number;
37
- xGapInPx: number;
38
- }>>, {
18
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
39
19
  scrollDOMContainer: Ref<HTMLElement, HTMLElement>;
40
20
  moveTo: (coords: NmorphCoordsType) => void;
41
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
42
- "on-scroll": (event: Event) => void;
43
- "update:model-value": (coords: NmorphCoordsType) => void;
44
- "on-scroll-end": () => void;
45
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
46
- height: string;
47
- maxHeight: string;
48
- modelValue: () => {
49
- x: number;
50
- y: number;
51
- };
52
- scrollYProp: string;
53
- scrollXProp: string;
54
- cssScrollBehavior: string;
55
- scrollEndDelay: number;
56
- updateOnlyOnScrollEnd: boolean;
57
- yBarWidthInPx: number;
58
- xBarWidthInPx: number;
59
- yGapInPx: number;
60
- xGapInPx: number;
61
- }>>> & Readonly<{
21
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
22
+ "on-scroll": (event: Event) => any;
23
+ "update:model-value": (coords: NmorphCoordsType) => any;
24
+ "on-scroll-end": () => any;
25
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
62
26
  "onOn-scroll"?: (event: Event) => any;
63
27
  "onUpdate:model-value"?: (coords: NmorphCoordsType) => any;
64
28
  "onOn-scroll-end"?: () => any;
@@ -66,35 +30,19 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaul
66
30
  height: string;
67
31
  maxHeight: string;
68
32
  modelValue: NmorphCoordsType;
69
- scrollYProp: keyof typeof NmorphOverflowProp;
70
- scrollXProp: keyof typeof NmorphOverflowProp;
71
- cssScrollBehavior: keyof typeof NmorphScrollBehavior;
33
+ scrollYProp: "scroll" | "auto" | "hidden";
34
+ scrollXProp: "scroll" | "auto" | "hidden";
35
+ cssScrollBehavior: "auto" | "smooth" | "inherit" | "initial" | "unset";
72
36
  scrollEndDelay: number;
73
37
  updateOnlyOnScrollEnd: boolean;
74
38
  yBarWidthInPx: number;
75
39
  xBarWidthInPx: number;
76
40
  xGapInPx: number;
77
41
  yGapInPx: number;
78
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
79
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
42
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
43
+ default?(_: {}): any;
44
+ }>;
80
45
  export default _default;
81
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
82
- type __VLS_TypePropsToRuntimeProps<T> = {
83
- [K in keyof T]-?: {} extends Pick<T, K> ? {
84
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
85
- } : {
86
- type: PropType<T[K]>;
87
- required: true;
88
- };
89
- };
90
- type __VLS_WithDefaults<P, D> = {
91
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
92
- default: D[K];
93
- }> : P[K];
94
- };
95
- type __VLS_Prettify<T> = {
96
- [K in keyof T]: T[K];
97
- } & {};
98
46
  type __VLS_WithTemplateSlots<T, S> = T & {
99
47
  new (): {
100
48
  $slots: S;
@@ -1,5 +1,4 @@
1
1
  import { INmorphCoords } from '../../../types';
2
-
3
2
  export type NmorphCoordsType = INmorphCoords<number>;
4
3
  export declare enum NmorphOverflowProp {
5
4
  auto = "auto",
@@ -1,49 +1,21 @@
1
1
  import { INmorphImage, AvatarShapeType } 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 extends INmorphImage {
5
4
  size?: number;
6
5
  shape?: keyof typeof AvatarShapeType;
7
6
  frameBorder?: number;
8
7
  imagePadding?: number;
9
8
  }
10
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
- size: number;
12
- shape: string;
13
- frameBorder: number;
14
- imagePadding: number;
15
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
- error: (event: Event) => void;
17
- load: (event: Event) => void;
18
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
- size: number;
20
- shape: string;
21
- frameBorder: number;
22
- imagePadding: number;
23
- }>>> & Readonly<{
9
+ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
+ error: (event: Event) => any;
11
+ load: (event: Event) => any;
12
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
24
13
  onError?: (event: Event) => any;
25
14
  onLoad?: (event: Event) => any;
26
15
  }>, {
27
16
  size: number;
28
- shape: keyof typeof AvatarShapeType;
17
+ shape: "square" | "circle";
29
18
  frameBorder: number;
30
19
  imagePadding: number;
31
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
32
21
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
- type __VLS_Prettify<T> = {
48
- [K in keyof T]: T[K];
49
- } & {};
@@ -1,4 +1,4 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  interface INmorphProps {
3
3
  value: number | string;
4
4
  max?: number;
@@ -9,57 +9,21 @@ interface INmorphProps {
9
9
  offsetX?: number;
10
10
  disabled?: boolean;
11
11
  }
12
- declare function __VLS_template(): {
13
- default?(_: {}): any;
14
- value?(_: {}): any;
15
- };
16
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
- value: string;
18
- max: number;
19
- isDot: boolean;
20
- hidden: boolean;
21
- color: string;
22
- offsetX: number;
23
- offsetY: number;
24
- disabled: boolean;
25
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
26
- value: string;
27
- max: number;
28
- isDot: boolean;
29
- hidden: boolean;
30
- color: string;
31
- offsetX: number;
32
- offsetY: number;
12
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
13
+ value: string | number;
33
14
  disabled: boolean;
34
- }>>> & Readonly<{}>, {
35
15
  color: string;
36
- value: number | string;
37
- disabled: boolean;
38
- max: number;
39
16
  hidden: boolean;
17
+ max: number;
40
18
  isDot: boolean;
41
19
  offsetY: number;
42
20
  offsetX: number;
43
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
22
+ default?(_: {}): any;
23
+ default?(_: {}): any;
24
+ value?(_: {}): any;
25
+ }>;
45
26
  export default _default;
46
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
- type __VLS_TypePropsToRuntimeProps<T> = {
48
- [K in keyof T]-?: {} extends Pick<T, K> ? {
49
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
50
- } : {
51
- type: PropType<T[K]>;
52
- required: true;
53
- };
54
- };
55
- type __VLS_WithDefaults<P, D> = {
56
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
- default: D[K];
58
- }> : P[K];
59
- };
60
- type __VLS_Prettify<T> = {
61
- [K in keyof T]: T[K];
62
- } & {};
63
27
  type __VLS_WithTemplateSlots<T, S> = T & {
64
28
  new (): {
65
29
  $slots: S;
@@ -1,7 +1,6 @@
1
1
  import { NmorphCalendarRangeType, NmorphSelectedDateModelType, NmorphCalendarDateType } 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
  markToday?: boolean;
7
6
  initialDate?: Date;
@@ -9,7 +8,19 @@ interface INmorphProps {
9
8
  type?: keyof typeof NmorphSelectionDateType;
10
9
  modelValue?: NmorphSelectedDateModelType;
11
10
  }
12
- declare function __VLS_template(): {
11
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
12
+ "update:model-value": (date: NmorphSelectedDateModelType) => any;
13
+ "update-initial-date": (date: Date) => any;
14
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
15
+ "onUpdate:model-value"?: (date: NmorphSelectedDateModelType) => any;
16
+ "onUpdate-initial-date"?: (date: Date) => any;
17
+ }>, {
18
+ type: "date" | "dates" | "daterange";
19
+ modelValue: NmorphSelectedDateModelType;
20
+ markToday: boolean;
21
+ initialDate: Date;
22
+ range: [Date, Date];
23
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
13
24
  header?(_: {}): any;
14
25
  content?(_: {}): any;
15
26
  "date-cell"?(_: {
@@ -22,51 +33,8 @@ declare function __VLS_template(): {
22
33
  hidden: boolean;
23
34
  };
24
35
  }): any;
25
- };
26
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
27
- markToday: boolean;
28
- initialDate: () => Date;
29
- range: any;
30
- type: string;
31
- modelValue: () => Date;
32
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
33
- "update:model-value": (date: NmorphSelectedDateModelType) => void;
34
- "update-initial-date": (date: Date) => void;
35
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
36
- markToday: boolean;
37
- initialDate: () => Date;
38
- range: any;
39
- type: string;
40
- modelValue: () => Date;
41
- }>>> & Readonly<{
42
- "onUpdate:model-value"?: (date: NmorphSelectedDateModelType) => any;
43
- "onUpdate-initial-date"?: (date: Date) => any;
44
- }>, {
45
- type: keyof typeof NmorphSelectionDateType;
46
- modelValue: NmorphSelectedDateModelType;
47
- markToday: boolean;
48
- initialDate: Date;
49
- range: NmorphCalendarRangeType;
50
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
51
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
36
+ }>;
52
37
  export default _default;
53
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
- type __VLS_TypePropsToRuntimeProps<T> = {
55
- [K in keyof T]-?: {} extends Pick<T, K> ? {
56
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
57
- } : {
58
- type: PropType<T[K]>;
59
- required: true;
60
- };
61
- };
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
38
  type __VLS_WithTemplateSlots<T, S> = T & {
71
39
  new (): {
72
40
  $slots: S;
@@ -1,3 +1,2 @@
1
1
  import { useCalendarTexts } from './use-calendar-texts';
2
-
3
2
  export { useCalendarTexts };
@@ -1,4 +1,4 @@
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;
@@ -6,37 +6,18 @@ interface INmorphProps {
6
6
  showNextMonthButton: boolean;
7
7
  showTodayButton: boolean;
8
8
  }
9
- declare function __VLS_template(): {
10
- default?(_: {}): any;
11
- };
12
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
- "click-previous-month": () => void;
14
- "click-today": () => void;
15
- "click-next-month": () => void;
16
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & Readonly<{
9
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
+ "click-previous-month": () => any;
11
+ "click-today": () => any;
12
+ "click-next-month": () => any;
13
+ }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
17
14
  "onClick-previous-month"?: () => any;
18
15
  "onClick-today"?: () => any;
19
16
  "onClick-next-month"?: () => any;
20
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
18
+ default?(_: {}): any;
19
+ }>;
22
20
  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
- } & {};
40
21
  type __VLS_WithTemplateSlots<T, S> = T & {
41
22
  new (): {
42
23
  $slots: S;
@@ -1,11 +1,10 @@
1
1
  import { NmorphCalendarDatesType, NmorphCalendarRangeType, NmorphSelectedDateModelType } from './types';
2
2
  import { Ref } from 'vue';
3
-
4
3
  export declare const getDecadeYears: (year: number) => any[];
5
4
  export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string | string[];
6
5
  export declare const hasAnyRangeDateInPrevMonth: (currentDate: Date, prevMonthRange: Date) => boolean;
7
6
  export declare const hasAnyRangeDateInNextMonth: (currentDate: Date, nextMonthRange: Date) => boolean;
8
- export declare const isTodayInMonthRange: (range: NmorphCalendarRangeType) => boolean;
7
+ export declare const isTodayInMonthRange: (range: [Date, Date]) => boolean;
9
8
  export declare const getMonthName: (monthIndex: number) => string;
10
9
  export declare const resetTimeToZero: (date: Date) => Date;
11
10
  export declare const getMonthDaysByWeek: (selectedDate: Ref<Date>, range: NmorphCalendarRangeType | undefined) => NmorphCalendarDatesType[];
@@ -1,44 +1,18 @@
1
1
  import { NmorphShadowType } 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
  shadowType?: keyof typeof NmorphShadowType;
6
5
  combinedShadowBorderWidth?: number;
7
6
  }
8
- declare function __VLS_template(): {
7
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
8
+ shadowType: "inset" | "outset" | "combined" | "not-defined";
9
+ combinedShadowBorderWidth: number;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
9
11
  header?(_: {}): any;
10
12
  default?(_: {}): any;
11
13
  footer?(_: {}): any;
12
- };
13
- declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
- shadowType: string;
15
- combinedShadowBorderWidth: number;
16
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
- shadowType: string;
18
- combinedShadowBorderWidth: number;
19
- }>>> & Readonly<{}>, {
20
- shadowType: keyof typeof NmorphShadowType;
21
- combinedShadowBorderWidth: number;
22
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
14
+ }>;
24
15
  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
- } & {};
42
16
  type __VLS_WithTemplateSlots<T, S> = T & {
43
17
  new (): {
44
18
  $slots: S;