@nmorph/nmorph-ui-kit 2.2.37 → 2.2.39

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 (239) hide show
  1. package/dist/components/basic/nmorph-button/NmorphButton.vue2.js +4 -4
  2. package/dist/components/basic/nmorph-layout/NmorphLayout.vue2.js +12 -10
  3. package/dist/components/basic/nmorph-link/NmorphLink.vue2.js +19 -16
  4. package/dist/components/data/nmorph-badge/NmorphBadge.css +1 -1
  5. package/dist/components/data/nmorph-badge/NmorphBadge.vue2.js +30 -26
  6. package/dist/components/data/nmorph-calendar/NmorphCalendar.vue2.js +42 -40
  7. package/dist/components/data/nmorph-card/NmorphCard.vue2.js +16 -13
  8. package/dist/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue2.js +24 -21
  9. package/dist/components/data/nmorph-empty/NmorphEmpty.vue2.js +23 -21
  10. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue.js +43 -42
  11. package/dist/components/data/nmorph-image-preview/NmorphImagePreview.vue2.js +47 -45
  12. package/dist/components/data/nmorph-progress/NmorphProgress.vue2.js +18 -14
  13. package/dist/components/data/nmorph-qr-code/NmorphQRCode.vue2.js +15 -11
  14. package/dist/components/data/nmorph-skeleton/NmorphSkeleton.vue2.js +15 -12
  15. package/dist/components/data/nmorph-table/NmorphTable.vue2.js +44 -40
  16. package/dist/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue2.js +1 -1
  17. package/dist/components/data/nmorph-virtual-list/NmorphVirtualList.vue2.js +21 -19
  18. package/dist/components/feedback/nmorph-alert/NmorphAlert.vue2.js +27 -24
  19. package/dist/components/feedback/nmorph-callout/NmorphCallout.vue2.js +19 -15
  20. package/dist/components/feedback/nmorph-drawer/NmorphDrawer.vue2.js +10 -8
  21. package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +25 -23
  22. package/dist/components/form/nmorph-autocomplete/NmorphAutocomplete.vue2.js +66 -64
  23. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.css +1 -1
  24. package/dist/components/form/nmorph-checkbox/NmorphCheckbox.vue2.js +28 -26
  25. package/dist/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue2.js +25 -20
  26. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue.js +18 -22
  27. package/dist/components/form/nmorph-color-picker/NmorphColorPicker.vue2.js +52 -42
  28. package/dist/components/form/nmorph-date-picker/NmorphDatePicker.vue2.js +52 -40
  29. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -1
  30. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue.js +20 -16
  31. package/dist/components/form/nmorph-file-upload/NmorphFileUpload.vue2.js +96 -98
  32. package/dist/components/form/nmorph-form/NmorphForm.vue2.js +9 -9
  33. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.css +1 -1
  34. package/dist/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue2.js +33 -24
  35. package/dist/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue2.js +4 -4
  36. package/dist/components/form/nmorph-form/use-form-item-input.js +29 -8
  37. package/dist/components/form/nmorph-number-input/NmorphNumberInput.vue2.js +41 -35
  38. package/dist/components/form/nmorph-otp-input/NmorphOTPInput.vue2.js +65 -61
  39. package/dist/components/form/nmorph-radio/NmorphRadio.css +1 -1
  40. package/dist/components/form/nmorph-radio/NmorphRadio.vue2.js +1 -1
  41. package/dist/components/form/nmorph-radio-group/NmorphRadioGroup.vue2.js +24 -22
  42. package/dist/components/form/nmorph-select/NmorphSelect.css +1 -1
  43. package/dist/components/form/nmorph-select/NmorphSelect.vue2.js +90 -78
  44. package/dist/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue2.js +21 -18
  45. package/dist/components/form/nmorph-select-button/NmorphSelectButton.vue2.js +31 -25
  46. package/dist/components/form/nmorph-slider/NmorphSlider.vue2.js +50 -49
  47. package/dist/components/form/nmorph-switch/NmorphSwitch.vue2.js +35 -32
  48. package/dist/components/form/nmorph-text-input/NmorphTextInput.css +1 -1
  49. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue.js +17 -17
  50. package/dist/components/form/nmorph-text-input/NmorphTextInput.vue2.js +41 -35
  51. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue.js +13 -13
  52. package/dist/components/form/nmorph-textarea/NmorphTextarea.vue2.js +38 -32
  53. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +17 -17
  54. package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +79 -71
  55. package/dist/components/navigation/nmorph-dropdown/NmorphDropdown.vue2.js +25 -23
  56. package/dist/hooks/use-field-validation.js +56 -43
  57. package/dist/hooks/use-focusable-input.js +27 -0
  58. package/dist/hooks/use-form-validation.js +62 -24
  59. package/dist/hooks/use-nmorph-translation.js +4 -4
  60. package/dist/index.es.js +842 -837
  61. package/dist/index.umd.js +36 -36
  62. package/dist/package.json.js +1 -1
  63. package/dist/plugin.js +47 -42
  64. package/dist/src/components/basic/nmorph-button/NmorphButton.vue.d.ts +4 -17
  65. package/dist/src/components/basic/nmorph-button/types.d.ts +13 -0
  66. package/dist/src/components/basic/nmorph-icon/NmorphIcon.vue.d.ts +3 -9
  67. package/dist/src/components/basic/nmorph-icon/types.d.ts +6 -0
  68. package/dist/src/components/basic/nmorph-layout/NmorphLayout.vue.d.ts +2 -9
  69. package/dist/src/components/basic/nmorph-layout/types.d.ts +8 -0
  70. package/dist/src/components/basic/nmorph-link/NmorphLink.vue.d.ts +2 -13
  71. package/dist/src/components/basic/nmorph-link/types.d.ts +11 -0
  72. package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +2 -2
  73. package/dist/src/components/basic/nmorph-scroll/types.d.ts +5 -0
  74. package/dist/src/components/basic/nmorph-space/NmorphSpace.vue.d.ts +2 -15
  75. package/dist/src/components/basic/nmorph-space/types.d.ts +14 -0
  76. package/dist/src/components/data/nmorph-avatar/NmorphAvatar.vue.d.ts +6 -21
  77. package/dist/src/components/data/nmorph-avatar/types.d.ts +21 -0
  78. package/dist/src/components/data/nmorph-badge/NmorphBadge.vue.d.ts +4 -39
  79. package/dist/src/components/data/nmorph-badge/types.d.ts +34 -0
  80. package/dist/src/components/data/nmorph-calendar/NmorphCalendar.vue.d.ts +4 -12
  81. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/NmorphCalendarHeader.vue.d.ts +3 -9
  82. package/dist/src/components/data/nmorph-calendar/inner-components/nmorph-calendar-header/types.d.ts +12 -0
  83. package/dist/src/components/data/nmorph-calendar/types.d.ts +13 -0
  84. package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +2 -10
  85. package/dist/src/components/data/nmorph-card/types.d.ts +9 -0
  86. package/dist/src/components/data/nmorph-carousel/NmorphCarousel.vue.d.ts +3 -5
  87. package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/NmorphCarouselItem.vue.d.ts +2 -4
  88. package/dist/src/components/data/nmorph-carousel/components/nmorph-carousel-item/types.d.ts +3 -0
  89. package/dist/src/components/data/nmorph-carousel/types.d.ts +6 -0
  90. package/dist/src/components/data/nmorph-collapse/NmorphCollapse.vue.d.ts +3 -7
  91. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/NmorphCollapseItem.vue.d.ts +4 -10
  92. package/dist/src/components/data/nmorph-collapse/components/nmorph-collapse-item/types.d.ts +13 -0
  93. package/dist/src/components/data/nmorph-collapse/types.d.ts +7 -0
  94. package/dist/src/components/data/nmorph-empty/NmorphEmpty.vue.d.ts +4 -13
  95. package/dist/src/components/data/nmorph-empty/types.d.ts +11 -0
  96. package/dist/src/components/data/nmorph-image/NmorphImage.vue.d.ts +3 -8
  97. package/dist/src/components/data/nmorph-image/types.d.ts +10 -0
  98. package/dist/src/components/data/nmorph-image-preview/NmorphImagePreview.vue.d.ts +3 -18
  99. package/dist/src/components/data/nmorph-image-preview/types.d.ts +19 -0
  100. package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +3 -13
  101. package/dist/src/components/data/nmorph-pagination/types.d.ts +14 -0
  102. package/dist/src/components/data/nmorph-progress/NmorphProgress.vue.d.ts +2 -14
  103. package/dist/src/components/data/nmorph-progress/types.d.ts +12 -0
  104. package/dist/src/components/data/nmorph-qr-code/NmorphQRCode.vue.d.ts +5 -15
  105. package/dist/src/components/data/nmorph-qr-code/types.d.ts +12 -0
  106. package/dist/src/components/data/nmorph-skeleton/NmorphSkeleton.vue.d.ts +2 -7
  107. package/dist/src/components/data/nmorph-skeleton/components/NmorphSkeletonItem.vue.d.ts +3 -9
  108. package/dist/src/components/data/nmorph-skeleton/components/types.d.ts +8 -0
  109. package/dist/src/components/data/nmorph-skeleton/types.d.ts +6 -0
  110. package/dist/src/components/data/nmorph-table/NmorphTable.vue.d.ts +3 -17
  111. package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/NmorphTableCell.vue.d.ts +2 -4
  112. package/dist/src/components/data/nmorph-table/components/nmorph-table-cell/types.d.ts +3 -0
  113. package/dist/src/components/data/nmorph-table/components/nmorph-table-column/NmorphTableColumn.vue.d.ts +4 -5
  114. package/dist/src/components/data/nmorph-table/components/nmorph-table-column/types.d.ts +3 -0
  115. package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/NmorphSortButton.vue.d.ts +4 -6
  116. package/dist/src/components/data/nmorph-table/inner-components/nmorph-sort-button/types.d.ts +7 -0
  117. package/dist/src/components/data/nmorph-table/types.d.ts +15 -0
  118. package/dist/src/components/data/nmorph-tag-list/NmorphTagList.vue.d.ts +5 -8
  119. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/NmorphTagItem.vue.d.ts +3 -5
  120. package/dist/src/components/data/nmorph-tag-list/components/nmorph-tag-item/types.d.ts +6 -0
  121. package/dist/src/components/data/nmorph-tag-list/types.d.ts +7 -0
  122. package/dist/src/components/data/nmorph-virtual-list/NmorphVirtualList.vue.d.ts +3 -14
  123. package/dist/src/components/data/nmorph-virtual-list/types.d.ts +15 -0
  124. package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +5 -7
  125. package/dist/src/components/feedback/nmorph-alert/types.d.ts +5 -0
  126. package/dist/src/components/feedback/nmorph-callout/NmorphCallout.vue.d.ts +3 -15
  127. package/dist/src/components/feedback/nmorph-callout/types.d.ts +12 -0
  128. package/dist/src/components/feedback/nmorph-dialog/NmorphDialog.vue.d.ts +4 -19
  129. package/dist/src/components/feedback/nmorph-dialog/types.d.ts +20 -0
  130. package/dist/src/components/feedback/nmorph-drawer/NmorphDrawer.vue.d.ts +4 -17
  131. package/dist/src/components/feedback/nmorph-drawer/types.d.ts +18 -0
  132. package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +5 -14
  133. package/dist/src/components/feedback/nmorph-tooltip/types.d.ts +11 -0
  134. package/dist/src/components/form/nmorph-autocomplete/NmorphAutocomplete.vue.d.ts +6 -19
  135. package/dist/src/components/form/nmorph-autocomplete/types.d.ts +18 -0
  136. package/dist/src/components/form/nmorph-checkbox/NmorphCheckbox.vue.d.ts +1 -1
  137. package/dist/src/components/form/nmorph-checkbox/types.d.ts +3 -0
  138. package/dist/src/components/form/nmorph-checkbox-group/NmorphCheckboxGroup.vue.d.ts +5 -11
  139. package/dist/src/components/form/nmorph-checkbox-group/types.d.ts +11 -0
  140. package/dist/src/components/form/nmorph-color-picker/NmorphColorPicker.vue.d.ts +6 -11
  141. package/dist/src/components/form/nmorph-color-picker/types.d.ts +11 -0
  142. package/dist/src/components/form/nmorph-date-picker/NmorphDatePicker.vue.d.ts +5 -21
  143. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-clear-button/types.d.ts +3 -0
  144. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/NmorphDatePickerContent.vue.d.ts +3 -8
  145. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-content/types.d.ts +10 -0
  146. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/NmorphDatePickerHeader.vue.d.ts +3 -6
  147. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-date-picker-header/types.d.ts +12 -0
  148. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/NmorphYearMonthPicker.vue.d.ts +3 -6
  149. package/dist/src/components/form/nmorph-date-picker/inner-components/nmorph-year-month-picker/types.d.ts +9 -0
  150. package/dist/src/components/form/nmorph-date-picker/types.d.ts +21 -0
  151. package/dist/src/components/form/nmorph-file-upload/NmorphFileUpload.vue.d.ts +7 -12
  152. package/dist/src/components/form/nmorph-file-upload/types.d.ts +21 -0
  153. package/dist/src/components/form/nmorph-form/NmorphForm.vue.d.ts +4 -8
  154. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/NmorphFormItem.vue.d.ts +3 -12
  155. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/NmorphErrorBox.vue.d.ts +3 -8
  156. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-error-box/types.d.ts +7 -0
  157. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/NmorphValidationIcon.vue.d.ts +3 -6
  158. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/inner-components/nmorph-validation-icon/types.d.ts +5 -0
  159. package/dist/src/components/form/nmorph-form/components/nmorph-form-item/types.d.ts +10 -0
  160. package/dist/src/components/form/nmorph-form/types.d.ts +21 -6
  161. package/dist/src/components/form/nmorph-form/use-form-item-input.d.ts +10 -0
  162. package/dist/src/components/form/nmorph-number-input/NmorphNumberInput.vue.d.ts +3 -10
  163. package/dist/src/components/form/nmorph-number-input/types.d.ts +11 -0
  164. package/dist/src/components/form/nmorph-otp-input/NmorphOTPInput.vue.d.ts +5 -13
  165. package/dist/src/components/form/nmorph-otp-input/types.d.ts +21 -0
  166. package/dist/src/components/form/nmorph-radio/NmorphRadio.vue.d.ts +4 -9
  167. package/dist/src/components/form/nmorph-radio/types.d.ts +6 -0
  168. package/dist/src/components/form/nmorph-radio-group/NmorphRadioGroup.vue.d.ts +4 -12
  169. package/dist/src/components/form/nmorph-radio-group/types.d.ts +12 -0
  170. package/dist/src/components/form/nmorph-select/NmorphSelect.vue.d.ts +3 -21
  171. package/dist/src/components/form/nmorph-select/components/nmorph-select-option/NmorphSelectOption.vue.d.ts +1 -1
  172. package/dist/src/components/form/nmorph-select/components/nmorph-select-option/types.d.ts +3 -0
  173. package/dist/src/components/form/nmorph-select/types.d.ts +21 -0
  174. package/dist/src/components/form/nmorph-select-button/NmorphSelectButton.vue.d.ts +4 -12
  175. package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/NmorphSelectButtonItem.vue.d.ts +3 -6
  176. package/dist/src/components/form/nmorph-select-button/components/nmorph-select-button-item/types.d.ts +4 -0
  177. package/dist/src/components/form/nmorph-select-button/types.d.ts +12 -0
  178. package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +111 -0
  179. package/dist/src/components/form/nmorph-slider/types.d.ts +3 -0
  180. package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +3 -14
  181. package/dist/src/components/form/nmorph-switch/types.d.ts +15 -0
  182. package/dist/src/components/form/nmorph-text-input/NmorphTextInput.vue.d.ts +6 -14
  183. package/dist/src/components/form/nmorph-text-input/types.d.ts +16 -0
  184. package/dist/src/components/form/nmorph-textarea/NmorphTextarea.vue.d.ts +6 -18
  185. package/dist/src/components/form/nmorph-textarea/types.d.ts +20 -0
  186. package/dist/src/components/form/nmorph-time-picker/NmorphTimePicker.vue.d.ts +6 -20
  187. package/dist/src/components/form/nmorph-time-picker/types.d.ts +24 -0
  188. package/dist/src/components/navigation/index.d.ts +1 -1
  189. package/dist/src/components/navigation/nmorph-backtop/NmorphBacktop.vue.d.ts +4 -12
  190. package/dist/src/components/navigation/nmorph-backtop/types.d.ts +14 -0
  191. package/dist/src/components/navigation/nmorph-breadcrumb/NmorphBreadcrumb.vue.d.ts +2 -4
  192. package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/NmorphBreadcrumbItem.vue.d.ts +2 -4
  193. package/dist/src/components/navigation/nmorph-breadcrumb/components/nmorph-breadcrumb-item/types.d.ts +3 -0
  194. package/dist/src/components/navigation/nmorph-breadcrumb/types.d.ts +3 -0
  195. package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +10 -31
  196. package/dist/src/components/navigation/nmorph-context-menu/types.d.ts +42 -0
  197. package/dist/src/components/navigation/nmorph-dropdown/NmorphDropdown.vue.d.ts +6 -24
  198. package/dist/src/components/navigation/nmorph-dropdown/types.d.ts +24 -0
  199. package/dist/src/components/navigation/nmorph-tabs/NmorphTabs.vue.d.ts +4 -8
  200. package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/NmorphTabPane.vue.d.ts +4 -5
  201. package/dist/src/components/navigation/nmorph-tabs/components/nmorph-tab-pane/types.d.ts +3 -0
  202. package/dist/src/components/navigation/nmorph-tabs/{type.d.ts → types.d.ts} +9 -0
  203. package/dist/src/components/navigation/nmorph-tabs/utils.d.ts +1 -1
  204. package/dist/src/components/others/nmorph-divider/NmorphDivider.vue.d.ts +2 -5
  205. package/dist/src/components/others/nmorph-divider/types.d.ts +3 -0
  206. package/dist/src/components/others/nmorph-overlay/NmorphOverlay.vue.d.ts +3 -12
  207. package/dist/src/components/others/nmorph-overlay/types.d.ts +14 -0
  208. package/dist/src/components/providers/nmorph-notification-provider/NmorphNotificationProvider.vue.d.ts +2 -8
  209. package/dist/src/components/providers/nmorph-notification-provider/types.d.ts +9 -0
  210. package/dist/src/hooks/use-field-validation.d.ts +15 -0
  211. package/dist/src/hooks/use-focusable-input.d.ts +16 -0
  212. package/dist/src/hooks/use-form-validation.d.ts +4 -0
  213. package/dist/src/plugin.d.ts +4 -1
  214. package/dist/src/types/app.types.d.ts +21 -0
  215. package/dist/src/types/common.types.d.ts +62 -0
  216. package/dist/src/types/date.types.d.ts +7 -0
  217. package/dist/src/types/image.types.d.ts +17 -0
  218. package/dist/src/types/index.d.ts +8 -206
  219. package/dist/src/types/selection.types.d.ts +26 -0
  220. package/dist/src/types/table.types.d.ts +5 -0
  221. package/dist/src/types/theme.types.d.ts +55 -0
  222. package/dist/src/types/translation.types.d.ts +20 -0
  223. package/dist/src/utils/common.d.ts +3 -0
  224. package/dist/src/utils/file-types.d.ts +8 -0
  225. package/dist/src/utils/index.d.ts +1 -0
  226. package/dist/style.css +1 -1
  227. package/dist/types/common.types.js +14 -0
  228. package/dist/types/date.types.js +4 -0
  229. package/dist/types/image.types.js +5 -0
  230. package/dist/types/selection.types.js +4 -0
  231. package/dist/types/table.types.js +4 -0
  232. package/dist/types/translation.types.js +4 -0
  233. package/dist/utils/common.js +16 -7
  234. package/dist/utils/file-types.js +41 -0
  235. package/package.json +1 -1
  236. package/dist/src/components/data/nmorph-calendar/hooks/index.d.ts +0 -2
  237. package/dist/src/hooks/index.d.ts +0 -9
  238. package/dist/src/outside-hooks/index.d.ts +0 -5
  239. package/dist/types/index.js +0 -20
