@nmorph/nmorph-ui-kit 0.0.5 → 0.0.6

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 (50) hide show
  1. package/dist/types/components/inputs/checkbox/nmorph-checkbox/NmorphCheckbox.vue.d.ts +3 -4
  2. package/dist/types/components/inputs/checkbox/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +5 -5
  3. package/dist/types/components/inputs/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +6 -6
  4. package/dist/types/components/inputs/nmorph-clear-button/NmorphClearButton.vue.d.ts +1 -1
  5. package/dist/types/components/inputs/nmorph-date-picker/NmorphDatePicker.vue.d.ts +5 -5
  6. package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +3 -3
  7. package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +6 -6
  8. package/dist/types/components/inputs/nmorph-date-picker/components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +3 -3
  9. package/dist/types/components/inputs/nmorph-file-upload/NmorphFileUpload.vue.d.ts +6 -7
  10. package/dist/types/components/inputs/nmorph-number-input/NmorphNumberInput.vue.d.ts +4 -4
  11. package/dist/types/components/inputs/nmorph-select/NmorphSelect.vue.d.ts +5 -5
  12. package/dist/types/components/inputs/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
  13. package/dist/types/components/inputs/nmorph-slider/NmorphSlider.vue.d.ts +1 -1
  14. package/dist/types/components/inputs/nmorph-switch/NmorphSwitch.vue.d.ts +4 -4
  15. package/dist/types/components/inputs/nmorph-text-input/NmorphTextInput.vue.d.ts +8 -8
  16. package/dist/types/components/inputs/nmorph-time-picker/NmorphTimePicker.vue.d.ts +14 -14
  17. package/dist/types/components/inputs/nmorph-time-picker/components/NmorphTimeRoller.vue.d.ts +6 -6
  18. package/dist/types/components/inputs/radio/nmorph-radio/NmorphRadio.vue.d.ts +2 -3
  19. package/dist/types/components/inputs/radio/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +3 -3
  20. package/dist/types/components/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
  21. package/dist/types/components/nmorph-avatar/NmorphAvatar.vue.d.ts +1 -1
  22. package/dist/types/components/nmorph-backtop/NmorphBacktop.vue.d.ts +1 -1
  23. package/dist/types/components/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +1 -2
  24. package/dist/types/components/nmorph-breadcrumb/types.d.ts +2 -1
  25. package/dist/types/components/nmorph-button/NmorphButton.vue.d.ts +1 -1
  26. package/dist/types/components/nmorph-calendar/NmorphCalendar.vue.d.ts +10 -10
  27. package/dist/types/components/nmorph-calendar/components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -3
  28. package/dist/types/components/nmorph-calendar/utils.d.ts +3 -3
  29. package/dist/types/components/nmorph-carousel/NmorphCarousel.vue.d.ts +1 -1
  30. package/dist/types/components/nmorph-collapse/NmorphCollapse.vue.d.ts +1 -1
  31. package/dist/types/components/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +2 -2
  32. package/dist/types/components/nmorph-dialog/NmorphDialog.vue.d.ts +2 -2
  33. package/dist/types/components/nmorph-dropdown/NmorphDropdown.vue.d.ts +1 -1
  34. package/dist/types/components/nmorph-form/NmorphForm.vue.d.ts +4 -4
  35. package/dist/types/components/nmorph-form/components/nmorph-form-item/components/nmorph-error-box/NmorphErrorBox.vue.d.ts +2 -2
  36. package/dist/types/components/nmorph-icon/NmorphIcon.vue.d.ts +8 -8
  37. package/dist/types/components/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -3
  38. package/dist/types/components/nmorph-overlay/NmorphOverlay.vue.d.ts +1 -1
  39. package/dist/types/components/nmorph-pagination/NmorphPagination.vue.d.ts +4 -4
  40. package/dist/types/components/nmorph-scroll/NmorphScroll.vue.d.ts +3 -3
  41. package/dist/types/components/nmorph-sort-button/NmorphSortButton.vue.d.ts +1 -1
  42. package/dist/types/components/nmorph-table/NmorphTable.vue.d.ts +5 -5
  43. package/dist/types/components/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +3 -3
  44. package/dist/types/components/nmorph-tabs/NmorphTabs.vue.d.ts +2 -2
  45. package/dist/types/components/nmorph-tabs/utils.d.ts +2 -2
  46. package/dist/types/components/nmorph-tag/NmorphTag.vue.d.ts +1 -1
  47. package/dist/types/components/nmorph-tooltip/NmorphTooltip.vue.d.ts +3 -3
  48. package/dist/types/hooks/useFieldValidation.d.ts +1 -1
  49. package/dist/types/hooks/useFormValidation.d.ts +1 -1
  50. package/package.json +1 -1
@@ -1,13 +1,12 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
2
2
  import { INmorphCheckboxOption } from '../types';
