@sellmate/design-system 0.0.48 → 0.0.49

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 (198) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  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 +1 -1
  5. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  6. 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 +1 -1
  7. package/dist/cjs/sd-button_12.cjs.entry.js +206 -105
  8. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  9. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  10. package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
  11. package/dist/cjs/sd-date-range-picker.cjs.entry.js +3 -3
  12. package/dist/cjs/sd-guide.cjs.entry.js +4 -4
  13. package/dist/cjs/sd-modal-card.cjs.entry.js +1 -1
  14. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  15. package/dist/cjs/sd-progress.cjs.entry.js +3 -3
  16. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
  17. package/dist/cjs/sd-select-multiple.cjs.entry.js +3 -3
  18. package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
  19. package/dist/cjs/sd-table.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-tag.cjs.entry.js +2 -2
  21. package/dist/cjs/sd-tbody_3.cjs.entry.js +4 -4
  22. package/dist/cjs/sd-td.cjs.entry.js +3 -3
  23. package/dist/cjs/{tooltipArrow-DNiGFQNW.js → tooltipArrow-C7cIAuTo.js} +3 -3
  24. package/dist/cjs/{tooltipArrow-DNiGFQNW.js.map → tooltipArrow-C7cIAuTo.js.map} +1 -1
  25. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  26. package/dist/collection/components/sd-card/sd-card.js +1 -1
  27. package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
  28. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
  29. package/dist/collection/components/sd-guide/sd-guide.js +3 -3
  30. package/dist/collection/components/sd-icon/sd-icon.js +1 -1
  31. package/dist/collection/components/sd-input/sd-input.js +2 -2
  32. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
  33. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  34. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  35. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  36. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  37. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  38. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +2 -2
  39. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  40. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
  41. package/dist/collection/components/sd-table/sd-td/sd-td.js +2 -2
  42. package/dist/collection/components/sd-table/sd-th/sd-th.js +1 -1
  43. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +1 -1
  44. package/dist/collection/components/sd-table-backup/sd-table-backup.css +17 -15
  45. package/dist/collection/components/sd-table-backup/sd-table-backup.js +191 -90
  46. package/dist/collection/components/sd-table-backup/sd-table-backup.js.map +1 -1
  47. package/dist/collection/components/sd-tag/sd-tag.js +1 -1
  48. package/dist/collection/components/sd-tooltip/sd-tooltip.js +4 -4
  49. package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
  50. package/dist/components/index.js +1 -1
  51. package/dist/components/{p-Bn_wuPsh.js → p-BAhPNR2w.js} +8 -8
  52. package/dist/components/{p-Bn_wuPsh.js.map → p-BAhPNR2w.js.map} +1 -1
  53. package/dist/components/{p-C9qV_qzP.js → p-BozMKCTh.js} +6 -6
  54. package/dist/components/{p-C9qV_qzP.js.map → p-BozMKCTh.js.map} +1 -1
  55. package/dist/components/{p-BvuTaRpn.js → p-BpNH68jy.js} +3 -3
  56. package/dist/components/{p-BvuTaRpn.js.map → p-BpNH68jy.js.map} +1 -1
  57. package/dist/components/{p-CIkSynaQ.js → p-C930Kn80.js} +4 -4
  58. package/dist/components/{p-CIkSynaQ.js.map → p-C930Kn80.js.map} +1 -1
  59. package/dist/components/{p-Cb33bhDR.js → p-CRB0WJnC.js} +4 -4
  60. package/dist/components/{p-Cb33bhDR.js.map → p-CRB0WJnC.js.map} +1 -1
  61. package/dist/components/{p-DWfls6IE.js → p-CVDnYikl.js} +11 -11
  62. package/dist/components/{p-DWfls6IE.js.map → p-CVDnYikl.js.map} +1 -1
  63. package/dist/components/{p-BBhUxTuK.js → p-CaLViLir.js} +9 -9
  64. package/dist/components/{p-BBhUxTuK.js.map → p-CaLViLir.js.map} +1 -1
  65. package/dist/components/{p-BlDZogGu.js → p-CePRmFej.js} +4 -4
  66. package/dist/components/{p-BlDZogGu.js.map → p-CePRmFej.js.map} +1 -1
  67. package/dist/components/{p-lS2AF6uZ.js → p-CxKXdl1J.js} +6 -6
  68. package/dist/components/{p-lS2AF6uZ.js.map → p-CxKXdl1J.js.map} +1 -1
  69. package/dist/components/{p-D2rvzY8X.js → p-D2YMmHfl.js} +4 -4
  70. package/dist/components/{p-D2rvzY8X.js.map → p-D2YMmHfl.js.map} +1 -1
  71. package/dist/components/{p-B6GiEilD.js → p-D2aGA3BX.js} +4 -4
  72. package/dist/components/{p-B6GiEilD.js.map → p-D2aGA3BX.js.map} +1 -1
  73. package/dist/components/{p-CMcI4ZlP.js → p-DC5fpNnQ.js} +4 -4
  74. package/dist/components/{p-CMcI4ZlP.js.map → p-DC5fpNnQ.js.map} +1 -1
  75. package/dist/components/{p-Cafw-qR4.js → p-DY6t0qQj.js} +3 -3
  76. package/dist/components/{p-Cafw-qR4.js.map → p-DY6t0qQj.js.map} +1 -1
  77. package/dist/components/{p-DsXAGqf9.js → p-Dg_O2miv.js} +4 -4
  78. package/dist/components/{p-DsXAGqf9.js.map → p-Dg_O2miv.js.map} +1 -1
  79. package/dist/components/{p-DCDoqfn8.js → p-LziGti_p.js} +4 -4
  80. package/dist/components/{p-DCDoqfn8.js.map → p-LziGti_p.js.map} +1 -1
  81. package/dist/components/{p-WhZES_rm.js → p-RZm_wGW3.js} +6 -6
  82. package/dist/components/{p-WhZES_rm.js.map → p-RZm_wGW3.js.map} +1 -1
  83. package/dist/components/{p-CbnL1UUF.js → p-TFWJruz2.js} +4 -3
  84. package/dist/components/p-TFWJruz2.js.map +1 -0
  85. package/dist/components/{p-t7JZlmXM.js → p-cOQWi_dD.js} +4 -4
  86. package/dist/components/{p-t7JZlmXM.js.map → p-cOQWi_dD.js.map} +1 -1
  87. package/dist/components/{p-wA4KCOG0.js → p-gnOKrd57.js} +3 -3
  88. package/dist/components/{p-wA4KCOG0.js.map → p-gnOKrd57.js.map} +1 -1
  89. package/dist/components/sd-badge.js +2 -2
  90. package/dist/components/sd-button.js +1 -1
  91. package/dist/components/sd-card.js +2 -2
  92. package/dist/components/sd-checkbox.js +1 -1
  93. package/dist/components/sd-date-box.js +1 -1
  94. package/dist/components/sd-date-picker.js +6 -6
  95. package/dist/components/sd-date-range-picker.js +7 -7
  96. package/dist/components/sd-guide.js +7 -7
  97. package/dist/components/sd-icon.js +1 -1
  98. package/dist/components/sd-input.js +1 -1
  99. package/dist/components/sd-loading-spinner.js +1 -1
  100. package/dist/components/sd-modal-card.js +3 -3
  101. package/dist/components/sd-pagination.js +1 -1
  102. package/dist/components/sd-popover.js +7 -7
  103. package/dist/components/sd-portal.js +1 -1
  104. package/dist/components/sd-progress.js +3 -3
  105. package/dist/components/sd-select-multiple-group.js +7 -7
  106. package/dist/components/sd-select-multiple.js +9 -9
  107. package/dist/components/sd-select-option-group.js +1 -1
  108. package/dist/components/sd-select-option.js +1 -1
  109. package/dist/components/sd-select.js +1 -1
  110. package/dist/components/sd-table-backup.js +203 -102
  111. package/dist/components/sd-table-backup.js.map +1 -1
  112. package/dist/components/sd-table.js +14 -14
  113. package/dist/components/sd-tag.js +2 -2
  114. package/dist/components/sd-tbody.js +1 -1
  115. package/dist/components/sd-td.js +3 -3
  116. package/dist/components/sd-th.js +1 -1
  117. package/dist/components/sd-tooltip-portal.js +1 -1
  118. package/dist/components/sd-tooltip.js +1 -1
  119. package/dist/components/sd-tr.js +1 -1
  120. package/dist/design-system/design-system.esm.js +1 -1
  121. package/dist/design-system/{p-390283f7.entry.js → p-037de6ce.entry.js} +2 -2
  122. package/dist/design-system/p-0cada447.entry.js +2 -0
  123. package/dist/design-system/p-154958ba.entry.js +2 -0
  124. package/dist/design-system/{p-826c6517.entry.js → p-2285c061.entry.js} +2 -2
  125. package/dist/design-system/{p-d4b5575e.entry.js → p-267985b3.entry.js} +2 -2
  126. package/dist/design-system/p-328d7e6c.entry.js +2 -0
  127. package/dist/design-system/{p-8734ded6.entry.js → p-45bb29cf.entry.js} +2 -2
  128. package/dist/design-system/{p-871c8d66.entry.js → p-6d81e6f8.entry.js} +2 -2
  129. package/dist/design-system/p-6f16399e.entry.js +2 -0
  130. package/dist/design-system/{p-6320b9c6.entry.js.map → p-6f16399e.entry.js.map} +1 -1
  131. package/dist/design-system/{p-f9d01bdb.entry.js → p-74c0eee4.entry.js} +2 -2
  132. package/dist/design-system/{p-3574f319.entry.js → p-8d1a2a13.entry.js} +2 -2
  133. package/dist/design-system/p-927b3333.entry.js +2 -0
  134. package/dist/design-system/p-927b3333.entry.js.map +1 -0
  135. package/dist/design-system/p-ClyGLKUd.js +3 -0
  136. package/dist/design-system/{p-B2T3tS5r.js.map → p-ClyGLKUd.js.map} +1 -1
  137. package/dist/design-system/p-DXZjHQmQ.js +2 -0
  138. package/dist/design-system/{p-BE6EMCXm.js.map → p-DXZjHQmQ.js.map} +1 -1
  139. package/dist/design-system/{p-4386db36.entry.js → p-bea456ad.entry.js} +2 -2
  140. package/dist/design-system/{p-ce8fe1fd.entry.js → p-d7fe0919.entry.js} +2 -2
  141. package/dist/design-system/{p-0d776157.entry.js → p-dc6681a7.entry.js} +2 -2
  142. package/dist/design-system/p-ecb38b6a.entry.js +2 -0
  143. package/dist/design-system/{p-db0f705b.entry.js.map → p-ecb38b6a.entry.js.map} +1 -1
  144. package/dist/design-system/p-fb4d628a.entry.js +2 -0
  145. 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 +1 -1
  146. package/dist/esm/design-system.js +2 -2
  147. package/dist/esm/{index-B2T3tS5r.js → index-ClyGLKUd.js} +4 -3
  148. package/dist/esm/{index-B2T3tS5r.js.map → index-ClyGLKUd.js.map} +1 -1
  149. package/dist/esm/loader.js +2 -2
  150. package/dist/esm/sd-badge.entry.js +2 -2
  151. 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 +1 -1
  152. package/dist/esm/sd-button_12.entry.js +206 -105
  153. package/dist/esm/sd-card.entry.js +2 -2
  154. package/dist/esm/sd-date-box.entry.js +1 -1
  155. package/dist/esm/sd-date-picker.entry.js +2 -2
  156. package/dist/esm/sd-date-range-picker.entry.js +3 -3
  157. package/dist/esm/sd-guide.entry.js +4 -4
  158. package/dist/esm/sd-modal-card.entry.js +1 -1
  159. package/dist/esm/sd-popover.entry.js +4 -4
  160. package/dist/esm/sd-progress.entry.js +3 -3
  161. package/dist/esm/sd-select-multiple-group.entry.js +1 -1
  162. package/dist/esm/sd-select-multiple.entry.js +3 -3
  163. package/dist/esm/sd-select-option-group.entry.js +4 -4
  164. package/dist/esm/sd-table.entry.js +1 -1
  165. package/dist/esm/sd-tag.entry.js +2 -2
  166. package/dist/esm/sd-tbody_3.entry.js +4 -4
  167. package/dist/esm/sd-td.entry.js +3 -3
  168. package/dist/esm/{tooltipArrow-Pa2XQhpp.js → tooltipArrow-BwO7_hdW.js} +3 -3
  169. package/dist/esm/{tooltipArrow-Pa2XQhpp.js.map → tooltipArrow-BwO7_hdW.js.map} +1 -1
  170. package/dist/types/components/sd-table-backup/sd-table-backup.d.ts +15 -0
  171. package/hydrate/index.js +236 -126
  172. package/hydrate/index.mjs +236 -126
  173. package/package.json +2 -2
  174. package/dist/components/p-CbnL1UUF.js.map +0 -1
  175. package/dist/design-system/p-043b7fd1.entry.js +0 -2
  176. package/dist/design-system/p-043b7fd1.entry.js.map +0 -1
  177. package/dist/design-system/p-059ca6cb.entry.js +0 -2
  178. package/dist/design-system/p-6320b9c6.entry.js +0 -2
  179. package/dist/design-system/p-7b4fe5bf.entry.js +0 -2
  180. package/dist/design-system/p-7e8db11c.entry.js +0 -2
  181. package/dist/design-system/p-B2T3tS5r.js +0 -3
  182. package/dist/design-system/p-BE6EMCXm.js +0 -2
  183. package/dist/design-system/p-d4e043c5.entry.js +0 -2
  184. package/dist/design-system/p-db0f705b.entry.js +0 -2
  185. /package/dist/design-system/{p-390283f7.entry.js.map → p-037de6ce.entry.js.map} +0 -0
  186. /package/dist/design-system/{p-7b4fe5bf.entry.js.map → p-0cada447.entry.js.map} +0 -0
  187. /package/dist/design-system/{p-059ca6cb.entry.js.map → p-154958ba.entry.js.map} +0 -0
  188. /package/dist/design-system/{p-826c6517.entry.js.map → p-2285c061.entry.js.map} +0 -0
  189. /package/dist/design-system/{p-d4b5575e.entry.js.map → p-267985b3.entry.js.map} +0 -0
  190. /package/dist/design-system/{p-7e8db11c.entry.js.map → p-328d7e6c.entry.js.map} +0 -0
  191. /package/dist/design-system/{p-8734ded6.entry.js.map → p-45bb29cf.entry.js.map} +0 -0
  192. /package/dist/design-system/{p-871c8d66.entry.js.map → p-6d81e6f8.entry.js.map} +0 -0
  193. /package/dist/design-system/{p-f9d01bdb.entry.js.map → p-74c0eee4.entry.js.map} +0 -0
  194. /package/dist/design-system/{p-3574f319.entry.js.map → p-8d1a2a13.entry.js.map} +0 -0
  195. /package/dist/design-system/{p-4386db36.entry.js.map → p-bea456ad.entry.js.map} +0 -0
  196. /package/dist/design-system/{p-ce8fe1fd.entry.js.map → p-d7fe0919.entry.js.map} +0 -0
  197. /package/dist/design-system/{p-0d776157.entry.js.map → p-dc6681a7.entry.js.map} +0 -0
  198. /package/dist/design-system/{p-d4e043c5.entry.js.map → p-fb4d628a.entry.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DXo1Fhkn.js');
3
+ var index = require('./index-Bxead0A0.js');
4
4
  var resolveColor = require('./resolveColor-CauSLF0s.js');
5
5
  var selectKeyboardNavigation = require('./select-keyboard-navigation-6fO_V4En.js');
6
- var tooltipArrow = require('./tooltipArrow-DNiGFQNW.js');
6
+ var tooltipArrow = require('./tooltipArrow-C7cIAuTo.js');
7
7
  require('./color-Oz29vj7L.js');
8
8
 
9
9
  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}";
