@sellmate/design-system 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/sd-chip.cjs.entry.js +3 -3
  4. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +2 -1
  5. package/dist/cjs/sd-date-picker_7.cjs.entry.js +52 -24
  6. package/dist/cjs/sd-divider.cjs.entry.js +1 -1
  7. package/dist/cjs/sd-field_3.cjs.entry.js +5 -4
  8. package/dist/cjs/sd-linear-progress.cjs.entry.js +1 -1
  9. package/dist/cjs/sd-loading-container.cjs.entry.js +2 -2
  10. package/dist/cjs/sd-modal-container.cjs.entry.js +3 -0
  11. package/dist/cjs/sd-pagination_4.cjs.entry.js +8 -8
  12. package/dist/cjs/sd-popover.cjs.entry.js +8 -5
  13. package/dist/cjs/sd-popup.cjs.entry.js +1 -1
  14. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +6 -6
  15. package/dist/cjs/sd-select_3.cjs.entry.js +8 -8
  16. package/dist/cjs/sd-switch.cjs.entry.js +1 -1
  17. package/dist/cjs/sd-table.cjs.entry.js +6 -6
  18. package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
  19. package/dist/cjs/sd-td.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
  21. package/dist/cjs/sd-toast.cjs.entry.js +2 -2
  22. package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
  23. package/dist/collection/components/sd-chip/sd-chip.js +3 -3
  24. package/dist/collection/components/sd-divider/sd-divider.js +1 -1
  25. package/dist/collection/components/sd-field/sd-field.js +2 -1
  26. package/dist/collection/components/sd-file-picker/sd-file-picker.css +15 -1
  27. package/dist/collection/components/sd-file-picker/sd-file-picker.js +44 -16
  28. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  29. package/dist/collection/components/sd-input/sd-input.js +2 -2
  30. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  31. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  32. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +21 -1
  33. package/dist/collection/components/sd-modal-container/sd-modal-container.js +3 -0
  34. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  35. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  36. package/dist/collection/components/sd-popover/sd-popover.js +13 -23
  37. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  38. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
  39. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  40. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
  41. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
  42. package/dist/collection/components/sd-select/sd-select.js +4 -4
  43. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  44. package/dist/collection/components/sd-table/sd-table.js +6 -6
  45. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  46. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  47. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  48. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  49. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  50. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  51. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  52. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  53. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  54. package/dist/components/{p-CwQTEZWO.js → p-5_BC8C6x.js} +1 -1
  55. package/dist/components/p-BFAQ4nY2.js +1 -0
  56. package/dist/components/{p-EcuI_UmK.js → p-BNXKU1BW.js} +1 -1
  57. package/dist/components/{p-DZ_3ZYMC.js → p-BVvVDIo0.js} +1 -1
  58. package/dist/components/{p-z564gmGG.js → p-C1Fk1556.js} +1 -1
  59. package/dist/components/{p-BCeq6-MU.js → p-CWGbMz0J.js} +1 -1
  60. package/dist/components/{p-BZRMoE3E.js → p-CnbeQ2DI.js} +1 -1
  61. package/dist/components/{p-BYU3wOaN.js → p-CtXad9by.js} +1 -1
  62. package/dist/components/{p-lOVBaLB7.js → p-D155awu4.js} +1 -1
  63. package/dist/components/{p-BqYASycS.js → p-DAAHX92J.js} +1 -1
  64. package/dist/components/p-DK4Jvax0.js +1 -0
  65. package/dist/components/p-DR1f1cS9.js +1 -0
  66. package/dist/components/p-DY1iQfib.js +1 -0
  67. package/dist/components/{p-BNUsawW7.js → p-DeHt0RYQ.js} +1 -1
  68. package/dist/components/{p-CARYLqH9.js → p-Dq38kgOY.js} +1 -1
  69. package/dist/components/{p-DP0Dp12H.js → p-DwKYjjIC.js} +1 -1
  70. package/dist/components/{p-uVZjhyvS.js → p-EbF6qsnG.js} +1 -1
  71. package/dist/components/{p-sRzhIrJR.js → p-F7yyGdIc.js} +1 -1
  72. package/dist/components/p-LZKaKr8O.js +1 -0
  73. package/dist/components/p-vZLoby4N.js +1 -0
  74. package/dist/components/sd-barcode-input.js +1 -1
  75. package/dist/components/sd-chip.js +1 -1
  76. package/dist/components/sd-date-picker.js +1 -1
  77. package/dist/components/sd-date-range-picker.js +1 -1
  78. package/dist/components/sd-divider.js +1 -1
  79. package/dist/components/sd-field.js +1 -1
  80. package/dist/components/sd-file-picker.js +1 -1
  81. package/dist/components/sd-floating-portal.js +1 -1
  82. package/dist/components/sd-input.js +1 -1
  83. package/dist/components/sd-key-value-table.js +1 -1
  84. package/dist/components/sd-linear-progress.js +1 -1
  85. package/dist/components/sd-loading-container.js +1 -1
  86. package/dist/components/sd-loading-modal.js +1 -1
  87. package/dist/components/sd-modal-container.js +1 -1
  88. package/dist/components/sd-number-input.js +1 -1
  89. package/dist/components/sd-pagination.js +1 -1
  90. package/dist/components/sd-popover.js +1 -1
  91. package/dist/components/sd-popup.js +1 -1
  92. package/dist/components/sd-select-list-item-search.js +1 -1
  93. package/dist/components/sd-select-list-item.js +1 -1
  94. package/dist/components/sd-select-listbox.js +1 -1
  95. package/dist/components/sd-select-trigger.js +1 -1
  96. package/dist/components/sd-select.js +1 -1
  97. package/dist/components/sd-switch.js +1 -1
  98. package/dist/components/sd-table.js +1 -1
  99. package/dist/components/sd-tabs.js +1 -1
  100. package/dist/components/sd-tbody.js +1 -1
  101. package/dist/components/sd-td.js +1 -1
  102. package/dist/components/sd-textarea.js +1 -1
  103. package/dist/components/sd-thead.js +1 -1
  104. package/dist/components/sd-toast-container.js +1 -1
  105. package/dist/components/sd-toast.js +1 -1
  106. package/dist/components/sd-toggle.js +1 -1
  107. package/dist/components/sd-tooltip.js +1 -1
  108. package/dist/design-system/design-system.esm.js +1 -1
  109. package/dist/design-system/{p-2c0a8333.entry.js → p-0060136e.entry.js} +1 -1
  110. package/dist/design-system/{p-18d3ae55.entry.js → p-08798232.entry.js} +1 -1
  111. package/dist/design-system/{p-20a2e0d2.entry.js → p-102c2153.entry.js} +1 -1
  112. package/dist/design-system/{p-95bbba4f.entry.js → p-10f579ba.entry.js} +1 -1
  113. package/dist/design-system/p-17ec576c.entry.js +1 -0
  114. package/dist/design-system/{p-ff33d019.entry.js → p-282b1260.entry.js} +1 -1
  115. package/dist/design-system/{p-e6bd8ab1.entry.js → p-2e4d1fe1.entry.js} +1 -1
  116. package/dist/design-system/{p-07b0d118.entry.js → p-32d96a70.entry.js} +1 -1
  117. package/dist/design-system/{p-17883b40.entry.js → p-4ef942a8.entry.js} +1 -1
  118. package/dist/design-system/{p-1aafbc7b.entry.js → p-643c004a.entry.js} +1 -1
  119. package/dist/design-system/p-69a208c0.entry.js +1 -0
  120. package/dist/design-system/{p-deec1ef0.entry.js → p-914d74c4.entry.js} +1 -1
  121. package/dist/design-system/p-9c74571a.entry.js +1 -0
  122. package/dist/design-system/{p-696764b0.entry.js → p-9e75a5dc.entry.js} +1 -1
  123. package/dist/design-system/{p-97b405aa.entry.js → p-adce8704.entry.js} +1 -1
  124. package/dist/design-system/{p-969665c0.entry.js → p-b5e9320f.entry.js} +1 -1
  125. package/dist/design-system/{p-a5930cbd.entry.js → p-d1da969d.entry.js} +1 -1
  126. package/dist/design-system/{p-1219699a.entry.js → p-e1350f4d.entry.js} +1 -1
  127. package/dist/design-system/p-e159f70d.entry.js +1 -0
  128. package/dist/design-system/{p-c73cadc7.entry.js → p-f172920e.entry.js} +1 -1
  129. package/dist/esm/design-system.js +1 -1
  130. package/dist/esm/loader.js +1 -1
  131. package/dist/esm/sd-chip.entry.js +3 -3
  132. package/dist/esm/sd-confirm-modal_2.entry.js +2 -1
  133. package/dist/esm/sd-date-picker_7.entry.js +52 -24
  134. package/dist/esm/sd-divider.entry.js +1 -1
  135. package/dist/esm/sd-field_3.entry.js +5 -4
  136. package/dist/esm/sd-linear-progress.entry.js +1 -1
  137. package/dist/esm/sd-loading-container.entry.js +2 -2
  138. package/dist/esm/sd-modal-container.entry.js +3 -0
  139. package/dist/esm/sd-pagination_4.entry.js +8 -8
  140. package/dist/esm/sd-popover.entry.js +8 -5
  141. package/dist/esm/sd-popup.entry.js +1 -1
  142. package/dist/esm/sd-select-list-item_2.entry.js +6 -6
  143. package/dist/esm/sd-select_3.entry.js +8 -8
  144. package/dist/esm/sd-switch.entry.js +1 -1
  145. package/dist/esm/sd-table.entry.js +6 -6
  146. package/dist/esm/sd-tabs.entry.js +1 -1
  147. package/dist/esm/sd-td.entry.js +1 -1
  148. package/dist/esm/sd-toast-container.entry.js +1 -1
  149. package/dist/esm/sd-toast.entry.js +2 -2
  150. package/dist/esm/sd-toggle.entry.js +1 -1
  151. package/dist/types/components/sd-chip/sd-chip.d.ts +1 -1
  152. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +3 -0
  153. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
  154. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -0
  155. package/dist/types/components/sd-popover/sd-popover.d.ts +2 -1
  156. package/dist/types/components.d.ts +3 -8
  157. package/hydrate/index.js +117 -80
  158. package/hydrate/index.mjs +117 -80
  159. package/package.json +1 -1
  160. package/dist/components/p-BE-21GLH.js +0 -1
  161. package/dist/components/p-BUW6I_d5.js +0 -1
  162. package/dist/components/p-DSIM5Mkt.js +0 -1
  163. package/dist/components/p-DoREs-rv.js +0 -1
  164. package/dist/components/p-Dwko_Bx3.js +0 -1
  165. package/dist/design-system/p-18057222.entry.js +0 -1
  166. package/dist/design-system/p-3a848c36.entry.js +0 -1
  167. package/dist/design-system/p-4bd9f005.entry.js +0 -1
  168. package/dist/design-system/p-c5c4a66b.entry.js +0 -1
