@sellmate/design-system 1.0.39 → 1.0.41

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 (748) hide show
  1. package/dist/cjs/component.textinput-43trvZ5m.js +41 -0
  2. package/dist/cjs/design-system.cjs.js +1 -1
  3. package/dist/cjs/index.cjs.js +0 -9
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/sd-barcode-input.cjs.entry.js +162 -0
  6. package/dist/cjs/sd-button-v2_2.cjs.entry.js +13 -10
  7. package/dist/cjs/sd-button_20.cjs.entry.js +560 -471
  8. package/dist/cjs/sd-card.cjs.entry.js +1 -1
  9. package/dist/cjs/sd-confirm-modal.cjs.entry.js +124 -0
  10. package/dist/cjs/sd-date-picker.cjs.entry.js +1 -1
  11. package/dist/cjs/sd-dropdown-button.cjs.entry.js +3 -3
  12. package/dist/cjs/sd-file-picker.cjs.entry.js +3 -3
  13. package/dist/cjs/sd-guide.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-modal-container.cjs.entry.js +0 -64
  15. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  16. package/dist/cjs/sd-progress.cjs.entry.js +2 -2
  17. package/dist/cjs/sd-select-group.cjs.entry.js +1 -1
  18. package/dist/cjs/sd-select-multiple.cjs.entry.js +1 -1
  19. package/dist/cjs/sd-select-option-group.cjs.entry.js +3 -3
  20. package/dist/cjs/sd-select-v2-list-item_2.cjs.entry.js +7 -16
  21. package/dist/cjs/sd-select-v2-listbox_2.cjs.entry.js +181 -14
  22. package/dist/cjs/sd-select-v2.cjs.entry.js +21 -27
  23. package/dist/cjs/{sd-select-v2.config-DZrPJ6OS.js → sd-select-v2.config-BJXi4hMP.js} +12 -7
  24. package/dist/cjs/sd-text-link.cjs.entry.js +99 -0
  25. package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
  26. package/dist/cjs/sd-toast.cjs.entry.js +2 -2
  27. package/dist/cjs/sd-toggle-button.cjs.entry.js +1 -1
  28. package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
  29. package/dist/collection/collection-manifest.json +2 -1
  30. package/dist/collection/components/assets/add/Add10.js +1 -1
  31. package/dist/collection/components/assets/add/Add12.js +1 -1
  32. package/dist/collection/components/assets/add/Add16.js +1 -1
  33. package/dist/collection/components/assets/add/Add20.js +1 -1
  34. package/dist/collection/components/assets/add/Add24.js +1 -1
  35. package/dist/collection/components/assets/add/Add8.js +1 -1
  36. package/dist/collection/components/assets/alert/Alert10.js +1 -1
  37. package/dist/collection/components/assets/alert/Alert12.js +1 -1
  38. package/dist/collection/components/assets/alert/Alert16.js +1 -1
  39. package/dist/collection/components/assets/alert/Alert20.js +1 -1
  40. package/dist/collection/components/assets/alert/Alert8.js +1 -1
  41. package/dist/collection/components/assets/alignKorean/AlignKorean10.js +2 -0
  42. package/dist/collection/components/assets/alignKorean/AlignKorean12.js +2 -0
  43. package/dist/collection/components/assets/alignKorean/AlignKorean16.js +2 -0
  44. package/dist/collection/components/assets/alignKorean/AlignKorean20.js +2 -0
  45. package/dist/collection/components/assets/alignKorean/AlignKorean8.js +2 -0
  46. package/dist/collection/components/assets/archive/Archive10.js +1 -1
  47. package/dist/collection/components/assets/archive/Archive12.js +1 -1
  48. package/dist/collection/components/assets/archive/Archive16.js +1 -1
  49. package/dist/collection/components/assets/archive/Archive20.js +1 -1
  50. package/dist/collection/components/assets/archive/Archive8.js +1 -1
  51. package/dist/collection/components/assets/arrow2Down/Arrow2Down16.js +1 -1
  52. package/dist/collection/components/assets/arrow2Down/index.js +1 -1
  53. package/dist/collection/components/assets/arrow2Left/Arrow2Left12.js +1 -1
  54. package/dist/collection/components/assets/arrow2Left/Arrow2Left16.js +1 -1
  55. package/dist/collection/components/assets/arrow2Right/Arrow2Right12.js +1 -1
  56. package/dist/collection/components/assets/arrow2Right/Arrow2Right16.js +1 -1
  57. package/dist/collection/components/assets/arrow2Up/Arrow2Up16.js +1 -1
  58. package/dist/collection/components/assets/arrow2UpDown/Arrow2UpDown10.js +1 -1
  59. package/dist/collection/components/assets/arrow2UpDown/Arrow2UpDown12.js +1 -1
  60. package/dist/collection/components/assets/arrow2UpDown/Arrow2UpDown16.js +1 -1
  61. package/dist/collection/components/assets/arrow2UpDown/Arrow2UpDown20.js +1 -1
  62. package/dist/collection/components/assets/arrow2UpDown/Arrow2UpDown8.js +1 -1
  63. package/dist/collection/components/assets/arrowDown/ArrowDown20.js +1 -1
  64. package/dist/collection/components/assets/arrowDown/index.js +1 -1
  65. package/dist/collection/components/assets/arrowLeft/index.js +1 -1
  66. package/dist/collection/components/assets/arrowLeftEnd/ArrowLeftEnd10.js +1 -1
  67. package/dist/collection/components/assets/arrowLeftEnd/ArrowLeftEnd12.js +1 -1
  68. package/dist/collection/components/assets/arrowLeftEnd/ArrowLeftEnd16.js +1 -1
  69. package/dist/collection/components/assets/arrowLeftEnd/ArrowLeftEnd20.js +1 -1
  70. package/dist/collection/components/assets/arrowLeftEnd/ArrowLeftEnd8.js +1 -1
  71. package/dist/collection/components/assets/arrowLeftEnd/index.js +1 -1
  72. package/dist/collection/components/assets/arrowRight/ArrowRight20.js +1 -1
  73. package/dist/collection/components/assets/arrowRight/ArrowRight24.js +1 -1
  74. package/dist/collection/components/assets/arrowRightEnd/ArrowRightEnd10.js +1 -1
  75. package/dist/collection/components/assets/arrowRightEnd/ArrowRightEnd12.js +1 -1
  76. package/dist/collection/components/assets/arrowRightEnd/ArrowRightEnd16.js +1 -1
  77. package/dist/collection/components/assets/arrowRightEnd/ArrowRightEnd20.js +1 -1
  78. package/dist/collection/components/assets/arrowRightEnd/ArrowRightEnd8.js +1 -1
  79. package/dist/collection/components/assets/arrowUp/ArrowUp10.js +1 -1
  80. package/dist/collection/components/assets/arrowUp/ArrowUp12.js +1 -1
  81. package/dist/collection/components/assets/arrowUp/ArrowUp16.js +1 -1
  82. package/dist/collection/components/assets/arrowUp/ArrowUp20.js +1 -1
  83. package/dist/collection/components/assets/arrowUp/ArrowUp24.js +1 -1
  84. package/dist/collection/components/assets/arrowUp/ArrowUp8.js +1 -1
  85. package/dist/collection/components/assets/attachFile/AttachFile10.js +1 -1
  86. package/dist/collection/components/assets/attachFile/AttachFile12.js +1 -1
  87. package/dist/collection/components/assets/attachFile/AttachFile16.js +1 -1
  88. package/dist/collection/components/assets/attachFile/AttachFile20.js +1 -1
  89. package/dist/collection/components/assets/attachFile/AttachFile24.js +1 -1
  90. package/dist/collection/components/assets/attachFile/AttachFile8.js +1 -1
  91. package/dist/collection/components/assets/badgeNew/BadgeNew10.js +1 -1
  92. package/dist/collection/components/assets/badgeNew/BadgeNew12.js +1 -1
  93. package/dist/collection/components/assets/badgeNew/BadgeNew16.js +1 -1
  94. package/dist/collection/components/assets/badgeNew/BadgeNew20.js +1 -1
  95. package/dist/collection/components/assets/badgeNew/BadgeNew24.js +1 -1
  96. package/dist/collection/components/assets/badgeNew/BadgeNew8.js +1 -1
  97. package/dist/collection/components/assets/barcode/Barcode10.js +1 -1
  98. package/dist/collection/components/assets/barcode/Barcode12.js +1 -1
  99. package/dist/collection/components/assets/barcode/Barcode16.js +1 -1
  100. package/dist/collection/components/assets/barcode/Barcode20.js +1 -1
  101. package/dist/collection/components/assets/barcode/Barcode24.js +1 -1
  102. package/dist/collection/components/assets/barcode/Barcode8.js +1 -1
  103. package/dist/collection/components/assets/bell/Bell10.js +1 -1
  104. package/dist/collection/components/assets/bell/Bell12.js +1 -1
  105. package/dist/collection/components/assets/bell/Bell16.js +1 -1
  106. package/dist/collection/components/assets/bell/Bell20.js +1 -1
  107. package/dist/collection/components/assets/bell/Bell24.js +1 -1
  108. package/dist/collection/components/assets/bell/Bell8.js +1 -1
  109. package/dist/collection/components/assets/board/Board10.js +1 -1
  110. package/dist/collection/components/assets/board/Board12.js +1 -1
  111. package/dist/collection/components/assets/board/Board16.js +1 -1
  112. package/dist/collection/components/assets/board/Board20.js +1 -1
  113. package/dist/collection/components/assets/board/Board24.js +1 -1
  114. package/dist/collection/components/assets/board/Board8.js +1 -1
  115. package/dist/collection/components/assets/box/Box10.js +1 -1
  116. package/dist/collection/components/assets/box/Box12.js +1 -1
  117. package/dist/collection/components/assets/box/Box16.js +1 -1
  118. package/dist/collection/components/assets/box/Box20.js +1 -1
  119. package/dist/collection/components/assets/box/Box24.js +1 -1
  120. package/dist/collection/components/assets/box/Box8.js +1 -1
  121. package/dist/collection/components/assets/camera/Camera10.js +2 -0
  122. package/dist/collection/components/assets/camera/Camera12.js +2 -0
  123. package/dist/collection/components/assets/camera/Camera16.js +2 -0
  124. package/dist/collection/components/assets/camera/Camera20.js +2 -0
  125. package/dist/collection/components/assets/camera/Camera24.js +2 -0
  126. package/dist/collection/components/assets/camera/Camera8.js +2 -0
  127. package/dist/collection/components/assets/camera/index.js +14 -0
  128. package/dist/collection/components/assets/cancelFilled/CancelFilled10.js +1 -1
  129. package/dist/collection/components/assets/cancelFilled/CancelFilled12.js +1 -1
  130. package/dist/collection/components/assets/cancelFilled/CancelFilled16.js +1 -1
  131. package/dist/collection/components/assets/cancelFilled/CancelFilled20.js +1 -1
  132. package/dist/collection/components/assets/cancelFilled/CancelFilled24.js +1 -1
  133. package/dist/collection/components/assets/cancelFilled/CancelFilled8.js +1 -1
  134. package/dist/collection/components/assets/cancelOutline/CancelOutline10.js +1 -1
  135. package/dist/collection/components/assets/cancelOutline/CancelOutline12.js +1 -1
  136. package/dist/collection/components/assets/cancelOutline/CancelOutline16.js +1 -1
  137. package/dist/collection/components/assets/cancelOutline/CancelOutline20.js +1 -1
  138. package/dist/collection/components/assets/cancelOutline/CancelOutline24.js +1 -1
  139. package/dist/collection/components/assets/cancelOutline/CancelOutline8.js +1 -1
  140. package/dist/collection/components/assets/caretDown/CaretDown10.js +1 -1
  141. package/dist/collection/components/assets/caretDown/CaretDown12.js +1 -1
  142. package/dist/collection/components/assets/caretDown/CaretDown16.js +1 -1
  143. package/dist/collection/components/assets/caretDown/CaretDown20.js +1 -1
  144. package/dist/collection/components/assets/caretDown/CaretDown24.js +1 -1
  145. package/dist/collection/components/assets/caretDown/CaretDown8.js +1 -1
  146. package/dist/collection/components/assets/caretLeft/CaretLeft10.js +1 -1
  147. package/dist/collection/components/assets/caretLeft/CaretLeft12.js +1 -1
  148. package/dist/collection/components/assets/caretLeft/CaretLeft16.js +1 -1
  149. package/dist/collection/components/assets/caretLeft/CaretLeft20.js +1 -1
  150. package/dist/collection/components/assets/caretLeft/CaretLeft24.js +1 -1
  151. package/dist/collection/components/assets/caretLeft/CaretLeft8.js +1 -1
  152. package/dist/collection/components/assets/caretRight/CaretRight10.js +1 -1
  153. package/dist/collection/components/assets/caretRight/CaretRight12.js +1 -1
  154. package/dist/collection/components/assets/caretRight/CaretRight16.js +1 -1
  155. package/dist/collection/components/assets/caretRight/CaretRight20.js +1 -1
  156. package/dist/collection/components/assets/caretRight/CaretRight24.js +1 -1
  157. package/dist/collection/components/assets/caretRight/CaretRight8.js +1 -1
  158. package/dist/collection/components/assets/caretUp/CaretUp10.js +1 -1
  159. package/dist/collection/components/assets/caretUp/CaretUp12.js +1 -1
  160. package/dist/collection/components/assets/caretUp/CaretUp16.js +1 -1
  161. package/dist/collection/components/assets/caretUp/CaretUp20.js +1 -1
  162. package/dist/collection/components/assets/caretUp/CaretUp24.js +1 -1
  163. package/dist/collection/components/assets/caretUp/CaretUp8.js +1 -1
  164. package/dist/collection/components/assets/check/Check10.js +1 -1
  165. package/dist/collection/components/assets/check/Check12.js +1 -1
  166. package/dist/collection/components/assets/check/Check16.js +1 -1
  167. package/dist/collection/components/assets/check/Check20.js +1 -1
  168. package/dist/collection/components/assets/check/Check24.js +1 -1
  169. package/dist/collection/components/assets/check/Check8.js +1 -1
  170. package/dist/collection/components/assets/checkFilled/CheckFilled10.js +1 -1
  171. package/dist/collection/components/assets/checkFilled/CheckFilled12.js +1 -1
  172. package/dist/collection/components/assets/checkFilled/CheckFilled16.js +1 -1
  173. package/dist/collection/components/assets/checkFilled/CheckFilled20.js +1 -1
  174. package/dist/collection/components/assets/checkFilled/CheckFilled24.js +1 -1
  175. package/dist/collection/components/assets/checkFilled/CheckFilled8.js +1 -1
  176. package/dist/collection/components/assets/checkOutline/CheckOutline10.js +1 -1
  177. package/dist/collection/components/assets/checkOutline/CheckOutline12.js +1 -1
  178. package/dist/collection/components/assets/checkOutline/CheckOutline16.js +1 -1
  179. package/dist/collection/components/assets/checkOutline/CheckOutline20.js +1 -1
  180. package/dist/collection/components/assets/checkOutline/CheckOutline24.js +1 -1
  181. package/dist/collection/components/assets/checkOutline/CheckOutline8.js +1 -1
  182. package/dist/collection/components/assets/clockFilled/ClockFilled10.js +1 -1
  183. package/dist/collection/components/assets/clockFilled/ClockFilled12.js +1 -1
  184. package/dist/collection/components/assets/clockFilled/ClockFilled16.js +1 -1
  185. package/dist/collection/components/assets/clockFilled/ClockFilled20.js +1 -1
  186. package/dist/collection/components/assets/clockFilled/ClockFilled24.js +1 -1
  187. package/dist/collection/components/assets/clockFilled/ClockFilled8.js +1 -1
  188. package/dist/collection/components/assets/clockOutline/ClockOutline10.js +1 -1
  189. package/dist/collection/components/assets/clockOutline/ClockOutline12.js +1 -1
  190. package/dist/collection/components/assets/clockOutline/ClockOutline16.js +1 -1
  191. package/dist/collection/components/assets/clockOutline/ClockOutline20.js +1 -1
  192. package/dist/collection/components/assets/clockOutline/ClockOutline24.js +1 -1
  193. package/dist/collection/components/assets/clockOutline/ClockOutline8.js +1 -1
  194. package/dist/collection/components/assets/close/Close10.js +1 -1
  195. package/dist/collection/components/assets/close/Close12.js +1 -1
  196. package/dist/collection/components/assets/close/Close16.js +1 -1
  197. package/dist/collection/components/assets/close/Close20.js +1 -1
  198. package/dist/collection/components/assets/close/Close24.js +1 -1
  199. package/dist/collection/components/assets/close/Close8.js +1 -1
  200. package/dist/collection/components/assets/copy/Copy10.js +1 -1
  201. package/dist/collection/components/assets/copy/Copy12.js +1 -1
  202. package/dist/collection/components/assets/copy/Copy16.js +1 -1
  203. package/dist/collection/components/assets/copy/Copy20.js +1 -1
  204. package/dist/collection/components/assets/copy/Copy24.js +1 -1
  205. package/dist/collection/components/assets/copy/Copy8.js +1 -1
  206. package/dist/collection/components/assets/dashboard/Dashboard10.js +1 -1
  207. package/dist/collection/components/assets/dashboard/Dashboard12.js +1 -1
  208. package/dist/collection/components/assets/dashboard/Dashboard16.js +1 -1
  209. package/dist/collection/components/assets/dashboard/Dashboard20.js +1 -1
  210. package/dist/collection/components/assets/dashboard/Dashboard24.js +1 -1
  211. package/dist/collection/components/assets/dashboard/Dashboard8.js +1 -1
  212. package/dist/collection/components/assets/date/Date10.js +1 -1
  213. package/dist/collection/components/assets/date/Date12.js +1 -1
  214. package/dist/collection/components/assets/date/Date16.js +1 -1
  215. package/dist/collection/components/assets/date/Date20.js +1 -1
  216. package/dist/collection/components/assets/date/Date24.js +1 -1
  217. package/dist/collection/components/assets/date/Date8.js +1 -1
  218. package/dist/collection/components/assets/download/Download10.js +1 -1
  219. package/dist/collection/components/assets/download/Download12.js +1 -1
  220. package/dist/collection/components/assets/download/Download16.js +1 -1
  221. package/dist/collection/components/assets/download/Download20.js +1 -1
  222. package/dist/collection/components/assets/download/Download24.js +1 -1
  223. package/dist/collection/components/assets/download/Download8.js +1 -1
  224. package/dist/collection/components/assets/drag/Drag10.js +1 -1
  225. package/dist/collection/components/assets/drag/Drag12.js +1 -1
  226. package/dist/collection/components/assets/drag/Drag16.js +1 -1
  227. package/dist/collection/components/assets/drag/Drag20.js +1 -1
  228. package/dist/collection/components/assets/drag/Drag24.js +1 -1
  229. package/dist/collection/components/assets/drag/Drag8.js +1 -1
  230. package/dist/collection/components/assets/etc/Etc10.js +1 -1
  231. package/dist/collection/components/assets/etc/Etc12.js +1 -1
  232. package/dist/collection/components/assets/etc/Etc16.js +1 -1
  233. package/dist/collection/components/assets/etc/Etc20.js +1 -1
  234. package/dist/collection/components/assets/etc/Etc24.js +1 -1
  235. package/dist/collection/components/assets/etc/Etc8.js +1 -1
  236. package/dist/collection/components/assets/etc/index.js +1 -1
  237. package/dist/collection/components/assets/global/Global10.js +1 -1
  238. package/dist/collection/components/assets/global/Global12.js +1 -1
  239. package/dist/collection/components/assets/global/Global16.js +1 -1
  240. package/dist/collection/components/assets/global/Global20.js +1 -1
  241. package/dist/collection/components/assets/global/Global24.js +1 -1
  242. package/dist/collection/components/assets/global/Global8.js +1 -1
  243. package/dist/collection/components/assets/helpFilled/HelpFilled10.js +1 -1
  244. package/dist/collection/components/assets/helpFilled/HelpFilled12.js +1 -1
  245. package/dist/collection/components/assets/helpFilled/HelpFilled16.js +1 -1
  246. package/dist/collection/components/assets/helpFilled/HelpFilled20.js +1 -1
  247. package/dist/collection/components/assets/helpFilled/HelpFilled24.js +1 -1
  248. package/dist/collection/components/assets/helpFilled/HelpFilled8.js +1 -1
  249. package/dist/collection/components/assets/helpOutline/HelpOutline10.js +1 -1
  250. package/dist/collection/components/assets/helpOutline/HelpOutline12.js +1 -1
  251. package/dist/collection/components/assets/helpOutline/HelpOutline16.js +1 -1
  252. package/dist/collection/components/assets/helpOutline/HelpOutline20.js +1 -1
  253. package/dist/collection/components/assets/helpOutline/HelpOutline24.js +1 -1
  254. package/dist/collection/components/assets/helpOutline/HelpOutline8.js +1 -1
  255. package/dist/collection/components/assets/history/History10.js +1 -1
  256. package/dist/collection/components/assets/history/History12.js +1 -1
  257. package/dist/collection/components/assets/history/History16.js +1 -1
  258. package/dist/collection/components/assets/history/History20.js +1 -1
  259. package/dist/collection/components/assets/history/History24.js +1 -1
  260. package/dist/collection/components/assets/history/History8.js +1 -1
  261. package/dist/collection/components/assets/imageFill/ImageFill10.js +1 -1
  262. package/dist/collection/components/assets/imageFill/ImageFill12.js +1 -1
  263. package/dist/collection/components/assets/imageFill/ImageFill16.js +1 -1
  264. package/dist/collection/components/assets/imageFill/ImageFill20.js +1 -1
  265. package/dist/collection/components/assets/imageFill/ImageFill24.js +1 -1
  266. package/dist/collection/components/assets/imageFill/ImageFill8.js +1 -1
  267. package/dist/collection/components/assets/imageLine/ImageLine10.js +1 -1
  268. package/dist/collection/components/assets/imageLine/ImageLine12.js +1 -1
  269. package/dist/collection/components/assets/imageLine/ImageLine16.js +1 -1
  270. package/dist/collection/components/assets/imageLine/ImageLine20.js +1 -1
  271. package/dist/collection/components/assets/imageLine/ImageLine24.js +1 -1
  272. package/dist/collection/components/assets/imageLine/ImageLine8.js +1 -1
  273. package/dist/collection/components/assets/index.js +9 -1
  274. package/dist/collection/components/assets/inline/Inline10.js +1 -1
  275. package/dist/collection/components/assets/inline/Inline12.js +1 -1
  276. package/dist/collection/components/assets/inline/Inline16.js +1 -1
  277. package/dist/collection/components/assets/inline/Inline20.js +1 -1
  278. package/dist/collection/components/assets/inline/Inline24.js +1 -1
  279. package/dist/collection/components/assets/inline/Inline8.js +1 -1
  280. package/dist/collection/components/assets/line/Line10.js +1 -1
  281. package/dist/collection/components/assets/line/Line12.js +1 -1
  282. package/dist/collection/components/assets/line/Line16.js +1 -1
  283. package/dist/collection/components/assets/line/Line20.js +1 -1
  284. package/dist/collection/components/assets/line/Line24.js +1 -1
  285. package/dist/collection/components/assets/line/Line8.js +1 -1
  286. package/dist/collection/components/assets/location/Location10.js +1 -1
  287. package/dist/collection/components/assets/location/Location12.js +1 -1
  288. package/dist/collection/components/assets/location/Location16.js +1 -1
  289. package/dist/collection/components/assets/location/Location20.js +1 -1
  290. package/dist/collection/components/assets/location/Location24.js +1 -1
  291. package/dist/collection/components/assets/location/Location8.js +1 -1
  292. package/dist/collection/components/assets/logout/Logout10.js +1 -1
  293. package/dist/collection/components/assets/logout/Logout12.js +1 -1
  294. package/dist/collection/components/assets/logout/Logout16.js +1 -1
  295. package/dist/collection/components/assets/logout/Logout20.js +1 -1
  296. package/dist/collection/components/assets/logout/Logout24.js +1 -1
  297. package/dist/collection/components/assets/logout/Logout8.js +1 -1
  298. package/dist/collection/components/assets/minus/Minus10.js +1 -1
  299. package/dist/collection/components/assets/minus/Minus12.js +1 -1
  300. package/dist/collection/components/assets/minus/Minus16.js +1 -1
  301. package/dist/collection/components/assets/minus/Minus20.js +1 -1
  302. package/dist/collection/components/assets/minus/Minus24.js +1 -1
  303. package/dist/collection/components/assets/minus/Minus8.js +1 -1
  304. package/dist/collection/components/assets/notificationFilled/NotificationFilled10.js +1 -1
  305. package/dist/collection/components/assets/notificationFilled/NotificationFilled12.js +1 -1
  306. package/dist/collection/components/assets/notificationFilled/NotificationFilled16.js +1 -1
  307. package/dist/collection/components/assets/notificationFilled/NotificationFilled20.js +1 -1
  308. package/dist/collection/components/assets/notificationFilled/NotificationFilled24.js +1 -1
  309. package/dist/collection/components/assets/notificationFilled/NotificationFilled8.js +1 -1
  310. package/dist/collection/components/assets/notificationOutline/NotificationOutline10.js +1 -1
  311. package/dist/collection/components/assets/notificationOutline/NotificationOutline12.js +1 -1
  312. package/dist/collection/components/assets/notificationOutline/NotificationOutline16.js +1 -1
  313. package/dist/collection/components/assets/notificationOutline/NotificationOutline20.js +1 -1
  314. package/dist/collection/components/assets/notificationOutline/NotificationOutline24.js +1 -1
  315. package/dist/collection/components/assets/notificationOutline/NotificationOutline32.js +1 -1
  316. package/dist/collection/components/assets/notificationOutline/NotificationOutline8.js +1 -1
  317. package/dist/collection/components/assets/outLine/OutLine10.js +1 -1
  318. package/dist/collection/components/assets/outLine/OutLine12.js +1 -1
  319. package/dist/collection/components/assets/outLine/OutLine16.js +1 -1
  320. package/dist/collection/components/assets/outLine/OutLine20.js +1 -1
  321. package/dist/collection/components/assets/outLine/OutLine24.js +1 -1
  322. package/dist/collection/components/assets/outLine/OutLine8.js +1 -1
  323. package/dist/collection/components/assets/pageEdit/PageEdit10.js +1 -1
  324. package/dist/collection/components/assets/pageEdit/PageEdit12.js +1 -1
  325. package/dist/collection/components/assets/pageEdit/PageEdit16.js +1 -1
  326. package/dist/collection/components/assets/pageEdit/PageEdit20.js +1 -1
  327. package/dist/collection/components/assets/pageEdit/PageEdit24.js +1 -1
  328. package/dist/collection/components/assets/pageEdit/PageEdit8.js +1 -1
  329. package/dist/collection/components/assets/pageEdit2/PageEdit210.js +2 -0
  330. package/dist/collection/components/assets/pageEdit2/PageEdit212.js +2 -0
  331. package/dist/collection/components/assets/pageEdit2/PageEdit216.js +2 -0
  332. package/dist/collection/components/assets/pageEdit2/PageEdit220.js +2 -0
  333. package/dist/collection/components/assets/pageEdit2/PageEdit224.js +2 -0
  334. package/dist/collection/components/assets/pageEdit2/PageEdit28.js +2 -0
  335. package/dist/collection/components/assets/pageEdit2/index.js +14 -0
  336. package/dist/collection/components/assets/pageMove/PageMove10.js +1 -1
  337. package/dist/collection/components/assets/pageMove/PageMove12.js +1 -1
  338. package/dist/collection/components/assets/pageMove/PageMove16.js +1 -1
  339. package/dist/collection/components/assets/pageMove/PageMove20.js +1 -1
  340. package/dist/collection/components/assets/pageMove/PageMove24.js +1 -1
  341. package/dist/collection/components/assets/pageMove/PageMove8.js +1 -1
  342. package/dist/collection/components/assets/pdf/Pdf10.js +1 -1
  343. package/dist/collection/components/assets/pdf/Pdf12.js +1 -1
  344. package/dist/collection/components/assets/pdf/Pdf16.js +1 -1
  345. package/dist/collection/components/assets/pdf/Pdf20.js +1 -1
  346. package/dist/collection/components/assets/pdf/Pdf24.js +1 -1
  347. package/dist/collection/components/assets/pdf/Pdf8.js +1 -1
  348. package/dist/collection/components/assets/print/Print10.js +2 -0
  349. package/dist/collection/components/assets/print/Print12.js +2 -0
  350. package/dist/collection/components/assets/print/Print16.js +2 -0
  351. package/dist/collection/components/assets/print/Print20.js +2 -0
  352. package/dist/collection/components/assets/print/Print24.js +2 -0
  353. package/dist/collection/components/assets/print/Print8.js +2 -0
  354. package/dist/collection/components/assets/print/index.js +14 -0
  355. package/dist/collection/components/assets/remove/Delete10.js +1 -1
  356. package/dist/collection/components/assets/remove/Delete12.js +1 -1
  357. package/dist/collection/components/assets/remove/Delete16.js +1 -1
  358. package/dist/collection/components/assets/remove/Delete20.js +1 -1
  359. package/dist/collection/components/assets/remove/Delete24.js +1 -1
  360. package/dist/collection/components/assets/remove/Delete8.js +1 -1
  361. package/dist/collection/components/assets/reset/Reset10.js +1 -1
  362. package/dist/collection/components/assets/reset/Reset12.js +1 -1
  363. package/dist/collection/components/assets/reset/Reset16.js +1 -1
  364. package/dist/collection/components/assets/reset/Reset20.js +1 -1
  365. package/dist/collection/components/assets/reset/Reset24.js +1 -1
  366. package/dist/collection/components/assets/reset/Reset8.js +1 -1
  367. package/dist/collection/components/assets/robot/Robot10.js +1 -1
  368. package/dist/collection/components/assets/robot/Robot12.js +1 -1
  369. package/dist/collection/components/assets/robot/Robot16.js +1 -1
  370. package/dist/collection/components/assets/robot/Robot20.js +1 -1
  371. package/dist/collection/components/assets/robot/Robot24.js +1 -1
  372. package/dist/collection/components/assets/robot/Robot8.js +1 -1
  373. package/dist/collection/components/assets/row/Row10.js +1 -1
  374. package/dist/collection/components/assets/row/Row12.js +1 -1
  375. package/dist/collection/components/assets/row/Row16.js +1 -1
  376. package/dist/collection/components/assets/row/Row20.js +1 -1
  377. package/dist/collection/components/assets/row/Row24.js +1 -1
  378. package/dist/collection/components/assets/row/Row8.js +1 -1
  379. package/dist/collection/components/assets/save/Save10.js +2 -0
  380. package/dist/collection/components/assets/save/Save12.js +2 -0
  381. package/dist/collection/components/assets/save/Save16.js +2 -0
  382. package/dist/collection/components/assets/save/Save20.js +2 -0
  383. package/dist/collection/components/assets/save/Save24.js +2 -0
  384. package/dist/collection/components/assets/save/Save8.js +2 -0
  385. package/dist/collection/components/assets/save/index.js +14 -0
  386. package/dist/collection/components/assets/search/Search10.js +1 -1
  387. package/dist/collection/components/assets/search/Search12.js +1 -1
  388. package/dist/collection/components/assets/search/Search16.js +1 -1
  389. package/dist/collection/components/assets/search/Search20.js +1 -1
  390. package/dist/collection/components/assets/search/Search24.js +1 -1
  391. package/dist/collection/components/assets/search/Search8.js +1 -1
  392. package/dist/collection/components/assets/setting/Setting10.js +1 -1
  393. package/dist/collection/components/assets/setting/Setting12.js +1 -1
  394. package/dist/collection/components/assets/setting/Setting16.js +1 -1
  395. package/dist/collection/components/assets/setting/Setting20.js +1 -1
  396. package/dist/collection/components/assets/setting/Setting24.js +1 -1
  397. package/dist/collection/components/assets/setting/Setting8.js +1 -1
  398. package/dist/collection/components/assets/star/Star10.js +1 -1
  399. package/dist/collection/components/assets/star/Star12.js +1 -1
  400. package/dist/collection/components/assets/star/Star16.js +1 -1
  401. package/dist/collection/components/assets/star/Star20.js +1 -1
  402. package/dist/collection/components/assets/star/Star24.js +1 -1
  403. package/dist/collection/components/assets/star/Star8.js +1 -1
  404. package/dist/collection/components/assets/synchronize/Synchronize10.js +1 -1
  405. package/dist/collection/components/assets/synchronize/Synchronize12.js +1 -1
  406. package/dist/collection/components/assets/synchronize/Synchronize16.js +1 -1
  407. package/dist/collection/components/assets/synchronize/Synchronize20.js +1 -1
  408. package/dist/collection/components/assets/synchronize/Synchronize24.js +1 -1
  409. package/dist/collection/components/assets/synchronize/Synchronize8.js +1 -1
  410. package/dist/collection/components/assets/user/User10.js +1 -1
  411. package/dist/collection/components/assets/user/User12.js +1 -1
  412. package/dist/collection/components/assets/user/User16.js +1 -1
  413. package/dist/collection/components/assets/user/User20.js +1 -1
  414. package/dist/collection/components/assets/user/User24.js +1 -1
  415. package/dist/collection/components/assets/user/User32.js +1 -1
  416. package/dist/collection/components/assets/user/User8.js +1 -1
  417. package/dist/collection/components/assets/visibilityOff/VisibilityOff10.js +1 -1
  418. package/dist/collection/components/assets/visibilityOff/VisibilityOff12.js +1 -1
  419. package/dist/collection/components/assets/visibilityOff/VisibilityOff16.js +1 -1
  420. package/dist/collection/components/assets/visibilityOff/VisibilityOff20.js +1 -1
  421. package/dist/collection/components/assets/visibilityOff/VisibilityOff24.js +1 -1
  422. package/dist/collection/components/assets/visibilityOff/VisibilityOff8.js +1 -1
  423. package/dist/collection/components/assets/visibilityOn/VisibilityOn10.js +1 -1
  424. package/dist/collection/components/assets/visibilityOn/VisibilityOn12.js +1 -1
  425. package/dist/collection/components/assets/visibilityOn/VisibilityOn16.js +1 -1
  426. package/dist/collection/components/assets/visibilityOn/VisibilityOn20.js +1 -1
  427. package/dist/collection/components/assets/visibilityOn/VisibilityOn24.js +1 -1
  428. package/dist/collection/components/assets/visibilityOn/VisibilityOn8.js +1 -1
  429. package/dist/collection/components/assets/warehouseLine/WarehouseLine10.js +1 -1
  430. package/dist/collection/components/assets/warehouseLine/WarehouseLine12.js +1 -1
  431. package/dist/collection/components/assets/warehouseLine/WarehouseLine16.js +1 -1
  432. package/dist/collection/components/assets/warehouseLine/WarehouseLine20.js +1 -1
  433. package/dist/collection/components/assets/warehouseLine/WarehouseLine24.js +1 -1
  434. package/dist/collection/components/assets/warehouseLine/WarehouseLine8.js +1 -1
  435. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid10.js +1 -1
  436. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid12.js +1 -1
  437. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid16.js +1 -1
  438. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid20.js +1 -1
  439. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid24.js +1 -1
  440. package/dist/collection/components/assets/warehouseSolid/WarehouseSolid8.js +1 -1
  441. package/dist/collection/components/assets/warningFilled/WarningFilled10.js +1 -1
  442. package/dist/collection/components/assets/warningFilled/WarningFilled12.js +1 -1
  443. package/dist/collection/components/assets/warningFilled/WarningFilled16.js +1 -1
  444. package/dist/collection/components/assets/warningFilled/WarningFilled20.js +1 -1
  445. package/dist/collection/components/assets/warningFilled/WarningFilled24.js +1 -1
  446. package/dist/collection/components/assets/warningFilled/WarningFilled8.js +1 -1
  447. package/dist/collection/components/assets/warningOutline/WarningOutline10.js +1 -1
  448. package/dist/collection/components/assets/warningOutline/WarningOutline12.js +1 -1
  449. package/dist/collection/components/assets/warningOutline/WarningOutline16.js +1 -1
  450. package/dist/collection/components/assets/warningOutline/WarningOutline20.js +1 -1
  451. package/dist/collection/components/assets/warningOutline/WarningOutline24.js +1 -1
  452. package/dist/collection/components/assets/warningOutline/WarningOutline32.js +1 -1
  453. package/dist/collection/components/assets/warningOutline/WarningOutline8.js +1 -1
  454. package/dist/collection/components/assets/youtube/Youtube10.js +1 -1
  455. package/dist/collection/components/assets/youtube/Youtube12.js +1 -1
  456. package/dist/collection/components/assets/youtube/Youtube16.js +1 -1
  457. package/dist/collection/components/assets/youtube/Youtube20.js +1 -1
  458. package/dist/collection/components/assets/youtube/Youtube24.js +1 -1
  459. package/dist/collection/components/assets/youtube/Youtube8.js +1 -1
  460. package/dist/collection/components/sd-barcode-input/sd-barcode-input.config.js +34 -0
  461. package/dist/collection/components/sd-barcode-input/sd-barcode-input.css +72 -0
  462. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +750 -0
  463. package/dist/collection/components/sd-button/sd-button.js +2 -2
  464. package/dist/collection/components/sd-button-v2/sd-button-v2.js +3 -3
  465. package/dist/collection/components/sd-card/sd-card.js +1 -1
  466. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.config.js +4 -1
  467. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.css +17 -17
  468. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +4 -4
  469. package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
  470. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +4 -4
  471. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
  472. package/dist/collection/components/sd-field/sd-field.css +11 -5
  473. package/dist/collection/components/sd-field/sd-field.js +69 -3
  474. package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
  475. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  476. package/dist/collection/components/sd-guide/sd-guide.js +2 -2
  477. package/dist/collection/components/sd-icon/sd-icon.js +2 -2
  478. package/dist/collection/components/sd-input/sd-input.css +2 -1
  479. package/dist/collection/components/sd-input/sd-input.js +52 -9
  480. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
  481. package/dist/collection/components/sd-modal-container/sd-modal-container.js +2 -109
  482. package/dist/collection/components/sd-number-input/sd-number-input.js +46 -4
  483. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  484. package/dist/collection/components/sd-popover/sd-popover.js +3 -3
  485. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  486. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  487. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
  488. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  489. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
  490. package/dist/collection/components/sd-select-group/sd-select-group.js +1 -1
  491. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
  492. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  493. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.css +6 -6
  494. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
  495. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +3 -12
  496. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +1 -0
  497. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +185 -16
  498. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  499. package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +12 -7
  500. package/dist/collection/components/sd-select-v2/sd-select-v2.js +65 -31
  501. package/dist/collection/components/sd-tag/sd-tag.config.js +3 -3
  502. package/dist/collection/components/sd-tag/sd-tag.js +3 -3
  503. package/dist/collection/components/sd-text-link/sd-text-link.config.js +16 -0
  504. package/dist/collection/components/sd-text-link/sd-text-link.css +23 -0
  505. package/dist/collection/components/sd-text-link/sd-text-link.js +193 -0
  506. package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
  507. package/dist/collection/components/sd-toast/sd-toast.js +3 -3
  508. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  509. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  510. package/dist/collection/components/sd-toggle-button/sd-toggle-button.js +1 -1
  511. package/dist/collection/components/sd-tooltip/sd-tooltip.js +3 -3
  512. package/dist/collection/utils/modal.js +0 -9
  513. package/dist/components/index.js +1 -1
  514. package/dist/components/{p-cWdYmHLY.js → p-6FZWkn3V.js} +1 -1
  515. package/dist/components/{p-DBCQtIY4.js → p-BBKrHUCP.js} +1 -1
  516. package/dist/components/{p-BMpVqedy.js → p-BKtAiyh0.js} +1 -1
  517. package/dist/components/{p-5UN9Ry8A.js → p-BXuZFSsU.js} +1 -1
  518. package/dist/components/{p-Cm4BQbyn.js → p-BfqA9RSe.js} +1 -1
  519. package/dist/components/{p-BL0JF-Wh.js → p-Bo7U7jA2.js} +1 -1
  520. package/dist/components/{p-vMfU_F7J.js → p-C4sDmQQ3.js} +1 -1
  521. package/dist/components/p-C7dgr7sG.js +1 -0
  522. package/dist/components/{p-Trj68Yo5.js → p-CHq9aVFe.js} +1 -1
  523. package/dist/components/{p-9EyS2_Bp.js → p-CPr3lzac.js} +1 -1
  524. package/dist/components/{p-DEBuE-pW.js → p-CV1qJByG.js} +1 -1
  525. package/dist/components/p-CXjMXCNh.js +1 -0
  526. package/dist/components/p-CbjDAdZ_.js +1 -0
  527. package/dist/components/p-CrJXDjO0.js +1 -0
  528. package/dist/components/{p-nLkkdmKA.js → p-Cx2K_zB2.js} +1 -1
  529. package/dist/components/{p-DS5oSTUS.js → p-D3H3ILJG.js} +1 -1
  530. package/dist/components/{p-CGU_sdK0.js → p-D6ayf5l7.js} +1 -1
  531. package/dist/components/p-DGA1KNaL.js +1 -0
  532. package/dist/components/{p-Dzg317Va.js → p-DZ8T3piH.js} +1 -1
  533. package/dist/components/{p-dvfewOFM.js → p-DgDoP1wQ.js} +1 -1
  534. package/dist/components/p-DpqpugGF.js +1 -0
  535. package/dist/components/{p-C7G_tiJw.js → p-DvQzT5XM.js} +1 -1
  536. package/dist/components/p-Pdmk6q_e.js +1 -0
  537. package/dist/components/{p-_Zc2887O.js → p-UaMNiu8y.js} +1 -1
  538. package/dist/components/p-gHb970iC.js +1 -0
  539. package/dist/components/p-qbtTff3q.js +1 -0
  540. package/dist/components/sd-barcode-input.d.ts +11 -0
  541. package/dist/components/sd-barcode-input.js +1 -0
  542. package/dist/components/sd-button-v2.js +1 -1
  543. package/dist/components/sd-button.js +1 -1
  544. package/dist/components/sd-calendar.js +1 -1
  545. package/dist/components/sd-card.js +1 -1
  546. package/dist/components/sd-checkbox.js +1 -1
  547. package/dist/components/sd-confirm-modal.js +1 -1
  548. package/dist/components/sd-date-picker.js +1 -1
  549. package/dist/components/sd-date-range-picker.js +1 -1
  550. package/dist/components/sd-dropdown-button.js +1 -1
  551. package/dist/components/sd-field.js +1 -1
  552. package/dist/components/sd-file-picker.js +1 -1
  553. package/dist/components/sd-floating-portal.js +1 -1
  554. package/dist/components/sd-guide.js +1 -1
  555. package/dist/components/sd-icon.js +1 -1
  556. package/dist/components/sd-input.js +1 -1
  557. package/dist/components/sd-loading-spinner.js +1 -1
  558. package/dist/components/sd-modal-container.js +1 -1
  559. package/dist/components/sd-number-input.js +1 -1
  560. package/dist/components/sd-pagination.js +1 -1
  561. package/dist/components/sd-popover.js +1 -1
  562. package/dist/components/sd-portal.js +1 -1
  563. package/dist/components/sd-progress.js +1 -1
  564. package/dist/components/sd-select-dropdown.js +1 -1
  565. package/dist/components/sd-select-group.js +1 -1
  566. package/dist/components/sd-select-multiple-group.js +1 -1
  567. package/dist/components/sd-select-multiple.js +1 -1
  568. package/dist/components/sd-select-option-group.js +1 -1
  569. package/dist/components/sd-select-option.js +1 -1
  570. package/dist/components/sd-select-search-input.js +1 -1
  571. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  572. package/dist/components/sd-select-v2-list-item.js +1 -1
  573. package/dist/components/sd-select-v2-listbox.js +1 -1
  574. package/dist/components/sd-select-v2-trigger.js +1 -1
  575. package/dist/components/sd-select-v2.js +1 -1
  576. package/dist/components/sd-select.js +1 -1
  577. package/dist/components/sd-table.js +1 -1
  578. package/dist/components/sd-tabs.js +1 -1
  579. package/dist/components/sd-tag.js +1 -1
  580. package/dist/components/{sd-notice-modal.d.ts → sd-text-link.d.ts} +4 -4
  581. package/dist/components/sd-text-link.js +1 -0
  582. package/dist/components/sd-textarea.js +1 -1
  583. package/dist/components/sd-toast-container.js +1 -1
  584. package/dist/components/sd-toast.js +1 -1
  585. package/dist/components/sd-toggle-button.js +1 -1
  586. package/dist/components/sd-toggle.js +1 -1
  587. package/dist/components/sd-tooltip.js +1 -1
  588. package/dist/design-system/design-system.css +1 -1
  589. package/dist/design-system/design-system.esm.js +1 -1
  590. package/dist/design-system/index.esm.js +1 -1
  591. package/dist/design-system/p-0174f3c5.entry.js +1 -0
  592. package/dist/design-system/{p-0cca5deb.entry.js → p-0dee408f.entry.js} +1 -1
  593. package/dist/design-system/p-40614adb.entry.js +1 -0
  594. package/dist/design-system/{p-12f04366.entry.js → p-4301b50d.entry.js} +1 -1
  595. package/dist/design-system/{p-2408d1ab.entry.js → p-50b1196b.entry.js} +1 -1
  596. package/dist/design-system/{p-f186c0f4.entry.js → p-57b1e335.entry.js} +1 -1
  597. package/dist/design-system/{p-e0ef7658.entry.js → p-5ce3142c.entry.js} +1 -1
  598. package/dist/design-system/{p-d8b04e91.entry.js → p-634797a4.entry.js} +1 -1
  599. package/dist/design-system/{p-b71d0858.entry.js → p-63a43fc9.entry.js} +1 -1
  600. package/dist/design-system/{p-4731457c.entry.js → p-6a371d98.entry.js} +1 -1
  601. package/dist/design-system/{p-36ba5f33.entry.js → p-7368eb09.entry.js} +1 -1
  602. package/dist/design-system/p-868ce552.entry.js +1 -0
  603. package/dist/design-system/p-9eea4660.entry.js +1 -0
  604. package/dist/design-system/p-CbjDAdZ_.js +1 -0
  605. package/dist/design-system/p-a3c9d924.entry.js +1 -0
  606. package/dist/design-system/{p-0fdca641.entry.js → p-aaf91535.entry.js} +1 -1
  607. package/dist/design-system/p-ae3b8832.entry.js +1 -0
  608. package/dist/design-system/{p-e96c881f.entry.js → p-c1963b5e.entry.js} +1 -1
  609. package/dist/design-system/p-d63e0f4c.entry.js +1 -0
  610. package/dist/design-system/{p-63f997d7.entry.js → p-dc6246be.entry.js} +1 -1
  611. package/dist/design-system/p-e39687d0.entry.js +1 -0
  612. package/dist/design-system/{p-f9075737.entry.js → p-f9cf0d6f.entry.js} +1 -1
  613. package/dist/design-system/{p-acb529cb.entry.js → p-fdde3de0.entry.js} +1 -1
  614. package/dist/design-system/p-feb80c2f.entry.js +1 -0
  615. package/dist/design-system/{p-BOmBg3kj.js → p-o9Ugc4Ua.js} +1 -1
  616. package/dist/esm/component.textinput-CbjDAdZ_.js +39 -0
  617. package/dist/esm/design-system.js +1 -1
  618. package/dist/esm/index.js +0 -9
  619. package/dist/esm/loader.js +1 -1
  620. package/dist/esm/sd-barcode-input.entry.js +160 -0
  621. package/dist/esm/sd-button-v2_2.entry.js +13 -10
  622. package/dist/esm/sd-button_20.entry.js +556 -467
  623. package/dist/esm/sd-card.entry.js +1 -1
  624. package/dist/esm/sd-confirm-modal.entry.js +122 -0
  625. package/dist/esm/sd-date-picker.entry.js +1 -1
  626. package/dist/esm/sd-dropdown-button.entry.js +3 -3
  627. package/dist/esm/sd-file-picker.entry.js +3 -3
  628. package/dist/esm/sd-guide.entry.js +2 -2
  629. package/dist/esm/sd-modal-container.entry.js +0 -64
  630. package/dist/esm/sd-popover.entry.js +2 -2
  631. package/dist/esm/sd-progress.entry.js +2 -2
  632. package/dist/esm/sd-select-group.entry.js +1 -1
  633. package/dist/esm/sd-select-multiple.entry.js +1 -1
  634. package/dist/esm/sd-select-option-group.entry.js +3 -3
  635. package/dist/esm/sd-select-v2-list-item_2.entry.js +7 -16
  636. package/dist/esm/sd-select-v2-listbox_2.entry.js +181 -14
  637. package/dist/esm/{sd-select-v2.config-BOmBg3kj.js → sd-select-v2.config-o9Ugc4Ua.js} +12 -7
  638. package/dist/esm/sd-select-v2.entry.js +21 -27
  639. package/dist/esm/sd-text-link.entry.js +97 -0
  640. package/dist/esm/sd-toast-container.entry.js +1 -1
  641. package/dist/esm/sd-toast.entry.js +2 -2
  642. package/dist/esm/sd-toggle-button.entry.js +1 -1
  643. package/dist/esm/sd-toggle.entry.js +1 -1
  644. package/dist/types/components/assets/arrow2Down/Arrow2Down10.d.ts +1 -1
  645. package/dist/types/components/assets/arrow2Down/Arrow2Down12.d.ts +1 -1
  646. package/dist/types/components/assets/arrow2Down/Arrow2Down16.d.ts +1 -1
  647. package/dist/types/components/assets/arrow2Down/Arrow2Down20.d.ts +1 -1
  648. package/dist/types/components/assets/arrow2Down/Arrow2Down24.d.ts +1 -1
  649. package/dist/types/components/assets/arrow2Down/Arrow2Down8.d.ts +1 -1
  650. package/dist/types/components/assets/arrow2Down/index.d.ts +6 -6
  651. package/dist/types/components/assets/arrow2Up/Arrow2Up10.d.ts +1 -1
  652. package/dist/types/components/assets/arrow2Up/Arrow2Up12.d.ts +1 -1
  653. package/dist/types/components/assets/arrow2Up/Arrow2Up16.d.ts +1 -1
  654. package/dist/types/components/assets/arrow2Up/Arrow2Up20.d.ts +1 -1
  655. package/dist/types/components/assets/arrow2Up/Arrow2Up24.d.ts +1 -1
  656. package/dist/types/components/assets/arrow2Up/Arrow2Up8.d.ts +1 -1
  657. package/dist/types/components/assets/arrow2Up/index.d.ts +6 -6
  658. package/dist/types/components/assets/arrowDown/index.d.ts +1 -1
  659. package/dist/types/components/assets/arrowLeft/index.d.ts +1 -1
  660. package/dist/types/components/assets/arrowLeftEnd/index.d.ts +1 -1
  661. package/dist/types/components/assets/camera/Camera10.d.ts +1 -0
  662. package/dist/types/components/assets/camera/Camera12.d.ts +1 -0
  663. package/dist/types/components/assets/camera/Camera16.d.ts +1 -0
  664. package/dist/types/components/assets/camera/Camera20.d.ts +1 -0
  665. package/dist/types/components/assets/camera/Camera24.d.ts +1 -0
  666. package/dist/types/components/assets/camera/Camera8.d.ts +1 -0
  667. package/dist/types/components/assets/camera/index.d.ts +8 -0
  668. package/dist/types/components/assets/index.d.ts +47 -15
  669. package/dist/types/components/assets/pageEdit2/PageEdit210.d.ts +1 -0
  670. package/dist/types/components/assets/pageEdit2/PageEdit212.d.ts +1 -0
  671. package/dist/types/components/assets/pageEdit2/PageEdit216.d.ts +1 -0
  672. package/dist/types/components/assets/pageEdit2/PageEdit220.d.ts +1 -0
  673. package/dist/types/components/assets/pageEdit2/PageEdit224.d.ts +1 -0
  674. package/dist/types/components/assets/pageEdit2/PageEdit28.d.ts +1 -0
  675. package/dist/types/components/assets/pageEdit2/index.d.ts +8 -0
  676. package/dist/types/components/assets/print/Print10.d.ts +1 -0
  677. package/dist/types/components/assets/print/Print12.d.ts +1 -0
  678. package/dist/types/components/assets/print/Print16.d.ts +1 -0
  679. package/dist/types/components/assets/print/Print20.d.ts +1 -0
  680. package/dist/types/components/assets/print/Print24.d.ts +1 -0
  681. package/dist/types/components/assets/print/Print8.d.ts +1 -0
  682. package/dist/types/components/assets/print/index.d.ts +8 -0
  683. package/dist/types/components/assets/save/Save10.d.ts +1 -0
  684. package/dist/types/components/assets/save/Save12.d.ts +1 -0
  685. package/dist/types/components/assets/save/Save16.d.ts +1 -0
  686. package/dist/types/components/assets/save/Save20.d.ts +1 -0
  687. package/dist/types/components/assets/save/Save24.d.ts +1 -0
  688. package/dist/types/components/assets/save/Save8.d.ts +1 -0
  689. package/dist/types/components/assets/save/index.d.ts +8 -0
  690. package/dist/types/components/sd-barcode-input/sd-barcode-input.config.d.ts +38 -0
  691. package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +50 -0
  692. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +4 -3
  693. package/dist/types/components/sd-field/sd-field.d.ts +3 -0
  694. package/dist/types/components/sd-input/sd-input.d.ts +4 -1
  695. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +0 -13
  696. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +2 -5
  697. package/dist/types/components/sd-number-input/sd-number-input.d.ts +2 -0
  698. package/dist/types/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.d.ts +0 -1
  699. package/dist/types/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.d.ts +44 -2
  700. package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +4 -0
  701. package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +3 -2
  702. package/dist/types/components/sd-text-link/sd-text-link.config.d.ts +33 -0
  703. package/dist/types/components/sd-text-link/sd-text-link.d.ts +12 -0
  704. package/dist/types/components.d.ts +421 -136
  705. package/dist/types/index.d.ts +1 -1
  706. package/dist/types/utils/modal.d.ts +3 -4
  707. package/hydrate/index.js +1222 -783
  708. package/hydrate/index.mjs +1222 -783
  709. package/package.json +1 -1
  710. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +0 -199
  711. package/dist/collection/components/assets/alignKorea/AlignKorean10.js +0 -2
  712. package/dist/collection/components/assets/alignKorea/AlignKorean12.js +0 -2
  713. package/dist/collection/components/assets/alignKorea/AlignKorean16.js +0 -2
  714. package/dist/collection/components/assets/alignKorea/AlignKorean20.js +0 -2
  715. package/dist/collection/components/assets/alignKorea/AlignKorean8.js +0 -2
  716. package/dist/collection/components/sd-notice-modal/sd-notice-modal.config.js +0 -3
  717. package/dist/collection/components/sd-notice-modal/sd-notice-modal.css +0 -61
  718. package/dist/collection/components/sd-notice-modal/sd-notice-modal.js +0 -324
  719. package/dist/components/p-0gO8WB9o.js +0 -1
  720. package/dist/components/p-BH_WRHMs.js +0 -1
  721. package/dist/components/p-CBmWor54.js +0 -1
  722. package/dist/components/p-CCGsaeed.js +0 -1
  723. package/dist/components/p-CIwsurLw.js +0 -1
  724. package/dist/components/p-C_L-UaCP.js +0 -1
  725. package/dist/components/p-Cefcggep.js +0 -1
  726. package/dist/components/p-CnGJ-zsX.js +0 -1
  727. package/dist/components/p-CsS4T0El.js +0 -1
  728. package/dist/components/p-l5p-E_Gh.js +0 -1
  729. package/dist/components/sd-notice-modal.js +0 -1
  730. package/dist/design-system/p-10945e57.entry.js +0 -1
  731. package/dist/design-system/p-1e975178.entry.js +0 -1
  732. package/dist/design-system/p-342f48ab.entry.js +0 -1
  733. package/dist/design-system/p-9c6fea35.entry.js +0 -1
  734. package/dist/design-system/p-9d431ea6.entry.js +0 -1
  735. package/dist/design-system/p-ba393cc8.entry.js +0 -1
  736. package/dist/design-system/p-f87b6a45.entry.js +0 -1
  737. package/dist/esm/sd-confirm-modal_2.entry.js +0 -196
  738. package/dist/types/components/sd-notice-modal/sd-notice-modal.config.d.ts +0 -5
  739. package/dist/types/components/sd-notice-modal/sd-notice-modal.d.ts +0 -28
  740. /package/dist/collection/components/assets/{alignKorea → alignKorean}/AlignKorean24.js +0 -0
  741. /package/dist/collection/components/assets/{alignKorea → alignKorean}/index.js +0 -0
  742. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean10.d.ts +0 -0
  743. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean12.d.ts +0 -0
  744. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean16.d.ts +0 -0
  745. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean20.d.ts +0 -0
  746. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean24.d.ts +0 -0
  747. /package/dist/types/components/assets/{alignKorea → alignKorean}/AlignKorean8.d.ts +0 -0
  748. /package/dist/types/components/assets/{alignKorea → alignKorean}/index.d.ts +0 -0
