@nuraly/lumenui 0.1.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 (755) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +248 -0
  3. package/dist/nuralyui.bundle.js +29209 -0
  4. package/dist/nuralyui.bundle.js.gz +0 -0
  5. package/dist/src/components/alert/alert.component.d.ts +103 -0
  6. package/dist/src/components/alert/alert.component.js +225 -0
  7. package/dist/src/components/alert/alert.style.d.ts +14 -0
  8. package/dist/src/components/alert/alert.style.js +191 -0
  9. package/dist/src/components/alert/alert.types.d.ts +46 -0
  10. package/dist/src/components/alert/alert.types.js +7 -0
  11. package/dist/src/components/alert/bundle.js +231 -0
  12. package/dist/src/components/alert/bundle.js.gz +0 -0
  13. package/dist/src/components/alert/index.d.ts +8 -0
  14. package/dist/src/components/alert/index.js +8 -0
  15. package/dist/src/components/alert/react.d.ts +5 -0
  16. package/dist/src/components/alert/react.js +17 -0
  17. package/dist/src/components/badge/badge.component.d.ts +148 -0
  18. package/dist/src/components/badge/badge.component.js +270 -0
  19. package/dist/src/components/badge/badge.style.d.ts +14 -0
  20. package/dist/src/components/badge/badge.style.js +250 -0
  21. package/dist/src/components/badge/badge.types.d.ts +84 -0
  22. package/dist/src/components/badge/badge.types.js +7 -0
  23. package/dist/src/components/badge/bundle.js +277 -0
  24. package/dist/src/components/badge/bundle.js.gz +0 -0
  25. package/dist/src/components/badge/index.d.ts +2 -0
  26. package/dist/src/components/badge/index.js +2 -0
  27. package/dist/src/components/badge/react.d.ts +3 -0
  28. package/dist/src/components/badge/react.js +10 -0
  29. package/dist/src/components/breadcrumb/breadcrumb.component.d.ts +121 -0
  30. package/dist/src/components/breadcrumb/breadcrumb.component.js +257 -0
  31. package/dist/src/components/breadcrumb/breadcrumb.style.d.ts +14 -0
  32. package/dist/src/components/breadcrumb/breadcrumb.style.js +153 -0
  33. package/dist/src/components/breadcrumb/breadcrumb.types.d.ts +63 -0
  34. package/dist/src/components/breadcrumb/breadcrumb.types.js +7 -0
  35. package/dist/src/components/breadcrumb/bundle.js +213 -0
  36. package/dist/src/components/breadcrumb/bundle.js.gz +0 -0
  37. package/dist/src/components/breadcrumb/index.d.ts +2 -0
  38. package/dist/src/components/breadcrumb/index.js +2 -0
  39. package/dist/src/components/breadcrumb/react.d.ts +5 -0
  40. package/dist/src/components/breadcrumb/react.js +12 -0
  41. package/dist/src/components/button/bundle.js +606 -0
  42. package/dist/src/components/button/bundle.js.gz +0 -0
  43. package/dist/src/components/button/button.component.d.ts +96 -0
  44. package/dist/src/components/button/button.component.js +312 -0
  45. package/dist/src/components/button/button.style.d.ts +10 -0
  46. package/dist/src/components/button/button.style.js +535 -0
  47. package/dist/src/components/button/button.types.d.ts +57 -0
  48. package/dist/src/components/button/button.types.js +2 -0
  49. package/dist/src/components/button/index.d.ts +2 -0
  50. package/dist/src/components/button/index.js +2 -0
  51. package/dist/src/components/button/react.d.ts +5 -0
  52. package/dist/src/components/button/react.js +12 -0
  53. package/dist/src/components/canvas/base-canvas.component.d.ts +177 -0
  54. package/dist/src/components/canvas/base-canvas.component.js +865 -0
  55. package/dist/src/components/canvas/bundle.js +16664 -0
  56. package/dist/src/components/canvas/bundle.js.gz +0 -0
  57. package/dist/src/components/canvas/canvas.component.d.ts +2 -0
  58. package/dist/src/components/canvas/canvas.component.js +295 -0
  59. package/dist/src/components/canvas/canvas.constants.d.ts +66 -0
  60. package/dist/src/components/canvas/canvas.constants.js +61 -0
  61. package/dist/src/components/canvas/chatbot-panel.style.d.ts +11 -0
  62. package/dist/src/components/canvas/chatbot-panel.style.js +189 -0
  63. package/dist/src/components/canvas/index.d.ts +13 -0
  64. package/dist/src/components/canvas/index.js +21 -0
  65. package/dist/src/components/canvas/react.d.ts +354 -0
  66. package/dist/src/components/canvas/react.js +41 -0
  67. package/dist/src/components/canvas/whiteboard-canvas.component.d.ts +63 -0
  68. package/dist/src/components/canvas/whiteboard-canvas.component.js +356 -0
  69. package/dist/src/components/canvas/whiteboard-canvas.style.d.ts +7 -0
  70. package/dist/src/components/canvas/whiteboard-canvas.style.js +1011 -0
  71. package/dist/src/components/canvas/whiteboard-node.component.d.ts +87 -0
  72. package/dist/src/components/canvas/whiteboard-node.component.js +809 -0
  73. package/dist/src/components/canvas/whiteboard-node.style.d.ts +7 -0
  74. package/dist/src/components/canvas/whiteboard-node.style.js +775 -0
  75. package/dist/src/components/canvas/workflow-canvas.component.d.ts +150 -0
  76. package/dist/src/components/canvas/workflow-canvas.component.js +1468 -0
  77. package/dist/src/components/canvas/workflow-canvas.style.d.ts +8 -0
  78. package/dist/src/components/canvas/workflow-canvas.style.js +2903 -0
  79. package/dist/src/components/canvas/workflow-canvas.types.d.ts +710 -0
  80. package/dist/src/components/canvas/workflow-canvas.types.js +2305 -0
  81. package/dist/src/components/canvas/workflow-node.component.d.ts +96 -0
  82. package/dist/src/components/canvas/workflow-node.component.js +752 -0
  83. package/dist/src/components/canvas/workflow-node.style.d.ts +8 -0
  84. package/dist/src/components/canvas/workflow-node.style.js +1053 -0
  85. package/dist/src/components/card/bundle.js +69 -0
  86. package/dist/src/components/card/bundle.js.gz +0 -0
  87. package/dist/src/components/card/card.component.d.ts +30 -0
  88. package/dist/src/components/card/card.component.js +64 -0
  89. package/dist/src/components/card/card.style.d.ts +2 -0
  90. package/dist/src/components/card/card.style.js +62 -0
  91. package/dist/src/components/card/card.types.d.ts +17 -0
  92. package/dist/src/components/card/card.types.js +2 -0
  93. package/dist/src/components/card/index.d.ts +3 -0
  94. package/dist/src/components/card/index.js +3 -0
  95. package/dist/src/components/card/react.d.ts +5 -0
  96. package/dist/src/components/card/react.js +12 -0
  97. package/dist/src/components/carousel/bundle.js +96 -0
  98. package/dist/src/components/carousel/bundle.js.gz +0 -0
  99. package/dist/src/components/carousel/carousel.component.d.ts +19 -0
  100. package/dist/src/components/carousel/carousel.component.js +128 -0
  101. package/dist/src/components/carousel/carousel.style.d.ts +2 -0
  102. package/dist/src/components/carousel/carousel.style.js +68 -0
  103. package/dist/src/components/carousel/index.d.ts +2 -0
  104. package/dist/src/components/carousel/index.js +2 -0
  105. package/dist/src/components/carousel/react.d.ts +5 -0
  106. package/dist/src/components/carousel/react.js +12 -0
  107. package/dist/src/components/chatbot/bundle.js +2527 -0
  108. package/dist/src/components/chatbot/bundle.js.gz +0 -0
  109. package/dist/src/components/chatbot/chatbot.component.d.ts +215 -0
  110. package/dist/src/components/chatbot/chatbot.component.js +1097 -0
  111. package/dist/src/components/chatbot/chatbot.style.d.ts +3 -0
  112. package/dist/src/components/chatbot/chatbot.style.js +1638 -0
  113. package/dist/src/components/chatbot/chatbot.types.d.ts +246 -0
  114. package/dist/src/components/chatbot/chatbot.types.js +124 -0
  115. package/dist/src/components/chatbot/index.d.ts +13 -0
  116. package/dist/src/components/chatbot/index.js +20 -0
  117. package/dist/src/components/chatbot/react.d.ts +54 -0
  118. package/dist/src/components/chatbot/react.js +55 -0
  119. package/dist/src/components/checkbox/bundle.js +352 -0
  120. package/dist/src/components/checkbox/bundle.js.gz +0 -0
  121. package/dist/src/components/checkbox/checkbox.component.d.ts +62 -0
  122. package/dist/src/components/checkbox/checkbox.component.js +178 -0
  123. package/dist/src/components/checkbox/checkbox.style.d.ts +2 -0
  124. package/dist/src/components/checkbox/checkbox.style.js +323 -0
  125. package/dist/src/components/checkbox/checkbox.types.d.ts +6 -0
  126. package/dist/src/components/checkbox/checkbox.types.js +2 -0
  127. package/dist/src/components/checkbox/index.d.ts +2 -0
  128. package/dist/src/components/checkbox/index.js +2 -0
  129. package/dist/src/components/checkbox/react.d.ts +5 -0
  130. package/dist/src/components/checkbox/react.js +12 -0
  131. package/dist/src/components/code-editor/bundle.js +55 -0
  132. package/dist/src/components/code-editor/bundle.js.gz +0 -0
  133. package/dist/src/components/code-editor/code-editor.component.d.ts +119 -0
  134. package/dist/src/components/code-editor/code-editor.component.js +532 -0
  135. package/dist/src/components/code-editor/code-editor.style.d.ts +7 -0
  136. package/dist/src/components/code-editor/code-editor.style.js +39 -0
  137. package/dist/src/components/code-editor/code-editor.types.d.ts +39 -0
  138. package/dist/src/components/code-editor/code-editor.types.js +22 -0
  139. package/dist/src/components/code-editor/index.d.ts +9 -0
  140. package/dist/src/components/code-editor/index.js +9 -0
  141. package/dist/src/components/collapse/bundle.js +308 -0
  142. package/dist/src/components/collapse/bundle.js.gz +0 -0
  143. package/dist/src/components/collapse/collapse.component.d.ts +93 -0
  144. package/dist/src/components/collapse/collapse.component.js +322 -0
  145. package/dist/src/components/collapse/collapse.style.d.ts +11 -0
  146. package/dist/src/components/collapse/collapse.style.js +234 -0
  147. package/dist/src/components/collapse/collapse.type.d.ts +79 -0
  148. package/dist/src/components/collapse/collapse.type.js +11 -0
  149. package/dist/src/components/collapse/index.d.ts +2 -0
  150. package/dist/src/components/collapse/index.js +2 -0
  151. package/dist/src/components/collapse/react.d.ts +6 -0
  152. package/dist/src/components/collapse/react.js +13 -0
  153. package/dist/src/components/colorpicker/bundle.js +242 -0
  154. package/dist/src/components/colorpicker/bundle.js.gz +0 -0
  155. package/dist/src/components/colorpicker/color-holder.component.d.ts +50 -0
  156. package/dist/src/components/colorpicker/color-holder.component.js +116 -0
  157. package/dist/src/components/colorpicker/color-holder.style.d.ts +2 -0
  158. package/dist/src/components/colorpicker/color-holder.style.js +45 -0
  159. package/dist/src/components/colorpicker/color-picker.component.d.ts +178 -0
  160. package/dist/src/components/colorpicker/color-picker.component.js +374 -0
  161. package/dist/src/components/colorpicker/color-picker.style.d.ts +10 -0
  162. package/dist/src/components/colorpicker/color-picker.style.js +86 -0
  163. package/dist/src/components/colorpicker/color-picker.types.d.ts +60 -0
  164. package/dist/src/components/colorpicker/color-picker.types.js +2 -0
  165. package/dist/src/components/colorpicker/default-color-sets.component.d.ts +45 -0
  166. package/dist/src/components/colorpicker/default-color-sets.component.js +121 -0
  167. package/dist/src/components/colorpicker/default-color-sets.style.d.ts +2 -0
  168. package/dist/src/components/colorpicker/default-color-sets.style.js +34 -0
  169. package/dist/src/components/colorpicker/index.d.ts +3 -0
  170. package/dist/src/components/colorpicker/index.js +3 -0
  171. package/dist/src/components/colorpicker/react.d.ts +6 -0
  172. package/dist/src/components/colorpicker/react.js +13 -0
  173. package/dist/src/components/console/react.d.ts +340 -0
  174. package/dist/src/components/console/react.js +13 -0
  175. package/dist/src/components/container/bundle.js +161 -0
  176. package/dist/src/components/container/bundle.js.gz +0 -0
  177. package/dist/src/components/container/container.component.d.ts +85 -0
  178. package/dist/src/components/container/container.component.js +223 -0
  179. package/dist/src/components/container/container.style.d.ts +6 -0
  180. package/dist/src/components/container/container.style.js +146 -0
  181. package/dist/src/components/container/container.types.d.ts +67 -0
  182. package/dist/src/components/container/container.types.js +5 -0
  183. package/dist/src/components/container/index.d.ts +3 -0
  184. package/dist/src/components/container/index.js +3 -0
  185. package/dist/src/components/container/react.d.ts +3 -0
  186. package/dist/src/components/container/react.js +10 -0
  187. package/dist/src/components/datepicker/bundle.js +706 -0
  188. package/dist/src/components/datepicker/bundle.js.gz +0 -0
  189. package/dist/src/components/datepicker/datepicker.component.d.ts +190 -0
  190. package/dist/src/components/datepicker/datepicker.component.js +673 -0
  191. package/dist/src/components/datepicker/datepicker.constant.d.ts +60 -0
  192. package/dist/src/components/datepicker/datepicker.constant.js +60 -0
  193. package/dist/src/components/datepicker/datepicker.style.d.ts +17 -0
  194. package/dist/src/components/datepicker/datepicker.style.js +453 -0
  195. package/dist/src/components/datepicker/datepicker.style.variables.d.ts +2 -0
  196. package/dist/src/components/datepicker/datepicker.style.variables.js +119 -0
  197. package/dist/src/components/datepicker/datepicker.types.d.ts +142 -0
  198. package/dist/src/components/datepicker/datepicker.types.js +75 -0
  199. package/dist/src/components/datepicker/index.d.ts +4 -0
  200. package/dist/src/components/datepicker/index.js +4 -0
  201. package/dist/src/components/datepicker/react.d.ts +16 -0
  202. package/dist/src/components/datepicker/react.js +23 -0
  203. package/dist/src/components/db-connection-select/bundle.js +308 -0
  204. package/dist/src/components/db-connection-select/bundle.js.gz +0 -0
  205. package/dist/src/components/db-connection-select/db-connection-select.component.d.ts +105 -0
  206. package/dist/src/components/db-connection-select/db-connection-select.component.js +573 -0
  207. package/dist/src/components/db-connection-select/index.d.ts +7 -0
  208. package/dist/src/components/db-connection-select/index.js +7 -0
  209. package/dist/src/components/divider/bundle.js +143 -0
  210. package/dist/src/components/divider/bundle.js.gz +0 -0
  211. package/dist/src/components/divider/divider.component.d.ts +90 -0
  212. package/dist/src/components/divider/divider.component.js +168 -0
  213. package/dist/src/components/divider/divider.style.d.ts +3 -0
  214. package/dist/src/components/divider/divider.style.js +139 -0
  215. package/dist/src/components/divider/divider.types.d.ts +55 -0
  216. package/dist/src/components/divider/divider.types.js +6 -0
  217. package/dist/src/components/divider/index.d.ts +3 -0
  218. package/dist/src/components/divider/index.js +3 -0
  219. package/dist/src/components/divider/react.d.ts +3 -0
  220. package/dist/src/components/divider/react.js +10 -0
  221. package/dist/src/components/document/bundle.js +242 -0
  222. package/dist/src/components/document/bundle.js.gz +0 -0
  223. package/dist/src/components/document/document.component.d.ts +27 -0
  224. package/dist/src/components/document/document.component.js +136 -0
  225. package/dist/src/components/document/document.style.d.ts +3 -0
  226. package/dist/src/components/document/document.style.js +210 -0
  227. package/dist/src/components/document/document.types.d.ts +68 -0
  228. package/dist/src/components/document/document.types.js +7 -0
  229. package/dist/src/components/document/index.d.ts +3 -0
  230. package/dist/src/components/document/index.js +3 -0
  231. package/dist/src/components/document/react.d.ts +8 -0
  232. package/dist/src/components/document/react.js +15 -0
  233. package/dist/src/components/dropdown/bundle.js +528 -0
  234. package/dist/src/components/dropdown/bundle.js.gz +0 -0
  235. package/dist/src/components/dropdown/dropdown.component.d.ts +120 -0
  236. package/dist/src/components/dropdown/dropdown.component.js +390 -0
  237. package/dist/src/components/dropdown/dropdown.style.d.ts +2 -0
  238. package/dist/src/components/dropdown/dropdown.style.js +460 -0
  239. package/dist/src/components/dropdown/dropdown.types.d.ts +99 -0
  240. package/dist/src/components/dropdown/dropdown.types.js +2 -0
  241. package/dist/src/components/dropdown/index.d.ts +3 -0
  242. package/dist/src/components/dropdown/index.js +3 -0
  243. package/dist/src/components/dropdown/react.d.ts +7 -0
  244. package/dist/src/components/dropdown/react.js +14 -0
  245. package/dist/src/components/file-upload/bundle.js +472 -0
  246. package/dist/src/components/file-upload/bundle.js.gz +0 -0
  247. package/dist/src/components/file-upload/file-upload.component.d.ts +43 -0
  248. package/dist/src/components/file-upload/file-upload.component.js +398 -0
  249. package/dist/src/components/file-upload/index.d.ts +2 -0
  250. package/dist/src/components/file-upload/index.js +2 -0
  251. package/dist/src/components/file-upload/react.d.ts +7 -0
  252. package/dist/src/components/file-upload/react.js +14 -0
  253. package/dist/src/components/file-upload/styles.d.ts +2 -0
  254. package/dist/src/components/file-upload/styles.js +373 -0
  255. package/dist/src/components/file-upload/types.d.ts +11 -0
  256. package/dist/src/components/file-upload/types.js +2 -0
  257. package/dist/src/components/file-upload/utils.d.ts +6 -0
  258. package/dist/src/components/file-upload/utils.js +24 -0
  259. package/dist/src/components/flex/bundle.js +114 -0
  260. package/dist/src/components/flex/bundle.js.gz +0 -0
  261. package/dist/src/components/flex/flex.component.d.ts +89 -0
  262. package/dist/src/components/flex/flex.component.js +178 -0
  263. package/dist/src/components/flex/flex.style.d.ts +6 -0
  264. package/dist/src/components/flex/flex.style.js +101 -0
  265. package/dist/src/components/flex/flex.types.d.ts +63 -0
  266. package/dist/src/components/flex/flex.types.js +5 -0
  267. package/dist/src/components/flex/index.d.ts +3 -0
  268. package/dist/src/components/flex/index.js +3 -0
  269. package/dist/src/components/flex/react.d.ts +3 -0
  270. package/dist/src/components/flex/react.js +10 -0
  271. package/dist/src/components/form/bundle.js +98 -0
  272. package/dist/src/components/form/bundle.js.gz +0 -0
  273. package/dist/src/components/form/form.component.d.ts +279 -0
  274. package/dist/src/components/form/form.component.js +644 -0
  275. package/dist/src/components/form/form.style.d.ts +7 -0
  276. package/dist/src/components/form/form.style.js +68 -0
  277. package/dist/src/components/form/form.types.d.ts +92 -0
  278. package/dist/src/components/form/form.types.js +38 -0
  279. package/dist/src/components/form/index.d.ts +10 -0
  280. package/dist/src/components/form/index.js +13 -0
  281. package/dist/src/components/grid/bundle.js +202 -0
  282. package/dist/src/components/grid/bundle.js.gz +0 -0
  283. package/dist/src/components/grid/col.component.d.ts +103 -0
  284. package/dist/src/components/grid/col.component.js +253 -0
  285. package/dist/src/components/grid/col.style.d.ts +6 -0
  286. package/dist/src/components/grid/col.style.js +117 -0
  287. package/dist/src/components/grid/grid.types.d.ts +80 -0
  288. package/dist/src/components/grid/grid.types.js +16 -0
  289. package/dist/src/components/grid/index.d.ts +4 -0
  290. package/dist/src/components/grid/index.js +4 -0
  291. package/dist/src/components/grid/react.d.ts +5 -0
  292. package/dist/src/components/grid/react.js +17 -0
  293. package/dist/src/components/grid/row.component.d.ts +83 -0
  294. package/dist/src/components/grid/row.component.js +197 -0
  295. package/dist/src/components/grid/row.style.d.ts +6 -0
  296. package/dist/src/components/grid/row.style.js +68 -0
  297. package/dist/src/components/icon/bundle.js +340 -0
  298. package/dist/src/components/icon/bundle.js.gz +0 -0
  299. package/dist/src/components/icon/icon.component.d.ts +64 -0
  300. package/dist/src/components/icon/icon.component.js +207 -0
  301. package/dist/src/components/icon/icon.style.d.ts +2 -0
  302. package/dist/src/components/icon/icon.style.js +211 -0
  303. package/dist/src/components/icon/icon.types.d.ts +5 -0
  304. package/dist/src/components/icon/icon.types.js +2 -0
  305. package/dist/src/components/icon/icon.variables.d.ts +17 -0
  306. package/dist/src/components/icon/icon.variables.js +132 -0
  307. package/dist/src/components/icon/index.d.ts +2 -0
  308. package/dist/src/components/icon/index.js +2 -0
  309. package/dist/src/components/icon/react.d.ts +3 -0
  310. package/dist/src/components/icon/react.js +9 -0
  311. package/dist/src/components/iconpicker/bundle.js +2811 -0
  312. package/dist/src/components/iconpicker/bundle.js.gz +0 -0
  313. package/dist/src/components/iconpicker/icon-picker.component.d.ts +119 -0
  314. package/dist/src/components/iconpicker/icon-picker.component.js +337 -0
  315. package/dist/src/components/iconpicker/icon-picker.constant.d.ts +15 -0
  316. package/dist/src/components/iconpicker/icon-picker.constant.js +31 -0
  317. package/dist/src/components/iconpicker/icon-picker.style.d.ts +8 -0
  318. package/dist/src/components/iconpicker/icon-picker.style.js +216 -0
  319. package/dist/src/components/iconpicker/icon-picker.types.d.ts +49 -0
  320. package/dist/src/components/iconpicker/icon-picker.types.js +7 -0
  321. package/dist/src/components/iconpicker/index.d.ts +9 -0
  322. package/dist/src/components/iconpicker/index.js +9 -0
  323. package/dist/src/components/iconpicker/react.d.ts +14 -0
  324. package/dist/src/components/iconpicker/react.js +21 -0
  325. package/dist/src/components/image/bundle.js +98 -0
  326. package/dist/src/components/image/bundle.js.gz +0 -0
  327. package/dist/src/components/image/image.component.d.ts +31 -0
  328. package/dist/src/components/image/image.component.js +143 -0
  329. package/dist/src/components/image/image.style.d.ts +3 -0
  330. package/dist/src/components/image/image.style.js +83 -0
  331. package/dist/src/components/image/image.types.d.ts +68 -0
  332. package/dist/src/components/image/image.types.js +7 -0
  333. package/dist/src/components/image/index.d.ts +3 -0
  334. package/dist/src/components/image/index.js +3 -0
  335. package/dist/src/components/image/react.d.ts +8 -0
  336. package/dist/src/components/image/react.js +15 -0
  337. package/dist/src/components/input/bundle.js +930 -0
  338. package/dist/src/components/input/bundle.js.gz +0 -0
  339. package/dist/src/components/input/index.d.ts +3 -0
  340. package/dist/src/components/input/index.js +3 -0
  341. package/dist/src/components/input/input.component.d.ts +174 -0
  342. package/dist/src/components/input/input.component.js +490 -0
  343. package/dist/src/components/input/input.style.d.ts +2 -0
  344. package/dist/src/components/input/input.style.js +810 -0
  345. package/dist/src/components/input/input.types.d.ts +127 -0
  346. package/dist/src/components/input/input.types.js +75 -0
  347. package/dist/src/components/input/react.d.ts +9 -0
  348. package/dist/src/components/input/react.js +16 -0
  349. package/dist/src/components/input/validation.d.ts +3 -0
  350. package/dist/src/components/input/validation.js +3 -0
  351. package/dist/src/components/kv-secret-select/bundle.js +183 -0
  352. package/dist/src/components/kv-secret-select/bundle.js.gz +0 -0
  353. package/dist/src/components/kv-secret-select/index.d.ts +2 -0
  354. package/dist/src/components/kv-secret-select/index.js +2 -0
  355. package/dist/src/components/kv-secret-select/kv-secret-select.component.d.ts +83 -0
  356. package/dist/src/components/kv-secret-select/kv-secret-select.component.js +360 -0
  357. package/dist/src/components/label/bundle.js +104 -0
  358. package/dist/src/components/label/bundle.js.gz +0 -0
  359. package/dist/src/components/label/index.d.ts +2 -0
  360. package/dist/src/components/label/index.js +2 -0
  361. package/dist/src/components/label/label.component.d.ts +18 -0
  362. package/dist/src/components/label/label.component.js +64 -0
  363. package/dist/src/components/label/label.style.d.ts +3 -0
  364. package/dist/src/components/label/label.style.js +70 -0
  365. package/dist/src/components/label/label.style.variables.d.ts +2 -0
  366. package/dist/src/components/label/label.style.variables.js +35 -0
  367. package/dist/src/components/label/label.types.d.ts +42 -0
  368. package/dist/src/components/label/label.types.js +2 -0
  369. package/dist/src/components/label/react.d.ts +339 -0
  370. package/dist/src/components/label/react.js +12 -0
  371. package/dist/src/components/layout/bundle.js +220 -0
  372. package/dist/src/components/layout/bundle.js.gz +0 -0
  373. package/dist/src/components/layout/content.component.d.ts +35 -0
  374. package/dist/src/components/layout/content.component.js +47 -0
  375. package/dist/src/components/layout/content.style.d.ts +2 -0
  376. package/dist/src/components/layout/content.style.js +17 -0
  377. package/dist/src/components/layout/footer.component.d.ts +38 -0
  378. package/dist/src/components/layout/footer.component.js +60 -0
  379. package/dist/src/components/layout/footer.style.d.ts +2 -0
  380. package/dist/src/components/layout/footer.style.js +17 -0
  381. package/dist/src/components/layout/header.component.d.ts +39 -0
  382. package/dist/src/components/layout/header.component.js +61 -0
  383. package/dist/src/components/layout/header.style.d.ts +2 -0
  384. package/dist/src/components/layout/header.style.js +19 -0
  385. package/dist/src/components/layout/index.d.ts +8 -0
  386. package/dist/src/components/layout/index.js +7 -0
  387. package/dist/src/components/layout/layout.component.d.ts +50 -0
  388. package/dist/src/components/layout/layout.component.js +89 -0
  389. package/dist/src/components/layout/layout.style.d.ts +2 -0
  390. package/dist/src/components/layout/layout.style.js +23 -0
  391. package/dist/src/components/layout/layout.types.d.ts +75 -0
  392. package/dist/src/components/layout/layout.types.js +12 -0
  393. package/dist/src/components/layout/react.d.ts +14 -0
  394. package/dist/src/components/layout/react.js +37 -0
  395. package/dist/src/components/layout/sider.component.d.ts +116 -0
  396. package/dist/src/components/layout/sider.component.js +273 -0
  397. package/dist/src/components/layout/sider.style.d.ts +2 -0
  398. package/dist/src/components/layout/sider.style.js +104 -0
  399. package/dist/src/components/menu/bundle.js +520 -0
  400. package/dist/src/components/menu/bundle.js.gz +0 -0
  401. package/dist/src/components/menu/index.d.ts +4 -0
  402. package/dist/src/components/menu/index.js +2 -0
  403. package/dist/src/components/menu/menu.component.d.ts +87 -0
  404. package/dist/src/components/menu/menu.component.js +596 -0
  405. package/dist/src/components/menu/menu.constants.d.ts +12 -0
  406. package/dist/src/components/menu/menu.constants.js +14 -0
  407. package/dist/src/components/menu/menu.style.d.ts +2 -0
  408. package/dist/src/components/menu/menu.style.js +372 -0
  409. package/dist/src/components/menu/menu.types.d.ts +66 -0
  410. package/dist/src/components/menu/menu.types.js +7 -0
  411. package/dist/src/components/menu/react.d.ts +5 -0
  412. package/dist/src/components/menu/react.js +12 -0
  413. package/dist/src/components/modal/bundle.js +442 -0
  414. package/dist/src/components/modal/bundle.js.gz +0 -0
  415. package/dist/src/components/modal/index.d.ts +10 -0
  416. package/dist/src/components/modal/index.js +10 -0
  417. package/dist/src/components/modal/modal-manager.d.ts +72 -0
  418. package/dist/src/components/modal/modal-manager.js +170 -0
  419. package/dist/src/components/modal/modal.component.d.ts +121 -0
  420. package/dist/src/components/modal/modal.component.js +461 -0
  421. package/dist/src/components/modal/modal.style.d.ts +9 -0
  422. package/dist/src/components/modal/modal.style.js +369 -0
  423. package/dist/src/components/modal/modal.types.d.ts +105 -0
  424. package/dist/src/components/modal/modal.types.js +93 -0
  425. package/dist/src/components/modal/react.d.ts +9 -0
  426. package/dist/src/components/modal/react.js +16 -0
  427. package/dist/src/components/panel/bundle.js +1075 -0
  428. package/dist/src/components/panel/bundle.js.gz +0 -0
  429. package/dist/src/components/panel/index.d.ts +9 -0
  430. package/dist/src/components/panel/index.js +9 -0
  431. package/dist/src/components/panel/panel.component.d.ts +199 -0
  432. package/dist/src/components/panel/panel.component.js +720 -0
  433. package/dist/src/components/panel/panel.style.d.ts +7 -0
  434. package/dist/src/components/panel/panel.style.js +497 -0
  435. package/dist/src/components/panel/panel.types.d.ts +94 -0
  436. package/dist/src/components/panel/panel.types.js +50 -0
  437. package/dist/src/components/panel/react.d.ts +11 -0
  438. package/dist/src/components/panel/react.js +18 -0
  439. package/dist/src/components/popconfirm/bundle.js +438 -0
  440. package/dist/src/components/popconfirm/bundle.js.gz +0 -0
  441. package/dist/src/components/popconfirm/index.d.ts +4 -0
  442. package/dist/src/components/popconfirm/index.js +4 -0
  443. package/dist/src/components/popconfirm/popconfirm-manager.component.d.ts +129 -0
  444. package/dist/src/components/popconfirm/popconfirm-manager.component.js +372 -0
  445. package/dist/src/components/popconfirm/popconfirm-manager.style.d.ts +2 -0
  446. package/dist/src/components/popconfirm/popconfirm-manager.style.js +137 -0
  447. package/dist/src/components/popconfirm/popconfirm.component.d.ts +179 -0
  448. package/dist/src/components/popconfirm/popconfirm.component.js +409 -0
  449. package/dist/src/components/popconfirm/popconfirm.style.d.ts +2 -0
  450. package/dist/src/components/popconfirm/popconfirm.style.js +207 -0
  451. package/dist/src/components/popconfirm/popconfirm.types.d.ts +104 -0
  452. package/dist/src/components/popconfirm/popconfirm.types.js +2 -0
  453. package/dist/src/components/popconfirm/react.d.ts +7 -0
  454. package/dist/src/components/popconfirm/react.js +14 -0
  455. package/dist/src/components/radio/bundle.js +180 -0
  456. package/dist/src/components/radio/bundle.js.gz +0 -0
  457. package/dist/src/components/radio/index.d.ts +3 -0
  458. package/dist/src/components/radio/index.js +3 -0
  459. package/dist/src/components/radio/radio.component.d.ts +70 -0
  460. package/dist/src/components/radio/radio.component.js +187 -0
  461. package/dist/src/components/radio/radio.style.d.ts +7 -0
  462. package/dist/src/components/radio/radio.style.js +149 -0
  463. package/dist/src/components/radio/radio.types.d.ts +14 -0
  464. package/dist/src/components/radio/radio.types.js +15 -0
  465. package/dist/src/components/radio/react.d.ts +12 -0
  466. package/dist/src/components/radio/react.js +19 -0
  467. package/dist/src/components/radio-group/bundle.js +430 -0
  468. package/dist/src/components/radio-group/bundle.js.gz +0 -0
  469. package/dist/src/components/radio-group/index.d.ts +3 -0
  470. package/dist/src/components/radio-group/index.js +3 -0
  471. package/dist/src/components/radio-group/radio-group.component.d.ts +165 -0
  472. package/dist/src/components/radio-group/radio-group.component.js +437 -0
  473. package/dist/src/components/radio-group/radio-group.style.d.ts +7 -0
  474. package/dist/src/components/radio-group/radio-group.style.js +270 -0
  475. package/dist/src/components/radio-group/radio-group.types.d.ts +39 -0
  476. package/dist/src/components/radio-group/radio-group.types.js +29 -0
  477. package/dist/src/components/radio-group/radio.constant.d.ts +2 -0
  478. package/dist/src/components/radio-group/radio.constant.js +2 -0
  479. package/dist/src/components/radio-group/react.d.ts +10 -0
  480. package/dist/src/components/radio-group/react.js +17 -0
  481. package/dist/src/components/select/bundle.js +721 -0
  482. package/dist/src/components/select/bundle.js.gz +0 -0
  483. package/dist/src/components/select/index.d.ts +17 -0
  484. package/dist/src/components/select/index.js +20 -0
  485. package/dist/src/components/select/react.d.ts +19 -0
  486. package/dist/src/components/select/react.js +26 -0
  487. package/dist/src/components/select/select.component.d.ts +359 -0
  488. package/dist/src/components/select/select.component.js +775 -0
  489. package/dist/src/components/select/select.constant.d.ts +133 -0
  490. package/dist/src/components/select/select.constant.js +136 -0
  491. package/dist/src/components/select/select.style.d.ts +2 -0
  492. package/dist/src/components/select/select.style.js +533 -0
  493. package/dist/src/components/select/select.types.d.ts +100 -0
  494. package/dist/src/components/select/select.types.js +73 -0
  495. package/dist/src/components/skeleton/bundle.js +293 -0
  496. package/dist/src/components/skeleton/bundle.js.gz +0 -0
  497. package/dist/src/components/skeleton/index.d.ts +3 -0
  498. package/dist/src/components/skeleton/index.js +3 -0
  499. package/dist/src/components/skeleton/react.d.ts +3 -0
  500. package/dist/src/components/skeleton/react.js +10 -0
  501. package/dist/src/components/skeleton/skeleton.component.d.ts +165 -0
  502. package/dist/src/components/skeleton/skeleton.component.js +387 -0
  503. package/dist/src/components/skeleton/skeleton.style.d.ts +2 -0
  504. package/dist/src/components/skeleton/skeleton.style.js +224 -0
  505. package/dist/src/components/skeleton/skeleton.types.d.ts +82 -0
  506. package/dist/src/components/skeleton/skeleton.types.js +2 -0
  507. package/dist/src/components/slider-input/bundle.js +241 -0
  508. package/dist/src/components/slider-input/bundle.js.gz +0 -0
  509. package/dist/src/components/slider-input/index.d.ts +3 -0
  510. package/dist/src/components/slider-input/index.js +3 -0
  511. package/dist/src/components/slider-input/react.d.ts +340 -0
  512. package/dist/src/components/slider-input/react.js +13 -0
  513. package/dist/src/components/slider-input/slider-input.component.d.ts +38 -0
  514. package/dist/src/components/slider-input/slider-input.component.js +191 -0
  515. package/dist/src/components/slider-input/slider-input.style.d.ts +3 -0
  516. package/dist/src/components/slider-input/slider-input.style.js +171 -0
  517. package/dist/src/components/slider-input/slider-input.style.variables.d.ts +2 -0
  518. package/dist/src/components/slider-input/slider-input.style.variables.js +59 -0
  519. package/dist/src/components/slider-input/slider-input.types.d.ts +21 -0
  520. package/dist/src/components/slider-input/slider-input.types.js +6 -0
  521. package/dist/src/components/table/bundle.js +987 -0
  522. package/dist/src/components/table/bundle.js.gz +0 -0
  523. package/dist/src/components/table/index.d.ts +2 -0
  524. package/dist/src/components/table/index.js +2 -0
  525. package/dist/src/components/table/react.d.ts +7 -0
  526. package/dist/src/components/table/react.js +14 -0
  527. package/dist/src/components/table/table.component.d.ts +140 -0
  528. package/dist/src/components/table/table.component.js +433 -0
  529. package/dist/src/components/table/table.style.d.ts +3 -0
  530. package/dist/src/components/table/table.style.js +702 -0
  531. package/dist/src/components/table/table.types.d.ts +103 -0
  532. package/dist/src/components/table/table.types.js +2 -0
  533. package/dist/src/components/tabs/bundle.js +1782 -0
  534. package/dist/src/components/tabs/bundle.js.gz +0 -0
  535. package/dist/src/components/tabs/index.d.ts +9 -0
  536. package/dist/src/components/tabs/index.js +10 -0
  537. package/dist/src/components/tabs/react.d.ts +50 -0
  538. package/dist/src/components/tabs/react.js +50 -0
  539. package/dist/src/components/tabs/tabs.component.d.ts +100 -0
  540. package/dist/src/components/tabs/tabs.component.js +461 -0
  541. package/dist/src/components/tabs/tabs.constant.d.ts +20 -0
  542. package/dist/src/components/tabs/tabs.constant.js +21 -0
  543. package/dist/src/components/tabs/tabs.style.d.ts +9 -0
  544. package/dist/src/components/tabs/tabs.style.js +577 -0
  545. package/dist/src/components/tabs/tabs.types.d.ts +241 -0
  546. package/dist/src/components/tabs/tabs.types.js +13 -0
  547. package/dist/src/components/tag/bundle.js +108 -0
  548. package/dist/src/components/tag/bundle.js.gz +0 -0
  549. package/dist/src/components/tag/index.d.ts +2 -0
  550. package/dist/src/components/tag/index.js +2 -0
  551. package/dist/src/components/tag/react.d.ts +6 -0
  552. package/dist/src/components/tag/react.js +13 -0
  553. package/dist/src/components/tag/tag.component.d.ts +57 -0
  554. package/dist/src/components/tag/tag.component.js +157 -0
  555. package/dist/src/components/tag/tag.style.d.ts +7 -0
  556. package/dist/src/components/tag/tag.style.js +88 -0
  557. package/dist/src/components/tag/tag.types.d.ts +28 -0
  558. package/dist/src/components/tag/tag.types.js +7 -0
  559. package/dist/src/components/textarea/bundle.js +404 -0
  560. package/dist/src/components/textarea/bundle.js.gz +0 -0
  561. package/dist/src/components/textarea/index.d.ts +8 -0
  562. package/dist/src/components/textarea/index.js +7 -0
  563. package/dist/src/components/textarea/react.d.ts +9 -0
  564. package/dist/src/components/textarea/react.js +16 -0
  565. package/dist/src/components/textarea/textarea.component.d.ts +203 -0
  566. package/dist/src/components/textarea/textarea.component.js +657 -0
  567. package/dist/src/components/textarea/textarea.style.d.ts +59 -0
  568. package/dist/src/components/textarea/textarea.style.js +386 -0
  569. package/dist/src/components/textarea/textarea.types.d.ts +102 -0
  570. package/dist/src/components/textarea/textarea.types.js +14 -0
  571. package/dist/src/components/timeline/bundle.js +261 -0
  572. package/dist/src/components/timeline/bundle.js.gz +0 -0
  573. package/dist/src/components/timeline/index.d.ts +2 -0
  574. package/dist/src/components/timeline/index.js +2 -0
  575. package/dist/src/components/timeline/react.d.ts +3 -0
  576. package/dist/src/components/timeline/react.js +10 -0
  577. package/dist/src/components/timeline/timeline.component.d.ts +109 -0
  578. package/dist/src/components/timeline/timeline.component.js +214 -0
  579. package/dist/src/components/timeline/timeline.style.d.ts +14 -0
  580. package/dist/src/components/timeline/timeline.style.js +234 -0
  581. package/dist/src/components/timeline/timeline.types.d.ts +62 -0
  582. package/dist/src/components/timeline/timeline.types.js +7 -0
  583. package/dist/src/components/timepicker/bundle.js +810 -0
  584. package/dist/src/components/timepicker/bundle.js.gz +0 -0
  585. package/dist/src/components/timepicker/index.d.ts +12 -0
  586. package/dist/src/components/timepicker/index.js +12 -0
  587. package/dist/src/components/timepicker/timepicker.component.d.ts +115 -0
  588. package/dist/src/components/timepicker/timepicker.component.js +743 -0
  589. package/dist/src/components/timepicker/timepicker.constants.d.ts +85 -0
  590. package/dist/src/components/timepicker/timepicker.constants.js +85 -0
  591. package/dist/src/components/timepicker/timepicker.style.d.ts +7 -0
  592. package/dist/src/components/timepicker/timepicker.style.js +568 -0
  593. package/dist/src/components/timepicker/timepicker.style.variables.d.ts +2 -0
  594. package/dist/src/components/timepicker/timepicker.style.variables.js +122 -0
  595. package/dist/src/components/timepicker/timepicker.types.d.ts +161 -0
  596. package/dist/src/components/timepicker/timepicker.types.js +125 -0
  597. package/dist/src/components/toast/bundle.js +393 -0
  598. package/dist/src/components/toast/bundle.js.gz +0 -0
  599. package/dist/src/components/toast/index.d.ts +9 -0
  600. package/dist/src/components/toast/index.js +9 -0
  601. package/dist/src/components/toast/react.d.ts +7 -0
  602. package/dist/src/components/toast/react.js +19 -0
  603. package/dist/src/components/toast/toast.component.d.ts +152 -0
  604. package/dist/src/components/toast/toast.component.js +368 -0
  605. package/dist/src/components/toast/toast.style.d.ts +14 -0
  606. package/dist/src/components/toast/toast.style.js +338 -0
  607. package/dist/src/components/toast/toast.types.d.ts +124 -0
  608. package/dist/src/components/toast/toast.types.js +9 -0
  609. package/dist/src/components/tooltips/bundle.js +123 -0
  610. package/dist/src/components/tooltips/bundle.js.gz +0 -0
  611. package/dist/src/components/tooltips/index.d.ts +2 -0
  612. package/dist/src/components/tooltips/index.js +2 -0
  613. package/dist/src/components/tooltips/react.d.ts +1 -0
  614. package/dist/src/components/tooltips/react.js +2 -0
  615. package/dist/src/components/tooltips/tooltips.component.d.ts +33 -0
  616. package/dist/src/components/tooltips/tooltips.component.js +313 -0
  617. package/dist/src/components/tooltips/tooltips.constant.d.ts +13 -0
  618. package/dist/src/components/tooltips/tooltips.constant.js +15 -0
  619. package/dist/src/components/tooltips/tooltips.style.d.ts +2 -0
  620. package/dist/src/components/tooltips/tooltips.style.js +103 -0
  621. package/dist/src/components/tooltips/tooltips.variables.d.ts +2 -0
  622. package/dist/src/components/tooltips/tooltips.variables.js +14 -0
  623. package/dist/src/components/video/bundle.js +171 -0
  624. package/dist/src/components/video/bundle.js.gz +0 -0
  625. package/dist/src/components/video/index.d.ts +3 -0
  626. package/dist/src/components/video/index.js +3 -0
  627. package/dist/src/components/video/react.d.ts +10 -0
  628. package/dist/src/components/video/react.js +17 -0
  629. package/dist/src/components/video/video.component.d.ts +34 -0
  630. package/dist/src/components/video/video.component.js +184 -0
  631. package/dist/src/components/video/video.style.d.ts +3 -0
  632. package/dist/src/components/video/video.style.js +124 -0
  633. package/dist/src/components/video/video.types.d.ts +80 -0
  634. package/dist/src/components/video/video.types.js +7 -0
  635. package/package.json +215 -0
  636. package/packages/common/README.md +137 -0
  637. package/packages/common/dist/LICENSE +28 -0
  638. package/packages/common/dist/README.md +137 -0
  639. package/packages/common/dist/VERSIONS.md +4 -0
  640. package/packages/common/dist/constants/index.d.ts +2 -0
  641. package/packages/common/dist/constants/index.d.ts.map +1 -0
  642. package/packages/common/dist/constants/index.js +2 -0
  643. package/packages/common/dist/constants/index.js.map +1 -0
  644. package/packages/common/dist/constants.d.ts +17 -0
  645. package/packages/common/dist/constants.d.ts.map +1 -0
  646. package/packages/common/dist/constants.js +7 -0
  647. package/packages/common/dist/constants.js.map +1 -0
  648. package/packages/common/dist/controllers/index.d.ts +2 -0
  649. package/packages/common/dist/controllers/index.d.ts.map +1 -0
  650. package/packages/common/dist/controllers/index.js +2 -0
  651. package/packages/common/dist/controllers/index.js.map +1 -0
  652. package/packages/common/dist/controllers.d.ts +21 -0
  653. package/packages/common/dist/controllers.d.ts.map +1 -0
  654. package/packages/common/dist/controllers.js +22 -0
  655. package/packages/common/dist/controllers.js.map +1 -0
  656. package/packages/common/dist/index.d.ts +25 -0
  657. package/packages/common/dist/index.d.ts.map +1 -0
  658. package/packages/common/dist/index.js +27 -0
  659. package/packages/common/dist/index.js.map +1 -0
  660. package/packages/common/dist/mixins/index.d.ts +2 -0
  661. package/packages/common/dist/mixins/index.d.ts.map +1 -0
  662. package/packages/common/dist/mixins/index.js +3 -0
  663. package/packages/common/dist/mixins/index.js.map +1 -0
  664. package/packages/common/dist/mixins.d.ts +26 -0
  665. package/packages/common/dist/mixins.d.ts.map +1 -0
  666. package/packages/common/dist/mixins.js +29 -0
  667. package/packages/common/dist/mixins.js.map +1 -0
  668. package/packages/common/dist/shared/base-mixin.d.ts +42 -0
  669. package/packages/common/dist/shared/base-mixin.d.ts.map +1 -0
  670. package/packages/common/dist/shared/base-mixin.js +38 -0
  671. package/packages/common/dist/shared/base-mixin.js.map +1 -0
  672. package/packages/common/dist/shared/constants.d.ts +1 -0
  673. package/packages/common/dist/shared/constants.d.ts.map +1 -0
  674. package/packages/common/dist/shared/constants.js +2 -0
  675. package/packages/common/dist/shared/constants.js.map +1 -0
  676. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts +81 -0
  677. package/packages/common/dist/shared/controllers/base-validation.controller.d.ts.map +1 -0
  678. package/packages/common/dist/shared/controllers/base-validation.controller.js +104 -0
  679. package/packages/common/dist/shared/controllers/base-validation.controller.js.map +1 -0
  680. package/packages/common/dist/shared/controllers/base.controller.d.ts +76 -0
  681. package/packages/common/dist/shared/controllers/base.controller.d.ts.map +1 -0
  682. package/packages/common/dist/shared/controllers/base.controller.js +129 -0
  683. package/packages/common/dist/shared/controllers/base.controller.js.map +1 -0
  684. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts +77 -0
  685. package/packages/common/dist/shared/controllers/dropdown.controller.d.ts.map +1 -0
  686. package/packages/common/dist/shared/controllers/dropdown.controller.js +341 -0
  687. package/packages/common/dist/shared/controllers/dropdown.controller.js.map +1 -0
  688. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts +37 -0
  689. package/packages/common/dist/shared/controllers/dropdown.interface.d.ts.map +1 -0
  690. package/packages/common/dist/shared/controllers/dropdown.interface.js +2 -0
  691. package/packages/common/dist/shared/controllers/dropdown.interface.js.map +1 -0
  692. package/packages/common/dist/shared/controllers/index.d.ts +6 -0
  693. package/packages/common/dist/shared/controllers/index.d.ts.map +1 -0
  694. package/packages/common/dist/shared/controllers/index.js +6 -0
  695. package/packages/common/dist/shared/controllers/index.js.map +1 -0
  696. package/packages/common/dist/shared/controllers/theme.controller.d.ts +48 -0
  697. package/packages/common/dist/shared/controllers/theme.controller.d.ts.map +1 -0
  698. package/packages/common/dist/shared/controllers/theme.controller.js +133 -0
  699. package/packages/common/dist/shared/controllers/theme.controller.js.map +1 -0
  700. package/packages/common/dist/shared/dependency-mixin.d.ts +37 -0
  701. package/packages/common/dist/shared/dependency-mixin.d.ts.map +1 -0
  702. package/packages/common/dist/shared/dependency-mixin.js +141 -0
  703. package/packages/common/dist/shared/dependency-mixin.js.map +1 -0
  704. package/packages/common/dist/shared/event-handler-mixin.d.ts +64 -0
  705. package/packages/common/dist/shared/event-handler-mixin.d.ts.map +1 -0
  706. package/packages/common/dist/shared/event-handler-mixin.js +95 -0
  707. package/packages/common/dist/shared/event-handler-mixin.js.map +1 -0
  708. package/packages/common/dist/shared/index.d.ts +13 -0
  709. package/packages/common/dist/shared/index.d.ts.map +1 -0
  710. package/packages/common/dist/shared/index.js +17 -0
  711. package/packages/common/dist/shared/index.js.map +1 -0
  712. package/packages/common/dist/shared/render-utils.d.ts +103 -0
  713. package/packages/common/dist/shared/render-utils.d.ts.map +1 -0
  714. package/packages/common/dist/shared/render-utils.js +132 -0
  715. package/packages/common/dist/shared/render-utils.js.map +1 -0
  716. package/packages/common/dist/shared/theme-mixin.d.ts +78 -0
  717. package/packages/common/dist/shared/theme-mixin.d.ts.map +1 -0
  718. package/packages/common/dist/shared/theme-mixin.js +194 -0
  719. package/packages/common/dist/shared/theme-mixin.js.map +1 -0
  720. package/packages/common/dist/shared/themes.d.ts +44 -0
  721. package/packages/common/dist/shared/themes.d.ts.map +1 -0
  722. package/packages/common/dist/shared/themes.js +85 -0
  723. package/packages/common/dist/shared/themes.js.map +1 -0
  724. package/packages/common/dist/shared/utils.d.ts +60 -0
  725. package/packages/common/dist/shared/utils.d.ts.map +1 -0
  726. package/packages/common/dist/shared/utils.js +85 -0
  727. package/packages/common/dist/shared/utils.js.map +1 -0
  728. package/packages/common/dist/shared/validation.types.d.ts +108 -0
  729. package/packages/common/dist/shared/validation.types.d.ts.map +1 -0
  730. package/packages/common/dist/shared/validation.types.js +17 -0
  731. package/packages/common/dist/shared/validation.types.js.map +1 -0
  732. package/packages/common/dist/themes/index.d.ts +2 -0
  733. package/packages/common/dist/themes/index.d.ts.map +1 -0
  734. package/packages/common/dist/themes/index.js +2 -0
  735. package/packages/common/dist/themes/index.js.map +1 -0
  736. package/packages/common/dist/themes.d.ts +22 -0
  737. package/packages/common/dist/themes.d.ts.map +1 -0
  738. package/packages/common/dist/themes.js +23 -0
  739. package/packages/common/dist/themes.js.map +1 -0
  740. package/packages/common/dist/utils/index.d.ts +2 -0
  741. package/packages/common/dist/utils/index.d.ts.map +1 -0
  742. package/packages/common/dist/utils/index.js +2 -0
  743. package/packages/common/dist/utils/index.js.map +1 -0
  744. package/packages/common/dist/utils.d.ts +22 -0
  745. package/packages/common/dist/utils.d.ts.map +1 -0
  746. package/packages/common/dist/utils.js +24 -0
  747. package/packages/common/dist/utils.js.map +1 -0
  748. package/packages/themes/README.md +146 -0
  749. package/packages/themes/dist/README.md +146 -0
  750. package/packages/themes/dist/carbon.css +2987 -0
  751. package/packages/themes/dist/default.css +2757 -0
  752. package/packages/themes/dist/editor.css +1063 -0
  753. package/packages/themes/dist/index.cjs +46 -0
  754. package/packages/themes/dist/index.js +46 -0
  755. package/packages/themes/dist/package.json +59 -0