@@ -2157,7 +2157,7 @@ const SdIcon = class {
2157
2157
  }
2158
2158
  render() {
2159
2159
  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 })));
2160
+ return (index.h("i", { key: '856cad8bb2373b0d86734443144f79770c0715ec', class: this.getIconClasses(), style: this.iconStyle }, index.h(IconComponent, { key: 'd2a06ebbda1317cb72fec996b3bf3008ba171070', color: this.resolvedColor })));
2161
2161
  }
2162
2162
  };
2163
2163
  SdIcon.style = sdIconCss;
@@ -2262,11 +2262,11 @@ const SdInput = class {
2262
2262
  '--input-width': typeof this.width === 'number' ? `${this.width}px` : this.width,
2263
2263
  }
2264
2264
  : {};
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: {
2265
+ 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
2266
  'sd-input': true,
2267
2267
  [this.getInputStatus()]: true,
2268
2268
  '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: () => {
2269
+ }, 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
2270
  this.internalValue = '';
2271
2271
  this.sdChange?.emit(this.internalValue);
2272
2272
  this.sdInput?.emit(this.internalValue);
@@ -2286,7 +2286,7 @@ const SdLoadingSpinner = class {
2286
2286
  index.registerInstance(this, hostRef);
2287
2287
  }
2288
2288
  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" }))));