@@ -1,21 +1,9 @@
1
- import { NmorphCalloutType } from './types';
1
+ import { INmorphCalloutProps, NmorphCalloutType } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- type?: NmorphCalloutType;
5
- title?: string;
6
- content: string;
7
- color?: string;
8
- padding?: number | string;
9
- borderRadius?: number | string;
10
- accentWidth?: number | string;
11
- titleGap?: number | string;
12
- titleFontSize?: number | string;
13
- contentFontSize?: number | string;
14
- }
15
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
3
+ declare const _default: DefineComponent<INmorphCalloutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphCalloutProps> & Readonly<{}>, {
4
+ title: string;
16
5
  color: string;
17
6
  type: NmorphCalloutType;
18
- title: string;
19
7
  padding: string | number;
20
8
  borderRadius: string | number;
21
9
  accentWidth: string | number;
@@ -1 +1,13 @@
1
1
  export type NmorphCalloutType = 'info' | 'warning' | 'success' | 'error';
2
+ export interface INmorphCalloutProps {
3
+ type?: NmorphCalloutType;
4
+ title?: string;
5
+ content: string;
6
+ color?: string;
7
+ padding?: number | string;
8
+ borderRadius?: number | string;
9
+ accentWidth?: number | string;
10
+ titleGap?: number | string;
11
+ titleFontSize?: number | string;
12
+ contentFontSize?: number | string;
13
+ }
@@ -1,29 +1,14 @@
1
+ import { INmorphDialogProps } from './types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- modelValue?: boolean;
4
- title?: string;
5
- width?: string;
6
- maxHeight?: string;
7
- openDelay?: number;
8
- closeDelay?: number;
9
- /**
10
- * @deprecated Use `closeOnOverlay` instead.
11
- */
12
- closeOnClickModal?: boolean;
13
- showClose?: boolean;
14
- zIndex?: number;
15
- closeOnOverlay?: boolean;
16
- closeOnEscape?: boolean;
17
- }
18
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphDialogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
19
4
  "update:model-value": (value: boolean) => any;