3
- import { NmorphDomElementType } from '../../../../types/common';
4
3
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
5
4
  disabled: boolean;
6
5
  modelValue: boolean;
7
6
  label: string;
8
7
  styleType: string;
9
8
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
9
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
11
10
  "update:modelValue": (val: boolean) => void;
12
11
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphCheckboxOption>, {
13
12
  disabled: boolean;
@@ -15,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
15
14
  label: string;
16
15
  styleType: string;
17
16
  }>>> & {
18
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
19
- "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
17
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
18
+ "onUpdate:modelValue"?: (val: boolean) => any;
20
19
  }, {
21
20
  disabled: boolean;
22
21
  modelValue: boolean;
@@ -8,19 +8,19 @@ interface INmorphProps extends INmorphCommonInputProps {
8
8
  direction?: keyof typeof NmorphComponentDirection;
9
9
  }
10
10
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
- modelValue: () => never[];
12
- options: () => never[];
11
+ modelValue: () => any[];
12
+ options: () => any[];
13
13
  styleType: string;
14
14
  direction: string;
15
15
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
16
16
  "update:modelValue": (val: string[]) => void;
17
17
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
18
- modelValue: () => never[];
19
- options: () => never[];
18
+ modelValue: () => any[];
19
+ options: () => any[];
20
20
  styleType: string;
21
21
  direction: string;
22
22
  }>>> & {
23
- "onUpdate:modelValue"?: ((val: string[]) => any) | undefined;
23
+ "onUpdate:modelValue"?: (val: string[]) => any;
24
24
  }, {
25
25
  modelValue: string[];
26
26
  styleType: "checkbox-style" | "button-style";
@@ -15,8 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
15
15
  height: string;
16
16
  disabled: boolean;
17
17
  clearable: boolean;
18
- list: () => never[];
19
- actionCallback: undefined;
18
+ list: () => any[];
19
+ actionCallback: any;
20
20
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
21
  "update:modelValue": (value: string) => void;
22
22
  select: (value: unknown) => void;
@@ -27,11 +27,11 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
27
27
  height: string;
28
28
  disabled: boolean;
29
29
  clearable: boolean;
30
- list: () => never[];
31
- actionCallback: undefined;
30
+ list: () => any[];
31
+ actionCallback: any;
32
32
  }>>> & {
33
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
34
- onSelect?: ((value: unknown) => any) | undefined;
33
+ "onUpdate:modelValue"?: (value: string) => any;
34
+ onSelect?: (value: unknown) => any;
35
35
  }, {
36
36
  fill: boolean;
37
37
  disabled: boolean;
@@ -2,6 +2,6 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes }
2
2
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
3
  clear: () => void;
4
4
  }, string, PublicProps, Readonly<ExtractPropTypes<{}>> & {
5
- onClear?: (() => any) | undefined;
5
+ onClear?: () => any;
6
6
  }, {}, {}>;
7
7
  export default _default;
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
17
17
  height: string;
18
18
  placeholder: string;
19
19
  initialStartDate: () => Date;
20
- initialEndDate: undefined;
21
- modelValue: null;
20
+ initialEndDate: any;
21
+ modelValue: any;
22
22
  type: string;
23
23
  textSeparator: string;
24
24
  startDatePlaceholder: string;
@@ -30,14 +30,14 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
30
30
  height: string;
31
31
  placeholder: string;
32
32
  initialStartDate: () => Date;
33
- initialEndDate: undefined;
34
- modelValue: null;
33
+ initialEndDate: any;
34
+ modelValue: any;
35
35
  type: string;
36
36
  textSeparator: string;
37
37
  startDatePlaceholder: string;
38
38
  endDatePlaceholder: string;