@@ -0,0 +1,721 @@
1
+ import{css as t,nothing as e,html as i,LitElement as r}from"lit";import{property as s,query as o,customElement as n}from"lit/decorators.js";import{map as a}from"lit/directives/map.js";import{choose as l}from"lit/directives/choose.js";import{classMap as c}from"lit/directives/class-map.js";import{styleMap as h}from"lit/directives/style-map.js";import{unsafeHTML as u}from"lit/directives/unsafe-html.js";import{NuralyUIBaseMixin as d}from"@nuralyui/common/mixins";import{renderValidationMessage as p}from"@nuralyui/common/utils";import{BaseComponentController as v,BaseValidationController as y}from"@nuralyui/common/controllers";const g=t`
2
+ :host {
3
+ width: fit-content;
4
+ display: block;
5
+ font-family: var(--nuraly-select-font-family, var(--nuraly-font-family));
6
+ font-size: var(--nuraly-select-font-size, var(--nuraly-font-size-sm));
7
+ line-height: var(--nuraly-select-line-height, var(--nuraly-line-height-normal));
8
+ margin: var(--nuraly-select-margin, 0);
9
+ }
10
+
11
+ /* Host attribute selectors for configuration */
12
+ :host([disabled]) {
13
+ opacity: var(--nuraly-select-disabled-opacity, 0.5);
14
+ pointer-events: none;
15
+ }
16
+
17
+ :host([disabled]) .wrapper {
18
+ background-color: var(--nuraly-select-disabled-background, var(--nuraly-color-background-disabled));
19
+ border-color: var(--nuraly-select-disabled-border-color, var(--nuraly-color-border));
20
+ color: var(--nuraly-select-disabled-text-color, var(--nuraly-color-text-disabled));
21
+ cursor: not-allowed;
22
+ }
23
+
24
+ /* Size variants */
25
+ :host([size='small']) .wrapper {
26
+ height: var(--nuraly-select-small-height, var(--nuraly-size-sm));
27
+ min-height: var(--nuraly-select-small-height, var(--nuraly-size-sm));
28
+ font-size: var(--nuraly-select-small-font-size, var(--nuraly-font-size-xs));
29
+ }
30
+
31
+ :host([size='small']) .select-trigger {
32
+ padding: var(--nuraly-select-small-padding, var(--nuraly-spacing-1) var(--nuraly-spacing-2));
33
+ padding-right: calc(var(--nuraly-select-small-icon-size, var(--nuraly-font-size-sm)) + var(--nuraly-spacing-5));
34
+ }
35
+
36
+ :host([size='small']) .icons-container nr-icon {
37
+ --nuraly-icon-width: var(--nuraly-select-small-icon-size, var(--nuraly-font-size-sm));
38
+ }
39
+
40
+ :host([size='small']) .option {
41
+ padding: var(--nuraly-select-small-padding, var(--nuraly-spacing-1) var(--nuraly-spacing-2));
42
+ font-size: var(--nuraly-select-small-font-size, var(--nuraly-font-size-xs));
43
+ min-height: var(--nuraly-select-small-height, var(--nuraly-size-sm));
44
+ }
45
+
46
+ :host([size='small']) .option-icon,
47
+ :host([size='small']) .option nr-icon {
48
+ --nuraly-icon-width: var(--nuraly-select-small-icon-size, var(--nuraly-font-size-sm));
49
+ }
50
+
51
+ :host([size='medium']) .wrapper {
52
+ min-height: var(--nuraly-select-medium-height, var(--nuraly-size-lg));
53
+ font-size: var(--nuraly-select-medium-font-size, var(--nuraly-font-size-sm));
54
+ }
55
+
56
+ :host([size='medium']) .select-trigger {
57
+ padding: var(--nuraly-select-medium-padding, var(--nuraly-spacing-2) var(--nuraly-spacing-3));
58
+ padding-right: calc(var(--nuraly-select-medium-icon-size, var(--nuraly-font-size-base)) + var(--nuraly-spacing-5));
59
+ }
60
+
61
+ :host([size='medium']) .icons-container nr-icon {
62
+ --nuraly-icon-width: var(--nuraly-select-medium-icon-size, var(--nuraly-font-size-base));
63
+ }
64
+
65
+ :host([size='medium']) .option {
66
+ padding: var(--nuraly-select-medium-padding, var(--nuraly-spacing-2) var(--nuraly-spacing-3));
67
+ font-size: var(--nuraly-select-medium-font-size, var(--nuraly-font-size-sm));
68
+ min-height: var(--nuraly-select-medium-height, var(--nuraly-size-lg));
69
+ }
70
+
71
+ :host([size='medium']) .option-icon,
72
+ :host([size='medium']) .option nr-icon {
73
+ --nuraly-icon-width: var(--nuraly-select-medium-icon-size, var(--nuraly-font-size-base));
74
+ }
75
+
76
+ :host([size='large']) .wrapper {
77
+ min-height: var(--nuraly-select-large-height, var(--nuraly-size-xl));
78
+ font-size: var(--nuraly-select-large-font-size, var(--nuraly-font-size-lg));
79
+ }
80
+
81
+ :host([size='large']) .select-trigger {
82
+ padding: var(--nuraly-select-large-padding, var(--nuraly-spacing-3) var(--nuraly-spacing-4));
83
+ padding-right: calc(var(--nuraly-select-large-icon-size, var(--nuraly-font-size-xl)) + var(--nuraly-spacing-5));
84
+ }
85
+
86
+ :host([size='large']) .icons-container nr-icon {
87
+ --nuraly-icon-width: var(--nuraly-select-large-icon-size, var(--nuraly-font-size-xl));
88
+ }
89
+
90
+ :host([size='large']) .option {
91
+ padding: var(--nuraly-select-large-padding, var(--nuraly-spacing-3) var(--nuraly-spacing-4));
92
+ font-size: var(--nuraly-select-large-font-size, var(--nuraly-font-size-lg));
93
+ min-height: var(--nuraly-select-large-height, var(--nuraly-size-xl));
94
+ }
95
+
96
+ :host([size='large']) .option-icon,
97
+ :host([size='large']) .option nr-icon {
98
+ --nuraly-icon-width: var(--nuraly-select-large-icon-size, var(--nuraly-font-size-xl));
99
+ }
100
+
101
+ /* Status variants */
102
+ :host([status='error']) .wrapper {
103
+ border-color: var(--nuraly-select-error-border-color, var(--nuraly-color-danger));
104
+ }
105
+
106
+ :host([status='warning']) .wrapper {
107
+ border-color: var(--nuraly-select-warning-border-color, var(--nuraly-color-warning));
108
+ }
109
+
110
+ :host([status='success']) .wrapper {
111
+ border-color: var(--nuraly-select-success-border-color, var(--nuraly-color-success));
112
+ }
113
+
114
+ /* Type variants */
115
+ :host([type='inline']) {
116
+ display: flex;
117
+ align-items: center;
118
+ gap: var(--nuraly-spacing-2);
119
+ }
120
+
121
+ :host([type='inline']) .wrapper {
122
+ flex: 1;
123
+ }
124
+
125
+ /* Block (full width) */
126
+ :host([block]) {
127
+ width: 100%;
128
+ }
129
+
130
+ :host([block]) .wrapper {
131
+ width: 100%;
132
+ }
133
+
134
+ /* Show dropdown */
135
+ :host([show]) .options {
136
+ display: flex !important;
137
+ }
138
+
139
+ /* Main wrapper container */
140
+ .wrapper {
141
+ position: relative;
142
+ width: var(--nuraly-select-width, fit-content);
143
+ background-color: var(--nuraly-select-background, var(--nuraly-color-background-panel));
144
+ border: var(--nuraly-select-border-width, var(--nuraly-border-width-1)) solid
145
+ var(--nuraly-select-border-color, var(--nuraly-color-border));
146
+ border-radius: var(--nuraly-select-border-radius, var(--nuraly-border-radius-md));
147
+ transition: all var(--nuraly-select-transition-duration, var(--nuraly-transition-fast))
148
+ var(--nuraly-select-transition-timing, ease-in-out);
149
+ cursor: pointer;
150
+ outline: none;
151
+ margin: var(--nuraly-select-wrapper-margin, 0);
152
+ min-height: var(--nuraly-select-min-height, var(--nuraly-size-lg));
153
+ box-sizing: border-box;
154
+ display: flex;
155
+ align-items: center;
156
+ /* Ensure dropdown can overflow the wrapper */
157
+ overflow: visible;
158
+ }
159
+
160
+ .wrapper:hover:not(:disabled) {
161
+ border-color: var(--nuraly-select-border-hover, var(--nuraly-color-primary));
162
+ }
163
+
164
+ .wrapper:focus,
165
+ .wrapper:focus-within {
166
+ border-color: var(--nuraly-select-border-focus, var(--nuraly-color-primary));
167
+ box-shadow: var(--nuraly-focus-ring);
168
+ }
169
+
170
+ /* Select container */
171
+ .select {
172
+ display: flex;
173
+ flex-direction: column;
174
+ }
175
+
176
+ /* Select trigger (main display area) */
177
+ .select-trigger {
178
+ display: flex;
179
+ align-items: center;
180
+ padding: var(--nuraly-select-padding-top, var(--nuraly-spacing-2))
181
+ calc(var(--nuraly-select-icon-size, var(--nuraly-font-size-base)) + var(--nuraly-spacing-5))
182
+ var(--nuraly-select-padding-bottom, var(--nuraly-spacing-2))
183
+ var(--nuraly-select-padding-left, var(--nuraly-spacing-3));
184
+ color: var(--nuraly-select-color, var(--nuraly-color-text));
185
+ font-size: inherit;
186
+ line-height: inherit;
187
+ word-break: break-word;
188
+ flex: 1;
189
+ min-height: 0;
190
+ flex-wrap: wrap;
191
+ gap: var(--nuraly-select-tag-margin, var(--nuraly-spacing-1));
192
+ box-sizing: border-box;
193
+ }
194
+
195
+ .select-trigger:empty:before {
196
+ content: attr(data-placeholder);
197
+ color: var(--nuraly-select-placeholder-color, var(--nuraly-color-text-secondary));
198
+ font-size: var(--nuraly-select-placeholder-font-size, var(--nuraly-font-size-sm));
199
+ }
200
+
201
+ /* Multi-select tags */
202
+ .tag {
203
+ display: inline-flex;
204
+ align-items: center;
205
+ gap: var(--nuraly-spacing-1);
206
+ background-color: var(--nuraly-select-tag-background, var(--nuraly-color-background-active));
207
+ color: var(--nuraly-select-tag-color, var(--nuraly-color-text));
208
+ padding: var(--nuraly-select-tag-padding, var(--nuraly-spacing-1) var(--nuraly-spacing-2));
209
+ border-radius: var(--nuraly-select-tag-border-radius, var(--nuraly-border-radius-xs));
210
+ font-size: calc(var(--nuraly-select-font-size, var(--nuraly-font-size-sm)) - 1px);
211
+ max-width: 100%;
212
+ }
213
+
214
+ .tag-label {
215
+ overflow: hidden;
216
+ text-overflow: ellipsis;
217
+ white-space: nowrap;
218
+ }
219
+
220
+ .tag-close {
221
+ color: var(--nuraly-select-tag-close-color, var(--nuraly-color-text-secondary));
222
+ cursor: pointer;
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+ width: var(--nuraly-select-icon-size, var(--nuraly-font-size-base));
227
+ height: var(--nuraly-select-icon-size, var(--nuraly-font-size-base));
228
+ border-radius: var(--nuraly-border-radius-full);
229
+ transition: color var(--nuraly-select-transition-duration, var(--nuraly-transition-fast));
230
+ }
231
+
232
+ .tag-close:hover {
233
+ color: var(--nuraly-select-tag-close-hover-color, var(--nuraly-color-text));
234
+ }
235
+
236
+ /* Icons container */
237
+ .icons-container {
238
+ position: absolute;
239
+ top: 50%;
240
+ right: var(--nuraly-spacing-3);
241
+ transform: translateY(-50%);
242
+ display: flex;
243
+ align-items: center;
244
+ gap: var(--nuraly-spacing-1);
245
+ pointer-events: none;
246
+ }
247
+
248
+ .icons-container nr-icon {
249
+ --nuraly-icon-width: var(--nuraly-select-icon-size, var(--nuraly-font-size-base));
250
+ --nuraly-icon-color: var(--nuraly-color-select-icon, var(--nuraly-color-text-secondary));
251
+ pointer-events: auto;
252
+ cursor: pointer;
253
+ transition: color var(--nuraly-select-transition-duration, var(--nuraly-transition-fast));
254
+ }
255
+
256
+ .icons-container nr-icon:hover {
257
+ --nuraly-icon-color: var(--nuraly-color-select-icon-hover, var(--nuraly-color-text));
258
+ }
259
+
260
+ .arrow-icon {
261
+ --nuraly-icon-width: var(--nuraly-select-arrow-icon-size, var(--nuraly-font-size-base));
262
+ transition: transform var(--nuraly-select-transition-duration, var(--nuraly-transition-fast));
263
+ pointer-events: none !important;
264
+ }
265
+
266
+ :host([show]) .arrow-icon {
267
+ transform: rotate(180deg);
268
+ }
269
+
270
+ /* Dropdown options */
271
+ .options {
272
+ /* Fixed positioning to escape overflow containers */
273
+ position: fixed;
274
+ /* top/left will be set by controller */
275
+ background-color: var(--nuraly-select-dropdown-background, var(--nuraly-color-background-panel));
276
+ border: var(--nuraly-select-dropdown-border-width, var(--nuraly-select-border-width, var(--nuraly-border-width-1))) solid
277
+ var(--nuraly-select-dropdown-border-color, var(--nuraly-color-border));
278
+ border-radius: var(--nuraly-select-dropdown-border-radius, var(--nuraly-select-border-radius, var(--nuraly-border-radius-md)));
279
+ box-shadow: var(--nuraly-select-dropdown-shadow, var(--nuraly-shadow-lg));
280
+ z-index: var(--nuraly-select-dropdown-z-index, var(--nuraly-z-dropdown));
281
+ max-height: var(--nuraly-select-dropdown-max-height, auto);
282
+ overflow-y: auto;
283
+ overflow-x: hidden;
284
+ display: none;
285
+ flex-direction: column;
286
+ animation: dropdown-enter var(--nuraly-select-dropdown-animation-duration, var(--nuraly-transition-fast)) ease-out;
287
+ /* Ensure proper containment and exact wrapper width */
288
+ box-sizing: border-box;
289
+ /* Allow overriding width via either of these custom props */
290
+ width: var(
291
+ --nuraly-select-dropdown-width,
292
+ var(--select-dropdown-width, max-content)
293
+ );
294
+ /* Create new stacking context to prevent layering issues */
295
+ isolation: isolate;
296
+ /* Ensure solid background to prevent visual bleed-through */
297
+ backdrop-filter: none;
298
+ -webkit-backdrop-filter: none;
299
+ /* Prevent pointer events when hidden */
300
+ pointer-events: none;
301
+ }
302
+
303
+ :host([show]) .options {
304
+ pointer-events: auto;
305
+ }
306
+
307
+ .options.placement-top {
308
+ animation: dropdown-enter-top var(--nuraly-select-dropdown-animation-duration, var(--nuraly-transition-fast)) ease-out;
309
+ }
310
+
311
+ .options.placement-bottom {
312
+ animation: dropdown-enter var(--nuraly-select-dropdown-animation-duration, var(--nuraly-transition-fast)) ease-out;
313
+ }
314
+
315
+ @keyframes dropdown-enter {
316
+ from {
317
+ opacity: 0;
318
+ transform: translateY(-8px);
319
+ }
320
+ to {
321
+ opacity: 1;
322
+ transform: translateY(0);
323
+ }
324
+ }
325
+
326
+ @keyframes dropdown-enter-top {
327
+ from {
328
+ opacity: 0;
329
+ transform: translateY(8px);
330
+ }
331
+ to {
332
+ opacity: 1;
333
+ transform: translateY(0);
334
+ }
335
+ }
336
+
337
+ /* Search container - sticky at top of dropdown */
338
+ .search-container {
339
+ position: sticky;
340
+ top: 0;
341
+ z-index: var(--nuraly-z-sticky);
342
+ background-color: var(--nuraly-select-dropdown-background, var(--nuraly-color-background-panel));
343
+ border-bottom: var(--nuraly-select-border-width, var(--nuraly-border-width-1)) solid
344
+ var(--nuraly-select-dropdown-border-color, var(--nuraly-color-border));
345
+ padding: var(--nuraly-spacing-2);
346
+ margin: 0;
347
+ /* Ensure it stays above options during scroll */
348
+ backdrop-filter: blur(8px);
349
+ -webkit-backdrop-filter: blur(8px);
350
+ /* Ensure proper stacking and smooth scrolling */
351
+ will-change: transform;
352
+ transform: translateZ(0);
353
+ }
354
+
355
+ /* Search input styling */
356
+ .search-container .search-input {
357
+ width: 100%;
358
+ max-width: var(--nuraly-select-input-container-max-width, var(--nuraly-select-width));
359
+ --nuraly-input-border-radius: var(--nuraly-select-border-radius, var(--nuraly-border-radius-md));
360
+ --nuraly-input-background-color: var(--nuraly-select-background, var(--nuraly-color-background-panel));
361
+ --nuraly-input-border-color: var(--nuraly-select-border-color, var(--nuraly-color-border));
362
+ --nuraly-input-text-color: var(--nuraly-select-color, var(--nuraly-color-text));
363
+ --nuraly-input-placeholder-color: var(--nuraly-select-placeholder-color, var(--nuraly-color-text-secondary));
364
+ }
365
+
366
+ /* Search icon in the search input */
367
+ .search-container .search-icon {
368
+ --nuraly-icon-color: var(--nuraly-color-select-icon, var(--nuraly-color-text-secondary));
369
+ }
370
+
371
+ /* Options list container - ensure proper scroll behavior with sticky search */
372
+ .options:has(.search-container) {
373
+ /* Add small padding-top when search is present to ensure proper separation */
374
+ padding-top: 0;
375
+ }
376
+
377
+ /* Option items */
378
+ .option {
379
+ display: flex;
380
+ align-items: center;
381
+ gap: var(--nuraly-spacing-2);
382
+ padding: var(--nuraly-select-option-padding, var(--nuraly-spacing-2) var(--nuraly-spacing-3));
383
+ min-height: var(--nuraly-select-option-min-height, auto);
384
+ color: var(--nuraly-select-option-color, var(--nuraly-color-text));
385
+ font-size: var(--nuraly-select-option-font-size, var(--nuraly-font-size-sm));
386
+ cursor: pointer;
387
+ transition: background-color var(--nuraly-select-transition-duration, var(--nuraly-transition-fast));
388
+ position: relative;
389
+ }
390
+
391
+ /* First option after search container should have no extra margin */
392
+ .search-container + .option {
393
+ margin-top: 0;
394
+ }
395
+
396
+ .option:hover {
397
+ background-color: var(--nuraly-select-option-hover-background, var(--nuraly-color-background-hover));
398
+ }
399
+
400
+ .option.selected {
401
+ background-color: var(--nuraly-select-option-selected-background, var(--nuraly-color-primary));
402
+ color: var(--nuraly-select-option-selected-color, var(--nuraly-color-text-on-color));
403
+ }
404
+
405
+ .option.focused {
406
+ background-color: var(--nuraly-select-option-hover-background, var(--nuraly-color-background-hover));
407
+ outline: 2px solid var(--nuraly-select-border-focus, var(--nuraly-color-primary));
408
+ outline-offset: -2px;
409
+ }
410
+
411
+ .option.disabled {
412
+ opacity: var(--nuraly-select-disabled-opacity, 0.5);
413
+ cursor: not-allowed;
414
+ }
415
+
416
+ .option-content {
417
+ flex: 1;
418
+ display: flex;
419
+ align-items: center;
420
+ gap: var(--nuraly-spacing-2);
421
+ }
422
+
423
+ .option-icon {
424
+ --nuraly-icon-width: var(--nuraly-select-icon-size, var(--nuraly-font-size-base));
425
+ --nuraly-icon-color: currentColor;
426
+ }
427
+
428
+ .option-text {
429
+ flex: 1;
430
+ overflow: hidden;
431
+ text-overflow: ellipsis;
432
+ white-space: nowrap;
433
+ }
434
+
435
+ .option-description {
436
+ font-size: calc(var(--nuraly-select-option-font-size, var(--nuraly-font-size-sm)) - 1px);
437
+ opacity: 0.7;
438
+ margin-top: var(--nuraly-spacing-1);
439
+ }
440
+
441
+ .check-icon {
442
+ --nuraly-icon-width: var(--nuraly-select-icon-size, var(--nuraly-font-size-base));
443
+ --nuraly-icon-color: var(--nuraly-select-option-selected-color, var(--nuraly-color-text-on-color));
444
+ }
445
+
446
+ .no-options {
447
+ display: flex;
448
+ align-items: center;
449
+ justify-content: center;
450
+ padding: var(--select-no-options-padding, var(--nuraly-spacing-6) var(--nuraly-spacing-4));
451
+ color: var(--select-no-options-color, var(--nuraly-color-text-secondary));
452
+ font-size: var(--nuraly-select-option-font-size, var(--nuraly-font-size-sm));
453
+ cursor: default;
454
+ user-select: none;
455
+ }
456
+
457
+ .no-options-content {
458
+ display: flex;
459
+ flex-direction: column;
460
+ align-items: center;
461
+ gap: var(--select-no-options-gap, var(--nuraly-spacing-2));
462
+ text-align: center;
463
+ }
464
+
465
+ .no-options-icon {
466
+ --nuraly-icon-width: var(--nuraly-spacing-6);
467
+ --nuraly-icon-color: var(--select-no-options-icon-color, var(--nuraly-color-border));
468
+ opacity: 0.8;
469
+ }
470
+
471
+ .no-options-text {
472
+ font-size: var(--nuraly-select-option-font-size, var(--nuraly-font-size-sm));
473
+ color: var(--select-no-options-color, var(--nuraly-color-text-secondary));
474
+ line-height: 1.4;
475
+ }
476
+
477
+ /* Validation message */
478
+ .validation-message {
479
+ display: block;
480
+ margin-top: var(--nuraly-select-message-margin-top, var(--nuraly-spacing-1));
481
+ font-size: var(--nuraly-select-message-font-size, var(--nuraly-font-size-xs));
482
+ color: var(--nuraly-select-error-message-color, var(--nuraly-color-danger));
483
+ }
484
+
485
+ .validation-message.warning {
486
+ color: var(--nuraly-select-warning-message-color, var(--nuraly-color-warning));
487
+ }
488
+
489
+ .validation-message.success {
490
+ color: var(--nuraly-select-success-message-color, var(--nuraly-color-success));
491
+ }
492
+
493
+ /* Slotted content styles */
494
+ ::slotted([slot='label']) {
495
+ display: block;
496
+ margin-bottom: var(--nuraly-spacing-1);
497
+ font-weight: 500;
498
+ color: var(--nuraly-select-color, var(--nuraly-color-text));
499
+ }
500
+
501
+ ::slotted([slot='helper-text']) {
502
+ display: block;
503
+ margin-top: var(--nuraly-select-message-margin-top, var(--nuraly-spacing-1));
504
+ font-size: var(--nuraly-select-message-font-size, var(--nuraly-font-size-xs));
505
+ color: var(--nuraly-select-placeholder-color, var(--nuraly-color-text-secondary));
506
+ }
507
+
508
+ /* Accessibility improvements */
509
+ @media (prefers-reduced-motion: reduce) {
510
+ .options,
511
+ .wrapper,
512
+ .tag-close,
513
+ .arrow-icon,
514
+ .option {
515
+ transition: none;
516
+ animation: none;
517
+ }
518
+ }
519
+
520
+ /* High contrast mode support */
521
+ @media (prefers-contrast: high) {
522
+ .wrapper {
523
+ border-width: 2px;
524
+ }
525
+
526
+ .wrapper:focus,
527
+ .wrapper:focus-within {
528
+ outline: 3px solid;
529
+ }
530
+ }
531
+ `;var m,f,b,w,x,z,O,E,k;!function(t){t.Default="default",t.Inline="inline",t.Button="button",t.Slot="slot"}(m||(m={})),function(t){t.Default="default",t.Warning="warning",t.Error="error",t.Success="success"}(f||(f={})),function(t){t.Small="small",t.Medium="medium",t.Large="large"}(b||(b={})),function(t){t.Small="small",t.Medium="medium",t.Large="large"}(w||(w={})),function(t){t.Horizontal="horizontal",t.Vertical="vertical"}(x||(x={})),function(t){t.Default="default",t.Solid="solid",t.Outline="outline",t.Borderless="borderless"}(z||(z={})),function(t){t.Bottom="bottom",t.Top="top",t.Auto="auto"}(O||(O={})),function(t){t.None="none",t.StartsWith="starts-with",t.Contains="contains",t.Fuzzy="fuzzy"}(E||(E={}));class S extends v{}class $ extends S{constructor(){super(...arguments),this._selectedOptions=[],this._initialized=!1}getSelectedOptions(){return[...this._selectedOptions]}getSelectedOption(){return this._selectedOptions[0]}selectOption(t){try{if(this.isOptionDisabled(t))return;const e=this.host.multiple,i=this.getCurrentValue();e?this.isOptionSelected(t)||(this._selectedOptions=[...this._selectedOptions,t],this.updateHostValue(),this.dispatchChangeEvent(i)):(this.isOptionSelected(t)?this._selectedOptions=[]:this._selectedOptions=[t],this.updateHostValue(),this.dispatchChangeEvent(i)),this.requestUpdate()}catch(t){this.handleError(t,"selectOption")}}unselectOption(t){try{if(this.isOptionSelected(t)){const e=this.getCurrentValue();this._selectedOptions=this._selectedOptions.filter(e=>e.value!==t.value),this.updateHostValue(),this.dispatchChangeEvent(e),this.requestUpdate()}}catch(t){this.handleError(t,"unselectOption")}}clearSelection(){try{if(this._selectedOptions.length>0){const t=this.getCurrentValue();this._selectedOptions=[],this.updateHostValue(),this.dispatchChangeEvent(t),this.requestUpdate()}}catch(t){this.handleError(t,"clearSelection")}}isOptionSelected(t){return this._selectedOptions.some(e=>e.value===t.value)}isOptionDisabled(t){return Boolean(t.disabled)||this.host.disabled}toggleOption(t){this.isOptionSelected(t)?this.unselectOption(t):this.selectOption(t)}initializeFromValue(){try{if(this._initialized)return;const t=this.host.value;if(!t||Array.isArray(t)&&0===t.length)return;const e=Array.isArray(t)?t:[t],i=this.host.options.filter(t=>e.includes(t.value));i.length>0&&(this._selectedOptions=this.host.multiple?i:[i[0]],this.requestUpdate()),this._initialized=!0}catch(t){this.handleError(t,"initializeFromValue")}}updateHostValue(){var t;const e=this.host.multiple?this._selectedOptions.map(t=>t.value):(null===(t=this._selectedOptions[0])||void 0===t?void 0:t.value)||"",i=this.host.value;let r=!1;if(this.host.multiple){const t=Array.isArray(i)?i:[],s=Array.isArray(e)?e:[];r=t.length===s.length&&t.every((t,e)=>t===s[e])}else r=i===e;r||(this.host.value=e)}getCurrentValue(){var t;return this.host.multiple?this._selectedOptions.map(t=>t.value):(null===(t=this._selectedOptions[0])||void 0===t?void 0:t.value)||""}dispatchChangeEvent(t){const e={value:this.getCurrentValue(),selectedOptions:this.getSelectedOptions(),previousValue:t};this.dispatchEvent(new CustomEvent("nr-change",{detail:e,bubbles:!0,composed:!0}))}hostUpdated(){this.syncWithHostOptions()}syncWithHostOptions(){try{this._selectedOptions=this._selectedOptions.filter(t=>this.host.options.some(e=>e.value===t.value)),this._selectedOptions=this._selectedOptions.map(t=>this.host.options.find(e=>e.value===t.value)||t),this.updateHostValue()}catch(t){this.handleError(t,"syncWithHostOptions")}}}class C extends S{constructor(t,e,i){super(t),this.selectionController=e,this.dropdownController=i,this._focusedIndex=-1,this._hasKeyboardNavigated=!1}handleKeyDown(t){try{const e=this.isSearchInputFocused();switch(t.key){case"ArrowDown":t.preventDefault(),this.dropdownController.isOpen?this.navigateNext():this.openDropdown();break;case"ArrowUp":t.preventDefault(),this.dropdownController.isOpen?this.navigatePrevious():this.openDropdown();break;case"Enter":this.dropdownController.isOpen?e&&this._focusedIndex>=0?(t.preventDefault(),this.selectFocused()):e||(t.preventDefault(),this.selectFocused()):(t.preventDefault(),this.openDropdown());break;case" ":e||(t.preventDefault(),this.dropdownController.isOpen?this.selectFocused():this.openDropdown());break;case"Escape":t.preventDefault(),this.closeDropdown();break;case"Tab":this.closeDropdown();break;case"Home":this.dropdownController.isOpen&&(t.preventDefault(),this.setFocusedIndex(0));break;case"End":this.dropdownController.isOpen&&(t.preventDefault(),this.setFocusedIndex(this.host.options.length-1));break;default:1===t.key.length&&/[a-zA-Z0-9]/.test(t.key)&&this.handleAlphanumericKey(t.key.toLowerCase())}}catch(t){this.handleError(t,"handleKeyDown")}}navigateNext(){try{const t=this.getNavigableOptions();if(0===t.length)return;if(this.isSearchInputFocused()&&(this._focusedIndex<0||!this._hasKeyboardNavigated))return this._hasKeyboardNavigated=!0,void this.setFocusedIndex(0);let e=this._focusedIndex+1;e>=t.length&&(e=0),this.setFocusedIndex(e)}catch(t){this.handleError(t,"navigateNext")}}navigatePrevious(){try{const t=this.getNavigableOptions();if(0===t.length)return;if(this.isSearchInputFocused()&&(this._focusedIndex<0||!this._hasKeyboardNavigated))return this._hasKeyboardNavigated=!0,void this.setFocusedIndex(t.length-1);let e=this._focusedIndex-1;e<0&&(e=t.length-1),this.setFocusedIndex(e)}catch(t){this.handleError(t,"navigatePrevious")}}selectFocused(){try{const t=this.getNavigableOptions()[this._focusedIndex];t&&!this.selectionController.isOptionDisabled(t)&&(this.selectionController.selectOption(t),this.host.multiple||this.closeDropdown())}catch(t){this.handleError(t,"selectFocused")}}openDropdown(){try{this.dropdownController.open(),this._hasKeyboardNavigated=!1,this._focusedIndex=-1}catch(t){this.handleError(t,"openDropdown")}}closeDropdown(){try{this.dropdownController.close(),this._focusedIndex=-1,this._hasKeyboardNavigated=!1}catch(t){this.handleError(t,"closeDropdown")}}setFocusedIndex(t){try{const e=this.getNavigableOptions();t>=0&&t<e.length&&(this._focusedIndex=t,this.dispatchFocusEvent(e[t],t),this.requestUpdate(),this.scrollToFocusedOption(t))}catch(t){this.handleError(t,"setFocusedIndex")}}scrollToFocusedOption(t){var e;try{const i=null===(e=this.host.shadowRoot)||void 0===e?void 0:e.querySelector(".options");if(!i)return;setTimeout(()=>{const e=i.querySelector(".option.focused");if(e)e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"});else{const e=40,r=i.clientHeight,s=i.scrollTop,o=t*e,n=o+e,a=s+r;o<s?i.scrollTo({top:o,behavior:"smooth"}):n>a&&i.scrollTo({top:n-r,behavior:"smooth"})}},10)}catch(t){console.warn("Failed to scroll to focused option:",t)}}get focusedIndex(){return this._focusedIndex}get focusedOption(){return this.getNavigableOptions()[this._focusedIndex]}handleAlphanumericKey(t){try{const e=this.getNavigableOptions(),i=this._focusedIndex+1;for(let r=0;r<e.length;r++){const s=(i+r)%e.length;if(e[s].label.toLowerCase().startsWith(t)){this.setFocusedIndex(s),this.dropdownController.isOpen||this.openDropdown();break}}}catch(t){this.handleError(t,"handleAlphanumericKey")}}getNavigableOptions(){const t=this.host;if(!t.options||!Array.isArray(t.options))return[];let e=t.options;return t.searchable&&t.searchQuery&&"function"==typeof t.getFilteredOptions&&(e=t.getFilteredOptions()),e.filter(t=>!t.disabled)}dispatchFocusEvent(t,e){const i={focusedOption:t,focusedIndex:e};this.dispatchEvent(new CustomEvent("nr-select-focus",{detail:i,bubbles:!0,composed:!0}))}isSearchInputFocused(){var t;try{const e=this.host;if(!e.searchable)return!1;const i=null===(t=e.shadowRoot)||void 0===t?void 0:t.querySelector(".search-input");return!!i&&(document.activeElement===i||i.shadowRoot&&i.shadowRoot.querySelector("input")===i.shadowRoot.activeElement||i.contains(document.activeElement))}catch(t){return!1}}hostUpdated(){this.dropdownController.isOpen||-1===this._focusedIndex||(this._focusedIndex=-1)}}function A(t){if(t.parentElement)return t.parentElement;const e=t.getRootNode();return e instanceof ShadowRoot?e.host:null}function I(t,e,i={}){var r,s;const{offset:o=4,viewportMargin:n=8}=i,a=t.getBoundingClientRect(),l=e.getBoundingClientRect(),c=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||window.innerHeight,h=(null===(s=window.visualViewport)||void 0===s?void 0:s.width)||window.innerWidth,u=function(t){let e=t;for(;e;){const t=A(e);if(!t||t===document.body||t===document.documentElement)break;if(t instanceof HTMLElement){const e=getComputedStyle(t),i=e.transform,r=e.willChange,s=e.filter,o=e.perspective,n=e.contain;if(i&&"none"!==i||o&&"none"!==o||s&&"none"!==s||"transform"===r||"perspective"===r||"filter"===r||n&&n.includes("paint"))return t}e=t}return null}(e);let d={top:0,left:0};if(u){const t=u.getBoundingClientRect();d={top:t.top,left:t.left}}const p=c-a.bottom,v=a.top,y=l.height||200,g=function(t,e,i){return i>=t?"bottom":e>=t||e>i?"top":"bottom"}(y,v,p);let m;m="bottom"===g?a.bottom+o:a.top-y-o;let f=a.left;const b=a.width;return f=Math.max(n,Math.min(f,h-b-n)),m=Math.max(n,Math.min(m,c-y-n)),u&&(m-=d.top,f-=d.left),{top:m,left:f,width:a.width,placement:g}}function N(t,e,i,r={}){var s;const{viewportMargin:o=8,maxHeight:n}=r,a=(null===(s=window.visualViewport)||void 0===s?void 0:s.height)||window.innerHeight,l=e.getBoundingClientRect(),c=t.scrollHeight;let h;h="bottom"===i?a-l.bottom-o-2:l.top-o-2,n?(t.style.maxHeight=n,t.style.overflowY="auto"):c>h?(t.style.maxHeight=`${h}px`,t.style.overflowY="auto"):(t.style.maxHeight=`${c}px`,t.style.overflowY="auto")}class D extends S{constructor(){super(...arguments),this._isOpen=!1,this._position={top:0,left:0,width:0,placement:"bottom"},this._dropdownElement=null,this._triggerElement=null,this.handleResize=()=>{this._isOpen&&this.calculatePosition()},this.handleScroll=()=>{this._isOpen&&this._triggerElement&&(!function(t){var e;const i=t.getBoundingClientRect(),r=(null===(e=window.visualViewport)||void 0===e?void 0:e.height)||window.innerHeight;return i.bottom>=0&&i.top<=r}(this._triggerElement)?this.close():this.calculatePosition())}}get isOpen(){return this._isOpen}get position(){return Object.assign({},this._position)}open(){try{this._isOpen||(this._isOpen=!0,this.host.show=!0,this.requestUpdate(),this.findElements(),setTimeout(()=>{this.calculatePosition()},10),this.host&&"function"==typeof this.host.setupEventListeners&&setTimeout(()=>{this.host.setupEventListeners()},50),this.focusSearchInput(),this.dispatchEvent(new CustomEvent("nr-dropdown-open",{bubbles:!0,composed:!0})))}catch(t){this.handleError(t,"open")}}close(){try{this._isOpen&&(this._isOpen=!1,this.host.show=!1,this.resetPosition(),this.requestUpdate(),this.host&&"function"==typeof this.host.removeEventListeners&&this.host.removeEventListeners(),this.dispatchEvent(new CustomEvent("nr-dropdown-close",{bubbles:!0,composed:!0})))}catch(t){this.handleError(t,"close")}}toggle(){this._isOpen?this.close():this.open()}focusSearchInput(){try{const t=this.host;t&&t.searchable&&setTimeout(()=>{var e;const i=null===(e=t.shadowRoot)||void 0===e?void 0:e.querySelector(".search-input");i&&"function"==typeof i.focus&&i.focus()},100)}catch(t){console.warn("Failed to focus search input:",t)}}calculatePosition(){try{if(this._dropdownElement&&this._triggerElement||this.findElements(),!this._dropdownElement||!this._triggerElement)return;const t=I(this._triggerElement,this._dropdownElement,{offset:4,viewportMargin:8});this._position=t,this.applyPosition()}catch(t){this.handleError(t,"calculatePosition")}}resetPosition(){try{if(this._dropdownElement){t=this._dropdownElement,["position","top","left","right","bottom","width","min-width","max-height","min-height","height","overflow-y","transform","display","opacity","visibility","z-index"].forEach(e=>t.style.removeProperty(e)),t.classList.remove("placement-top","placement-bottom");this.host.maxHeight||this._dropdownElement.style.removeProperty("max-height")}}catch(t){this.handleError(t,"resetPosition")}var t}setElements(t,e){this._dropdownElement=t,this._triggerElement=e}findElements(){try{const t=this._host;if(t.optionsElement&&t.wrapper)return this._dropdownElement=t.optionsElement,void(this._triggerElement=t.wrapper);t.shadowRoot&&(this._dropdownElement=t.shadowRoot.querySelector(".options"),this._triggerElement=t.shadowRoot.querySelector(".wrapper"))}catch(t){this.handleError(t,"findElements")}}applyPosition(){var t;try{if(!this._dropdownElement||!this._triggerElement)return;const e=this.host.maxHeight,i=null===(t=getComputedStyle(this._dropdownElement).getPropertyValue("--nuraly-select-local-dropdown-max-height"))||void 0===t?void 0:t.trim(),r="auto"===i||!e&&"auto"===i;!function(t,e,i="9999"){t.style.position="fixed",t.style.top=`${e.top}px`,t.style.left=`${e.left}px`,t.style.removeProperty("right"),t.style.removeProperty("bottom"),t.style.minWidth=`${e.width}px`,t.style.removeProperty("width"),t.style.zIndex=i,t.style.height="auto",t.style.minHeight="auto",t.classList.remove("placement-top","placement-bottom"),t.classList.add(`placement-${e.placement}`)}(this._dropdownElement,this._position,"var(--nuraly-select-dropdown-z-index, 9999)"),e||r||(this._dropdownElement.style.maxHeight="none"),e?N(this._dropdownElement,this._triggerElement,this._position.placement,{viewportMargin:10,maxHeight:e}):r?(this._dropdownElement.style.removeProperty("max-height"),this._dropdownElement.style.overflowY="visible"):N(this._dropdownElement,this._triggerElement,this._position.placement,{viewportMargin:10})}catch(t){this.handleError(t,"applyPosition")}}getAvailableSpace(){var t,e;if(!this._triggerElement)return{above:0,below:0,left:0,right:0};const i=this._triggerElement.getBoundingClientRect(),r=(null===(t=window.visualViewport)||void 0===t?void 0:t.height)||window.innerHeight,s=(null===(e=window.visualViewport)||void 0===e?void 0:e.width)||window.innerWidth;return{above:i.top,below:r-i.bottom,left:i.left,right:s-i.right}}hostConnected(){window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll,!0)}hostDisconnected(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll,!0)}}class T extends S{constructor(){super(...arguments),this._focusedIndex=-1,this._hasFocus=!1}get focusedIndex(){return this._focusedIndex}getFocusedOption(){if(this._focusedIndex>=0&&this._focusedIndex<this.host.options.length)return this.host.options[this._focusedIndex]}get hasFocus(){return this._hasFocus}setFocusedOption(t){try{t>=0&&t<this.host.options.length&&(this._focusedIndex=t,this.requestUpdate(),this.dispatchEvent(new CustomEvent("nr-focus-change",{detail:{focusedIndex:t,focusedOption:this.getFocusedOption()},bubbles:!0,composed:!0})))}catch(t){this.handleError(t,"setFocusedOption")}}focus(){var t;try{const e=null===(t=this._host.shadowRoot)||void 0===t?void 0:t.querySelector(".wrapper");e&&(e.focus(),this._hasFocus=!0,this.requestUpdate(),this.dispatchEvent(new CustomEvent("nr-focus",{bubbles:!0,composed:!0})))}catch(t){this.handleError(t,"focus")}}blur(){var t;try{const e=null===(t=this._host.shadowRoot)||void 0===t?void 0:t.querySelector(".wrapper");e&&e.blur(),this._hasFocus=!1,this._focusedIndex=-1,this.requestUpdate(),this.dispatchEvent(new CustomEvent("nr-blur",{bubbles:!0,composed:!0}))}catch(t){this.handleError(t,"blur")}}focusNext(){try{const t=this.getNextFocusableIndex(this._focusedIndex);-1!==t&&this.setFocusedOption(t)}catch(t){this.handleError(t,"focusNext")}}focusPrevious(){try{const t=this.getPreviousFocusableIndex(this._focusedIndex);-1!==t&&this.setFocusedOption(t)}catch(t){this.handleError(t,"focusPrevious")}}focusFirst(){try{const t=this.getNextFocusableIndex(-1);-1!==t&&this.setFocusedOption(t)}catch(t){this.handleError(t,"focusFirst")}}focusLast(){try{const t=this.getPreviousFocusableIndex(this.host.options.length);-1!==t&&this.setFocusedOption(t)}catch(t){this.handleError(t,"focusLast")}}clearFocus(){this._focusedIndex=-1,this._hasFocus=!1,this.requestUpdate()}handleFocus(){this._hasFocus=!0,this.requestUpdate()}handleBlur(){this._hasFocus=!1,this._focusedIndex=-1,this.requestUpdate()}getNextFocusableIndex(t){const e=this.host.options;for(let i=t+1;i<e.length;i++)if(!e[i].disabled)return i;for(let i=0;i<=t;i++)if(!e[i].disabled)return i;return-1}getPreviousFocusableIndex(t){const e=this.host.options;for(let i=t-1;i>=0;i--)if(!e[i].disabled)return i;for(let i=e.length-1;i>=t;i--)if(!e[i].disabled)return i;return-1}findOptionIndex(t){return this.host.options.findIndex(e=>e.value===t)}focusOptionByValue(t){const e=this.findOptionIndex(t);-1!==e&&this.setFocusedOption(e)}}!function(t){t.Valid="valid",t.Invalid="invalid",t.Pending="pending",t.Pristine="pristine"}(k||(k={}));class R extends y{constructor(t,e){super(t),this.selectionController=e}get validationState(){return this._validationState}validate(){try{this._validationState=k.Pending;const t=this.selectionController.getSelectedOptions().length>0;return this.host.required&&!t?(this.setValidationResult(!1,"This field is required",k.Invalid),!1):(this.setValidationResult(!0,"",k.Valid),!0)}catch(t){return this.handleError(t,"validate"),this.setValidationResult(!1,"Validation error occurred",k.Invalid),!1}}reset(){try{this._isValid=!0,this._validationMessage="",this._validationState=k.Pristine,this.requestUpdate(),this.dispatchValidationEvent()}catch(t){this.handleError(t,"reset")}}getFormData(){var t;try{const e=this._host,i=e.name||e.getAttribute("name")||"select",r=this.selectionController.getSelectedOptions();return this.host.multiple?{[i]:r.map(t=>t.value)}:{[i]:(null===(t=r[0])||void 0===t?void 0:t.value)||""}}catch(t){return this.handleError(t,"getFormData"),{}}}reportValidity(){var t;const e=this.validate();if(!e){const e=null===(t=this._host.shadowRoot)||void 0===t?void 0:t.querySelector(".wrapper");e&&e.focus()}return e}setCustomValidity(t){try{t?this.setValidationResult(!1,t,k.Invalid):this.validate()}catch(t){this.handleError(t,"setCustomValidity")}}validateOnChange(){this._validationState!==k.Pristine&&this.validate()}validateOnBlur(){this._validationState===k.Pristine&&(this._validationState=k.Pending),this.validate()}setValidationResult(t,e,i){const r=this._isValid!==t||this._validationMessage!==e||this._validationState!==i;this._isValid=t,this._validationMessage=e,this._validationState=i,r&&(this.requestUpdate(),this.dispatchValidationEvent())}dispatchValidationEvent(){const t={isValid:this._isValid,validationMessage:this._validationMessage,validationState:this._validationState};this.dispatchEvent(new CustomEvent("nr-validation",{detail:t,bubbles:!0,composed:!0}))}hostUpdated(){this.validateOnChange()}getValidationClasses(){return{valid:this._isValid&&this._validationState===k.Valid,invalid:!this._isValid&&this._validationState===k.Invalid,pending:this._validationState===k.Pending,pristine:this._validationState===k.Pristine}}getAriaAttributes(){const t={};return this.host.required&&(t["aria-required"]="true"),this._isValid||(t["aria-invalid"]="true",this._validationMessage&&(t["aria-describedby"]="validation-message")),t}}class L extends S{constructor(){super(...arguments),this._searchQuery="",this.handleSearchInput=t=>{this.setSearchQuery(t.detail.value||"")},this.handleSearchClear=()=>{this.clearSearch()},this.handleSearchKeyDown=t=>{if(["ArrowDown","ArrowUp","Enter","Home","End"].includes(t.key)){const e=this.host.keyboardController;return void(e&&e.handleKeyDown(t))}t.stopPropagation(),"Escape"===t.key&&(this.host.closeDropdown(),this.host.focus())}}get searchQuery(){return this._searchQuery}get hasSearch(){return""!==this._searchQuery.trim()}setSearchQuery(t){this._searchQuery=t,this.host.searchQuery=t,this.host.requestUpdate()}search(t){this.setSearchQuery(t)}clearSearch(){this.setSearchQuery("")}getFilteredOptions(t){if(!this.host.searchable||!this._searchQuery.trim())return t;const e=this._searchQuery.toLowerCase().trim();return t.filter(t=>t.label.toLowerCase().includes(e)||t.value.toLowerCase().includes(e)||t.description&&t.description.toLowerCase().includes(e))}renderSearchInput(){return this.host.searchable?i`
532
+ <div class="search-container">
533
+ <nr-input
534
+ type="text"
535
+ class="search-input"
536
+ placeholder="${this.host.searchPlaceholder}"
537
+ .value="${this._searchQuery}"
538
+ allowClear
539
+ @nr-input="${this.handleSearchInput}"
540
+ @nr-clear="${this.handleSearchClear}"
541
+ @keydown="${this.handleSearchKeyDown}"
542
+ @click="${t=>t.stopPropagation()}"
543
+ >
544
+ <nr-icon
545
+ name="search"
546
+ class="search-icon"
547
+ slot="prefix"
548
+ aria-hidden="true">
549
+ </nr-icon>
550
+ </nr-input>
551
+ </div>
552
+ `:e}renderNoResults(){return i`
553
+ <div class="no-options" role="option" aria-disabled="true">
554
+ <div class="no-options-content">
555
+ <nr-icon
556
+ name="search"
557
+ class="no-options-icon"
558
+ aria-hidden="true">
559
+ </nr-icon>
560
+ <span class="no-options-text">No results found for "${this._searchQuery}"</span>
561
+ </div>
562
+ </div>
563
+ `}hasNoResults(t){return this.host.searchable&&""!==this._searchQuery.trim()&&0===this.getFilteredOptions(t).length}getCurrentQuery(){return this.host.searchQuery||this._searchQuery}hostUpdated(){super.hostUpdated(),this.host.searchQuery!==this._searchQuery&&(this._searchQuery=this.host.searchQuery)}hostConnected(){super.hostConnected(),this._searchQuery=""}}class P extends S{constructor(){super(...arguments),this.handleTriggerClick=t=>{this.host.disabled||(t.preventDefault(),t.stopPropagation(),this.host.toggleDropdown())},this.handleOptionClick=(t,e)=>{t.stopPropagation(),e.disabled||(this.host.multiple?this.host.toggleOption(e):(this.host.selectOption(e),this.host.closeDropdown()))},this.handleTagRemove=(t,e)=>{t.stopPropagation(),this.host.unselectOption(e)},this.handleClearAll=t=>{t.stopPropagation(),this.host.clearSelection()},this.handleKeyDown=t=>{const e=this.host.keyboardController;e&&e.handleKeyDown(t)},this.handleFocus=()=>{const t=this.host.focusController;t&&t.handleFocus()},this.handleBlur=()=>{const t=this.host.focusController;t&&t.handleBlur()},this.handleWindowClick=t=>{t.composedPath().includes(this.host)||this.host.closeDropdown()}}setupEventListeners(){window.addEventListener("click",this.handleWindowClick)}removeEventListeners(){window.removeEventListener("click",this.handleWindowClick)}hostDisconnected(){super.hostDisconnected(),this.removeEventListeners()}}
564
+ /**
565
+ * @license
566
+ * Copyright 2023 Nuraly, Laabidi Aymen
567
+ * SPDX-License-Identifier: MIT
568
+ */var F=function(t,e,i,r){for(var s,o=arguments.length,n=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r,a=t.length-1;a>=0;a--)(s=t[a])&&(n=(o<3?s(n):o>3?s(e,i,n):s(e,i))||n);return o>3&&n&&Object.defineProperty(e,i,n),n};let B=class extends(d(r)){constructor(){super(...arguments),this.requiredComponents=["nr-input","nr-icon"],this.options=[],this.placeholder="Select an option",this.disabled=!1,this.type=m.Default,this.multiple=!1,this.show=!1,this.status=f.Default,this.size=b.Medium,this.required=!1,this.name="",this.value="",this.noOptionsMessage="No options available",this.noOptionsIcon="info",this.searchable=!1,this.clearable=!1,this.searchPlaceholder="Search options...",this.searchQuery="",this.useCustomSelectedDisplay=!1,this.maxHeight="",this.block=!1,this.selectionController=new $(this),this.dropdownController=new D(this),this.keyboardController=new C(this,this.selectionController,this.dropdownController),this.focusController=new T(this),this.validationController=new R(this,this.selectionController),this.searchController=new L(this),this.eventController=new P(this),this.handleTriggerClick=t=>{this.eventController.handleTriggerClick(t)},this.handleOptionClick=(t,e)=>{this.eventController.handleOptionClick(t,e)},this.handleTagRemove=(t,e)=>{this.eventController.handleTagRemove(t,e)},this.handleClearAll=t=>{this.eventController.handleClearAll(t)},this.handleKeyDown=t=>{this.eventController.handleKeyDown(t)},this.handleFocus=()=>{this.eventController.handleFocus()},this.handleBlur=()=>{this.eventController.handleBlur()}}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}willUpdate(t){super.willUpdate(t),(t.has("options")||t.has("value"))&&this.options.length>0&&this.value&&(Array.isArray(this.value)?this.value.length>0:""!==this.value)&&(this.selectionController._initialized=!1,this.selectionController.initializeFromValue())}firstUpdated(t){super.firstUpdated(t),this.optionsElement&&this.wrapper?this.dropdownController.setElements(this.optionsElement,this.wrapper):setTimeout(()=>{this.optionsElement&&this.wrapper&&this.dropdownController.setElements(this.optionsElement,this.wrapper)},100),this.value&&(Array.isArray(this.value)?this.value.length>0:""!==this.value)&&this.selectionController.initializeFromValue()}get selectedOptions(){return this.selectionController.getSelectedOptions()}get selectedOption(){return this.selectionController.getSelectedOption()}selectOption(t){this.selectionController.selectOption(t)}unselectOption(t){this.selectionController.unselectOption(t)}toggleOption(t){this.selectionController.toggleOption(t)}clearSelection(){this.selectionController.clearSelection()}isOptionSelected(t){return this.selectionController.isOptionSelected(t)}toggleDropdown(){this.dropdownController.toggle()}openDropdown(){this.dropdownController.open()}closeDropdown(){this.dropdownController.close()}focus(){this.focusController.focus()}blur(){this.focusController.blur()}validate(){return this.validationController.validate()}checkValidity(){return this.validationController.checkValidity()}reportValidity(){return this.validationController.reportValidity()}setCustomValidity(t){this.validationController.setCustomValidity(t)}getValidationStatus(){return{isValid:this.validationController.checkValidity(),validationMessage:this.validationController.validationMessage||""}}get validationMessage(){return this.validationController.validationMessage||""}clearValidation(){this.validationController.setCustomValidity(""),this.status=f.Default}searchOptions(t){this.searchController.search(t)}clearSearch(){this.searchController.clearSearch()}getSearchFilteredOptions(){return this.searchController.getFilteredOptions(this.options)}getCurrentSearchQuery(){return this.searchController.searchQuery}getSelectedOptions(){return this.selectedOptions}setupGlobalEventListeners(){this.eventController.setupEventListeners()}removeGlobalEventListeners(){this.eventController.removeEventListeners()}getFilteredOptions(){return this.searchController.getFilteredOptions(this.options)}setupEventListeners(){this.eventController.setupEventListeners()}removeEventListeners(){this.eventController.removeEventListeners()}render(){return i`${l(this.type,[[m.Default,()=>this.renderDefault()],[m.Inline,()=>this.renderInline()],[m.Button,()=>this.renderButton()],[m.Slot,()=>this.renderSlot()]])}`}renderDefault(){const t=this.selectedOptions,r=this.validationController.getValidationClasses();return i`
569
+ <slot name="label"></slot>
570
+ <div
571
+ class="${c(Object.assign({wrapper:!0},r))}"
572
+ data-theme="${this.currentTheme}"
573
+ tabindex="0"
574
+ role="combobox"
575
+ aria-expanded="${this.show}"
576
+ aria-haspopup="listbox"
577
+ aria-labelledby="select-label"
578
+
579
+ @click=${this.handleTriggerClick}
580
+ @keydown=${this.handleKeyDown}
581
+ @focus=${this.handleFocus}
582
+ @blur=${this.handleBlur}
583
+ >
584
+ <div class="select">
585
+ <div class="select-trigger">
586
+ ${this.renderSelectedContent(t)}
587
+ </div>
588
+
589
+ <div class="icons-container">
590
+ ${this.renderStatusIcon()}
591
+ ${this.renderClearButton(t)}
592
+ <nr-icon
593
+ name="chevron-down"
594
+ size="${this.size}"
595
+ class="arrow-icon"
596
+ aria-hidden="true"
597
+ ></nr-icon>
598
+ </div>
599
+
600
+ <div
601
+ class="options"
602
+ role="listbox"
603
+ aria-multiselectable="${this.multiple}"
604
+ style=${this.maxHeight?h({"max-height":this.maxHeight}):e}
605
+ @click=${t=>t.stopPropagation()}
606
+ >
607
+ ${this.searchable?this.renderSearchInput():e}
608
+ <slot name="before-options"></slot>
609
+ ${this.renderSelectOptions()}
610
+ <slot name="after-options"></slot>
611
+ </div>
612
+ </div>
613
+ </div>
614
+
615
+ ${this.renderValidationMessage()}
616
+ <slot name="helper-text"></slot>
617
+ `}renderInline(){return i`
618
+ <slot name="label"></slot>
619
+ ${this.renderDefault()}
620
+ <slot name="helper-text"></slot>
621
+ `}renderButton(){const t=this.selectedOptions;return i`
622
+ <button
623
+ class="select-button"
624
+ ?disabled=${this.disabled}
625
+ @click=${this.handleTriggerClick}
626
+ @keydown=${this.handleKeyDown}
627
+ >
628
+ ${t.length>0?t[0].label:this.placeholder}
629
+ <nr-icon name="chevron-down" class="arrow-icon"></nr-icon>
630
+ </button>
631
+
632
+ <div
633
+ class="options"
634
+ role="listbox"
635
+ style=${this.maxHeight?h({"max-height":this.maxHeight}):e}
636
+ @click=${t=>t.stopPropagation()}
637
+ >
638
+ ${this.searchable?this.renderSearchInput():e}
639
+ <slot name="before-options"></slot>
640
+ ${this.renderSelectOptions()}
641
+ <slot name="after-options"></slot>
642
+ </div>
643
+ `}renderSlot(){return i`
644
+ <slot name="trigger" @click=${this.handleTriggerClick}></slot>
645
+ <div
646
+ class="options"
647
+ role="listbox"
648
+ style=${this.maxHeight?h({"max-height":this.maxHeight}):e}
649
+ @click=${t=>t.stopPropagation()}
650
+ >
651
+ ${this.searchable?this.renderSearchInput():e}
652
+ <slot name="before-options"></slot>
653
+ ${this.renderSelectOptions()}
654
+ <slot name="after-options"></slot>
655
+ </div>
656
+ `}renderSelectedContent(t){return 0===t.length?i`<span class="placeholder" aria-hidden="true">${this.placeholder}</span>`:this.multiple?this.useCustomSelectedDisplay?i`<slot name="selected-display" .selectedOptions=${t}></slot>`:a(t,t=>i`
657
+ <span class="tag">
658
+ <span class="tag-label">${t.label}</span>
659
+ <nr-icon
660
+ name="x"
661
+ size="${this.size}"
662
+ class="tag-close"
663
+ @click=${e=>this.handleTagRemove(e,t)}
664
+ aria-label="Remove ${t.label}"
665
+ ></nr-icon>
666
+ </span>
667
+ `):i`${t[0].label}`}renderStatusIcon(){switch(this.status){case f.Warning:return i`<nr-icon name="alert-triangle" size="${this.size}" class="status-icon warning"></nr-icon>`;case f.Error:return i`<nr-icon name="alert-circle" size="${this.size}" class="status-icon error"></nr-icon>`;case f.Success:return i`<nr-icon name="circle-check" size="${this.size}" class="status-icon success"></nr-icon>`;default:return e}}renderClearButton(t){return!this.clearable||0===t.length||this.disabled?e:i`
668
+ <nr-icon
669
+ name="x"
670
+ size="${this.size}"
671
+ class="clear-icon"
672
+ @click=${this.handleClearAll}
673
+ aria-label="Clear selection"
674
+ tabindex="-1"
675
+ ></nr-icon>
676
+ `}renderSelectOptions(){const t=this.getFilteredOptions();if(!this.options||0===this.options.length)return i`
677
+ <div class="no-options" role="option" aria-disabled="true">
678
+ <div class="no-options-content">
679
+ <nr-icon
680
+ name="${this.noOptionsIcon}"
681
+ class="no-options-icon"
682
+ aria-hidden="true">
683
+ </nr-icon>
684
+ <span class="no-options-text">${this.noOptionsMessage}</span>
685
+ </div>
686
+ </div>
687
+ `;if(this.searchController.hasNoResults(this.options))return this.searchController.renderNoResults();const r=this.keyboardController.focusedOption;return a(t,t=>{const s=this.isOptionSelected(t),o=r&&r.value===t.value;return i`
688
+ <div
689
+ class="${c({option:!0,selected:s,focused:o,disabled:Boolean(t.disabled)})}"
690
+ role="option"
691
+ aria-selected="${s}"
692
+ aria-disabled="${Boolean(t.disabled)}"
693
+ data-value="${t.value}"
694
+ @click=${e=>this.handleOptionClick(e,t)}
695
+ style=${h(t.style?{style:t.style}:{})}
696
+ title="${t.title||""}"
697
+ >
698
+ <div class="option-content">
699
+ ${t.icon?i`<nr-icon name="${t.icon}" size="${this.size}" class="option-icon"></nr-icon>`:e}
700
+ <div class="option-text">
701
+ ${t.htmlContent?i`<div>${u(t.htmlContent)}</div>`:t.label}
702
+ ${t.description?i`<div class="option-description">${t.description}</div>`:e}
703
+ </div>
704
+ </div>
705
+
706
+ ${s?i`<nr-icon name="check" size="${this.size}" class="check-icon" aria-hidden="true"></nr-icon>`:e}
707
+
708
+ ${t.state&&t.message?i`
709
+ <div class="option-message ${t.state}">
710
+ <nr-icon name="${"error"===t.state?"alert-circle":"alert-triangle"}" size="${this.size}"></nr-icon>
711
+ <span>${t.message}</span>
712
+ </div>
713
+ `:e}
714
+ </div>
715
+ `})}renderSearchInput(){return this.searchController.renderSearchInput()}renderValidationMessage(){return p(this.validationController.validationMessage,{statusClass:this.status})}};B.styles=g,F([s({type:Array})],B.prototype,"options",void 0),F([s({type:String})],B.prototype,"placeholder",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"disabled",void 0),F([s({type:String,reflect:!0})],B.prototype,"type",void 0),F([s({type:Boolean,attribute:"multiple"})],B.prototype,"multiple",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"show",void 0),F([s({type:String,reflect:!0})],B.prototype,"status",void 0),F([s({type:String,reflect:!0})],B.prototype,"size",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"required",void 0),F([s({type:String})],B.prototype,"name",void 0),F([s()],B.prototype,"value",void 0),F([s({type:String,attribute:"no-options-message"})],B.prototype,"noOptionsMessage",void 0),F([s({type:String,attribute:"no-options-icon"})],B.prototype,"noOptionsIcon",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"searchable",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"clearable",void 0),F([s({type:String,attribute:"search-placeholder"})],B.prototype,"searchPlaceholder",void 0),F([s({type:String})],B.prototype,"searchQuery",void 0),F([s({type:Boolean,attribute:"use-custom-selected-display"})],B.prototype,"useCustomSelectedDisplay",void 0),F([s({type:String,attribute:"max-height"})],B.prototype,"maxHeight",void 0),F([s({type:Boolean,reflect:!0})],B.prototype,"block",void 0),F([o(".options")],B.prototype,"optionsElement",void 0),F([o(".wrapper")],B.prototype,"wrapper",void 0),F([o(".search-input")],B.prototype,"searchInput",void 0),B=F([n("nr-select")],B);
716
+ /**
717
+ * @license
718
+ * Copyright 2023 Nuraly, Laabidi Aymen
719
+ * SPDX-License-Identifier: MIT
720
+ */
721
+ const _={CHANGE:"nr-change",FOCUS:"nr-focus",BLUR:"nr-blur",DROPDOWN_OPEN:"nr-dropdown-open",DROPDOWN_CLOSE:"nr-dropdown-close",VALIDATION:"nr-validation",ERROR:"nr-controller-error"},H={WRAPPER:"wrapper",SELECT:"select",TRIGGER:"select-trigger",OPTIONS:"options",OPTION:"option",SELECTED:"selected",FOCUSED:"focused",DISABLED:"disabled",TAG:"tag",TAG_LABEL:"tag-label",TAG_CLOSE:"tag-close",ICONS_CONTAINER:"icons-container",ARROW_ICON:"arrow-icon",CLEAR_ICON:"clear-icon",STATUS_ICON:"status-icon",CHECK_ICON:"check-icon",VALIDATION_MESSAGE:"validation-message",PLACEHOLDER:"placeholder",NO_OPTIONS:"no-options",NO_OPTIONS_CONTENT:"no-options-content",NO_OPTIONS_ICON:"no-options-icon",NO_OPTIONS_TEXT:"no-options-text",SEARCH_CONTAINER:"search-container",SEARCH_INPUT:"search-input",SEARCH_ICON:"search-icon",SEARCH_CLEAR:"search-clear"},V={COMBOBOX:"combobox",LISTBOX:"listbox",OPTION:"option",EXPANDED:"aria-expanded",HASPOPUP:"aria-haspopup",MULTISELECTABLE:"aria-multiselectable",SELECTED:"aria-selected",DISABLED:"aria-disabled",REQUIRED:"aria-required",INVALID:"aria-invalid",DESCRIBEDBY:"aria-describedby",LABELLEDBY:"aria-labelledby"},M={PLACEHOLDER:"Select an option",MAX_HEIGHT:"auto",DROPDOWN_OFFSET:4,TAG_MAX_WIDTH:"150px",TRANSITION_DURATION:200,DEBOUNCE_DELAY:300},U={ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",HOME:"Home",END:"End",TAB:"Tab"},j="",G=", ";export{S as BaseSelectController,O as DropdownPlacement,j as EMPTY_STRING,B as HySelectComponent,G as MULTIPLE_OPTIONS_SEPARATOR,w as OptionSize,V as SELECT_ARIA,H as SELECT_CLASSES,M as SELECT_DEFAULTS,_ as SELECT_EVENTS,U as SELECT_KEYS,E as SearchMode,x as SelectDirection,D as SelectDropdownController,P as SelectEventController,T as SelectFocusController,C as SelectKeyboardController,L as SelectSearchController,$ as SelectSelectionController,b as SelectSize,f as SelectStatus,m as SelectType,R as SelectValidationController,z as SelectVariant};