20
5
  "on-close": () => any;
21
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
6
+ }, string, PublicProps, Readonly<INmorphDialogProps> & Readonly<{
22
7
  "onUpdate:model-value"?: (value: boolean) => any;
23
8
  "onOn-close"?: () => any;
24
9
  }>, {
25
- width: string;
26
10
  title: string;
11
+ width: string;
27
12
  maxHeight: string;
28
13
  modelValue: boolean;
29
14
  zIndex: number;
@@ -0,0 +1,20 @@
1
+ export interface INmorphDialogProps {
2
+ modelValue?: boolean;
3
+ title?: string;
4
+ width?: string;
5
+ maxHeight?: string;
6
+ openDelay?: number;
7
+ closeDelay?: number;
8
+ /**
9
+ * @deprecated Use `closeOnOverlay` instead.
10
+ */
11
+ closeOnClickModal?: boolean;
12
+ showClose?: boolean;
13
+ zIndex?: number;
14
+ closeOnOverlay?: boolean;
15
+ closeOnEscape?: boolean;
16
+ }
17
+ export interface INmorphDialogEmit {
18
+ (e: 'on-close'): void;
19
+ (e: 'update:model-value', value: boolean): void;
20
+ }
@@ -1,27 +1,14 @@
1
+ import { INmorphDrawerProps, NmorphDrawerPlacementType } from './types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- type NmorphDrawerPlacementType = 'left' | 'right' | 'top' | 'bottom';
3
- interface INmorphProps {
4
- modelValue?: boolean;
5
- title?: string;
6
- placement?: NmorphDrawerPlacementType;
7
- size?: number | string;
8
- showClose?: boolean;
9
- closeOnOverlay?: boolean;
10
- closeOnEscape?: boolean;
11
- zIndex?: number;
12
- teleportTo?: string | HTMLElement;
13
- disabledTeleport?: boolean;
14
- contentClass?: string;
15
- }
16
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphDrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
17
4
  "update:model-value": (value: boolean) => any;
18
5
  "on-close": () => any;
19
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
6
+ }, string, PublicProps, Readonly<INmorphDrawerProps> & Readonly<{
20
7
  "onUpdate:model-value"?: (value: boolean) => any;
21
8
  "onOn-close"?: () => any;
22
9
  }>, {
23
- size: string | number;
24
10
  title: string;
11
+ size: string | number;
25
12
  modelValue: boolean;
26
13
  zIndex: number;
27
14
  teleportTo: string | HTMLElement;
@@ -0,0 +1,18 @@
1
+ export type NmorphDrawerPlacementType = 'left' | 'right' | 'top' | 'bottom';
2
+ export interface INmorphDrawerProps {
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ placement?: NmorphDrawerPlacementType;
6
+ size?: number | string;
7
+ showClose?: boolean;
8
+ closeOnOverlay?: boolean;
9
+ closeOnEscape?: boolean;
10
+ zIndex?: number;
11
+ teleportTo?: string | HTMLElement;
12
+ disabledTeleport?: boolean;
13
+ contentClass?: string;
14
+ }
15
+ export interface INmorphDrawerEmit {
16
+ (e: 'on-close'): void;
17
+ (e: 'update:model-value', value: boolean): void;
18
+ }
@@ -1,25 +1,16 @@
1
- import { INmorphCoords, NmorphPlacementType } from '../../../types';
1
+ import { INmorphTooltipProps } from './types';
2
2
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- text?: string;
5
- position?: NmorphPlacementType;
6
- forceShow?: boolean;
7
- forceCoordinate?: Partial<INmorphCoords<string>> | null;
8
- zIndex?: number;
9
- width?: number | string;
10
- maxWidth?: number | string;
11
- height?: number | string;
12
- }
13
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
3
+ import { NmorphPlacementType, INmorphCoords } from '../../../types';
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphTooltipProps, {
14
5
  tooltipBody: Ref<HTMLElement, HTMLElement>;
15
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphTooltipProps> & Readonly<{}>, {
16
7
  text: string;
17
8
  height: string | number;
18
9
  width: string | number;
19
10
  zIndex: number;
20
11
  position: NmorphPlacementType;
21
12
  forceShow: boolean;
22
- forceCoordinate: Partial<INmorphCoords<string>>;
13
+ forceCoordinate: Partial< INmorphCoords<string>>;
23
14
  maxWidth: string | number;
24
15
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
25
16
  tooltipDOMRef: HTMLDivElement;
@@ -0,0 +1,11 @@
1
+ import { INmorphCoords, NmorphPlacementType } from '../../../types';
2
+ export interface INmorphTooltipProps {
3
+ text?: string;
4
+ position?: NmorphPlacementType;
5
+ forceShow?: boolean;
6
+ forceCoordinate?: Partial<INmorphCoords<string>> | null;
7
+ zIndex?: number;
8
+ width?: number | string;
9
+ maxWidth?: number | string;
10
+ height?: number | string;
11
+ }
@@ -1,25 +1,12 @@
1
- import { INmorphCommonInputProps } from '../../../types';
2
- import { NmorphAutocompleteActionCallbackType, INmorphAutocompleteListItem } from '../..';
1
+ import { INmorphAutocompleteListItem, NmorphAutocompleteActionCallbackType } from '../..';
2
+ import { INmorphAutocompleteProps } from './types';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- modelValue?: string;
6
- placeholder?: string;
7
- clearable?: boolean;
8
- list: INmorphAutocompleteListItem[];
9
- actionCallback?: NmorphAutocompleteActionCallbackType;
10
- zIndex?: number;
11
- virtual?: boolean;
12
- virtualItemHeight?: number;
13
- virtualMaxHeight?: number | string;
14
- virtualOverscan?: number;
15
- virtualDynamicHeight?: boolean;
16
- }
17
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
18
- select: (value: unknown) => any;
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphAutocompleteProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
19
5
  "update:model-value": (value: string) => any;
20
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
21
- onSelect?: (value: unknown) => any;
6
+ select: (value: unknown) => any;
7
+ }, string, PublicProps, Readonly<INmorphAutocompleteProps> & Readonly<{
22
8
  "onUpdate:model-value"?: (value: string) => any;
9
+ onSelect?: (value: unknown) => any;
23
10
  }>, {
24
11
  height: "basic" | "thick" | "thin";
25
12
  disabled: boolean;
@@ -1,5 +1,23 @@
1
+ import { INmorphCommonInputProps } from '../../../types';
1
2
  export interface INmorphAutocompleteListItem {
2
3
  value: string;
3
4
  [key: string]: unknown;
4
5
  }
5
6
  export type NmorphAutocompleteActionCallbackType = (...args: unknown[]) => Promise<unknown>;
7
+ export interface INmorphAutocompleteProps extends INmorphCommonInputProps {
8
+ modelValue?: string;
9
+ placeholder?: string;
10
+ clearable?: boolean;
11
+ list: INmorphAutocompleteListItem[];
12
+ actionCallback?: NmorphAutocompleteActionCallbackType;
13
+ zIndex?: number;
14
+ virtual?: boolean;
15
+ virtualItemHeight?: number;
16
+ virtualMaxHeight?: number | string;
17
+ virtualOverscan?: number;
18
+ virtualDynamicHeight?: boolean;
19
+ }
20
+ export interface INmorphAutocompleteEmit {
21
+ (e: 'update:model-value', value: string): void;
22
+ (e: 'select', value: unknown): void;
23
+ }
@@ -7,9 +7,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCheckbox
7
7
  }, string, PublicProps, Readonly<INmorphCheckboxOption> & Readonly<{
8
8
  "onUpdate:model-value"?: (val: boolean) => any;
9
9
  }>, {
10
+ label: string;
10
11
  id: string;
11
12
  disabled: boolean;
12
- label: string;
13
13
  modelValue: boolean;
14
14
  design: NmorphCheckboxDesignType;
15
15
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -0,0 +1,3 @@
1
+ export interface INmorphCheckboxEmit {
2
+ (e: 'update:model-value', val: boolean): void;
3
+ }
@@ -1,15 +1,9 @@
1
- import { INmorphCheckboxOption, INmorphCommonInputProps, NmorphCheckboxDesignType, NmorphComponentDirection, NmorphSelectionControlHeightType } from '../../../types';
1
+ import { INmorphCheckboxGroupProps } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps extends Omit<INmorphCommonInputProps, 'height'> {
4
- modelValue: string[];
5
- options?: INmorphCheckboxOption[];
6
- design?: NmorphCheckboxDesignType;
7
- direction?: keyof typeof NmorphComponentDirection;
8
- height?: NmorphSelectionControlHeightType;
9
- }
10
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ import { NmorphCheckboxDesignType, INmorphCheckboxOption } from '../../../types';
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphCheckboxGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
11
5
  "update:model-value": (val: string[]) => any;
12
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
6
+ }, string, PublicProps, Readonly<INmorphCheckboxGroupProps> & Readonly<{
13
7
  "onUpdate:model-value"?: (val: string[]) => any;
14
8
  }>, {
15
9
  height: "basic" | "thick" | "thin" | "extra-thin";
@@ -18,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
18
12
  direction: "row" | "column";
19
13
  design: NmorphCheckboxDesignType;
20
14
  options: INmorphCheckboxOption[];
21
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
15
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
22
16
  default?(_: {}): any;
23
17
  }>;