39
39
  }>>> & {
40
- "onUpdate:modelValue"?: ((modelValue: NmorphSelectedDateModelType) => any) | undefined;
40
+ "onUpdate:modelValue"?: (modelValue: NmorphSelectedDateModelType) => any;
41
41
  }, {
42
42
  disabled: boolean;
43
43
  modelValue: NmorphSelectedDateModelType;
@@ -1,6 +1,6 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
2
  import { NmorphSelectionDateType } from '../types';
3
- import { NmorphDateType, NmorphSelectedDateModelType } from '../../../../nmorph-calendar/types';
3
+ import { NmorphSelectedDateModelType } from '../../../../nmorph-calendar/types';
4
4
  interface INmorphProps {
5
5
  initialDate?: Date;
6
6
  selectedValues: NmorphSelectedDateModelType;
@@ -10,12 +10,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
10
10
  initialDate: () => Date;
11
11
  type: string;
12
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
- "update-selected-value": (selectedValue: NmorphDateType) => void;
13
+ "update-selected-value": (selectedValue: Date) => void;
14
14
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
15
  initialDate: () => Date;
16
16
  type: string;
17
17
  }>>> & {
18
- "onUpdate-selected-value"?: ((selectedValue: NmorphDateType) => any) | undefined;
18
+ "onUpdate-selected-value"?: (selectedValue: Date) => any;
19
19
  }, {
20
20
  type: "date" | "dates" | "daterange";
21
21
  initialDate: Date;
@@ -14,12 +14,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
14
14
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
15
  date: () => Date;
16
16
  }>>> & {
17
- "onPrev-month"?: (() => any) | undefined;
18
- "onNext-month"?: (() => any) | undefined;
19
- "onPrev-year"?: (() => any) | undefined;
20
- "onNext-year"?: (() => any) | undefined;
21
- "onChange-year"?: (() => any) | undefined;
22
- "onChange-month"?: (() => any) | undefined;
17
+ "onPrev-month"?: () => any;
18
+ "onNext-month"?: () => any;
19
+ "onPrev-year"?: () => any;
20
+ "onNext-year"?: () => any;
21
+ "onChange-year"?: () => any;
22
+ "onChange-month"?: () => any;
23
23
  }, {
24
24
  date: Date;
25
25
  }, {}>;
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
12
12
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
13
  type: string;
14
14
  }>>> & {
15
- "onUpdate-year"?: ((val: string) => any) | undefined;
16
- "onUpdate-month"?: ((val: string) => any) | undefined;
17
- "onBack-to-years"?: (() => any) | undefined;
15
+ "onUpdate-year"?: (val: string) => any;
16
+ "onUpdate-month"?: (val: string) => any;
17
+ "onBack-to-years"?: () => any;
18
18
  }, {
19
19
  type: "month" | "year";
20
20
  }, {}>;
@@ -1,6 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
2
2
  import { INmorphCustomFileData, NmorphResolutionType } from './types';