@@ -0,0 +1,193 @@
1
+ import { h } from "@stencil/core";
2
+ import { TEXT_LINK_LAYOUT, TEXT_LINK_TYPOGRAPHY, TEXT_LINK_COLORS } from "./sd-text-link.config";
3
+ export class SdTextLink {
4
+ label = '';
5
+ icon = '';
6
+ iconColor = '';
7
+ useArrow = false;
8
+ underline = false;
9
+ disabled = false;
10
+ click;
11
+ handleClick = () => {
12
+ if (this.disabled)
13
+ return;
14
+ this.click.emit();
15
+ };
16
+ render() {
17
+ const typo = this.underline ? TEXT_LINK_TYPOGRAPHY.underline : TEXT_LINK_TYPOGRAPHY.default;
18
+ const contentColor = this.disabled ? TEXT_LINK_COLORS.content.disabled : TEXT_LINK_COLORS.content.default;
19
+ const iconColor = this.disabled ? TEXT_LINK_COLORS.icon.disabled : (this.iconColor || TEXT_LINK_COLORS.icon.default);
20
+ const arrowColor = this.disabled ? TEXT_LINK_COLORS.icon.disabled : TEXT_LINK_LAYOUT.arrowColor;
21
+ const cssVars = {
22
+ '--sd-text-link-gap': `${TEXT_LINK_LAYOUT.gap}px`,
23
+ '--sd-text-link-font-size': `${typo.fontSize}px`,
24
+ '--sd-text-link-font-weight': typo.fontWeight,
25
+ '--sd-text-link-line-height': `${typo.lineHeight}px`,
26
+ '--sd-text-link-text-decoration': typo.textDecoration,
27
+ '--sd-text-link-color': contentColor,
28
+ };
29
+ return (h("span", { key: '3345bf7ddd99b9eeca4e8e6014f88e5f4505665e', class: {
30
+ 'sd-text-link': true,
31
+ 'sd-text-link--disabled': this.disabled,
32
+ }, style: cssVars, onClick: this.handleClick }, this.icon && (h("sd-icon", { key: 'e8f1cf6482745bce5856988d5e30702d807335db', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: '09293467bc7289dd587a5ed0fc4b2cedbc1d925a', class: "sd-text-link__label" }, this.label), this.useArrow && (h("span", { key: '10330d4acc1e323997804146629e3397605b9d58', class: "sd-text-link__arrow", style: {
33
+ width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
34
+ height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
35
+ display: 'inline-flex',
36
+ alignItems: 'center',
37
+ justifyContent: 'center',
38
+ } }, h("sd-icon", { key: '01def7dd04278fce78f9eb49efd857999fa255db', name: "arrowRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
39
+ }
40
+ static get is() { return "sd-text-link"; }
41
+ static get originalStyleUrls() {
42
+ return {
43
+ "$": ["sd-text-link.scss"]
44
+ };
45
+ }
46
+ static get styleUrls() {
47
+ return {
48
+ "$": ["sd-text-link.css"]
49
+ };
50
+ }
51
+ static get properties() {
52
+ return {
53
+ "label": {
54
+ "type": "string",
55
+ "mutable": false,
56
+ "complexType": {
57
+ "original": "string",
58
+ "resolved": "string",
59
+ "references": {}
60
+ },
61
+ "required": false,
62
+ "optional": false,
63
+ "docs": {
64
+ "tags": [],
65
+ "text": ""
66
+ },
67
+ "getter": false,
68
+ "setter": false,
69
+ "reflect": false,
70
+ "attribute": "label",
71
+ "defaultValue": "''"
72
+ },
73
+ "icon": {
74
+ "type": "string",
75
+ "mutable": false,
76
+ "complexType": {
77
+ "original": "string",
78
+ "resolved": "string",
79
+ "references": {}
80
+ },
81
+ "required": false,
82
+ "optional": false,
83
+ "docs": {
84
+ "tags": [],
85
+ "text": ""
86
+ },
87
+ "getter": false,
88
+ "setter": false,
89
+ "reflect": false,
90
+ "attribute": "icon",
91
+ "defaultValue": "''"
92
+ },
93
+ "iconColor": {
94
+ "type": "string",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string",
98
+ "resolved": "string",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": ""
106
+ },
107
+ "getter": false,
108
+ "setter": false,
109
+ "reflect": false,
110
+ "attribute": "icon-color",
111
+ "defaultValue": "''"
112
+ },
113
+ "useArrow": {
114
+ "type": "boolean",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "boolean",
118
+ "resolved": "boolean",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": ""
126
+ },
127
+ "getter": false,
128
+ "setter": false,
129
+ "reflect": false,
130
+ "attribute": "use-arrow",
131
+ "defaultValue": "false"
132
+ },
133
+ "underline": {
134
+ "type": "boolean",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "boolean",
138
+ "resolved": "boolean",
139
+ "references": {}
140
+ },
141
+ "required": false,
142
+ "optional": false,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": ""
146
+ },
147
+ "getter": false,
148
+ "setter": false,
149
+ "reflect": false,
150
+ "attribute": "underline",
151
+ "defaultValue": "false"
152
+ },
153
+ "disabled": {
154
+ "type": "boolean",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "boolean",
158
+ "resolved": "boolean",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": ""
166
+ },
167
+ "getter": false,
168
+ "setter": false,
169
+ "reflect": false,
170
+ "attribute": "disabled",
171
+ "defaultValue": "false"
172
+ }
173
+ };
174
+ }
175
+ static get events() {
176
+ return [{
177
+ "method": "click",
178
+ "name": "sdClick",
179
+ "bubbles": true,
180
+ "cancelable": true,
181
+ "composed": true,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": ""
185
+ },
186
+ "complexType": {
187
+ "original": "void",
188
+ "resolved": "void",
189
+ "references": {}
190
+ }
191
+ }];
192
+ }
193
+ }
@@ -75,10 +75,10 @@ export class SdTextarea {
75
75
  }
76
76
  render() {
77
77
  const maxLengthCounter = this.getMaxLengthCounter();
78
- return (h("div", { key: 'a8935e47e739b5231fb5e7d5402477a371457fcb', class: {
78
+ return (h("div", { key: 'abc90981d61632afc86d158283575cd65031e10e', class: {
79
79
  'sd-textarea': true,
80
80
  [this.getTextareaStatus()]: true,
81
- }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("div", { key: '7e1a3f00fc55fe0cfe760b41634302a5f95a9459', class: "sd-textarea__content" }, h("textarea", { key: '279aa51122c9d85f05ae7c9f0a21c7caeaec2b78', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, autofocus: this.autoFocus, maxLength: this.maxLength, onInput: this.handleInput.bind(this), onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) })), this.hasFooter() && (h("div", { key: '3581c12a5225149ad37301432ca69773f7fbbbdf', class: "sd-textarea__footer" }, this.helpText !== undefined && h("span", { key: '4cb3088754f1c6e6c826c8466e34ac22475705a5', class: "sd-textarea__help-text" }, this.helpText), maxLengthCounter !== null && h("span", { key: '40e72285972449421a39e10a3fa0e82975e45c9c', class: "sd-textarea__counter" }, maxLengthCounter)))));
81
+ }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("div", { key: 'e2c3599dc763d59df0ba1ed6d80d2b8e6b9846f9', class: "sd-textarea__content" }, h("textarea", { key: 'f6ac448db448ed16eeac15313b3ca8016b51b70f', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, autofocus: this.autoFocus, maxLength: this.maxLength, onInput: this.handleInput.bind(this), onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) })), this.hasFooter() && (h("div", { key: 'dfa41f4149b2f8b51c485e2f6306256982c7fdd1', class: "sd-textarea__footer" }, this.helpText !== undefined && h("span", { key: '909c7c59fde0bec3ac398899e9301b2f93fbb0f4', class: "sd-textarea__help-text" }, this.helpText), maxLengthCounter !== null && h("span", { key: 'a0907c3745f7b07ddc5458e5f822bf87873a5316', class: "sd-textarea__counter" }, maxLengthCounter)))));
82
82
  }
83
83
  static get is() { return "sd-textarea"; }
84
84
  static get originalStyleUrls() {
@@ -11,10 +11,10 @@ export class SdToast {
11
11
  render() {
12
12
  const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
13
13
  const iconSize = Number(TOAST_LAYOUT.iconSize);
14
- return (h("div", { key: 'fb12707835d196216266d9d3451c0b78b3d5c910', style: {
14
+ return (h("div", { key: 'd8e1a82c9daebbe6b262bedcecd3fcdb5d9cdff6', style: {
15
15
  '--sd-toast-bg': typeConfig.bg,
16
16
  '--sd-toast-text': typeConfig.content,
17
- } }, h("div", { key: '5d02fbcc7640d40431d8a10d0ff966cbdc208564', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: 'a0d31efadb3ece5d4491118b127dd6c824bce31a', class: "sd-toast__icon" }, h("sd-icon", { key: '6a6bf80ed9378d8b8c2b057dab5afeaf4ba638f7', name: this.icon, size: iconSize, color: typeConfig.content }))), h("div", { key: '2024f644815a136e44f96d58d97aea7f25623f2c', class: "sd-toast__content" }, h("span", { key: '0d903bb1c6e6d0518d1f6f71ece3e7a71efbe636', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '574b52ba0bbd5f37657084b70f1b6818d06e77fe', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.useClose && (h("button", { key: '55c489e0c52879c229734f01a2ddf9c1206e0bfc', type: "button", class: "sd-toast__close", onClick: () => this.close.emit(), "aria-label": "Close", title: "Close" }, h("sd-icon", { key: 'd726e7d65a169024fbfdc924375f81b70caebf75', name: "close", size: iconSize, color: typeConfig.content }))))));
17
+ } }, h("div", { key: 'ef1c9243616c34947bd03a8de734b28fd7d32bd4', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: 'ef4ff52c084175eb34f1e88b69258b72966af947', class: "sd-toast__icon" }, h("sd-icon", { key: '7c8f49358fb158807f09855c169ec99f3dcd9469', name: this.icon, size: iconSize, color: typeConfig.content }))), h("div", { key: 'b229d53142ab92037b8c409da478305bba954710', class: "sd-toast__content" }, h("span", { key: '1c623880c6e6e7d5d5a0fbaab980774cc494ab82', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '9ff007a2436fd16519e22f024486a40a3c9f6ff9', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.useClose && (h("button", { key: '4b2371414437c7f3c9c70ec3b44879d0b6bbc212', type: "button", class: "sd-toast__close", onClick: () => this.close.emit(), "aria-label": "Close", title: "Close" }, h("sd-icon", { key: '3aed44c8b9bf783445cb49d4fc513b086f5fc428', name: "close", size: iconSize, color: typeConfig.content }))))));
18
18
  }
19
19
  static get is() { return "sd-toast"; }
20
20
  static get originalStyleUrls() {
@@ -34,7 +34,7 @@ export class SdToast {
34
34
  "mutable": false,
35
35
  "complexType": {
36
36
  "original": "IconName",
37
- "resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageMove\" | \"pdf\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\" | undefined",
37
+ "resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageEdit2\" | \"pageMove\" | \"pdf\" | \"print\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"save\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\" | undefined",
38
38
  "references": {
39
39
  "IconName": {
40
40
  "location": "global",
@@ -216,7 +216,7 @@ export class SdToastContainer {
216
216
  const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
217
217
  const indexMap = new Map();
218
218
  activeToasts.forEach((t, i) => indexMap.set(t.id, i));
219
- return (h("div", { key: 'ae174f148eb5191be7d4ad6704c77568f4b5abb2', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
219
+ return (h("div", { key: 'ea70acd97b25230c2c2ae74504381fe00d458043', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
220
220
  this.expanded = true;
221
221
  this.pauseTimers();
222
222
  }, onMouseLeave: () => {
@@ -28,7 +28,7 @@ export class SdToggle {
28
28
  this.change.emit(newValue);
29
29
  };
30
30
  render() {
31
- return (h("label", { key: 'f6501486607b113d7ca127193eb7fdbcbac00260', "aria-label": this.label || 'toggle', class: this.toggleClasses }, h("input", { key: 'e63d90a710779cd3d6b90c865716c9efc43c81d2', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), this.label && h("span", { key: '10675257acc33a71f7ed76ea9474879f04acc0e0', class: "sd-toggle__label" }, this.label), h("div", { key: 'ec67a74eb272b24739867b50b5fe89f62995719a', class: "sd-toggle__track" }, h("div", { key: '57c785afe9cecc62a17ca3fa7eb6663d302d9c56', class: "sd-toggle__thumb" }))));
31
+ return (h("label", { key: '60d9d2c1feca4256b7a279bc64e52da8e9f81995', "aria-label": this.label || 'toggle', class: this.toggleClasses }, h("input", { key: 'd25f6af7f9c6ea95e423a39ff44c394ad9624fe6', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), this.label && h("span", { key: '52383a1ca0f17666fdc386beed30512e7349b470', class: "sd-toggle__label" }, this.label), h("div", { key: '32c76872e30e2d8b1b06e096c394ee1d3dfc4381', class: "sd-toggle__track" }, h("div", { key: '0ec405309e322492ed7af4e0ddf115da87d03150', class: "sd-toggle__thumb" }))));
32
32
  }
33
33
  static get is() { return "sd-toggle"; }
34
34
  static get originalStyleUrls() {
@@ -32,7 +32,7 @@ export class SdToggleButton {
32
32
  this.change.emit(newValue);
33
33
  };
34
34
  render() {
35
- return (h("label", { key: '3fa26fc680be2568ceed35ce3e828d68c28bef28', class: this.buttonClasses, "aria-label": this.label || 'toggle button' }, this.label, h("input", { key: 'ac81ea350a145a166cc6cefdb341b326ce84d6f3', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
35
+ return (h("label", { key: 'c8e3adb9201066f7e39ff49df97e80cd4a716345', class: this.buttonClasses, "aria-label": this.label || 'toggle button' }, this.label, h("input", { key: '8fb523287f4d593a455a2366632797098401398e', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
36
36
  }
37
37
  static get is() { return "sd-toggle-button"; }
38
38
  static get originalStyleUrls() {
@@ -42,14 +42,14 @@ export class SdTooltip {
42
42
  : {
43
43
  onSdClick: () => (this.showTooltip = !this.showTooltip),
44
44
  };
45
- return (h(Fragment, { key: '1c731d4e69b06c764396692e4292c514eb02492a' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-tooltip", ...buttonTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (h("sd-floating-portal", { key: '9ced53dea1ae6c33c091b170dd32b05a2f0d697f', parentRef: this.buttonEl, onSdClose: this.handleClose.bind(this), placement: this.placement }, h("div", { key: 'd06222bdc0db2497790f0c8d141d60308e453801', class: {
45
+ return (h(Fragment, { key: '53edf89a07b59cc1f6f3b84cbba7f4b77c6819c7' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-tooltip", ...buttonTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (h("sd-floating-portal", { key: '0011143fc06ea5bcf0b800bc4baabb06dd822911', parentRef: this.buttonEl, onSdClose: this.handleClose.bind(this), placement: this.placement }, h("div", { key: '5cd0ed3132d542436a951bf74784d0aa0cd8078d', class: {
46
46
  'sd-floating-menu': true,
47
47
  [`sd-floating-menu--${this.tooltipType}`]: true,
48
48
  [`sd-floating-menu--${this.placement}`]: true,
49
49
  }, style: {
50
50
  '--sd-floating-bg': typeConfig.bg,
51
51
  '--sd-floating-content': typeConfig.content,
52
- } }, h("i", { key: '49dc1d2025baea270d0886c11c10e0dda9fa09fd', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: '9a00fbbff40c7f041b5914a35d0049ef1cf090d5' })), h("div", { key: 'd6169cacc0cd979b605fcfab1f68a395d1f01238', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
52
+ } }, h("i", { key: '9502962bbd9a95f04d0b6bef1e03c0c048515090', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: 'b41486b3cecd413dd817b0a1384cfe9fb7255434' })), h("div", { key: 'ea15c6250d1b8dabc5c6ecf1b5c48674a877a3c4', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
53
53
  }
54
54
  static get is() { return "sd-tooltip"; }
55
55
  static get originalStyleUrls() {
@@ -156,7 +156,7 @@ export class SdTooltip {
156
156
  "mutable": false,
157
157
  "complexType": {
158
158
  "original": "IconName",
159
- "resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageMove\" | \"pdf\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\"",
159
+ "resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrow2Down\" | \"arrow2Left\" | \"arrow2Right\" | \"arrow2Up\" | \"arrow2UpDown\" | \"arrowDown\" | \"arrowLeft\" | \"arrowLeftEnd\" | \"arrowRight\" | \"arrowRightEnd\" | \"arrowUp\" | \"attachFile\" | \"badgeNew\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFilled\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFilled\" | \"checkOutline\" | \"clockFilled\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"etc\" | \"event\" | \"global\" | \"helpFilled\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageLine\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"notificationFilled\" | \"notificationOutline\" | \"notion\" | \"outLine\" | \"pageEdit\" | \"pageEdit2\" | \"pageMove\" | \"pdf\" | \"print\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"save\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseLine\" | \"warehouseSolid\" | \"warningFilled\" | \"warningOutline\" | \"youtube\"",
160
160
  "references": {
161
161
  "IconName": {
162
162
  "location": "global",
@@ -88,15 +88,6 @@ export const sdModal = {
88
88
  });
89
89
  return chain;
90
90
  },
91
- notice(options) {
92
- const container = getContainer();
93
- const chain = new ModalDialogChainImpl('', container);
94
- whenReady(container).then(async () => {
95
- const id = await container.openNotice(options, chain);
96
- chain._setId(id);
97
- });
98
- return chain;
99
- },
100
91
  configure(options) {
101
92
  getContainer(options);
102
93
  },
@@ -1 +1 @@
1
- export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-B1vJXa29.js";function n(n,t,e){return(n||"")+(t?" "+t:"")+(e?" "+e:"")}let t=null;function e(n,t){t&&(t.position&&n.setAttribute("position",t.position),null!=t.maxVisible&&n.setAttribute("max-visible",t.maxVisible+""),null!=t.defaultDuration&&n.setAttribute("default-duration",t.defaultDuration+""),null!=t.zIndex&&n.setAttribute("z-index",t.zIndex+""))}function o(n){return t&&document.body.contains(t)?(e(t,n),t):(t=document.createElement("sd-toast-container"),e(t,n),document.body.appendChild(t),t)}function i(n){return"function"==typeof n.create?Promise.resolve():new Promise((t=>{const e=()=>{"function"==typeof n.create?t():requestAnimationFrame(e)};requestAnimationFrame(e)}))}const u={async create(n,t,e){const{globalOptions:s,...r}=e??{},a=o(s);return await i(a),a.create({message:n,type:t,...r})},async dismiss(n){if(t)return await i(t),t.dismiss(n)},async dismissAll(){if(t)return await i(t),t.dismissAll()},configure(n){o(n)}},c="sd-modal-container";class d{modalId;okFn;cancelFn;containerRef;pendingActions=[];constructor(n,t){this.modalId=n,this.containerRef=t}onOk(n){return this.okFn=n,this}onCancel(n){return this.cancelFn=n,this}update(n){return this.runOrQueue((()=>{this.containerRef.update?.(this.modalId,n)})),this}_triggerOk(){this.okFn?.()}_triggerCancel(){this.cancelFn?.()}_setId(n){this.modalId=n;const t=[...this.pendingActions];this.pendingActions=[],t.forEach((n=>n()))}runOrQueue(n){this.modalId?n():this.pendingActions.push(n)}}let l=null;function f(n,t){t&&null!=t.zIndex&&n.style.setProperty("--sd-modal-container-z-index",t.zIndex+"")}function m(n){return function(){if("undefined"==typeof window||"undefined"==typeof document||"undefined"==typeof customElements)throw Error("[sdModal] Browser APIs are unavailable. Use `sdModal` only on the client.")}(),function(){if(!customElements.get(c))throw Error("[sdModal] `sd-modal-container` is not registered. Call `defineCustomElements(window)` before using `sdModal`.")}(),l&&document.body.contains(l)?(f(l,n),l):(l=document.createElement(c),f(l,n),document.body.appendChild(l),l)}async function h(n){if(await customElements.whenDefined(c),"function"==typeof n.open)return Promise.resolve();throw Error("[sdModal] `sd-modal-container` is registered but not ready to open dialogs.")}const w={confirm(n){const t=m(),e=new d("",t);return h(t).then((async()=>{const o=await t.open(n,e);e._setId(o)})),e},notice(n){const t=m(),e=new d("",t);return h(t).then((async()=>{const o=await t.openNotice(n,e);e._setId(o)})),e},configure(n){m(n)}};export{n as format,w as sdModal,u as sdToast}
1
+ export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-B1vJXa29.js";function t(t,n,e){return(t||"")+(n?" "+n:"")+(e?" "+e:"")}let n=null;function e(t,n){n&&(n.position&&t.setAttribute("position",n.position),null!=n.maxVisible&&t.setAttribute("max-visible",n.maxVisible+""),null!=n.defaultDuration&&t.setAttribute("default-duration",n.defaultDuration+""),null!=n.zIndex&&t.setAttribute("z-index",n.zIndex+""))}function o(t){return n&&document.body.contains(n)?(e(n,t),n):(n=document.createElement("sd-toast-container"),e(n,t),document.body.appendChild(n),n)}function i(t){return"function"==typeof t.create?Promise.resolve():new Promise((n=>{const e=()=>{"function"==typeof t.create?n():requestAnimationFrame(e)};requestAnimationFrame(e)}))}const u={async create(t,n,e){const{globalOptions:s,...r}=e??{},a=o(s);return await i(a),a.create({message:t,type:n,...r})},async dismiss(t){if(n)return await i(n),n.dismiss(t)},async dismissAll(){if(n)return await i(n),n.dismissAll()},configure(t){o(t)}},c="sd-modal-container";class d{modalId;okFn;cancelFn;containerRef;pendingActions=[];constructor(t,n){this.modalId=t,this.containerRef=n}onOk(t){return this.okFn=t,this}onCancel(t){return this.cancelFn=t,this}update(t){return this.runOrQueue((()=>{this.containerRef.update?.(this.modalId,t)})),this}_triggerOk(){this.okFn?.()}_triggerCancel(){this.cancelFn?.()}_setId(t){this.modalId=t;const n=[...this.pendingActions];this.pendingActions=[],n.forEach((t=>t()))}runOrQueue(t){this.modalId?t():this.pendingActions.push(t)}}let l=null;function f(t,n){n&&null!=n.zIndex&&t.style.setProperty("--sd-modal-container-z-index",n.zIndex+"")}function m(t){return function(){if("undefined"==typeof window||"undefined"==typeof document||"undefined"==typeof customElements)throw Error("[sdModal] Browser APIs are unavailable. Use `sdModal` only on the client.")}(),function(){if(!customElements.get(c))throw Error("[sdModal] `sd-modal-container` is not registered. Call `defineCustomElements(window)` before using `sdModal`.")}(),l&&document.body.contains(l)?(f(l,t),l):(l=document.createElement(c),f(l,t),document.body.appendChild(l),l)}const h={confirm(t){const n=m(),e=new d("",n);return async function(t){if(await customElements.whenDefined(c),"function"==typeof t.open)return Promise.resolve();throw Error("[sdModal] `sd-modal-container` is registered but not ready to open dialogs.")}(n).then((async()=>{const o=await n.open(t,e);e._setId(o)})),e},configure(t){m(t)}};export{t as format,h as sdModal,u as sdToast}
@@ -1 +1 @@
1
- import{p as e,H as s,c as t,h as o,t as i}from"./p-B1vJXa29.js";import{d as c}from"./p-dvfewOFM.js";import{d}from"./p-CsS4T0El.js";const n=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.optionClick=t(this,"optionClick")}get el(){return this}option;index;isSelected=!1;isFocused=!1;optionStyle;disabled=!1;useCheckbox=!1;isHovered=!1;async sdIsDisabled(){return!!this.option.disabled}optionClick;handleClick=e=>{e.stopPropagation(),this.option.disabled||this.disabled||this.optionClick.emit({option:this.option,index:this.index,event:e})};render(){return o("div",{key:"e28519019fa39af328fe7f5a25f18bb227e4d622",class:{"sd-select__option":!0,"sd-select__option--selected":this.isSelected,"sd-select__option--disabled":!!this.option.disabled,"sd-select__option--focused":this.isFocused,"sd-select__option--use-checkbox":this.useCheckbox},onMouseEnter:()=>this.isHovered=!0,onMouseLeave:()=>this.isHovered=!1,style:this.optionStyle,"data-index":this.index,onClick:this.handleClick},this.useCheckbox?o("div",{class:"sd-select__option__checkbox-wrapper"},o("sd-checkbox",{value:this.isSelected,disabled:this.option.disabled,onClick:e=>{e.preventDefault(),this.handleClick(e)}}),o("span",{class:"sd-select__option-label"},this.option.label)):this.option.label)}static get style(){return"sd-select-option{display:block;height:fit-content;line-height:0}sd-select-option .sd-select__option{display:flex;padding:4px 12px;font-size:12px;line-height:20px;cursor:pointer}sd-select-option .sd-select__option__checkbox-wrapper{display:flex;width:100%;column-gap:8px;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}sd-select-option .sd-select__option--focused{background-color:#E6F1FF}sd-select-option .sd-select__option--selected:not(:hover):not(.sd-select__option--use-checkbox),sd-select-option .sd-select__option--focused:not(:hover):not(.sd-select__option--use-checkbox){color:#0075FF;font-weight:700}sd-select-option .sd-select__option--disabled{color:#AAAAAA;cursor:not-allowed}sd-select-option .sd-select__option:hover:not(.sd-select__option--disabled){background-color:#0075FF;color:white}"}},[512,"sd-select-option",{option:[16],index:[2],isSelected:[4,"is-selected"],isFocused:[4,"is-focused"],optionStyle:[16],disabled:[4],useCheckbox:[4,"use-checkbox"],isHovered:[32],sdIsDisabled:[64]}]);function l(){"undefined"!=typeof customElements&&["sd-select-option","sd-checkbox","sd-icon"].forEach((e=>{switch(e){case"sd-select-option":customElements.get(i(e))||customElements.define(i(e),n);break;case"sd-checkbox":customElements.get(i(e))||c();break;case"sd-icon":customElements.get(i(e))||d()}}))}export{n as S,l as d}
1
+ import{p as e,H as s,c as t,h as o,t as i}from"./p-B1vJXa29.js";import{d as c}from"./p-DgDoP1wQ.js";import{d}from"./p-C7dgr7sG.js";const n=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.optionClick=t(this,"optionClick")}get el(){return this}option;index;isSelected=!1;isFocused=!1;optionStyle;disabled=!1;useCheckbox=!1;isHovered=!1;async sdIsDisabled(){return!!this.option.disabled}optionClick;handleClick=e=>{e.stopPropagation(),this.option.disabled||this.disabled||this.optionClick.emit({option:this.option,index:this.index,event:e})};render(){return o("div",{key:"2e04258ee26b376794a5ebe76503875e48dd3ff2",class:{"sd-select__option":!0,"sd-select__option--selected":this.isSelected,"sd-select__option--disabled":!!this.option.disabled,"sd-select__option--focused":this.isFocused,"sd-select__option--use-checkbox":this.useCheckbox},onMouseEnter:()=>this.isHovered=!0,onMouseLeave:()=>this.isHovered=!1,style:this.optionStyle,"data-index":this.index,onClick:this.handleClick},this.useCheckbox?o("div",{class:"sd-select__option__checkbox-wrapper"},o("sd-checkbox",{value:this.isSelected,disabled:this.option.disabled,onClick:e=>{e.preventDefault(),this.handleClick(e)}}),o("span",{class:"sd-select__option-label"},this.option.label)):this.option.label)}static get style(){return"sd-select-option{display:block;height:fit-content;line-height:0}sd-select-option .sd-select__option{display:flex;padding:4px 12px;font-size:12px;line-height:20px;cursor:pointer}sd-select-option .sd-select__option__checkbox-wrapper{display:flex;width:100%;column-gap:8px;align-items:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}sd-select-option .sd-select__option--focused{background-color:#E6F1FF}sd-select-option .sd-select__option--selected:not(:hover):not(.sd-select__option--use-checkbox),sd-select-option .sd-select__option--focused:not(:hover):not(.sd-select__option--use-checkbox){color:#0075FF;font-weight:700}sd-select-option .sd-select__option--disabled{color:#AAAAAA;cursor:not-allowed}sd-select-option .sd-select__option:hover:not(.sd-select__option--disabled){background-color:#0075FF;color:white}"}},[512,"sd-select-option",{option:[16],index:[2],isSelected:[4,"is-selected"],isFocused:[4,"is-focused"],optionStyle:[16],disabled:[4],useCheckbox:[4,"use-checkbox"],isHovered:[32],sdIsDisabled:[64]}]);function l(){"undefined"!=typeof customElements&&["sd-select-option","sd-checkbox","sd-icon"].forEach((e=>{switch(e){case"sd-select-option":customElements.get(i(e))||customElements.define(i(e),n);break;case"sd-checkbox":customElements.get(i(e))||c();break;case"sd-icon":customElements.get(i(e))||d()}}))}export{n as S,l as d}
@@ -1 +1 @@
1
- import{p as e,H as s,h as t,F as n,t as r}from"./p-B1vJXa29.js";import{r as a}from"./p-CquSJNHV.js";const o=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost()}color="#0075ff";get resolvedColor(){return a(this.color)}render(){return t(n,{key:"463ab22264fafc013af7a602066eb8ebed10ac05"},t("svg",{key:"6b90c0c3448c309813038fb8281b4ed73b1145d3",class:"sd-loading-spinner",width:"72px",height:"72px",viewBox:"25 25 50 50",style:{color:this.resolvedColor}},t("circle",{key:"aa553d712b98c3316c98b7e52b955b7185eaee20",class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10"})))}static get style(){return"sd-loading-spinner{display:inline-flex;width:fit-content;height:fit-content;align-items:center}sd-loading-spinner .sd-loading-spinner{animation:sd-loading-spin 2s linear infinite;transform-origin:center center}sd-loading-spinner .sd-loading-spinner .path{animation:sd-loading-spin-path 1.5s ease-in-out infinite}@keyframes sd-loading-spin{0%{transform:rotate3d(0, 0, 1, 0deg)}25%{transform:rotate3d(0, 0, 1, 90deg)}50%{transform:rotate3d(0, 0, 1, 180deg)}75%{transform:rotate3d(0, 0, 1, 270deg)}100%{transform:rotate3d(0, 0, 1, 359deg)}}@keyframes sd-loading-spin-path{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}"}},[512,"sd-loading-spinner",{color:[1]}]);function i(){"undefined"!=typeof customElements&&["sd-loading-spinner"].forEach((e=>{"sd-loading-spinner"===e&&(customElements.get(r(e))||customElements.define(r(e),o))}))}export{o as S,i as d}
1
+ import{p as e,H as s,h as t,F as n,t as r}from"./p-B1vJXa29.js";import{r as a}from"./p-CquSJNHV.js";const o=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost()}color="#0075ff";get resolvedColor(){return a(this.color)}render(){return t(n,{key:"debc93482bd2c47f317457fd97ee2bf40b6f3e59"},t("svg",{key:"915a8e743e9286e32c81b1bf49714da01ba9a1c3",class:"sd-loading-spinner",width:"72px",height:"72px",viewBox:"25 25 50 50",style:{color:this.resolvedColor}},t("circle",{key:"04abf57521d77d5492a0e5553a7f64017fe0d1a3",class:"path",cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":"5","stroke-miterlimit":"10"})))}static get style(){return"sd-loading-spinner{display:inline-flex;width:fit-content;height:fit-content;align-items:center}sd-loading-spinner .sd-loading-spinner{animation:sd-loading-spin 2s linear infinite;transform-origin:center center}sd-loading-spinner .sd-loading-spinner .path{animation:sd-loading-spin-path 1.5s ease-in-out infinite}@keyframes sd-loading-spin{0%{transform:rotate3d(0, 0, 1, 0deg)}25%{transform:rotate3d(0, 0, 1, 90deg)}50%{transform:rotate3d(0, 0, 1, 180deg)}75%{transform:rotate3d(0, 0, 1, 270deg)}100%{transform:rotate3d(0, 0, 1, 359deg)}}@keyframes sd-loading-spin-path{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35px}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124px}}"}},[512,"sd-loading-spinner",{color:[1]}]);function i(){"undefined"!=typeof customElements&&["sd-loading-spinner"].forEach((e=>{"sd-loading-spinner"===e&&(customElements.get(r(e))||customElements.define(r(e),o))}))}export{o as S,i as d}
@@ -1 +1 @@
1
- import{p as t,H as o,c as n,h as s,t as i}from"./p-B1vJXa29.js";import{b as d}from"./p-KOzU1j2w.js";import{r as e}from"./p-CquSJNHV.js";import{d as a}from"./p-CsS4T0El.js";const b={xs:Number(d.size.xs.icon),sm:Number(d.size.sm.icon),md:Number(d.size.md.icon),lg:Number(d.size.lg.icon)},r=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=n(this,"sdClick")}get el(){return this}variant="primary";size="sm";color="#025497";label="";disabled=!1;type="button";icon;iconColor;iconSize;iconRight;noHover=!1;sdClass="";click;handleClick=t=>{this.disabled||this.click.emit(t)};getButtonClasses(){const t=["sd-button"];return t.push(`sd-button--${this.variant}`),t.push(`sd-button--${this.size}`),t.push(`sd-button--color-${this.color}`),this.disabled&&t.push("sd-button--disabled"),this.label&&t.push("sd-button--has-label"),this.label||!this.icon&&!this.iconRight||t.push("sd-button--icon-only"),this.noHover&&t.push("sd-button--no-hover"),t.join(" ")}render(){const t=this.getButtonClasses(),o=e(this.color);return s("button",{key:"b1436c0cdf0267446df9cd022df68a8a6c349ca5",class:`${t} ${this.sdClass}`,type:this.type,disabled:this.disabled,style:{"--button-color":o},onClick:this.handleClick},s("div",{key:"70f9450410dbc7b2603679cda397bc8f211928b1",class:"sd-button__content"},this.icon&&s("sd-icon",{key:"ab09632262d175e8dc9a31df4e673470d128b274",class:"sd-button__icon sd-button__icon--left",name:this.icon,size:this.iconSize??b[this.size],color:this.iconColor??("primary"===this.variant?"#fff":o)}),this.label&&s("div",{key:"c33e565c9108996ab4a3d84b5beaf1d8acbd5700",class:"sd-button__label"},this.label),this.iconRight&&s("sd-icon",{key:"112a9649b77e7eb67198d0bf7bf407e9f7f71cd5",class:"sd-button__icon sd-button__icon--right",name:this.iconRight,size:b[this.size],color:"primary"===this.variant?"#fff":o})))}static get style(){return'sd-button{display:inline-flex;width:fit-content;height:fit-content}.sd-button{--sd-button-height:34px;--sd-button-padding-x:20px;--sd-button-gap:8px;--sd-button-font-family:inherit;--sd-button-font-size:16px;--sd-button-font-weight:500;--sd-button-text-decoration:none;--sd-button-label-min-width:auto;--sd-button-icon-only-size:var(--sd-button-height);text-decoration:none;cursor:pointer;border-radius:var(--sd-button-radius-default, 4px);transition:all 0.2s ease-in-out;position:relative;overflow:hidden;white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:none;padding:0 var(--sd-button-padding-x);min-width:var(--sd-button-min-width, auto);min-height:var(--sd-button-height);font-family:var(--sd-button-font-family);font-size:var(--sd-button-font-size);font-weight:var(--sd-button-font-weight);text-decoration:var(--sd-button-text-decoration)}.sd-button--xs{--sd-button-height:var(--sd-button-xs-height, 24px);--sd-button-padding-x:var(--sd-button-xs-padding-x, 8px);--sd-button-gap:var(--sd-button-xs-gap, 4px);--sd-button-font-family:var(--sd-button-xs-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-xs-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-xs-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-xs-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-xs-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-xs-width, var(--sd-button-height));line-height:20px}.sd-button--sm{--sd-button-height:var(--sd-button-sm-height, 28px);--sd-button-padding-x:var(--sd-button-sm-padding-x, 12px);--sd-button-gap:var(--sd-button-sm-gap, 6px);--sd-button-font-family:var(--sd-button-sm-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-sm-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-sm-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-sm-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-sm-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-sm-width, var(--sd-button-height));line-height:20px}.sd-button--md{--sd-button-height:var(--sd-button-md-height, 34px);--sd-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-button-gap:var(--sd-button-md-gap, 8px);--sd-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-md-typography-font-size, 16px);--sd-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-md-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-md-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-md-width, var(--sd-button-height));line-height:26px}.sd-button--lg{--sd-button-height:var(--sd-button-lg-height, 62px);--sd-button-padding-x:var(--sd-button-lg-padding-x, 28px);--sd-button-gap:var(--sd-button-lg-gap, 12px);--sd-button-font-family:var(--sd-button-lg-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-lg-typography-font-size, 18px);--sd-button-font-weight:var(--sd-button-lg-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-lg-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-lg-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-lg-width, var(--sd-button-height));line-height:30px}.sd-button--has-label{--sd-button-min-width:var(--sd-button-label-min-width, auto)}.sd-button--primary{background-color:var(--button-color);color:white;transition:filter 0.2s ease}.sd-button--primary::before{content:"";position:absolute;inset:0;background:#000000;opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--primary:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.25}.sd-button--outline{background:white;border:var(--sd-button-border-width-default, 1px) solid var(--button-color);color:var(--button-color)}.sd-button--outline::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--outline:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--outline .sd-button__content{position:relative;z-index:1}.sd-button--ghost{background-color:transparent;color:var(--button-color);border-color:transparent}.sd-button--ghost::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--ghost:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--ghost .sd-button__content{position:relative;z-index:1}.sd-button--disabled{border:var(--sd-button-border-width-default, 1px) solid var(--sd-button-border-disabled, #CCCCCC);background:var(--sd-button-bg-disabled, #E1E1E1);color:var(--sd-button-content-disabled, #888888);cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:var(--sd-button-icon-only-size, var(--sd-button-height));min-width:var(--sd-button-icon-only-size, var(--sd-button-height));height:var(--sd-button-icon-only-size, var(--sd-button-height))}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-button-gap);z-index:1;font-weight:inherit}'}},[512,"sd-button",{variant:[1],size:[1],color:[1],label:[1],disabled:[4],type:[1],icon:[1],iconColor:[1,"icon-color"],iconSize:[2,"icon-size"],iconRight:[1,"icon-right"],noHover:[4,"no-hover"],sdClass:[1,"sd-class"]}]);function u(){"undefined"!=typeof customElements&&["sd-button","sd-icon"].forEach((t=>{switch(t){case"sd-button":customElements.get(i(t))||customElements.define(i(t),r);break;case"sd-icon":customElements.get(i(t))||a()}}))}export{r as S,u as d}
1
+ import{p as t,H as o,c as n,h as s,t as i}from"./p-B1vJXa29.js";import{b as d}from"./p-KOzU1j2w.js";import{r as e}from"./p-CquSJNHV.js";import{d as a}from"./p-C7dgr7sG.js";const b={xs:Number(d.size.xs.icon),sm:Number(d.size.sm.icon),md:Number(d.size.md.icon),lg:Number(d.size.lg.icon)},r=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.click=n(this,"sdClick")}get el(){return this}variant="primary";size="sm";color="#025497";label="";disabled=!1;type="button";icon;iconColor;iconSize;iconRight;noHover=!1;sdClass="";click;handleClick=t=>{this.disabled||this.click.emit(t)};getButtonClasses(){const t=["sd-button"];return t.push(`sd-button--${this.variant}`),t.push(`sd-button--${this.size}`),t.push(`sd-button--color-${this.color}`),this.disabled&&t.push("sd-button--disabled"),this.label&&t.push("sd-button--has-label"),this.label||!this.icon&&!this.iconRight||t.push("sd-button--icon-only"),this.noHover&&t.push("sd-button--no-hover"),t.join(" ")}render(){const t=this.getButtonClasses(),o=e(this.color);return s("button",{key:"b1436c0cdf0267446df9cd022df68a8a6c349ca5",class:`${t} ${this.sdClass}`,type:this.type,disabled:this.disabled,style:{"--button-color":o},onClick:this.handleClick},s("div",{key:"70f9450410dbc7b2603679cda397bc8f211928b1",class:"sd-button__content"},this.icon&&s("sd-icon",{key:"ab09632262d175e8dc9a31df4e673470d128b274",class:"sd-button__icon sd-button__icon--left",name:this.icon,size:this.iconSize??b[this.size],color:this.iconColor??("primary"===this.variant?"#fff":o)}),this.label&&s("div",{key:"c33e565c9108996ab4a3d84b5beaf1d8acbd5700",class:"sd-button__label"},this.label),this.iconRight&&s("sd-icon",{key:"112a9649b77e7eb67198d0bf7bf407e9f7f71cd5",class:"sd-button__icon sd-button__icon--right",name:this.iconRight,size:b[this.size],color:"primary"===this.variant?"#fff":o})))}static get style(){return'sd-button{display:inline-flex;width:fit-content;height:fit-content}.sd-button{--sd-button-height:34px;--sd-button-padding-x:20px;--sd-button-gap:8px;--sd-button-font-family:inherit;--sd-button-font-size:16px;--sd-button-font-weight:500;--sd-button-text-decoration:none;--sd-button-label-min-width:auto;--sd-button-icon-only-size:var(--sd-button-height);text-decoration:none;cursor:pointer;border-radius:var(--sd-button-radius-default, 4px);transition:all 0.2s ease-in-out;position:relative;overflow:hidden;white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:none;padding:0 var(--sd-button-padding-x);min-width:var(--sd-button-min-width, auto);min-height:var(--sd-button-height);font-family:var(--sd-button-font-family);font-size:var(--sd-button-font-size);font-weight:var(--sd-button-font-weight);text-decoration:var(--sd-button-text-decoration)}.sd-button--xs{--sd-button-height:var(--sd-button-xs-height, 24px);--sd-button-padding-x:var(--sd-button-xs-padding-x, 8px);--sd-button-gap:var(--sd-button-xs-gap, 4px);--sd-button-font-family:var(--sd-button-xs-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-xs-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-xs-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-xs-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-xs-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-xs-width, var(--sd-button-height));line-height:20px}.sd-button--sm{--sd-button-height:var(--sd-button-sm-height, 28px);--sd-button-padding-x:var(--sd-button-sm-padding-x, 12px);--sd-button-gap:var(--sd-button-sm-gap, 6px);--sd-button-font-family:var(--sd-button-sm-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-sm-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-sm-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-sm-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-sm-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-sm-width, var(--sd-button-height));line-height:20px}.sd-button--md{--sd-button-height:var(--sd-button-md-height, 34px);--sd-button-padding-x:var(--sd-button-md-padding-x, 20px);--sd-button-gap:var(--sd-button-md-gap, 8px);--sd-button-font-family:var(--sd-button-md-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-md-typography-font-size, 16px);--sd-button-font-weight:var(--sd-button-md-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-md-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-md-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-md-width, var(--sd-button-height));line-height:26px}.sd-button--lg{--sd-button-height:var(--sd-button-lg-height, 62px);--sd-button-padding-x:var(--sd-button-lg-padding-x, 28px);--sd-button-gap:var(--sd-button-lg-gap, 12px);--sd-button-font-family:var(--sd-button-lg-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-lg-typography-font-size, 18px);--sd-button-font-weight:var(--sd-button-lg-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-lg-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-lg-min-width, auto);--sd-button-icon-only-size:var(--sd-button-icon-only-lg-width, var(--sd-button-height));line-height:30px}.sd-button--has-label{--sd-button-min-width:var(--sd-button-label-min-width, auto)}.sd-button--primary{background-color:var(--button-color);color:white;transition:filter 0.2s ease}.sd-button--primary::before{content:"";position:absolute;inset:0;background:#000000;opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--primary:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.25}.sd-button--outline{background:white;border:var(--sd-button-border-width-default, 1px) solid var(--button-color);color:var(--button-color)}.sd-button--outline::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--outline:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--outline .sd-button__content{position:relative;z-index:1}.sd-button--ghost{background-color:transparent;color:var(--button-color);border-color:transparent}.sd-button--ghost::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--ghost:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--ghost .sd-button__content{position:relative;z-index:1}.sd-button--disabled{border:var(--sd-button-border-width-default, 1px) solid var(--sd-button-border-disabled, #CCCCCC);background:var(--sd-button-bg-disabled, #E1E1E1);color:var(--sd-button-content-disabled, #888888);cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:var(--sd-button-icon-only-size, var(--sd-button-height));min-width:var(--sd-button-icon-only-size, var(--sd-button-height));height:var(--sd-button-icon-only-size, var(--sd-button-height))}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-button-gap);z-index:1;font-weight:inherit}'}},[512,"sd-button",{variant:[1],size:[1],color:[1],label:[1],disabled:[4],type:[1],icon:[1],iconColor:[1,"icon-color"],iconSize:[2,"icon-size"],iconRight:[1,"icon-right"],noHover:[4,"no-hover"],sdClass:[1,"sd-class"]}]);function u(){"undefined"!=typeof customElements&&["sd-button","sd-icon"].forEach((t=>{switch(t){case"sd-button":customElements.get(i(t))||customElements.define(i(t),r);break;case"sd-icon":customElements.get(i(t))||a()}}))}export{r as S,u as d}
@@ -1 +1 @@
1
- var e={default:"#888888",disabled:"#BBBBBB"},t={fontWeight:"400",fontSize:"12",lineHeight:"20"},d={default:"#222222",disabled:"#888888"},i={depth1:"12",depth2:"20",depth3:"28"},a={fontWeight:"400",fontSize:"12",lineHeight:"20"},n={default:"#FFFFFF",hover:"#0075FF"},o={default:"#222222",hover:"#FFFFFF",disabled:"#888888"},h={bg:{default:"#EFF6FF"},border:{color:"#E1E1E1",width:"1"}};const l={paddingX:"12",gap:"8"},f={fontSize:t.fontSize,lineHeight:t.lineHeight,fontWeight:t.fontWeight},s={icon:{default:e.default,disabled:e.disabled},text:{default:d.default,disabled:d.disabled}},g={paddingY:"4",paddingRight:"12",paddingLeft:{depth1:i.depth1,depth2:i.depth2,depth3:i.depth3},gap:"8"},r={fontSize:a.fontSize,lineHeight:a.lineHeight,fontWeight:a.fontWeight},F={bg:{default:n.default,hover:n.hover},content:{default:o.default,hover:o.hover,disabled:o.disabled},depth1:{bg:h.bg.default,border:h.border.color,borderWidth:h.border.width},depth2:{bg:{middle:{bg:"#F6F6F6"}}.middle.bg}},p={radius:"4",paddingBottom:"4"},b=11,u=1e3,c="표시할 항목이 없습니다.";function B(e){return e.reduce(((e,t)=>t.children?e+B(t.children):e+1),0)}function v(e,t){const d=t.toLowerCase();return e.reduce(((e,i)=>{if(i.label.toLowerCase().includes(d))e.push({...i,children:i.children?[]:void 0});else if(i.children){const d=v(i.children,t);d.length>0&&e.push({...i,children:d})}return e}),[])}export{c as E,g as L,u as S,F as a,r as b,B as c,b as d,p as e,v as f,s as g,f as h,l as i}
1
+ var e={default:"#888888",disabled:"#BBBBBB"},t={fontWeight:"400",fontSize:"12",lineHeight:"20"},d={default:"#222222",disabled:"#888888"},i={depth1:"12",depth2:"20",depth3:"28"},a={fontWeight:"400",fontSize:"12",lineHeight:"20"},n={default:"#FFFFFF",hover:"#0075FF"},o={default:"#222222",hover:"#FFFFFF",disabled:"#888888"},h={bg:{default:"#EFF6FF"},border:{color:"#E1E1E1",width:"1"}};const l={paddingX:"12",gap:"8"},s={fontSize:t.fontSize,lineHeight:t.lineHeight,fontWeight:t.fontWeight},f={icon:{default:e.default,disabled:e.disabled},text:{default:d.default,disabled:d.disabled}},g={paddingY:"4",paddingRight:"12",paddingLeft:{depth1:i.depth1,depth2:i.depth2,depth3:i.depth3},gap:"8"},r={fontSize:a.fontSize,lineHeight:a.lineHeight,fontWeight:a.fontWeight},F={bg:{default:n.default,hover:n.hover},content:{default:o.default,hover:o.hover,disabled:o.disabled},depth1:{bg:h.bg.default,border:h.border.color,borderWidth:h.border.width},depth2:{bg:{middle:{bg:"#F6F6F6"}}.middle.bg}},p={radius:"4",paddingBottom:"4"},b=11,u=1e3,c="표시할 항목이 없습니다.";function B(e){return e.reduce(((e,t)=>t.children?e+B(t.children):e+1),0)}function v(e,t){const d=t.toLowerCase();return e.reduce(((e,i)=>{const a=i.label.toLowerCase().includes(d);if(i.children){const d=v(i.children,t);d.length>0?e.push({...i,children:d}):a&&e.push({...i,children:[]})}else a&&e.push({...i});return e}),[])}export{c as E,g as L,u as S,F as a,r as b,B as c,b as d,p as e,v as f,f as g,s as h,l as i}
@@ -1 +1 @@
1
- import{p as t,H as n,c as e,h as o,t as i}from"./p-B1vJXa29.js";const s=t(class t extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=e(this,"sdClose")}get el(){return this}to="body";parentRef=null;offset=[0,0];zIndex=9999;placement="bottom";open=!1;close;container;wrapper;rafId;isInsideClick=!1;resizeObserver;mutationObserver;static ARROW_SIZE=11.2;componentDidLoad(){this.container=this.resolveContainer(),this.createWrapper(),this.moveSlotContent(),requestAnimationFrame((()=>{this.updatePosition(),this.wrapper&&(this.wrapper.style.visibility="visible")})),this.observeParent()}componentDidRender(){this.wrapper&&(this.open?(this.wrapper.style.display="block",requestAnimationFrame((()=>{this.updatePosition(),this.wrapper&&(this.wrapper.style.visibility="visible")}))):(this.wrapper.style.display="none",this.wrapper.style.visibility="hidden"))}disconnectedCallback(){this.rafId&&cancelAnimationFrame(this.rafId),this.unobserveParent(),this.wrapper?.remove()}resolveContainer(){const t="string"==typeof this.to?document.querySelector(this.to):this.to;return t instanceof n?t:document.body}createWrapper(){this.wrapper=document.createElement("div"),Object.assign(this.wrapper.style,{position:"absolute",zIndex:this.zIndex.toString(),transition:"opacity 0.4s",top:"-9999px",left:"-9999px"}),this.container.appendChild(this.wrapper)}moveSlotContent(){this.wrapper&&Array.from(this.el.childNodes).filter((t=>t.nodeType!==Node.COMMENT_NODE)).forEach((t=>this.wrapper.appendChild(t)))}updatePosition(){this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=requestAnimationFrame((()=>{if(!this.parentRef||!this.wrapper)return;const n=this.parentRef.getBoundingClientRect();if(!n.width&&!n.height)return;const[e,o]=this.offset,i=t.ARROW_SIZE;let s=0,a=0;switch(this.placement){case"top":s=n.top+window.scrollY-this.wrapper.offsetHeight+o-i,a=n.left+window.scrollX+n.width/2-this.wrapper.offsetWidth/2+e;break;case"bottom":s=n.bottom+window.scrollY+o+i,a=n.left+window.scrollX+n.width/2-this.wrapper.offsetWidth/2+e;break;case"left":s=n.top+window.scrollY+n.height/2-this.wrapper.offsetHeight/2+o,a=n.left+window.scrollX-this.wrapper.offsetWidth-e-i;break;case"right":s=n.top+window.scrollY+n.height/2-this.wrapper.offsetHeight/2+o,a=n.right+window.scrollX+e+i}Object.assign(this.wrapper.style,{top:`${s}px`,left:`${a}px`})}))}observeParent(){this.parentRef&&(this.resizeObserver=new ResizeObserver((()=>this.updatePosition())),this.resizeObserver.observe(this.parentRef),this.mutationObserver=new MutationObserver((()=>this.updatePosition())),this.mutationObserver.observe(document.body,{childList:!0,subtree:!0}))}unobserveParent(){this.resizeObserver?.disconnect(),this.mutationObserver?.disconnect()}handleMouseDown(t){this.isInsideClick=!!(this.wrapper&&this.wrapper.contains(t.target)||this.parentRef&&this.parentRef.contains(t.target))}handleWindowClick(t){this.isInsideClick?this.isInsideClick=!1:this.wrapper?.contains(t.target)||this.close.emit()}render(){return o("slot",{key:"a49df03bd324a4d37ac077881c0df71603cd3c8f"})}static get style(){return".sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF)}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center}.sd-floating-menu__content .sd-floating-menu__buttons--1{justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--2{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px;padding:0;background:none;border:none;cursor:pointer}"}},[772,"sd-floating-portal",{to:[1],parentRef:[16],offset:[16],zIndex:[2,"z-index"],placement:[1],open:[4]},[[9,"scroll","updatePosition"],[9,"resize","updatePosition"],[9,"mousedown","handleMouseDown"],[8,"click","handleWindowClick"]]]);function a(){"undefined"!=typeof customElements&&["sd-floating-portal"].forEach((t=>{"sd-floating-portal"===t&&(customElements.get(i(t))||customElements.define(i(t),s))}))}export{s as S,a as d}
1
+ import{p as t,H as n,c as e,h as o,t as i}from"./p-B1vJXa29.js";const s=t(class t extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.close=e(this,"sdClose")}get el(){return this}to="body";parentRef=null;offset=[0,0];zIndex=9999;placement="bottom";open=!1;close;container;wrapper;rafId;isInsideClick=!1;resizeObserver;mutationObserver;static ARROW_SIZE=11.2;componentDidLoad(){this.container=this.resolveContainer(),this.createWrapper(),this.moveSlotContent(),requestAnimationFrame((()=>{this.updatePosition(),this.wrapper&&(this.wrapper.style.visibility="visible")})),this.observeParent()}componentDidRender(){this.wrapper&&(this.open?(this.wrapper.style.display="block",requestAnimationFrame((()=>{this.updatePosition(),this.wrapper&&(this.wrapper.style.visibility="visible")}))):(this.wrapper.style.display="none",this.wrapper.style.visibility="hidden"))}disconnectedCallback(){this.rafId&&cancelAnimationFrame(this.rafId),this.unobserveParent(),this.wrapper?.remove()}resolveContainer(){const t="string"==typeof this.to?document.querySelector(this.to):this.to;return t instanceof n?t:document.body}createWrapper(){this.wrapper=document.createElement("div"),Object.assign(this.wrapper.style,{position:"absolute",zIndex:this.zIndex.toString(),transition:"opacity 0.4s",top:"-9999px",left:"-9999px"}),this.container.appendChild(this.wrapper)}moveSlotContent(){this.wrapper&&Array.from(this.el.childNodes).filter((t=>t.nodeType!==Node.COMMENT_NODE)).forEach((t=>this.wrapper.appendChild(t)))}updatePosition(){this.rafId&&cancelAnimationFrame(this.rafId),this.rafId=requestAnimationFrame((()=>{if(!this.parentRef||!this.wrapper)return;const n=this.parentRef.getBoundingClientRect();if(!n.width&&!n.height)return;const[e,o]=this.offset,i=t.ARROW_SIZE;let s=0,a=0;switch(this.placement){case"top":s=n.top+window.scrollY-this.wrapper.offsetHeight+o-i,a=n.left+window.scrollX+n.width/2-this.wrapper.offsetWidth/2+e;break;case"bottom":s=n.bottom+window.scrollY+o+i,a=n.left+window.scrollX+n.width/2-this.wrapper.offsetWidth/2+e;break;case"left":s=n.top+window.scrollY+n.height/2-this.wrapper.offsetHeight/2+o,a=n.left+window.scrollX-this.wrapper.offsetWidth-e-i;break;case"right":s=n.top+window.scrollY+n.height/2-this.wrapper.offsetHeight/2+o,a=n.right+window.scrollX+e+i}Object.assign(this.wrapper.style,{top:`${s}px`,left:`${a}px`})}))}observeParent(){this.parentRef&&(this.resizeObserver=new ResizeObserver((()=>this.updatePosition())),this.resizeObserver.observe(this.parentRef),this.mutationObserver=new MutationObserver((()=>this.updatePosition())),this.mutationObserver.observe(document.body,{childList:!0,subtree:!0}))}unobserveParent(){this.resizeObserver?.disconnect(),this.mutationObserver?.disconnect()}handleMouseDown(t){this.isInsideClick=!!(this.wrapper&&this.wrapper.contains(t.target)||this.parentRef&&this.parentRef.contains(t.target))}handleWindowClick(t){this.isInsideClick?this.isInsideClick=!1:this.wrapper?.contains(t.target)||this.close.emit()}render(){return o("slot",{key:"d3ee1daa4b0009285df341cc1d8b892fb2a2fed6"})}static get style(){return".sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF)}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center}.sd-floating-menu__content .sd-floating-menu__buttons--1{justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--2{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px;padding:0;background:none;border:none;cursor:pointer}"}},[772,"sd-floating-portal",{to:[1],parentRef:[16],offset:[16],zIndex:[2,"z-index"],placement:[1],open:[4]},[[9,"scroll","updatePosition"],[9,"resize","updatePosition"],[9,"mousedown","handleMouseDown"],[8,"click","handleWindowClick"]]]);function a(){"undefined"!=typeof customElements&&["sd-floating-portal"].forEach((t=>{"sd-floating-portal"===t&&(customElements.get(i(t))||customElements.define(i(t),s))}))}export{s as S,a as d}
@@ -1 +1 @@
1
- import{p as e,H as a,c as s,h as d,t as n}from"./p-B1vJXa29.js";import{u as t,t as c}from"./p-DTrMR0rx.js";import{r}from"./p-CquSJNHV.js";import{d as l}from"./p-CxJY5DLb.js";import{d as i}from"./p-CsS4T0El.js";const o=["brilliantblue_75","red_60","green_65","orange_60","steelblue_65","yellow_45","oceanblue_65","olive_55"],h=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.select=s(this,"sdSelect"),this.viewChange=s(this,"sdViewChange")}value=null;selectable;events;eventColors;currentYear;currentMonth;eventsRevision=0;select;viewChange;dateUtil=t();componentWillLoad(){this.initCalendar()}handleValueChange(){this.initCalendar()}handleEventsChange(){this.eventsRevision=this.eventsRevision+1}initCalendar(){const e=this.value||c,[a,s]=e.split("-").map(Number);this.currentYear=a,this.currentMonth=s}get calendar(){return this.dateUtil.createCalendar(this.currentYear,this.currentMonth)}handleUpdateMonth(e){const{newYear:a,newMonth:s}=this.dateUtil.calculateYearMonth(this.currentYear,this.currentMonth,e);this.currentYear=a,this.currentMonth=s,this.viewChange.emit({year:a,month:s})}handleDateClick(e){if(!e)return;const a=this.dateUtil.formatDate(this.currentYear,this.currentMonth,e);this.value=a,this.select.emit(a)}isDisabledDate(e){if(!this.selectable)return!1;const[a,s]=this.selectable;return a&&s?e<a||e>s:a?e<a:!!s&&e>s}getEventColor(e){if(this.eventColors?.[e])return r(this.eventColors[e]);const a=this.getAllEventNames().indexOf(e);return r(o[a%o.length])}getAllEventNames(){const e=new Set;if(this.eventColors)for(const a of Object.keys(this.eventColors))e.add(a);if(this.events)for(const a of Object.values(this.events))for(const s of a)e.add(s);return Array.from(e)}getEventsForDate(e){return this.events?.[e]??[]}render(){const e=this.getAllEventNames();return d("div",{key:"149ca9ae588a7bd2d70ecf1bf13cc639c99f7da9",class:"sd-calendar"},d("div",{key:"65f58d53fbaf35cee16007bad0b5e56dd208393e",class:"sd-calendar__header"},d("div",{key:"76709fd094edaece5ede720a983d1103801ba76d",class:"year-nav"},d("button",{key:"6d46cfa4cb1d12507ba7570cb6c0bb88bcba3402",type:"button",name:"prev-year",title:"Previous Year",onClick:()=>{this.currentYear=this.currentYear-1,this.viewChange.emit({year:this.currentYear,month:this.currentMonth})}},d("sd-icon",{key:"1319ec1fa0f2533a5d02853cb7638b1f1c10e050",name:"arrowLeft",size:"12",color:"grey_45"})),d("span",{key:"678b705cd95dc499975e071f1607f26bdd50c36d",class:"year-nav__current"},this.currentYear),d("button",{key:"1f5c3a0cd6108da5ed1beb10bd6af4ea5f22cf4c",type:"button",name:"next-year",title:"Next Year",onClick:()=>{this.currentYear=this.currentYear+1,this.viewChange.emit({year:this.currentYear,month:this.currentMonth})}},d("sd-icon",{key:"9dff93aef0996c3679a6a8c93c0fce1ea390f4aa",name:"arrowRight",size:"12",color:"grey_45"}))),d("div",{key:"9a6840420da580096fbf24d2c4df656114e23e6e",class:"month-nav"},d("button",{key:"94bf7598e5b80d6deb407f607034ed6e9f88151f",type:"button",name:"prev-month",title:"Previous Month",onClick:()=>this.handleUpdateMonth("prev")},d("sd-icon",{key:"4ab19da5f6a12bf37b3c4d9aac4e2283762799e8",name:"arrowLeft",size:"12",color:"grey_45"})),d("span",{key:"c207959595c107cae05a7cbe1d169357b063a29d",class:"month-nav__current"},this.currentMonth,"월"),d("button",{key:"fe319c8b26d9259bcba2b1f251bb827977e6afdc",type:"button",name:"next-month",title:"Next Month",onClick:()=>this.handleUpdateMonth("next")},d("sd-icon",{key:"af5bb1c06058b6ce22c8d7ffacace2f558bdb013",name:"arrowRight",size:"12",color:"grey_45"})))),d("div",{key:"ca66c0d7744970364f7d5e11e61014471df3325b",class:"sd-calendar__days"},["일","월","화","수","목","금","토"].map((e=>d("div",{key:e,class:"day"},e)))),d("div",{key:"9d42c252b8b42754aedc64156ec1dbe45200cef0",class:{"sd-calendar__body":!0,"sd-calendar__body--has-events":!!this.events}},[...this.calendar.prevMonthDays,...this.calendar.days,...this.calendar.afterMonthDays].map(((e,a)=>{const s=this.dateUtil.formatDate(this.currentYear,this.currentMonth,Number(e)),n=e?this.getEventsForDate(s):[],t=[...new Set(n)];return d("div",{class:"sd-calendar__cell",key:`${e}_${a}`},d("sd-date-box",{date:e?Number(e):"",selected:this.value===s,isToday:c===s,disabled:!e||this.isDisabledDate(s),onClick:!this.isDisabledDate(s)&&e?()=>this.handleDateClick(Number(e)):void 0}),this.events&&d("div",{class:"sd-calendar__dots"},t.map((e=>d("span",{key:e,class:"sd-calendar__dot",style:{backgroundColor:this.getEventColor(e)}})))))}))),e.length>0&&d("div",{key:"dac97204484b1def1fd3d73939ef64ef6969bce2",class:"sd-calendar__legend"},e.map((e=>d("div",{key:e,class:"sd-calendar__legend-item"},d("span",{class:"sd-calendar__legend-dot",style:{backgroundColor:this.getEventColor(e)}}),d("span",{class:"sd-calendar__legend-label"},e))))))}static get watchers(){return{value:[{handleValueChange:0}],events:[{handleEventsChange:0}],eventColors:[{handleEventsChange:0}]}}static get style(){return".sd-calendar.sc-sd-calendar{width:304px;box-sizing:border-box;border-radius:8px;padding:24px 19px;background:white}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar{display:flex;flex-flow:row nowrap;align-items:center;gap:20px;font-size:14px;padding:0 5px;height:24px;line-height:24px}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav.sc-sd-calendar,.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav.sc-sd-calendar{display:flex;flex-flow:row nowrap;align-items:center;gap:12px}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav.sc-sd-calendar button.sc-sd-calendar,.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav.sc-sd-calendar button.sc-sd-calendar{background:none;border:none;cursor:pointer;margin:0;padding:0}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav__current.sc-sd-calendar{width:40px;text-align:center}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav__current.sc-sd-calendar{width:100px;text-align:center}.sd-calendar.sc-sd-calendar .sd-calendar__days.sc-sd-calendar{margin-top:8px;display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));column-gap:10px;padding:0 5px}.sd-calendar.sc-sd-calendar .sd-calendar__days.sc-sd-calendar .day.sc-sd-calendar{width:28px;height:20px;font-size:12px;line-height:20px;text-align:center;color:#888888}.sd-calendar.sc-sd-calendar .sd-calendar__body.sc-sd-calendar{margin-top:12px;display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));grid-auto-rows:min-content}.sd-calendar.sc-sd-calendar .sd-calendar__cell.sc-sd-calendar{display:flex;flex-direction:column;align-items:center}.sd-calendar.sc-sd-calendar .sd-calendar__dots.sc-sd-calendar{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;align-items:center;min-height:8px;max-width:28px}.sd-calendar.sc-sd-calendar .sd-calendar__dot.sc-sd-calendar{width:5px;height:5px;border-radius:50%;display:inline-block}.sd-calendar.sc-sd-calendar .sd-calendar__legend.sc-sd-calendar{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:16px;padding:12px 5px 0;border-top:1px solid #E5E5E5}.sd-calendar.sc-sd-calendar .sd-calendar__legend-item.sc-sd-calendar{display:flex;align-items:center;gap:4px}.sd-calendar.sc-sd-calendar .sd-calendar__legend-dot.sc-sd-calendar{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.sd-calendar.sc-sd-calendar .sd-calendar__legend-label.sc-sd-calendar{font-size:11px;color:#888888;line-height:1}"}},[514,"sd-calendar",{value:[1537],selectable:[16],events:[16],eventColors:[16],currentYear:[32],currentMonth:[32],eventsRevision:[32]},void 0,{value:[{handleValueChange:0}],events:[{handleEventsChange:0}],eventColors:[{handleEventsChange:0}]}]);function p(){"undefined"!=typeof customElements&&["sd-calendar","sd-date-box","sd-icon"].forEach((e=>{switch(e){case"sd-calendar":customElements.get(n(e))||customElements.define(n(e),h);break;case"sd-date-box":customElements.get(n(e))||l();break;case"sd-icon":customElements.get(n(e))||i()}}))}export{h as S,p as d}
1
+ import{p as e,H as a,c as s,h as d,t as n}from"./p-B1vJXa29.js";import{u as t,t as c}from"./p-DTrMR0rx.js";import{r}from"./p-CquSJNHV.js";import{d as l}from"./p-CxJY5DLb.js";import{d as i}from"./p-C7dgr7sG.js";const o=["brilliantblue_75","red_60","green_65","orange_60","steelblue_65","yellow_45","oceanblue_65","olive_55"],h=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.select=s(this,"sdSelect"),this.viewChange=s(this,"sdViewChange")}value=null;selectable;events;eventColors;currentYear;currentMonth;eventsRevision=0;select;viewChange;dateUtil=t();componentWillLoad(){this.initCalendar()}handleValueChange(){this.initCalendar()}handleEventsChange(){this.eventsRevision=this.eventsRevision+1}initCalendar(){const e=this.value||c,[a,s]=e.split("-").map(Number);this.currentYear=a,this.currentMonth=s}get calendar(){return this.dateUtil.createCalendar(this.currentYear,this.currentMonth)}handleUpdateMonth(e){const{newYear:a,newMonth:s}=this.dateUtil.calculateYearMonth(this.currentYear,this.currentMonth,e);this.currentYear=a,this.currentMonth=s,this.viewChange.emit({year:a,month:s})}handleDateClick(e){if(!e)return;const a=this.dateUtil.formatDate(this.currentYear,this.currentMonth,e);this.value=a,this.select.emit(a)}isDisabledDate(e){if(!this.selectable)return!1;const[a,s]=this.selectable;return a&&s?e<a||e>s:a?e<a:!!s&&e>s}getEventColor(e){if(this.eventColors?.[e])return r(this.eventColors[e]);const a=this.getAllEventNames().indexOf(e);return r(o[a%o.length])}getAllEventNames(){const e=new Set;if(this.eventColors)for(const a of Object.keys(this.eventColors))e.add(a);if(this.events)for(const a of Object.values(this.events))for(const s of a)e.add(s);return Array.from(e)}getEventsForDate(e){return this.events?.[e]??[]}render(){const e=this.getAllEventNames();return d("div",{key:"149ca9ae588a7bd2d70ecf1bf13cc639c99f7da9",class:"sd-calendar"},d("div",{key:"65f58d53fbaf35cee16007bad0b5e56dd208393e",class:"sd-calendar__header"},d("div",{key:"76709fd094edaece5ede720a983d1103801ba76d",class:"year-nav"},d("button",{key:"6d46cfa4cb1d12507ba7570cb6c0bb88bcba3402",type:"button",name:"prev-year",title:"Previous Year",onClick:()=>{this.currentYear=this.currentYear-1,this.viewChange.emit({year:this.currentYear,month:this.currentMonth})}},d("sd-icon",{key:"1319ec1fa0f2533a5d02853cb7638b1f1c10e050",name:"arrowLeft",size:"12",color:"grey_45"})),d("span",{key:"678b705cd95dc499975e071f1607f26bdd50c36d",class:"year-nav__current"},this.currentYear),d("button",{key:"1f5c3a0cd6108da5ed1beb10bd6af4ea5f22cf4c",type:"button",name:"next-year",title:"Next Year",onClick:()=>{this.currentYear=this.currentYear+1,this.viewChange.emit({year:this.currentYear,month:this.currentMonth})}},d("sd-icon",{key:"9dff93aef0996c3679a6a8c93c0fce1ea390f4aa",name:"arrowRight",size:"12",color:"grey_45"}))),d("div",{key:"9a6840420da580096fbf24d2c4df656114e23e6e",class:"month-nav"},d("button",{key:"94bf7598e5b80d6deb407f607034ed6e9f88151f",type:"button",name:"prev-month",title:"Previous Month",onClick:()=>this.handleUpdateMonth("prev")},d("sd-icon",{key:"4ab19da5f6a12bf37b3c4d9aac4e2283762799e8",name:"arrowLeft",size:"12",color:"grey_45"})),d("span",{key:"c207959595c107cae05a7cbe1d169357b063a29d",class:"month-nav__current"},this.currentMonth,"월"),d("button",{key:"fe319c8b26d9259bcba2b1f251bb827977e6afdc",type:"button",name:"next-month",title:"Next Month",onClick:()=>this.handleUpdateMonth("next")},d("sd-icon",{key:"af5bb1c06058b6ce22c8d7ffacace2f558bdb013",name:"arrowRight",size:"12",color:"grey_45"})))),d("div",{key:"ca66c0d7744970364f7d5e11e61014471df3325b",class:"sd-calendar__days"},["일","월","화","수","목","금","토"].map((e=>d("div",{key:e,class:"day"},e)))),d("div",{key:"9d42c252b8b42754aedc64156ec1dbe45200cef0",class:{"sd-calendar__body":!0,"sd-calendar__body--has-events":!!this.events}},[...this.calendar.prevMonthDays,...this.calendar.days,...this.calendar.afterMonthDays].map(((e,a)=>{const s=this.dateUtil.formatDate(this.currentYear,this.currentMonth,Number(e)),n=e?this.getEventsForDate(s):[],t=[...new Set(n)];return d("div",{class:"sd-calendar__cell",key:`${e}_${a}`},d("sd-date-box",{date:e?Number(e):"",selected:this.value===s,isToday:c===s,disabled:!e||this.isDisabledDate(s),onClick:!this.isDisabledDate(s)&&e?()=>this.handleDateClick(Number(e)):void 0}),this.events&&d("div",{class:"sd-calendar__dots"},t.map((e=>d("span",{key:e,class:"sd-calendar__dot",style:{backgroundColor:this.getEventColor(e)}})))))}))),e.length>0&&d("div",{key:"dac97204484b1def1fd3d73939ef64ef6969bce2",class:"sd-calendar__legend"},e.map((e=>d("div",{key:e,class:"sd-calendar__legend-item"},d("span",{class:"sd-calendar__legend-dot",style:{backgroundColor:this.getEventColor(e)}}),d("span",{class:"sd-calendar__legend-label"},e))))))}static get watchers(){return{value:[{handleValueChange:0}],events:[{handleEventsChange:0}],eventColors:[{handleEventsChange:0}]}}static get style(){return".sd-calendar.sc-sd-calendar{width:304px;box-sizing:border-box;border-radius:8px;padding:24px 19px;background:white}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar{display:flex;flex-flow:row nowrap;align-items:center;gap:20px;font-size:14px;padding:0 5px;height:24px;line-height:24px}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav.sc-sd-calendar,.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav.sc-sd-calendar{display:flex;flex-flow:row nowrap;align-items:center;gap:12px}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav.sc-sd-calendar button.sc-sd-calendar,.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav.sc-sd-calendar button.sc-sd-calendar{background:none;border:none;cursor:pointer;margin:0;padding:0}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .year-nav__current.sc-sd-calendar{width:40px;text-align:center}.sd-calendar.sc-sd-calendar .sd-calendar__header.sc-sd-calendar .month-nav__current.sc-sd-calendar{width:100px;text-align:center}.sd-calendar.sc-sd-calendar .sd-calendar__days.sc-sd-calendar{margin-top:8px;display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));column-gap:10px;padding:0 5px}.sd-calendar.sc-sd-calendar .sd-calendar__days.sc-sd-calendar .day.sc-sd-calendar{width:28px;height:20px;font-size:12px;line-height:20px;text-align:center;color:#888888}.sd-calendar.sc-sd-calendar .sd-calendar__body.sc-sd-calendar{margin-top:12px;display:grid;grid-template-columns:repeat(7, minmax(0, 1fr));grid-auto-rows:min-content}.sd-calendar.sc-sd-calendar .sd-calendar__cell.sc-sd-calendar{display:flex;flex-direction:column;align-items:center}.sd-calendar.sc-sd-calendar .sd-calendar__dots.sc-sd-calendar{display:flex;flex-wrap:wrap;gap:2px;justify-content:center;align-items:center;min-height:8px;max-width:28px}.sd-calendar.sc-sd-calendar .sd-calendar__dot.sc-sd-calendar{width:5px;height:5px;border-radius:50%;display:inline-block}.sd-calendar.sc-sd-calendar .sd-calendar__legend.sc-sd-calendar{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:16px;padding:12px 5px 0;border-top:1px solid #E5E5E5}.sd-calendar.sc-sd-calendar .sd-calendar__legend-item.sc-sd-calendar{display:flex;align-items:center;gap:4px}.sd-calendar.sc-sd-calendar .sd-calendar__legend-dot.sc-sd-calendar{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0}.sd-calendar.sc-sd-calendar .sd-calendar__legend-label.sc-sd-calendar{font-size:11px;color:#888888;line-height:1}"}},[514,"sd-calendar",{value:[1537],selectable:[16],events:[16],eventColors:[16],currentYear:[32],currentMonth:[32],eventsRevision:[32]},void 0,{value:[{handleValueChange:0}],events:[{handleEventsChange:0}],eventColors:[{handleEventsChange:0}]}]);function p(){"undefined"!=typeof customElements&&["sd-calendar","sd-date-box","sd-icon"].forEach((e=>{switch(e){case"sd-calendar":customElements.get(n(e))||customElements.define(n(e),h);break;case"sd-date-box":customElements.get(n(e))||l();break;case"sd-icon":customElements.get(n(e))||i()}}))}export{h as S,p as d}
@@ -1 +1 @@
1
- import{p as t,H as o,h as e,F as s,t as i}from"./p-B1vJXa29.js";import{T as n}from"./p-D-ian_bu.js";import{d as a}from"./p-BMpVqedy.js";import{d as l}from"./p-Cm4BQbyn.js";import{d as c}from"./p-CsS4T0El.js";var d={bg:"#07284A",content:"#FFFFFF"},r={bg:"#FCEFEF",content:"#FB4444"},p={bg:"#FEF1EA",content:"#FF6B00"},h={bg:"#E6F1FF",content:"#0075FF"};const b={default:{bg:d.bg,content:d.content},danger:{bg:r.bg,content:r.content},warning:{bg:p.bg,content:p.content},accent:{bg:h.bg,content:h.content}},f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}get el(){return this}trigger="hover";placement="top";color="#01BB4B";tooltipType="default";icon="helpOutline";iconSize=12;label="";buttonSize="sm";buttonVariant="primary";noHover=!0;showTooltip=!1;slotContentHTML="";buttonEl;handleClose=()=>{this.showTooltip=!1};componentWillLoad(){this.slotContentHTML=this.el.innerHTML,this.el.replaceChildren(),this.el.classList.toggle("visible",!0)}render(){const t=b[this.tooltipType]??b.default,o="hover"===this.trigger?{onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1}:{onClick:()=>this.showTooltip=!this.showTooltip};return e(s,{key:"1c731d4e69b06c764396692e4292c514eb02492a"},this.label?e("sd-button",{ref:t=>this.buttonEl=t,label:this.label,icon:this.icon,size:this.buttonSize,color:this.color,variant:this.buttonVariant,class:"sd-tooltip",..."hover"===this.trigger?{onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1}:{onSdClick:()=>this.showTooltip=!this.showTooltip}}):e("sd-icon",{ref:t=>this.buttonEl=t,name:this.icon,size:this.iconSize,color:this.color,class:"sd-tooltip",...o}),this.showTooltip&&e("sd-floating-portal",{key:"9ced53dea1ae6c33c091b170dd32b05a2f0d697f",parentRef:this.buttonEl,onSdClose:this.handleClose.bind(this),placement:this.placement},e("div",{key:"d06222bdc0db2497790f0c8d141d60308e453801",class:{"sd-floating-menu":!0,[`sd-floating-menu--${this.tooltipType}`]:!0,[`sd-floating-menu--${this.placement}`]:!0},style:{"--sd-floating-bg":t.bg,"--sd-floating-content":t.content}},e("i",{key:"49dc1d2025baea270d0886c11c10e0dda9fa09fd",class:`sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}`},e(n,{key:"9a00fbbff40c7f041b5914a35d0049ef1cf090d5"})),e("div",{key:"d6169cacc0cd979b605fcfab1f68a395d1f01238",class:"sd-floating-menu__content",innerHTML:this.slotContentHTML}))))}static get style(){return"sd-tooltip{visibility:hidden !important;display:inline-flex}sd-tooltip.visible{visibility:visible !important}sd-tooltip .sd-tooltip{position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}"}},[512,"sd-tooltip",{trigger:[1],placement:[1],color:[1],tooltipType:[1,"tooltip-type"],icon:[1],iconSize:[2,"icon-size"],label:[1],buttonSize:[1,"button-size"],buttonVariant:[1,"button-variant"],noHover:[4,"no-hover"],showTooltip:[32],slotContentHTML:[32]}]);function m(){"undefined"!=typeof customElements&&["sd-tooltip","sd-button","sd-floating-portal","sd-icon"].forEach((t=>{switch(t){case"sd-tooltip":customElements.get(i(t))||customElements.define(i(t),f);break;case"sd-button":customElements.get(i(t))||a();break;case"sd-floating-portal":customElements.get(i(t))||l();break;case"sd-icon":customElements.get(i(t))||c()}}))}export{f as S,m as d}
1
+ import{p as t,H as o,h as s,F as e,t as i}from"./p-B1vJXa29.js";import{T as n}from"./p-D-ian_bu.js";import{d as a}from"./p-BKtAiyh0.js";import{d as l}from"./p-BfqA9RSe.js";import{d as c}from"./p-C7dgr7sG.js";var r={bg:"#07284A",content:"#FFFFFF"},d={bg:"#FCEFEF",content:"#FB4444"},b={bg:"#FEF1EA",content:"#FF6B00"},h={bg:"#E6F1FF",content:"#0075FF"};const p={default:{bg:r.bg,content:r.content},danger:{bg:d.bg,content:d.content},warning:{bg:b.bg,content:b.content},accent:{bg:h.bg,content:h.content}},f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}get el(){return this}trigger="hover";placement="top";color="#01BB4B";tooltipType="default";icon="helpOutline";iconSize=12;label="";buttonSize="sm";buttonVariant="primary";noHover=!0;showTooltip=!1;slotContentHTML="";buttonEl;handleClose=()=>{this.showTooltip=!1};componentWillLoad(){this.slotContentHTML=this.el.innerHTML,this.el.replaceChildren(),this.el.classList.toggle("visible",!0)}render(){const t=p[this.tooltipType]??p.default,o="hover"===this.trigger?{onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1}:{onClick:()=>this.showTooltip=!this.showTooltip};return s(e,{key:"53edf89a07b59cc1f6f3b84cbba7f4b77c6819c7"},this.label?s("sd-button",{ref:t=>this.buttonEl=t,label:this.label,icon:this.icon,size:this.buttonSize,color:this.color,variant:this.buttonVariant,class:"sd-tooltip",..."hover"===this.trigger?{onMouseEnter:()=>this.showTooltip=!0,onMouseLeave:()=>this.showTooltip=!1}:{onSdClick:()=>this.showTooltip=!this.showTooltip}}):s("sd-icon",{ref:t=>this.buttonEl=t,name:this.icon,size:this.iconSize,color:this.color,class:"sd-tooltip",...o}),this.showTooltip&&s("sd-floating-portal",{key:"0011143fc06ea5bcf0b800bc4baabb06dd822911",parentRef:this.buttonEl,onSdClose:this.handleClose.bind(this),placement:this.placement},s("div",{key:"5cd0ed3132d542436a951bf74784d0aa0cd8078d",class:{"sd-floating-menu":!0,[`sd-floating-menu--${this.tooltipType}`]:!0,[`sd-floating-menu--${this.placement}`]:!0},style:{"--sd-floating-bg":t.bg,"--sd-floating-content":t.content}},s("i",{key:"9502962bbd9a95f04d0b6bef1e03c0c048515090",class:`sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}`},s(n,{key:"b41486b3cecd413dd817b0a1384cfe9fb7255434"})),s("div",{key:"ea15c6250d1b8dabc5c6ecf1b5c48674a877a3c4",class:"sd-floating-menu__content",innerHTML:this.slotContentHTML}))))}static get style(){return"sd-tooltip{visibility:hidden !important;display:inline-flex}sd-tooltip.visible{visibility:visible !important}sd-tooltip .sd-tooltip{position:relative;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}"}},[512,"sd-tooltip",{trigger:[1],placement:[1],color:[1],tooltipType:[1,"tooltip-type"],icon:[1],iconSize:[2,"icon-size"],label:[1],buttonSize:[1,"button-size"],buttonVariant:[1,"button-variant"],noHover:[4,"no-hover"],showTooltip:[32],slotContentHTML:[32]}]);function u(){"undefined"!=typeof customElements&&["sd-tooltip","sd-button","sd-floating-portal","sd-icon"].forEach((t=>{switch(t){case"sd-tooltip":customElements.get(i(t))||customElements.define(i(t),f);break;case"sd-button":customElements.get(i(t))||a();break;case"sd-floating-portal":customElements.get(i(t))||l();break;case"sd-icon":customElements.get(i(t))||c()}}))}export{f as S,u as d}