@sellmate/design-system 0.0.48 → 0.0.50

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 (235) hide show
  1. package/dist/cjs/design-system.cjs.js +2 -2
  2. package/dist/cjs/{index-DXo1Fhkn.js → index-Bxead0A0.js} +4 -2
  3. package/dist/cjs/{index-DXo1Fhkn.js.map → index-Bxead0A0.js.map} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/{esm/color-CgyTlXBV.js → cjs/resolveColor-DxvExwgo.js} +17 -4
  6. package/dist/{esm/resolveColor-CswQ9y2Q.js.map → cjs/resolveColor-DxvExwgo.js.map} +1 -1
  7. package/dist/cjs/sd-badge.cjs.entry.js +3 -4
  8. package/dist/cjs/sd-badge.entry.cjs.js.map +1 -1
  9. package/dist/cjs/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-radio-group.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map +1 -0
  10. package/dist/cjs/{sd-button_12.cjs.entry.js → sd-button_14.cjs.entry.js} +356 -105
  11. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  12. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-date-range-picker.cjs.entry.js +3 -3
  15. package/dist/cjs/sd-modal-card.cjs.entry.js +2 -3
  16. package/dist/cjs/sd-modal-card.entry.cjs.js.map +1 -1
  17. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  18. package/dist/cjs/sd-progress.cjs.entry.js +3 -3
  19. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-select-multiple.cjs.entry.js +3 -3
  21. package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
  22. package/dist/cjs/sd-table.cjs.entry.js +1 -1
  23. package/dist/cjs/sd-tag.cjs.entry.js +2 -2
  24. package/dist/cjs/sd-tbody_3.cjs.entry.js +4 -4
  25. package/dist/cjs/sd-td.cjs.entry.js +3 -3
  26. package/dist/cjs/{tooltipArrow-DNiGFQNW.js → tooltipArrow-C7cIAuTo.js} +3 -3
  27. package/dist/cjs/{tooltipArrow-DNiGFQNW.js.map → tooltipArrow-C7cIAuTo.js.map} +1 -1
  28. package/dist/collection/collection-manifest.json +1 -0
  29. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  30. package/dist/collection/components/sd-card/sd-card.js +1 -1
  31. package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
  32. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
  33. package/dist/collection/components/sd-guide/sd-guide.js +3 -3
  34. package/dist/collection/components/sd-icon/sd-icon.js +1 -1
  35. package/dist/collection/components/sd-input/sd-input.js +2 -2
  36. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
  37. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  38. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  39. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  40. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  41. package/dist/collection/components/sd-radio-group/sd-radio-group.css +76 -0
  42. package/dist/collection/components/sd-radio-group/sd-radio-group.js +214 -0
  43. package/dist/collection/components/sd-radio-group/sd-radio-group.js.map +1 -0
  44. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  45. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +2 -2
  46. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  47. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
  48. package/dist/collection/components/sd-table/sd-td/sd-td.js +2 -2
  49. package/dist/collection/components/sd-table/sd-th/sd-th.js +1 -1
  50. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +1 -1
  51. package/dist/collection/components/sd-table-backup/sd-table-backup.css +17 -15
  52. package/dist/collection/components/sd-table-backup/sd-table-backup.js +194 -87
  53. package/dist/collection/components/sd-table-backup/sd-table-backup.js.map +1 -1
  54. package/dist/collection/components/sd-tag/sd-tag.js +1 -1
  55. package/dist/collection/components/sd-tooltip/sd-tooltip.js +4 -4
  56. package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
  57. package/dist/components/index.js +1 -1
  58. package/dist/components/{p-lS2AF6uZ.js → p-BIw-hGVo.js} +6 -6
  59. package/dist/components/{p-lS2AF6uZ.js.map → p-BIw-hGVo.js.map} +1 -1
  60. package/dist/components/{p-DsXAGqf9.js → p-BSUHSOXX.js} +4 -4
  61. package/dist/components/{p-DsXAGqf9.js.map → p-BSUHSOXX.js.map} +1 -1
  62. package/dist/components/{p-C9qV_qzP.js → p-BozMKCTh.js} +6 -6
  63. package/dist/components/{p-C9qV_qzP.js.map → p-BozMKCTh.js.map} +1 -1
  64. package/dist/components/{p-BvuTaRpn.js → p-BpNH68jy.js} +3 -3
  65. package/dist/components/{p-BvuTaRpn.js.map → p-BpNH68jy.js.map} +1 -1
  66. package/dist/components/{p-Cb33bhDR.js → p-C0CLTo3o.js} +4 -4
  67. package/dist/components/{p-Cb33bhDR.js.map → p-C0CLTo3o.js.map} +1 -1
  68. package/dist/components/{p-BlDZogGu.js → p-C171iavd.js} +4 -4
  69. package/dist/components/{p-BlDZogGu.js.map → p-C171iavd.js.map} +1 -1
  70. package/dist/components/{p-CIkSynaQ.js → p-C930Kn80.js} +4 -4
  71. package/dist/components/{p-CIkSynaQ.js.map → p-C930Kn80.js.map} +1 -1
  72. package/dist/components/{p-DWfls6IE.js → p-Cq-Qitdj.js} +11 -11
  73. package/dist/components/{p-DWfls6IE.js.map → p-Cq-Qitdj.js.map} +1 -1
  74. package/dist/components/{p-D2rvzY8X.js → p-D2YMmHfl.js} +4 -4
  75. package/dist/components/{p-D2rvzY8X.js.map → p-D2YMmHfl.js.map} +1 -1
  76. package/dist/components/{p-B6GiEilD.js → p-D2aGA3BX.js} +4 -4
  77. package/dist/components/{p-B6GiEilD.js.map → p-D2aGA3BX.js.map} +1 -1
  78. package/dist/components/{p-t7JZlmXM.js → p-D8f0ASS6.js} +4 -4
  79. package/dist/components/{p-t7JZlmXM.js.map → p-D8f0ASS6.js.map} +1 -1
  80. package/dist/components/{p-CMcI4ZlP.js → p-DC5fpNnQ.js} +4 -4
  81. package/dist/components/{p-CMcI4ZlP.js.map → p-DC5fpNnQ.js.map} +1 -1
  82. package/dist/components/{p-Cafw-qR4.js → p-DY6t0qQj.js} +3 -3
  83. package/dist/components/{p-Cafw-qR4.js.map → p-DY6t0qQj.js.map} +1 -1
  84. package/dist/components/{p-DCDoqfn8.js → p-LziGti_p.js} +4 -4
  85. package/dist/components/{p-DCDoqfn8.js.map → p-LziGti_p.js.map} +1 -1
  86. package/dist/components/{p-WhZES_rm.js → p-RZm_wGW3.js} +6 -6
  87. package/dist/components/{p-WhZES_rm.js.map → p-RZm_wGW3.js.map} +1 -1
  88. package/dist/components/{p-CbnL1UUF.js → p-TFWJruz2.js} +4 -3
  89. package/dist/components/p-TFWJruz2.js.map +1 -0
  90. package/dist/components/{p-Bn_wuPsh.js → p-X8rQBuZk.js} +8 -8
  91. package/dist/components/{p-Bn_wuPsh.js.map → p-X8rQBuZk.js.map} +1 -1
  92. package/dist/components/{p-BBhUxTuK.js → p-_spt_8fG.js} +9 -9
  93. package/dist/components/{p-BBhUxTuK.js.map → p-_spt_8fG.js.map} +1 -1
  94. package/dist/components/{p-wA4KCOG0.js → p-gnOKrd57.js} +3 -3
  95. package/dist/components/{p-wA4KCOG0.js.map → p-gnOKrd57.js.map} +1 -1
  96. package/dist/components/sd-badge.js +2 -2
  97. package/dist/components/sd-button.js +1 -1
  98. package/dist/components/sd-card.js +2 -2
  99. package/dist/components/sd-checkbox.js +1 -1
  100. package/dist/components/sd-date-box.js +1 -1
  101. package/dist/components/sd-date-picker.js +6 -6
  102. package/dist/components/sd-date-range-picker.js +7 -7
  103. package/dist/components/sd-guide.js +7 -7
  104. package/dist/components/sd-icon.js +1 -1
  105. package/dist/components/sd-input.js +1 -1
  106. package/dist/components/sd-loading-spinner.js +1 -1
  107. package/dist/components/sd-modal-card.js +3 -3
  108. package/dist/components/sd-pagination.js +1 -1
  109. package/dist/components/sd-popover.js +7 -7
  110. package/dist/components/sd-portal.js +1 -1
  111. package/dist/components/sd-progress.js +3 -3
  112. package/dist/components/sd-radio-group.d.ts +11 -0
  113. package/dist/components/sd-radio-group.js +99 -0
  114. package/dist/components/sd-radio-group.js.map +1 -0
  115. package/dist/components/sd-select-multiple-group.js +7 -7
  116. package/dist/components/sd-select-multiple.js +9 -9
  117. package/dist/components/sd-select-option-group.js +1 -1
  118. package/dist/components/sd-select-option.js +1 -1
  119. package/dist/components/sd-select.js +1 -1
  120. package/dist/components/sd-table-backup.js +206 -99
  121. package/dist/components/sd-table-backup.js.map +1 -1
  122. package/dist/components/sd-table.js +14 -14
  123. package/dist/components/sd-tag.js +2 -2
  124. package/dist/components/sd-tbody.js +1 -1
  125. package/dist/components/sd-td.js +3 -3
  126. package/dist/components/sd-th.js +1 -1
  127. package/dist/components/sd-tooltip-portal.js +1 -1
  128. package/dist/components/sd-tooltip.js +1 -1
  129. package/dist/components/sd-tr.js +1 -1
  130. package/dist/design-system/design-system.esm.js +1 -1
  131. package/dist/design-system/{p-390283f7.entry.js → p-037de6ce.entry.js} +2 -2
  132. package/dist/design-system/p-154958ba.entry.js +2 -0
  133. package/dist/design-system/p-1b6aec43.entry.js +2 -0
  134. package/dist/design-system/{p-ce8fe1fd.entry.js → p-1e175d35.entry.js} +2 -2
  135. package/dist/design-system/{p-826c6517.entry.js → p-2285c061.entry.js} +2 -2
  136. package/dist/design-system/p-24ef1055.entry.js +2 -0
  137. package/dist/design-system/p-24ef1055.entry.js.map +1 -0
  138. package/dist/design-system/{p-d4b5575e.entry.js → p-267985b3.entry.js} +2 -2
  139. package/dist/design-system/p-328d7e6c.entry.js +2 -0
  140. package/dist/design-system/p-4828e65b.entry.js +2 -0
  141. package/dist/design-system/{p-871c8d66.entry.js → p-6d81e6f8.entry.js} +2 -2
  142. package/dist/design-system/p-6f16399e.entry.js +2 -0
  143. package/dist/design-system/{p-6320b9c6.entry.js.map → p-6f16399e.entry.js.map} +1 -1
  144. package/dist/design-system/{p-3574f319.entry.js → p-8d1a2a13.entry.js} +2 -2
  145. package/dist/design-system/{p-CgyTlXBV.js → p-BYf-ybt2.js} +2 -2
  146. package/dist/design-system/{p-BoLmB6pG.js.map → p-BYf-ybt2.js.map} +1 -1
  147. package/dist/design-system/p-ClyGLKUd.js +3 -0
  148. package/dist/design-system/{p-B2T3tS5r.js.map → p-ClyGLKUd.js.map} +1 -1
  149. package/dist/design-system/p-DXZjHQmQ.js +2 -0
  150. package/dist/design-system/{p-BE6EMCXm.js.map → p-DXZjHQmQ.js.map} +1 -1
  151. package/dist/design-system/p-a73bb448.entry.js +2 -0
  152. package/dist/design-system/p-a73bb448.entry.js.map +1 -0
  153. package/dist/design-system/p-b892a722.entry.js +2 -0
  154. package/dist/design-system/p-b892a722.entry.js.map +1 -0
  155. package/dist/design-system/{p-8734ded6.entry.js → p-c7e8a2c0.entry.js} +2 -2
  156. package/dist/design-system/p-ecb38b6a.entry.js +2 -0
  157. package/dist/design-system/{p-db0f705b.entry.js.map → p-ecb38b6a.entry.js.map} +1 -1
  158. package/dist/design-system/sd-badge.entry.esm.js.map +1 -1
  159. package/dist/design-system/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-radio-group.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.esm.js.map +1 -0
  160. package/dist/design-system/sd-modal-card.entry.esm.js.map +1 -1
  161. package/dist/esm/design-system.js +3 -3
  162. package/dist/esm/{index-B2T3tS5r.js → index-ClyGLKUd.js} +4 -3
  163. package/dist/esm/{index-B2T3tS5r.js.map → index-ClyGLKUd.js.map} +1 -1
  164. package/dist/esm/loader.js +3 -3
  165. package/dist/{cjs/color-Oz29vj7L.js → esm/resolveColor-BYf-ybt2.js} +14 -6
  166. package/dist/{cjs/resolveColor-CauSLF0s.js.map → esm/resolveColor-BYf-ybt2.js.map} +1 -1
  167. package/dist/esm/sd-badge.entry.js +3 -4
  168. package/dist/esm/sd-badge.entry.js.map +1 -1
  169. package/dist/esm/sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-radio-group.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.js.map +1 -0
  170. package/dist/esm/{sd-button_12.entry.js → sd-button_14.entry.js} +355 -106
  171. package/dist/esm/sd-card.entry.js +2 -2
  172. package/dist/esm/sd-date-box.entry.js +1 -1
  173. package/dist/esm/sd-date-picker.entry.js +2 -2
  174. package/dist/esm/sd-date-range-picker.entry.js +3 -3
  175. package/dist/esm/sd-modal-card.entry.js +2 -3
  176. package/dist/esm/sd-modal-card.entry.js.map +1 -1
  177. package/dist/esm/sd-popover.entry.js +4 -4
  178. package/dist/esm/sd-progress.entry.js +3 -3
  179. package/dist/esm/sd-select-multiple-group.entry.js +1 -1
  180. package/dist/esm/sd-select-multiple.entry.js +3 -3
  181. package/dist/esm/sd-select-option-group.entry.js +4 -4
  182. package/dist/esm/sd-table.entry.js +1 -1
  183. package/dist/esm/sd-tag.entry.js +2 -2
  184. package/dist/esm/sd-tbody_3.entry.js +4 -4
  185. package/dist/esm/sd-td.entry.js +3 -3
  186. package/dist/esm/{tooltipArrow-Pa2XQhpp.js → tooltipArrow-BwO7_hdW.js} +3 -3
  187. package/dist/esm/{tooltipArrow-Pa2XQhpp.js.map → tooltipArrow-BwO7_hdW.js.map} +1 -1
  188. package/dist/types/components/sd-radio-group/sd-radio-group.d.ts +24 -0
  189. package/dist/types/components/sd-table-backup/sd-table-backup.d.ts +15 -0
  190. package/dist/types/components.d.ts +59 -0
  191. package/hydrate/index.js +320 -123
  192. package/hydrate/index.mjs +320 -123
  193. package/package.json +95 -95
  194. package/dist/cjs/color-Oz29vj7L.js.map +0 -1
  195. package/dist/cjs/resolveColor-CauSLF0s.js +0 -18
  196. package/dist/cjs/sd-button.sd-checkbox.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map +0 -1
  197. package/dist/cjs/sd-guide.cjs.entry.js +0 -85
  198. package/dist/cjs/sd-guide.entry.cjs.js.map +0 -1
  199. package/dist/components/p-CbnL1UUF.js.map +0 -1
  200. package/dist/design-system/p-043b7fd1.entry.js +0 -2
  201. package/dist/design-system/p-043b7fd1.entry.js.map +0 -1
  202. package/dist/design-system/p-059ca6cb.entry.js +0 -2
  203. package/dist/design-system/p-0d776157.entry.js +0 -2
  204. package/dist/design-system/p-0d776157.entry.js.map +0 -1
  205. package/dist/design-system/p-4386db36.entry.js +0 -2
  206. package/dist/design-system/p-4386db36.entry.js.map +0 -1
  207. package/dist/design-system/p-6320b9c6.entry.js +0 -2
  208. package/dist/design-system/p-7b4fe5bf.entry.js +0 -2
  209. package/dist/design-system/p-7e8db11c.entry.js +0 -2
  210. package/dist/design-system/p-B2T3tS5r.js +0 -3
  211. package/dist/design-system/p-BE6EMCXm.js +0 -2
  212. package/dist/design-system/p-BoLmB6pG.js +0 -2
  213. package/dist/design-system/p-CgyTlXBV.js.map +0 -1
  214. package/dist/design-system/p-d4e043c5.entry.js +0 -2
  215. package/dist/design-system/p-db0f705b.entry.js +0 -2
  216. package/dist/design-system/p-f9d01bdb.entry.js +0 -2
  217. package/dist/design-system/p-f9d01bdb.entry.js.map +0 -1
  218. package/dist/design-system/sd-button.sd-checkbox.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.esm.js.map +0 -1
  219. package/dist/design-system/sd-guide.entry.esm.js.map +0 -1
  220. package/dist/esm/color-CgyTlXBV.js.map +0 -1
  221. package/dist/esm/resolveColor-CswQ9y2Q.js +0 -16
  222. package/dist/esm/sd-button.sd-checkbox.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.js.map +0 -1
  223. package/dist/esm/sd-guide.entry.js +0 -83
  224. package/dist/esm/sd-guide.entry.js.map +0 -1
  225. /package/dist/design-system/{p-390283f7.entry.js.map → p-037de6ce.entry.js.map} +0 -0
  226. /package/dist/design-system/{p-059ca6cb.entry.js.map → p-154958ba.entry.js.map} +0 -0
  227. /package/dist/design-system/{p-7b4fe5bf.entry.js.map → p-1b6aec43.entry.js.map} +0 -0
  228. /package/dist/design-system/{p-ce8fe1fd.entry.js.map → p-1e175d35.entry.js.map} +0 -0
  229. /package/dist/design-system/{p-826c6517.entry.js.map → p-2285c061.entry.js.map} +0 -0
  230. /package/dist/design-system/{p-d4b5575e.entry.js.map → p-267985b3.entry.js.map} +0 -0
  231. /package/dist/design-system/{p-7e8db11c.entry.js.map → p-328d7e6c.entry.js.map} +0 -0
  232. /package/dist/design-system/{p-d4e043c5.entry.js.map → p-4828e65b.entry.js.map} +0 -0
  233. /package/dist/design-system/{p-871c8d66.entry.js.map → p-6d81e6f8.entry.js.map} +0 -0
  234. /package/dist/design-system/{p-3574f319.entry.js.map → p-8d1a2a13.entry.js.map} +0 -0
  235. /package/dist/design-system/{p-8734ded6.entry.js.map → p-c7e8a2c0.entry.js.map} +0 -0