3
- import { NmorphDomElementType } from '../../../types/common';
4
3
  interface INmorphProps {
5
4
  modelValue?: INmorphCustomFileData[];
6
5
  disabled?: boolean;
@@ -10,27 +9,27 @@ interface INmorphProps {
10
9
  fill?: boolean;
11
10
  }
12
11
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
- modelValue: () => never[];
12
+ modelValue: () => any[];
14
13
  disabled: boolean;
15
14
  multiple: boolean;
16
15
  allowedTypes: () => string[];
17
16
  photoWithPreview: boolean;
18
17
  fill: boolean;
19
18
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
19
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
21
20
  "update:modelValue": (val: File[]) => void;
22
21
  "on-unsupported-file-type-error": (val: string) => void;
23
22
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
24
- modelValue: () => never[];
23
+ modelValue: () => any[];
25
24
  disabled: boolean;
26
25
  multiple: boolean;
27
26
  allowedTypes: () => string[];
28
27
  photoWithPreview: boolean;
29
28
  fill: boolean;
30
29
  }>>> & {
31
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
32
- "onUpdate:modelValue"?: ((val: File[]) => any) | undefined;
33
- "onOn-unsupported-file-type-error"?: ((val: string) => any) | undefined;
30
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
31
+ "onUpdate:modelValue"?: (val: File[]) => any;
32
+ "onOn-unsupported-file-type-error"?: (val: string) => any;
34
33
  }, {
35
34
  fill: boolean;
36
35
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
1
+ import { INmorphCommonInputProps } from '../../../types/common';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
3
  interface INmorphProps extends INmorphCommonInputProps {
4
4
  modelValue?: number;
@@ -17,7 +17,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
17
17
  actionBtnPositionRight: boolean;
18
18
  fill: boolean;
19
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
20
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
21
21
  "update:modelValue": (val: number) => void;
22
22
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
23
  height: string;
@@ -29,8 +29,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
29
29
  actionBtnPositionRight: boolean;
30
30
  fill: boolean;
31
31
  }>>> & {
32
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
33
- "onUpdate:modelValue"?: ((val: number) => any) | undefined;
32
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
33
+ "onUpdate:modelValue"?: (val: number) => any;
34
34
  }, {
35
35
  fill: boolean;
36
36
  disabled: boolean;
@@ -14,8 +14,8 @@ interface INmorphProps extends INmorphCommonInputProps {
14
14
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
15
  noElementPlaceholder: string;
16
16
  valueRequired: boolean;
17
- options: () => never[];
18
- optionsMap: () => never[];
17
+ options: () => any[];
18
+ optionsMap: () => any[];
19
19
  modelValue: string;
20
20
  loading: boolean;
21
21
  fill: boolean;
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
27
27
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
28
28
  noElementPlaceholder: string;
29
29
  valueRequired: boolean;
30
- options: () => never[];
31
- optionsMap: () => never[];
30
+ options: () => any[];
31
+ optionsMap: () => any[];
32
32
  modelValue: string;
33
33
  loading: boolean;
34
34
  fill: boolean;
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
36
36
  disabled: boolean;
37
37
  open: boolean;
38
38
  }>>> & {
39
- "onUpdate:modelValue"?: ((val: NmorphSelectModelValueType) => any) | undefined;
39
+ "onUpdate:modelValue"?: (val: NmorphSelectModelValueType) => any;
40
40
  }, {
41
41
  fill: boolean;
42
42
  disabled: boolean;
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
15
15
  height: string;
16
16
  disabled: boolean;
17
17
  }>>> & {
18
- "onChange-value"?: ((val: string) => any) | undefined;
18
+ "onChange-value"?: (val: string) => any;
19
19
  }, {
20
20
  disabled: boolean;
21
21
  label: string;
@@ -26,7 +26,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
26
26
  fill: boolean;
27
27
  showTooltip: boolean;
28
28
  }>>> & {
29
- "onUpdate:modelValue"?: ((val: number) => any) | undefined;
29
+ "onUpdate:modelValue"?: (val: number) => any;
30
30
  }, {
31
31
  fill: boolean;
32
32
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
1
+ import { INmorphCommonInputProps } from '../../../types/common';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
3
  interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
4
4
  modelValue?: boolean;
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
10
10
  disabled: boolean;
11
11
  height: string;
12
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
13
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
14
14
  "update:modelValue": (val: boolean) => void;
15
15
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
16
16
  modelValue: boolean;
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
18
18
  disabled: boolean;
19
19
  height: string;
20
20
  }>>> & {
21
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
22
- "onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
21
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
22
+ "onUpdate:modelValue"?: (val: boolean) => any;
23
23
  }, {
24
24
  disabled: boolean;
25
25
  modelValue: boolean;
@@ -1,4 +1,4 @@
1
- import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
1
+ import { INmorphCommonInputProps } from '../../../types/common';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
3
  interface INmorphProps extends INmorphCommonInputProps {
4
4
  placeholder?: string;
@@ -12,12 +12,12 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
12
12
  typePassword: boolean;
13
13
  disabled: boolean;
14
14
  modelValue: string;
15
- rules: () => never[];
15
+ rules: () => any[];
16
16
  height: string;
17
17
  fill: boolean;
18
18
  clearable: boolean;
19
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
20
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
21
21
  "update:modelValue": (val: string) => void;
22
22
  focus: () => void;
23
23
  blur: () => void;
@@ -27,15 +27,15 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
27
27
  typePassword: boolean;
28
28
  disabled: boolean;
29
29
  modelValue: string;
30
- rules: () => never[];
30
+ rules: () => any[];
31
31
  height: string;
32
32
  fill: boolean;
33
33
  clearable: boolean;
34
34
  }>>> & {
35
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
36
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
37
- onFocus?: (() => any) | undefined;
38
- onBlur?: (() => any) | undefined;
35
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
36
+ "onUpdate:modelValue"?: (val: string) => any;
37
+ onFocus?: () => any;
38
+ onBlur?: () => any;
39
39
  }, {
40
40
  fill: boolean;
41
41
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { INmorphCommonInputProps, NmorphDomElementType } from '../../../types/common';
1
+ import { INmorphCommonInputProps } from '../../../types/common';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
3
3
  import { NmorphHourType, NmorphMinuteSecondsType } from './types';
4
4
  interface INmorphProps extends Omit<INmorphCommonInputProps, 'fill'> {
@@ -15,11 +15,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
15
15
  disabled: boolean;
16
16
  height: string;
17
17
  initWithoutValue: boolean;
18
- disabledHours: null;
19
- disabledMinutes: null;
20
- disabledSeconds: null;
18
+ disabledHours: any;
19
+ disabledMinutes: any;
20
+ disabledSeconds: any;
21
21
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
22
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
23
23
  "update:modelValue": (val: number) => void;
24
24
  "on-change-open-close": (val: boolean) => void;
25
25
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
@@ -28,22 +28,22 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
28
28
  disabled: boolean;
29
29
  height: string;
30
30
  initWithoutValue: boolean;
31
- disabledHours: null;
32
- disabledMinutes: null;
33
- disabledSeconds: null;
31
+ disabledHours: any;
32
+ disabledMinutes: any;
33
+ disabledSeconds: any;
34
34
  }>>> & {
35
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
36
- "onUpdate:modelValue"?: ((val: number) => any) | undefined;
37
- "onOn-change-open-close"?: ((val: boolean) => any) | undefined;
35
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
36
+ "onUpdate:modelValue"?: (val: number) => any;
37
+ "onOn-change-open-close"?: (val: boolean) => any;
38
38
  }, {
39
39
  disabled: boolean;
40
40
  modelValue: number;
41
41
  height: "thick" | "default" | "thin";
42
42
  open: boolean;
43
43
  initWithoutValue: boolean;
44
- disabledHours: [NmorphHourType, NmorphHourType] | null;
45
- disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
46
- disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType] | null;
44
+ disabledHours: [NmorphHourType, NmorphHourType];
45
+ disabledMinutes: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
46
+ disabledSeconds: [NmorphMinuteSecondsType, NmorphMinuteSecondsType];
47
47
  }, {}>;
48
48
  export default _default;
49
49
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -8,23 +8,23 @@ interface INmorphProps {
8
8
  }
9
9
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
10
  selectedValue: number;
11
- values: () => never[];
11
+ values: () => any[];
12
12
  setValueOnMount: boolean;
13
- disabledRange: null;
13
+ disabledRange: any;
14
14
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
15
  "value-changed": (val: number) => void;
16
16
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
17
  selectedValue: number;
18
- values: () => never[];
18
+ values: () => any[];
19
19
  setValueOnMount: boolean;
20
- disabledRange: null;
20
+ disabledRange: any;
21
21
  }>>> & {
22
- "onValue-changed"?: ((val: number) => any) | undefined;
22
+ "onValue-changed"?: (val: number) => any;
23
23
  }, {
24
24
  values: number[];
25
25
  selectedValue: number;
26
26
  setValueOnMount: boolean;
27
- disabledRange: [number, number] | null;
27
+ disabledRange: [number, number];
28
28
  }, {}>;
29
29
  export default _default;
30
30
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,6 +1,5 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, Ref } from 'vue';
2
2
  import { INmorphRadioOption, NmorphRadioStyleType } from '../types';
3
- import { NmorphDomElementType } from '../../../../types/common';
4
3
  interface INmorphProps extends INmorphRadioOption {
5
4
  styleType?: keyof typeof NmorphRadioStyleType;
6
5
  }
@@ -9,13 +8,13 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
9
8
  label: string;
10
9
  styleType: string;
11
10
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
- inputDOMRef: (val: Ref<NmorphDomElementType>) => void;
11
+ inputDOMRef: (val: Ref<HTMLElement>) => void;
13
12
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
14
13
  disabled: boolean;
15
14
  label: string;
16
15
  styleType: string;
17
16
  }>>> & {
18
- onInputDOMRef?: ((val: Ref<NmorphDomElementType>) => any) | undefined;
17
+ onInputDOMRef?: (val: Ref<HTMLElement>) => any;
19
18
  }, {
20
19
  disabled: boolean;
21
20
  label: string;
@@ -10,7 +10,7 @@ interface INmorphProps extends INmorphCommonInputProps {
10
10
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
11
  modelValue: string;
12
12
  styleType: string;
13
- options: () => never[];
13
+ options: () => any[];
14
14
  direction: string;
15
15
  label: string;
16
16
  disabled: boolean;
@@ -19,12 +19,12 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
19
19
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
20
20
  modelValue: string;
21
21
  styleType: string;
22
- options: () => never[];
22
+ options: () => any[];
23
23
  direction: string;
24
24
  label: string;
25
25
  disabled: boolean;
26
26
  }>>> & {
27
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
27
+ "onUpdate:modelValue"?: (val: string) => any;
28
28
  }, {
29
29
  disabled: boolean;
30
30
  modelValue: string;
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
28
28
  maxWidth: number;
29
29
  showIcon: boolean;
30
30
  }>>> & {
31
- onClose?: (() => any) | undefined;
31
+ onClose?: () => any;
32
32
  }, {
33
33
  fill: boolean;
34
34
  title: string;
@@ -26,7 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
26
26
  alt: string;
27
27
  fit: string;
28
28
  }>>> & {
29
- onError?: (() => any) | undefined;
29
+ onError?: () => any;
30
30
  }, {
31
31
  size: number;
32
32
  alt: string;
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
15
15
  bottom: number;
16
16
  visibilityHeight: number;
17
17
  }>>> & {
18
- onClick?: (() => any) | undefined;
18
+ onClick?: () => any;
19
19
  }, {
20
20
  right: number;
21
21
  bottom: number;
@@ -1,4 +1,3 @@
1
- import { RouteLocationRaw } from 'vue-router';
2
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
2
  import { INmorphBreadcrumbItemProps } from '../../types';
4
3
  interface INmorphProps extends INmorphBreadcrumbItemProps {
@@ -11,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
11
10
  replace: boolean;
12
11
  }>>>, {
13
12
  replace: boolean;
14
- to: RouteLocationRaw;
13
+ to: string;
15
14
  }, {}>, {
16
15
  default?(_: {}): any;
17
16
  }>;
@@ -7,7 +7,8 @@ export interface INmorphBreadcrumbItemProps {
7
7
  export interface NmorphBreadcrumbInjectionItemWithId extends INmorphBreadcrumbItemProps {
8
8
  itemId: string;
9
9
  }
10
+ export type NmorphBreadcrumbsType = Ref<NmorphBreadcrumbInjectionItemWithId[]>;
10
11
  export interface NmorphBreadcrumbInjection {
11
- breadcrumbs: Ref<NmorphBreadcrumbInjectionItemWithId[]>;
12
+ breadcrumbs: NmorphBreadcrumbsType;
12
13
  breadcrumbId: string;
13
14
  }
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
32
32
  bgTransparentOnHover: boolean;
33
33
  ripple: boolean;
34
34
  }>>> & {
35
- onClick?: (() => any) | undefined;
35
+ onClick?: () => any;
36
36
  }, {
37
37
  fill: boolean;
38
38
  disabled: boolean;
@@ -12,25 +12,25 @@ interface INmorphProps {
12
12
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
13
  markToday: boolean;
14
14
  initialDate: () => Date;
15
- modelValue: null;
16
- range: undefined;
15
+ modelValue: any;
16
+ range: any;
17
17
  type: string;
18
- selectedValues: null;
18
+ selectedValues: any;
19
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
20
- "update:modelValue": (date: NmorphDateType) => void;
20
+ "update:modelValue": (date: Date) => void;
21
21
  "update-initial-date": (date: Date) => void;
22
22
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
23
23
  markToday: boolean;
24
24
  initialDate: () => Date;
25
- modelValue: null;
26
- range: undefined;
25
+ modelValue: any;
26
+ range: any;
27
27
  type: string;
28
- selectedValues: null;
28
+ selectedValues: any;
29
29
  }>>> & {
30
- "onUpdate:modelValue"?: ((date: NmorphDateType) => any) | undefined;
31
- "onUpdate-initial-date"?: ((date: Date) => any) | undefined;
30
+ "onUpdate:modelValue"?: (date: Date) => any;
31
+ "onUpdate-initial-date"?: (date: Date) => any;
32
32
  }, {
33
- modelValue: NmorphDateType;
33
+ modelValue: Date;
34
34
  type: "date" | "dates" | "daterange";
35
35
  range: [Date, Date];
36
36
  initialDate: Date;
@@ -11,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
11
11
  "click-today": () => void;
12
12
  "click-next-month": () => void;
13
13
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
14
- "onClick-previous-month"?: (() => any) | undefined;
15
- "onClick-today"?: (() => any) | undefined;
16
- "onClick-next-month"?: (() => any) | undefined;
14
+ "onClick-previous-month"?: () => any;
15
+ "onClick-today"?: () => any;
16
+ "onClick-next-month"?: () => any;
17
17
  }, {}, {}>, {
18
18
  default?(_: {}): any;
19
19
  }>;
@@ -1,9 +1,9 @@
1
1
  import { NmorphCalendarDatesType, NmorphCalendarRangeType, NmorphSelectedDateModelType } from './types';
2
2
  import { Ref } from 'vue';
3
- export declare const getDecadeYears: (year: number) => number[];
4
- export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string | (string | null)[] | undefined;
3
+ export declare const getDecadeYears: (year: number) => any[];
4
+ export declare const formatDateIntl: (date: NmorphSelectedDateModelType) => string | string[];
5
5
  export declare const hasAnyRangeDateInPrevMonth: (currentDate: Date, prevMonthRange: Date) => boolean;
6
6
  export declare const hasAnyRangeDateInNextMonth: (currentDate: Date, nextMonthRange: Date) => boolean;
7
- export declare const isTodayInRange: (range: NmorphCalendarRangeType) => boolean;
7
+ export declare const isTodayInRange: (range: [Date, Date]) => boolean;
8
8
  export declare const getMonthName: (monthIndex: number) => string;
9
9
  export declare const getMonthDaysByWeek: (selectedDate: Ref<Date>, range: NmorphCalendarRangeType | undefined) => NmorphCalendarDatesType[];
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
9
9
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
10
10
  loop: boolean;
11
11
  }>>> & {
12
- onChange?: ((value: number) => any) | undefined;
12
+ onChange?: (value: number) => any;
13
13
  }, {
14
14
  loop: boolean;
15
15
  }, {}>, {
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
11
11
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
12
12
  accordion: boolean;
13
13
  }>>> & {
14
- "onUpdate:modelValue"?: ((value: NmorphCollapseModelType) => any) | undefined;
14
+ "onUpdate:modelValue"?: (value: NmorphCollapseModelType) => any;
15
15
  }, {
16
16
  accordion: boolean;
17
17
  }, {}>, {
@@ -18,10 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
18
18
  title: string;
19
19
  disabled: boolean;
20
20
  }>>> & {
21
- "onClick-item"?: ((data: {
21
+ "onClick-item"?: (data: {
22
22
  id: string;
23
23
  isOpen: boolean;
24
- }) => any) | undefined;
24
+ }) => any;
25
25
  }, {
26
26
  disabled: boolean;
27
27
  title: string;
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
13
13
  modelValue: boolean;
14
14
  title: string;
15
15
  }>>> & {
16
- "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
- "onOn-close"?: (() => any) | undefined;
16
+ "onUpdate:modelValue"?: (value: boolean) => any;
17
+ "onOn-close"?: () => any;
18
18
  }, {
19
19
  modelValue: boolean;
20
20
  title: string;
@@ -21,7 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
21
21
  yOffset: number;
22
22
  fillWidth: boolean;
23
23
  }>>> & {
24
- "onOn-outside-click"?: (() => any) | undefined;
24
+ "onOn-outside-click"?: () => any;
25
25
  }, {
26
26
  width: number;
27
27
  xOffset: number;
@@ -12,20 +12,20 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
12
12
  touched: Ref<boolean>;
13
13
  valid: ComputedRef<boolean>;
14
14
  errors: Ref<string[]>;
15
- validate: () => null | undefined;
15
+ validate: () => any;
16
16
  }>;
17
17
  }) => void;
