@ncds/ui-admin 1.6.4 → 1.7.0

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 (704) hide show
  1. package/dist/cjs/assets/scripts/baseBox.js +148 -0
  2. package/dist/cjs/assets/scripts/comboBox.js +44 -136
  3. package/dist/cjs/assets/scripts/datePicker.js +1 -1
  4. package/dist/cjs/assets/scripts/featuredIcon.js +1 -1
  5. package/dist/cjs/assets/scripts/fileInput/const/classNames.js +1 -5
  6. package/dist/cjs/assets/scripts/fileInput/fileInput.js +79 -0
  7. package/dist/cjs/assets/scripts/fileInput/fileInputModel.js +61 -0
  8. package/dist/cjs/assets/scripts/fileInput/fileInputView.js +147 -0
  9. package/dist/cjs/assets/scripts/fileInput/index.js +3 -3
  10. package/dist/cjs/assets/scripts/imageFileInput/ImageFileInputView.js +1 -1
  11. package/dist/cjs/assets/scripts/selectBox.js +46 -136
  12. package/dist/cjs/assets/scripts/utils/debounce.js +33 -0
  13. package/dist/cjs/assets/scripts/utils/unifiedBox/{DropdownModel.js → dropdownModel.js} +21 -63
  14. package/dist/cjs/assets/scripts/utils/unifiedBox/{UnifiedBoxController.js → unifiedBoxController.js} +11 -43
  15. package/dist/cjs/assets/scripts/utils/unifiedBox/{UnifiedBoxManager.js → unifiedBoxManager.js} +59 -101
  16. package/dist/cjs/src/components/badge/Badge.js +1 -1
  17. package/dist/cjs/src/components/breadcrumb/BreadCrumb.js +1 -1
  18. package/dist/cjs/src/components/button/Button.js +13 -5
  19. package/dist/cjs/src/components/button/ButtonGroup.js +1 -2
  20. package/dist/cjs/src/components/carousel/CarouselArrow.js +2 -2
  21. package/dist/cjs/src/components/carousel/CarouselNumberGroup.js +4 -5
  22. package/dist/cjs/src/components/checkbox/CheckboxInput.js +1 -1
  23. package/dist/cjs/src/components/combobox/ComboBox.js +54 -43
  24. package/dist/cjs/src/components/date-picker/CustomInput.js +3 -1
  25. package/dist/cjs/src/components/date-picker/DatePicker.js +85 -65
  26. package/dist/cjs/src/components/date-picker/RangeDatePicker.js +46 -37
  27. package/dist/cjs/src/components/divider/Divider.js +1 -1
  28. package/dist/cjs/src/components/dot/Dot.js +1 -1
  29. package/dist/cjs/src/components/dropdown/Dropdown.js +3 -2
  30. package/dist/cjs/src/components/featured-icon/FeaturedIcon.js +1 -1
  31. package/dist/cjs/src/components/file-input/FileInput.js +3 -3
  32. package/dist/cjs/src/components/image-file-input/ImageFileInput.js +5 -2
  33. package/dist/cjs/src/components/input/NumberInput.js +1 -1
  34. package/dist/cjs/src/components/notification/index.js +11 -11
  35. package/dist/cjs/src/components/pagination/NavButton.js +3 -1
  36. package/dist/cjs/src/components/pagination/Pagination.js +65 -67
  37. package/dist/cjs/src/components/progress-bar/ProgressBar.js +13 -9
  38. package/dist/cjs/src/components/progress-bar/components/SegmentBar.js +1 -1
  39. package/dist/cjs/src/components/progress-bar/components/SegmentLabels.js +1 -1
  40. package/dist/cjs/src/components/progress-bar/hooks/useProgressBar.js +3 -2
  41. package/dist/cjs/src/components/progress-bar/utils.js +3 -2
  42. package/dist/cjs/src/components/progress-circle/ProgressCircle.js +41 -41
  43. package/dist/cjs/src/components/select/Select.js +2 -2
  44. package/dist/cjs/src/components/selectbox/SelectBox.js +57 -45
  45. package/dist/cjs/src/components/spinner/Spinner.js +5 -4
  46. package/dist/cjs/src/components/spinner/index.js +0 -11
  47. package/dist/cjs/src/components/switch/Switch.js +15 -10
  48. package/dist/cjs/src/components/tab/HorizontalTab.js +5 -3
  49. package/dist/cjs/src/components/tab/TabButton.js +1 -1
  50. package/dist/cjs/src/components/toggle/Toggle.js +13 -15
  51. package/dist/cjs/src/components/tooltip/Tooltip.js +28 -13
  52. package/dist/cjs/src/constant/index.js +8 -8
  53. package/dist/cjs/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
  54. package/dist/cjs/src/hooks/dropdown/useScrollLock.js +26 -19
  55. package/dist/cjs/src/hooks/index.js +4 -4
  56. package/dist/cjs/src/utils/date-picker.js +14 -7
  57. package/dist/cjs/src/utils/dropdown/dropdownUtils.js +6 -8
  58. package/dist/esm/assets/scripts/baseBox.js +143 -0
  59. package/dist/esm/assets/scripts/comboBox.js +44 -136
  60. package/dist/esm/assets/scripts/datePicker.js +1 -1
  61. package/dist/esm/assets/scripts/featuredIcon.js +1 -1
  62. package/dist/esm/assets/scripts/fileInput/const/classNames.js +0 -3
  63. package/dist/esm/assets/scripts/fileInput/fileInput.js +74 -0
  64. package/dist/esm/assets/scripts/fileInput/fileInputModel.js +56 -0
  65. package/dist/esm/assets/scripts/fileInput/fileInputView.js +142 -0
  66. package/dist/esm/assets/scripts/fileInput/index.js +2 -2
  67. package/dist/esm/assets/scripts/imageFileInput/ImageFileInputView.js +2 -2
  68. package/dist/esm/assets/scripts/selectBox.js +46 -136
  69. package/dist/esm/assets/scripts/utils/debounce.js +27 -0
  70. package/dist/esm/assets/scripts/utils/unifiedBox/{DropdownModel.js → dropdownModel.js} +23 -66
  71. package/dist/esm/assets/scripts/utils/unifiedBox/{UnifiedBoxController.js → unifiedBoxController.js} +11 -43
  72. package/dist/esm/assets/scripts/utils/unifiedBox/{UnifiedBoxManager.js → unifiedBoxManager.js} +53 -95
  73. package/dist/esm/src/components/badge/Badge.js +4 -3
  74. package/dist/esm/src/components/badge/BadgeGroup.js +3 -2
  75. package/dist/esm/src/components/badge/utils.js +3 -2
  76. package/dist/esm/src/components/breadcrumb/BreadCrumb.js +4 -3
  77. package/dist/esm/src/components/button/Button.js +13 -5
  78. package/dist/esm/src/components/button/ButtonCloseX.js +3 -2
  79. package/dist/esm/src/components/button/ButtonGroup.js +3 -2
  80. package/dist/esm/src/components/carousel/CarouselArrow.js +2 -2
  81. package/dist/esm/src/components/carousel/CarouselNumberGroup.js +4 -5
  82. package/dist/esm/src/components/checkbox/CheckboxInput.js +1 -1
  83. package/dist/esm/src/components/combobox/ComboBox.js +58 -46
  84. package/dist/esm/src/components/date-picker/CustomInput.js +6 -3
  85. package/dist/esm/src/components/date-picker/DatePicker.js +88 -67
  86. package/dist/esm/src/components/date-picker/RangeDatePicker.js +49 -39
  87. package/dist/esm/src/components/date-picker/RangeDatePickerWithButtons.js +3 -2
  88. package/dist/esm/src/components/divider/Divider.js +1 -1
  89. package/dist/esm/src/components/dot/Dot.js +4 -3
  90. package/dist/esm/src/components/dropdown/Dropdown.js +3 -2
  91. package/dist/esm/src/components/empty-state/EmptyState.js +3 -2
  92. package/dist/esm/src/components/featured-icon/FeaturedIcon.js +4 -3
  93. package/dist/esm/src/components/file-input/FileInput.js +3 -3
  94. package/dist/esm/src/components/image-file-input/ImageFileInput.js +6 -3
  95. package/dist/esm/src/components/input/InputBase.js +3 -2
  96. package/dist/esm/src/components/input/NumberInput.js +1 -1
  97. package/dist/esm/src/components/modal/Modal.js +3 -2
  98. package/dist/esm/src/components/notification/FloatingNotification.js +3 -2
  99. package/dist/esm/src/components/notification/FullWidthNotification.js +3 -2
  100. package/dist/esm/src/components/notification/MessageNotification.js +3 -2
  101. package/dist/esm/src/components/notification/Notification.js +3 -2
  102. package/dist/esm/src/components/notification/index.js +2 -2
  103. package/dist/esm/src/components/pagination/NavButton.js +3 -1
  104. package/dist/esm/src/components/pagination/Pagination.js +65 -67
  105. package/dist/esm/src/components/progress-bar/ProgressBar.js +13 -9
  106. package/dist/esm/src/components/progress-bar/components/SegmentBar.js +1 -1
  107. package/dist/esm/src/components/progress-bar/components/SegmentLabels.js +5 -4
  108. package/dist/esm/src/components/progress-bar/hooks/useProgressBar.js +3 -2
  109. package/dist/esm/src/components/progress-bar/utils.js +7 -5
  110. package/dist/esm/src/components/progress-circle/ProgressCircle.js +41 -41
  111. package/dist/esm/src/components/select/Select.js +2 -2
  112. package/dist/esm/src/components/select-dropdown/SelectDropdown.js +3 -2
  113. package/dist/esm/src/components/selectbox/SelectBox.js +61 -48
  114. package/dist/esm/src/components/spinner/Spinner.js +5 -4
  115. package/dist/esm/src/components/spinner/index.js +1 -2
  116. package/dist/esm/src/components/switch/Switch.js +19 -13
  117. package/dist/esm/src/components/tab/HorizontalTab.js +9 -6
  118. package/dist/esm/src/components/tab/TabButton.js +4 -3
  119. package/dist/esm/src/components/tag/Tag.js +3 -2
  120. package/dist/esm/src/components/toggle/Toggle.js +14 -16
  121. package/dist/esm/src/components/tooltip/Tooltip.js +29 -14
  122. package/dist/esm/src/constant/index.js +2 -2
  123. package/dist/esm/src/hooks/dropdown/useDropdownKeyboard.js +47 -56
  124. package/dist/esm/src/hooks/dropdown/useScrollLock.js +26 -19
  125. package/dist/esm/src/hooks/index.js +3 -3
  126. package/dist/esm/src/utils/date-picker.js +14 -7
  127. package/dist/esm/src/utils/dropdown/dropdownUtils.js +6 -8
  128. package/dist/temp/assets/scripts/baseBox.d.ts +55 -0
  129. package/dist/temp/assets/scripts/baseBox.js +144 -0
  130. package/dist/temp/assets/scripts/comboBox.d.ts +60 -0
  131. package/dist/temp/assets/scripts/comboBox.js +163 -0
  132. package/dist/temp/assets/scripts/datePicker.d.ts +86 -0
  133. package/dist/temp/assets/scripts/datePicker.js +706 -0
  134. package/dist/temp/assets/scripts/featuredIcon.d.ts +22 -0
  135. package/dist/temp/assets/scripts/featuredIcon.js +86 -0
  136. package/dist/temp/assets/scripts/fileInput/const/classNames.d.ts +15 -0
  137. package/dist/temp/assets/scripts/fileInput/const/classNames.js +20 -0
  138. package/dist/temp/assets/scripts/fileInput/const/index.d.ts +2 -0
  139. package/dist/temp/assets/scripts/fileInput/const/index.js +2 -0
  140. package/dist/temp/assets/scripts/fileInput/const/types.d.ts +88 -0
  141. package/dist/temp/assets/scripts/fileInput/const/types.js +7 -0
  142. package/dist/temp/assets/scripts/fileInput/fileInput.d.ts +13 -0
  143. package/dist/temp/assets/scripts/fileInput/fileInput.js +75 -0
  144. package/dist/temp/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
  145. package/dist/temp/assets/scripts/fileInput/fileInputModel.js +45 -0
  146. package/dist/temp/assets/scripts/fileInput/fileInputView.d.ts +42 -0
  147. package/dist/temp/assets/scripts/fileInput/fileInputView.js +142 -0
  148. package/dist/temp/assets/scripts/fileInput/index.d.ts +3 -0
  149. package/dist/temp/assets/scripts/fileInput/index.js +9 -0
  150. package/dist/{types/assets/scripts/fileInput/FileInput.d.ts → temp/assets/scripts/imageFileInput/ImageFileInput.d.ts} +6 -10
  151. package/dist/temp/assets/scripts/imageFileInput/ImageFileInput.js +186 -0
  152. package/dist/{types/assets/scripts/fileInput/FileInputModel.d.ts → temp/assets/scripts/imageFileInput/ImageFileInputModel.d.ts} +8 -5
  153. package/dist/temp/assets/scripts/imageFileInput/ImageFileInputModel.js +234 -0
  154. package/dist/{types/assets/scripts/fileInput/FileInputView.d.ts → temp/assets/scripts/imageFileInput/ImageFileInputView.d.ts} +27 -25
  155. package/dist/temp/assets/scripts/imageFileInput/ImageFileInputView.js +348 -0
  156. package/dist/temp/assets/scripts/imageFileInput/const/classNames.d.ts +19 -0
  157. package/dist/temp/assets/scripts/imageFileInput/const/classNames.js +24 -0
  158. package/dist/temp/assets/scripts/imageFileInput/const/index.d.ts +2 -0
  159. package/dist/temp/assets/scripts/imageFileInput/const/index.js +2 -0
  160. package/dist/temp/assets/scripts/imageFileInput/const/types.d.ts +125 -0
  161. package/dist/temp/assets/scripts/imageFileInput/const/types.js +7 -0
  162. package/dist/temp/assets/scripts/imageFileInput/index.d.ts +3 -0
  163. package/dist/temp/assets/scripts/imageFileInput/index.js +9 -0
  164. package/dist/temp/assets/scripts/index.d.ts +32 -0
  165. package/dist/temp/assets/scripts/index.js +28 -0
  166. package/dist/temp/assets/scripts/modal/Modal.d.ts +27 -0
  167. package/dist/temp/assets/scripts/modal/Modal.js +106 -0
  168. package/dist/temp/assets/scripts/modal/ModalActions.d.ts +18 -0
  169. package/dist/temp/assets/scripts/modal/ModalActions.js +125 -0
  170. package/dist/temp/assets/scripts/modal/ModalContent.d.ts +13 -0
  171. package/dist/temp/assets/scripts/modal/ModalContent.js +41 -0
  172. package/dist/temp/assets/scripts/modal/ModalHeader.d.ts +15 -0
  173. package/dist/temp/assets/scripts/modal/ModalHeader.js +102 -0
  174. package/dist/temp/assets/scripts/modal/const/classNames.d.ts +22 -0
  175. package/dist/temp/assets/scripts/modal/const/classNames.js +23 -0
  176. package/dist/temp/assets/scripts/modal/const/index.d.ts +2 -0
  177. package/dist/temp/assets/scripts/modal/const/index.js +2 -0
  178. package/dist/temp/assets/scripts/modal/const/types.d.ts +61 -0
  179. package/dist/temp/assets/scripts/modal/const/types.js +1 -0
  180. package/dist/temp/assets/scripts/modal/index.d.ts +7 -0
  181. package/dist/temp/assets/scripts/modal/index.js +15 -0
  182. package/dist/temp/assets/scripts/modal/utils/contentUtils.d.ts +10 -0
  183. package/dist/temp/assets/scripts/modal/utils/contentUtils.js +29 -0
  184. package/dist/temp/assets/scripts/notification/FloatingNotification.d.ts +24 -0
  185. package/dist/temp/assets/scripts/notification/FloatingNotification.js +154 -0
  186. package/dist/temp/assets/scripts/notification/FullWidthNotification.d.ts +21 -0
  187. package/dist/temp/assets/scripts/notification/FullWidthNotification.js +94 -0
  188. package/dist/temp/assets/scripts/notification/MessageNotification.d.ts +22 -0
  189. package/dist/temp/assets/scripts/notification/MessageNotification.js +123 -0
  190. package/dist/temp/assets/scripts/notification/Notification.d.ts +21 -0
  191. package/dist/temp/assets/scripts/notification/Notification.js +108 -0
  192. package/dist/temp/assets/scripts/notification/const/classNames.d.ts +43 -0
  193. package/dist/temp/assets/scripts/notification/const/classNames.js +44 -0
  194. package/dist/temp/assets/scripts/notification/const/icons.d.ts +25 -0
  195. package/dist/temp/assets/scripts/notification/const/icons.js +39 -0
  196. package/dist/temp/assets/scripts/notification/const/index.d.ts +5 -0
  197. package/dist/temp/assets/scripts/notification/const/index.js +4 -0
  198. package/dist/temp/assets/scripts/notification/const/sizes.d.ts +32 -0
  199. package/dist/temp/assets/scripts/notification/const/sizes.js +40 -0
  200. package/dist/temp/assets/scripts/notification/const/types.d.ts +19 -0
  201. package/dist/temp/assets/scripts/notification/const/types.js +8 -0
  202. package/dist/temp/assets/scripts/notification/index.d.ts +7 -0
  203. package/dist/temp/assets/scripts/notification/index.js +11 -0
  204. package/dist/temp/assets/scripts/notification/utils.d.ts +8 -0
  205. package/dist/temp/assets/scripts/notification/utils.js +84 -0
  206. package/dist/temp/assets/scripts/progress-bar/ProgressBar.d.ts +67 -0
  207. package/dist/temp/assets/scripts/progress-bar/ProgressBar.js +258 -0
  208. package/dist/temp/assets/scripts/progress-bar/index.d.ts +1 -0
  209. package/dist/temp/assets/scripts/progress-bar/index.js +1 -0
  210. package/dist/temp/assets/scripts/selectBox.d.ts +50 -0
  211. package/dist/temp/assets/scripts/selectBox.js +194 -0
  212. package/dist/temp/assets/scripts/shared/ButtonCloseX.d.ts +5 -0
  213. package/dist/temp/assets/scripts/shared/ButtonCloseX.js +32 -0
  214. package/dist/temp/assets/scripts/slider.d.ts +41 -0
  215. package/dist/temp/assets/scripts/slider.js +331 -0
  216. package/dist/temp/assets/scripts/tab.d.ts +7 -0
  217. package/dist/temp/assets/scripts/tab.js +35 -0
  218. package/dist/temp/assets/scripts/tag/Tag.d.ts +27 -0
  219. package/dist/temp/assets/scripts/tag/Tag.js +267 -0
  220. package/dist/temp/assets/scripts/tag/const/classNames.d.ts +11 -0
  221. package/dist/temp/assets/scripts/tag/const/classNames.js +12 -0
  222. package/dist/temp/assets/scripts/tag/const/index.d.ts +3 -0
  223. package/dist/temp/assets/scripts/tag/const/index.js +3 -0
  224. package/dist/temp/assets/scripts/tag/const/sizes.d.ts +7 -0
  225. package/dist/temp/assets/scripts/tag/const/sizes.js +7 -0
  226. package/dist/temp/assets/scripts/tag/const/types.d.ts +33 -0
  227. package/dist/temp/assets/scripts/tag/const/types.js +1 -0
  228. package/dist/temp/assets/scripts/tag/index.d.ts +3 -0
  229. package/dist/temp/assets/scripts/tag/index.js +9 -0
  230. package/dist/temp/assets/scripts/tooltip/Tooltip.d.ts +54 -0
  231. package/dist/temp/assets/scripts/tooltip/Tooltip.js +360 -0
  232. package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.d.ts +21 -0
  233. package/dist/temp/assets/scripts/tooltip/TooltipLayerManager.js +74 -0
  234. package/dist/temp/assets/scripts/tooltip/const/classNames.d.ts +17 -0
  235. package/dist/temp/assets/scripts/tooltip/const/classNames.js +23 -0
  236. package/dist/temp/assets/scripts/tooltip/const/constants.d.ts +33 -0
  237. package/dist/temp/assets/scripts/tooltip/const/constants.js +46 -0
  238. package/dist/temp/assets/scripts/tooltip/const/icons.d.ts +4 -0
  239. package/dist/temp/assets/scripts/tooltip/const/icons.js +9 -0
  240. package/dist/temp/assets/scripts/tooltip/const/index.d.ts +5 -0
  241. package/dist/temp/assets/scripts/tooltip/const/index.js +4 -0
  242. package/dist/temp/assets/scripts/tooltip/const/templates.d.ts +16 -0
  243. package/dist/temp/assets/scripts/tooltip/const/templates.js +30 -0
  244. package/dist/temp/assets/scripts/tooltip/const/types.d.ts +14 -0
  245. package/dist/temp/assets/scripts/tooltip/const/types.js +1 -0
  246. package/dist/temp/assets/scripts/tooltip/index.d.ts +6 -0
  247. package/dist/temp/assets/scripts/tooltip/index.js +10 -0
  248. package/dist/temp/assets/scripts/tooltip/utils.d.ts +2 -0
  249. package/dist/temp/assets/scripts/tooltip/utils.js +35 -0
  250. package/dist/temp/assets/scripts/utils/debounce.d.ts +8 -0
  251. package/dist/temp/assets/scripts/utils/debounce.js +27 -0
  252. package/dist/{types/assets/scripts/utils/unifiedBox/DOMRenderer.d.ts → temp/assets/scripts/utils/unifiedBox/domRenderer.d.ts} +0 -1
  253. package/dist/temp/assets/scripts/utils/unifiedBox/domRenderer.js +376 -0
  254. package/dist/{types/assets/scripts/utils/unifiedBox/DropdownModel.d.ts → temp/assets/scripts/utils/unifiedBox/dropdownModel.d.ts} +7 -23
  255. package/dist/temp/assets/scripts/utils/unifiedBox/dropdownModel.js +311 -0
  256. package/dist/{types/assets/scripts/utils/unifiedBox/UnifiedBoxController.d.ts → temp/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts} +3 -18
  257. package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxController.js +627 -0
  258. package/dist/{types/assets/scripts/utils/unifiedBox/UnifiedBoxManager.d.ts → temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts} +4 -8
  259. package/dist/temp/assets/scripts/utils/unifiedBox/unifiedBoxManager.js +559 -0
  260. package/dist/temp/constant/color.d.ts +36 -0
  261. package/dist/temp/constant/color.js +34 -0
  262. package/dist/temp/constant/size.d.ts +1 -0
  263. package/dist/temp/constant/size.js +1 -0
  264. package/dist/temp/index.d.ts +29 -0
  265. package/dist/temp/index.js +29 -0
  266. package/dist/temp/src/components/badge/Badge.d.ts +18 -0
  267. package/dist/temp/src/components/badge/Badge.js +23 -0
  268. package/dist/temp/src/components/badge/BadgeGroup.d.ts +18 -0
  269. package/dist/temp/src/components/badge/BadgeGroup.js +36 -0
  270. package/dist/temp/src/components/badge/index.d.ts +2 -0
  271. package/dist/temp/src/components/badge/index.js +2 -0
  272. package/dist/temp/src/components/badge/utils.d.ts +8 -0
  273. package/dist/temp/src/components/badge/utils.js +17 -0
  274. package/dist/temp/src/components/breadcrumb/BreadCrumb.d.ts +11 -0
  275. package/dist/temp/src/components/breadcrumb/BreadCrumb.js +33 -0
  276. package/dist/temp/src/components/breadcrumb/index.d.ts +1 -0
  277. package/dist/temp/src/components/breadcrumb/index.js +1 -0
  278. package/dist/temp/src/components/button/Button.d.ts +35 -0
  279. package/dist/temp/src/components/button/Button.js +69 -0
  280. package/dist/temp/src/components/button/ButtonCloseX.d.ts +10 -0
  281. package/dist/temp/src/components/button/ButtonCloseX.js +25 -0
  282. package/dist/temp/src/components/button/ButtonGroup.d.ts +311 -0
  283. package/dist/temp/src/components/button/ButtonGroup.js +72 -0
  284. package/dist/temp/src/components/button/ButtonStepper.d.ts +9 -0
  285. package/dist/temp/src/components/button/ButtonStepper.js +6 -0
  286. package/dist/temp/src/components/button/index.d.ts +4 -0
  287. package/dist/temp/src/components/button/index.js +4 -0
  288. package/dist/temp/src/components/carousel/CarouselArrow.d.ts +8 -0
  289. package/dist/temp/src/components/carousel/CarouselArrow.js +24 -0
  290. package/dist/temp/src/components/carousel/CarouselNumberGroup.d.ts +8 -0
  291. package/dist/temp/src/components/carousel/CarouselNumberGroup.js +24 -0
  292. package/dist/temp/src/components/carousel/index.d.ts +2 -0
  293. package/dist/temp/src/components/carousel/index.js +2 -0
  294. package/dist/temp/src/components/checkbox/Checkbox.d.ts +7 -0
  295. package/dist/temp/src/components/checkbox/Checkbox.js +30 -0
  296. package/dist/temp/src/components/checkbox/CheckboxInput.d.ts +9 -0
  297. package/dist/temp/src/components/checkbox/CheckboxInput.js +46 -0
  298. package/dist/temp/src/components/checkbox/index.d.ts +2 -0
  299. package/dist/temp/src/components/checkbox/index.js +2 -0
  300. package/dist/temp/src/components/combobox/ComboBox.d.ts +28 -0
  301. package/dist/temp/src/components/combobox/ComboBox.js +199 -0
  302. package/dist/temp/src/components/combobox/index.d.ts +2 -0
  303. package/dist/temp/src/components/combobox/index.js +1 -0
  304. package/dist/temp/src/components/date-picker/CustomInput.d.ts +10 -0
  305. package/dist/temp/src/components/date-picker/CustomInput.js +34 -0
  306. package/dist/temp/src/components/date-picker/DatePicker.d.ts +24 -0
  307. package/dist/temp/src/components/date-picker/DatePicker.js +326 -0
  308. package/dist/temp/src/components/date-picker/RangeDatePicker.d.ts +26 -0
  309. package/dist/temp/src/components/date-picker/RangeDatePicker.js +117 -0
  310. package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.d.ts +71 -0
  311. package/dist/temp/src/components/date-picker/RangeDatePickerWithButtons.js +55 -0
  312. package/dist/temp/src/components/date-picker/index.d.ts +4 -0
  313. package/dist/temp/src/components/date-picker/index.js +4 -0
  314. package/dist/temp/src/components/date-picker/utils.d.ts +2 -0
  315. package/dist/temp/src/components/date-picker/utils.js +8 -0
  316. package/dist/temp/src/components/divider/Divider.d.ts +15 -0
  317. package/dist/temp/src/components/divider/Divider.js +23 -0
  318. package/dist/temp/src/components/divider/index.d.ts +1 -0
  319. package/dist/temp/src/components/divider/index.js +1 -0
  320. package/dist/temp/src/components/dot/Dot.d.ts +24 -0
  321. package/dist/temp/src/components/dot/Dot.js +31 -0
  322. package/dist/temp/src/components/dot/index.d.ts +1 -0
  323. package/dist/temp/src/components/dot/index.js +1 -0
  324. package/dist/temp/src/components/dropdown/Dropdown.d.ts +52 -0
  325. package/dist/temp/src/components/dropdown/Dropdown.js +90 -0
  326. package/dist/temp/src/components/dropdown/index.d.ts +1 -0
  327. package/dist/temp/src/components/dropdown/index.js +1 -0
  328. package/dist/temp/src/components/empty-state/EmptyState.d.ts +14 -0
  329. package/dist/temp/src/components/empty-state/EmptyState.js +33 -0
  330. package/dist/temp/src/components/empty-state/index.d.ts +1 -0
  331. package/dist/temp/src/components/empty-state/index.js +1 -0
  332. package/dist/temp/src/components/featured-icon/FeaturedIcon.d.ts +15 -0
  333. package/dist/temp/src/components/featured-icon/FeaturedIcon.js +36 -0
  334. package/dist/temp/src/components/featured-icon/index.d.ts +1 -0
  335. package/dist/temp/src/components/featured-icon/index.js +1 -0
  336. package/dist/temp/src/components/file-input/FileInput.d.ts +61 -0
  337. package/dist/temp/src/components/file-input/FileInput.js +123 -0
  338. package/dist/temp/src/components/file-input/index.d.ts +1 -0
  339. package/dist/temp/src/components/file-input/index.js +1 -0
  340. package/dist/temp/src/components/image-file-input/ImageFileInput.d.ts +70 -0
  341. package/dist/temp/src/components/image-file-input/ImageFileInput.js +124 -0
  342. package/dist/temp/src/components/image-file-input/components/ImagePreview.d.ts +5 -0
  343. package/dist/temp/src/components/image-file-input/components/ImagePreview.js +18 -0
  344. package/dist/temp/src/components/image-file-input/index.d.ts +1 -0
  345. package/dist/temp/src/components/image-file-input/index.js +1 -0
  346. package/dist/temp/src/components/index.d.ts +33 -0
  347. package/dist/temp/src/components/index.js +32 -0
  348. package/dist/temp/src/components/input/InputBase.d.ts +54 -0
  349. package/dist/temp/src/components/input/InputBase.js +121 -0
  350. package/dist/temp/src/components/input/NumberInput.d.ts +9 -0
  351. package/dist/temp/src/components/input/NumberInput.js +93 -0
  352. package/dist/temp/src/components/input/PasswordInput.d.ts +2 -0
  353. package/dist/temp/src/components/input/PasswordInput.js +51 -0
  354. package/dist/temp/src/components/input/Textarea.d.ts +14 -0
  355. package/dist/temp/src/components/input/Textarea.js +60 -0
  356. package/dist/temp/src/components/input/index.d.ts +4 -0
  357. package/dist/temp/src/components/input/index.js +4 -0
  358. package/dist/temp/src/components/modal/Modal.d.ts +79 -0
  359. package/dist/temp/src/components/modal/Modal.js +101 -0
  360. package/dist/temp/src/components/modal/index.d.ts +1 -0
  361. package/dist/temp/src/components/modal/index.js +1 -0
  362. package/dist/temp/src/components/notification/FloatingNotification.d.ts +37 -0
  363. package/dist/temp/src/components/notification/FloatingNotification.js +79 -0
  364. package/dist/temp/src/components/notification/FullWidthNotification.d.ts +46 -0
  365. package/dist/temp/src/components/notification/FullWidthNotification.js +79 -0
  366. package/dist/temp/src/components/notification/MessageNotification.d.ts +41 -0
  367. package/dist/temp/src/components/notification/MessageNotification.js +57 -0
  368. package/dist/temp/src/components/notification/Notification.d.ts +72 -0
  369. package/dist/temp/src/components/notification/Notification.js +42 -0
  370. package/dist/temp/src/components/notification/index.d.ts +4 -0
  371. package/dist/temp/src/components/notification/index.js +4 -0
  372. package/dist/temp/src/components/pagination/NavButton.d.ts +31 -0
  373. package/dist/temp/src/components/pagination/NavButton.js +66 -0
  374. package/dist/temp/src/components/pagination/Pagination.d.ts +11 -0
  375. package/dist/temp/src/components/pagination/Pagination.js +93 -0
  376. package/dist/temp/src/components/pagination/index.d.ts +2 -0
  377. package/dist/temp/src/components/pagination/index.js +2 -0
  378. package/dist/temp/src/components/progress-bar/ProgressBar.d.ts +2 -0
  379. package/dist/temp/src/components/progress-bar/ProgressBar.js +31 -0
  380. package/dist/temp/src/components/progress-bar/components/SegmentBar.d.ts +7 -0
  381. package/dist/temp/src/components/progress-bar/components/SegmentBar.js +10 -0
  382. package/dist/temp/src/components/progress-bar/components/SegmentLabels.d.ts +15 -0
  383. package/dist/temp/src/components/progress-bar/components/SegmentLabels.js +45 -0
  384. package/dist/temp/src/components/progress-bar/hooks/useProgressBar.d.ts +13 -0
  385. package/dist/temp/src/components/progress-bar/hooks/useProgressBar.js +96 -0
  386. package/dist/temp/src/components/progress-bar/index.d.ts +2 -0
  387. package/dist/temp/src/components/progress-bar/index.js +2 -0
  388. package/dist/temp/src/components/progress-bar/types.d.ts +15 -0
  389. package/dist/temp/src/components/progress-bar/types.js +1 -0
  390. package/dist/temp/src/components/progress-bar/utils.d.ts +13 -0
  391. package/dist/temp/src/components/progress-bar/utils.js +26 -0
  392. package/dist/temp/src/components/progress-circle/ProgressCircle.d.ts +7 -0
  393. package/dist/temp/src/components/progress-circle/ProgressCircle.js +21 -0
  394. package/dist/temp/src/components/progress-circle/index.d.ts +1 -0
  395. package/dist/temp/src/components/progress-circle/index.js +1 -0
  396. package/dist/temp/src/components/radio/Radio.d.ts +7 -0
  397. package/dist/temp/src/components/radio/Radio.js +30 -0
  398. package/dist/temp/src/components/radio/RadioInput.d.ts +8 -0
  399. package/dist/temp/src/components/radio/RadioInput.js +29 -0
  400. package/dist/temp/src/components/radio/index.d.ts +2 -0
  401. package/dist/temp/src/components/radio/index.js +2 -0
  402. package/dist/temp/src/components/select/Select.d.ts +16 -0
  403. package/dist/temp/src/components/select/Select.js +33 -0
  404. package/dist/temp/src/components/select/index.d.ts +1 -0
  405. package/dist/temp/src/components/select/index.js +1 -0
  406. package/dist/temp/src/components/select-dropdown/SelectDropdown.d.ts +29 -0
  407. package/dist/temp/src/components/select-dropdown/SelectDropdown.js +49 -0
  408. package/dist/temp/src/components/select-dropdown/index.d.ts +1 -0
  409. package/dist/temp/src/components/select-dropdown/index.js +1 -0
  410. package/dist/temp/src/components/selectbox/SelectBox.d.ts +27 -0
  411. package/dist/temp/src/components/selectbox/SelectBox.js +163 -0
  412. package/dist/temp/src/components/selectbox/index.d.ts +1 -0
  413. package/dist/temp/src/components/selectbox/index.js +1 -0
  414. package/dist/temp/src/components/shared/hintText/HintText.d.ts +7 -0
  415. package/dist/temp/src/components/shared/hintText/HintText.js +28 -0
  416. package/dist/temp/src/components/shared/hintText/index.d.ts +1 -0
  417. package/dist/temp/src/components/shared/hintText/index.js +1 -0
  418. package/dist/temp/src/components/shared/index.d.ts +2 -0
  419. package/dist/temp/src/components/shared/index.js +2 -0
  420. package/dist/temp/src/components/shared/label/Label.d.ts +7 -0
  421. package/dist/temp/src/components/shared/label/Label.js +28 -0
  422. package/dist/temp/src/components/shared/label/index.d.ts +1 -0
  423. package/dist/temp/src/components/shared/label/index.js +1 -0
  424. package/dist/temp/src/components/slider/Slider.d.ts +14 -0
  425. package/dist/temp/src/components/slider/Slider.js +44 -0
  426. package/dist/temp/src/components/slider/index.d.ts +1 -0
  427. package/dist/temp/src/components/slider/index.js +1 -0
  428. package/dist/temp/src/components/spinner/Spinner.d.ts +9 -0
  429. package/dist/temp/src/components/spinner/Spinner.js +21 -0
  430. package/dist/temp/src/components/spinner/index.d.ts +1 -0
  431. package/dist/temp/src/components/spinner/index.js +1 -0
  432. package/dist/temp/src/components/switch/Switch.d.ts +22 -0
  433. package/dist/temp/src/components/switch/Switch.js +68 -0
  434. package/dist/temp/src/components/switch/index.d.ts +2 -0
  435. package/dist/temp/src/components/switch/index.js +1 -0
  436. package/dist/temp/src/components/tab/HorizontalTab.d.ts +12 -0
  437. package/dist/temp/src/components/tab/HorizontalTab.js +37 -0
  438. package/dist/temp/src/components/tab/TabButton.d.ts +23 -0
  439. package/dist/temp/src/components/tab/TabButton.js +37 -0
  440. package/dist/temp/src/components/tab/VerticalTab.d.ts +9 -0
  441. package/dist/temp/src/components/tab/VerticalTab.js +32 -0
  442. package/dist/temp/src/components/tab/index.d.ts +3 -0
  443. package/dist/temp/src/components/tab/index.js +3 -0
  444. package/dist/temp/src/components/tag/Tag.d.ts +17 -0
  445. package/dist/temp/src/components/tag/Tag.js +110 -0
  446. package/dist/temp/src/components/tag/index.d.ts +1 -0
  447. package/dist/temp/src/components/tag/index.js +1 -0
  448. package/dist/temp/src/components/toggle/Toggle.d.ts +10 -0
  449. package/dist/temp/src/components/toggle/Toggle.js +30 -0
  450. package/dist/temp/src/components/toggle/index.d.ts +1 -0
  451. package/dist/temp/src/components/toggle/index.js +1 -0
  452. package/dist/temp/src/components/tooltip/Tooltip.d.ts +15 -0
  453. package/dist/temp/src/components/tooltip/Tooltip.js +122 -0
  454. package/dist/temp/src/components/tooltip/index.d.ts +1 -0
  455. package/dist/temp/src/components/tooltip/index.js +1 -0
  456. package/dist/temp/src/constant/breakpoint.d.ts +6 -0
  457. package/dist/temp/src/constant/breakpoint.js +6 -0
  458. package/dist/temp/src/constant/date-picker.d.ts +63 -0
  459. package/dist/temp/src/constant/date-picker.js +53 -0
  460. package/dist/temp/src/constant/index.d.ts +2 -0
  461. package/dist/temp/src/constant/index.js +2 -0
  462. package/dist/temp/src/constant/size.d.ts +1 -0
  463. package/dist/temp/src/constant/size.js +1 -0
  464. package/dist/temp/src/hooks/dropdown/index.d.ts +6 -0
  465. package/dist/temp/src/hooks/dropdown/index.js +6 -0
  466. package/dist/temp/src/hooks/dropdown/useDropdown.d.ts +29 -0
  467. package/dist/temp/src/hooks/dropdown/useDropdown.js +84 -0
  468. package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.d.ts +10 -0
  469. package/dist/temp/src/hooks/dropdown/useDropdownKeyboard.js +108 -0
  470. package/dist/temp/src/hooks/dropdown/useDropdownPosition.d.ts +9 -0
  471. package/dist/temp/src/hooks/dropdown/useDropdownPosition.js +18 -0
  472. package/dist/temp/src/hooks/dropdown/useOutsideClick.d.ts +5 -0
  473. package/dist/temp/src/hooks/dropdown/useOutsideClick.js +23 -0
  474. package/dist/temp/src/hooks/dropdown/useScrollLock.d.ts +4 -0
  475. package/dist/temp/src/hooks/dropdown/useScrollLock.js +72 -0
  476. package/dist/temp/src/hooks/dropdown/useWindowResize.d.ts +7 -0
  477. package/dist/temp/src/hooks/dropdown/useWindowResize.js +44 -0
  478. package/dist/temp/src/hooks/index.d.ts +4 -0
  479. package/dist/temp/src/hooks/index.js +6 -0
  480. package/dist/temp/src/hooks/useCallbackRef.d.ts +27 -0
  481. package/dist/temp/src/hooks/useCallbackRef.js +44 -0
  482. package/dist/temp/src/hooks/useMediaQuery.d.ts +5 -0
  483. package/dist/temp/src/hooks/useMediaQuery.js +20 -0
  484. package/dist/temp/src/hooks/useMergeRefs.d.ts +20 -0
  485. package/dist/temp/src/hooks/useMergeRefs.js +31 -0
  486. package/dist/temp/src/types/dropdown/dropdown.d.ts +39 -0
  487. package/dist/temp/src/types/dropdown/dropdown.js +1 -0
  488. package/dist/temp/src/types/dropdown/index.d.ts +2 -0
  489. package/dist/temp/src/types/dropdown/index.js +2 -0
  490. package/dist/temp/src/types/dropdown/option.d.ts +23 -0
  491. package/dist/temp/src/types/dropdown/option.js +1 -0
  492. package/dist/temp/src/types/index.d.ts +2 -0
  493. package/dist/temp/src/types/index.js +2 -0
  494. package/dist/temp/src/types/side-slot.d.ts +25 -0
  495. package/dist/temp/src/types/side-slot.js +1 -0
  496. package/dist/temp/src/utils/date-picker.d.ts +11 -0
  497. package/dist/temp/src/utils/date-picker.js +51 -0
  498. package/dist/temp/src/utils/dropdown/dropdownUtils.d.ts +17 -0
  499. package/dist/temp/src/utils/dropdown/dropdownUtils.js +79 -0
  500. package/dist/temp/src/utils/dropdown/index.d.ts +2 -0
  501. package/dist/temp/src/utils/dropdown/index.js +2 -0
  502. package/dist/temp/src/utils/dropdown/multiSelect.d.ts +31 -0
  503. package/dist/temp/src/utils/dropdown/multiSelect.js +68 -0
  504. package/dist/temp/src/utils/index.d.ts +2 -0
  505. package/dist/temp/src/utils/index.js +4 -0
  506. package/dist/types/assets/scripts/baseBox.d.ts +55 -0
  507. package/dist/types/assets/scripts/comboBox.d.ts +7 -38
  508. package/dist/types/assets/scripts/datePicker.d.ts +0 -1
  509. package/dist/types/assets/scripts/featuredIcon.d.ts +0 -1
  510. package/dist/types/assets/scripts/fileInput/const/classNames.d.ts +0 -2
  511. package/dist/types/assets/scripts/fileInput/const/index.d.ts +0 -1
  512. package/dist/types/assets/scripts/fileInput/const/types.d.ts +4 -48
  513. package/dist/types/assets/scripts/fileInput/fileInput.d.ts +13 -0
  514. package/dist/types/assets/scripts/fileInput/fileInputModel.d.ts +12 -0
  515. package/dist/types/assets/scripts/fileInput/fileInputView.d.ts +42 -0
  516. package/dist/types/assets/scripts/fileInput/index.d.ts +1 -2
  517. package/dist/types/assets/scripts/imageFileInput/ImageFileInput.d.ts +0 -1
  518. package/dist/types/assets/scripts/imageFileInput/ImageFileInputModel.d.ts +0 -1
  519. package/dist/types/assets/scripts/imageFileInput/ImageFileInputView.d.ts +0 -1
  520. package/dist/types/assets/scripts/imageFileInput/const/classNames.d.ts +0 -1
  521. package/dist/types/assets/scripts/imageFileInput/const/index.d.ts +0 -1
  522. package/dist/types/assets/scripts/imageFileInput/const/types.d.ts +0 -1
  523. package/dist/types/assets/scripts/imageFileInput/index.d.ts +0 -1
  524. package/dist/types/assets/scripts/index.d.ts +0 -1
  525. package/dist/types/assets/scripts/modal/Modal.d.ts +0 -1
  526. package/dist/types/assets/scripts/modal/ModalActions.d.ts +0 -1
  527. package/dist/types/assets/scripts/modal/ModalContent.d.ts +0 -1
  528. package/dist/types/assets/scripts/modal/ModalHeader.d.ts +0 -1
  529. package/dist/types/assets/scripts/modal/const/classNames.d.ts +0 -1
  530. package/dist/types/assets/scripts/modal/const/index.d.ts +0 -1
  531. package/dist/types/assets/scripts/modal/const/types.d.ts +0 -1
  532. package/dist/types/assets/scripts/modal/index.d.ts +0 -1
  533. package/dist/types/assets/scripts/modal/utils/contentUtils.d.ts +0 -1
  534. package/dist/types/assets/scripts/notification/FloatingNotification.d.ts +0 -1
  535. package/dist/types/assets/scripts/notification/FullWidthNotification.d.ts +0 -1
  536. package/dist/types/assets/scripts/notification/MessageNotification.d.ts +0 -1
  537. package/dist/types/assets/scripts/notification/Notification.d.ts +0 -1
  538. package/dist/types/assets/scripts/notification/const/classNames.d.ts +0 -1
  539. package/dist/types/assets/scripts/notification/const/icons.d.ts +0 -1
  540. package/dist/types/assets/scripts/notification/const/index.d.ts +0 -1
  541. package/dist/types/assets/scripts/notification/const/sizes.d.ts +0 -1
  542. package/dist/types/assets/scripts/notification/const/types.d.ts +0 -1
  543. package/dist/types/assets/scripts/notification/index.d.ts +0 -1
  544. package/dist/types/assets/scripts/notification/utils.d.ts +0 -1
  545. package/dist/types/assets/scripts/progress-bar/ProgressBar.d.ts +0 -1
  546. package/dist/types/assets/scripts/progress-bar/index.d.ts +0 -1
  547. package/dist/types/assets/scripts/selectBox.d.ts +6 -33
  548. package/dist/types/assets/scripts/shared/ButtonCloseX.d.ts +0 -1
  549. package/dist/types/assets/scripts/slider.d.ts +0 -1
  550. package/dist/types/assets/scripts/tab.d.ts +0 -1
  551. package/dist/types/assets/scripts/tag/Tag.d.ts +0 -1
  552. package/dist/types/assets/scripts/tag/const/classNames.d.ts +0 -1
  553. package/dist/types/assets/scripts/tag/const/index.d.ts +0 -1
  554. package/dist/types/assets/scripts/tag/const/sizes.d.ts +0 -1
  555. package/dist/types/assets/scripts/tag/const/types.d.ts +0 -1
  556. package/dist/types/assets/scripts/tag/index.d.ts +0 -1
  557. package/dist/types/assets/scripts/tooltip/Tooltip.d.ts +0 -1
  558. package/dist/types/assets/scripts/tooltip/TooltipLayerManager.d.ts +0 -1
  559. package/dist/types/assets/scripts/tooltip/const/classNames.d.ts +0 -1
  560. package/dist/types/assets/scripts/tooltip/const/constants.d.ts +0 -1
  561. package/dist/types/assets/scripts/tooltip/const/icons.d.ts +0 -1
  562. package/dist/types/assets/scripts/tooltip/const/index.d.ts +0 -1
  563. package/dist/types/assets/scripts/tooltip/const/templates.d.ts +0 -1
  564. package/dist/types/assets/scripts/tooltip/const/types.d.ts +0 -1
  565. package/dist/types/assets/scripts/tooltip/index.d.ts +0 -1
  566. package/dist/types/assets/scripts/tooltip/utils.d.ts +0 -1
  567. package/dist/types/assets/scripts/utils/debounce.d.ts +8 -0
  568. package/dist/types/assets/scripts/utils/unifiedBox/domRenderer.d.ts +107 -0
  569. package/dist/types/assets/scripts/utils/unifiedBox/dropdownModel.d.ts +142 -0
  570. package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxController.d.ts +156 -0
  571. package/dist/types/assets/scripts/utils/unifiedBox/unifiedBoxManager.d.ts +95 -0
  572. package/dist/types/constant/color.d.ts +0 -1
  573. package/dist/types/constant/size.d.ts +0 -1
  574. package/dist/types/index.d.ts +0 -1
  575. package/dist/types/src/components/badge/Badge.d.ts +10 -9
  576. package/dist/types/src/components/badge/BadgeGroup.d.ts +7 -6
  577. package/dist/types/src/components/badge/index.d.ts +0 -1
  578. package/dist/types/src/components/badge/utils.d.ts +4 -3
  579. package/dist/types/src/components/breadcrumb/BreadCrumb.d.ts +5 -4
  580. package/dist/types/src/components/breadcrumb/index.d.ts +0 -1
  581. package/dist/types/src/components/button/Button.d.ts +2 -1
  582. package/dist/types/src/components/button/ButtonCloseX.d.ts +4 -3
  583. package/dist/types/src/components/button/ButtonGroup.d.ts +7 -9
  584. package/dist/types/src/components/button/ButtonStepper.d.ts +1 -2
  585. package/dist/types/src/components/button/index.d.ts +0 -1
  586. package/dist/types/src/components/carousel/CarouselArrow.d.ts +1 -3
  587. package/dist/types/src/components/carousel/CarouselNumberGroup.d.ts +1 -3
  588. package/dist/types/src/components/carousel/index.d.ts +0 -1
  589. package/dist/types/src/components/checkbox/Checkbox.d.ts +2 -3
  590. package/dist/types/src/components/checkbox/CheckboxInput.d.ts +2 -3
  591. package/dist/types/src/components/checkbox/index.d.ts +0 -1
  592. package/dist/types/src/components/combobox/ComboBox.d.ts +7 -6
  593. package/dist/types/src/components/combobox/index.d.ts +1 -2
  594. package/dist/types/src/components/date-picker/CustomInput.d.ts +2 -3
  595. package/dist/types/src/components/date-picker/DatePicker.d.ts +7 -6
  596. package/dist/types/src/components/date-picker/RangeDatePicker.d.ts +6 -5
  597. package/dist/types/src/components/date-picker/RangeDatePickerWithButtons.d.ts +4 -4
  598. package/dist/types/src/components/date-picker/index.d.ts +0 -1
  599. package/dist/types/src/components/date-picker/utils.d.ts +0 -1
  600. package/dist/types/src/components/divider/Divider.d.ts +1 -2
  601. package/dist/types/src/components/divider/index.d.ts +0 -1
  602. package/dist/types/src/components/dot/Dot.d.ts +9 -8
  603. package/dist/types/src/components/dot/index.d.ts +0 -1
  604. package/dist/types/src/components/dropdown/Dropdown.d.ts +0 -1
  605. package/dist/types/src/components/dropdown/index.d.ts +0 -1
  606. package/dist/types/src/components/empty-state/EmptyState.d.ts +5 -5
  607. package/dist/types/src/components/empty-state/index.d.ts +0 -1
  608. package/dist/types/src/components/featured-icon/FeaturedIcon.d.ts +8 -7
  609. package/dist/types/src/components/featured-icon/index.d.ts +0 -1
  610. package/dist/types/src/components/file-input/FileInput.d.ts +0 -1
  611. package/dist/types/src/components/file-input/index.d.ts +0 -1
  612. package/dist/types/src/components/image-file-input/ImageFileInput.d.ts +0 -1
  613. package/dist/types/src/components/image-file-input/components/ImagePreview.d.ts +0 -1
  614. package/dist/types/src/components/image-file-input/index.d.ts +0 -1
  615. package/dist/types/src/components/index.d.ts +1 -2
  616. package/dist/types/src/components/input/InputBase.d.ts +4 -4
  617. package/dist/types/src/components/input/NumberInput.d.ts +1 -2
  618. package/dist/types/src/components/input/PasswordInput.d.ts +1 -2
  619. package/dist/types/src/components/input/Textarea.d.ts +2 -3
  620. package/dist/types/src/components/input/index.d.ts +0 -1
  621. package/dist/types/src/components/modal/Modal.d.ts +13 -12
  622. package/dist/types/src/components/modal/index.d.ts +0 -1
  623. package/dist/types/src/components/notification/FloatingNotification.d.ts +6 -5
  624. package/dist/types/src/components/notification/FullWidthNotification.d.ts +6 -5
  625. package/dist/types/src/components/notification/MessageNotification.d.ts +6 -5
  626. package/dist/types/src/components/notification/Notification.d.ts +11 -10
  627. package/dist/types/src/components/notification/index.d.ts +1 -2
  628. package/dist/types/src/components/pagination/NavButton.d.ts +0 -1
  629. package/dist/types/src/components/pagination/Pagination.d.ts +0 -1
  630. package/dist/types/src/components/pagination/index.d.ts +0 -1
  631. package/dist/types/src/components/progress-bar/ProgressBar.d.ts +0 -1
  632. package/dist/types/src/components/progress-bar/components/SegmentBar.d.ts +0 -1
  633. package/dist/types/src/components/progress-bar/components/SegmentLabels.d.ts +3 -4
  634. package/dist/types/src/components/progress-bar/hooks/useProgressBar.d.ts +1 -2
  635. package/dist/types/src/components/progress-bar/index.d.ts +0 -1
  636. package/dist/types/src/components/progress-bar/types.d.ts +0 -1
  637. package/dist/types/src/components/progress-bar/utils.d.ts +4 -4
  638. package/dist/types/src/components/progress-circle/ProgressCircle.d.ts +0 -1
  639. package/dist/types/src/components/progress-circle/index.d.ts +0 -1
  640. package/dist/types/src/components/radio/Radio.d.ts +2 -3
  641. package/dist/types/src/components/radio/RadioInput.d.ts +2 -3
  642. package/dist/types/src/components/radio/index.d.ts +0 -1
  643. package/dist/types/src/components/select/Select.d.ts +4 -5
  644. package/dist/types/src/components/select/index.d.ts +0 -1
  645. package/dist/types/src/components/select-dropdown/SelectDropdown.d.ts +6 -6
  646. package/dist/types/src/components/select-dropdown/index.d.ts +1 -2
  647. package/dist/types/src/components/selectbox/SelectBox.d.ts +5 -4
  648. package/dist/types/src/components/selectbox/index.d.ts +0 -1
  649. package/dist/types/src/components/shared/hintText/HintText.d.ts +0 -1
  650. package/dist/types/src/components/shared/hintText/index.d.ts +0 -1
  651. package/dist/types/src/components/shared/index.d.ts +0 -1
  652. package/dist/types/src/components/shared/label/Label.d.ts +0 -1
  653. package/dist/types/src/components/shared/label/index.d.ts +0 -1
  654. package/dist/types/src/components/slider/Slider.d.ts +1 -2
  655. package/dist/types/src/components/slider/index.d.ts +0 -1
  656. package/dist/types/src/components/spinner/Spinner.d.ts +1 -2
  657. package/dist/types/src/components/spinner/index.d.ts +0 -2
  658. package/dist/types/src/components/switch/Switch.d.ts +7 -7
  659. package/dist/types/src/components/switch/index.d.ts +1 -2
  660. package/dist/types/src/components/tab/HorizontalTab.d.ts +5 -4
  661. package/dist/types/src/components/tab/TabButton.d.ts +8 -8
  662. package/dist/types/src/components/tab/VerticalTab.d.ts +2 -3
  663. package/dist/types/src/components/tab/index.d.ts +0 -1
  664. package/dist/types/src/components/tag/Tag.d.ts +4 -4
  665. package/dist/types/src/components/tag/index.d.ts +0 -1
  666. package/dist/types/src/components/toggle/Toggle.d.ts +1 -2
  667. package/dist/types/src/components/toggle/index.d.ts +0 -1
  668. package/dist/types/src/components/tooltip/Tooltip.d.ts +0 -1
  669. package/dist/types/src/components/tooltip/index.d.ts +0 -1
  670. package/dist/types/src/constant/breakpoint.d.ts +0 -1
  671. package/dist/types/src/constant/date-picker.d.ts +0 -1
  672. package/dist/types/src/constant/index.d.ts +1 -2
  673. package/dist/types/src/constant/size.d.ts +0 -1
  674. package/dist/types/src/hooks/dropdown/index.d.ts +0 -1
  675. package/dist/types/src/hooks/dropdown/useDropdown.d.ts +1 -2
  676. package/dist/types/src/hooks/dropdown/useDropdownKeyboard.d.ts +2 -3
  677. package/dist/types/src/hooks/dropdown/useDropdownPosition.d.ts +1 -2
  678. package/dist/types/src/hooks/dropdown/useOutsideClick.d.ts +1 -2
  679. package/dist/types/src/hooks/dropdown/useScrollLock.d.ts +0 -1
  680. package/dist/types/src/hooks/dropdown/useWindowResize.d.ts +0 -1
  681. package/dist/types/src/hooks/index.d.ts +1 -2
  682. package/dist/types/src/hooks/useCallbackRef.d.ts +0 -1
  683. package/dist/types/src/hooks/useMediaQuery.d.ts +0 -1
  684. package/dist/types/src/hooks/useMergeRefs.d.ts +1 -2
  685. package/dist/types/src/types/dropdown/dropdown.d.ts +1 -2
  686. package/dist/types/src/types/dropdown/index.d.ts +0 -1
  687. package/dist/types/src/types/dropdown/option.d.ts +0 -1
  688. package/dist/types/src/types/index.d.ts +0 -1
  689. package/dist/types/src/types/side-slot.d.ts +0 -1
  690. package/dist/types/src/utils/date-picker.d.ts +1 -2
  691. package/dist/types/src/utils/dropdown/dropdownUtils.d.ts +2 -3
  692. package/dist/types/src/utils/dropdown/index.d.ts +0 -1
  693. package/dist/types/src/utils/dropdown/multiSelect.d.ts +1 -2
  694. package/dist/types/src/utils/index.d.ts +0 -1
  695. package/dist/ui-admin/assets/styles/style.css +112 -24
  696. package/package.json +49 -53
  697. package/dist/cjs/assets/scripts/fileInput/FileInput.js +0 -183
  698. package/dist/cjs/assets/scripts/fileInput/FileInputModel.js +0 -246
  699. package/dist/cjs/assets/scripts/fileInput/FileInputView.js +0 -455
  700. package/dist/esm/assets/scripts/fileInput/FileInput.js +0 -178
  701. package/dist/esm/assets/scripts/fileInput/FileInputModel.js +0 -241
  702. package/dist/esm/assets/scripts/fileInput/FileInputView.js +0 -450
  703. /package/dist/cjs/assets/scripts/utils/unifiedBox/{DOMRenderer.js → domRenderer.js} +0 -0
  704. /package/dist/esm/assets/scripts/utils/unifiedBox/{DOMRenderer.js → domRenderer.js} +0 -0