@@ -1,10 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DXo1Fhkn.js');
4
- var resolveColor = require('./resolveColor-CauSLF0s.js');
3
+ var index = require('./index-Bxead0A0.js');
4
+ var resolveColor = require('./resolveColor-DxvExwgo.js');
5
5
  var selectKeyboardNavigation = require('./select-keyboard-navigation-6fO_V4En.js');
6
- var tooltipArrow = require('./tooltipArrow-DNiGFQNW.js');
7
- require('./color-Oz29vj7L.js');
6
+ var tooltipArrow = require('./tooltipArrow-C7cIAuTo.js');
8
7
 
9
8
  const sdButtonCss = "sd-button{display:inline-block;width:fit-content;height:fit-content}.sd-button{text-decoration:none;cursor:pointer;border-radius: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}.sd-button--xs{padding:0 8px;font-size:12px;font-weight:500;line-height:20px;min-height:24px}.sd-button--sm{padding:0 12px;font-size:12px;font-weight:500;line-height:20px;min-height:28px}.sd-button--md{padding:0 20px;font-size:16px;font-weight:500;line-height:26px;min-height:34px}.sd-button--lg{padding:0 28px;font-size:18px;font-weight:500;line-height:30px;min-height:62px}.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: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:1px solid #cccccc;background:#e1e1e1;color:#888888;cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:fit-content;height:fit-content;aspect-ratio:1/1}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:4px;z-index:1;font-weight:500}";
10
9
 
@@ -148,6 +147,84 @@ const SdCheckbox = class {
148
147
  };
149
148
  SdCheckbox.style = sdCheckboxCss;
150
149
 