18
18
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
19
19
  validateImmediately: boolean;
20
20
  }>>> & {
21
- onFormValidator?: ((val: {
21
+ onFormValidator?: (val: {
22
22
  fields: Record<string, {
23
23
  touched: Ref<boolean>;
24
24
  valid: ComputedRef<boolean>;
25
25
  errors: Ref<string[]>;
26
- validate: () => null | undefined;
26
+ validate: () => any;
27
27
  }>;
28
- }) => any) | undefined;
28
+ }) => any;
29
29
  }, {
30
30
  validateImmediately: boolean;
31
31
  }, {}>, {
@@ -7,11 +7,11 @@ interface INmorphProps {
7
7
  }
8
8
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
9
9
  height: string;
10
- errors: () => never[];
10
+ errors: () => any[];
11
11
  staticHeight: boolean;
12
12
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
13
13
  height: string;
14
- errors: () => never[];
14
+ errors: () => any[];
15
15
  staticHeight: boolean;
16
16
  }>>>, {
17
17
  height: "thick" | "default" | "thin";
@@ -8,17 +8,17 @@ interface INmorphProps {
8
8
  path?: string;
9
9
  }
10
10
  declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
11
- name: undefined;
11
+ name: any;
12
12
  size: string;
13
- width: undefined;
14
- height: undefined;
15
- path: undefined;
13
+ width: any;
14
+ height: any;
15
+ path: any;
16
16
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
17
- name: undefined;
17
+ name: any;
18
18
  size: string;
19
- width: undefined;
20
- height: undefined;
21
- path: undefined;
19
+ width: any;
20
+ height: any;
21
+ path: any;
22
22
  }>>>, {
23
23
  path: string;
24
24
  height: string;
@@ -26,11 +26,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
26
26
  minScaleLevel: number;
27
27
  maxScaleLevel: number;
28
28
  }>>> & {
29
- "onOn-close"?: (() => any) | undefined;
30
- "onOn-open"?: (() => any) | undefined;
29
+ "onOn-close"?: () => any;
30
+ "onOn-open"?: () => any;
31
31
  }, {
32
- show: boolean;
33
32
  alt: string;
33
+ show: boolean;
34
34
  initialIndex: number;
35
35
  scaleStep: number;
36
36
  minScaleLevel: number;
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
13
13
  show: boolean;
14
14
  outsideClickEmitEvent: boolean;
15
15
  }>>> & {
16
- "onOn-outside-click"?: (() => any) | undefined;
16
+ "onOn-outside-click"?: () => any;
17
17
  }, {
18
18
  show: boolean;
19
19
  outsideClickEmitEvent: boolean;
@@ -25,10 +25,10 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
25
25
  disabled: boolean;
26
26
  hideOnSinglePage: boolean;
27
27
  }>>> & {
28
- "onUpdate:modelValue"?: ((currentPage: number) => any) | undefined;
29
- "onPrev-click"?: ((currentPage: number) => any) | undefined;
30
- "onNext-click"?: ((currentPage: number) => any) | undefined;
31
- "onUpdate:range"?: ((range: [number, number]) => any) | undefined;
28
+ "onUpdate:modelValue"?: (currentPage: number) => any;
29
+ "onPrev-click"?: (currentPage: number) => any;
30
+ "onNext-click"?: (currentPage: number) => any;
31
+ "onUpdate:range"?: (range: [number, number]) => any;
32
32
  }, {
33
33
  disabled: boolean;
34
34
  modelValue: number;
@@ -27,9 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
27
27
  scrollXProp: string;
28
28
  scrollEndDelay: number;
29
29
  }>>> & {
30
- "onUpdate:modelValue"?: ((coords: NmorphCoordsType) => any) | undefined;
31
- "onOn-scroll"?: ((event: Event) => any) | undefined;
32
- "onOn-scroll-end"?: (() => any) | undefined;
30
+ "onUpdate:modelValue"?: (coords: NmorphCoordsType) => any;
31
+ "onOn-scroll"?: (event: Event) => any;
32
+ "onOn-scroll-end"?: () => any;
33
33
  }, {
34
34
  modelValue: NmorphCoordsType;
35
35
  scrollYProp: "hidden" | "auto" | "scroll";
@@ -6,7 +6,7 @@ interface INmorphProps {
6
6
  declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
7
  sort: (val: NmorphSortOrderType) => void;
8
8
  }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {}>>> & {
9
- onSort?: ((val: NmorphSortOrderType) => any) | undefined;
9
+ onSort?: (val: NmorphSortOrderType) => any;
10
10
  }, {}, {}>;
11
11
  export default _default;
12
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -11,26 +11,26 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
11
11
  /**
12
12
  * @description table data
13
13
  */
14
- data: () => never[];
14
+ data: () => any[];
15
15
  bordered: boolean;
16
- sort: undefined;
16
+ sort: any;
17
17
  style: string;
18
18
  rowHover: boolean;
19
19
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
20
20
  /**
21
21
  * @description table data
22
22
  */
23
- data: () => never[];
23
+ data: () => any[];
24
24
  bordered: boolean;
25
- sort: undefined;
25
+ sort: any;
26
26
  style: string;
27
27
  rowHover: boolean;
28
28
  }>>>, {
29
29
  sort: NmorphTableSortType;
30
30
  data: NmorphTableDataType;
31
31
  style: "nmorph" | "common";
32
- rowHover: boolean;
33
32
  bordered: boolean;
33
+ rowHover: boolean;
34
34
  }, {}>, {
35
35
  default?(_: {}): any;
36
36
  }>;