24
18
  export default _default;
@@ -0,0 +1,11 @@
1
+ import { INmorphCheckboxOption, INmorphCommonInputProps, NmorphCheckboxDesignType, NmorphComponentDirection, NmorphSelectionControlHeightType } from '../../../types';
2
+ export interface INmorphCheckboxGroupProps extends Omit<INmorphCommonInputProps, 'height'> {
3
+ modelValue?: string[];
4
+ options?: INmorphCheckboxOption[];
5
+ design?: NmorphCheckboxDesignType;
6
+ direction?: keyof typeof NmorphComponentDirection;
7
+ height?: NmorphSelectionControlHeightType;
8
+ }
9
+ export interface INmorphCheckboxGroupEmit {
10
+ (e: 'update:model-value', val: string[]): void;
11
+ }
@@ -1,20 +1,15 @@
1
- import { INmorphCommonInputProps } from '../../../types';
1
+ import { INmorphColorPickerProps } from './types';
2
2
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps extends INmorphCommonInputProps {
4
- modelValue?: string;
5
- showValue?: boolean;
6
- displayFormat?: 'hex' | 'rgb' | 'hsl';
7
- }
8
- declare const _default: DefineComponent<INmorphProps, {
9
- inputDOMRef: Ref<HTMLElement, HTMLElement>;
3
+ declare const _default: DefineComponent<INmorphColorPickerProps, {
4
+ inputDOMRef: Ref<HTMLInputElement, HTMLInputElement>;
10
5
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
6
+ "update:model-value": (val: string) => any;
11
7
  blur: () => any;
12
8
  focus: () => any;
13
- "update:model-value": (val: string) => any;
14
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
9
+ }, string, PublicProps, Readonly<INmorphColorPickerProps> & Readonly<{
10
+ "onUpdate:model-value"?: (val: string) => any;
15
11
  onBlur?: () => any;
16
12
  onFocus?: () => any;
17
- "onUpdate:model-value"?: (val: string) => any;
18
13
  }>, {
19
14
  height: "basic" | "thick" | "thin";
20
15
  disabled: boolean;
@@ -0,0 +1,11 @@
1
+ import { INmorphCommonInputProps } from '../../../types';
2
+ export interface INmorphColorPickerProps extends INmorphCommonInputProps {
3
+ modelValue?: string;
4
+ showValue?: boolean;
5
+ displayFormat?: 'hex' | 'rgb' | 'hsl';
6
+ }
7
+ export interface INmorphColorPickerEmit {
8
+ (e: 'update:model-value', val: string): void;
9
+ (e: 'focus'): void;
10
+ (e: 'blur'): void;
11
+ }
@@ -1,25 +1,9 @@
1
- import { INmorphCommonInputProps, NmorphSelectionDateType } from '../../../types';
2
- import { NmorphDateFormatterType, NmorphSelectedDateModelType } from '../..';
1
+ import { NmorphSelectedDateModelType, NmorphDateFormatterType } from '../..';
2
+ import { INmorphDatePickerProps } from './types';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps extends INmorphCommonInputProps {
5
- placeholder?: string;
6
- modelValue: NmorphSelectedDateModelType;
7
- type?: keyof typeof NmorphSelectionDateType;
8
- textSeparator?: string;
9
- initialDate?: Date;
10
- zIndex?: number;
11
- dateLocale?: string | string[];
12
- dateFormatOptions?: Intl.DateTimeFormatOptions;
13
- dateFormat?: string;
14
- dateFormatter?: NmorphDateFormatterType;
15
- valueSeparator?: string;
16
- rangeSeparator?: string;
17
- width?: number | string;
18
- calendarCellHeight?: number | string;
19
- }
20
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ declare const _default: DefineComponent<INmorphDatePickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
21
5
  "update:model-value": (modelValue: NmorphSelectedDateModelType) => any;
22
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
6
+ }, string, PublicProps, Readonly<INmorphDatePickerProps> & Readonly<{
23
7
  "onUpdate:model-value"?: (modelValue: NmorphSelectedDateModelType) => any;
24
8
  }>, {
25
9
  type: "date" | "dates" | "daterange";
@@ -38,7 +22,7 @@ declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentO
38
22
  valueSeparator: string;
39
23
  rangeSeparator: string;
40
24
  calendarCellHeight: string | number;
41
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
25
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
42
26
  nmorphInputDOMRef: HTMLDivElement;
43
27
  }, HTMLDivElement>;
44
28
  export default _default;
@@ -0,0 +1,3 @@
1
+ export interface INmorphClearButtonEmit {
2
+ (e: 'clear'): void;
3
+ }
@@ -1,14 +1,9 @@
1
1
  import { NmorphSelectedDateModelType } from '../../../..';
2
- import { NmorphSelectionDateType } from '../../../../../types';
2
+ import { INmorphDatePickerContentProps } from './types';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- interface INmorphProps {
5
- initialDate?: Date;
6
- selectedValues: NmorphSelectedDateModelType;
7
- type?: keyof typeof NmorphSelectionDateType;
8
- }
9
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
4
+ declare const _default: DefineComponent<INmorphDatePickerContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
5
  "update-selected-value": (selectedValue: NmorphSelectedDateModelType) => any;
11
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
6
+ }, string, PublicProps, Readonly<INmorphDatePickerContentProps> & Readonly<{
12
7
  "onUpdate-selected-value"?: (selectedValue: NmorphSelectedDateModelType) => any;
13
8
  }>, {
14
9
  type: "date" | "dates" | "daterange";
@@ -0,0 +1,10 @@
1
+ import { NmorphSelectedDateModelType } from '../../../..';
2
+ import { NmorphSelectionDateType } from '../../../../../types';
3
+ export interface INmorphDatePickerContentProps {
4
+ initialDate?: Date;
5
+ selectedValues: NmorphSelectedDateModelType;
6
+ type?: keyof typeof NmorphSelectionDateType;
7
+ }
8
+ export interface INmorphDatePickerContentEmit {
9
+ (e: 'update-selected-value', selectedValue: NmorphSelectedDateModelType): void;
10
+ }
@@ -1,16 +1,13 @@
1
+ import { INmorphDatePickerHeaderProps } from './types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- year: number;
4
- month: number;
5
- }
6
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ declare const _default: DefineComponent<INmorphDatePickerHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
7
4
  "prev-month": () => any;