150
+ const sdGuideCss = "@charset \"UTF-8\";sd-button{display:inline-block;width:fit-content;height:fit-content}.sd-button{text-decoration:none;cursor:pointer;border-radius: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}.sd-button--xs{padding:0 8px;font-size:12px;font-weight:500;line-height:20px;min-height:24px}.sd-button--sm{padding:0 12px;font-size:12px;font-weight:500;line-height:20px;min-height:28px}.sd-button--md{padding:0 20px;font-size:16px;font-weight:500;line-height:26px;min-height:34px}.sd-button--lg{padding:0 28px;font-size:18px;font-weight:500;line-height:30px;min-height:62px}.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: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:1px solid #cccccc;background:#e1e1e1;color:#888888;cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:fit-content;height:fit-content;aspect-ratio:1/1}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:4px;z-index:1;font-weight:500}sd-guide{display:inline-block;height:fit-content}sd-guide .sd-guide{display:inline-block}sd-guide .sd-guide .sd-button{padding:0 16px 0 12px;border-radius:16px;color:#333333 !important;display:flex;align-items:center;transition:none}sd-guide .sd-guide .sd-button .sd-button__content{color:#333333 !important}sd-guide .sd-guide .sd-button .sd-button__content .sd-button__label{color:#333333 !important;margin-left:4px}sd-guide .sd-guide--active .sd-button{border:1px solid #12b553}sd-guide .sd-guide--active .sd-button .sd-button__content .sd-button__label{color:white !important}.sd-guide__popup{position:relative;padding:20px 32px;border-radius:8px;box-shadow:4px 4px 24px 4px rgba(0, 0, 0, 0.1);background:white}.sd-guide__popup>.sd-guide__popup__close{position:absolute;top:12px;right:12px}.sd-guide__popup__header{display:flex;align-items:center;gap:8px;margin-bottom:12px}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;font-size:16px;font-weight:700;line-height:26px;color:#333333}.sd-guide__popup__list{width:100%;padding:0;margin:0}.sd-guide__popup__list__item{display:flex;width:100%;align-items:start;list-style:none;color:#333333;font-size:12px;font-weight:400}.sd-guide__popup__list__item p{width:100%;padding:0;margin:0;word-wrap:break-word;word-break:break-word;white-space:normal;overflow-wrap:break-word;min-width:0}.sd-guide__popup__list__item::before{display:block;content:\"-\";width:6px;color:#333333;font-size:12px;font-weight:400;margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-2::before{content:\"•\"}.sd-guide__popup__list__item--depth-2{padding-left:26px}";
151
+
152
+ const GUIDE_LABEL = {
153
+ help: '활용 TIP',
154
+ pdf: 'PDF Guide',
155
+ youtube: 'Video Guide',
156
+ notion: '사용법 안내',
157
+ event: 'Event Button',
158
+ };
159
+ const GUIDE_ICON = {
160
+ help: {
161
+ name: 'helpOutline',
162
+ size: 20,
163
+ color: resolveColor.colors.green_70,
164
+ },
165
+ pdf: { name: 'pdf', size: 20, color: resolveColor.colors.red_75 },
166
+ youtube: { name: 'youtube', size: 20, color: resolveColor.colors.red_75 },
167
+ notion: { name: 'notion', size: 16, color: resolveColor.colors.black },
168
+ event: { name: 'event', size: 16, color: resolveColor.colors.brilliantblue_70 },
169
+ };
170
+ const SdGuide = class {
171
+ constructor(hostRef) {
172
+ index.registerInstance(this, hostRef);
173
+ }
174
+ get el() { return index.getElement(this); }
175
+ type = 'help';
176
+ label = '';
177
+ message = '';
178
+ guideUrl = '';
179
+ popupTitle = '';
180
+ popupWidth;
181
+ popupShow = false;
182
+ guideRef;
183
+ handleClickGuide = () => {
184
+ if (this.type === 'help') {
185
+ this.popupShow = !this.popupShow;
186
+ return;
187
+ }
188
+ if (this.guideUrl) {
189
+ window.open(this.guideUrl, '_blank');
190
+ }
191
+ };
192
+ get guideClass() {
193
+ const classes = ['sd-guide', `sd-guide--${this.type}`];
194
+ if (this.popupShow)
195
+ classes.push('sd-guide--active');
196
+ return classes.join(' ');
197
+ }
198
+ closeDropdown = () => {
199
+ this.popupShow = false;
200
+ };
201
+ render() {
202
+ const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
203
+ return (index.h(index.Host, { key: 'd9bf823d000e8181c61798d9656c428c4a3cd6b6', style: {
204
+ '--sd-guide-color': GUIDE_ICON[this.type].color,
205
+ } }, index.h("sd-button", { key: 'fd25039c644bdd6e802624f2cbef3bfb4d797220', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (index.h("sd-portal", { key: '3bb296fa9a9419534af30fe3d2e2dd1bffe2aa53', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, index.h("div", { key: '2aacb47b2acedceb9114737da8d061022fea27a8', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, index.h("sd-button", { key: 'd4e3a1b49d15782a2b4cc50d6ebfc62ca19da555', class: "sd-guide__popup__close", icon: "close", color: resolveColor.colors.grey_65, size: "md", variant: "ghost", noHover: true,
206
+ // buttonStyle={{ padding: '0px', minHeight: '0px' }}
207
+ onSdClick: this.closeDropdown }), index.h("div", { key: 'ca5d8332066af0bac3083443488c3ebe5c064931', class: "sd-guide__popup__header" }, index.h("sd-icon", { key: '752a3ea8dde595e459b0681b317486c3896aa71f', name: "helpOutline", size: 24, color: resolveColor.colors.green_65 }), index.h("h3", { key: '52d5bdae6b82d9aabbf8dc98c2f05379fb8ffe7d', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), index.h("ul", { key: '07fe0fe4f2b9831721e95f318dfcd818ee11a415', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
208
+ }
209
+ // 현재 2depth까지만 스타일 적용
210
+ renderListItem(message, depth = 0) {
211
+ const listItems = [];
212
+ if (Array.isArray(message)) {
213
+ const depthMsg = message.map(msg => this.renderListItem(msg, depth + 1));
214
+ listItems.push(...depthMsg.flat());
215
+ }
216
+ else {
217
+ listItems.push(this.renderLi(message, depth));
218
+ }
219
+ return listItems;
220
+ }
221
+ renderLi = (message, depth) => {
222
+ const listContent = message.replace(/ /gi, ' ');
223
+ return (index.h("li", { class: `sd-guide__popup__list__item sd-guide__popup__list__item--depth-${depth}` }, index.h("p", { innerHTML: listContent })));
224
+ };
225
+ };
226
+ SdGuide.style = sdGuideCss;
227
+
151
228
  const Add8 = (props) => (index.h("svg", { width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, index.h("path", { d: "M3.99969 0.633484C4.16537 0.633484 4.29948 0.767622 4.2995 0.933289V3.69989H7.06708C7.23245 3.70014 7.36672 3.8343 7.36688 3.99969C7.36688 4.16523 7.23255 4.29925 7.06708 4.2995H4.2995V7.06708C4.29925 7.23255 4.16523 7.36688 3.99969 7.36688C3.8343 7.36672 3.70014 7.23245 3.69989 7.06708V4.2995H0.933289C0.767622 4.29948 0.633484 4.16537 0.633484 3.99969C0.633648 3.83416 0.767724 3.69991 0.933289 3.69989H3.69989V0.933289C3.69991 0.767724 3.83416 0.633648 3.99969 0.633484Z", fill: "currentColor" })));
152
229
 
153
230
  const Add10 = (props) => (index.h("svg", { width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, index.h("path", { d: "M5 0.766602C5.22088 0.766602 5.40034 0.946123 5.40039 1.16699V4.59961H8.83398C9.05461 4.59978 9.23317 4.77939 9.2334 5C9.2334 5.22081 9.05475 5.40022 8.83398 5.40039H5.40039V8.83398C5.40021 9.05475 5.22081 9.2334 5 9.2334C4.77939 9.23317 4.59979 9.05461 4.59961 8.83398V5.40039H1.16699C0.946123 5.40034 0.766602 5.22088 0.766602 5C0.766833 4.77931 0.946265 4.59966 1.16699 4.59961H4.59961V1.16699C4.59966 0.946265 4.77931 0.766833 5 0.766602Z", fill: "currentColor" })));
@@ -2157,7 +2234,7 @@ const SdIcon = class {
2157
2234
  }
2158
2235
  render() {
2159
2236
  const IconComponent = Icons[this.name]?.[this.size];
2160
- return (index.h("i", { key: '738453a8bc8d1b9bb67fbaaffb7de203c2982c30', class: this.getIconClasses(), style: this.iconStyle }, index.h(IconComponent, { key: '2f970609756be608b660a522949dd79cca64fcc8', color: this.resolvedColor })));
2237
+ return (index.h("i", { key: '856cad8bb2373b0d86734443144f79770c0715ec', class: this.getIconClasses(), style: this.iconStyle }, index.h(IconComponent, { key: 'd2a06ebbda1317cb72fec996b3bf3008ba171070', color: this.resolvedColor })));
2161
2238
  }
2162
2239
  };
2163
2240
  SdIcon.style = sdIconCss;
@@ -2262,11 +2339,11 @@ const SdInput = class {
2262
2339
  '--input-width': typeof this.width === 'number' ? `${this.width}px` : this.width,
2263
2340
  }
2264
2341
  : {};
2265
- return (index.h(index.Host, { key: '87a102220530a2e06620619967f1925f193b4794', style: inputWidth }, this.label && index.h("div", { key: 'dec1ef5b27dadc7b2c6c0e9f5dab978b338b5a45', class: "sd-input__label" }, this.label), index.h("label", { key: '72ba8b8b0019fd1bfc222207df4b42735457873d', class: {
2342
+ return (index.h(index.Host, { key: '0fc9bec4559137ede7daa7f2da5df00595991d5a', style: inputWidth }, this.label && index.h("div", { key: '3fd4e7d08aca431d7743ec4249a221c77f2fefd1', class: "sd-input__label" }, this.label), index.h("label", { key: 'bc80c41ffcb1312261b1139dcd0c390db32932df', class: {
2266
2343
  'sd-input': true,
2267
2344
  [this.getInputStatus()]: true,
2268
2345
  'sd-input--barcode': !!this.barcode,
2269
- }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, index.h("slot", { key: '7745177f5638351670adb3610325d44df156826e', name: "prefix" }), index.h("input", { key: '976949537b8071a409d94e93f803128946d73d48', ref: el => (this.nativeEl = el), class: `sd-input__native_element ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onChange: this.handleChange, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) }), index.h("slot", { key: 'b62387e0c2122cfb9f5599a108d54682df59fef6', name: "suffix" }), this.clearable && this.internalValue && (index.h("sd-icon", { key: 'b860d9c2387adf97d7317bba550b169ac9f4ac49', name: "close", color: "#888", class: "sd-input__clear-icon", onClick: () => {
2346
+ }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, index.h("slot", { key: 'b1df6c52c2dc92adde26cd535b008d35bc1c73d2', name: "prefix" }), index.h("input", { key: '5c02cca10b415521d569151c3b05cd9b2ae4b9b7', ref: el => (this.nativeEl = el), class: `sd-input__native_element ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onChange: this.handleChange, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) }), index.h("slot", { key: 'f85912a8f17712d0a4950a68d10d885556a1de44', name: "suffix" }), this.clearable && this.internalValue && (index.h("sd-icon", { key: '3087e7d22f06e2b29d17b37d2e95bdcbcc511bd4', name: "close", color: "#888", class: "sd-input__clear-icon", onClick: () => {
2270
2347
  this.internalValue = '';
2271
2348
  this.sdChange?.emit(this.internalValue);
2272
2349
  this.sdInput?.emit(this.internalValue);
@@ -2286,7 +2363,7 @@ const SdLoadingSpinner = class {
2286
2363
  index.registerInstance(this, hostRef);
2287
2364
  }
2288
2365
  render() {
2289
- return (index.h(index.Host, { key: '54446b42c83eff572c2d0d63c367a7e407d722a5' }, index.h("svg", { key: '92ad1f0446dc5912a656512d09ab4b8b3b262156', class: "sd-loading-spinner text-positive", width: "72px", height: "72px", viewBox: "25 25 50 50" }, index.h("circle", { key: 'b9b0c2ea5233fb5f5c784d0262c6ba526dc00622', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
2366
+ return (index.h(index.Host, { key: 'd064701b25e190fc5b7feefb542cbc7d30afc3f3' }, index.h("svg", { key: 'ec37a9ebea3e5b48817c687fae543186bb3cf29a', class: "sd-loading-spinner text-positive", width: "72px", height: "72px", viewBox: "25 25 50 50" }, index.h("circle", { key: '0b61caa65955019ddb08ed52a51718cf3f55a6e3', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
2290
2367
  }
2291
2368
  };
2292
2369
  SdLoadingSpinner.style = sdLoadingSpinnerCss;
@@ -2365,12 +2442,12 @@ const SdPagination = class {
2365
2442
  }
2366
2443
  }
2367
2444
  render() {
2368
- return (index.h("div", { key: '3b65d74d4b70b8b3292a20daa5d89ffb7d9a66e7', class: this.paginationClasses }, index.h("div", { key: 'a3be2b1c24ac6ac7ecde25223d9208e63e558bf3', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (index.h("div", { class: "pagination-info" }, index.h("span", { class: "current-page" }, this.currentPage), index.h("span", null, "/"), index.h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (index.h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
2445
+ return (index.h("div", { key: 'c8c241301297c8281d02643f5a31c97f77706fff', class: this.paginationClasses }, index.h("div", { key: '12ca5b852a648b168928934729d2215f6648bcc1', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (index.h("div", { class: "pagination-info" }, index.h("span", { class: "current-page" }, this.currentPage), index.h("span", null, "/"), index.h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (index.h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
2369
2446
  'pagination-btn': true,
2370
2447
  'pagination-btn--selected': this.currentPage === n,
2371
2448
  }, disabled: this.currentPage === n, style: {
2372
2449
  '--pagination-btn-width': `${this.buttonWidth}px`,
2373
- }, onClick: () => this.handlePageChange(n) }, n)))), index.h("div", { key: '9c145c18eacc2ab0115d162cbb50e5ad3ea62c80', class: "append-btns" }, this.renderNextButtons())));
2450
+ }, onClick: () => this.handlePageChange(n) }, n)))), index.h("div", { key: '0ff537ba6e5985be1e055f5b9eab5dd86dd11624', class: "append-btns" }, this.renderNextButtons())));
2374
2451
  }
2375
2452
  };
2376
2453
  SdPagination.style = sdPaginationCss;
@@ -2493,9 +2570,74 @@ const SdPortal = class {
2493
2570
  this.sdClose.emit();
2494
2571
  }
2495
2572
  render() {
2496
- return index.h("slot", { key: 'b24b7f844564365e887dc8cee8b98e26a94961cd' });
2573
+ return index.h("slot", { key: '2f6a1908864a2b5bbe86127fbf41b6b44a599666' });
2574
+ }
2575
+ };
2576
+
2577
+ const sdRadioGroupCss = "sd-radio-group{display:inline-block}sd-radio-group .sd-radio-group{display:flex}sd-radio-group .sd-radio-group--vertical{flex-direction:column;gap:8px}sd-radio-group .sd-radio-group--horizontal{flex-direction:row;align-items:center;gap:20px}sd-radio-group .sd-radio-group__option{width:fit-content;display:flex;align-items:center;gap:8px;font-weight:400;font-size:12px;line-height:20px;cursor:pointer}sd-radio-group .sd-radio-group__option:has(input:disabled){cursor:default}sd-radio-group .sd-radio-group__option input{position:relative;appearance:none;margin:0;width:16px;height:16px;border:1px solid #888888;border-radius:50%;cursor:pointer;accent-color:#0075ff;background-color:white}sd-radio-group .sd-radio-group__option input:checked{border-color:#0075ff;background-color:white}sd-radio-group .sd-radio-group__option input:checked::before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;background-color:#0075ff}sd-radio-group .sd-radio-group__option input:disabled{cursor:default;border-color:#cccccc;background-color:#eeeeee}sd-radio-group .sd-radio-group__option input:disabled:checked::before{background-color:#cccccc}sd-radio-group .sd-radio-group__option input:not(:disabled):hover{border-color:#0075ff;background-color:#d9eaff}sd-radio-group .sd-radio-group__label{font-size:12px;color:#333333;line-height:20px;user-select:none}sd-radio-group .sd-radio-group__option--disabled .sd-radio-group__label{color:#888888}";
2578
+
2579
+ const SdRadioGroup = class {
2580
+ constructor(hostRef) {
2581
+ index.registerInstance(this, hostRef);
2582
+ this.sdChange = index.createEvent(this, "sdChange");
2583
+ }
2584
+ value;
2585
+ radioOptions = [];
2586
+ direction = 'vertical';
2587
+ disabled = false;
2588
+ name;
2589
+ selectedValue;
2590
+ sdChange;
2591
+ componentWillLoad() {
2592
+ if (this.value) {
2593
+ this.selectedValue = this.value;
2594
+ }
2595
+ }
2596
+ valueChanged(newValue) {
2597
+ this.selectedValue = newValue;
2598
+ }
2599
+ handleRadioChange = (optionValue, optionDisabled) => {
2600
+ if (this.disabled || optionDisabled)
2601
+ return;
2602
+ this.selectedValue = optionValue;
2603
+ this.value = optionValue;
2604
+ this.sdChange.emit(optionValue);
2605
+ };
2606
+ isOptionSelected(option) {
2607
+ return this.selectedValue === option.value;
2608
+ }
2609
+ isOptionDisabled(option) {
2610
+ return this.disabled || !!option.disabled;
2611
+ }
2612
+ getRadioClasses(option) {
2613
+ const classes = [
2614
+ 'sd-radio-group__option',
2615
+ this.isOptionSelected(option)
2616
+ ? 'sd-radio-group__option--selected'
2617
+ : 'sd-radio-group__option--unselected',
2618
+ ];
2619
+ if (this.isOptionDisabled(option)) {
2620
+ classes.push('sd-radio-group__option--disabled');
2621
+ }
2622
+ return classes.join(' ');
2623
+ }
2624
+ getGroupClasses() {
2625
+ const classes = ['sd-radio-group', `sd-radio-group--${this.direction}`];
2626
+ return classes.join(' ');
2627
+ }
2628
+ render() {
2629
+ const groupName = this.name || `sd-radio-group-${Math.random().toString(36).substring(2, 11)}`;
2630
+ return (index.h("div", { key: 'd8f9d161395e7125bb65411ee6831e7e290900ba', class: this.getGroupClasses(), role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.radioOptions.map((option, index$1) => {
2631
+ const isSelected = this.isOptionSelected(option);
2632
+ const isDisabled = this.isOptionDisabled(option);
2633
+ return (index.h("label", { key: `radio-${index$1}`, class: this.getRadioClasses(option), role: "radio", "aria-checked": isSelected.toString(), "aria-disabled": isDisabled.toString(), "aria-label": option.label || 'radio option' }, index.h("input", { type: "radio", name: groupName, value: option.value.toString(), checked: isSelected, disabled: isDisabled, onInput: () => this.handleRadioChange(option.value, option.disabled) }), option.label && index.h("span", { class: "sd-radio-group__label" }, option.label)));
2634
+ })));
2497
2635
  }
2636
+ static get watchers() { return {
2637
+ "value": ["valueChanged"]
2638
+ }; }
2498
2639
  };
2640
+ SdRadioGroup.style = sdRadioGroupCss;
2499
2641
 
2500
2642
  const sdSelectCss = ".sd-select__dropdown{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.sd-select__dropdown::-webkit-scrollbar{opacity:0;background:#e5e5e5}.sd-select__dropdown::-webkit-scrollbar:horizontal{height:8px}.sd-select__dropdown::-webkit-scrollbar:vertical{width:8px}.sd-select__dropdown::-webkit-scrollbar-thumb{height:80px;background-color:#cccccc;border-radius:4px}.sd-select__dropdown::-webkit-scrollbar-track{background-color:transparent}.sd-select{display:flex;width:var(--select-width, 200px);height:28px;position:relative;color:#333333;cursor:pointer;user-select:none;border:1px solid #aaaaaa;border-radius:4px;background-color:white}.sd-select:hover:not(.sd-select--disabled){background:#f6f6f6}.sd-select.sd-select--disabled{cursor:not-allowed;background-color:#eeeeee;border-color:#cccccc}.sd-select.sd-select--disabled .sd-select__label{border-right:1px solid #cccccc}.sd-select.sd-select--disabled .sd-select__trigger{color:#888888}.sd-select.sd-select--disabled .sd-select__trigger:focus,.sd-select.sd-select--disabled .sd-select__trigger:focus-visible,.sd-select.sd-select--disabled .sd-select__trigger:focus-within{outline:none !important}.sd-select__label{font-size:12px;line-height:20px;font-weight:500;color:#333333;padding:4px 12px;border-right:1px solid #cccccc;border-radius:4px 0 0 4px;background-color:#f6f6f6;display:inline-block;white-space:nowrap}.sd-select__container{position:relative;width:100%;display:flex}.sd-select__container .sd-select__trigger{padding:4px 20px 4px 12px;display:flex;width:100%;align-items:center}.sd-select__container .sd-select__trigger .sd-select__value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:12px;font-weight:400;text-align:left}.sd-select__container .sd-select__trigger .sd-select__clear{margin:0 4px;width:8px;height:8px;background-color:transparent;outline:none;border:none}.sd-select__container .sd-select__arrow{position:absolute;top:8px;right:8px;width:12px;height:12px;color:#888888;transition:transform 0.3s ease}.sd-select__container .sd-select__arrow--open{transform:rotate(180deg)}.sd-select__dropdown{width:var(--select-dropdown-width, 200px);max-height:var(--select-dropdown-height, 260px);padding-bottom:2px;background-color:white;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);border-radius:4px;overflow-y:auto;color:#333333;display:flex;flex-direction:column}.sd-select__dropdown .sd-select__search-container{position:sticky;top:0;display:flex;width:100%;background-color:white;align-items:center;padding:4px 8px}.sd-select__dropdown .sd-select__search-container--scrolled{box-shadow:2px 2px 8px 2px rgba(0, 0, 0, 0.2)}.sd-select__dropdown .sd-select__option-placeholder{padding:4px 12px;font-size:12px;line-height:20px;text-align:left}";
2501
2643
 
@@ -2776,7 +2918,7 @@ const SdSelectOption = class {
2776
2918
  }
2777
2919
  };
2778
2920
  render() {
2779
- return (index.h(index.Host, { key: 'f1874b4e539573ddaa48cb2bdc9d13ea96bf350e' }, index.h("div", { key: '5a3bbd66f6623a1c02d5e1295bb974e82883b8a1', class: {
2921
+ return (index.h(index.Host, { key: '7cf5b51057f8eb7ad7cf7143225bcd842e5fa231' }, index.h("div", { key: 'ab9e02db38a0717b9aeb85890b150a6e59a9f7ee', class: {
2780
2922
  'sd-select__option': true,
2781
2923
  'sd-select__option--selected': this.isSelected,
2782
2924
  'sd-select__option--disabled': !!this.option.disabled,
@@ -2798,7 +2940,7 @@ const SdSelectOption = class {
2798
2940
  };
2799
2941
  SdSelectOption.style = sdSelectOptionCss;
2800
2942
 
2801
- const sdTableBackupCss = ".sd-table__wrapper .sd-table__container .sd-table__middle{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar{opacity:0;background:#e5e5e5}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:horizontal{height:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:vertical{width:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-thumb{height:80px;background-color:#cccccc;border-radius:4px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-track{background-color:transparent}.sd-table__wrapper{height:var(--table-height, auto);width:var(--table-width, 100%);color:#222222}.sd-table__wrapper .sd-table__container{width:100%;height:var(--table-container-height, auto);position:relative;border:1px solid #e1e1e1;border-radius:8px;font-size:12px;overflow:hidden;background:#ffffff}.sd-table__wrapper .sd-table__container .sd-table__middle{overflow:auto;will-change:scroll-position}.sd-table__wrapper .sd-table__container .sd-table__middle--scrollable{height:var(--table-container-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle--loading{overflow:hidden !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll{position:relative;height:var(--total-virtual-height, --table-container-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr:not([aria-hidden=true]){width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr[aria-hidden=true]{padding:0;border:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr[aria-hidden=true]:not(.sd-table__virtual-row-spacer) td{display:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable td.sd-td--selected,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable th.sd-th--selected{width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-header thead{position:sticky;top:0;z-index:120}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-right{position:sticky;background-color:#f5faff;z-index:110 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-right{position:sticky;background-color:white;z-index:100 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-left{left:var(--sticky-left-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-right{right:var(--sticky-right-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-cell{position:sticky;z-index:102;background-color:#f5faff}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-cell{position:sticky;z-index:101;background-color:white}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge:after{content:\"\";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge:after{content:\"\";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead{opacity:0.4}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead tr th.sd-th{border-bottom:1px solid rgba(225, 225, 225, 0.4) !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-td,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-th,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table .sd-th__content--label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead{height:36px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr{width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th{background:#f5faff;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #e1e1e1;-webkit-user-select:none;user-select:none;position:relative}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--left{justify-content:flex-start}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--center{justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--right{justify-content:flex-end}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #cccccc;border-right:1px solid #cccccc}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody .sd-table__loading{position:absolute;top:0;left:0;width:var(--table-width, 100%);height:var(--table-container-height, 100%);min-height:var(--table-container-height, 100%);background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td{height:44px;padding:0 16px;border-bottom:1px solid #e1e1e1;background:white;vertical-align:middle}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--left{text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--center{text-align:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--right{text-align:right}.sd-table__wrapper .sd-table__container .sd-table__bottom{background:white;text-align:center}.sd-table__wrapper .sd-table__container .sd-table__bottom .sd-table__no-data{padding-top:15%;color:#888888}.sd-table__wrapper .sd-table__pagination{position:relative;background:#f9f9f9;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e1e1;border-top:none;border-radius:8px}.sd-table__wrapper .sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.sd-table__wrapper .sd-table__virtual-spacer,.sd-table__wrapper .sd-table__virtual-row-spacer{padding:0}.sd-table__wrapper .sd-table__virtual-spacer td,.sd-table__wrapper .sd-table__virtual-row-spacer td{padding:0;border:none}.sd-table__wrapper .sd-table__virtual-spacer .sd-table__skeleton,.sd-table__wrapper .sd-table__virtual-row-spacer .sd-table__skeleton{width:100%;height:100%;background-image:repeating-linear-gradient(0deg, rgba(246, 246, 246, 0.3) 0px, rgba(225, 225, 225, 0.5) calc(var(--row-height, 44px) / 2), rgba(246, 246, 246, 0.3) var(--row-height, 44px));background-size:100% 200%;animation:skeleton-loading 1.5s ease-in-out infinite;position:relative}.sd-table__wrapper .sd-table__virtual-spacer .sd-table__skeleton::before,.sd-table__wrapper .sd-table__virtual-row-spacer .sd-table__skeleton::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background-image:repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row-height, 44px) - 1px), #e1e1e1 calc(var(--row-height, 44px) - 1px), #e1e1e1 var(--row-height, 44px));pointer-events:none}.sd-table__wrapper .sd-table__skeleton-cell{width:100%;height:20px;background:linear-gradient(90deg, rgba(246, 246, 246, 0.3) 0%, rgba(225, 225, 225, 0.5) 50%, rgba(246, 246, 246, 0.3) 100%);background-size:200% 100%;animation:skeleton-loading 1.5s ease-in-out infinite;border-radius:4px}@keyframes skeleton-loading{0%{background-position:0% 0%}50%{background-position:100% 100%}100%{background-position:0% 0%}}";
2943
+ const sdTableBackupCss = ".sd-table__wrapper .sd-table__container .sd-table__middle{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar{opacity:0;background:#e5e5e5}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:horizontal{height:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:vertical{width:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-thumb{height:80px;background-color:#cccccc;border-radius:4px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-track{background-color:transparent}.sd-table__wrapper{height:var(--table-height, auto);width:var(--table-width, 100%);color:#222222}.sd-table__wrapper .sd-table__container{width:100%;height:var(--table-container-height, auto);position:relative;border:1px solid #e1e1e1;border-radius:8px;font-size:12px;overflow:hidden;background:#ffffff}.sd-table__wrapper .sd-table__container .sd-table__middle{overflow:auto;will-change:scroll-position;min-height:var(--table-container-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle--scrollable{height:var(--table-container-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle--loading{overflow:hidden !important;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle--loading__spinner{position:absolute;top:0;left:0;width:100%;height:var(--table-container-height, 100%);min-height:var(--table-container-height, 100%);background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll{position:relative;height:var(--total-virtual-height, --table-container-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr:not([aria-hidden=true]){width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr[aria-hidden=true]{padding:0;border:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody.sd-table-tbody--virtual-scroll tr[aria-hidden=true]:not(.sd-table__virtual-row-spacer) td{display:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable td.sd-td--selected,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable th.sd-th--selected{width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-header thead{position:sticky;top:0;z-index:120}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-right{position:sticky;background-color:#f5faff;z-index:110 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-right{position:sticky;background-color:white;z-index:100 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-left{left:var(--sticky-left-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-right{right:var(--sticky-right-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-cell{position:sticky;z-index:102;background-color:#f5faff}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-cell{position:sticky;z-index:101;background-color:white}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge:after{content:\"\";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge:after{content:\"\";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead{opacity:0.4}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead tr th.sd-th{border-bottom:1px solid rgba(225, 225, 225, 0.4) !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-td,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-th,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table .sd-th__content--label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead{height:36px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr{width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th{background:#f5faff;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #e1e1e1;-webkit-user-select:none;user-select:none;position:relative}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--left{justify-content:flex-start}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--center{justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--right{justify-content:flex-end}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #cccccc;border-right:1px solid #cccccc}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td{height:44px;padding:0 16px;border-bottom:1px solid #e1e1e1;background:white;vertical-align:middle}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--left{text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--center{text-align:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--right{text-align:right}.sd-table__wrapper .sd-table__container .sd-table__bottom{background:white;text-align:center}.sd-table__wrapper .sd-table__container .sd-table__bottom .sd-table__no-data{padding-top:15%;color:#888888}.sd-table__wrapper .sd-table__pagination{position:relative;background:#f9f9f9;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e1e1;border-top:none;border-radius:8px}.sd-table__wrapper .sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.sd-table__wrapper .sd-table__virtual-spacer,.sd-table__wrapper .sd-table__virtual-row-spacer{padding:0 !important}.sd-table__wrapper .sd-table__virtual-spacer td,.sd-table__wrapper .sd-table__virtual-row-spacer td{padding:0 !important;border:none}.sd-table__wrapper .sd-table__virtual-spacer .sd-table__skeleton,.sd-table__wrapper .sd-table__virtual-row-spacer .sd-table__skeleton{width:100%;height:100%;background-image:repeating-linear-gradient(0deg, rgba(246, 246, 246, 0.3) 0px, rgba(225, 225, 225, 0.5) calc(var(--row-height, 44px) / 2), rgba(246, 246, 246, 0.3) var(--row-height, 44px));background-size:100% 200%;animation:skeleton-loading 1.5s ease-in-out infinite;position:relative}.sd-table__wrapper .sd-table__virtual-spacer .sd-table__skeleton::before,.sd-table__wrapper .sd-table__virtual-row-spacer .sd-table__skeleton::before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;background-image:repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row-height, 44px) - 1px), #e1e1e1 calc(var(--row-height, 44px) - 1px), #e1e1e1 var(--row-height, 44px));pointer-events:none}.sd-table__wrapper .sd-table__skeleton-cell{width:100%;height:20px;background:linear-gradient(90deg, rgba(246, 246, 246, 0.3) 0%, rgba(225, 225, 225, 0.5) 50%, rgba(246, 246, 246, 0.3) 100%);background-size:200% 100%;animation:skeleton-loading 1.5s ease-in-out infinite;border-radius:4px}@keyframes skeleton-loading{0%{background-position:0% 0%}50%{background-position:100% 100%}100%{background-position:0% 0%}}";
2802
2944
 
2803
2945
  const SdTable = class {
2804
2946
  constructor(hostRef) {
@@ -2857,6 +2999,7 @@ const SdTable = class {
2857
2999
  virtualStartColIdx = 0;
2858
3000
  virtualEndColIdx = 0;
2859
3001
  scrollLeftPosition = 0;
3002
+ // 가상 스크롤 Raf(Request Animation Frame) 관리
2860
3003
  scrollRequestAnimationFrame = null;
2861
3004
  scrollContainer = null;
2862
3005
  rafScheduled = false;
@@ -2864,19 +3007,39 @@ const SdTable = class {
2864
3007
  vertical: false,
2865
3008
  horizontal: false,
2866
3009
  };
3010
+ // 상태 캐시값
3011
+ cachedVisibleColumns = null;
3012
+ lastColumnsRef = null;
3013
+ cachedVirtualRows = null;
3014
+ cachedVirtualIndexKey = '';
3015
+ cachedColumnOrder = null;
3016
+ lastColumnOrderKey = '';
3017
+ // DOM 측정 캐시값
3018
+ cachedContainerHeight = 0;
3019
+ cachedContainerWidth = 0;
3020
+ // 스타일 캐시
3021
+ stickyStyleCache = new Map();
3022
+ // isAllChecked 캐시
3023
+ cachedIsAllChecked;
3024
+ lastSelectionKey = '';
3025
+ onScroll;
2867
3026
  handleColumnsChange(newCols) {
2868
3027
  this.columnWidths = newCols.map(c => parseInt(c.width || '120', 10));
3028
+ this.cleanUpVirtualCache();
3029
+ this.stickyStyleCache.clear();
2869
3030
  if (this.useVirtualScroll.horizontal) {
2870
3031
  this.scheduleUpdate('horizontal');
2871
3032
  }
2872
3033
  }
2873
3034
  handleColumnWidthsChange() {
3035
+ this.stickyStyleCache.clear();
2874
3036
  if (this.useVirtualScroll.horizontal) {
2875
3037
  this.scheduleUpdate('horizontal');
2876
3038
  }
2877
3039
  }
2878
3040
  handleRowsChange(newRows) {
2879
3041
  this.innerRows = [...newRows];
3042
+ this.cleanUpVirtualCache();
2880
3043
  if (this.useVirtualScroll.vertical) {
2881
3044
  this.scheduleUpdate('vertical');
2882
3045
  }
@@ -2884,11 +3047,19 @@ const SdTable = class {
2884
3047
  handleSelectedChange(newSelected) {
2885
3048
  this.innerSelected = new Set(newSelected);
2886
3049
  }
3050
+ cleanUpVirtualCache() {
3051
+ this.cachedVisibleColumns = null;
3052
+ this.lastColumnsRef = null;
3053
+ this.cachedVirtualRows = null;
3054
+ this.cachedVirtualIndexKey = '';
3055
+ this.cachedColumnOrder = null;
3056
+ this.lastColumnOrderKey = '';
3057
+ }
2887
3058
  handlePaginationChange(newVal) {
2888
3059
  if (newVal?.page && newVal.page !== this.currentPage) {
2889
3060
  this.currentPage = newVal.page;
2890
3061
  if (this.useVirtualScroll.vertical && this.scrollContainer) {
2891
- this.scrollContainer.scrollTop = 0;
3062
+ this.scrollContainer.scrollTo({ top: 0, behavior: 'instant' });
2892
3063
  this.scrollTopPosition = 0;
2893
3064
  this.calculateVisibleRange();
2894
3065
  }
@@ -2903,66 +3074,126 @@ const SdTable = class {
2903
3074
  }
2904
3075
  }
2905
3076
  componentDidLoad() {
2906
- // SSR 환경 체크
2907
- if (typeof window === 'undefined')
2908
- return;
2909
- const middle = this.el.querySelector('.sd-table__middle');
2910
- if (!middle)
2911
- return;
2912
- this.scrollContainer = middle;
2913
- const onScroll = () => {
2914
- const { scrollLeft, scrollWidth, clientWidth, scrollTop } = middle;
2915
- this.scrolledLeft = scrollLeft > 0;
2916
- this.scrolledRight = scrollLeft + clientWidth < scrollWidth;
2917
- // 실제 변경사항이 있을 때만 RAF 스케줄
2918
- const verticalChanged = this.useVirtualScroll.vertical && this.scrollTopPosition !== scrollTop;
2919
- const horizontalChanged = this.useVirtualScroll.horizontal && this.scrollLeftPosition !== scrollLeft;
2920
- if (verticalChanged || horizontalChanged) {
2921
- if (this.scrollRequestAnimationFrame !== null) {
2922
- cancelAnimationFrame(this.scrollRequestAnimationFrame);
3077
+ index.readTask(() => {
3078
+ const middle = this.el.querySelector('.sd-table__middle');
3079
+ if (!middle)
3080
+ return;
3081
+ this.onScroll = () => {
3082
+ const scrollLeft = middle.scrollLeft;
3083
+ const scrollWidth = middle.scrollWidth;
3084
+ const clientWidth = middle.clientWidth;
3085
+ const scrollTop = middle.scrollTop;
3086
+ const verticalChanged = this.useVirtualScroll.vertical && this.scrollTopPosition !== scrollTop;
3087
+ const horizontalChanged = this.useVirtualScroll.horizontal && this.scrollLeftPosition !== scrollLeft;
3088
+ const newScrolledLeft = scrollLeft > 0;
3089
+ const newScrolledRight = scrollLeft + clientWidth < scrollWidth;
3090
+ if (this.scrolledLeft !== newScrolledLeft || this.scrolledRight !== newScrolledRight) {
3091
+ this.scrolledLeft = newScrolledLeft;
3092
+ this.scrolledRight = newScrolledRight;
3093
+ }
3094
+ if (verticalChanged || horizontalChanged) {
3095
+ if (this.scrollRequestAnimationFrame !== null) {
3096
+ cancelAnimationFrame(this.scrollRequestAnimationFrame);
3097
+ }
3098
+ this.scrollRequestAnimationFrame = requestAnimationFrame(() => {
3099
+ if (verticalChanged) {
3100
+ this.scrollTopPosition = scrollTop;
3101
+ this.calculateVisibleRange();
3102
+ }
3103
+ if (horizontalChanged) {
3104
+ this.scrollLeftPosition = scrollLeft;
3105
+ this.calculateVisibleColumnRange();
3106
+ }
3107
+ this.scrollRequestAnimationFrame = null;
3108
+ });
2923
3109
  }
2924
- this.scrollRequestAnimationFrame = requestAnimationFrame(() => {
2925
- if (verticalChanged) {
2926
- this.scrollTopPosition = scrollTop;
3110
+ };
3111
+ this.scrollContainer = middle;
3112
+ requestAnimationFrame(() => {
3113
+ if (this.scrollContainer && this.onScroll) {
3114
+ this.cachedContainerHeight = this.scrollContainer.clientHeight;
3115
+ this.cachedContainerWidth = this.scrollContainer.clientWidth;
3116
+ middle.addEventListener('scroll', this.onScroll, { passive: true });
3117
+ if (this.useVirtualScroll.vertical) {
2927
3118
  this.calculateVisibleRange();
2928
3119
  }
2929
- if (horizontalChanged) {
2930
- this.scrollLeftPosition = scrollLeft;
3120
+ if (this.useVirtualScroll.horizontal) {
2931
3121
  this.calculateVisibleColumnRange();
2932
3122
  }
2933
- this.scrollRequestAnimationFrame = null;
2934
- });
2935
- }
3123
+ this.onScroll();
3124
+ }
3125
+ });
3126
+ });
3127
+ }
3128
+ changePage(page) {
3129
+ if (!this.useInternalPagination) {
3130
+ this.sdPageChange.emit(page);
3131
+ return;
3132
+ }
3133
+ this.currentPage = page;
3134
+ this.sdPageChange.emit(this.currentPage);
3135
+ }
3136
+ changeRowsPerPage(perPage) {
3137
+ const changedRowsPerPage = perPage ? Number(perPage) : 0;
3138
+ if (!this.useInternalPagination) {
3139
+ this.sdRowsPerPageChange.emit(changedRowsPerPage);
3140
+ return;
3141
+ }
3142
+ const newRowsPerPage = Number(perPage || 0);
3143
+ let newLastPage = Math.max(1, Math.ceil(this.innerRows.length / newRowsPerPage));
3144
+ let newCurrentPage = this.currentPage;
3145
+ if (newCurrentPage > newLastPage) {
3146
+ newCurrentPage = newLastPage;
3147
+ }
3148
+ this.pagination = {
3149
+ page: newCurrentPage,
3150
+ rowsPerPage: newRowsPerPage,
3151
+ lastPage: newLastPage,
2936
3152
  };
2937
- middle.addEventListener('scroll', onScroll, { passive: true });
2938
- onScroll();
3153
+ this.currentPage = newCurrentPage;
3154
+ this.sdRowsPerPageChange.emit(changedRowsPerPage);
2939
3155
  }
2940
3156
  disconnectedCallback() {
3157
+ if (this.scrollContainer && this.onScroll) {
3158
+ this.scrollContainer.removeEventListener('scroll', this.onScroll);
3159
+ }
2941
3160
  if (this.scrollRequestAnimationFrame !== null) {
2942
3161
  cancelAnimationFrame(this.scrollRequestAnimationFrame);
2943
3162
  }
2944
3163
  }
2945
3164
  // ----- Derived getters -----
2946
3165
  get visibleColumns() {
2947
- return this.columns.filter(col => col.visible !== false);
3166
+ if (this.cachedVisibleColumns && this.lastColumnsRef === this.columns) {
3167
+ return this.cachedVisibleColumns;
3168
+ }
3169
+ this.lastColumnsRef = this.columns;
3170
+ this.cachedVisibleColumns = this.columns.filter(col => col.visible !== false);
3171
+ return this.cachedVisibleColumns;
2948
3172
  }
2949
3173
  get paginatedRows() {
2950
3174
  if (!this.pagination || !this.useInternalPagination)
2951
3175
  return this.innerRows;
2952
3176
  const { rowsPerPage = this.rows.length } = this.pagination || {};
2953
- const result = this.innerRows.slice((this.currentPage - 1) * rowsPerPage, this.currentPage * rowsPerPage);
2954
- return result;
3177
+ return this.innerRows.slice((this.currentPage - 1) * rowsPerPage, this.currentPage * rowsPerPage);
2955
3178
  }
2956
3179
  get virtualRows() {
3180
+ const newVirtualIndexKey = `${this.virtualStartIndex}-${this.virtualEndIndex}`;
3181
+ if (this.cachedVirtualRows && this.cachedVirtualIndexKey === newVirtualIndexKey) {
3182
+ return this.cachedVirtualRows;
3183
+ }
3184
+ this.cachedVirtualIndexKey = newVirtualIndexKey;
2957
3185
  if (!this.useVirtualScroll.vertical) {
2958
- return this.paginatedRows.map((row, idx) => ({ row, actualIndex: idx }));
3186
+ this.cachedVirtualRows = this.paginatedRows.map((row, idx) => ({ row, actualIndex: idx }));
3187
+ }
3188
+ else {
3189
+ this.cachedVirtualRows = this.paginatedRows
3190
+ .slice(this.virtualStartIndex, this.virtualEndIndex + 1)
3191
+ .map((row, relativeIdx) => ({
3192
+ row,
3193
+ actualIndex: this.virtualStartIndex + relativeIdx,
3194
+ }));
2959
3195
  }
2960
- return this.paginatedRows
2961
- .slice(this.virtualStartIndex, this.virtualEndIndex + 1)
2962
- .map((row, relativeIdx) => ({
2963
- row,
2964
- actualIndex: this.virtualStartIndex + relativeIdx,
2965
- }));
3196
+ return this.cachedVirtualRows;
2966
3197
  }
2967
3198
  get topSpacerHeight() {
2968
3199
  if (!this.useVirtualScroll.vertical || this.virtualStartIndex === 0)
@@ -3035,6 +3266,7 @@ const SdTable = class {
3035
3266
  if (newSelected.length === selectedArray.length)
3036
3267
  return;
3037
3268
  this.innerSelected = new Set(newSelected);
3269
+ this.cachedIsAllChecked = undefined;
3038
3270
  this.sdSelectChange.emit(Array.from(this.innerSelected));
3039
3271
  }
3040
3272
  toggleSelectAll(checked) {
@@ -3046,16 +3278,29 @@ const SdTable = class {
3046
3278
  const currentPageKeys = this.paginatedRows.map(r => r[this.rowKey]);
3047
3279
  this.innerSelected = new Set([...this.innerSelected].filter(r => !currentPageKeys.includes(r[this.rowKey])));
3048
3280
  }
3281
+ this.cachedIsAllChecked = undefined;
3049
3282
  this.sdSelectChange.emit(Array.from(this.innerSelected));
3050
3283
  }
3051
3284
  get isAllChecked() {
3285
+ const selectionKey = `${this.paginatedRows.length}-${this.innerSelected.size}`;
3286
+ if (this.cachedIsAllChecked !== undefined && this.lastSelectionKey === selectionKey) {
3287
+ return this.cachedIsAllChecked;
3288
+ }
3052
3289
  const total = this.paginatedRows.length;
3053
3290
  const selectedCount = this.paginatedRows.filter(row => Array.from(this.innerSelected).some(selectedRow => selectedRow[this.rowKey] === row[this.rowKey])).length;
3054
- if (selectedCount === 0)
3055
- return false; // 아무것도 안 선택됨
3056
- if (selectedCount === total)
3057
- return true; // 전부 선택됨
3058
- return null; // 일부만 선택됨
3291
+ let result;
3292
+ if (selectedCount === 0) {
3293
+ result = false; // 아무것도 안 선택됨
3294
+ }
3295
+ else if (selectedCount === total) {
3296
+ result = true; // 전부 선택됨
3297
+ }
3298
+ else {
3299
+ result = null; // 일부만 선택됨
3300
+ }
3301
+ this.cachedIsAllChecked = result;
3302
+ this.lastSelectionKey = selectionKey;
3303
+ return result;
3059
3304
  }
3060
3305
  // RAF 통합 관리
3061
3306
  scheduleUpdate(type) {
@@ -3081,13 +3326,22 @@ const SdTable = class {
3081
3326
  return;
3082
3327
  }
3083
3328
  const scrollTop = this.scrollTopPosition;
3084
- const containerHeight = this.scrollContainer?.clientHeight || 0;
3329
+ let containerHeight = this.cachedContainerHeight;
3330
+ if (containerHeight === 0 && this.scrollContainer) {
3331
+ containerHeight = this.scrollContainer.clientHeight;
3332
+ this.cachedContainerHeight = containerHeight;
3333
+ }
3334
+ const bufferSize = this.virtualBufferSize.vertical || 5;
3085
3335
  const startIndex = Math.floor(scrollTop / this.virtualRowHeight);
3086
3336
  const visibleCount = Math.ceil(containerHeight / this.virtualRowHeight);
3087
- const endIndex = startIndex + visibleCount;
3088
- const bufferSize = this.virtualBufferSize.vertical || 5;
3089
- this.virtualStartIndex = Math.max(0, startIndex - bufferSize);
3090
- this.virtualEndIndex = Math.min(this.paginatedRows.length - 1, endIndex + bufferSize);
3337
+ const endIndex = startIndex + visibleCount - 1;
3338
+ const newStartIndex = Math.max(0, startIndex - bufferSize);
3339
+ const newEndIndex = Math.min(this.paginatedRows.length - 1, endIndex + bufferSize);
3340
+ // 실제로 변경된 경우에만 상태 업데이트
3341
+ if (this.virtualStartIndex !== newStartIndex || this.virtualEndIndex !== newEndIndex) {
3342
+ this.virtualStartIndex = newStartIndex;
3343
+ this.virtualEndIndex = newEndIndex;
3344
+ }
3091
3345
  }
3092
3346
  // 가로 가상 스크롤 렌더링 계산
3093
3347
  calculateVisibleColumnRange() {
@@ -3097,7 +3351,12 @@ const SdTable = class {
3097
3351
  return;
3098
3352
  }
3099
3353
  const scrollLeft = this.scrollLeftPosition;
3100
- const containerWidth = this.scrollContainer?.clientWidth || 0;
3354
+ // 캐시된 사용, 없으면 측정 후 캐시
3355
+ let containerWidth = this.cachedContainerWidth;
3356
+ if (containerWidth === 0 && this.scrollContainer) {
3357
+ containerWidth = this.scrollContainer.clientWidth;
3358
+ this.cachedContainerWidth = containerWidth;
3359
+ }
3101
3360
  const stickyLeftCount = this.stickyColumn.left || 0;
3102
3361
  const stickyRightCount = this.stickyColumn.right || 0;
3103
3362
  // 가상 스크롤 컬럼 - sticky column 제외
@@ -3137,22 +3396,34 @@ const SdTable = class {
3137
3396
  }
3138
3397
  }
3139
3398
  const bufferSize = this.virtualBufferSize.horizontal || 5;
3140
- this.virtualStartColIdx = Math.max(0, startIdx - bufferSize);
3141
- this.virtualEndColIdx = Math.min(virtualColumns.length - 1, endIdx + bufferSize);
3399
+ const newStartColIdx = Math.max(0, startIdx - bufferSize);
3400
+ const newEndColIdx = Math.min(virtualColumns.length - 1, endIdx + bufferSize);
3401
+ // 실제로 변경된 경우에만 상태 업데이트
3402
+ if (this.virtualStartColIdx !== newStartColIdx || this.virtualEndColIdx !== newEndColIdx) {
3403
+ this.virtualStartColIdx = newStartColIdx;
3404
+ this.virtualEndColIdx = newEndColIdx;
3405
+ }
3142
3406
  }
3143
3407
  // ----- Helpers -----
3144
3408
  getStickyStyle(colIdx) {
3409
+ // 캐시된 스타일이 있으면 반환
3410
+ if (this.stickyStyleCache.has(colIdx)) {
3411
+ return this.stickyStyleCache.get(colIdx);
3412
+ }
3145
3413
  const leftOffset = this.columnWidths.slice(0, colIdx).reduce((a, b) => a + b, 0) + (this.selectable ? 52 : 0);
3146
3414
  const rightOffset = this.columnWidths
3147
3415
  .filter((_, i) => i >= this.visibleColumns.length - (this.stickyColumn.right || 0) && i > colIdx)
3148
3416
  .reduce((a, b) => a + b, 0);
3149
- return {
3417
+ const style = {
3150
3418
  '--sticky-left-offset': `${leftOffset}px`,
3151
3419
  '--sticky-right-offset': `${rightOffset}px`,
3152
3420
  'width': `${this.columnWidths[colIdx]}px`,
3153
3421
  'minWidth': `${this.columnWidths[colIdx]}px`,
3154
3422
  'maxWidth': `${this.columnWidths[colIdx]}px`,
3155
3423
  };
3424
+ // 스타일 캐시에 저장
3425
+ this.stickyStyleCache.set(colIdx, style);
3426
+ return style;
3156
3427
  }
3157
3428
  handleResize(index, event) {
3158
3429
  // SSR 환경 체크
@@ -3182,6 +3453,10 @@ const SdTable = class {
3182
3453
  return format ? format(value, row) : value;
3183
3454
  }
3184
3455
  getColumnRenderedInOrder() {
3456
+ const orderKey = `${this.visibleColumns.length}-${this.virtualStartColIdx}-${this.virtualEndColIdx}`;
3457
+ if (this.cachedColumnOrder && this.lastColumnOrderKey === orderKey) {
3458
+ return this.cachedColumnOrder;
3459
+ }
3185
3460
  const stickyLeftCount = this.stickyColumn.left || 0;
3186
3461
  const stickyRightCount = this.stickyColumn.right || 0;
3187
3462
  // Sticky left 컬럼들
@@ -3192,13 +3467,15 @@ const SdTable = class {
3192
3467
  .slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount)
3193
3468
  .slice(this.virtualStartColIdx, this.virtualEndColIdx + 1)
3194
3469
  : this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
3195
- return {
3470
+ this.cachedColumnOrder = {
3196
3471
  stickyLeftCount,
3197
3472
  stickyRightCount,
3198
3473
  stickyLeftCols,
3199
3474
  middleCols,
3200
3475
  stickyRightCols,
3201
3476
  };
3477
+ this.lastColumnOrderKey = orderKey;
3478
+ return this.cachedColumnOrder;
3202
3479
  }
3203
3480
  // ----- Render -----
3204
3481
  renderHead() {
@@ -3236,7 +3513,7 @@ const SdTable = class {
3236
3513
  }))));
3237
3514
  }
3238
3515
  renderBody() {
3239
- return (index.h("tbody", { ...(!this.paginatedRows.length && { part: 'tbody-empty' }), class: `sd-table-tbody ${this.useVirtualScroll.vertical ? 'sd-table-tbody--virtual-scroll' : ''}`, style: { '--total-virtual-height': `${this.totalVirtualHeight}px` } }, this.isLoading && (index.h("div", { class: "sd-table__loading" }, index.h("sd-loading-spinner", null))), this.useVirtualScroll.vertical && this.topSpacerHeight > 0 && this.renderSpacerRow('top'), this.paginatedRows.length > 0 &&
3516
+ return (index.h("tbody", { ...(!this.paginatedRows.length && { part: 'tbody-empty' }), class: `sd-table-tbody ${this.useVirtualScroll.vertical ? 'sd-table-tbody--virtual-scroll' : ''}`, style: { '--total-virtual-height': `${this.totalVirtualHeight}px` } }, this.useVirtualScroll.vertical && this.topSpacerHeight > 0 && this.renderSpacerRow('top'), this.paginatedRows.length > 0 &&
3240
3517
  this.virtualRows.map(({ row, actualIndex }) => this.renderRow(row, actualIndex)), this.useVirtualScroll.vertical &&
3241
3518
  this.bottomSpacerHeight > 0 &&
3242
3519
  this.renderSpacerRow('bottom')));
@@ -3306,44 +3583,16 @@ const SdTable = class {
3306
3583
  }, "aria-hidden": "true" }, index.h("div", { class: "sd-table__skeleton-cell" })));
3307
3584
  }
3308
3585
  render() {
3309
- return (index.h(index.Host, { key: '658ead41c51d9f031c0334d91cad9a06811721b9' }, index.h("div", { key: 'c98a48d31b16cbd934e4ae47b55bcfeaa5db2520', class: "sd-table__wrapper", style: {
3586
+ return (index.h(index.Host, { key: '85b4655b2ee298d535add2e43c2ef73b8c816716' }, index.h("div", { key: '9fc71a34045a725db9fa19fec9954d1edb90f1e4', class: "sd-table__wrapper", style: {
3310
3587
  '--table-width': this.width,
3311
3588
  '--table-height': this.height,
3312
- } }, index.h("div", { key: '080fc2b81b016c4876cf90502952e49a5e468534', class: "sd-table__container", style: {
3589
+ } }, index.h("div", { key: 'dcb78c1bac32c68bc5ac81beece5ee8ca74025ba', class: "sd-table__container", style: {
3313
3590
  '--table-container-height': `calc(${this.height} - ${this.pagination && this.innerRows.length > 0 ? 48 : 0}px)`,
3314
- } }, index.h("div", { key: 'd56754a7cd4acc0505bb36d2d8a116a20d19c0e4', class: {
3591
+ } }, index.h("div", { key: 'e0bb087930f0cf07c06c6f5684a5b26fa5e25a02', class: {
3315
3592
  'sd-table__middle': true,
3316
3593
  'sd-table__middle--scrollable': this.paginatedRows.length > 0,
3317
3594
  'sd-table__middle--loading': this.isLoading,
3318
- } }, index.h("table", { key: '39d620db8e2f9ea585f8c73222687f59aaa830e6', part: "table", class: this.sdTableClasses }, this.renderHead(), this.renderBody())), index.h("div", { key: 'dcd87252620d5fb95deda064e2a7b4e6871c9dc1', class: "sd-table__bottom" }, !this.paginatedRows.length && (index.h("div", { key: 'd31ea2dbc747385fb7f7a733725e0e34f24f4489', class: "sd-table__no-data" }, index.h("slot", { key: '8375b5f42dafa7d430ad33226500d2a84b099990', name: "no-data" }, this.noDataLabel))))), this.pagination && this.innerRows.length > 0 && (index.h("div", { key: '2b231be27d05c5bb52ff1c0ced255f10be449068', class: "sd-table__pagination" }, index.h("sd-pagination", { key: '45676f7c4c931896c6414fa8beb6a6c23e203e92', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onPageChange: (e) => {
3319
- if (!this.useInternalPagination) {
3320
- this.sdPageChange.emit(e.detail);
3321
- }
3322
- else {
3323
- this.currentPage = e.detail;
3324
- this.sdPageChange.emit(this.currentPage);
3325
- }
3326
- } }), this.useRowsPerPageSelect && (index.h("sd-select", { key: '3f65639b064a27993dc62a8e4a5dc86b16aec4f8', value: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", onSdChange: (e) => {
3327
- const changedRowsPerPage = e.detail.value ? Number(e.detail.value) : 0;
3328
- if (!this.useInternalPagination) {
3329
- this.sdRowsPerPageChange.emit(changedRowsPerPage);
3330
- }
3331
- else {
3332
- const newRowsPerPage = Number(e.detail.value || 0);
3333
- let newLastPage = Math.max(1, Math.ceil(this.innerRows.length / newRowsPerPage));
3334
- let newCurrentPage = this.currentPage;
3335
- if (newCurrentPage > newLastPage) {
3336
- newCurrentPage = newLastPage;
3337
- }
3338
- this.pagination = {
3339
- page: newCurrentPage,
3340
- rowsPerPage: newRowsPerPage,
3341
- lastPage: newLastPage,
3342
- };
3343
- this.currentPage = newCurrentPage;
3344
- this.sdRowsPerPageChange.emit(changedRowsPerPage);
3345
- }
3346
- } })))))));
3595
+ } }, this.isLoading && (index.h("div", { key: '4f36b5fc670aa98774e565b000cc1623a6cae0af', class: "sd-table__middle--loading__spinner" }, index.h("sd-loading-spinner", { key: '2e794ac56824bfad1f9f42482b75498e7f2ca70c' }))), index.h("table", { key: 'a4017ae90c8f932c22b26d7f81c9fc13785e52d0', part: "table", class: this.sdTableClasses }, this.renderHead(), this.renderBody())), index.h("div", { key: 'c7b008d66c47442d25a977d76b7b6dd266d7f008', class: "sd-table__bottom" }, !this.paginatedRows.length && (index.h("div", { key: '20235f4747c2396710b44d46ea1da659156bb9ca', class: "sd-table__no-data" }, index.h("slot", { key: '432a8669c4942eb92c4bce7f0b08cb9cb1f9f6e3', name: "no-data" }, this.noDataLabel))))), this.pagination && this.innerRows.length > 0 && (index.h("div", { key: 'f9f6dc05c1004b03e10ece4c091d67ca564b1633', class: "sd-table__pagination" }, index.h("sd-pagination", { key: 'd7efd361091fe9725e8c79289501506a779e1111', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (index.h("sd-select", { key: '401d35d85c2fc78094c267f27d74055108179f9e', value: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", onSdChange: (e) => this.changeRowsPerPage(e.detail.value) })))))));
3347
3596
  }
3348
3597
  static get watchers() { return {
3349
3598
  "columns": ["handleColumnsChange"],
@@ -3403,20 +3652,20 @@ const SdTooltip = class {
3403
3652
  : {
3404
3653
  onClick: () => (this.showTooltip = !this.showTooltip),
3405
3654
  };
3406
- return (index.h(index.Fragment, { key: 'fc892ba2872491bca673db93fed5c4b724c7141d' }, this.label ? (index.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", ...handleTrigger })) : (index.h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (index.h("sd-tooltip-portal", { key: 'd6b8099b49ffc120c05bd797e3eb2c2c9c40238e', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, index.h("div", { key: '06eca5d091eec639a556472605140bdccf6c4869', class: {
3655
+ return (index.h(index.Fragment, { key: 'ca1fc3ffdb493ee2aeb0ef9ef874a164d50a1d34' }, this.label ? (index.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", ...handleTrigger })) : (index.h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (index.h("sd-tooltip-portal", { key: '840728261961211b5d12e6bf6c97aa044f97f133', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, index.h("div", { key: '80933fad7b61af35ba41f171848c431ee4b0ff0e', class: {
3407
3656
  'sd-tooltip-menu': true,
3408
3657
  [`sd-tooltip-menu--${this.type}`]: true,
3409
3658
  [`sd-tooltip-menu--${this.placement}`]: true,
3410
3659
  'sd-tooltip-menu--with-close': this.useClose,
3411
3660
  [`bg-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
3412
3661
  [`text-${SdTooltip.COLOR_OF_TYPE[this.type].text}`]: true,
3413
- } }, index.h("i", { key: '38ad3f0461c6578140e9a0f253c1f0cd5343f0bf', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, index.h(tooltipArrow.TooltipArrow, { key: '58b5d5e25512f191ee652c34815f8ad33a496a31', class: {
3662
+ } }, index.h("i", { key: 'c166fc91a2f49840dfea98c4ca1010892e571b48', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, index.h(tooltipArrow.TooltipArrow, { key: '58a04b43a4f3333aa9e34d2c1dda7f03e9493e21', class: {
3414
3663
  [`text-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
3415
- } })), index.h("div", { key: 'a29c4aa221aa9b833b9b0de101b658f5c5351ec0', class: "sd-tooltip-menu__content", ref: el => {
3664
+ } })), index.h("div", { key: 'd49d44d196c266482974beef4da124f32ec39825', class: "sd-tooltip-menu__content", ref: el => {
3416
3665
  if (el && this.slotContent && !el.hasChildNodes()) {
3417
3666
  el.appendChild(this.slotContent.cloneNode(true));
3418
3667
  }
3419
- } }, !this.slotContent && index.h("span", { key: 'a9e016d086156d522980b99187c9b040ccb232b9' }, this.el.textContent)), this.useClose && (index.h("div", { key: 'ae54793f18dcb7e759bd4ea2d7570cd56f45eb9a', class: "sd-tooltip-menu__close-button" }, index.h("button", { key: '1c3dc26d1bba1eaaed42757dae9a38613a86aea8', type: "button", "aria-label": "Close tooltip", title: "Close tooltip", onClick: () => this.handleClose() }, index.h("sd-icon", { key: '3b7f9dafaa7f1a3686f123a12acae6b35fd1849d', name: "close", size: "12", color: "#AAAAAA" })))))))));
3668
+ } }, !this.slotContent && index.h("span", { key: '5543dd3bc313e033379da9b3e0c4b4f929ec899c' }, this.el.textContent)), this.useClose && (index.h("div", { key: 'e32069afe16667a1bbfcc2e57ef6f2888fd9a5d6', class: "sd-tooltip-menu__close-button" }, index.h("button", { key: '913909f8479496c9344df5d64ba3eb9e5a073658', type: "button", "aria-label": "Close tooltip", title: "Close tooltip", onClick: () => this.handleClose() }, index.h("sd-icon", { key: 'ebde71b66b5b805d8ca99911ecfe9e6319a1f9be', name: "close", size: "12", color: "#AAAAAA" })))))))));
3420
3669
  }
3421
3670
  };
3422
3671
  SdTooltip.style = sdTooltipCss;
@@ -3570,20 +3819,22 @@ const SdTooltipPortal = class {
3570
3819
  this.sdClose.emit();
3571
3820
  }
3572
3821
  render() {
3573
- return index.h("slot", { key: 'b8c60526ca9acb16821b1952b526fad452d1d5e7' });
3822
+ return index.h("slot", { key: 'b8652906919bc46c2f36710de6e65b33276bf31a' });
3574
3823
  }
3575
3824
  };
3576
3825
 
3577
3826
  exports.sd_button = SdButton;
3578
3827
  exports.sd_checkbox = SdCheckbox;
3828
+ exports.sd_guide = SdGuide;
3579
3829
  exports.sd_icon = SdIcon;
3580
3830
  exports.sd_input = SdInput;
3581
3831
  exports.sd_loading_spinner = SdLoadingSpinner;
3582
3832
  exports.sd_pagination = SdPagination;
3583
3833
  exports.sd_portal = SdPortal;
3834
+ exports.sd_radio_group = SdRadioGroup;
3584
3835
  exports.sd_select = SdSelect;
3585
3836
  exports.sd_select_option = SdSelectOption;
3586
3837
  exports.sd_table_backup = SdTable;
3587
3838
  exports.sd_tooltip = SdTooltip;
3588
3839
  exports.sd_tooltip_portal = SdTooltipPortal;
3589
- //# sourceMappingURL=sd-button.sd-checkbox.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map
3840
+ //# sourceMappingURL=sd-button.sd-checkbox.sd-guide.sd-icon.sd-input.sd-loading-spinner.sd-pagination.sd-portal.sd-radio-group.sd-select.sd-select-option.sd-table-backup.sd-tooltip.sd-tooltip-portal.entry.cjs.js.map