@@ -26,6 +26,7 @@ var UnifiedBoxController = exports.UnifiedBoxController = /** @class */function
26
26
  this.scrollLockHandlers = null;
27
27
  // DOM 요소들
28
28
  this.optionElements = [];
29
+ this.handlerMap = new WeakMap();
29
30
  this.scrollPosition = 0;
30
31
  this.mouseMoveHandlerAttached = false;
31
32
  this.lastFilteredOptionsCount = 0; // 이전 필터링된 옵션 개수 (성능 최적화)
@@ -319,8 +320,10 @@ var UnifiedBoxController = exports.UnifiedBoxController = /** @class */function
319
320
  element.addEventListener('click', clickHandler);
320
321
  element.addEventListener('mouseenter', hoverHandler);
321
322
  // 나중에 제거할 수 있도록 핸들러 저장
322
- element._clickHandler = clickHandler;
323
- element._hoverHandler = hoverHandler;
323
+ _this.handlerMap.set(element, {
324
+ click: clickHandler,
325
+ hover: hoverHandler
326
+ });
324
327
  });
325
328
  // 마우스 이동 감지 (한 번만 등록)
326
329
  if (!this.mouseMoveHandlerAttached) {
@@ -334,16 +337,13 @@ var UnifiedBoxController = exports.UnifiedBoxController = /** @class */function
334
337
  * 옵션 이벤트 핸들러 제거
335
338
  */
336
339
  UnifiedBoxController.prototype.removeOptionEventHandlers = function () {
340
+ var _this = this;
337
341
  this.optionElements.forEach(function (element) {
338
- var clickHandler = element._clickHandler;
339
- var hoverHandler = element._hoverHandler;
340
- if (clickHandler) {
341
- element.removeEventListener('click', clickHandler);
342
- delete element._clickHandler;
343
- }
344
- if (hoverHandler) {
345
- element.removeEventListener('mouseenter', hoverHandler);
346
- delete element._hoverHandler;
342
+ var handlers = _this.handlerMap.get(element);
343
+ if (handlers) {
344
+ element.removeEventListener('click', handlers.click);
345
+ element.removeEventListener('mouseenter', handlers.hover);
346
+ _this.handlerMap.delete(element);
347
347
  }
348
348
  });
349
349
  };
@@ -497,38 +497,6 @@ var UnifiedBoxController = exports.UnifiedBoxController = /** @class */function
497
497
  UnifiedBoxController.prototype.getFocusedIndex = function () {
498
498
  return this.config.model.getState().focusedIndex;
499
499
  };
500
- /**
501
- * DropdownUtils 호환을 위한 정적 팩토리 메서드
502
- */
503
- UnifiedBoxController.createFromDropdownConfig = function (config) {
504
- // DropdownModel 생성
505
- var model = new (require('./DropdownModel').DropdownModel)(config.options || [], false);
506
- // DOMRenderer 생성
507
- var renderer = new (require('./DOMRenderer').DOMRenderer)();
508
- // UnifiedBoxController 생성
509
- var controllerConfig = {
510
- triggerElement: config.triggerElement,
511
- dropdownElement: config.dropdownElement,
512
- model: model,
513
- renderer: renderer,
514
- renderConfig: {
515
- listboxId: 'dropdown-utils',
516
- multiple: false,
517
- maxHeight: 275,
518
- size: 'md'
519
- },
520
- onOpen: config.onOpen,
521
- onClose: config.onClose,
522
- onSelectionChange: function (values) {
523
- var _a, _b, _c;
524
- var index = (_b = (_a = config.options) === null || _a === void 0 ? void 0 : _a.findIndex(function (opt) {
525
- return opt.id === values[0];
526
- })) !== null && _b !== void 0 ? _b : -1;
527
- if (index >= 0) (_c = config.onOptionSelect) === null || _c === void 0 ? void 0 : _c.call(config, index);
528
- }
529
- };
530
- return new UnifiedBoxController(controllerConfig);
531
- };
532
500
  /**
533
501
  * 드롭다운 위치 조정 (화면 크기에 따라 up/down 방향 결정)
534
502
  * 단일 선택 모드에서만 적용
@@ -4,9 +4,10 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.UnifiedBoxManager = void 0;
7
- var _DOMRenderer = require("./DOMRenderer");
8
- var _DropdownModel = require("./DropdownModel");
9
- var _UnifiedBoxController = require("./UnifiedBoxController");
7
+ var _debounce = require("../debounce");
8
+ var _domRenderer = require("./domRenderer");
9
+ var _dropdownModel = require("./dropdownModel");
10
+ var _unifiedBoxController = require("./unifiedBoxController");
10
11
  var __assign = void 0 && (void 0).__assign || function () {
11
12
  __assign = Object.assign || function (t) {
12
13
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -150,13 +151,16 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
150
151
  if (config === void 0) {
151
152
  config = {};
152
153
  }
154
+ var _this = this;
153
155
  var _a;
154
156
  this.lastSearchValue = ''; // 이전 검색어 추적 (API 모드에서 옵션 교체를 위해)
155
157
  this.hasInitialOptions = false; // 초기 옵션이 있는지 여부 (select 태그 등)
156
158
  this.element = element;
159
+ this.isComboBox = config.type === 'combobox';
160
+ this.baseClass = this.isComboBox ? 'ncua-combobox' : 'ncua-selectbox';
157
161
  this.config = __assign(__assign({
158
162
  options: [],
159
- placeholder: config.type === 'combobox' ? '검색하세요' : '선택하세요',
163
+ placeholder: this.isComboBox ? '검색하세요' : '선택하세요',
160
164
  maxHeight: 275,
161
165
  disabled: false,
162
166
  size: 'md',
@@ -167,6 +171,20 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
167
171
  }, config), {
168
172
  searchDebounceMs: (_a = config.searchDebounceMs) !== null && _a !== void 0 ? _a : 500
169
173
  });
174
+ this.debouncedSearch = (0, _debounce.debounce)(function (value, isApiMode) {
175
+ var _a, _b;
176
+ if (isApiMode) {
177
+ _this.model.updateSearchValue(value);
178
+ } else {
179
+ _this.model.updateSearchAndFilter(value);
180
+ }
181
+ (_b = (_a = _this.config).onSearch) === null || _b === void 0 ? void 0 : _b.call(_a, value);
182
+ if (value.trim()) {
183
+ _this.controller.open();
184
+ } else if (!_this.model.getState().showAllItems) {
185
+ _this.controller.close();
186
+ }
187
+ }, this.config.searchDebounceMs);
170
188
  this.initialize();
171
189
  }
172
190
  UnifiedBoxManager.prototype.initialize = function () {
@@ -174,12 +192,9 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
174
192
  this.setupElementClasses();
175
193
  // 초기 옵션이 있는지 확인 (select 태그 등에서 파싱된 옵션이 있는 경우)
176
194
  this.hasInitialOptions = this.config.options && this.config.options.length > 0 || false;
177
- this.model = new _DropdownModel.DropdownModel(this.config.options || [], this.config.multiple || false);
178
- // ComboBox 타입인 경우 모델에 설정
179
- if (this.config.type === 'combobox') {
180
- this.model.setComboBoxMode(true);
181
- }
182
- this.renderer = new _DOMRenderer.DOMRenderer();
195
+ var filterStrategy = this.isComboBox ? _dropdownModel.DropdownModel.comboBoxFilterStrategy : _dropdownModel.DropdownModel.defaultFilterStrategy;
196
+ this.model = new _dropdownModel.DropdownModel(this.config.options || [], this.config.multiple || false, filterStrategy);
197
+ this.renderer = new _domRenderer.DOMRenderer();
183
198
  this.createUI();
184
199
  this.setupController();
185
200
  if (this.config.value) {
@@ -187,17 +202,16 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
187
202
  }
188
203
  };
189
204
  UnifiedBoxManager.prototype.setupElementClasses = function () {
190
- var baseClass = this.config.type === 'combobox' ? 'ncua-combobox' : 'ncua-selectbox';
191
- this.element.className = "".concat(baseClass, " ").concat(baseClass, "--").concat(this.config.size);
205
+ this.element.className = "".concat(this.baseClass, " ").concat(this.baseClass, "--").concat(this.config.size);
192
206
  if (this.config.disabled) {
193
- this.element.classList.add("".concat(baseClass, "--disabled"));
207
+ this.element.classList.add("".concat(this.baseClass, "--disabled"));
194
208
  }
195
209
  if (this.config.multiple) {
196
- this.element.classList.add("".concat(baseClass, "--multiple"));
210
+ this.element.classList.add("".concat(this.baseClass, "--multiple"));
197
211
  }
198
212
  };
199
213
  UnifiedBoxManager.prototype.createUI = function () {
200
- if (this.config.type === 'combobox') {
214
+ if (this.isComboBox) {
201
215
  this.createComboBoxUI();
202
216
  } else {
203
217
  this.createSelectBoxUI();
@@ -206,7 +220,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
206
220
  UnifiedBoxManager.prototype.createComboBoxUI = function () {
207
221
  var _this = this;
208
222
  // 컨텐츠 컨테이너
209
- var content = _DOMRenderer.DOMRenderer.createElementWithClass('div', 'ncua-combobox__content');
223
+ var content = _domRenderer.DOMRenderer.createElementWithClass('div', 'ncua-combobox__content');
210
224
  this.element.appendChild(content);
211
225
  // 입력 필드 생성
212
226
  this.inputField = this.renderer.createInputField({
@@ -234,13 +248,13 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
234
248
  };
235
249
  UnifiedBoxManager.prototype.createSelectBoxUI = function () {
236
250
  // 트리거 생성
237
- var trigger = _DOMRenderer.DOMRenderer.createElementWithClass('div', 'ncua-selectbox__content');
251
+ var trigger = _domRenderer.DOMRenderer.createElementWithClass('div', 'ncua-selectbox__content');
238
252
  trigger.setAttribute('tabindex', this.config.disabled ? '-1' : '0');
239
253
  trigger.setAttribute('role', 'combobox');
240
254
  trigger.setAttribute('aria-expanded', 'false');
241
255
  trigger.setAttribute('aria-haspopup', 'listbox');
242
- var valueSpan = _DOMRenderer.DOMRenderer.createElementWithClass('span', 'ncua-selectbox__value', this.config.placeholder);
243
- var arrow = _DOMRenderer.DOMRenderer.createSvgIcon('chevron-down', this.config.size === 'xs' ? 14 : 16);
256
+ var valueSpan = _domRenderer.DOMRenderer.createElementWithClass('span', 'ncua-selectbox__value', this.config.placeholder);
257
+ var arrow = _domRenderer.DOMRenderer.createSvgIcon('chevron-down', this.config.size === 'xs' ? 14 : 16);
244
258
  arrow.classList.add('ncua-selectbox__arrow');
245
259
  trigger.appendChild(valueSpan);
246
260
  trigger.appendChild(arrow);
@@ -260,7 +274,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
260
274
  });
261
275
  this.dropdownElement = dropdownStructure.dropdown;
262
276
  // SelectBox 단일 선택 모드일 때 특별한 클래스 추가
263
- if (this.config.type === 'selectbox' && !this.config.multiple) {
277
+ if (!this.isComboBox && !this.config.multiple) {
264
278
  this.dropdownElement.classList.add('ncua-select-dropdown--selectbox-single');
265
279
  }
266
280
  // 다중 선택 모드일 때 클래스 추가
@@ -305,24 +319,22 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
305
319
  noResultsText: '일치하는 결과가 없습니다.'
306
320
  },
307
321
  onOpen: function () {
308
- var baseClass = _this.config.type === 'combobox' ? 'ncua-combobox' : 'ncua-selectbox';
309
- _this.element.classList.add("".concat(baseClass, "--open"));
322
+ _this.element.classList.add("".concat(_this.baseClass, "--open"));
310
323
  if (_this.triggerElement) {
311
324
  _this.triggerElement.setAttribute('aria-expanded', 'true');
312
325
  }
313
326
  // 화살표 아이콘 회전 (selectbox 타입일 때만)
314
- if (_this.config.type === 'selectbox' && _this.arrowElement) {
327
+ if (!_this.isComboBox && _this.arrowElement) {
315
328
  _this.arrowElement.classList.add('ncua-selectbox__arrow--up');
316
329
  }
317
330
  },
318
331
  onClose: function () {
319
- var baseClass = _this.config.type === 'combobox' ? 'ncua-combobox' : 'ncua-selectbox';
320
- _this.element.classList.remove("".concat(baseClass, "--open"));
332
+ _this.element.classList.remove("".concat(_this.baseClass, "--open"));
321
333
  if (_this.triggerElement) {
322
334
  _this.triggerElement.setAttribute('aria-expanded', 'false');
323
335
  }
324
336
  // 화살표 아이콘 원래대로 (selectbox 타입일 때만)
325
- if (_this.config.type === 'selectbox' && _this.arrowElement) {
337
+ if (!_this.isComboBox && _this.arrowElement) {
326
338
  _this.arrowElement.classList.remove('ncua-selectbox__arrow--up');
327
339
  }
328
340
  },
@@ -340,82 +352,29 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
340
352
  },
341
353
  type: this.config.type // 타입 정보 전달
342
354
  };
343
- this.controller = new _UnifiedBoxController.UnifiedBoxController(controllerConfig);
344
- };
345
- /**
346
- * 디바운싱 타이머 취소
347
- */
348
- UnifiedBoxManager.prototype.cancelDebounceTimer = function () {
349
- if (this.searchDebounceTimer) {
350
- clearTimeout(this.searchDebounceTimer);
351
- this.searchDebounceTimer = undefined;
352
- this.currentDebounceTimerId = undefined;
353
- }
355
+ this.controller = new _unifiedBoxController.UnifiedBoxController(controllerConfig);
354
356
  };
355
357
  // 이벤트 핸들러들
356
358
  UnifiedBoxManager.prototype.handleInput = function (value) {
357
- var _this = this;
358
359
  var _a, _b;
359
- this.cancelDebounceTimer();
360
- // 필터링은 즉시 업데이트 (사용자가 입력하는 동안 필터링 결과를 즉시 보여줌)
361
- // 하지만 onSearch 콜백은 디바운싱 적용
362
- var isApiMode = this.config.type === 'combobox' && !this.hasInitialOptions;
363
- // API 모드에서는 검색어 변경 추적만 하고, 옵션은 디바운싱 후 비우기
360
+ this.debouncedSearch.cancel();
361
+ var isApiMode = this.isComboBox && !this.hasInitialOptions;
362
+ // API 모드에서는 검색어 변경 추적
364
363
  if (isApiMode && this.lastSearchValue !== value) {
365
364
  this.lastSearchValue = value;
366
365
  }
367
- // 디바운싱이 설정되어 있으면 입력이 멈춘 후 onSearch 콜백만 실행
366
+ // 디바운싱이 설정되어 있으면 디바운스 유틸리티 사용
368
367
  if (this.config.searchDebounceMs > 0) {
369
- // 새로운 타이머 ID 생성 ( 타이머를 고유하게 식별)
370
- var timerId_1 = Date.now() + Math.random();
371
- this.currentDebounceTimerId = timerId_1;
372
- this.searchDebounceTimer = window.setTimeout(function () {
373
- return __awaiter(_this, void 0, void 0, function () {
374
- var _a, _b;
375
- return __generator(this, function (_c) {
376
- switch (_c.label) {
377
- case 0:
378
- // 타이머가 취소되었는지 확인 (다른 타이머가 시작되었으면 현재 타이머는 무시)
379
- if (this.currentDebounceTimerId !== timerId_1) {
380
- return [2 /*return*/]; // 이 타이머는 취소되었으므로 실행하지 않음
381
- }
382
- // 타이머가 여전히 유효하면 실행
383
- this.searchDebounceTimer = undefined;
384
- this.currentDebounceTimerId = undefined;
385
- // API 모드: 검색어만 업데이트 (필터링은 하지 않음, 서버에서 필터링된 결과를 받음)
386
- // 일반 모드: 검색어 업데이트 + 로컬 필터링
387
- if (isApiMode) {
388
- this.model.updateSearchValue(value);
389
- } else {
390
- this.model.updateSearchAndFilter(value);
391
- }
392
- // onSearch 콜백 호출 및 완료 대기 (디바운싱 적용, 최종 타이머만 실행)
393
- return [4 /*yield*/, (_b = (_a = this.config).onSearch) === null || _b === void 0 ? void 0 : _b.call(_a, value)];
394
- case 1:
395
- // onSearch 콜백 호출 및 완료 대기 (디바운싱 적용, 최종 타이머만 실행)
396
- _c.sent();
397
- // 텍스트가 있을 때만 드롭다운 열기
398
- if (value.trim()) {
399
- this.controller.open();
400
- } else if (!this.model.getState().showAllItems) {
401
- this.controller.close();
402
- }
403
- return [2 /*return*/];
404
- }
405
- });
406
- });
407
- }, this.config.searchDebounceMs);
368
+ this.debouncedSearch(value, isApiMode);
408
369
  } else {
409
- // 디바운싱이 0으로 명시적으로 설정되었으면 즉시 실행
370
+ // 디바운싱이 0이면 즉시 실행
410
371
  this.model.updateSearchAndFilter(value);
411
- // 텍스트가 있거나 옵션이 있으면 드롭다운 열기
412
372
  var hasOptions = this.model.getState().options.length > 0 || this.model.getState().filteredOptions.length > 0;
413
373
  if (value.trim() || hasOptions) {
414
374
  this.controller.open();
415
375
  } else if (!this.model.getState().showAllItems) {
416
376
  this.controller.close();
417
377
  }
418
- // onSearch 콜백 호출 (디바운싱 없음)
419
378
  (_b = (_a = this.config).onSearch) === null || _b === void 0 ? void 0 : _b.call(_a, value);
420
379
  }
421
380
  };
@@ -423,7 +382,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
423
382
  var _a, _b;
424
383
  if (!this.config.disabled) {
425
384
  (_a = this.inputField) === null || _a === void 0 ? void 0 : _a.focus();
426
- if (this.config.type === 'combobox') {
385
+ if (this.isComboBox) {
427
386
  var currentInputValue = ((_b = this.inputField) === null || _b === void 0 ? void 0 : _b.input.value) || '';
428
387
  if (currentInputValue.trim().length > 0 || this.model.getState().showAllItems) {
429
388
  this.controller.open();
@@ -432,7 +391,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
432
391
  }
433
392
  };
434
393
  UnifiedBoxManager.prototype.handleClearInput = function () {
435
- this.cancelDebounceTimer();
394
+ this.debouncedSearch.cancel();
436
395
  // input 필드 텍스트 지우기
437
396
  if (this.inputField) {
438
397
  this.inputField.setValue('');
@@ -441,7 +400,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
441
400
  this.model.clearInput();
442
401
  // ComboBox 타입이고 초기 옵션이 없는 경우 (API 모드)
443
402
  // Clear 버튼 클릭 시 옵션도 완전히 비우기
444
- var isApiMode = this.config.type === 'combobox' && !this.hasInitialOptions;
403
+ var isApiMode = this.isComboBox && !this.hasInitialOptions;
445
404
  if (isApiMode) {
446
405
  this.model.updateOptions([]);
447
406
  this.lastSearchValue = '';
@@ -477,11 +436,11 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
477
436
  };
478
437
  UnifiedBoxManager.prototype.handleSelectionChange = function (selectedValues) {
479
438
  var _a, _b;
480
- this.cancelDebounceTimer();
439
+ this.debouncedSearch.cancel();
481
440
  var result = this.config.multiple ? selectedValues : selectedValues[0] || '';
482
441
  (_b = (_a = this.config).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, result);
483
442
  // UI 업데이트
484
- if (this.config.type === 'selectbox') {
443
+ if (!this.isComboBox) {
485
444
  this.updateSelectBoxValue();
486
445
  }
487
446
  // 다중 선택인 경우 전체 선택 버튼 텍스트 업데이트
@@ -509,7 +468,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
509
468
  };
510
469
  UnifiedBoxManager.prototype.canToggleDropdown = function () {
511
470
  var _a;
512
- if (this.config.type === 'combobox') {
471
+ if (this.isComboBox) {
513
472
  // ComboBox의 경우: 인풋에 텍스트가 있으면 항상 토글 가능
514
473
  var currentInputValue = ((_a = this.inputField) === null || _a === void 0 ? void 0 : _a.input.value) || '';
515
474
  return currentInputValue.trim().length > 0 || this.model.getState().showAllItems;
@@ -528,15 +487,15 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
528
487
  };
529
488
  UnifiedBoxManager.prototype.handleComplete = function () {
530
489
  var _a, _b, _c, _d;
531
- if (this.config.multiple || this.config.type === 'combobox') {
490
+ if (this.config.multiple || this.isComboBox) {
532
491
  var currentValues = this.model.getValue();
533
492
  // SelectBox 타입이고 multiple 모드일 때만 onChange 콜백으로 현재 선택된 값들 전달
534
- if (this.config.type === 'selectbox' && this.config.multiple && Array.isArray(currentValues)) {
493
+ if (!this.isComboBox && this.config.multiple && Array.isArray(currentValues)) {
535
494
  (_b = (_a = this.config).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, currentValues);
536
495
  }
537
496
  (_d = (_c = this.config).onComplete) === null || _d === void 0 ? void 0 : _d.call(_c);
538
497
  // ComboBox 타입인 경우에만 값 초기화 및 검색어 초기화
539
- if (this.config.type === 'combobox') {
498
+ if (this.isComboBox) {
540
499
  this.model.setValue([]);
541
500
  if (this.inputField) {
542
501
  this.inputField.setValue('');
@@ -581,7 +540,7 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
581
540
  // 단일 선택 모드인 경우 첫 번째 값만 사용
582
541
  var finalIds = this.config.multiple ? ids : ids[0] || '';
583
542
  this.model.setValue(finalIds);
584
- if (this.config.type === 'selectbox') {
543
+ if (!this.isComboBox) {
585
544
  this.updateSelectBoxValue();
586
545
  } else {
587
546
  // ComboBox의 경우 input 필드도 업데이트
@@ -604,13 +563,12 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
604
563
  UnifiedBoxManager.prototype.setDisabled = function (disabled) {
605
564
  var _a, _b;
606
565
  this.config.disabled = disabled;
607
- var baseClass = this.config.type === 'combobox' ? 'ncua-combobox' : 'ncua-selectbox';
608
- var disabledClass = "".concat(baseClass, "--disabled");
566
+ var disabledClass = "".concat(this.baseClass, "--disabled");
609
567
  this.element.classList.toggle(disabledClass, disabled);
610
568
  if (this.controller) {
611
569
  this.controller.setDisabled(disabled);
612
570
  }
613
- if (this.config.type === 'combobox') {
571
+ if (this.isComboBox) {
614
572
  // 입력 필드 비활성화
615
573
  if ((_a = this.inputField) === null || _a === void 0 ? void 0 : _a.input) {
616
574
  this.inputField.input.disabled = disabled;
@@ -628,14 +586,14 @@ var UnifiedBoxManager = exports.UnifiedBoxManager = /** @class */function () {
628
586
  };
629
587
  UnifiedBoxManager.prototype.focus = function () {
630
588
  var _a, _b;
631
- if (this.config.type === 'combobox') {
589
+ if (this.isComboBox) {
632
590
  (_a = this.inputField) === null || _a === void 0 ? void 0 : _a.focus();
633
591
  } else {
634
592
  (_b = this.triggerElement) === null || _b === void 0 ? void 0 : _b.focus();
635
593
  }
636
594
  };
637
595
  UnifiedBoxManager.prototype.destroy = function () {
638
- this.cancelDebounceTimer();
596
+ this.debouncedSearch.cancel();
639
597
  this.controller.destroy();
640
598
  this.renderer.clearCache();
641
599
  this.inputField = undefined;
@@ -32,7 +32,7 @@ var Badge = function (_a) {
32
32
  leadingIcon = _a.leadingIcon,
33
33
  trailingIcon = _a.trailingIcon,
34
34
  _d = _a.size,
35
- size = _d === void 0 ? 'sm' : _d;
35
+ size = _d === void 0 ? 'xs' : _d;
36
36
  return (0, _jsxRuntime.jsxs)("span", __assign({
37
37
  className: (0, _classnames.default)('ncua-badge', "ncua-badge--".concat(type), "ncua-badge--".concat(color), "ncua-badge--".concat(size), className)
38
38
  }, {
@@ -46,7 +46,7 @@ var BreadCrumb = function (_a) {
46
46
  })
47
47
  }, {
48
48
  children: (0, _jsxRuntime.jsx)(BreadcrumbItem, __assign({
49
- href: !isLast ? item.href : undefined
49
+ href: isLast ? undefined : item.href
50
50
  }, {
51
51
  children: content
52
52
  }))
@@ -46,12 +46,14 @@ var dotSize = exports.dotSize = {
46
46
  sm: 'md',
47
47
  md: 'md'
48
48
  };
49
+ var loadableHierarchies = ['primary', 'secondary', 'secondary-gray', 'destructive'];
49
50
  var Button = exports.Button = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
50
51
  var _a = props.size,
51
- size = _a === void 0 ? 'md' : _a,
52
+ size = _a === void 0 ? 'xs' : _a,
52
53
  children = props.children,
53
54
  onlyIcon = props.onlyIcon,
54
55
  disabled = props.disabled,
56
+ loading = props.loading,
55
57
  className = props.className,
56
58
  _b = props.hierarchy,
57
59
  hierarchy = _b === void 0 ? 'secondary-gray' : _b,
@@ -60,7 +62,9 @@ var Button = exports.Button = /*#__PURE__*/(0, _react.forwardRef)(function (prop
60
62
  trailingIcon = props.trailingIcon,
61
63
  _c = props.underline,
62
64
  underline = _c === void 0 ? false : _c,
63
- restProps = __rest(props, ["size", "children", "onlyIcon", "disabled", "className", "hierarchy", "label", "leadingIcon", "trailingIcon", "underline"]);
65
+ restProps = __rest(props, ["size", "children", "onlyIcon", "disabled", "loading", "className", "hierarchy", "label", "leadingIcon", "trailingIcon", "underline"]);
66
+ var isLoading = loading && !onlyIcon && loadableHierarchies.includes(hierarchy);
67
+ var isDisabled = disabled || isLoading;
64
68
  var sideSlotRender = function (slot) {
65
69
  var _a, _b, _c;
66
70
  var iconSize = onlyIcon ? iconOnlySvgSize[size] : svgSize[size];
@@ -83,14 +87,18 @@ var Button = exports.Button = /*#__PURE__*/(0, _react.forwardRef)(function (prop
83
87
  return /*#__PURE__*/(0, _react.createElement)('button', __assign(__assign({
84
88
  className: (0, _classnames.default)('ncua-btn', "ncua-btn--".concat(size), {
85
89
  'only-icon': onlyIcon,
86
- 'is-disable': disabled,
90
+ 'is-disable': isDisabled,
91
+ 'is-loading': isLoading,
87
92
  'has-underline': underline
88
93
  }, className, hierarchy && "ncua-btn--".concat(hierarchy)),
89
- disabled: disabled
94
+ disabled: isDisabled,
95
+ 'aria-busy': isLoading || undefined
90
96
  }, restProps), {
91
97
  ref: ref
92
98
  }), (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
93
- children: [leadingIcon && sideSlotRender(leadingIcon), !onlyIcon && label && (0, _jsxRuntime.jsx)("span", __assign({
99
+ children: [isLoading ? (0, _jsxRuntime.jsx)("span", {
100
+ className: "ncua-btn__spinner"
101
+ }) : leadingIcon && sideSlotRender(leadingIcon), !onlyIcon && label && (0, _jsxRuntime.jsx)("span", __assign({
94
102
  className: "ncua-btn__label"
95
103
  }, {
96
104
  children: label
@@ -9,8 +9,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _color = require("../../../constant/color");
11
11
  var _dot = require("../dot");
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
14
13
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
15
14
  var __assign = void 0 && (void 0).__assign || function () {
16
15
  __assign = Object.assign || function (t) {
@@ -18,17 +18,17 @@ var __assign = void 0 && (void 0).__assign || function () {
18
18
  };
19
19
  return __assign.apply(this, arguments);
20
20
  };
21
+ var SIZE = 'md';
21
22
  var CarouselArrow = function (_a) {
22
23
  var _b;
23
24
  var _c = _a.type,
24
25
  type = _c === void 0 ? 'default' : _c,
25
26
  className = _a.className,
26
- size = _a.size,
27
27
  chevron = _a.chevron,
28
28
  onClick = _a.onClick;
29
29
  return (0, _jsxRuntime.jsx)("button", __assign({
30
30
  type: "button",
31
- className: (0, _classnames.default)('ncua-carousel-arrow', (_b = {}, _b["ncua-carousel-arrow--".concat(type)] = type, _b["ncua-carousel-arrow--".concat(size)] = size, _b["ncua-carousel-arrow--".concat(chevron)] = chevron, _b), className),
31
+ className: (0, _classnames.default)('ncua-carousel-arrow', (_b = {}, _b["ncua-carousel-arrow--".concat(type)] = type, _b["ncua-carousel-arrow--".concat(SIZE)] = SIZE, _b["ncua-carousel-arrow--".concat(chevron)] = chevron, _b), className),
32
32
  onClick: onClick
33
33
  }, {
34
34
  children: chevron === 'left' ? (0, _jsxRuntime.jsx)(_uiAdminIcon.ChevronLeft, {
@@ -17,20 +17,19 @@ var __assign = void 0 && (void 0).__assign || function () {
17
17
  };
18
18
  return __assign.apply(this, arguments);
19
19
  };
20
+ var SIZE = 'sm';
20
21
  var CarouselNumberGroup = function (_a) {
21
22
  var _b;
22
23
  var _c = _a.framed,
23
24
  framed = _c === void 0 ? true : _c,
24
- _d = _a.size,
25
- size = _d === void 0 ? 'sm' : _d,
26
- _e = _a.color,
27
- color = _e === void 0 ? 'light' : _e,
25
+ _d = _a.color,
26
+ color = _d === void 0 ? 'light' : _d,
28
27
  currentPage = _a.currentPage,
29
28
  totalPage = _a.totalPage;
30
29
  return (0, _jsxRuntime.jsxs)("div", __assign({
31
30
  className: (0, _classnames.default)('ncua-carousel-number-group', (_b = {
32
31
  framed: framed
33
- }, _b["ncua-carousel-number-group--".concat(color)] = color, _b["ncua-carousel-number-group--".concat(size)] = size, _b))
32
+ }, _b["ncua-carousel-number-group--".concat(color)] = color, _b["ncua-carousel-number-group--".concat(SIZE)] = SIZE, _b))
34
33
  }, {
35
34
  children: [(0, _jsxRuntime.jsx)("span", __assign({
36
35
  className: "ncua-carousel-number-group__number"
@@ -60,7 +60,7 @@ var CheckboxInput = exports.CheckboxInput = /*#__PURE__*/(0, _react.forwardRef)(
60
60
  ref.current = node;
61
61
  }
62
62
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
63
- // @ts-ignore - ref assignment is needed for internal tracking
63
+ // @ts-expect-error - ref assignment is needed for internal tracking
64
64
  inputRef.current = node;
65
65
  },
66
66
  onChange: onChange,