@sellmate/design-system 1.0.37 → 1.0.38

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 (250) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/index.cjs.js +124 -19
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/sd-badge.cjs.entry.js +1 -1
  5. package/dist/cjs/{sd-button-v2.cjs.entry.js → sd-button-v2_2.cjs.entry.js} +184 -2
  6. package/dist/cjs/{sd-button_21.cjs.entry.js → sd-button_20.cjs.entry.js} +34 -77
  7. package/dist/cjs/sd-card.cjs.entry.js +1 -1
  8. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +199 -0
  9. package/dist/cjs/sd-date-picker.cjs.entry.js +1 -1
  10. package/dist/cjs/sd-dropdown-button.cjs.entry.js +3 -3
  11. package/dist/cjs/sd-file-picker.cjs.entry.js +3 -3
  12. package/dist/cjs/sd-guide.cjs.entry.js +2 -2
  13. package/dist/cjs/sd-modal-container.cjs.entry.js +263 -0
  14. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  15. package/dist/cjs/sd-progress.cjs.entry.js +2 -2
  16. package/dist/cjs/sd-radio-button-group.cjs.entry.js +1 -1
  17. package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
  18. package/dist/cjs/sd-select-group.cjs.entry.js +1 -1
  19. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-select-multiple.cjs.entry.js +1 -1
  21. package/dist/cjs/sd-select-option-group.cjs.entry.js +3 -3
  22. package/dist/cjs/sd-select-v2-list-item_2.cjs.entry.js +5 -5
  23. package/dist/cjs/sd-select-v2-listbox_2.cjs.entry.js +3 -3
  24. package/dist/cjs/sd-select-v2.cjs.entry.js +2 -1
  25. package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
  26. package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
  27. package/dist/cjs/sd-toast.cjs.entry.js +2 -2
  28. package/dist/cjs/sd-toggle-button.cjs.entry.js +1 -1
  29. package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
  30. package/dist/collection/collection-manifest.json +3 -1
  31. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  32. package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
  33. package/dist/collection/components/sd-card/sd-card.js +1 -1
  34. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.config.js +17 -0
  35. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.css +67 -0
  36. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +384 -0
  37. package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
  38. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +4 -4
  39. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
  40. package/dist/collection/components/sd-field/sd-field.js +3 -3
  41. package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
  42. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  43. package/dist/collection/components/sd-guide/sd-guide.js +2 -2
  44. package/dist/collection/components/sd-icon/sd-icon.js +1 -1
  45. package/dist/collection/components/sd-input/sd-input.js +1 -1
  46. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
  47. package/dist/collection/components/sd-modal-container/sd-modal-container.config.js +1 -0
  48. package/dist/collection/components/sd-modal-container/sd-modal-container.css +58 -0
  49. package/dist/collection/components/sd-modal-container/sd-modal-container.js +399 -0
  50. package/dist/collection/components/sd-notice-modal/sd-notice-modal.config.js +3 -0
  51. package/dist/collection/components/sd-notice-modal/sd-notice-modal.css +61 -0
  52. package/dist/collection/components/sd-notice-modal/sd-notice-modal.js +324 -0
  53. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  54. package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
  55. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  56. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  57. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  58. package/dist/collection/components/sd-radio/sd-radio.js +1 -1
  59. package/dist/collection/components/sd-radio-button-group/sd-radio-button-group.js +1 -1
  60. package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
  61. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
  62. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  63. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
  64. package/dist/collection/components/sd-select/sd-select.js +1 -1
  65. package/dist/collection/components/sd-select-group/sd-select-group.js +1 -1
  66. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
  67. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +1 -1
  68. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  69. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
  70. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +3 -3
  71. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +1 -1
  72. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  73. package/dist/collection/components/sd-select-v2/sd-select-v2.js +22 -1
  74. package/dist/collection/components/sd-table/sd-table.js +4 -4
  75. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  76. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  77. package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
  78. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  79. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  80. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  81. package/dist/collection/components/sd-toggle-button/sd-toggle-button.js +1 -1
  82. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  83. package/dist/collection/index.js +1 -0
  84. package/dist/collection/utils/modal.js +103 -0
  85. package/dist/components/index.js +1 -1
  86. package/dist/components/{p-eM9OCX16.js → p-B0wG418y.js} +1 -1
  87. package/dist/components/{p-CyfWQr0q.js → p-BAghib4O.js} +1 -1
  88. package/dist/components/{p-D8OiOEB8.js → p-BCPAPvp8.js} +1 -1
  89. package/dist/components/{p-Cva7D7mF.js → p-BHLuiIDM.js} +1 -1
  90. package/dist/components/{p-BvBroZuS.js → p-BcrOYmsG.js} +1 -1
  91. package/dist/components/{p-CdOU_SOg.js → p-BdjLD8BG.js} +1 -1
  92. package/dist/components/{p-DKcKp__V.js → p-BiCK6R-J.js} +1 -1
  93. package/dist/components/{p-CXoqcDFa.js → p-BzS0YntY.js} +1 -1
  94. package/dist/components/{p-CpfPgt7c.js → p-BzUx5X3N.js} +1 -1
  95. package/dist/components/{p-gnF0_mDJ.js → p-CKi7RueC.js} +1 -1
  96. package/dist/components/{p-CgwiT7OF.js → p-CNUx4rbY.js} +1 -1
  97. package/dist/components/{p-BBpn_mYj.js → p-CQfrNtCG.js} +1 -1
  98. package/dist/components/p-CXKpL2GZ.js +1 -0
  99. package/dist/components/{p-CtOFXnU0.js → p-C_3U90D_.js} +1 -1
  100. package/dist/components/p-C_L-UaCP.js +1 -0
  101. package/dist/components/p-CyJZik9T.js +1 -0
  102. package/dist/components/p-D23gFKrT.js +1 -0
  103. package/dist/components/{p-72hNB1Fw.js → p-DASdfaPf.js} +1 -1
  104. package/dist/components/{p-yQoaU7-d.js → p-DEBuE-pW.js} +1 -1
  105. package/dist/components/{p-CiHU8TZa.js → p-DEP3qjY2.js} +1 -1
  106. package/dist/components/{p-41grr69M.js → p-DNyoL0F-.js} +1 -1
  107. package/dist/components/{p-DOt_ptQc.js → p-DQhPxH3o.js} +1 -1
  108. package/dist/components/p-Di17TAvI.js +1 -0
  109. package/dist/components/{p-zUWRVubn.js → p-DjOSobI6.js} +1 -1
  110. package/dist/components/{p-CxT7-293.js → p-Dpi-ww3O.js} +1 -1
  111. package/dist/components/{p-C6uWXKpX.js → p-DyFykTJN.js} +1 -1
  112. package/dist/components/{p-dBp4oI6E.js → p-eZ82xLZt.js} +1 -1
  113. package/dist/components/{p-DkjKNMgx.js → p-iusjOpcc.js} +1 -1
  114. package/dist/components/sd-badge.js +1 -1
  115. package/dist/components/sd-button-v2.js +1 -1
  116. package/dist/components/sd-button.js +1 -1
  117. package/dist/components/sd-calendar.js +1 -1
  118. package/dist/components/sd-card.js +1 -1
  119. package/dist/components/sd-checkbox.js +1 -1
  120. package/dist/components/sd-confirm-modal.d.ts +11 -0
  121. package/dist/components/sd-confirm-modal.js +1 -0
  122. package/dist/components/sd-date-picker.js +1 -1
  123. package/dist/components/sd-date-range-picker.js +1 -1
  124. package/dist/components/sd-dropdown-button.js +1 -1
  125. package/dist/components/sd-field.js +1 -1
  126. package/dist/components/sd-file-picker.js +1 -1
  127. package/dist/components/sd-floating-portal.js +1 -1
  128. package/dist/components/sd-guide.js +1 -1
  129. package/dist/components/sd-icon.js +1 -1
  130. package/dist/components/sd-input.js +1 -1
  131. package/dist/components/sd-loading-spinner.js +1 -1
  132. package/dist/components/sd-modal-container.d.ts +11 -0
  133. package/dist/components/sd-modal-container.js +1 -0
  134. package/dist/components/{sd-modal-card.d.ts → sd-notice-modal.d.ts} +4 -4
  135. package/dist/components/sd-notice-modal.js +1 -0
  136. package/dist/components/sd-number-input.js +1 -1
  137. package/dist/components/sd-pagination.js +1 -1
  138. package/dist/components/sd-popover.js +1 -1
  139. package/dist/components/sd-portal.js +1 -1
  140. package/dist/components/sd-progress.js +1 -1
  141. package/dist/components/sd-radio-button-group.js +1 -1
  142. package/dist/components/sd-radio-group.js +1 -1
  143. package/dist/components/sd-radio.js +1 -1
  144. package/dist/components/sd-select-dropdown.js +1 -1
  145. package/dist/components/sd-select-group.js +1 -1
  146. package/dist/components/sd-select-multiple-group.js +1 -1
  147. package/dist/components/sd-select-multiple.js +1 -1
  148. package/dist/components/sd-select-option-group.js +1 -1
  149. package/dist/components/sd-select-option.js +1 -1
  150. package/dist/components/sd-select-search-input.js +1 -1
  151. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  152. package/dist/components/sd-select-v2-list-item.js +1 -1
  153. package/dist/components/sd-select-v2-listbox.js +1 -1
  154. package/dist/components/sd-select-v2-trigger.js +1 -1
  155. package/dist/components/sd-select-v2.js +1 -1
  156. package/dist/components/sd-select.js +1 -1
  157. package/dist/components/sd-table.js +1 -1
  158. package/dist/components/sd-tabs.js +1 -1
  159. package/dist/components/sd-tag.js +1 -1
  160. package/dist/components/sd-textarea.js +1 -1
  161. package/dist/components/sd-toast-container.js +1 -1
  162. package/dist/components/sd-toast.js +1 -1
  163. package/dist/components/sd-toggle-button.js +1 -1
  164. package/dist/components/sd-toggle.js +1 -1
  165. package/dist/components/sd-tooltip.js +1 -1
  166. package/dist/design-system/design-system.esm.js +1 -1
  167. package/dist/design-system/index.esm.js +1 -1
  168. package/dist/design-system/{p-a35adbbc.entry.js → p-021e4171.entry.js} +1 -1
  169. package/dist/design-system/{p-d817c235.entry.js → p-0cca5deb.entry.js} +1 -1
  170. package/dist/design-system/{p-5b2d9ef2.entry.js → p-12f04366.entry.js} +1 -1
  171. package/dist/design-system/{p-2119dddc.entry.js → p-13d4baf3.entry.js} +1 -1
  172. package/dist/design-system/{p-e4a19588.entry.js → p-1b80635f.entry.js} +1 -1
  173. package/dist/design-system/p-26fc1fc0.entry.js +1 -0
  174. package/dist/design-system/{p-270227ae.entry.js → p-29a60707.entry.js} +1 -1
  175. package/dist/design-system/{p-c4f9aeed.entry.js → p-37e9e161.entry.js} +1 -1
  176. package/dist/design-system/{p-b3473468.entry.js → p-6d9e16bd.entry.js} +1 -1
  177. package/dist/design-system/{p-a88dabbd.entry.js → p-72b09ede.entry.js} +1 -1
  178. package/dist/design-system/{p-fea7dbce.entry.js → p-812d7c00.entry.js} +1 -1
  179. package/dist/design-system/p-87a783a7.entry.js +1 -0
  180. package/dist/design-system/{p-97bfc75f.entry.js → p-9933475e.entry.js} +1 -1
  181. package/dist/design-system/{p-CdOU_SOg.js → p-BdjLD8BG.js} +1 -1
  182. package/dist/design-system/{p-0c2e44fb.entry.js → p-a4e87345.entry.js} +1 -1
  183. package/dist/design-system/{p-594dee9b.entry.js → p-acb529cb.entry.js} +1 -1
  184. package/dist/design-system/p-ba393cc8.entry.js +1 -0
  185. package/dist/design-system/p-c549e2c0.entry.js +1 -0
  186. package/dist/design-system/{p-1d7ea568.entry.js → p-c7c66261.entry.js} +1 -1
  187. package/dist/design-system/{p-2185ffaa.entry.js → p-cc837ebf.entry.js} +1 -1
  188. package/dist/design-system/p-d8b04e91.entry.js +1 -0
  189. package/dist/design-system/{p-01a7b38b.entry.js → p-e0ef7658.entry.js} +1 -1
  190. package/dist/design-system/{p-89578577.entry.js → p-e641f41f.entry.js} +1 -1
  191. package/dist/design-system/{p-93c2d29f.entry.js → p-e8fbedcd.entry.js} +1 -1
  192. package/dist/design-system/p-f186c0f4.entry.js +1 -0
  193. package/dist/design-system/p-f5460c6e.entry.js +1 -0
  194. package/dist/design-system/{p-a94ed4a3.entry.js → p-f7203145.entry.js} +1 -1
  195. package/dist/esm/design-system.js +1 -1
  196. package/dist/esm/index.js +124 -20
  197. package/dist/esm/loader.js +1 -1
  198. package/dist/esm/sd-badge.entry.js +1 -1
  199. package/dist/esm/{sd-button-v2.config-CRtF2Br0.js → sd-button-v2.config-Dtf44MOf.js} +1 -1
  200. package/dist/esm/{sd-button-v2.entry.js → sd-button-v2_2.entry.js} +185 -4
  201. package/dist/esm/{sd-button_21.entry.js → sd-button_20.entry.js} +35 -77
  202. package/dist/esm/sd-card.entry.js +1 -1
  203. package/dist/esm/sd-confirm-modal_2.entry.js +196 -0
  204. package/dist/esm/sd-date-picker.entry.js +1 -1
  205. package/dist/esm/sd-dropdown-button.entry.js +4 -4
  206. package/dist/esm/sd-file-picker.entry.js +3 -3
  207. package/dist/esm/sd-guide.entry.js +2 -2
  208. package/dist/esm/sd-modal-container.entry.js +261 -0
  209. package/dist/esm/sd-popover.entry.js +2 -2
  210. package/dist/esm/sd-progress.entry.js +2 -2
  211. package/dist/esm/sd-radio-button-group.entry.js +1 -1
  212. package/dist/esm/sd-radio-group.entry.js +1 -1
  213. package/dist/esm/sd-select-group.entry.js +1 -1
  214. package/dist/esm/sd-select-multiple-group.entry.js +1 -1
  215. package/dist/esm/sd-select-multiple.entry.js +1 -1
  216. package/dist/esm/sd-select-option-group.entry.js +3 -3
  217. package/dist/esm/sd-select-v2-list-item_2.entry.js +5 -5
  218. package/dist/esm/sd-select-v2-listbox_2.entry.js +3 -3
  219. package/dist/esm/sd-select-v2.entry.js +2 -1
  220. package/dist/esm/sd-tabs.entry.js +1 -1
  221. package/dist/esm/sd-toast-container.entry.js +1 -1
  222. package/dist/esm/sd-toast.entry.js +2 -2
  223. package/dist/esm/sd-toggle-button.entry.js +1 -1
  224. package/dist/esm/sd-toggle.entry.js +1 -1
  225. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +14 -0
  226. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +31 -0
  227. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +45 -0
  228. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +27 -0
  229. package/dist/types/components/sd-notice-modal/sd-notice-modal.config.d.ts +5 -0
  230. package/dist/types/components/sd-notice-modal/sd-notice-modal.d.ts +28 -0
  231. package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +1 -0
  232. package/dist/types/components.d.ts +216 -56
  233. package/dist/types/index.d.ts +2 -0
  234. package/dist/types/utils/modal.d.ts +12 -0
  235. package/hydrate/index.js +565 -112
  236. package/hydrate/index.mjs +565 -112
  237. package/package.json +1 -1
  238. package/dist/cjs/sd-tag.cjs.entry.js +0 -186
  239. package/dist/collection/components/sd-modal-card/sd-modal-card.css +0 -51
  240. package/dist/collection/components/sd-modal-card/sd-modal-card.js +0 -254
  241. package/dist/components/p-d1GtjL2y.js +0 -1
  242. package/dist/components/sd-modal-card.js +0 -1
  243. package/dist/design-system/p-35473290.entry.js +0 -1
  244. package/dist/design-system/p-4810e846.entry.js +0 -1
  245. package/dist/design-system/p-62581abe.entry.js +0 -1
  246. package/dist/design-system/p-687f8414.entry.js +0 -1
  247. package/dist/design-system/p-e7654632.entry.js +0 -1
  248. package/dist/design-system/p-ebee1495.entry.js +0 -1
  249. package/dist/esm/sd-tag.entry.js +0 -184
  250. package/dist/types/components/sd-modal-card/sd-modal-card.d.ts +0 -25