2289
+ 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
2290
  }
2291
2291
  };
2292
2292
  SdLoadingSpinner.style = sdLoadingSpinnerCss;
@@ -2365,12 +2365,12 @@ const SdPagination = class {
2365
2365
  }
2366
2366
  }
2367
2367
  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: {
2368
+ 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
2369
  'pagination-btn': true,
2370
2370
  'pagination-btn--selected': this.currentPage === n,
2371
2371
  }, disabled: this.currentPage === n, style: {
2372
2372
  '--pagination-btn-width': `${this.buttonWidth}px`,
2373
- }, onClick: () => this.handlePageChange(n) }, n)))), index.h("div", { key: '9c145c18eacc2ab0115d162cbb50e5ad3ea62c80', class: "append-btns" }, this.renderNextButtons())));
2373
+ }, onClick: () => this.handlePageChange(n) }, n)))), index.h("div", { key: '0ff537ba6e5985be1e055f5b9eab5dd86dd11624', class: "append-btns" }, this.renderNextButtons())));
2374
2374
  }
2375
2375
  };
2376
2376
  SdPagination.style = sdPaginationCss;
@@ -2493,7 +2493,7 @@ const SdPortal = class {
2493
2493
  this.sdClose.emit();
2494
2494
  }
2495
2495
  render() {
2496
- return index.h("slot", { key: 'b24b7f844564365e887dc8cee8b98e26a94961cd' });
2496
+ return index.h("slot", { key: '2f6a1908864a2b5bbe86127fbf41b6b44a599666' });
2497
2497
  }