8
5
  "next-month": () => any;
9
6
  "prev-year": () => any;
10
7
  "next-year": () => any;
11
8
  "change-year": () => any;
12
9
  "change-month": () => any;
13
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
10
+ }, string, PublicProps, Readonly<INmorphDatePickerHeaderProps> & Readonly<{
14
11
  "onPrev-month"?: () => any;
15
12
  "onNext-month"?: () => any;
16
13
  "onPrev-year"?: () => any;
@@ -0,0 +1,12 @@
1
+ export interface INmorphDatePickerHeaderProps {
2
+ year: number;
3
+ month: number;
4
+ }
5
+ export interface INmorphDatePickerHeaderEmit {
6
+ (e: 'prev-month'): void;
7
+ (e: 'next-month'): void;
8
+ (e: 'prev-year'): void;
9
+ (e: 'next-year'): void;
10
+ (e: 'change-year'): void;
11
+ (e: 'change-month'): void;
12
+ }
@@ -1,13 +1,10 @@
1
+ import { INmorphYearMonthPickerProps } from './types';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface INmorphProps {
3
- currentDate: Date;
4
- type?: 'year' | 'month';
5
- }
6
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ declare const _default: DefineComponent<INmorphYearMonthPickerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
7
4
  "update-year": (val: string) => any;
8
5
  "update-month": (val: string) => any;
9
6
  "back-to-years": () => any;
10
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
7
+ }, string, PublicProps, Readonly<INmorphYearMonthPickerProps> & Readonly<{
11
8
  "onUpdate-year"?: (val: string) => any;
12
9
  "onUpdate-month"?: (val: string) => any;
13
10
  "onBack-to-years"?: () => any;
@@ -0,0 +1,9 @@
1
+ export interface INmorphYearMonthPickerProps {
2
+ currentDate: Date;
3
+ type?: 'year' | 'month';
4
+ }
5
+ export interface INmorphYearMonthPickerEmit {
6
+ (e: 'update-year', val: string): void;
7
+ (e: 'update-month', val: string): void;
8
+ (e: 'back-to-years'): void;
9
+ }
@@ -0,0 +1,21 @@
1
+ import { NmorphDateFormatterType, NmorphSelectedDateModelType } from '../..';
2
+ import { INmorphCommonInputProps, NmorphSelectionDateType } from '../../../types';
3
+ export interface INmorphDatePickerProps extends INmorphCommonInputProps {
4
+ placeholder?: string;
5
+ modelValue?: NmorphSelectedDateModelType;
6
+ type?: keyof typeof NmorphSelectionDateType;
7
+ textSeparator?: string;
8
+ initialDate?: Date;
9
+ zIndex?: number;
10
+ dateLocale?: string | string[];
11
+ dateFormatOptions?: Intl.DateTimeFormatOptions;
12
+ dateFormat?: string;
13
+ dateFormatter?: NmorphDateFormatterType;
14
+ valueSeparator?: string;
15
+ rangeSeparator?: string;
16
+ width?: number | string;
17
+ calendarCellHeight?: number | string;
18
+ }
19
+ export interface INmorphDatePickerEmit {
20
+ (e: 'update:model-value', modelValue: NmorphSelectedDateModelType): void;
21
+ }
@@ -1,26 +1,21 @@
1
- import { INmorphCustomFileData, NmorphResolutionType } from '../..';
1
+ import { INmorphCustomFileData, INmorphFileUploadValidationError } from '../..';
2
+ import { INmorphFileUploadProps } from './types';
2
3
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- modelValue?: INmorphCustomFileData[];
5
- disabled?: boolean;
6
- multiple?: boolean;
7
- allowedTypes?: Array<NmorphResolutionType | string>;
8
- photoWithPreview?: boolean;
9
- buttonText?: string;
10
- }
11
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFileUploadProps, {
12
5
  inputDOMRef: Ref<HTMLElement, HTMLElement>;
13
6
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
14
7
  "update:model-value": (val: INmorphCustomFileData[]) => any;
15
8
  "on-unsupported-file-type-error": (val: string) => any;
16
- }, string, PublicProps, Readonly<INmorphProps> & Readonly<{
9
+ "on-file-validation-error": (val: INmorphFileUploadValidationError) => any;
10
+ }, string, PublicProps, Readonly<INmorphFileUploadProps> & Readonly<{
17
11
  "onUpdate:model-value"?: (val: INmorphCustomFileData[]) => any;
18
12
  "onOn-unsupported-file-type-error"?: (val: string) => any;
13
+ "onOn-file-validation-error"?: (val: INmorphFileUploadValidationError) => any;
19
14
  }>, {
20
15
  disabled: boolean;
21
16
  modelValue: INmorphCustomFileData[];
22
- multiple: boolean;
23
17
  allowedTypes: string[];
18
+ multiple: boolean;
24
19
  photoWithPreview: boolean;
25
20
  buttonText: string;
26
21
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
@@ -59,3 +59,24 @@ export interface INmorphCustomFileData {
59
59
  data: File;
60
60
  previewUrl: string;
61
61
  }
62
+ export interface INmorphFileUploadValidationError {
63
+ file: File;
64
+ errors: string[];
65
+ }
66
+ export interface INmorphFileUploadProps {
67
+ id?: string;
68
+ name?: string;
69
+ autocomplete?: string;
70
+ tabindex?: number;
71
+ modelValue?: INmorphCustomFileData[];
72
+ disabled?: boolean;
73
+ multiple?: boolean;
74
+ allowedTypes?: Array<NmorphResolutionType | string>;
75
+ photoWithPreview?: boolean;
76
+ buttonText?: string;
77
+ }
78
+ export interface INmorphFileUploadEmit {
79
+ (e: 'update:model-value', val: INmorphCustomFileData[]): void;
80
+ (e: 'on-unsupported-file-type-error', val: string): void;
81
+ (e: 'on-file-validation-error', val: INmorphFileUploadValidationError): void;
82
+ }
@@ -1,13 +1,9 @@
1
- import { NmorphFormValueType } from './types';
1
+ import { INmorphFormProps } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { INmorphUseFormValidation } from '../../../hooks';
4
- interface INmorphProps {
5
- value: NmorphFormValueType;
6
- validateImmediately?: boolean;
7
- }
8
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {
3
+ import { INmorphUseFormValidation } from '../../../hooks/use-form-validation';
4
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFormProps, {
9
5
  formData: INmorphUseFormValidation;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
6
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphFormProps> & Readonly<{}>, {
11
7
  validateImmediately: boolean;
12
8
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>, {
13
9
  default?(_: {}): any;
@@ -1,19 +1,10 @@
1
- import { NmorphComponentHeight } from '../../../../../types';
1
+ import { INmorphFormItemProps } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- id: string;
5
- name?: string;
6
- autocomplete?: string;
7
- height?: keyof typeof NmorphComponentHeight;
8
- label?: string;
9
- showValidationIcon?: boolean;
10
- staticErrorBoxSpace?: boolean;
11
- }
12
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
3
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<INmorphFormItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphFormItemProps> & Readonly<{}>, {
13
4
  name: string;
5
+ label: string;
14
6
  autocomplete: string;
15
7
  height: "basic" | "thick" | "thin";
16
- label: string;
17
8
  showValidationIcon: boolean;
18
9
  staticErrorBoxSpace: boolean;
19
10
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>, {
@@ -1,11 +1,6 @@
1
- import { NmorphComponentHeight } from '../../../../../../../types';
2
- import { Ref, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- interface INmorphProps {
4
- height?: keyof typeof NmorphComponentHeight;
5
- errors?: string[] | Ref<string[]>;
6
- staticHeight?: boolean;
7
- }
8
- declare const _default: DefineComponent<INmorphProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphProps> & Readonly<{}>, {
1
+ import { INmorphErrorBoxProps } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, Ref, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<INmorphErrorBoxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<INmorphErrorBoxProps> & Readonly<{}>, {
9
4
  height: "basic" | "thick" | "thin";
10
5
  errors: string[] | Ref<string[], string[]>;
11
6
  staticHeight: boolean;