@@ -0,0 +1,324 @@
1
+ import { h } from "@stencil/core";
2
+ import { NOTICE_BUTTON_PRESET, CLOSE_ICON_SIZE, CLOSE_ICON_COLOR, } from "./sd-notice-modal.config";
3
+ export class SdNoticeModal {
4
+ el;
5
+ hasSlottedContent = false;
6
+ customContentRef;
7
+ slotObserver;
8
+ modalTitle = '';
9
+ titleClass = '';
10
+ topMessage = [];
11
+ bottomMessage = [];
12
+ mainButtonLabel = '확인';
13
+ subButtonLabel = '';
14
+ tagPreset;
15
+ tagLabel = '';
16
+ slotLabel = '';
17
+ tagContents;
18
+ close;
19
+ confirm;
20
+ componentWillLoad() {
21
+ this.syncHasSlottedContent();
22
+ }
23
+ componentDidLoad() {
24
+ if (typeof MutationObserver === 'undefined')
25
+ return;
26
+ this.slotObserver = new MutationObserver(() => this.syncHasSlottedContent());
27
+ this.slotObserver.observe(this.el, {
28
+ childList: true,
29
+ characterData: true,
30
+ });
31
+ }
32
+ componentDidRender() {
33
+ if (this.customContentRef && this.tagContents instanceof HTMLElement) {
34
+ if (typeof this.customContentRef.replaceChildren === 'function') {
35
+ this.customContentRef.replaceChildren(this.tagContents);
36
+ }
37
+ else {
38
+ this.customContentRef.innerHTML = '';
39
+ this.customContentRef.appendChild(this.tagContents);
40
+ }
41
+ }
42
+ }
43
+ disconnectedCallback() {
44
+ this.slotObserver?.disconnect();
45
+ }
46
+ get hasTagContent() {
47
+ return !!(this.tagLabel && this.tagPreset);
48
+ }
49
+ get showContentBox() {
50
+ return !!this.tagContents || this.hasTagContent || this.hasSlottedContent;
51
+ }
52
+ syncHasSlottedContent() {
53
+ const hasSlottedContent = Array.from(this.el.childNodes).some(node => !(node.nodeType === Node.ELEMENT_NODE &&
54
+ node.classList.contains('sd-notice-modal')) &&
55
+ (node.nodeType === Node.ELEMENT_NODE ||
56
+ (node.nodeType === Node.TEXT_NODE && node.textContent?.trim())));
57
+ if (hasSlottedContent !== this.hasSlottedContent) {
58
+ this.hasSlottedContent = hasSlottedContent;
59
+ }
60
+ }
61
+ render() {
62
+ return (h("div", { key: '522489e0b0c0706b25f5e99215d8bb75e94f1596', class: "sd-notice-modal" }, h("sd-icon", { key: 'e6ca52391427d0f1a429feeb97337e716aae5920', class: "sd-notice-modal__close-button", name: "close", size: CLOSE_ICON_SIZE, color: CLOSE_ICON_COLOR, onClick: () => this.close.emit() }), h("h2", { key: '7c7f4c3ad01d421a7f75f14d93cc0ba58526bfd6', class: `sd-notice-modal__title ${this.titleClass}` }, this.modalTitle), h("div", { key: 'afc982ef15da5884f181e189f78a9986a467ff40', class: "sd-notice-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '028b03030a7a1b29ec54910807878da39f8ea156', class: "sd-notice-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-notice-modal__message-text", innerHTML: msg }))))), this.showContentBox && (h("div", { key: 'fa12a72c4ac271d6e57ec85415f6144f1b38b146', class: "sd-notice-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-notice-modal__custom-content", ref: el => {
63
+ this.customContentRef = el;
64
+ } })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.hasTagContent && h("sd-tag", { name: this.tagPreset, label: this.tagLabel }), this.slotLabel && h("span", { class: "sd-notice-modal__slot-label" }, this.slotLabel))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '39008c0c41e84a92b02aa310e32dacf7b1b3ea83', class: "sd-notice-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-notice-modal__message-text", innerHTML: msg })))))), h("div", { key: '54062ddaf99170af5bcf8caa1f6d80ce3f24b4b2', class: "sd-notice-modal__button" }, this.subButtonLabel && (h("sd-button-v2", { key: 'c0365120540bf5e7f9e43955a8099e019837e4d6', name: NOTICE_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.close.emit() })), h("sd-button-v2", { key: 'c51c93f72ebbe91e87aa0d0d561227f6b66b5e74', name: NOTICE_BUTTON_PRESET, label: this.mainButtonLabel, onSdClick: () => this.confirm.emit() }))));
65
+ }
66
+ static get is() { return "sd-notice-modal"; }
67
+ static get originalStyleUrls() {
68
+ return {
69
+ "$": ["sd-notice-modal.scss"]
70
+ };
71
+ }
72
+ static get styleUrls() {
73
+ return {
74
+ "$": ["sd-notice-modal.css"]
75
+ };
76
+ }
77
+ static get properties() {
78
+ return {
79
+ "modalTitle": {
80
+ "type": "string",
81
+ "mutable": false,
82
+ "complexType": {
83
+ "original": "string",
84
+ "resolved": "string",
85
+ "references": {}
86
+ },
87
+ "required": false,
88
+ "optional": false,
89
+ "docs": {
90
+ "tags": [],
91
+ "text": ""
92
+ },
93
+ "getter": false,
94
+ "setter": false,
95
+ "reflect": false,
96
+ "attribute": "modal-title",
97
+ "defaultValue": "''"
98
+ },
99
+ "titleClass": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "string",
104
+ "resolved": "string",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [],
111
+ "text": ""
112
+ },
113
+ "getter": false,
114
+ "setter": false,
115
+ "reflect": false,
116
+ "attribute": "title-class",
117
+ "defaultValue": "''"
118
+ },
119
+ "topMessage": {
120
+ "type": "unknown",
121
+ "mutable": false,
122
+ "complexType": {
123
+ "original": "string[]",
124
+ "resolved": "string[]",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": ""
132
+ },
133
+ "getter": false,
134
+ "setter": false,
135
+ "defaultValue": "[]"
136
+ },
137
+ "bottomMessage": {
138
+ "type": "unknown",
139
+ "mutable": false,
140
+ "complexType": {
141
+ "original": "string[]",
142
+ "resolved": "string[]",
143
+ "references": {}
144
+ },
145
+ "required": false,
146
+ "optional": false,
147
+ "docs": {
148
+ "tags": [],
149
+ "text": ""
150
+ },
151
+ "getter": false,
152
+ "setter": false,
153
+ "defaultValue": "[]"
154
+ },
155
+ "mainButtonLabel": {
156
+ "type": "string",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "string",
160
+ "resolved": "string",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": false,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "getter": false,
170
+ "setter": false,
171
+ "reflect": false,
172
+ "attribute": "main-button-label",
173
+ "defaultValue": "'\uD655\uC778'"
174
+ },
175
+ "subButtonLabel": {
176
+ "type": "string",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "string",
180
+ "resolved": "string",
181
+ "references": {}
182
+ },
183
+ "required": false,
184
+ "optional": false,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": ""
188
+ },
189
+ "getter": false,
190
+ "setter": false,
191
+ "reflect": false,
192
+ "attribute": "sub-button-label",
193
+ "defaultValue": "''"
194
+ },
195
+ "tagPreset": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "TagName",
200
+ "resolved": "\"pill_md_blue\" | \"pill_md_darkblue\" | \"pill_md_green\" | \"pill_md_grey\" | \"pill_md_indigo\" | \"pill_md_orange\" | \"pill_md_red\" | \"pill_md_yellow\" | \"pill_sm_blue\" | \"pill_sm_darkblue\" | \"pill_sm_green\" | \"pill_sm_grey\" | \"pill_sm_indigo\" | \"pill_sm_orange\" | \"pill_sm_red\" | \"pill_sm_yellow\" | \"pill_xs_blue\" | \"pill_xs_darkblue\" | \"pill_xs_green\" | \"pill_xs_grey\" | \"pill_xs_indigo\" | \"pill_xs_orange\" | \"pill_xs_red\" | \"pill_xs_yellow\" | \"square_md_blue\" | \"square_md_darkblue\" | \"square_md_green\" | \"square_md_grey\" | \"square_md_indigo\" | \"square_md_orange\" | \"square_md_red\" | \"square_md_yellow\" | \"square_sm_blue\" | \"square_sm_darkblue\" | \"square_sm_green\" | \"square_sm_grey\" | \"square_sm_indigo\" | \"square_sm_orange\" | \"square_sm_red\" | \"square_sm_yellow\" | \"square_xs_blue\" | \"square_xs_darkblue\" | \"square_xs_green\" | \"square_xs_grey\" | \"square_xs_indigo\" | \"square_xs_orange\" | \"square_xs_red\" | \"square_xs_yellow\" | undefined",
201
+ "references": {
202
+ "TagName": {
203
+ "location": "import",
204
+ "path": "./sd-notice-modal.config",
205
+ "id": "src/components/sd-notice-modal/sd-notice-modal.config.ts::TagName",
206
+ "referenceLocation": "TagName"
207
+ }
208
+ }
209
+ },
210
+ "required": false,
211
+ "optional": true,
212
+ "docs": {
213
+ "tags": [],
214
+ "text": ""
215
+ },
216
+ "getter": false,
217
+ "setter": false,
218
+ "reflect": false,
219
+ "attribute": "tag-preset"
220
+ },
221
+ "tagLabel": {
222
+ "type": "string",
223
+ "mutable": false,
224
+ "complexType": {
225
+ "original": "string",
226
+ "resolved": "string",
227
+ "references": {}
228
+ },
229
+ "required": false,
230
+ "optional": false,
231
+ "docs": {
232
+ "tags": [],
233
+ "text": ""
234
+ },
235
+ "getter": false,
236
+ "setter": false,
237
+ "reflect": false,
238
+ "attribute": "tag-label",
239
+ "defaultValue": "''"
240
+ },
241
+ "slotLabel": {
242
+ "type": "string",
243
+ "mutable": false,
244
+ "complexType": {
245
+ "original": "string",
246
+ "resolved": "string",
247
+ "references": {}
248
+ },
249
+ "required": false,
250
+ "optional": false,
251
+ "docs": {
252
+ "tags": [],
253
+ "text": ""
254
+ },
255
+ "getter": false,
256
+ "setter": false,
257
+ "reflect": false,
258
+ "attribute": "slot-label",
259
+ "defaultValue": "''"
260
+ },
261
+ "tagContents": {
262
+ "type": "unknown",
263
+ "mutable": false,
264
+ "complexType": {
265
+ "original": "HTMLElement",
266
+ "resolved": "HTMLElement | undefined",
267
+ "references": {
268
+ "HTMLElement": {
269
+ "location": "global",
270
+ "id": "global::HTMLElement"
271
+ }
272
+ }
273
+ },
274
+ "required": false,
275
+ "optional": true,
276
+ "docs": {
277
+ "tags": [],
278
+ "text": ""
279
+ },
280
+ "getter": false,
281
+ "setter": false
282
+ }
283
+ };
284
+ }
285
+ static get states() {
286
+ return {
287
+ "hasSlottedContent": {}
288
+ };
289
+ }
290
+ static get events() {
291
+ return [{
292
+ "method": "close",
293
+ "name": "sdClose",
294
+ "bubbles": true,
295
+ "cancelable": true,
296
+ "composed": true,
297
+ "docs": {
298
+ "tags": [],
299
+ "text": ""
300
+ },
301
+ "complexType": {
302
+ "original": "void",
303
+ "resolved": "void",
304
+ "references": {}
305
+ }
306
+ }, {
307
+ "method": "confirm",
308
+ "name": "sdConfirm",
309
+ "bubbles": true,
310
+ "cancelable": true,
311
+ "composed": true,
312
+ "docs": {
313
+ "tags": [],
314
+ "text": ""
315
+ },
316
+ "complexType": {
317
+ "original": "void",
318
+ "resolved": "void",
319
+ "references": {}
320
+ }
321
+ }];
322
+ }
323
+ static get elementRef() { return "el"; }
324
+ }
@@ -240,17 +240,17 @@ export class SdNumberInput {
240
240
  const inputStyles = {
241
241
  textAlign: this.useButton ? 'center' : 'right',
242
242
  };
243
- return (h("sd-field", { key: 'c3a485796694d2c210160197267b930772357976', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, h("label", { key: '3b7ac29ad4ac268df76c1fe9c06d77064ee75230', class: {
243
+ return (h("sd-field", { key: '0ec5a9e4ceaed777c964107654784edc749735ff', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, h("label", { key: 'ea74323317baec7816553fd4cce5754f707d513a', class: {
244
244
  'sd-number-input': true,
245
245
  [this.getInputStatus()]: true,
246
246
  'sd-number-input--with-buttons': this.useButton,
247
- }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("input", { key: 'f8c9c5319e4793eb2be18a8a6d6bf36a2defb41e', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${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, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (h("div", { key: '6e76bf90e33092abfe7cf6315edf389d157d3121', class: "sd-number-input__buttons" }, h("button", { key: 'd020a14949c547b1d0ad1fa6087c10f29c7aa341', type: "button", class: {
247
+ }, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, h("input", { key: '1c702736fb99736d7a42478ba565f1ac2ec68353', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${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, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (h("div", { key: '7a6ddd6432e4b75eb4854df30551be4abeecc59b', class: "sd-number-input__buttons" }, h("button", { key: '1af466b78c9cde914b65369c9462e2ec60e65246', type: "button", class: {
248
248
  'sd-number-input__button': true,
249
249
  'sd-number-input__button--decrement': true,
250
- }, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '6d1c5d5b44027d58eb7460aab4369cead93d9555', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), h("button", { key: '093e027e89c05973d97bed7b2a547df4253fa99b', type: "button", class: {
250
+ }, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '1d14fd79f63e5f0cf62be28b55dc23300c958d10', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), h("button", { key: 'dc1e9a3aa010fd049aaa9ec00bb5223c2d435cf7', type: "button", class: {
251
251
  'sd-number-input__button': true,
252
252
  'sd-number-input__button--increment': true,
253
- }, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '8eb8d91c84ce4d5b5a6c205018047291bf0f092c', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
253
+ }, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '44297019634fbd47d054d2a4822222ef6eb36fac', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
254
254
  }
255
255
  static get is() { return "sd-number-input"; }
256
256
  static get originalStyleUrls() {
@@ -68,12 +68,12 @@ export class SdPagination {
68
68
  }
69
69
  }
70
70
  render() {
71
- return (h("div", { key: '9fe78e2e23e4f31e0979e2d04f80169e0e0dcc0e', class: this.paginationClasses }, h("div", { key: '257d3b64a41ebcfcf99c6385dc4f25fe8bef76d2', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "pagination-info" }, h("span", { class: "current-page" }, this.currentPage), h("span", null, "/"), h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
71
+ return (h("div", { key: '9e0f4dff733cfc9a204fa3015e2db8063f9dd0b7', class: this.paginationClasses }, h("div", { key: '1e0801d8bdf19ac2d6351aeb9245635faf2fe1c5', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "pagination-info" }, h("span", { class: "current-page" }, this.currentPage), h("span", null, "/"), h("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
72
72
  'pagination-btn': true,
73
73
  'pagination-btn--selected': this.currentPage === n,
74
74
  }, disabled: this.currentPage === n, style: {
75
75
  '--pagination-btn-width': `${this.buttonWidth}px`,
76
- }, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '1f39f1c793802461d78fe946f814ef20e428b375', class: "append-btns" }, this.renderNextButtons())));
76
+ }, onClick: () => this.handlePageChange(n) }, n)))), h("div", { key: '4e53c048a9404e0a664ebec465b93405cf2bc6b5', class: "append-btns" }, this.renderNextButtons())));
77
77
  }
78
78
  static get is() { return "sd-pagination"; }
79
79
  static get originalStyleUrls() {
@@ -31,14 +31,14 @@ export class SdPopover {
31
31
  this.showPopover = false;
32
32
  };
33
33
  render() {
34
- return (h(Fragment, { key: '5503def56cb2dfa1e7374dc8d2968df5c0268f5f' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (h("sd-floating-portal", { key: 'ccd8b25cc328a78e66315745cd39e849abc1e2a1', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, h("div", { key: 'b1359221e2bb9a7bfa36526620734c149ef2d3fe', class: {
34
+ return (h(Fragment, { key: '583cb5e2f7cb123dc1a11edeff0e6f6075e95950' }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (h("sd-floating-portal", { key: 'a0a4242a6cd1925a29b2e7be27f50b20377120de', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, h("div", { key: '251ddf3c159ae0f79c32643da7e1bef3d25caeeb', class: {
35
35
  'sd-floating-menu': true,
36
36
  'sd-floating-menu--popover': true,
37
37
  [`sd-floating-menu--${this.placement}`]: true,
38
38
  [this.menuClass]: !!this.menuClass,
39
39
  }, style: {
40
40
  '--sd-floating-bg': popoverTokens.popover.bg,
41
- } }, h("i", { key: 'f580b4344ae76e817e689889c9432b95e20a673d', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: 'b0afd933d6782a31a30f3146f65590228efe22a3' })), h("div", { key: '97d42bf0a82251015a44437115fe1c3ebd517fd4', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '87573bec4894f55e537ac8d311e6bcc78343f034', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (h("div", { key: '58e7ef0535df0f10d7691bfe9794fd79b24a185d', class: "sd-floating-menu__messages" }, this.messages.map(message => (h("div", null, message))))), this.buttons.length > 0 && (h("div", { key: 'bfbf4325963d09c22bcac0dbe1817360fed6d3bf', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (h("sd-button", { ...button })))))), this.useClose && (h("button", { key: 'beec3d7985e50ab056254883bb79621689ce12d8', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, h("sd-icon", { key: '88709a46eee690e0d00667ea0e03ee21eedc8f46', name: "close", size: popoverTokens.popover.close.icon, color: popoverTokens.popover.close.color }))))))));
41
+ } }, h("i", { key: '4ce84717389086099d17ac8c69519d4dfd707d64', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, h(TooltipArrow, { key: 'da5b99c7236bd9e6199971121cafc2537b5d96ee' })), h("div", { key: 'cc5dc4fc0abb24b4e515eae7031c812bf1178633', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '818f93a2a9820422652df595e0fd027873f6a93d', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (h("div", { key: '4f9cd0152c8f3697f419b63e73170a95def35a7b', class: "sd-floating-menu__messages" }, this.messages.map(message => (h("div", null, message))))), this.buttons.length > 0 && (h("div", { key: 'd1fe902b212315eab787b73ac3f38b0bf67f7955', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (h("sd-button", { ...button })))))), this.useClose && (h("button", { key: 'b043c92f872ef490715ee9735a413835d9350e32', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, h("sd-icon", { key: '19b5e26bec245315ff2d1187b7559bcf592a2490', name: "close", size: popoverTokens.popover.close.icon, color: popoverTokens.popover.close.color }))))))));
42
42
  }
43
43
  static get is() { return "sd-popover"; }
44
44
  static get originalStyleUrls() {
@@ -220,7 +220,7 @@ export class SdPortal {
220
220
  this.close.emit();
221
221
  }
222
222
  render() {
223
- return h("slot", { key: '5c8086dcde22ac632a914b2b7efb2b1b1f6147bd' });
223
+ return h("slot", { key: 'de500e5ee667c295313afda908429b55ed768969' });
224
224
  }
225
225
  static get is() { return "sd-portal"; }
226
226
  static get properties() {
@@ -33,10 +33,10 @@ export class SdProgress {
33
33
  return this.statusColor[this.progressStatus];
34
34
  }
35
35
  render() {
36
- return (h("div", { key: '16662bc1806f9a33de6e90af3f8f285b322a2204', style: {
36
+ return (h("div", { key: '6d111e7d5de2efd5565cc92fbef5f0d9ee8cb2ec', style: {
37
37
  '--progress-color': this.progressColor,
38
38
  '--progress-percentage': `${this.progressPercentage}%`,
39
- } }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: 'c4dc49fbcdf9affee2470251fd9226cb262af045', class: "sd-progress__label" }, this.label)));
39
+ } }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && h("div", { key: '8ff2f14809c2ae3107debd1f9bcee510e2d5594f', class: "sd-progress__label" }, this.label)));
40
40
  }
41
41
  renderBarProgress() {
42
42
  return (h("div", { class: `sd-progress__bar sd-progress__bar--${this.progressStatus}` }, h("div", { class: ['sd-progress__bar__percent', this.progressPercentage < 100 ? 'proceed' : ''].join(' ') }), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.progressPercentage, "%"), h("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.progressPercentage, "%")));
@@ -23,7 +23,7 @@ export class SdRadio {
23
23
  this.update.emit(this.value);
24
24
  }
25
25
  render() {
26
- return (h("div", { key: '54f13256c7d3af2ca702dcd8c63fbb50eb8f10cc', "aria-label": this.val || 'radio option', "aria-checked": String(this.val) === String(this.value) ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', class: this.getRadioClasses() }, h("label", { key: `radio-${this.val}` }, h("input", { key: '28c55d4f7612e37c3f5c715dc6c338826d203a9d', type: "radio", name: this.val, value: String(this.val), checked: String(this.val) === String(this.value), disabled: this.disabled, onInput: ({ detail }) => this.handleRadioChange(detail) }), this.val && h("span", { key: 'e5a5b475e6f0b47fc77119cbf9eeca97338f71ff', class: "sd-radio-group__label" }, this.label || this.val))));
26
+ return (h("div", { key: '22f461c707a4493e9cd1c3249b8e9d7ba2e8c1d3', "aria-label": this.val || 'radio option', "aria-checked": String(this.val) === String(this.value) ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', class: this.getRadioClasses() }, h("label", { key: `radio-${this.val}` }, h("input", { key: 'fa3a86b504202c9d74038fba3d6dafc04632e2fb', type: "radio", name: this.val, value: String(this.val), checked: String(this.val) === String(this.value), disabled: this.disabled, onInput: ({ detail }) => this.handleRadioChange(detail) }), this.val && h("span", { key: 'bc4e311599a3b9c4339dc07538a2e27149c3d816', class: "sd-radio-group__label" }, this.label || this.val))));
27
27
  }
28
28
  static get is() { return "sd-radio"; }
29
29
  static get originalStyleUrls() {
@@ -36,7 +36,7 @@ export class SdRadioButtonGroup {
36
36
  }
37
37
  groupName = this.name || `sd-radio-button-group-${crypto.randomUUID()}`;
38
38
  render() {
39
- return (h("div", { key: 'aa32ede3f18631ded3608ce415e7d9e6e365ca97', class: this.getGroupClasses(), role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.radioOptions.map(option => {
39
+ return (h("div", { key: '05df370841cb40291e350df3c7edf6b75be01f14', class: this.getGroupClasses(), role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.radioOptions.map(option => {
40
40
  const isSelected = this.isOptionSelected(option);
41
41
  const isDisabled = this.isOptionDisabled(option);
42
42
  return (h("label", { key: `radio-${option.value}`, class: this.getButtonClasses(option), "aria-label": option.label || 'radio option', "data-label": option.label }, h("input", { type: "radio", name: this.groupName, value: option.value.toString(), checked: isSelected, disabled: isDisabled, onInput: () => this.handleRadioChange(option.value, option.disabled) }), option.label && h("span", { class: "sd-radio-button-group__label" }, option.label)));
@@ -20,7 +20,7 @@ export class SdRadioGroup {
20
20
  return classes.join(' ');
21
21
  }
22
22
  render() {
23
- return (h("div", { key: '77ac0af3226b888547fd9fcb4f05a3cc402f6d09', class: this.getGroupClasses(), role: "radiogroup" }, this.radioOptions.map(option => {
23
+ return (h("div", { key: '264fed43fa10c8869762dab2b0530989e7901178', class: this.getGroupClasses(), role: "radiogroup" }, this.radioOptions.map(option => {
24
24
  return (h("sd-radio", { key: `radio-${option.value}`, val: String(option.value), value: this.value, label: option.label, disabled: this.disabled || !!option.disabled, onSdUpdate: ({ detail }) => this.handleRadioChange(detail) }));
25
25
  })));
26
26
  }
@@ -144,10 +144,10 @@ export class SdSelectDropdown {
144
144
  this.isScrolled = scrollTop > 0;
145
145
  };
146
146
  render() {
147
- return (h("div", { key: '4f22112f05b66852b064a73f3d20ee0d633a6989', class: {
147
+ return (h("div", { key: 'b9e4867efa896b6435e8fa0fafa0d5c4ba1f36a4', class: {
148
148
  'sd-select-dropdown': true,
149
149
  'sd-select-dropdown--ready': this.isDropdownReady,
150
- }, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: 'e068422c6d4586dc833489a0d77f0a78a4f02ada', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("slot", { name: `option-${option.value}` }, h("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (h("slot", { name: "option-placeholder" }, h("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
150
+ }, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (h("sd-select-search-input", { key: '8600234406b252a0d09252c4b9286870e77a6394', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (h("slot", { name: `option-${option.value}` }, h("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (h("slot", { name: "option-placeholder" }, h("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
151
151
  }
152
152
  static get is() { return "sd-select-dropdown"; }
153
153
  static get originalStyleUrls() {
@@ -24,7 +24,7 @@ export class SdSelectOption {
24
24
  }
25
25
  };
26
26
  render() {
27
- return (h("div", { key: '8d5d64e5888bca2e204168a58a9e8de65df44581', class: {
27
+ return (h("div", { key: 'd3ab86ef3bb92c0e912a344e95de4be8e5ffed4d', class: {
28
28
  'sd-select__option': true,
29
29
  'sd-select__option--selected': this.isSelected,
30
30
  'sd-select__option--disabled': !!this.option.disabled,
@@ -16,17 +16,17 @@ export class SdSelectSearchInput {
16
16
  input?.focus({ preventScroll: true });
17
17
  }
18
18
  render() {
19
- return (h("div", { key: 'e4d9726c7c294a2c435cc4c9aaf6d2ada1fa58ff', class: {
19
+ return (h("div", { key: 'e14663520ea13fd32617e0811406d64da0789fb1', class: {
20
20
  'sd-select-search-input': true,
21
21
  'sd-select-search-input--scrolled': !!this.isScrolled,
22
- }, onClick: event => event.stopPropagation() }, h("sd-input", { key: '7be3654c2171a71ade6b61670a73d25a0f68cc9e', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
22
+ }, onClick: event => event.stopPropagation() }, h("sd-input", { key: '0067dc90a975583ebd0676fcca059896f152592e', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
23
23
  this.searchInput.emit(String(event?.detail));
24
24
  }, onSdFocus: () => {
25
25
  this.searchFocus.emit();
26
26
  }, onKeyDown: event => {
27
27
  if (event.code === 'Enter')
28
28
  event.stopPropagation();
29
- } }, h("sd-icon", { key: 'e1746218cac13b6b935eacc27f524de78edd2684', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
29
+ } }, h("sd-icon", { key: '60a0fa1fd2bcb1beb7954f2c13e322f142b5ca66', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
30
30
  }
31
31
  static get is() { return "sd-select-search-input"; }
32
32
  static get originalStyleUrls() {
@@ -141,7 +141,7 @@ export class SdSelect extends BaseDropdownEvent {
141
141
  }
142
142
  };
143
143
  render() {
144
- return (h("sd-field", { key: 'da4d19d27d49ba3be711e35bd8090602e3d96dbd', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, insideLabel: this.insideLabel, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, h("div", { key: 'a0c5e55a1c31def2095b98f95b79fe877d114fb9', class: {
144
+ return (h("sd-field", { key: '2ac382aca68d636be323d87a6feb3eae63fd8d35', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, insideLabel: this.insideLabel, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, h("div", { key: '781a0950f3f18480e320ce25cf03fd1bc04b9349', class: {
145
145
  'sd-select': true,
146
146
  'sd-select--disabled': this.disabled,
147
147
  'sd-select--error': !!this.error,
@@ -270,7 +270,7 @@ export class SdSelectGroup extends BaseDropdownEvent {
270
270
  });
271
271
  }
272
272
  render() {
273
- return (h("sd-field", { key: '556e32fc52193819e4350aea52ff2e7a842f5b83', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, insideLabel: this.insideLabel, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: { '--field-width': this.width || '200px' } }, h("div", { key: '5305172cc578dffde8a2d2d6749195f15346aa01', class: {
273
+ return (h("sd-field", { key: '343870c96352644f1f32570296473d2f06a65750', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, insideLabel: this.insideLabel, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: { '--field-width': this.width || '200px' } }, h("div", { key: '05d7ced4e332e5ab2f66b44b517f4e59b12ecf64', class: {
274
274
  'sd-select-group': true,
275
275
  'sd-select-group--open': this.isOpen,
276
276
  'sd-select-group--disabled': this.disabled,
@@ -150,7 +150,7 @@ export class SdSelectMultiple extends BaseDropdownEvent {
150
150
  this.handleOptionSelection(option);
151
151
  };
152
152
  render() {
153
- return (h("sd-field", { key: '5f7d815436077813dc20a84791ebb9f95d15b136', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, h("div", { key: '7363e68efb6a226c692da41fc0232d2c85e4442e', class: {
153
+ return (h("sd-field", { key: '8de4ef57a8dd1c6f2fd6ab9ae22fe4df3e99ed16', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, h("div", { key: '8b57b5500a152853db07de205ab006f7a92f30a8', class: {
154
154
  'sd-select-multiple': true,
155
155
  'sd-select-multiple--open': this.isOpen,
156
156
  'sd-select-multiple--disabled': this.disabled,
@@ -392,7 +392,7 @@ export class SdSelectMultipleGroup extends BaseDropdownEvent {
392
392
  });
393
393
  }
394
394
  render() {
395
- return (h("sd-field", { key: '5da73b169260119c81b46c2c65524398fedada9f', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: { '--field-width': this.width || '200px' } }, h("div", { key: '74b6191fa2b0efbeca0e22ec606489bb661d0692', class: {
395
+ return (h("sd-field", { key: '350c7b2df807166a1439a2151f0f168385adac4a', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: { '--field-width': this.width || '200px' } }, h("div", { key: 'cce989263e1c7dcb38216e734aabe6eea643676a', class: {
396
396
  'sd-select-multiple-group': true,
397
397
  'sd-select-multiple-group--open': this.isOpen,
398
398
  'sd-select-multiple-group--disabled': this.disabled,
@@ -39,7 +39,7 @@ export class SdSelectOptionGroup {
39
39
  }
40
40
  };
41
41
  render() {
42
- return (h("div", { key: '33914eb635e7ff2543b7e025df9dcadd0775616f', class: {
42
+ return (h("div", { key: '7581caff61d1257d653b6f58b8d76c21225b3cc5', class: {
43
43
  'sd-select__option-group': true,
44
44
  'sd-select__option-group--selected': !!this.isSelected,
45
45
  'sd-select__option-group--disabled': !!this.option.disabled,
@@ -48,10 +48,10 @@ export class SdSelectOptionGroup {
48
48
  'sd-select__option-group--group': this.option.type === 'group',
49
49
  'sd-select__option-group--subgroup': this.option.type === 'subgroup',
50
50
  'sd-select__option-group--item': this.option.type === 'item',
51
- }, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: '53d4ceaf83bbf3c093a67a5cae2a4225e42ebffc', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (h("sd-checkbox", { key: 'e8c805485f204b715deca7f519422f7961c370ca', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
51
+ }, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, h("div", { key: 'ddb33f6afaa6bc6d6dd3dc494f6ec74b9c023a42', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (h("sd-checkbox", { key: '14f2c7fc347718d2909e5006bf2500a9a51b0a66', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
52
52
  e.preventDefault();
53
53
  this.handleClick(this.option, this.isSelected, e);
54
- } })), h("span", { key: '52f1efee24d5ec49e5327355227f50a9710d4261', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (h("span", { key: '9a6059929bb305c470532f1ee787390495c516c1', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
54
+ } })), h("span", { key: '99415ed662cc2f8f29d31e3811eb4496f8fcac47', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (h("span", { key: 'a3c7dc6455a94ecd4587f8b13b4d1f10e3b58819', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
55
55
  }
56
56
  static get is() { return "sd-select-option-group"; }
57
57
  static get originalStyleUrls() {
@@ -64,7 +64,7 @@ export class SdSelectV2ListItem {
64
64
  if (isDepth1Group) {
65
65
  cssVars['--list-item-border-top'] = `${LIST_ITEM_COLORS.depth1.borderWidth}px solid ${LIST_ITEM_COLORS.depth1.border}`;
66
66
  }
67
- return (h("div", { key: '68c45b6a345a90fe1b44d1c744cb27881ddca772', class: {
67
+ return (h("div", { key: '0abaaaf9e87dd7faa5ca7566d54367fc1a883d6e', class: {
68
68
  'sd-select-v2-list-item': true,
69
69
  'sd-select-v2-list-item--group': isGroup,
70
70
  'sd-select-v2-list-item--depth1-group': isDepth1Group,
@@ -74,7 +74,7 @@ export class SdSelectV2ListItem {
74
74
  'sd-select-v2-list-item--focused': this.isFocused,
75
75
  'sd-select-v2-list-item--selectable': this.isSelectable && !this.option.disabled,
76
76
  'sd-select-v2-list-item--disabled': !!this.option.disabled,
77
- }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '8eda4135c2d3a6a79efe48eb39d7ada530543be2', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, class: "sd-select-v2-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '939299b58c52bfc8626723d63f03e915f2be89c8', class: "sd-select-v2-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '59598495bb83488f5e4a0b0005f80c7bfa00bdf3', class: "sd-select-v2-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
77
+ }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'd2b00059ae0792d7d162e8ea7c8f35640ab6086f', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, class: "sd-select-v2-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '588434f01076bc963ca733eabf62a74795788c07', class: "sd-select-v2-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '6238cac7c3da53813eb8e65f98167874947625af', class: "sd-select-v2-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
78
78
  }
79
79
  static get is() { return "sd-select-v2-list-item"; }
80
80
  static get originalStyleUrls() {
@@ -50,12 +50,12 @@ export class SdSelectV2ListItemSearch {
50
50
  clearTimeout(this.debounceTimer);
51
51
  }
52
52
  render() {
53
- return (h("div", { key: '6a58d3109bba6cf63f08e3d035570f95847389b0', class: {
53
+ return (h("div", { key: '0b97d37d739a22f488b313cfcc6e210c19cd3b7f', class: {
54
54
  'sd-select-v2-list-item-search': true,
55
55
  'sd-select-v2-list-item-search--scrolled': this.isScrolled,
56
- } }, h("div", { key: '9f4229f0c21a85964f3264ead376cf05b548b1b3', class: "sd-select-v2-list-item-search__inner" }, h("sd-icon", { key: '7f02ec472bc56398e961e20c2499e3469a3b94d1', name: "search", size: 16, color: "grey_70", class: "sd-select-v2-list-item-search__icon" }), h("input", { key: 'c9211570ff1b852dcce6fececa00b0660c13b94f', ref: el => {
56
+ } }, h("div", { key: 'c0667cb553c481507149baa6da6b07cdc3ed69c4', class: "sd-select-v2-list-item-search__inner" }, h("sd-icon", { key: '0a9f76e5f8bb9a202ca921d076552f7ca8868528', name: "search", size: 16, color: "grey_70", class: "sd-select-v2-list-item-search__icon" }), h("input", { key: 'ac3dffc2b22f14ed356c92f64f8d1d46e57040f7', ref: el => {
57
57
  this.inputEl = el;
58
- }, type: "text", class: "sd-select-v2-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: () => this.searchFocus.emit() }), this.searchText && (h("button", { key: '0a0e6a5e8a0c0f3584e2af1f1e2f5f82cc719fad', type: "button", class: "sd-select-v2-list-item-search__clear", onClick: this.handleClear }, h("sd-icon", { key: '2874ce9881ffe6d0e71c0b9fb95f533def0cea6b', name: "close", size: 12, color: "#888888" }))))));
58
+ }, type: "text", class: "sd-select-v2-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: () => this.searchFocus.emit() }), this.searchText && (h("button", { key: 'c81a0a057ad862603c3ccb627102182898fd004f', type: "button", class: "sd-select-v2-list-item-search__clear", onClick: this.handleClear }, h("sd-icon", { key: 'b65fcc15d27b3feafba27944dada2c9ed844b870', name: "close", size: 12, color: "#888888" }))))));
59
59
  }
60
60
  static get is() { return "sd-select-v2-list-item-search"; }
61
61
  static get originalStyleUrls() {