@@ -17,9 +17,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
17
17
  }, {}>, {
18
18
  default?(_: {
19
19
  scope: {
20
- columns: NmorphTableColumnData[] | undefined;
21
- rows: NmorphDataTableElRecordType[] | undefined;
22
- tableId: string | undefined;
20
+ columns: NmorphTableColumnData[];
21
+ rows: NmorphDataTableElRecordType[];
22
+ tableId: string;
23
23
  };
24
24
  }): any;
25
25
  }>;
@@ -14,8 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
14
14
  modelValue: number;
15
15
  stretch: boolean;
16
16
  }>>> & {
17
- "onUpdate:model-value"?: ((value: NmorphTableModelType) => any) | undefined;
18
- "onTab-change"?: ((value: NmorphTableModelType) => any) | undefined;
17
+ "onUpdate:model-value"?: (value: NmorphTableModelType) => any;
18
+ "onTab-change"?: (value: NmorphTableModelType) => any;
19
19
  }, {
20
20
  modelValue: NmorphTableModelType;
21
21
  stretch: boolean;
@@ -1,3 +1,3 @@
1
1
  import { NmorphTableModelType } from './type';
2
- export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string | undefined;
3
- export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string | undefined;
2
+ export declare const getTabLabelId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
3
+ export declare const getTabContentId: (tabsIdentifier: string | undefined, name: NmorphTableModelType) => string;
@@ -18,7 +18,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
18
18
  removable: boolean;
19
19
  transparent: boolean;
20
20
  }>>> & {
21
- onClose?: ((val: string) => any) | undefined;
21
+ onClose?: (val: string) => any;
22
22
  }, {
23
23
  height: "thick" | "default" | "thin";
24
24
  transparent: boolean;
@@ -10,17 +10,17 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaul
10
10
  text: string;
11
11
  position: string;
12
12
  forceShow: boolean;
13
- forceCoordinate: null;
13
+ forceCoordinate: any;
14
14
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<INmorphProps>, {
15
15
  text: string;
16
16
  position: string;
17
17
  forceShow: boolean;
18
- forceCoordinate: null;
18
+ forceCoordinate: any;
19
19
  }>>>, {
20
20
  text: string;
21
21
  position: "left" | "right" | "top" | "bottom";
22
22
  forceShow: boolean;
23
- forceCoordinate: Partial<INmorphCoords<string>> | null;
23
+ forceCoordinate: any;
24
24
  }, {}>, {
25
25
  default?(_: {}): any;
26
26
  content?(_: {}): any;
@@ -49,5 +49,5 @@ export declare const useFieldValidation: (data: INmorphUseValidationPayload) =>
49
49
  touched: Ref<boolean>;
50
50
  valid: ComputedRef<boolean>;
51
51
  errors: Ref<string[]>;
52
- validate: () => null | undefined;
52
+ validate: () => any;
53
53
  };
@@ -5,6 +5,6 @@ export declare const useFormValidation: (formData: NmorphFormValueType, validate
5
5
  touched: Ref<boolean>;
6
6
  valid: ComputedRef<boolean>;
7
7
  errors: Ref<string[]>;
8
- validate: () => null | undefined;
8
+ validate: () => any;
9
9
  }>;
10
10
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@nmorph/nmorph-ui-kit",
3
3
  "type": "module",
4
4
  "private": false,
5
- "version": "0.0.5",
5
+ "version": "0.0.6",
6
6
  "license": "MIT",
7
7
  "engines": {
8
8
  "node": "18.13.0",