2498
2498
  };
2499
2499
 
@@ -2776,7 +2776,7 @@ const SdSelectOption = class {
2776
2776
  }
2777
2777
  };
2778
2778
  render() {
2779
- return (index.h(index.Host, { key: 'f1874b4e539573ddaa48cb2bdc9d13ea96bf350e' }, index.h("div", { key: '5a3bbd66f6623a1c02d5e1295bb974e82883b8a1', class: {
2779
+ return (index.h(index.Host, { key: '70eafe63e44409063337d0a43846c3be869086df' }, index.h("div", { key: '21cafb06d87968387f9b9ec91fdd09643cded1ca', class: {
2780
2780
  'sd-select__option': true,
2781
2781
  'sd-select__option--selected': this.isSelected,
2782
2782
  'sd-select__option--disabled': !!this.option.disabled,
@@ -2798,7 +2798,7 @@ const SdSelectOption = class {
2798
2798
  };
2799
2799
  SdSelectOption.style = sdSelectOptionCss;
2800
2800
 
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%}}";
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;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: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{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
2802
 
2803
2803
  const SdTable = class {
2804
2804
  constructor(hostRef) {
@@ -2857,6 +2857,7 @@ const SdTable = class {
2857
2857
  virtualStartColIdx = 0;
2858
2858
  virtualEndColIdx = 0;
2859
2859
  scrollLeftPosition = 0;
2860
+ // 가상 스크롤 Raf(Request Animation Frame) 관리
2860
2861
  scrollRequestAnimationFrame = null;
2861
2862
  scrollContainer = null;
2862
2863
  rafScheduled = false;
@@ -2864,19 +2865,39 @@ const SdTable = class {
2864
2865
  vertical: false,
2865
2866
  horizontal: false,
2866
2867
  };
2868
+ // 상태 캐시값
2869
+ cachedVisibleColumns = null;
2870
+ lastColumnsRef = null;
2871
+ cachedVirtualRows = null;
2872
+ cachedVirtualIndexKey = '';
2873
+ cachedColumnOrder = null;
2874
+ lastColumnOrderKey = '';
2875
+ // DOM 측정 캐시값
2876
+ cachedContainerHeight = 0;
2877
+ cachedContainerWidth = 0;
2878
+ // 스타일 캐시
2879
+ stickyStyleCache = new Map();
2880
+ // isAllChecked 캐시
2881
+ cachedIsAllChecked;
2882
+ lastSelectionKey = '';
2883
+ onScroll;
2867
2884
  handleColumnsChange(newCols) {
2868
2885
  this.columnWidths = newCols.map(c => parseInt(c.width || '120', 10));
2886
+ this.cleanUpVirtualCache();
2887
+ this.stickyStyleCache.clear();
2869
2888
  if (this.useVirtualScroll.horizontal) {
2870
2889
  this.scheduleUpdate('horizontal');
2871
2890
  }
2872
2891
  }
2873
2892
  handleColumnWidthsChange() {
2893
+ this.stickyStyleCache.clear();
2874
2894
  if (this.useVirtualScroll.horizontal) {
2875
2895
  this.scheduleUpdate('horizontal');
2876
2896
  }
2877
2897
  }
2878
2898
  handleRowsChange(newRows) {
2879
2899
  this.innerRows = [...newRows];
2900
+ this.cleanUpVirtualCache();
2880
2901
  if (this.useVirtualScroll.vertical) {
2881
2902
  this.scheduleUpdate('vertical');
2882
2903
  }
@@ -2884,11 +2905,19 @@ const SdTable = class {
2884
2905
  handleSelectedChange(newSelected) {
2885
2906
  this.innerSelected = new Set(newSelected);
2886
2907
  }
2908
+ cleanUpVirtualCache() {
2909
+ this.cachedVisibleColumns = null;
2910
+ this.lastColumnsRef = null;
2911
+ this.cachedVirtualRows = null;
2912
+ this.cachedVirtualIndexKey = '';
2913
+ this.cachedColumnOrder = null;
2914
+ this.lastColumnOrderKey = '';
2915
+ }
2887
2916
  handlePaginationChange(newVal) {
2888
2917
  if (newVal?.page && newVal.page !== this.currentPage) {
2889
2918
  this.currentPage = newVal.page;
2890
2919
  if (this.useVirtualScroll.vertical && this.scrollContainer) {
2891
- this.scrollContainer.scrollTop = 0;
2920
+ this.scrollContainer.scrollTo({ top: 0, behavior: 'instant' });
2892
2921
  this.scrollTopPosition = 0;
2893
2922
  this.calculateVisibleRange();
2894
2923
  }
@@ -2903,66 +2932,120 @@ const SdTable = class {
2903
2932
  }
2904
2933
  }
2905
2934
  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);
2935
+ index.readTask(() => {
2936
+ const middle = this.el.querySelector('.sd-table__middle');
2937
+ if (!middle)
2938
+ return;
2939
+ this.onScroll = () => {
2940
+ const scrollLeft = middle.scrollLeft;
2941
+ const scrollWidth = middle.scrollWidth;
2942
+ const clientWidth = middle.clientWidth;
2943
+ const scrollTop = middle.scrollTop;
2944
+ const verticalChanged = this.useVirtualScroll.vertical && this.scrollTopPosition !== scrollTop;
2945
+ const horizontalChanged = this.useVirtualScroll.horizontal && this.scrollLeftPosition !== scrollLeft;
2946
+ const newScrolledLeft = scrollLeft > 0;
2947
+ const newScrolledRight = scrollLeft + clientWidth < scrollWidth;
2948
+ if (this.scrolledLeft !== newScrolledLeft || this.scrolledRight !== newScrolledRight) {
2949
+ this.scrolledLeft = newScrolledLeft;
2950
+ this.scrolledRight = newScrolledRight;
2923
2951
  }
2924
- this.scrollRequestAnimationFrame = requestAnimationFrame(() => {
2925
- if (verticalChanged) {
2926
- this.scrollTopPosition = scrollTop;
2927
- this.calculateVisibleRange();
2928
- }
2929
- if (horizontalChanged) {
2930
- this.scrollLeftPosition = scrollLeft;
2931
- this.calculateVisibleColumnRange();
2952
+ if (verticalChanged || horizontalChanged) {
2953
+ if (this.scrollRequestAnimationFrame !== null) {
2954
+ cancelAnimationFrame(this.scrollRequestAnimationFrame);
2932
2955
  }
2933
- this.scrollRequestAnimationFrame = null;
2934
- });
2935
- }
2956
+ this.scrollRequestAnimationFrame = requestAnimationFrame(() => {
2957
+ if (verticalChanged) {
2958
+ this.scrollTopPosition = scrollTop;
2959
+ this.calculateVisibleRange();
2960
+ }
2961
+ if (horizontalChanged) {
2962
+ this.scrollLeftPosition = scrollLeft;
2963
+ this.calculateVisibleColumnRange();
2964
+ }
2965
+ this.scrollRequestAnimationFrame = null;
2966
+ });
2967
+ }
2968
+ };
2969
+ this.scrollContainer = middle;
2970
+ requestAnimationFrame(() => {
2971
+ if (this.scrollContainer && this.onScroll) {
2972
+ this.cachedContainerHeight = this.scrollContainer.clientHeight;
2973
+ this.cachedContainerWidth = this.scrollContainer.clientWidth;
2974
+ middle.addEventListener('scroll', this.onScroll, { passive: true });
2975
+ this.onScroll();
2976
+ }
2977
+ });
2978
+ });
2979
+ }
2980
+ changePage(page) {
2981
+ if (!this.useInternalPagination) {
2982
+ this.sdPageChange.emit(page);
2983
+ return;
2984
+ }
2985
+ this.currentPage = page;
2986
+ this.sdPageChange.emit(this.currentPage);
2987
+ }
2988
+ changeRowsPerPage(perPage) {
2989
+ const changedRowsPerPage = perPage ? Number(perPage) : 0;
2990
+ if (!this.useInternalPagination) {
2991
+ this.sdRowsPerPageChange.emit(changedRowsPerPage);
2992
+ return;
2993
+ }
2994
+ const newRowsPerPage = Number(perPage || 0);
2995
+ let newLastPage = Math.max(1, Math.ceil(this.innerRows.length / newRowsPerPage));
2996
+ let newCurrentPage = this.currentPage;
2997
+ if (newCurrentPage > newLastPage) {
2998
+ newCurrentPage = newLastPage;
2999
+ }
3000
+ this.pagination = {
3001
+ page: newCurrentPage,
3002
+ rowsPerPage: newRowsPerPage,
3003
+ lastPage: newLastPage,
2936
3004
  };
2937
- middle.addEventListener('scroll', onScroll, { passive: true });
2938
- onScroll();
3005
+ this.currentPage = newCurrentPage;
3006
+ this.sdRowsPerPageChange.emit(changedRowsPerPage);
2939
3007
  }
2940
3008
  disconnectedCallback() {
3009
+ if (this.scrollContainer && this.onScroll) {
3010
+ this.scrollContainer.removeEventListener('scroll', this.onScroll);
3011
+ }
2941
3012
  if (this.scrollRequestAnimationFrame !== null) {
2942
3013
  cancelAnimationFrame(this.scrollRequestAnimationFrame);
2943
3014
  }
2944
3015
  }
2945
3016
  // ----- Derived getters -----
2946
3017
  get visibleColumns() {
2947
- return this.columns.filter(col => col.visible !== false);
3018
+ if (this.cachedVisibleColumns && this.lastColumnsRef === this.columns) {
3019
+ return this.cachedVisibleColumns;
3020
+ }
3021
+ this.lastColumnsRef = this.columns;
3022
+ this.cachedVisibleColumns = this.columns.filter(col => col.visible !== false);
3023
+ return this.cachedVisibleColumns;
2948
3024
  }
2949
3025
  get paginatedRows() {
2950
3026
  if (!this.pagination || !this.useInternalPagination)
2951
3027
  return this.innerRows;
2952
3028
  const { rowsPerPage = this.rows.length } = this.pagination || {};
2953
- const result = this.innerRows.slice((this.currentPage - 1) * rowsPerPage, this.currentPage * rowsPerPage);
2954
- return result;
3029
+ return this.innerRows.slice((this.currentPage - 1) * rowsPerPage, this.currentPage * rowsPerPage);
2955
3030
  }
2956
3031
  get virtualRows() {
3032
+ const newVirtualIndexKey = `${this.virtualStartIndex}-${this.virtualEndIndex}`;
3033
+ if (this.cachedVirtualRows && this.cachedVirtualIndexKey === newVirtualIndexKey) {
3034
+ return this.cachedVirtualRows;
3035
+ }
3036
+ this.cachedVirtualIndexKey = newVirtualIndexKey;
2957
3037
  if (!this.useVirtualScroll.vertical) {
2958
- return this.paginatedRows.map((row, idx) => ({ row, actualIndex: idx }));
3038
+ this.cachedVirtualRows = this.paginatedRows.map((row, idx) => ({ row, actualIndex: idx }));
3039
+ }
3040
+ else {
3041
+ this.cachedVirtualRows = this.paginatedRows
3042
+ .slice(this.virtualStartIndex, this.virtualEndIndex + 1)
3043
+ .map((row, relativeIdx) => ({
3044
+ row,
3045
+ actualIndex: this.virtualStartIndex + relativeIdx,
3046
+ }));
2959
3047
  }
2960
- return this.paginatedRows
2961
- .slice(this.virtualStartIndex, this.virtualEndIndex + 1)
2962
- .map((row, relativeIdx) => ({
2963
- row,
2964
- actualIndex: this.virtualStartIndex + relativeIdx,
2965
- }));
3048
+ return this.cachedVirtualRows;
2966
3049
  }
2967
3050
  get topSpacerHeight() {
2968
3051
  if (!this.useVirtualScroll.vertical || this.virtualStartIndex === 0)
@@ -3035,6 +3118,7 @@ const SdTable = class {
3035
3118
  if (newSelected.length === selectedArray.length)
3036
3119
  return;
3037
3120
  this.innerSelected = new Set(newSelected);
3121
+ this.cachedIsAllChecked = undefined;
3038
3122
  this.sdSelectChange.emit(Array.from(this.innerSelected));
3039
3123
  }
3040
3124
  toggleSelectAll(checked) {
@@ -3046,16 +3130,29 @@ const SdTable = class {
3046
3130
  const currentPageKeys = this.paginatedRows.map(r => r[this.rowKey]);
3047
3131
  this.innerSelected = new Set([...this.innerSelected].filter(r => !currentPageKeys.includes(r[this.rowKey])));
3048
3132
  }
3133
+ this.cachedIsAllChecked = undefined;
3049
3134
  this.sdSelectChange.emit(Array.from(this.innerSelected));
3050
3135
  }
3051
3136
  get isAllChecked() {
3137
+ const selectionKey = `${this.paginatedRows.length}-${this.innerSelected.size}`;
3138
+ if (this.cachedIsAllChecked !== undefined && this.lastSelectionKey === selectionKey) {
3139
+ return this.cachedIsAllChecked;
3140
+ }
3052
3141
  const total = this.paginatedRows.length;
3053
3142
  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; // 일부만 선택됨
3143
+ let result;
3144
+ if (selectedCount === 0) {
3145
+ result = false; // 아무것도 안 선택됨
3146
+ }
3147
+ else if (selectedCount === total) {
3148
+ result = true; // 전부 선택됨
3149
+ }
3150
+ else {
3151
+ result = null; // 일부만 선택됨
3152
+ }
3153
+ this.cachedIsAllChecked = result;
3154
+ this.lastSelectionKey = selectionKey;
3155
+ return result;
3059
3156
  }
3060
3157
  // RAF 통합 관리
3061
3158
  scheduleUpdate(type) {
@@ -3081,13 +3178,22 @@ const SdTable = class {
3081
3178
  return;
3082
3179
  }
3083
3180
  const scrollTop = this.scrollTopPosition;
3084
- const containerHeight = this.scrollContainer?.clientHeight || 0;
3181
+ let containerHeight = this.cachedContainerHeight;
3182
+ if (containerHeight === 0 && this.scrollContainer) {
3183
+ containerHeight = this.scrollContainer.clientHeight;
3184
+ this.cachedContainerHeight = containerHeight;
3185
+ }
3186
+ const bufferSize = this.virtualBufferSize.vertical || 5;
3085
3187
  const startIndex = Math.floor(scrollTop / this.virtualRowHeight);
3086
3188
  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);
3189
+ const endIndex = startIndex + visibleCount - 1;
3190
+ const newStartIndex = Math.max(0, startIndex - bufferSize);
3191
+ const newEndIndex = Math.min(this.paginatedRows.length - 1, endIndex + bufferSize);
3192
+ // 실제로 변경된 경우에만 상태 업데이트
3193
+ if (this.virtualStartIndex !== newStartIndex || this.virtualEndIndex !== newEndIndex) {
3194
+ this.virtualStartIndex = newStartIndex;
3195
+ this.virtualEndIndex = newEndIndex;
3196
+ }
3091
3197
  }
3092
3198
  // 가로 가상 스크롤 렌더링 계산
3093
3199
  calculateVisibleColumnRange() {
@@ -3097,7 +3203,12 @@ const SdTable = class {
3097
3203
  return;
3098
3204
  }
3099
3205
  const scrollLeft = this.scrollLeftPosition;
3100
- const containerWidth = this.scrollContainer?.clientWidth || 0;
3206
+ // 캐시된 사용, 없으면 측정 후 캐시
3207
+ let containerWidth = this.cachedContainerWidth;
3208
+ if (containerWidth === 0 && this.scrollContainer) {
3209
+ containerWidth = this.scrollContainer.clientWidth;
3210
+ this.cachedContainerWidth = containerWidth;
3211
+ }
3101
3212
  const stickyLeftCount = this.stickyColumn.left || 0;
3102
3213
  const stickyRightCount = this.stickyColumn.right || 0;
3103
3214
  // 가상 스크롤 컬럼 - sticky column 제외
@@ -3137,22 +3248,34 @@ const SdTable = class {
3137
3248
  }
3138
3249
  }
3139
3250
  const bufferSize = this.virtualBufferSize.horizontal || 5;
3140
- this.virtualStartColIdx = Math.max(0, startIdx - bufferSize);
3141
- this.virtualEndColIdx = Math.min(virtualColumns.length - 1, endIdx + bufferSize);
3251
+ const newStartColIdx = Math.max(0, startIdx - bufferSize);
3252
+ const newEndColIdx = Math.min(virtualColumns.length - 1, endIdx + bufferSize);
3253
+ // 실제로 변경된 경우에만 상태 업데이트
3254
+ if (this.virtualStartColIdx !== newStartColIdx || this.virtualEndColIdx !== newEndColIdx) {
3255
+ this.virtualStartColIdx = newStartColIdx;
3256
+ this.virtualEndColIdx = newEndColIdx;
3257
+ }
3142
3258
  }
3143
3259
  // ----- Helpers -----
3144
3260
  getStickyStyle(colIdx) {
3261
+ // 캐시된 스타일이 있으면 반환
3262
+ if (this.stickyStyleCache.has(colIdx)) {
3263
+ return this.stickyStyleCache.get(colIdx);
3264
+ }
3145
3265
  const leftOffset = this.columnWidths.slice(0, colIdx).reduce((a, b) => a + b, 0) + (this.selectable ? 52 : 0);
3146
3266
  const rightOffset = this.columnWidths
3147
3267
  .filter((_, i) => i >= this.visibleColumns.length - (this.stickyColumn.right || 0) && i > colIdx)
3148
3268
  .reduce((a, b) => a + b, 0);
3149
- return {
3269
+ const style = {
3150
3270
  '--sticky-left-offset': `${leftOffset}px`,
3151
3271
  '--sticky-right-offset': `${rightOffset}px`,
3152
3272
  'width': `${this.columnWidths[colIdx]}px`,
3153
3273
  'minWidth': `${this.columnWidths[colIdx]}px`,
3154
3274
  'maxWidth': `${this.columnWidths[colIdx]}px`,
3155
3275
  };
3276
+ // 스타일 캐시에 저장
3277
+ this.stickyStyleCache.set(colIdx, style);
3278
+ return style;
3156
3279
  }
3157
3280
  handleResize(index, event) {
3158
3281
  // SSR 환경 체크
@@ -3182,6 +3305,10 @@ const SdTable = class {
3182
3305
  return format ? format(value, row) : value;
3183
3306
  }
3184
3307
  getColumnRenderedInOrder() {
3308
+ const orderKey = `${this.visibleColumns.length}-${this.virtualStartColIdx}-${this.virtualEndColIdx}`;
3309
+ if (this.cachedColumnOrder && this.lastColumnOrderKey === orderKey) {
3310
+ return this.cachedColumnOrder;
3311
+ }
3185
3312
  const stickyLeftCount = this.stickyColumn.left || 0;
3186
3313
  const stickyRightCount = this.stickyColumn.right || 0;
3187
3314
  // Sticky left 컬럼들
@@ -3192,13 +3319,15 @@ const SdTable = class {
3192
3319
  .slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount)
3193
3320
  .slice(this.virtualStartColIdx, this.virtualEndColIdx + 1)
3194
3321
  : this.visibleColumns.slice(stickyLeftCount, this.visibleColumns.length - stickyRightCount);
3195
- return {
3322
+ this.cachedColumnOrder = {
3196
3323
  stickyLeftCount,
3197
3324
  stickyRightCount,
3198
3325
  stickyLeftCols,
3199
3326
  middleCols,
3200
3327
  stickyRightCols,
3201
3328
  };
3329
+ this.lastColumnOrderKey = orderKey;
3330
+ return this.cachedColumnOrder;
3202
3331
  }
3203
3332
  // ----- Render -----
3204
3333
  renderHead() {
@@ -3236,7 +3365,7 @@ const SdTable = class {
3236
3365
  }))));
3237
3366
  }
3238
3367
  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 &&
3368
+ 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
3369
  this.virtualRows.map(({ row, actualIndex }) => this.renderRow(row, actualIndex)), this.useVirtualScroll.vertical &&
3241
3370
  this.bottomSpacerHeight > 0 &&
3242
3371
  this.renderSpacerRow('bottom')));
@@ -3306,44 +3435,16 @@ const SdTable = class {
3306
3435
  }, "aria-hidden": "true" }, index.h("div", { class: "sd-table__skeleton-cell" })));
3307
3436
  }
3308
3437
  render() {
3309
- return (index.h(index.Host, { key: '658ead41c51d9f031c0334d91cad9a06811721b9' }, index.h("div", { key: 'c98a48d31b16cbd934e4ae47b55bcfeaa5db2520', class: "sd-table__wrapper", style: {
3438
+ return (index.h(index.Host, { key: '8c01d8c3b3428d0fccb37e337fd12412c7aee51a' }, index.h("div", { key: 'be41d64f4b9daaa1440f2a89e253ce487894758e', class: "sd-table__wrapper", style: {
3310
3439
  '--table-width': this.width,
3311
3440
  '--table-height': this.height,
3312
- } }, index.h("div", { key: '080fc2b81b016c4876cf90502952e49a5e468534', class: "sd-table__container", style: {
3441
+ } }, index.h("div", { key: '580c4ca69d5374585eeacc756561e5caf2ea6e29', class: "sd-table__container", style: {
3313
3442
  '--table-container-height': `calc(${this.height} - ${this.pagination && this.innerRows.length > 0 ? 48 : 0}px)`,
3314
- } }, index.h("div", { key: 'd56754a7cd4acc0505bb36d2d8a116a20d19c0e4', class: {
3443
+ } }, index.h("div", { key: '2832a6e9078923daeefa28512450950abfca0aad', class: {
3315
3444
  'sd-table__middle': true,
3316
3445
  'sd-table__middle--scrollable': this.paginatedRows.length > 0,
3317
3446
  '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
- } })))))));
3447
+ } }, this.isLoading && (index.h("div", { key: '696cc35d6d3c58dabf92aa49dbff9a7034a0ed64', class: "sd-table__middle--loading__spinner" }, index.h("sd-loading-spinner", { key: '8cbd272006b64c4a6e10c87c58313a0792358451' }))), index.h("table", { key: 'de78dba38361cfebe39f8c3cddb57a1c93861ff6', part: "table", class: this.sdTableClasses }, this.renderHead(), this.renderBody())), index.h("div", { key: '662407b29c2ea446d96553dd548bec11e8179185', class: "sd-table__bottom" }, !this.paginatedRows.length && (index.h("div", { key: '3a475142c5da9cc40f92b761923415893a1366fa', class: "sd-table__no-data" }, index.h("slot", { key: '49e90e85516b6656c7019b4b33a50f6b36d949a8', name: "no-data" }, this.noDataLabel))))), this.pagination && this.innerRows.length > 0 && (index.h("div", { key: '460a669cb3841fdc7745e4acb774729910890b42', class: "sd-table__pagination" }, index.h("sd-pagination", { key: '971f5e41f8df09f4455cdf41f969e5f47d2aac99', 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: 'ed37b8efc95ae51bf4c903a5c7c5a068ec9bfcca', value: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", onSdChange: (e) => this.changeRowsPerPage(e.detail.value) })))))));
3347
3448
  }
3348
3449
  static get watchers() { return {
3349
3450
  "columns": ["handleColumnsChange"],
@@ -3403,20 +3504,20 @@ const SdTooltip = class {
3403
3504
  : {
3404
3505
  onClick: () => (this.showTooltip = !this.showTooltip),
3405
3506
  };
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: {
3507
+ return (index.h(index.Fragment, { key: 'ca85f7063d836f7a33d893d262aea709e0db1d00' }, 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: 'ab8656db09fc630085a684ef124486551e33f910', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, index.h("div", { key: 'ccd2369218d5b4dcb23280760c584f214beea932', class: {
3407
3508
  'sd-tooltip-menu': true,
3408
3509
  [`sd-tooltip-menu--${this.type}`]: true,
3409
3510
  [`sd-tooltip-menu--${this.placement}`]: true,
3410
3511
  'sd-tooltip-menu--with-close': this.useClose,
3411
3512
  [`bg-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
3412
3513
  [`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: {
3514
+ } }, index.h("i", { key: '077a1c19e4fa7a54a80dff168950ee0327240724', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, index.h(tooltipArrow.TooltipArrow, { key: '09d265c0412099b0bc64e6a5297011d7f4e74bb3', class: {
3414
3515
  [`text-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
3415
- } })), index.h("div", { key: 'a29c4aa221aa9b833b9b0de101b658f5c5351ec0', class: "sd-tooltip-menu__content", ref: el => {
3516
+ } })), index.h("div", { key: '13a0d079cae19cf77c55b9aa3b8325dc1d4daf82', class: "sd-tooltip-menu__content", ref: el => {
3416
3517
  if (el && this.slotContent && !el.hasChildNodes()) {
3417
3518
  el.appendChild(this.slotContent.cloneNode(true));
3418
3519
  }
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" })))))))));
3520
+ } }, !this.slotContent && index.h("span", { key: '79315652fc9db9aca0f06ef0f402d3302b909275' }, this.el.textContent)), this.useClose && (index.h("div", { key: '5ab0323020a5d3f2c13d690a906fde8de9df36c9', class: "sd-tooltip-menu__close-button" }, index.h("button", { key: 'deed089b5bb820f54471d44ff0c69e69ffcddf22', type: "button", "aria-label": "Close tooltip", title: "Close tooltip", onClick: () => this.handleClose() }, index.h("sd-icon", { key: '6c93da0c7f425ad1111b68c508476db74462e2ad', name: "close", size: "12", color: "#AAAAAA" })))))))));
3420
3521
  }
3421
3522
  };
3422
3523
  SdTooltip.style = sdTooltipCss;
@@ -3570,7 +3671,7 @@ const SdTooltipPortal = class {
3570
3671
  this.sdClose.emit();
3571
3672
  }
3572
3673
  render() {
3573
- return index.h("slot", { key: 'b8c60526ca9acb16821b1952b526fad452d1d5e7' });
3674
+ return index.h("slot", { key: '959737d1d7012ea468ab11bf2f1a8444e5274d4e' });
3574
3675
  }
3575
3676
  };
3576
3677
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DXo1Fhkn.js');
3
+ var index = require('./index-Bxead0A0.js');
4
4
 
5
5
  const sdCardCss = "sd-card{display:block;height:fit-content}sd-card .sd-card{border-radius:8px;background:white}sd-card .sd-card.sd-card--bordered{border:1px solid #e1e1e1}";
6
6
 
@@ -11,7 +11,7 @@ const SdCard = class {
11
11
  bordered = true;
12
12
  class = '';
13
13
  render() {
14
- return (index.h(index.Host, { key: 'b39b016a66f0df13d09ff3a1ce453bb5eda23b52' }, index.h("div", { key: '2a22dcc5ede4067ecbb2bbbe985d95ffaee3a3a6', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.class}` }, index.h("slot", { key: 'f73cae0097be43bcd666ade2db27c585090eca75' }))));
14
+ return (index.h(index.Host, { key: 'e9653557b36889a75002c32bde005c7b480b2f4b' }, index.h("div", { key: 'e34f53b49bdc412eaf82dbe21918cd6599d1d2c6', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.class}` }, index.h("slot", { key: 'b5d06b44a1a960fe12424f43a39647a4646610d6' }))));
15
15
  }
16
16
  };
17
17
  SdCard.style = sdCardCss;