package/hydrate/index.mjs CHANGED
@@ -7488,7 +7488,7 @@ class SdChip {
7488
7488
  constructor(hostRef) {
7489
7489
  registerInstance(this, hostRef);
7490
7490
  this.update = createEvent(this, "sdUpdate", 7);
7491
- this.remove = createEvent(this, "sdRemove", 7);
7491
+ this.delete = createEvent(this, "sdRemove", 7);
7492
7492
  this.focus = createEvent(this, "sdFocus", 7);
7493
7493
  this.blur = createEvent(this, "sdBlur", 7);
7494
7494
  }
@@ -7502,7 +7502,7 @@ class SdChip {
7502
7502
  internalValue = '';
7503
7503
  isEditing = false;
7504
7504
  update;
7505
- remove;
7505
+ delete;
7506
7506
  focus;
7507
7507
  blur;
7508
7508
  inputEl;
@@ -7636,7 +7636,7 @@ class SdChip {
7636
7636
  event.stopPropagation();
7637
7637
  if (this.disabled)
7638
7638
  return;
7639
- this.remove.emit();
7639
+ this.delete.emit();
7640
7640
  };
7641
7641
  syncInputValue(value) {
7642
7642
  if (!this.inputEl)
@@ -8763,7 +8763,7 @@ class SdDivider {
8763
8763
  const hostStyle = {
8764
8764
  '--sd-divider-color': DIVIDER_COLORS.default,
8765
8765
  };
8766
- return (hAsync(Host, { key: '92e9f5ef8d6d382e1e2a62f3421feaf1bc27aab7', style: hostStyle }, hAsync("hr", { key: '40827e6308a258e6de4a438c53d4de9465a6d0a1', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
8766
+ return (hAsync(Host, { key: '3b3c22b1c5bf2d1bfa52c136113719e26b2e6767', style: hostStyle }, hAsync("hr", { key: '4eca9f280e452330a2f57b03466e00f04688ad06', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
8767
8767
  }
8768
8768
  static get style() { return sdDividerCss(); }
8769
8769
  static get cmpMeta() { return {
@@ -9437,7 +9437,8 @@ class SdField {
9437
9437
  : {} }, hAsync("div", { key: '1f3c5f2009a0d96b8a3544c58b96f7ecc4ddee6b', class: {
9438
9438
  'sd-field__control': true,
9439
9439
  'sd-field__control--has-addon': addon !== '',
9440
- } }, addon && hAsync("div", { key: '39a28adaa959b89d3724672910157662e50b35ed', class: "sd-field__addon" }, addon), hAsync("slot", { key: '0c9360e8644df658c389554c13a04bc22985e84d' })), this.errorMsg !== '' || this.errorMessage !== '' ? (hAsync("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && hAsync("div", { class: "sd-field__hint" }, this.hint))))));
9440
+ } }, addon && (hAsync("div", { key: 'e4f180f0183267ea99e2b8b65b6e4cd769a47946', class: "sd-field__addon" }, this.icon && (hAsync("sd-icon", { key: 'c5503a823d8c5534abd27dc59bbd399702a07283', name: this.icon.name, size: this.icon.size ??
9441
+ Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), hAsync("slot", { key: '8b8bd230703e0b1e45eab3a5334dbdbb55fae8c9' })), this.errorMsg !== '' || this.errorMessage !== '' ? (hAsync("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && hAsync("div", { class: "sd-field__hint" }, this.hint))))));
9441
9442
  }
9442
9443
  renderLabel(label) {
9443
9444
  if (label == null || label === '')
@@ -9524,7 +9525,7 @@ const FILE_PICKER_COLORS = {
9524
9525
  },
9525
9526
  };
9526
9527
 
9527
- const sdFilePickerCss = () => `sd-file-picker{display:inline-flex;width:100%}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:998;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{border:none;background-color:transparent;padding:0;height:auto}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:hover:not(.sd-file-picker--inline-disabled) .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
9528
+ const sdFilePickerCss = () => `sd-file-picker{display:flex;flex-direction:column;width:100%}.sd-file-picker__wrapper{display:flex;flex-direction:column;width:100%}.sd-file-picker__chip-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:998;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{border:none;background-color:transparent;padding:0;height:auto}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:hover:not(.sd-file-picker--inline-disabled) .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
9528
9529
 
9529
9530
  class SdFilePicker {
9530
9531
  constructor(hostRef) {
@@ -9595,11 +9596,11 @@ class SdFilePicker {
9595
9596
  return undefined;
9596
9597
  return typeof value === 'string' ? Number(value) : value;
9597
9598
  }
9598
- validateFiles(files) {
9599
+ validateFiles(files, existingCount = 0) {
9599
9600
  const maxFileSize = this.toBytes(this.maxFileSize);
9600
9601
  const maxTotalSize = this.toBytes(this.maxTotalSize);
9601
9602
  const maxFiles = this.maxFiles != null ? Number(this.maxFiles) : undefined;
9602
- if (maxFiles != null && files.length > maxFiles) {
9603
+ if (maxFiles != null && existingCount + files.length > maxFiles) {
9603
9604
  return { accepted: [], rejected: files, reason: 'max-files' };
9604
9605
  }
9605
9606
  if (maxFileSize != null) {
@@ -9623,22 +9624,34 @@ class SdFilePicker {
9623
9624
  return;
9624
9625
  }
9625
9626
  const fileArray = Array.from(files);
9626
- const { accepted, rejected, reason } = this.validateFiles(fileArray);
9627
- if (reason != null) {
9628
- this.reject?.emit({ files: rejected, reason });
9627
+ if (this.multiple) {
9628
+ const existing = Array.isArray(this.internalValue) ? this.internalValue : [];
9629
+ const { accepted, rejected, reason } = this.validateFiles(fileArray, existing.length);
9629
9630
  if (this.fileInputRef) {
9630
9631
  this.fileInputRef.value = '';
9631
9632
  }
9632
- return;
9633
- }
9634
- if (this.multiple) {
9635
- this.internalValue = accepted;
9633
+ if (reason != null) {
9634
+ this.reject?.emit({ files: rejected, reason });
9635
+ return;
9636
+ }
9637
+ const merged = [...existing, ...accepted];
9638
+ this.internalValue = merged;
9639
+ this.value = merged;
9640
+ this.update?.emit(this.value);
9636
9641
  }
9637
9642
  else {
9643
+ const { accepted, rejected, reason } = this.validateFiles(fileArray);
9644
+ if (reason != null) {
9645
+ this.reject?.emit({ files: rejected, reason });
9646
+ if (this.fileInputRef) {
9647
+ this.fileInputRef.value = '';
9648
+ }
9649
+ return;
9650
+ }
9638
9651
  this.internalValue = accepted[0];
9652
+ this.value = this.internalValue;
9653
+ this.update?.emit(this.value);
9639
9654
  }
9640
- this.value = this.internalValue;
9641
- this.update?.emit(this.value);
9642
9655
  };
9643
9656
  handleClear = (event) => {
9644
9657
  if (this.disabled)
@@ -9658,6 +9671,8 @@ class SdFilePicker {
9658
9671
  this.fileInputRef?.click();
9659
9672
  };
9660
9673
  hasFiles() {
9674
+ if (this.multiple)
9675
+ return false;
9661
9676
  if (!this.internalValue)
9662
9677
  return false;
9663
9678
  if (Array.isArray(this.internalValue)) {
@@ -9665,14 +9680,28 @@ class SdFilePicker {
9665
9680
  }
9666
9681
  return true;
9667
9682
  }
9683
+ hasChips() {
9684
+ return Array.isArray(this.internalValue) && this.internalValue.length > 0;
9685
+ }
9668
9686
  getDisplayText() {
9669
9687
  if (!this.hasFiles())
9670
9688
  return this.placeholder ?? 'Click to upload';
9671
- if (Array.isArray(this.internalValue)) {
9672
- return this.internalValue.map(f => f.name).join(', ');
9673
- }
9674
9689
  return this.internalValue?.name || (this.placeholder ?? 'Click to upload');
9675
9690
  }
9691
+ handleChipRemove = (index) => {
9692
+ if (!Array.isArray(this.internalValue))
9693
+ return;
9694
+ const newFiles = [...this.internalValue];
9695
+ newFiles.splice(index, 1);
9696
+ this.internalValue = newFiles;
9697
+ this.value = newFiles;
9698
+ this.update?.emit(this.value);
9699
+ };
9700
+ renderChipList() {
9701
+ if (!this.hasChips())
9702
+ return null;
9703
+ return (hAsync("div", { class: "sd-file-picker__chip-list" }, this.internalValue.map((file, index) => (hAsync("sd-chip", { value: file.name, onSdRemove: () => this.handleChipRemove(index) })))));
9704
+ }
9676
9705
  checkOverflow() {
9677
9706
  if (!this.fileNamesRef)
9678
9707
  return;
@@ -9712,9 +9741,9 @@ class SdFilePicker {
9712
9741
  return (hAsync("div", { class: {
9713
9742
  'sd-file-picker--inline': true,
9714
9743
  'sd-file-picker--inline-disabled': this.disabled,
9715
- }, style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content));
9744
+ }, style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content, this.renderChipList()));
9716
9745
  }
9717
- return (hAsync("sd-field", { name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, content));
9746
+ return (hAsync("div", { class: "sd-file-picker__wrapper", style: cssVars }, hAsync("sd-field", { name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content), this.renderChipList()));
9718
9747
  }
9719
9748
  static get watchers() { return {
9720
9749
  "value": [{
@@ -9923,7 +9952,7 @@ class SdFloatingPopover {
9923
9952
  }
9924
9953
  }
9925
9954
  render() {
9926
- return hAsync("slot", { key: 'df97046860db0225724f9768428063a3390c5f6e' });
9955
+ return hAsync("slot", { key: 'b1514fc54df3e304cfb53b824df96431fa815a6e' });
9927
9956
  }
9928
9957
  static get style() { return sdFloatingPortalCss(); }
9929
9958
  static get cmpMeta() { return {
@@ -10914,12 +10943,12 @@ class SdInput {
10914
10943
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
10915
10944
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
10916
10945
  };
10917
- return (hAsync("sd-field", { key: '184bd0b614071b1c26d0ef3588db8eea1ac519cb', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("label", { key: '599d757b62bd61be0ba5c2dde2e1030b4d6f2973', class: "sd-input__content" }, hAsync("slot", { key: '8b71b1449225e51cbab4204e34c077d83101e09e', name: "prefix" }), hAsync("input", { key: 'ed48cf8544adc9e3475229b03129ace0af0e6d4e', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: 'f084df7c3174756111c6eeb824202e26273d369a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (hAsync("sd-ghost-button", { key: '62f87c780b971ef43ec9bd15ae47d1f773ec18ca', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
10946
+ return (hAsync("sd-field", { key: '44bf19bfbe047e00eb02530a4f9c9eac37d9f0fb', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("label", { key: '2f610f980107fc552554b9415d878a7b8464e460', class: "sd-input__content" }, hAsync("slot", { key: 'da4fa13a9f4c8e5cabb238743b74dbc216cf3d27', name: "prefix" }), hAsync("input", { key: 'dd4fc95ef5136348e764552fb8847a7fedf6fd42', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: 'ab2403fafd7eecf37bc03b0147025b06154230a7', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (hAsync("sd-ghost-button", { key: '7b6ca184d3c08fc160556abf135939d1e8064b98', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
10918
10947
  if (this.disabled || this.readonly)
10919
10948
  return;
10920
10949
  this.internalValue = '';
10921
10950
  await this.formField?.sdValidate();
10922
- } })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '83f511acdc0db74f6d7745e4a47c731f9bcf9bb5', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
10951
+ } })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '52b5a72f6140b441ea971330594749208e302597', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
10923
10952
  if (this.disabled || this.readonly)
10924
10953
  return;
10925
10954
  this.passwordVisible = !this.passwordVisible;
@@ -11333,7 +11362,7 @@ class SdLinearProgress {
11333
11362
  clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
11334
11363
  };
11335
11364
  const valueText = `${Math.round(this.clampedValue)}%`;
11336
- return (hAsync(Host, { key: '41d89c01b35a6edba09a3ef9f848458d284d491a', style: hostStyle }, hAsync("div", { key: '79d7490c934437aa0075e39aea0f352dec61eae0', class: 'sd-linear-progress__track' }, hAsync("div", { key: 'd6743f9b4f5a086e11a368989fd0f52a10bdc2ef', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (hAsync("span", { key: '2d013c7cdf438e069d00c6fcddfca12ff55490e6', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (hAsync("span", { key: '4f473a670cab7b0d104f9c455c28e415d5863a86', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && hAsync("span", { key: '6581d326a1d05413587b44715613a4d878e4f658', class: 'sd-linear-progress__label' }, this.label)));
11365
+ return (hAsync(Host, { key: '0ae06e8a25685038b5e0834eba2ea090f8334fed', style: hostStyle }, hAsync("div", { key: 'bc4d4b10d0ec63dbeda35eff00de62ab7335ce81', class: 'sd-linear-progress__track' }, hAsync("div", { key: '5c228c7dade94c9cf22edbf48ef7d2edbc81d7b9', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (hAsync("span", { key: 'e8abe8b206fc0b07fd348038ad81c3fdd8141797', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (hAsync("span", { key: 'b6f43931cbd98e799e3481c23d1ae98f1a65da34', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && hAsync("span", { key: '616eba6d54d25cad5eceebc8de6f1122668307cf', class: 'sd-linear-progress__label' }, this.label)));
11337
11366
  }
11338
11367
  static get style() { return sdLinearProgressCss(); }
11339
11368
  static get cmpMeta() { return {
@@ -11367,10 +11396,10 @@ class SdLoadingContainer {
11367
11396
  this.visible = false;
11368
11397
  }
11369
11398
  render() {
11370
- return (hAsync("div", { key: '99c6d9e798862f41142f246f371a357cd604aa44', class: {
11399
+ return (hAsync("div", { key: 'bae5e9473237c0389d6fb404294abe6897c9847c', class: {
11371
11400
  'sd-loading-container': true,
11372
11401
  'sd-loading-container--visible': this.visible,
11373
- }, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: 'b836c7d283113e57d0947a178035591521dc8ee2', class: "sd-loading-container__backdrop" }), hAsync("div", { key: '02f1ae9b17eedb29f24d0170c65ef4217f38a5b5', class: "sd-loading-container__content" }, hAsync("sd-circle-progress", { key: '3d9c1b33693e823c4c55967d00a63eff8a2a805e', indeterminate: true, type: "inverse" }), this.message && (hAsync("p", { key: '46c060f444506a9771507b09fd0867f763a95680', class: "sd-loading-container__message" }, this.message)))));
11402
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: 'd78b4d84c7cd34739452b0ab84df640c94939b2b', class: "sd-loading-container__backdrop" }), hAsync("div", { key: '890c86605412bf67ab878155fd299c2f0b84e375', class: "sd-loading-container__content" }, hAsync("sd-circle-progress", { key: '0912c4b7c23700b6ccf8ffdc6b4ce0d67b568320', indeterminate: true, type: "inverse" }), this.message && (hAsync("p", { key: '373d1765d0a7c24b54bb22e65a8a6a525771ed78', class: "sd-loading-container__message" }, this.message)))));
11374
11403
  }
11375
11404
  static get style() { return sdLoadingContainerCss(); }
11376
11405
  static get cmpMeta() { return {
@@ -11428,6 +11457,7 @@ class SdLoadingModal {
11428
11457
  buttonLabel = '';
11429
11458
  width;
11430
11459
  height;
11460
+ progress;
11431
11461
  click;
11432
11462
  get resolvedState() {
11433
11463
  return this.state ?? 'loading';
@@ -11466,7 +11496,7 @@ class SdLoadingModal {
11466
11496
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
11467
11497
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
11468
11498
  };
11469
- return (hAsync(Host, { key: '9276c9080c3f9bf2fdf31d1bb5e2b918a49b6a5a', style: hostStyle }, hAsync("div", { key: '6f8d55dd13a92f248e0f7ed50c268f9105975913', class: "sd-loading-modal" }, hAsync("div", { key: 'f40f91f1d61c6ba1bb2049277c664d5abd4657e8', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (hAsync("sd-circle-progress", { indeterminate: true })) : (hAsync("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), hAsync("div", { key: '1ecad303970f074b50dab0050872a95ddc99aad4', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (hAsync("p", { class: "sd-loading-modal__message" }, message)))) : (hAsync("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (hAsync("div", { key: 'dd45d56a5475dc766487859e13e460bc2e27ec82', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: '5d11fa174168c568fd71013ee5600e0884f28c50', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
11499
+ return (hAsync(Host, { key: 'f14baf774d5d8547158a84bc3948035e69e022b5', style: hostStyle }, hAsync("div", { key: 'f441c9718abd608c687e92884fbbefb6030610f4', class: "sd-loading-modal" }, hAsync("div", { key: '9e7a73f9f35fc800326ffd809058ae23a5b60688', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (hAsync("sd-circle-progress", { value: this.progress })) : (hAsync("sd-circle-progress", { indeterminate: true }))) : (hAsync("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), hAsync("div", { key: '1d468a2ad713efa5162648868b6c137255834a39', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (hAsync("p", { class: "sd-loading-modal__message" }, message)))) : (hAsync("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (hAsync("div", { key: '75a88c01cd7df4953c766cb71a7cf89a150de65e', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: 'bdd17775f1b57e140cc09f7a79835ca10693ceff', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
11470
11500
  }
11471
11501
  static get style() { return sdLoadingModalCss(); }
11472
11502
  static get cmpMeta() { return {
@@ -11478,7 +11508,8 @@ class SdLoadingModal {
11478
11508
  "useButton": [516, "use-button"],
11479
11509
  "buttonLabel": [1, "button-label"],
11480
11510
  "width": [8],
11481
- "height": [8]
11511
+ "height": [8],
11512
+ "progress": [2]
11482
11513
  },
11483
11514
  "$listeners$": undefined,
11484
11515
  "$lazyBundleId$": "-",
@@ -11784,6 +11815,9 @@ class SdModalContainer {
11784
11815
  if (this.hasOwnProp(options, 'height')) {
11785
11816
  this.setAttr(el, 'height', options.height != null ? String(options.height) : undefined);
11786
11817
  }
11818
+ if (this.hasOwnProp(options, 'progress')) {
11819
+ el.progress = options.progress;
11820
+ }
11787
11821
  }
11788
11822
  applyProps(el, options) {
11789
11823
  if (this.hasOwnProp(options, 'type'))
@@ -12260,15 +12294,15 @@ class SdNumberInput {
12260
12294
  '--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
12261
12295
  '--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
12262
12296
  };
12263
- return (hAsync("sd-field", { key: '36525cd069e57fc9177e25065381f722d1afa66e', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: '47e0981ffcd5dd5182fa5586fda0014be865da9e', class: {
12297
+ return (hAsync("sd-field", { key: '508f0952028672d4951b5339d581b2180dd5a425', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: '8762e78034b655fc325de8a5be1dcc6dfad280f3', class: {
12264
12298
  'sd-number-input__content': true,
12265
12299
  'sd-number-input__content--no-stepper': !this.useButton,
12266
- } }, this.useButton && (hAsync("button", { key: '7f5afc1ded2c889ccf7d689f4ee058cb171571d9', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: 'fd980fd4e568feaaebb19621ca837201bea519dd', name: "minus", size: iconSize, color: this.isDecrementDisabled()
12300
+ } }, this.useButton && (hAsync("button", { key: '5a341252ff361744d47bf2297d164fbf39d7a2fe', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: 'f8de73e01fa5762e6fadd10c9fda610efd3710e4', name: "minus", size: iconSize, color: this.isDecrementDisabled()
12267
12301
  ? NUMBER_INPUT_STEPPER.icon.disabled
12268
- : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '2af6450d437cc765697e0bb4c8a0fcb58a9abd2f', class: "sd-number-input__prefix" }, this.inputPrefix), hAsync("input", { key: '21396363bd0e08f1639cd5a56b0bb7d5c9acd6c1', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
12302
+ : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '5e010880ff176350f333dc0e9de9b5f1d89b7efd', class: "sd-number-input__prefix" }, this.inputPrefix), hAsync("input", { key: '0fc29e67f960bc2e93da90ffcd3d83ef24f151c2', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
12269
12303
  textAlign: this.useButton ? 'center' : 'right',
12270
12304
  ...this.inputStyle,
12271
- } }), this.inputSuffix && hAsync("span", { key: 'd3cd84cd41e0161cfe0b13ed44b412991e498a92', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (hAsync("button", { key: '0a1fdf262b953ce79515ab9771d3177560e11eed', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '5ffd93512d528309a9051d01f59bb31f1b1f9bb8', name: "add", size: iconSize, color: this.isIncrementDisabled()
12305
+ } }), this.inputSuffix && hAsync("span", { key: 'db977e7d355fa86ddb35f4e1417e2408d8485ec2', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (hAsync("button", { key: '55bdd004f7bb3aa160f90edf7696944af23e3619', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: 'b5ce9631347c3f78b6f0fe04060def8e3a04bac3', name: "add", size: iconSize, color: this.isIncrementDisabled()
12272
12306
  ? NUMBER_INPUT_STEPPER.icon.disabled
12273
12307
  : NUMBER_INPUT_STEPPER.icon.default }))))));
12274
12308
  }
@@ -12478,13 +12512,13 @@ class SdPagination {
12478
12512
  '--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
12479
12513
  '--sd-pagination-item-width': `${this.buttonWidth}px`,
12480
12514
  };
12481
- return (hAsync("div", { key: '36a334a05ade253a6345e82d57647a4bab0c94cf', class: {
12515
+ return (hAsync("div", { key: 'a5d1cb7e22c1d582800f329e6b02ffd9f5e6605c', class: {
12482
12516
  'sd-pagination': true,
12483
12517
  'sd-pagination--simple': this.simple,
12484
- }, style: cssVars }, hAsync("div", { key: '50963e0cdf4da3078020207c0115ccebfe1881d6', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (hAsync("div", { class: "sd-pagination__info" }, hAsync("span", { class: "sd-pagination__current" }, this.currentPage), hAsync("span", { class: "sd-pagination__divider" }, "/"), hAsync("span", { class: "sd-pagination__last" }, this.lastPage))) : (hAsync("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (hAsync("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
12518
+ }, style: cssVars }, hAsync("div", { key: '196f7f2b3cc0fc896ddbcd4449b23d31729c7ec3', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (hAsync("div", { class: "sd-pagination__info" }, hAsync("span", { class: "sd-pagination__current" }, this.currentPage), hAsync("span", { class: "sd-pagination__divider" }, "/"), hAsync("span", { class: "sd-pagination__last" }, this.lastPage))) : (hAsync("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (hAsync("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
12485
12519
  'sd-pagination__item': true,
12486
12520
  'sd-pagination__item--selected': this.currentPage === n,
12487
- }, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: 'a0d0b565cd2b5108c997888b2536ee740b167367', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
12521
+ }, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: '5fe50f0cef43f8b5ef72556ed4d19653cb30a7e9', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
12488
12522
  }
12489
12523
  static get style() { return sdPaginationCss(); }
12490
12524
  static get cmpMeta() { return {
@@ -12529,10 +12563,10 @@ class SdPopover {
12529
12563
  disabled = false;
12530
12564
  type = 'button';
12531
12565
  menuTitle;
12532
- messages = [];
12533
12566
  leftLink;
12534
12567
  button;
12535
12568
  menuClass = '';
12569
+ slotContentHTML = '';
12536
12570
  showChange;
12537
12571
  buttonEl;
12538
12572
  setShow = (next) => {
@@ -12554,27 +12588,30 @@ class SdPopover {
12554
12588
  }
12555
12589
  }
12556
12590
  handleClose = () => this.setShow(false);
12591
+ componentWillLoad() {
12592
+ this.slotContentHTML = this.el.innerHTML;
12593
+ this.el.innerHTML = '';
12594
+ }
12557
12595
  render() {
12558
12596
  const placement = this.placement ?? 'bottom';
12559
12597
  const color = this.color ?? '#01BB4B';
12560
12598
  const icon = this.icon ?? 'helpOutline';
12561
12599
  const iconSize = this.iconSize ?? 12;
12562
12600
  const menuClass = this.menuClass ?? '';
12563
- const messages = Array.isArray(this.messages) ? this.messages : [];
12564
12601
  const leftLink = this.leftLink;
12565
12602
  const button = this.button;
12566
12603
  const hasFooter = !!leftLink || !!button;
12567
- return (hAsync(Fragment, { key: '7bf954f334ae12586a02b799139dc29421a86551' }, this.label !== '' ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (hAsync("sd-floating-portal", { key: 'f785e5851cf126052d2c016220d9ff2376f2a9f3', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, hAsync("div", { key: '5eb30ad12f0f1cb3f23ae90e6b51e9c545dee8fd', class: {
12604
+ return (hAsync(Fragment, { key: '3eb48b91ccf49d78cf332bf2c83268ca903be3ef' }, this.label !== '' ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel || this.label || icon || 'Open popover', disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (hAsync("sd-floating-portal", { key: '94c0b1d56307b29944d078d03bdd686c3eacaee0', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, hAsync("div", { key: '3f969dcad5785973e80cab6090e8b687461bbbe2', class: {
12568
12605
  'sd-floating-menu': true,
12569
12606
  'sd-floating-menu--popover': true,
12570
12607
  [`sd-floating-menu--${placement}`]: true,
12571
12608
  [menuClass]: menuClass !== '',
12572
12609
  }, style: {
12573
12610
  '--sd-floating-bg': popoverTokens.popover.bg,
12574
- } }, hAsync("i", { key: '632639d52731fe47baf2860464013a4d0fd3c3d8', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: '1f963e1a52b09803fd9f2d1f1ce7a07023951fc9' })), hAsync("div", { key: '1c90735369085c465321e398775c4ce484190479', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: '29584cd7bcb244c3fb6b0cb895a5c4b55093418a', class: "sd-floating-menu__title" }, this.menuTitle), messages.length > 0 && (hAsync("div", { key: '2c7a9671cbec98f0fb393b1d049bfecc1e8b8013', class: "sd-floating-menu__messages" }, messages.map((message, i) => (hAsync("div", { key: `msg-${i}` }, message))))), hasFooter && (hAsync("div", { key: '18667a0a8eaf8f022513b048095c24487dd4ae98', class: {
12611
+ } }, hAsync("i", { key: '3992cc7f589dc932c59a9bd88376b93e66e37cd0', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: 'b2d27b5131e022d3d22a82cccf9cd80afc414194' })), hAsync("div", { key: '48b33b11d8179e51fe4b3f0fbc24084d197b5447', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: 'b955fb4707b66d003414197254a165388ceafb11', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (hAsync("div", { key: 'c5416ab9a7f4f0bcda01af31304e4358f25ff6e2', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (hAsync("div", { key: '51db3b7a70e4f1befc49b7ee26422a634a38d9e1', class: {
12575
12612
  'sd-floating-menu__buttons': true,
12576
12613
  'sd-floating-menu__buttons--with-link': !!leftLink,
12577
- } }, leftLink && (hAsync("sd-text-link", { key: 'efbeb3047ea9eb62eba2f5940ec4f71f46d1c479', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', useArrow: !!leftLink.useArrow, underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (hAsync("sd-button", { key: '9044ee54225a7b441c85d1acf3355e2d3688f942', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel, disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), hAsync("sd-ghost-button", { key: '4f37394444b692ff5a2b736fe3514e51eb49b601', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
12614
+ } }, leftLink && (hAsync("sd-text-link", { key: 'a2a164fa9ab3294c0b0e726c7c69405a612de264', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', useArrow: !!leftLink.useArrow, underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (hAsync("sd-button", { key: '41c917026e1255ac2bd355042500c6efa0e76cb0', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel || button.label || button.icon || 'Open popover', disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), hAsync("sd-ghost-button", { key: 'dde5bbb7bc8b9b5ce6b122eb566ce961dd640ad0', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
12578
12615
  }
12579
12616
  static get style() { return sdPopoverCss(); }
12580
12617
  static get cmpMeta() { return {
@@ -12593,10 +12630,10 @@ class SdPopover {
12593
12630
  "disabled": [4],
12594
12631
  "type": [1],
12595
12632
  "menuTitle": [1, "menu-title"],
12596
- "messages": [16],
12597
12633
  "leftLink": [16],
12598
12634
  "button": [16],
12599
- "menuClass": [1, "menu-class"]
12635
+ "menuClass": [1, "menu-class"],
12636
+ "slotContentHTML": [32]
12600
12637
  },
12601
12638
  "$listeners$": undefined,
12602
12639
  "$lazyBundleId$": "-",
@@ -12706,7 +12743,7 @@ class SdPopup {
12706
12743
  ...DEFAULT_SUBMIT_BUTTON_PROPS,
12707
12744
  ...this.submitButtonProps,
12708
12745
  };
12709
- return (hAsync("div", { key: '77379698e76b000368df2d2b7345010cde3df7ba', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, hAsync("header", { key: 'e00d2292b718bfd21e491a09e5ea8c18fbb1a2c8', class: "sd-popup__header" }, hAsync("h2", { key: 'b8bac8f58f7f916a3b6fe40a66d21318da45d4d3', class: "sd-popup__title" }, this.popupTitle)), hAsync("div", { key: '56e5b653539752b9fd0fa4694f7342914cd7abc6', class: "sd-popup__body" }, hAsync("slot", { key: '183fafa8179a3350817ec6e3dea12281860f7639' })), this.useFooter && (hAsync("footer", { key: 'd1b7fe2d67e5f3ad3b3f8e20408271fdaab86d93', class: "sd-popup__footer" }, hAsync("div", { key: '7cc5d0bd9d314942d8d5f982f1f459c56fde4bc0', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, hAsync("slot", { key: 'ffb52c9d679e4ddf9e50e012f8a9aa02b0cb1f95', name: "footer-left" })), hAsync("sd-button", { key: '3ab8061bf4119a9351921a41c3d9cb942c00b5d1', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
12746
+ return (hAsync("div", { key: '53c0cca8c1188f36569ffaf79767fe81f9a5bf87', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, hAsync("header", { key: 'f8459d43d2568e1f8fbcb19f789ba2a9998db8e7', class: "sd-popup__header" }, hAsync("h2", { key: '56b960c73d215e4ce878007acd0b04e1371ee87b', class: "sd-popup__title" }, this.popupTitle)), hAsync("div", { key: '513de018b9826c54672bdc8019447b3026fb2d9f', class: "sd-popup__body" }, hAsync("slot", { key: '60109bc7ee30ac100a08285e50d24027e6bc22d0' })), this.useFooter && (hAsync("footer", { key: '4daa5fa938f2d79b2ab4d13de1d6aeb0b02d78e1', class: "sd-popup__footer" }, hAsync("div", { key: '6f885be6acb363054c659f7f844558b9bda1ca74', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, hAsync("slot", { key: '57231c78bb0512407323c8ef16a90011027abbc4', name: "footer-left" })), hAsync("sd-button", { key: 'ce4c1e577d4b3346d368e22ce713ccc57f54f231', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
12710
12747
  }
12711
12748
  static get style() { return sdPopupCss(); }
12712
12749
  static get cmpMeta() { return {
@@ -13627,15 +13664,15 @@ class SdSelect {
13627
13664
  this.closeDropdown();
13628
13665
  },
13629
13666
  };
13630
- return (hAsync("sd-field", { key: '3c188cbdd8c612e78780d18c03acc382d32080c9', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
13667
+ return (hAsync("sd-field", { key: '08992d05403b6e7ba6aec7968dd6fa99d8857666', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
13631
13668
  this.hovered = true;
13632
13669
  }, onMouseLeave: () => {
13633
13670
  this.hovered = false;
13634
- } }, hAsync("div", { key: 'be596d399856ed966408ba1525fea9dbdf8fcc7e', class: "sd-select", ref: el => {
13671
+ } }, hAsync("div", { key: '3372029d54087654b8172d4d374126c0be703f5c', class: "sd-select", ref: el => {
13635
13672
  this.triggerRef = el;
13636
- } }, hAsync("sd-select-trigger", { key: 'f8a29b1ac2469c60af8c7101d05157674566f00f', ref: el => {
13673
+ } }, hAsync("sd-select-trigger", { key: 'af832319b490501468b05da69eeed964a07f00ea', ref: el => {
13637
13674
  this.triggerComponentRef = el;
13638
- }, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: '3cef3f95f69b09d0e4e8f6b01615df4cca031cff', ...portalProps }, hAsync("sd-select-listbox", { key: 'e8833c547aa2e8084754c7a439d3860df5c97e5b', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
13675
+ }, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: 'b6b9211aadd5ef643716948dfa67d6d923420679', ...portalProps }, hAsync("sd-select-listbox", { key: '9d532180439c8d1867e349d89914626b644ac224', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
13639
13676
  }
13640
13677
  static get watchers() { return {
13641
13678
  "isOpen": [{
@@ -13927,7 +13964,7 @@ class SdSelectListItem {
13927
13964
  return (
13928
13965
  // 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
13929
13966
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
13930
- hAsync("div", { key: '33f5d4383d2bfac91507d72d98b8a73b380a70e8', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
13967
+ hAsync("div", { key: 'd1030a5fb5797ea6be89f6a3a32201145e5fa387', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
13931
13968
  'sd-select-list-item': true,
13932
13969
  'sd-select-list-item--group': isGroup,
13933
13970
  'sd-select-list-item--depth1-group': isDepth1Group,
@@ -13937,7 +13974,7 @@ class SdSelectListItem {
13937
13974
  'sd-select-list-item--focused': this.isFocused,
13938
13975
  'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
13939
13976
  'sd-select-list-item--disabled': !!this.option.disabled,
13940
- }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: 'a93dec7a45e140d7f715a6fc823c4438c58cdd8f', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), hAsync("span", { key: '81b0bfdd0825b795f2638d6529e8c5fb346be6db', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (hAsync("span", { key: '2e1425a5d6ab9082a30b4d9079be1d4104d95fc2', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
13977
+ }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '1f8a7812f567ece12b7e064a9e9738366b0a0e11', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), hAsync("span", { key: '55e2e4c9497aea99fc0502b40ac16809c257206e', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (hAsync("span", { key: '722599bf0022770c91c02d4e67a6e234da4e0f80', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
13941
13978
  }
13942
13979
  static get style() { return sdSelectListItemCss(); }
13943
13980
  static get cmpMeta() { return {
@@ -14005,15 +14042,15 @@ class SdSelectListItemSearch {
14005
14042
  clearTimeout(this.debounceTimer);
14006
14043
  }
14007
14044
  render() {
14008
- return (hAsync("div", { key: '8c0c85ac9c382e2978e32924c33a580a4fac3485', class: {
14045
+ return (hAsync("div", { key: '69416e32b3915ca27d8e2f25a7f36d1868835696', class: {
14009
14046
  'sd-select-list-item-search': true,
14010
14047
  'sd-select-list-item-search--scrolled': this.isScrolled,
14011
- } }, hAsync("div", { key: '92425ff6eab4cf16f96f45dabb8f07c27ad9e747', class: "sd-select-list-item-search__inner" }, hAsync("sd-icon", { key: '253a40e4e624e828e351d08c1f05fb2d098c8b9b', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), hAsync("input", { key: 'b38735ae6e75b9fe19ceb3038c5b873ad42760ef', ref: el => {
14048
+ } }, hAsync("div", { key: '3917460421d197d70abc7b6b9c75fa85ce9e6631', class: "sd-select-list-item-search__inner" }, hAsync("sd-icon", { key: '42a0d8221d2479457af32db35111bb35d7a28e53', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), hAsync("input", { key: '48ab6ef174ddf194aa2616d0cbfbc09fa2032222', ref: el => {
14012
14049
  this.inputEl = el;
14013
- }, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), hAsync("button", { key: '8045fef5d1821ea60ac261ee07f7eddf8a7a189d', type: "button", class: {
14050
+ }, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), hAsync("button", { key: 'ead5c189a8ef2b8cb3696cc6536c58dd4864c71e', type: "button", class: {
14014
14051
  'sd-select-list-item-search__clear': true,
14015
14052
  'sd-select-list-item-search__clear--hidden': this.searchText === '',
14016
- }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '110c0420fd17c51055cfc1815a528cf7c385d91e', name: "close", size: 12, color: "#888888" })))));
14053
+ }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '6590c0acd5114722126459f4886c587b320a17e1', name: "close", size: 12, color: "#888888" })))));
14017
14054
  }
14018
14055
  static get style() { return sdSelectListItemSearchCss(); }
14019
14056
  static get cmpMeta() { return {
@@ -14384,9 +14421,9 @@ class SdSelectListbox {
14384
14421
  '--listbox-max-height': this.maxHeight ?? '260px',
14385
14422
  '--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
14386
14423
  };
14387
- return (hAsync("div", { key: '7505e221ddb890880f0ba5088c3fdc76700e3b2f', class: "sd-select-listbox", style: cssVars }, this.showSearch && (hAsync("sd-select-list-item-search", { key: '54b97ad40c5e7abe92b478689d09337843736652', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), hAsync("div", { key: 'f7417f923cc34cbb2c2a56ae70ed54701d013d3d', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
14424
+ return (hAsync("div", { key: 'f2b243788074de1aa3e78a78566a622ab3116351', class: "sd-select-listbox", style: cssVars }, this.showSearch && (hAsync("sd-select-list-item-search", { key: 'a9f9f30a43e1965756095e29a24f75b4f1c14100', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), hAsync("div", { key: 'b500f705a69e2c98e3ad79bf04c2bb2a4b8a6162', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
14388
14425
  this.listEl = el;
14389
- } }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '5e8cfcb1f9f0953b9eaa6fc73de992b52a0a23d7', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (hAsync("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (hAsync("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
14426
+ } }, this.showSelectAll && (hAsync("sd-select-list-item", { key: 'c47e41ebce483ee311cae261b2f4fe21c134e437', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (hAsync("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (hAsync("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
14390
14427
  }
14391
14428
  static get watchers() { return {
14392
14429
  "searchKeyword": [{
@@ -14467,7 +14504,7 @@ class SdSelectTrigger {
14467
14504
  ? SELECT_COLORS.icon.disabled
14468
14505
  : SELECT_COLORS.icon.default,
14469
14506
  };
14470
- return (hAsync("div", { key: '3a97ed909e3088528714682050a3986081e19433', ref: el => {
14507
+ return (hAsync("div", { key: '471e6df2948987989fa192474b0305ad0c8bcd32', ref: el => {
14471
14508
  this.triggerEl = el;
14472
14509
  }, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
14473
14510
  'sd-select-trigger': true,
@@ -14478,7 +14515,7 @@ class SdSelectTrigger {
14478
14515
  e.preventDefault();
14479
14516
  this.handleClick();
14480
14517
  }
14481
- }, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '986faba7d79980f0bcd10fff32495d2100e1805f', class: "sd-select-trigger__content" }, hAsync("span", { key: 'c51b268186de7cdabcf06ac3d540ccb570c9e865', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), hAsync("sd-icon", { key: '8a03b400d5aef2e0ca9aeb4b1f6122db2932455a', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
14518
+ }, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '8133b44065cd4a27d6aa71980c8684c363c7e7ba', class: "sd-select-trigger__content" }, hAsync("span", { key: 'd8ee3d118cf760b687b491387592efe0c7532cf2', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), hAsync("sd-icon", { key: '0271061d32f1236346812a21a2e483402a94415c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
14482
14519
  'sd-select-trigger__icon': true,
14483
14520
  'sd-select-trigger__icon--open': this.isOpen,
14484
14521
  } }))));
@@ -14600,7 +14637,7 @@ class SdSwitch {
14600
14637
  '--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
14601
14638
  '--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
14602
14639
  };
14603
- return (hAsync("label", { key: '04674e9fc781ac58b2e68ae30cb90c948de8b5e3', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, hAsync("input", { key: 'b87970c38aa2ccbe3d8f91414c96c2f05aaaa818', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), hAsync("div", { key: 'd87bcaf8b16d17401215dd962875dc585f747d65', class: "sd-switch__track" }, hAsync("div", { key: '408a034cd6b063d9cd968f647995cc77dfdd0577', class: "sd-switch__knob" })), this.label && hAsync("span", { key: '58d7ab18329007eac2e23b0fcda66a841e4df0c2', class: "sd-switch__label" }, this.label)));
14640
+ return (hAsync("label", { key: 'b5dc0e7a9a59d679402226aa18f3155e42f6b7c2', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, hAsync("input", { key: 'aa77eb38e07dfc911eb3a72c3ab3b3287423deaa', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), hAsync("div", { key: 'b973671f6229fea3aab8d4040cc2916e32001eaf', class: "sd-switch__track" }, hAsync("div", { key: 'db6073df05c1d77681559490fd773fdce24c6ca4', class: "sd-switch__knob" })), this.label && hAsync("span", { key: '8ee1f5ba9fc1561a351d6982929721cc33ce0650', class: "sd-switch__label" }, this.label)));
14604
14641
  }
14605
14642
  static get style() { return sdSwitchCss(); }
14606
14643
  static get cmpMeta() { return {
@@ -15530,25 +15567,25 @@ class SdTable {
15530
15567
  '--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
15531
15568
  '--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
15532
15569
  };
15533
- return (hAsync(Host, { key: '4596e04bd57aca00fa6378fd26ce33a06a795eaf', style: hostStyle }, hAsync("div", { key: '11a20d327410b0be659cede32917164e036e796c', class: "sd-table__container", style: {
15570
+ return (hAsync(Host, { key: '73046beb47b356f351ae89b162c8e8af2942b0b2', style: hostStyle }, hAsync("div", { key: 'f56b8a425d15a3598e6c1f3373d21ef263cbd800', class: "sd-table__container", style: {
15534
15571
  '--table-width': this.width,
15535
15572
  '--table-height': effectiveTableHeight,
15536
15573
  '--table-container-height': `calc(${effectiveTableHeight} - ${paginationHeight}px)`,
15537
- } }, hAsync("div", { key: 'f4f3acf584dc4eacdae25b11aa2b62b73ffab949', class: {
15574
+ } }, hAsync("div", { key: '519a193ab21616ce0a423c9043e0114c489539f3', class: {
15538
15575
  'sd-table__wrapper': true,
15539
15576
  'sd-table__wrapper--use-top': this.useTop,
15540
- } }, hAsync("div", { key: 'c8ab618b9c990a22b8e9466a5bfb5f02f4de8b12', class: {
15577
+ } }, hAsync("div", { key: 'ef96c9e2ef6b70023c35e5709048f3d994a5bebc', class: {
15541
15578
  'sd-table__scroll-container': true,
15542
15579
  'sd-table__scroll-container--loading': this.isLoading,
15543
15580
  'sd-table__scroll-container--no-data': isNoData,
15544
- } }, this.isLoading && (hAsync("div", { key: 'a696933a70799ba282fc743281d0af27fd691a2e', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, hAsync("sd-circle-progress", { key: 'cba6ac47367ef6499bf338b9b757ee74fdd7e6c1', indeterminate: true }))), isNoData && (hAsync(hAsync.Fragment, null, hAsync("div", { key: '6e22156bf5b0fb9814d9bf9cad57506758c6284b', class: "sd-table__no-data-header-overlay" }), hAsync("div", { key: 'b72f9fabcc8acb8e700ad55acc4d7aff08355a1c', class: "sd-table__no-data" }, hAsync("div", { key: '43f271a8803121362f16e8153748328658f073ec', class: "sd-table__no-data-content", ref: el => {
15581
+ } }, this.isLoading && (hAsync("div", { key: '94f9bbc56855af3548a73ccbbf228b2247764f54', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, hAsync("sd-circle-progress", { key: '2f8a0bfbc0c5829779b7474a9520ddec70a977ea', indeterminate: true }))), isNoData && (hAsync(hAsync.Fragment, null, hAsync("div", { key: 'fab3d44147ecbc99ff3745908ec69da003b4e7cf', class: "sd-table__no-data-header-overlay" }), hAsync("div", { key: '10f8b13e6bba12c80001e5d4432715b0abe2f2f2', class: "sd-table__no-data" }, hAsync("div", { key: '8c411450fc0780df83e69c86ad06c2d09cf80350', class: "sd-table__no-data-content", ref: el => {
15545
15582
  this.noDataContentEl = el;
15546
15583
  if (el)
15547
15584
  this.syncNoDataContentObserver();
15548
- } }, hAsync("slot", { key: '4b8533115bbc81962b80c9c2533fe4b44a87193c', name: "no-data" }, hAsync("span", { key: 'd94c4f7cf9eca7901b99434f712480a7b20c869a' }, this.resolvedNoDataLabel)))))), hAsync("table", { key: 'a9a353aca09124ed8a82fcd2f8a0a7de09b234f5', class: this.tableClasses }, this.autoThead ? (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-thead", { rows: this.rows ?? [] }))) : (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
15585
+ } }, hAsync("slot", { key: '661b982cde4f4a6dfa9f6c712efed6745e20f3bf', name: "no-data" }, hAsync("span", { key: '76330839b2614611266315bb8b482b6a8571f1f4' }, this.resolvedNoDataLabel)))))), hAsync("table", { key: '89d9f80c6a0c9963b311d2c121ae0cb0a3289da0', class: this.tableClasses }, this.autoThead ? (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-thead", { rows: this.rows ?? [] }))) : (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
15549
15586
  this.pagination.rowsPerPage > 0 &&
15550
15587
  this.rowCount > 0 &&
15551
- !this.useVirtualScroll && (hAsync("div", { key: '8afeb9398c3d7540a54b9a3660fb9685ae1cddca', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: 'e2cbb3f7414f65b81ab2d33eaec5d9f28bed6cc8', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (hAsync("sd-select", { key: 'ce723544dbc7e4cc0d77ced3b685b8575cf67e6f', value: this.useInternalPagination
15588
+ !this.useVirtualScroll && (hAsync("div", { key: '02e675535bbdc30ab7177378f1b2b13799a9e5c8', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: '83537d5e2f6d5b92e2a4b7dd9e4624372adf0433', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (hAsync("sd-select", { key: 'f843f063b736e534b017fd7f881f049c4258c792', value: this.useInternalPagination
15552
15589
  ? this.innerRowsPerPage
15553
15590
  : this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
15554
15591
  if (!this.isRowsPerPageValue(e.detail))
@@ -15840,7 +15877,7 @@ class SdTabs {
15840
15877
  };
15841
15878
  }
15842
15879
  render() {
15843
- return (hAsync("div", { key: '92384577bf4ce85de90ae05a32e44715e595fe16', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
15880
+ return (hAsync("div", { key: '880f1aa80c29f2d578ffe2d5e5e5e0c008c898d3', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
15844
15881
  const badgeName = this.getBadgeName(tab);
15845
15882
  return (hAsync("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
15846
15883
  if (e.key === 'Enter' || e.key === ' ') {
@@ -16156,9 +16193,9 @@ class SdTbody {
16156
16193
  }
16157
16194
  }
16158
16195
  render() {
16159
- return (hAsync(Host, { key: 'cee6094ac768af309c39500cb337d8516de6aabe', slot: `${this.tableId}-body` }, hAsync("tbody", { key: '50d46c6b102900b18a96c1e345afb4185e59e0ae', class: { tbody: true } }, [
16196
+ return (hAsync(Host, { key: 'b35f308e703fd3240f8c8dc30bc04432a213fb14', slot: `${this.tableId}-body` }, hAsync("tbody", { key: 'b43c4347f84f13b9babad33ba841ffc18630ac55', class: { tbody: true } }, [
16160
16197
  this.topSpacerHeight > 0 && (hAsync("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
16161
- hAsync("slot", { key: 'd4f8057c143b2f91146831fac2b4ba1162d36aeb' }),
16198
+ hAsync("slot", { key: 'ac0cbfc76b8c38743f73e38c584459176c2a5b94' }),
16162
16199
  this.bottomSpacerHeight > 0 && (hAsync("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
16163
16200
  ])));
16164
16201
  }
@@ -16333,7 +16370,7 @@ class SdTd {
16333
16370
  }
16334
16371
  }
16335
16372
  render() {
16336
- return (hAsync(Host, { key: '1d7123e1f35cfb513a1fa89b4d60f8dde7715a2f', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: 'f7b9266106a6df93e2101ca9a324035960281a6f' })));
16373
+ return (hAsync(Host, { key: '5c40fa3dd98dbd88850bd14836ee5578ceb04349', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: '864b000e178c0b6de25b930aa5a84b4f7d7c189b' })));
16337
16374
  }
16338
16375
  static get watchers() { return {
16339
16376
  "field": [{
@@ -16617,7 +16654,7 @@ class SdTextarea {
16617
16654
  '--sd-system-size-field-sm-height': 'auto',
16618
16655
  '--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
16619
16656
  };
16620
- return (hAsync("sd-field", { key: '1f1a6ed592df92b4aa0aacfbc1ba8926b93b7066', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: '63b4847968e5a1ceb309b7d0950da33927e25244', class: "sd-textarea__content" }, hAsync("textarea", { key: '89d81a7792c3b5a4a1bcaa0f7bd73e0b3a0bd192', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
16657
+ return (hAsync("sd-field", { key: '404175c94949c2510082df905c53e97ab835369c', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: 'ca92dfe613b2c006ecc4021bb2f07a2e4b04239a', class: "sd-textarea__content" }, hAsync("textarea", { key: 'a6d2bbdb9c88766182728cf3eb30ce7691fb048f', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
16621
16658
  }
16622
16659
  static get watchers() { return {
16623
16660
  "value": [{
@@ -16834,16 +16871,16 @@ class SdThead {
16834
16871
  '--table-border-color': TABLE_BORDER.color,
16835
16872
  '--table-border-width': `${TABLE_BORDER.width}px`,
16836
16873
  };
16837
- return (hAsync(Host, { key: '2b949f43561a2cd36b82de324d3d8c0d8a1d8431', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: '45918bfb1dc44bb0f45a0f1646bf2276b1ca74ec', class: {
16874
+ return (hAsync(Host, { key: 'aa5409734259c4c9dce1be6808a622e1dad8e577', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: '4c8aac4d2b9a0f9288abb67a03bd2c47510af676', class: {
16838
16875
  'thead': true,
16839
16876
  'thead--sticky': this._stickyHeader,
16840
- } }, hAsync("tr", { key: '3802f86a730041ca405071b243a99c28e04558d2', class: "tr" }, this._selectable && (hAsync("th", { key: 'd60e1323fca90516f38cedfa6fc8bf17840fad5d', class: {
16877
+ } }, hAsync("tr", { key: 'be0af465f9406a898649bb0cea1b1972fc131a9b', class: "tr" }, this._selectable && (hAsync("th", { key: '72a763c4116dc03c372131629d64a92d9f338b65', class: {
16841
16878
  'th': true,
16842
16879
  'th--selected': true,
16843
16880
  'sticky-left': true,
16844
16881
  'sticky-left-edge': stickyLeftCount === 0,
16845
16882
  'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
16846
- }, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '0c0b61405a8624cfc1d803f8ae8905d74d6c10f1', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), hAsync("div", { key: 'b808a627e740a9c3a9f6f03e32cf90e598fd506f', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (hAsync("th", { key: col.name, class: {
16883
+ }, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '2076f3b5a6baef3b6c1cfa6bab96953144f8a669', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), hAsync("div", { key: '39dd8464081671945828859cec50862b1979de36', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (hAsync("th", { key: col.name, class: {
16847
16884
  'th': true,
16848
16885
  [`${col.thClass}`]: Boolean(col.thClass),
16849
16886
  'sticky-left': true,
@@ -16994,12 +17031,12 @@ class SdToast {
16994
17031
  const linkColor = typeConfig.linkColor ?? typeConfig.content;
16995
17032
  const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
16996
17033
  const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
16997
- return (hAsync("div", { key: '735fa3f949ee4c7d0178f999c02e90c829c133b4', style: {
17034
+ return (hAsync("div", { key: 'db3ffaf51dc96c39c05558017f25929c679a59df', style: {
16998
17035
  '--sd-toast-bg': typeConfig.bg,
16999
17036
  '--sd-toast-text': typeConfig.content,
17000
17037
  '--sd-toast-icon': iconColor,
17001
17038
  '--sd-toast-link': linkColor,
17002
- } }, hAsync("div", { key: '4e483d858c3268bde838ddc5c5c9cb5065855326', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: '007eded85c508bdd2da05b1c9d489ff2d03a4df9', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '099d5556f4b0a11f5162cb76a6166a2d662d9590', name: this.icon, size: iconSize, color: iconColor }))), hAsync("div", { key: '3825916248bc2385fe87c8aeb6d741b59738246f', class: "sd-toast__content" }, hAsync("span", { key: 'fba817baf33179296f50d3fe4147cc99c38fbb83', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '39667765a9a72c761f0b464f78c7652e60e6dd16', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '3da2f9a5daf53de4400bfec79654b5795c3b6af4', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (hAsync("sd-ghost-button", { key: '2578d35dc11e06178c6902cb358bcdb8ccabbf36', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
17039
+ } }, hAsync("div", { key: '92344f5bb95b0d4787591207f2e017d7dd177091', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: '991db58b2cb019dd3a787e000e9d8813014bbb09', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '24d53cd77fdea82ec07663a8968493ec2b794751', name: this.icon, size: iconSize, color: iconColor }))), hAsync("div", { key: '70cfad4ef389cca798be9baeac99bfc41efcc615', class: "sd-toast__content" }, hAsync("span", { key: '5927023435b17dc25ee07630fc4ae4568aadd9b9', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '410c024fd81ebcc78175c1855a86f590566d1a81', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: 'd85287e7ef796a11f850a0ce5cde87f5881fa5c9', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (hAsync("sd-ghost-button", { key: '55a6bf6457bd89254f6eb01072d46a0edbb8b510', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
17003
17040
  }
17004
17041
  static get style() { return sdToastCss(); }
17005
17042
  static get cmpMeta() { return {
@@ -17252,7 +17289,7 @@ class SdToastContainer {
17252
17289
  const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
17253
17290
  const indexMap = new Map();
17254
17291
  activeToasts.forEach((t, i) => indexMap.set(t.id, i));
17255
- return (hAsync("div", { key: '1de55d255b75842f52e3f0a147a69493ed1a7de5', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
17292
+ return (hAsync("div", { key: 'bc3c9591b6453eed7df462841e29784c29b3aeef', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
17256
17293
  this.expanded = true;
17257
17294
  this.pauseTimers();
17258
17295
  }, onMouseLeave: () => {
@@ -17410,7 +17447,7 @@ class SdToggle {
17410
17447
  '--sd-toggle-content-select': TOGGLE_COLORS.content.select,
17411
17448
  '--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
17412
17449
  };
17413
- return (hAsync("label", { key: 'f1b1b68270d523f7f3e40c8145f35e93df269d73', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, hAsync("input", { key: '7e07c190916e19ffe8744f6b491e92e6bf8efd36', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
17450
+ return (hAsync("label", { key: 'b16577aa25863a9dc337314d9059328799c1cd1e', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, hAsync("input", { key: '6130825b74df8a573f4e062671fd694508759e82', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
17414
17451
  }
17415
17452
  static get style() { return sdToggleCss(); }
17416
17453
  static get cmpMeta() { return {
@@ -17540,14 +17577,14 @@ class SdTooltip {
17540
17577
  const hasLabel = this.label !== undefined && this.label !== '';
17541
17578
  const divTrigger = trigger === 'hover' ? hoverTrigger : hasLabel ? {} : { onClick: toggleTooltip };
17542
17579
  const buttonClickTrigger = trigger === 'click' && hasLabel ? { onSdClick: toggleTooltip } : {};
17543
- return (hAsync(Fragment, { key: '0ffbc5e61b4b5ab9bf1fda1c064de63c1467bb37' }, hAsync("div", { key: 'c74bff7fde9c1f139435c2b37f69e7ee7492ec91', class: `sd-tooltip-trigger ${this.sdClass !== undefined && this.sdClass !== '' ? this.sdClass : ''}`, ...divTrigger }, hasLabel ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (hAsync("sd-floating-portal", { key: '3a83a7d7a33fbdd720a52149b2a156ecc72c087b', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, hAsync("div", { key: 'abb63e4db76edae3df1d16d756e20a61284db87f', ref: el => (this.menuEl = el), class: {
17580
+ return (hAsync(Fragment, { key: 'ef33f9f183820d684f2805e40134a81f7149fc16' }, hAsync("div", { key: 'dd931825c55b0ee748c7ef45f15be0d6de37ad23', class: `sd-tooltip-trigger ${this.sdClass !== undefined && this.sdClass !== '' ? this.sdClass : ''}`, ...divTrigger }, hasLabel ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (hAsync("sd-floating-portal", { key: '443dbbe8f0b9a66aaae9b8482a3f615d2d41e8ec', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, hAsync("div", { key: '040bde0321b1fd35014db976aeaddc515d87c807', ref: el => (this.menuEl = el), class: {
17544
17581
  'sd-floating-menu': true,
17545
17582
  [`sd-floating-menu--${tooltipType}`]: true,
17546
17583
  [`sd-floating-menu--${placement}`]: true,
17547
17584
  }, style: {
17548
17585
  '--sd-floating-bg': typeConfig.bg,
17549
17586
  '--sd-floating-content': typeConfig.content,
17550
- }, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, hAsync("i", { key: 'c29052cc7ed0e514ed27a7f576585d8865728cd4', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: '9602237020591571cd76d3afa9e1c6383f7f421f' })), hAsync("div", { key: '29091435fa3008eaf352b831eb4345ed9d6a5d86', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
17587
+ }, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, hAsync("i", { key: 'e802c09cc13ec3db29704197fa402588bf97d670', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: 'b698fbdba2cee74955f65ed7b04abeea8ccabee5' })), hAsync("div", { key: '97e856c543a8cdb880daae9ed0e461f5fd0f2b44', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
17551
17588
  }
17552
17589
  static get style() { return sdTooltipCss(); }
17553
17590
  static get cmpMeta() { return {