@sellmate/design-system 1.7.0 → 1.7.1
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.
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-calendar_2.cjs.entry.js +5 -5
- package/dist/cjs/sd-callout.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +10 -10
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +1 -1
- package/dist/cjs/sd-field_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-ghost-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-loading-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-pagination_4.cjs.entry.js +8 -8
- package/dist/cjs/sd-popover.cjs.entry.js +3 -3
- package/dist/cjs/sd-popup.cjs.entry.js +1 -1
- package/dist/cjs/sd-portal.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +6 -6
- package/dist/cjs/sd-select_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +6 -6
- package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sd-tag.cjs.entry.js +2 -2
- package/dist/cjs/sd-td.cjs.entry.js +1 -1
- package/dist/cjs/sd-text-link.cjs.entry.js +3 -3
- package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
- package/dist/collection/components/sd-button/sd-button.js +2 -2
- package/dist/collection/components/sd-calendar/sd-calendar.js +3 -3
- package/dist/collection/components/sd-callout/sd-callout.js +1 -1
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-chip/sd-chip.js +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-divider/sd-divider.js +1 -1
- package/dist/collection/components/sd-field/sd-field.js +5 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +2 -2
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +3 -3
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-radio/sd-radio.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +1 -1
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +6 -6
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/components/{p-DeHt0RYQ.js → p-2z2c2umH.js} +1 -1
- package/dist/components/{p-BDJJQALT.js → p-B45aOf4I.js} +1 -1
- package/dist/components/{p-CSbyXQa9.js → p-B6G64i5a.js} +1 -1
- package/dist/components/{p-CRq8zgt_.js → p-B6JOxZKP.js} +1 -1
- package/dist/components/{p-CAP-9lnL.js → p-B6L3bPm2.js} +1 -1
- package/dist/components/{p-C1Fk1556.js → p-BWJtQGYo.js} +1 -1
- package/dist/components/{p-DAAHX92J.js → p-Bhh7ig9Q.js} +1 -1
- package/dist/components/{p-DR1f1cS9.js → p-C8c6MuKQ.js} +1 -1
- package/dist/components/{p-Dq38kgOY.js → p-CARYLqH9.js} +1 -1
- package/dist/components/{p-BYRvYsiC.js → p-CTuKWVTh.js} +1 -1
- package/dist/components/{p-CJRGLvgC.js → p-CkR5oiLy.js} +1 -1
- package/dist/components/{p-5_BC8C6x.js → p-CwQTEZWO.js} +1 -1
- package/dist/components/{p-CK6jFkqR.js → p-CwRItc2J.js} +1 -1
- package/dist/components/{p-CtXad9by.js → p-D6cUtm8p.js} +1 -1
- package/dist/components/{p-2aQ4cVXp.js → p-DCFqtVBm.js} +1 -1
- package/dist/components/{p-D4mjSR0u.js → p-DISZkQqT.js} +1 -1
- package/dist/components/{p-vZLoby4N.js → p-DMrXwfmf.js} +1 -1
- package/dist/components/{p-DwKYjjIC.js → p-DP0Dp12H.js} +1 -1
- package/dist/components/{p-DY1iQfib.js → p-DhmsCQrB.js} +1 -1
- package/dist/components/{p-DfKa36bs.js → p-DhtKHJ7-.js} +1 -1
- package/dist/components/{p-DK4Jvax0.js → p-DmDGMDzt.js} +1 -1
- package/dist/components/p-DoREs-rv.js +1 -0
- package/dist/components/{p-BNXKU1BW.js → p-EcuI_UmK.js} +1 -1
- package/dist/components/{p-CnbeQ2DI.js → p-I9SoAcVO.js} +1 -1
- package/dist/components/{p-BVvVDIo0.js → p-ZSGGRCNc.js} +1 -1
- package/dist/components/{p-F7yyGdIc.js → p-cX2DD74L.js} +1 -1
- package/dist/components/{p-CWGbMz0J.js → p-f10Mw7qM.js} +1 -1
- package/dist/components/{p-D155awu4.js → p-lOVBaLB7.js} +1 -1
- package/dist/components/p-p4bNikji.js +1 -0
- package/dist/components/{p-EbF6qsnG.js → p-uVZjhyvS.js} +1 -1
- package/dist/components/{p-B_2U9h3P.js → p-wLoP3KMv.js} +1 -1
- package/dist/components/p-y_6iWhDy.js +1 -0
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-divider.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-ghost-button.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-32d96a70.entry.js → p-07b0d118.entry.js} +1 -1
- package/dist/design-system/{p-e159f70d.entry.js → p-0de5a53b.entry.js} +1 -1
- package/dist/design-system/{p-e1350f4d.entry.js → p-1219699a.entry.js} +1 -1
- package/dist/design-system/p-18057222.entry.js +1 -0
- package/dist/design-system/{p-08798232.entry.js → p-18d3ae55.entry.js} +1 -1
- package/dist/design-system/{p-643c004a.entry.js → p-1aafbc7b.entry.js} +1 -1
- package/dist/design-system/{p-0060136e.entry.js → p-2c0a8333.entry.js} +1 -1
- package/dist/design-system/{p-ea17a361.entry.js → p-2d3d25bd.entry.js} +1 -1
- package/dist/design-system/p-3e2b5e01.entry.js +1 -0
- package/dist/design-system/{p-840f592d.entry.js → p-46faa7ed.entry.js} +1 -1
- package/dist/design-system/{p-b08ca29b.entry.js → p-4c3ead1b.entry.js} +1 -1
- package/dist/design-system/{p-a6c9baa5.entry.js → p-5c4fd9c1.entry.js} +1 -1
- package/dist/design-system/{p-eef5f8d7.entry.js → p-5d5d8220.entry.js} +1 -1
- package/dist/design-system/p-60b80bf3.entry.js +1 -0
- package/dist/design-system/{p-8d2815cf.entry.js → p-74b3e95b.entry.js} +1 -1
- package/dist/design-system/{p-0964c79a.entry.js → p-78b0b759.entry.js} +1 -1
- package/dist/design-system/p-78c2fd6d.entry.js +1 -0
- package/dist/design-system/p-8674d868.entry.js +1 -0
- package/dist/design-system/{p-10f579ba.entry.js → p-95bbba4f.entry.js} +1 -1
- package/dist/design-system/{p-b5e9320f.entry.js → p-969665c0.entry.js} +1 -1
- package/dist/design-system/{p-adce8704.entry.js → p-97b405aa.entry.js} +1 -1
- package/dist/design-system/{p-4ef942a8.entry.js → p-9d34518e.entry.js} +1 -1
- package/dist/design-system/{p-d1da969d.entry.js → p-a5930cbd.entry.js} +1 -1
- package/dist/design-system/{p-102c2153.entry.js → p-bd4e5141.entry.js} +1 -1
- package/dist/design-system/{p-70f47e43.entry.js → p-c1bac61e.entry.js} +1 -1
- package/dist/design-system/{p-f172920e.entry.js → p-c73cadc7.entry.js} +1 -1
- package/dist/design-system/{p-7444d475.entry.js → p-cffa6da7.entry.js} +1 -1
- package/dist/design-system/{p-914d74c4.entry.js → p-deec1ef0.entry.js} +1 -1
- package/dist/design-system/{p-2e4d1fe1.entry.js → p-e6bd8ab1.entry.js} +1 -1
- package/dist/design-system/{p-1743651a.entry.js → p-e81cb8c9.entry.js} +1 -1
- package/dist/design-system/{p-e9079238.entry.js → p-ea586c5e.entry.js} +1 -1
- package/dist/design-system/{p-733aa107.entry.js → p-f14962bd.entry.js} +1 -1
- package/dist/design-system/{p-521e5d2e.entry.js → p-f3dff8b8.entry.js} +1 -1
- package/dist/design-system/{p-afdca5bb.entry.js → p-fc6da22d.entry.js} +1 -1
- package/dist/design-system/{p-282b1260.entry.js → p-ff33d019.entry.js} +1 -1
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/sd-button_2.entry.js +2 -2
- package/dist/esm/sd-calendar_2.entry.js +5 -5
- package/dist/esm/sd-callout.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- package/dist/esm/sd-confirm-modal_2.entry.js +3 -3
- package/dist/esm/sd-date-picker_7.entry.js +10 -10
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +1 -1
- package/dist/esm/sd-field_3.entry.js +8 -8
- package/dist/esm/sd-ghost-button.entry.js +2 -2
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-linear-progress.entry.js +1 -1
- package/dist/esm/sd-loading-container.entry.js +2 -2
- package/dist/esm/sd-pagination_4.entry.js +8 -8
- package/dist/esm/sd-popover.entry.js +3 -3
- package/dist/esm/sd-popup.entry.js +1 -1
- package/dist/esm/sd-portal.entry.js +1 -1
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +6 -6
- package/dist/esm/sd-select_3.entry.js +8 -8
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/sd-table.entry.js +6 -6
- package/dist/esm/sd-tabs.entry.js +1 -1
- package/dist/esm/sd-tag.entry.js +2 -2
- package/dist/esm/sd-td.entry.js +1 -1
- package/dist/esm/sd-text-link.entry.js +3 -3
- package/dist/esm/sd-toast-container.entry.js +1 -1
- package/dist/esm/sd-toast.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +1 -1
- package/hydrate/index.js +91 -91
- package/hydrate/index.mjs +91 -91
- package/package.json +1 -1
- package/dist/components/p-BFAQ4nY2.js +0 -1
- package/dist/components/p-LZKaKr8O.js +0 -1
- package/dist/components/p-pTx5xpqU.js +0 -1
- package/dist/design-system/p-17ec576c.entry.js +0 -1
- package/dist/design-system/p-4cf1c8ae.entry.js +0 -1
- package/dist/design-system/p-69a208c0.entry.js +0 -1
- package/dist/design-system/p-9c74571a.entry.js +0 -1
- package/dist/design-system/p-f97b75d3.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -5338,7 +5338,7 @@ class SdActionModal {
|
|
|
5338
5338
|
if (this.height != null && this.height !== '') {
|
|
5339
5339
|
sizeStyle.height = typeof this.height === 'number' ? `${this.height}px` : this.height;
|
|
5340
5340
|
}
|
|
5341
|
-
return (hAsync("div", { key: '
|
|
5341
|
+
return (hAsync("div", { key: '91a94a7058a38f4433809705cf2fefdc3bbaefa9', class: "sd-action-modal", style: { ...cssVars, ...sizeStyle } }, hAsync("header", { key: 'e47efbc4183c9cff34d0ed66aab69521efb9e9e5', class: "sd-action-modal__header" }, hAsync("h2", { key: '7a54d5f4decb8d6d599808feafca68e548cf173e', class: "sd-action-modal__title" }, this.modalTitle), hAsync("div", { key: '621c4a86ef0ba69833b84515c74d4972f0a6cc42', class: "sd-action-modal__header-sub" }, hAsync("slot", { key: 'f7453ed96822804094c239cef05638934aed288e', name: "header-sub-title" })), hAsync("sd-ghost-button", { key: '29cee49b27b6f261d719e6856f8b38a9fa590bf4', class: "sd-action-modal__close", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() })), hAsync("div", { key: '610840c291b3a26a82146549220ff1be470eafc2', class: "sd-action-modal__body" }, hAsync("slot", { key: '7d390550e2ba1ae27409fb64beccf4f33f744aad', name: "body" })), (this.buttonProps != null || this.buttonProps != undefined) && (hAsync("footer", { key: 'c835a2fb96066b393a8833d492d03adc2806cb07', class: "sd-action-modal__footer" }, hAsync("div", { key: 'b46ed9f18f9e760bd5159260e2cf4b3f27d8dd23', class: "sd-action-modal__footer-sub" }, hAsync("slot", { key: '4b9cce3c5b44b7921e82cb813a87ca5e76cd4928', name: "bottom-sub-content" })), hAsync("sd-button", { key: '6cf14c10ef064a1c5993a48ef9f921069d6d70f6', ...DEFAULT_BUTTON_PROPS, ...this.buttonProps, onSdClick: () => this.ok.emit() })))));
|
|
5342
5342
|
}
|
|
5343
5343
|
static get style() { return sdActionModalCss(); }
|
|
5344
5344
|
static get cmpMeta() { return {
|
|
@@ -5390,7 +5390,7 @@ class SdBadge {
|
|
|
5390
5390
|
color = 'blue';
|
|
5391
5391
|
render() {
|
|
5392
5392
|
const resolvedColor = BADGE_COLOR_MAP[this.color] ?? BADGE_COLOR_MAP.blue;
|
|
5393
|
-
return (hAsync("div", { key: '
|
|
5393
|
+
return (hAsync("div", { key: '5fec3220f60c6567d1aa5de6aa3d1c7c9f9e605b', class: "sd-badge", style: { '--sd-badge-color': resolvedColor } }, hAsync("div", { key: '892f2c5c1d004d172c06bc0871688d30e449e80f', class: "sd-badge__dot" })));
|
|
5394
5394
|
}
|
|
5395
5395
|
static get style() { return sdBadgeCss(); }
|
|
5396
5396
|
static get cmpMeta() { return {
|
|
@@ -5599,7 +5599,7 @@ class SdBarcodeInput {
|
|
|
5599
5599
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
5600
5600
|
'--sd-system-color-field-bg-default': BARCODE_INPUT_COLORS.bg.barcode,
|
|
5601
5601
|
};
|
|
5602
|
-
return (hAsync("sd-field", { key: '
|
|
5602
|
+
return (hAsync("sd-field", { key: 'c009f4c33b31e9498c230e9a0f4064925a1e5757', 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, 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: 'a614817eab514a80f7132ebb92ebb0b8bb8009e4', class: "sd-barcode-input__content" }, hAsync("slot", { key: '16a0bf4c55eafec3fb827ba8fe54f61e546fbbca', name: "prefix" }), hAsync("input", { key: 'de9e2abcfe4b8f34084feb8691ef6c8183568932', name: this.name, ref: el => (this.nativeEl = el), class: `sd-barcode-input__native ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: 'dbfc3e2c03b20da68e80cc3855cace42aae268ec', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-ghost-button", { key: '05670236ffb93c7b894bdea9763d11adcab75e05', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-barcode-input__clear-icon", onClick: async () => {
|
|
5603
5603
|
if (this.disabled)
|
|
5604
5604
|
return;
|
|
5605
5605
|
this.internalValue = '';
|
|
@@ -6471,13 +6471,13 @@ class SdButton {
|
|
|
6471
6471
|
const validRightIcon = isValidIcon(this.rightIcon) ? this.rightIcon : undefined;
|
|
6472
6472
|
const iconOnly = !hasLabel && Boolean(validIcon) !== Boolean(validRightIcon);
|
|
6473
6473
|
const accessibleName = iconOnly && this.ariaLabel.trim() !== '' ? this.ariaLabel : undefined;
|
|
6474
|
-
return (hAsync("button", { key: '
|
|
6474
|
+
return (hAsync("button", { key: 'a234c7f16473512ada9eb1e06bf64f77c399cbfc', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type ?? 'button', disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
6475
6475
|
'--sd-button-bg': config.color,
|
|
6476
6476
|
'--sd-button-bg-hover': PRESET_HOVER_BACKGROUNDS$1[preset],
|
|
6477
6477
|
'--sd-button-border': PRESET_BORDER_COLORS$1[preset],
|
|
6478
6478
|
'--sd-button-content': PRESET_CONTENT_COLORS$1[preset],
|
|
6479
6479
|
'--sd-button-accent': BUTTON_FOCUS_RING_COLOR,
|
|
6480
|
-
}, onClick: this.handleClick }, hAsync("span", { key: '
|
|
6480
|
+
}, onClick: this.handleClick }, hAsync("span", { key: 'f7b9352e23e52ff28380e06deb25e777a5432800', class: "sd-button__content" }, validIcon && (hAsync("sd-icon", { key: '07327cab83e95c69cf8739be2eb08cdd8272393d', class: "sd-button__icon", name: validIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })), this.label && hAsync("span", { key: '4274f4b275c3ac9f3f09d4a6c1bf75d2d5f650ee', class: "sd-button__label" }, this.label), validRightIcon && (hAsync("sd-icon", { key: 'ba796a53ba1cb389db209d91c224b04381445b25', class: "sd-button__icon sd-button__icon--right", name: validRightIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })))));
|
|
6481
6481
|
}
|
|
6482
6482
|
static get style() { return sdButtonCss(); }
|
|
6483
6483
|
static get cmpMeta() { return {
|
|
@@ -6901,7 +6901,7 @@ class SdCalendar {
|
|
|
6901
6901
|
const eventMap = this.eventMap;
|
|
6902
6902
|
const legend = this.legendItems;
|
|
6903
6903
|
const hasEvents = (this.events?.length ?? 0) > 0;
|
|
6904
|
-
return (hAsync("div", { key: '
|
|
6904
|
+
return (hAsync("div", { key: 'd85abe861103677565ff172def182761255eee97', class: { 'sd-calendar': true, 'sd-calendar--elevated': this.elevated }, style: cssVars }, hAsync("div", { key: '2d087beb6f61c1545c61c040d7266eb809c59c56', class: "sd-calendar__header" }, hAsync("div", { key: '90b85428cd8f22aac7f0d8915a0fb0fc1ba0fd0f', class: "sd-calendar__nav-group" }, hAsync("sd-ghost-button", { key: '6a5b6c35489eeeae6d2fca4a96a77755b5d48c5a', ariaLabel: "prevYear", size: "xxs", icon: "chevronLeft", onClick: this.goPrevYear }), hAsync("span", { key: 'b00bab4993fb6f57bf1c6e8fd02243b8cbab8007', class: "sd-calendar__label" }, this.currentYear), hAsync("sd-ghost-button", { key: '1ed1ea634a311b429c6e2053c22e1d043d34aa82', ariaLabel: "nextYear", size: "xxs", icon: "chevronRight", onClick: this.goNextYear })), hAsync("span", { key: '1d471e12d7e5a48998b33ef6c3b7208c2fff1796', class: "sd-calendar__divider", "aria-hidden": "true" }), hAsync("div", { key: '07e70fb3696cfe6bcf2253c0ead87fead96ad04e', class: "sd-calendar__nav-group sd-calendar__nav-group-month" }, hAsync("sd-ghost-button", { key: 'c8401e8f8a1018eec46d9ee9857e8aa64235fff5', ariaLabel: "prevMonth", size: "xxs", icon: "chevronLeft", onClick: this.goPrevMonth }), hAsync("span", { key: '3ceaa4a07a45eb16c43ed70e953f4540c2554ae9', class: "sd-calendar__label sd-calendar__label-month" }, this.currentMonth, "\uC6D4"), hAsync("sd-ghost-button", { key: '6dd7c2c29159e549e2294141726b39c0ad559634', ariaLabel: "nextMonth", size: "xxs", icon: "chevronRight", onClick: this.goNextMonth }))), hAsync("div", { key: '623928bc8970c2746f3d924a4ae36149ce7d21f7', class: "sd-calendar__week" }, WEEK_LABELS.map(label => (hAsync("span", { key: label, class: "sd-calendar__week-cell" }, label)))), hAsync("div", { key: '5ab1f7042906eb7542f4effa35c0c9992ded34dc', class: "sd-calendar__grid" }, this.cells.map(cell => {
|
|
6905
6905
|
const isSelected = cell.inCurrentMonth && this.value !== '' && this.value === cell.date;
|
|
6906
6906
|
const isToday = cell.inCurrentMonth && today === cell.date;
|
|
6907
6907
|
const isDisabled = cell.inCurrentMonth && this.isDisabled(cell.date);
|
|
@@ -6914,8 +6914,8 @@ class SdCalendar {
|
|
|
6914
6914
|
'sd-calendar__day--disabled': isDisabled,
|
|
6915
6915
|
}, disabled: !cell.inCurrentMonth || isDisabled, tabindex: !cell.inCurrentMonth ? -1 : undefined, "aria-hidden": !cell.inCurrentMonth ? 'true' : undefined, onClick: () => cell.inCurrentMonth && this.handleDayClick(cell) }, hAsync("span", { class: "sd-calendar__day-circle" }, cell.inCurrentMonth ? cell.day : ''), hasEvents && (hAsync("span", { class: "sd-calendar__dot-row", "aria-hidden": "true" }, dayEvents?.map((ev, i) => (hAsync("span", { key: `${ev.color}|${ev.label}|${i}`, class: "sd-calendar__dot", style: { backgroundColor: ev.color } })))))));
|
|
6916
6916
|
})), legend.length > 0 && [
|
|
6917
|
-
hAsync("span", { key: '
|
|
6918
|
-
hAsync("div", { key: '
|
|
6917
|
+
hAsync("span", { key: '9d3f938ca0ac1d48ec6189a6b9f7598c06dbaf13', class: "sd-calendar__divider-bottom", "aria-hidden": "true" }),
|
|
6918
|
+
hAsync("div", { key: '1b5a55959212257085707478d7d0a358dc355403', class: "sd-calendar__legend" }, legend.map(item => (hAsync("span", { key: `${item.color}|${item.label}`, class: "sd-calendar__legend-item" }, hAsync("span", { class: "sd-calendar__legend-dot", style: { backgroundColor: item.color }, "aria-hidden": "true" }), hAsync("span", { class: "sd-calendar__legend-label" }, item.label))))),
|
|
6919
6919
|
]));
|
|
6920
6920
|
}
|
|
6921
6921
|
static get watchers() { return {
|
|
@@ -7144,7 +7144,7 @@ class SdCallout {
|
|
|
7144
7144
|
}
|
|
7145
7145
|
render() {
|
|
7146
7146
|
const showTitle = this.type === 'danger';
|
|
7147
|
-
return (hAsync("div", { key: '
|
|
7147
|
+
return (hAsync("div", { key: 'b11c9ade2fcd2a17704b4d8965e53cc80ddd4a15', class: "sd-callout", style: this.calloutStyle, role: "note" }, showTitle && this.renderTitle(), hAsync("div", { key: '0c5712690ab2141820f444092a63ac4c11d33c80', class: "sd-callout__body" }, this.renderBody())));
|
|
7148
7148
|
}
|
|
7149
7149
|
static get style() { return sdCalloutCss(); }
|
|
7150
7150
|
static get cmpMeta() { return {
|
|
@@ -7169,7 +7169,7 @@ class SdCard {
|
|
|
7169
7169
|
bordered = false;
|
|
7170
7170
|
sdClass = '';
|
|
7171
7171
|
render() {
|
|
7172
|
-
return (hAsync(Fragment, { key: '
|
|
7172
|
+
return (hAsync(Fragment, { key: '366604b2ca458d2b9b26f61c1cb282543b27a699' }, hAsync("div", { key: '889e8ec8d359eb26713762ebb9990ea07dfaf0ba', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, hAsync("slot", { key: 'd680bfe14dc135da77e35440587f089781ef383f' }))));
|
|
7173
7173
|
}
|
|
7174
7174
|
static get style() { return sdCardCss(); }
|
|
7175
7175
|
static get cmpMeta() { return {
|
|
@@ -7698,7 +7698,7 @@ class SdChip {
|
|
|
7698
7698
|
'--sd-chip-font-weight': typography.fontWeight,
|
|
7699
7699
|
'--sd-chip-line-height': typography.lineHeight,
|
|
7700
7700
|
};
|
|
7701
|
-
return (hAsync("span", { key: '
|
|
7701
|
+
return (hAsync("span", { key: '6503611c9cb03be2de4fc09398e2ce1b34b8ab10', class: {
|
|
7702
7702
|
'sd-chip': true,
|
|
7703
7703
|
[`sd-chip--${state}`]: true,
|
|
7704
7704
|
'sd-chip--disabled': this.disabled,
|
|
@@ -7865,7 +7865,7 @@ class SdCircleProgress {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
7867
7867
|
const showPercent = !this.indeterminate;
|
|
7868
|
-
return (hAsync(Host, { key: '
|
|
7868
|
+
return (hAsync(Host, { key: '9a4424e79b095c240b2dd53c8655b9a4cccaf581', style: hostStyle }, hAsync("svg", { key: '37ca87d4c4aa6ab6b84a4301225d775f1998c0c1', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: '372f7031310dddba431323b0527c273311a498e3', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), hAsync("circle", { key: 'def6ff7573e4c4a08648f35f7cb545d6b8064f6d', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (hAsync("span", { key: '13d6345672fdafaf6a1e1eef9f5987179a99c3ae', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && hAsync("span", { key: 'c42e2fa2826284017e530e967975e45277ae9ee3', class: "sd-circle-progress__label" }, this.label)));
|
|
7869
7869
|
}
|
|
7870
7870
|
static get style() { return sdCircleProgressCss(); }
|
|
7871
7871
|
static get cmpMeta() { return {
|
|
@@ -7981,9 +7981,9 @@ class SdConfirmModal {
|
|
|
7981
7981
|
const type = this.resolvedType;
|
|
7982
7982
|
const iconName = CONFIRM_MODAL_ICON_MAP[type];
|
|
7983
7983
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
|
|
7984
|
-
return (hAsync("div", { key: '
|
|
7984
|
+
return (hAsync("div", { key: 'c41a58f13b95da7f1f0aea3620abf239dcb116b6', class: "sd-confirm-modal" }, hAsync("sd-ghost-button", { key: 'bdc1bc374934c2f9745f567b4e6ffd55ec3675ce', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (hAsync("sd-icon", { key: 'ff16ebde448157e657eb74e1b0c5f4a331cf396a', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), hAsync("h2", { key: 'd718b2ae6f6e92f8c77ec821b78924ffbe267d12', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), hAsync("div", { key: 'a3909abde84c4d6987c9036a705cba4aa7d01ea6', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (hAsync("div", { key: '29a4bf80ab75d973544c0a29c87133c9ef8a5aab', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (hAsync("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (hAsync("div", { key: '93eb2c75728cf26969a229a876f9217b4e00c63a', class: "sd-confirm-modal__content-box" }, this.tagContents ? (hAsync("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
7985
7985
|
this.customContentRef = el;
|
|
7986
|
-
} })) : (hAsync("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (hAsync("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (hAsync("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (hAsync("div", { key: '
|
|
7986
|
+
} })) : (hAsync("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (hAsync("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (hAsync("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (hAsync("div", { key: '730fd073ade9b8788de77d36fc4aeddd0b304c07', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (hAsync("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), hAsync("div", { key: '059fd87fb39b8e2976fcb671c7dd78310324119f', class: "sd-confirm-modal__button" }, this.subButtonLabel && (hAsync("sd-button", { key: '6b320645505c099783a4a6704e96e9261054c7dc', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), hAsync("sd-button", { key: 'd6a4554a7db861ae7afc610a629591224946d990', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
|
|
7987
7987
|
}
|
|
7988
7988
|
static get style() { return sdConfirmModalCss(); }
|
|
7989
7989
|
static get cmpMeta() { return {
|
|
@@ -8209,9 +8209,9 @@ class SdDatePicker {
|
|
|
8209
8209
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
8210
8210
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
8211
8211
|
};
|
|
8212
|
-
return (hAsync("sd-field", { key: '
|
|
8212
|
+
return (hAsync("sd-field", { key: '12d77a181caa4a6a9125db8a5c823149386ee059', 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, 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: '2abc775817955caf06dd721d7b91c65d1bfd54de', class: "sd-date-picker", ref: el => {
|
|
8213
8213
|
this.triggerRef = el;
|
|
8214
|
-
} }, hAsync("sd-date-picker-trigger", { key: '
|
|
8214
|
+
} }, hAsync("sd-date-picker-trigger", { key: 'c8c041a503785e35ac4a14d902eeef0a20fa2dd7', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: '2c3bf831068ca090247fa4494fac6c2ce3b20e81', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, hAsync("sd-calendar", { key: '52df44d23b85540cbca17c352aba5568ff43685d', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
8215
8215
|
}
|
|
8216
8216
|
static get watchers() { return {
|
|
8217
8217
|
"isOpen": [{
|
|
@@ -8294,7 +8294,7 @@ class SdDatePickerTrigger {
|
|
|
8294
8294
|
? DATEPICKER_COLORS.icon.disabled
|
|
8295
8295
|
: DATEPICKER_COLORS.icon.default,
|
|
8296
8296
|
};
|
|
8297
|
-
return (hAsync("div", { key: '
|
|
8297
|
+
return (hAsync("div", { key: '8a41444172b2d9aa54fa6efe09c4440705d55e06', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
8298
8298
|
'sd-date-picker-trigger': true,
|
|
8299
8299
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
8300
8300
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -8302,7 +8302,7 @@ class SdDatePickerTrigger {
|
|
|
8302
8302
|
e.preventDefault();
|
|
8303
8303
|
this.handleClick();
|
|
8304
8304
|
}
|
|
8305
|
-
} }, hAsync("sd-icon", { key: '
|
|
8305
|
+
} }, hAsync("sd-icon", { key: '74613a1b65814a1f73d00c67d7c1f01019961511', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), hAsync("span", { key: '118733548ddee2bc20ccdc92785ada3bbc765303', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
8306
8306
|
}
|
|
8307
8307
|
static get style() { return sdDatePickerTriggerCss(); }
|
|
8308
8308
|
static get cmpMeta() { return {
|
|
@@ -8722,7 +8722,7 @@ class SdDateRangePickerCalendar {
|
|
|
8722
8722
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
8723
8723
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
8724
8724
|
};
|
|
8725
|
-
return (hAsync(Fragment, { key: '
|
|
8725
|
+
return (hAsync(Fragment, { key: 'a9e5bc8198cfda50227069661812341e7a19b21d' }, hAsync("div", { key: 'a2c5bf6ae806fc24f421cb6b52323f4e92bfc255', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), hAsync("div", { key: '2575175fa3537e010e1c7d573428d5c8ebfae488', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), hAsync("span", { key: 'bd43ac98b88665dbe85804c8b6345c19dca7d9fa', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
8726
8726
|
}
|
|
8727
8727
|
static get watchers() { return {
|
|
8728
8728
|
"value": [{
|
|
@@ -8765,7 +8765,7 @@ class SdDivider {
|
|
|
8765
8765
|
const hostStyle = {
|
|
8766
8766
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
8767
8767
|
};
|
|
8768
|
-
return (hAsync(Host, { key: '
|
|
8768
|
+
return (hAsync(Host, { key: '92e9f5ef8d6d382e1e2a62f3421feaf1bc27aab7', style: hostStyle }, hAsync("hr", { key: '40827e6308a258e6de4a438c53d4de9465a6d0a1', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
8769
8769
|
}
|
|
8770
8770
|
static get style() { return sdDividerCss(); }
|
|
8771
8771
|
static get cmpMeta() { return {
|
|
@@ -9426,21 +9426,21 @@ class SdField {
|
|
|
9426
9426
|
: {}),
|
|
9427
9427
|
}
|
|
9428
9428
|
: {};
|
|
9429
|
-
return (hAsync("div", { key: '
|
|
9429
|
+
return (hAsync("div", { key: 'c6d4bc9d09982d65c31596319569590df9b994b1', class: {
|
|
9430
9430
|
'sd-field': true,
|
|
9431
9431
|
'sd-field--has-label': this.label !== '',
|
|
9432
9432
|
'sd-field--has-addon': addon !== '',
|
|
9433
9433
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
9434
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, hAsync("div", { key: '
|
|
9434
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, hAsync("div", { key: '24f3e7702b3d3be42f8236988e1d64e26a31840e', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: '7c45edce014adee7e2eb91296779896d9fd9fcc3', class: "sd-field__main", style: this.width !== '' && this.width !== 0
|
|
9435
9435
|
? {
|
|
9436
9436
|
width: typeof this.width === 'number' ? `${this.width}px` : this.width,
|
|
9437
9437
|
flex: 'none',
|
|
9438
9438
|
}
|
|
9439
|
-
: {} }, hAsync("div", { key: '
|
|
9439
|
+
: {} }, hAsync("div", { key: '13c99702bf11e4ff76332141a9eaff93185882d3', class: {
|
|
9440
9440
|
'sd-field__control': true,
|
|
9441
9441
|
'sd-field__control--has-addon': addon !== '',
|
|
9442
|
-
} }, addon && (hAsync("div", { key: '
|
|
9443
|
-
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: '
|
|
9442
|
+
} }, addon && (hAsync("div", { key: '461170360e26e24051fab4507a22e932f5a37244', class: "sd-field__addon" }, this.icon && (hAsync("sd-icon", { key: 'c8b63273a253da7911e5d8a6f57143a9cc909853', name: this.icon.name, size: this.icon.size ??
|
|
9443
|
+
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: '3c4a72a6152c50d525df972a2a4c4d6840240116' })), 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))))));
|
|
9444
9444
|
}
|
|
9445
9445
|
renderLabel(label) {
|
|
9446
9446
|
if (label == null || label === '')
|
|
@@ -9954,7 +9954,7 @@ class SdFloatingPopover {
|
|
|
9954
9954
|
}
|
|
9955
9955
|
}
|
|
9956
9956
|
render() {
|
|
9957
|
-
return hAsync("slot", { key: '
|
|
9957
|
+
return hAsync("slot", { key: 'df97046860db0225724f9768428063a3390c5f6e' });
|
|
9958
9958
|
}
|
|
9959
9959
|
static get style() { return sdFloatingPortalCss(); }
|
|
9960
9960
|
static get cmpMeta() { return {
|
|
@@ -10229,7 +10229,7 @@ class SdGhostButton {
|
|
|
10229
10229
|
? GHOST_BUTTON_DISABLED_COLORS[intent]
|
|
10230
10230
|
: GHOST_BUTTON_CONTENT_COLORS[intent];
|
|
10231
10231
|
const accessibleName = (this.ariaLabel ?? '').trim() || undefined;
|
|
10232
|
-
return (hAsync("button", { key: '
|
|
10232
|
+
return (hAsync("button", { key: '7bf9f8b8d487be0b66a969668308fd451faeb442', class: {
|
|
10233
10233
|
'sd-ghost-button': true,
|
|
10234
10234
|
'sd-ghost-button--disabled': this.disabled,
|
|
10235
10235
|
}, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
@@ -10238,7 +10238,7 @@ class SdGhostButton {
|
|
|
10238
10238
|
'--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[intent],
|
|
10239
10239
|
'--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
|
|
10240
10240
|
'--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
|
|
10241
|
-
}, onClick: this.handleClick }, hAsync("sd-icon", { key: '
|
|
10241
|
+
}, onClick: this.handleClick }, hAsync("sd-icon", { key: '4b6b05d186f8c38d2f05415fa24960349dd6c453', name: this.icon, size: sizeConfig.icon, color: contentColor })));
|
|
10242
10242
|
}
|
|
10243
10243
|
static get style() { return sdGhostButtonCss(); }
|
|
10244
10244
|
static get cmpMeta() { return {
|
|
@@ -10441,10 +10441,10 @@ class SdGuide {
|
|
|
10441
10441
|
const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
|
|
10442
10442
|
if (isActive)
|
|
10443
10443
|
buttonClasses.push('sd-guide__button--active');
|
|
10444
|
-
return (hAsync("div", { key: 'ea4f220faf6165f7650360f74a19d9f781b81489', class: "sd-guide", style: this.guideStyle }, hAsync("sd-button", { key: 'c90eaa6cc42a9a2f20b8fc79db16697db0cf2ff2', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (hAsync("sd-portal", { key: '21f57a739141ffa36f3b799a2688ca5b3c1bd428', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: '
|
|
10444
|
+
return (hAsync("div", { key: 'ea4f220faf6165f7650360f74a19d9f781b81489', class: "sd-guide", style: this.guideStyle }, hAsync("sd-button", { key: 'c90eaa6cc42a9a2f20b8fc79db16697db0cf2ff2', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (hAsync("sd-portal", { key: '21f57a739141ffa36f3b799a2688ca5b3c1bd428', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: '94e12fa797748a02334b97e13c5012ab95bc2bce', class: "sd-guide__popup", style: {
|
|
10445
10445
|
...this.guideStyle,
|
|
10446
10446
|
width: this.popupWidth != null ? this.popupWidth + 'px' : '426px',
|
|
10447
|
-
} }, hAsync("sd-ghost-button", { key: '
|
|
10447
|
+
} }, hAsync("sd-ghost-button", { key: '6fc71032016e7a3be0581508ef0ecc6772981185', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), hAsync("div", { key: '385c0c18bc888be6a654525dc6f4359a56ad6de9', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: '34624d2ac3397ba15b2dc7ba23dc460a87cb878b', name: iconName, size: 24, color: popupIconColor }), hAsync("h3", { key: 'dd3527ec329698b0fd1ec82f2a7d0cf5865802c2', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), hAsync("ul", { key: '429357d0203acdf31177353ceb45d9ac41fadae7', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
|
|
10448
10448
|
}
|
|
10449
10449
|
// 현재 2depth까지만 스타일 적용
|
|
10450
10450
|
renderListItem(message, depth = 0) {
|
|
@@ -10945,12 +10945,12 @@ class SdInput {
|
|
|
10945
10945
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
10946
10946
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
10947
10947
|
};
|
|
10948
|
-
return (hAsync("sd-field", { key: '
|
|
10948
|
+
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 () => {
|
|
10949
10949
|
if (this.disabled || this.readonly)
|
|
10950
10950
|
return;
|
|
10951
10951
|
this.internalValue = '';
|
|
10952
10952
|
await this.formField?.sdValidate();
|
|
10953
|
-
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '
|
|
10953
|
+
} })), 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: () => {
|
|
10954
10954
|
if (this.disabled || this.readonly)
|
|
10955
10955
|
return;
|
|
10956
10956
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -11364,7 +11364,7 @@ class SdLinearProgress {
|
|
|
11364
11364
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
11365
11365
|
};
|
|
11366
11366
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
11367
|
-
return (hAsync(Host, { key: '
|
|
11367
|
+
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)));
|
|
11368
11368
|
}
|
|
11369
11369
|
static get style() { return sdLinearProgressCss(); }
|
|
11370
11370
|
static get cmpMeta() { return {
|
|
@@ -11398,10 +11398,10 @@ class SdLoadingContainer {
|
|
|
11398
11398
|
this.visible = false;
|
|
11399
11399
|
}
|
|
11400
11400
|
render() {
|
|
11401
|
-
return (hAsync("div", { key: '
|
|
11401
|
+
return (hAsync("div", { key: '99c6d9e798862f41142f246f371a357cd604aa44', class: {
|
|
11402
11402
|
'sd-loading-container': true,
|
|
11403
11403
|
'sd-loading-container--visible': this.visible,
|
|
11404
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '
|
|
11404
|
+
}, "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)))));
|
|
11405
11405
|
}
|
|
11406
11406
|
static get style() { return sdLoadingContainerCss(); }
|
|
11407
11407
|
static get cmpMeta() { return {
|
|
@@ -11498,7 +11498,7 @@ class SdLoadingModal {
|
|
|
11498
11498
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
11499
11499
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
11500
11500
|
};
|
|
11501
|
-
return (hAsync(Host, { key: '
|
|
11501
|
+
return (hAsync(Host, { key: 'e1161a16a56cddedc8e4bb76370bdf456d90e15a', style: hostStyle }, hAsync("div", { key: 'e01979e4636465afa4b960ffdb9722f645386dca', class: "sd-loading-modal" }, hAsync("div", { key: '1c1ecc05d20f58084c0d6f8048b17cd84f446edb', 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: '6793b86562b67699c59fd83fb0d6ee7378f6d991', 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: '75036f7d88be636987de2fe999c00d338fa352d5', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: '91f30470702df2be7256d451cc80d27e86510d2e', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
11502
11502
|
}
|
|
11503
11503
|
static get style() { return sdLoadingModalCss(); }
|
|
11504
11504
|
static get cmpMeta() { return {
|
|
@@ -12296,15 +12296,15 @@ class SdNumberInput {
|
|
|
12296
12296
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
12297
12297
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
12298
12298
|
};
|
|
12299
|
-
return (hAsync("sd-field", { key: '
|
|
12299
|
+
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: {
|
|
12300
12300
|
'sd-number-input__content': true,
|
|
12301
12301
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
12302
|
-
} }, this.useButton && (hAsync("button", { key: '
|
|
12302
|
+
} }, 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()
|
|
12303
12303
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
12304
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '
|
|
12304
|
+
: 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: {
|
|
12305
12305
|
textAlign: this.useButton ? 'center' : 'right',
|
|
12306
12306
|
...this.inputStyle,
|
|
12307
|
-
} }), this.inputSuffix && hAsync("span", { key: '
|
|
12307
|
+
} }), 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()
|
|
12308
12308
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
12309
12309
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
12310
12310
|
}
|
|
@@ -12514,13 +12514,13 @@ class SdPagination {
|
|
|
12514
12514
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
12515
12515
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
12516
12516
|
};
|
|
12517
|
-
return (hAsync("div", { key: '
|
|
12517
|
+
return (hAsync("div", { key: '36a334a05ade253a6345e82d57647a4bab0c94cf', class: {
|
|
12518
12518
|
'sd-pagination': true,
|
|
12519
12519
|
'sd-pagination--simple': this.simple,
|
|
12520
|
-
}, style: cssVars }, hAsync("div", { key: '
|
|
12520
|
+
}, 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: {
|
|
12521
12521
|
'sd-pagination__item': true,
|
|
12522
12522
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
12523
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: '
|
|
12523
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: 'a0d0b565cd2b5108c997888b2536ee740b167367', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
12524
12524
|
}
|
|
12525
12525
|
static get style() { return sdPaginationCss(); }
|
|
12526
12526
|
static get cmpMeta() { return {
|
|
@@ -12603,17 +12603,17 @@ class SdPopover {
|
|
|
12603
12603
|
const leftLink = this.leftLink;
|
|
12604
12604
|
const button = this.button;
|
|
12605
12605
|
const hasFooter = !!leftLink || !!button;
|
|
12606
|
-
return (hAsync(Fragment, { key: '
|
|
12606
|
+
return (hAsync(Fragment, { key: 'f0b7cc015ab688e21d6df2a797c3964808965934' }, 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: '3b8ad8010a7d74fb519f0ad9ff504c0c0fa32941', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, hAsync("div", { key: '8fba73c8cf2718258a176dac2033fb3b33a8a618', class: {
|
|
12607
12607
|
'sd-floating-menu': true,
|
|
12608
12608
|
'sd-floating-menu--popover': true,
|
|
12609
12609
|
[`sd-floating-menu--${placement}`]: true,
|
|
12610
12610
|
[menuClass]: menuClass !== '',
|
|
12611
12611
|
}, style: {
|
|
12612
12612
|
'--sd-floating-bg': popoverTokens.popover.bg,
|
|
12613
|
-
} }, hAsync("i", { key: '
|
|
12613
|
+
} }, hAsync("i", { key: '1cef252c66b1c350ea43849e552faced5a53fec0', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: '755246fe5fbf9b203509f8d45d2bcbeead0c02c6' })), hAsync("div", { key: 'cbefa421598f83f692533d4abf8cfc584b4e02e1', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: '0f1dfbaf65236416ba00e5f87cb60e2e98971995', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (hAsync("div", { key: '38ef67a38921e3fbd1e8bee95892655fc57d124c', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (hAsync("div", { key: '6b3f297563e3b7aa17ace0e20c4423d09b528b32', class: {
|
|
12614
12614
|
'sd-floating-menu__buttons': true,
|
|
12615
12615
|
'sd-floating-menu__buttons--with-link': !!leftLink,
|
|
12616
|
-
} }, leftLink && (hAsync("sd-text-link", { key: '
|
|
12616
|
+
} }, leftLink && (hAsync("sd-text-link", { key: '6ff83b0aefa24ac3bbae7f1399fdaaa1028b4e75', 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: 'b8b75cd68c55b16b5eb0e4635c16b784381ced78', 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: '246ab053d1109d7b999e63c3aa5a1048d6096583', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
|
|
12617
12617
|
}
|
|
12618
12618
|
static get style() { return sdPopoverCss(); }
|
|
12619
12619
|
static get cmpMeta() { return {
|
|
@@ -12745,7 +12745,7 @@ class SdPopup {
|
|
|
12745
12745
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
12746
12746
|
...this.submitButtonProps,
|
|
12747
12747
|
};
|
|
12748
|
-
return (hAsync("div", { key: '
|
|
12748
|
+
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() })))));
|
|
12749
12749
|
}
|
|
12750
12750
|
static get style() { return sdPopupCss(); }
|
|
12751
12751
|
static get cmpMeta() { return {
|
|
@@ -12988,7 +12988,7 @@ class SdPortal {
|
|
|
12988
12988
|
this.close.emit();
|
|
12989
12989
|
}
|
|
12990
12990
|
render() {
|
|
12991
|
-
return hAsync("slot", { key: '
|
|
12991
|
+
return hAsync("slot", { key: '87fb9bf3f15d09321c6c02a1f7b4ed9084516a04' });
|
|
12992
12992
|
}
|
|
12993
12993
|
static get watchers() { return {
|
|
12994
12994
|
"open": [{
|
|
@@ -13128,7 +13128,7 @@ class SdRadio {
|
|
|
13128
13128
|
'--sd-radio-disabled-dot': RADIO_COLORS.disabled.dot,
|
|
13129
13129
|
'--sd-radio-label-color': RADIO_COLORS.label,
|
|
13130
13130
|
};
|
|
13131
|
-
return (hAsync("label", { key: '
|
|
13131
|
+
return (hAsync("label", { key: '68f1b169f2a7b072a92a64286fa88eff99313faf', class: this.radioClasses, style: cssVars, "aria-checked": this.isSelected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }, hAsync("input", { key: 'fa2474cc359ef4f5480a68d9b5d0b6f151e7eec8', type: "radio", name: String(this.val), value: String(this.val), checked: this.isSelected, disabled: this.disabled, "aria-label": this.label || String(this.val), onInput: this.handleRadioChange }), hAsync("span", { key: '345f286e2f87e5dd0687fb94a59f6886eac25f24', class: "sd-radio__circle" }), this.label && hAsync("span", { key: 'e8bd76682569820121c9469984f0054386d9b117', class: "sd-radio__label" }, this.label)));
|
|
13132
13132
|
}
|
|
13133
13133
|
static get watchers() { return {
|
|
13134
13134
|
"value": [{
|
|
@@ -13327,7 +13327,7 @@ class SdRadioButton {
|
|
|
13327
13327
|
'--sd-radio-button-content-select': RADIO_BUTTON_COLORS.content.select,
|
|
13328
13328
|
'--sd-radio-button-content-disabled': RADIO_BUTTON_COLORS.content.disabled,
|
|
13329
13329
|
};
|
|
13330
|
-
return (hAsync("div", { key: '
|
|
13330
|
+
return (hAsync("div", { key: 'b916d790862409f8b8e1da566f049daadfc4e5e2', class: this.getGroupClasses(), style: cssVars, role: "radiogroup", "aria-disabled": this.disabled.toString() }, this.options.map(option => {
|
|
13331
13331
|
const isSelected = this.isOptionSelected(option);
|
|
13332
13332
|
const isDisabled = this.isOptionDisabled(option);
|
|
13333
13333
|
return (hAsync("label", { key: `radio-${option.value}`, class: this.getButtonClasses(option), "aria-label": option.label || 'radio option', "data-label": option.label }, hAsync("input", { type: "radio", name: this.groupName, value: option.value.toString(), checked: isSelected, disabled: isDisabled, onInput: () => this.handleRadioChange(option.value, option.disabled) }), option.label && hAsync("span", { class: "sd-radio-button__label" }, option.label)));
|
|
@@ -13379,7 +13379,7 @@ class SdRadioGroup {
|
|
|
13379
13379
|
return classes.join(' ');
|
|
13380
13380
|
}
|
|
13381
13381
|
render() {
|
|
13382
|
-
return (hAsync("div", { key: '
|
|
13382
|
+
return (hAsync("div", { key: 'd60a7fed2bbe1cd2d577827b10c99627aabbda66', class: this.getGroupClasses(), role: "radiogroup" }, this.options.map(option => {
|
|
13383
13383
|
return (hAsync("sd-radio", { key: `radio-${option.value}`, val: String(option.value), value: String(this.value), label: option.label, disabled: this.disabled || !!option.disabled, onSdUpdate: ({ detail }) => this.handleRadioChange(detail) }));
|
|
13384
13384
|
})));
|
|
13385
13385
|
}
|
|
@@ -13666,15 +13666,15 @@ class SdSelect {
|
|
|
13666
13666
|
this.closeDropdown();
|
|
13667
13667
|
},
|
|
13668
13668
|
};
|
|
13669
|
-
return (hAsync("sd-field", { key: '
|
|
13669
|
+
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: () => {
|
|
13670
13670
|
this.hovered = true;
|
|
13671
13671
|
}, onMouseLeave: () => {
|
|
13672
13672
|
this.hovered = false;
|
|
13673
|
-
} }, hAsync("div", { key: '
|
|
13673
|
+
} }, hAsync("div", { key: 'be596d399856ed966408ba1525fea9dbdf8fcc7e', class: "sd-select", ref: el => {
|
|
13674
13674
|
this.triggerRef = el;
|
|
13675
|
-
} }, hAsync("sd-select-trigger", { key: '
|
|
13675
|
+
} }, hAsync("sd-select-trigger", { key: 'f8a29b1ac2469c60af8c7101d05157674566f00f', ref: el => {
|
|
13676
13676
|
this.triggerComponentRef = el;
|
|
13677
|
-
}, 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: '
|
|
13677
|
+
}, 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) })))));
|
|
13678
13678
|
}
|
|
13679
13679
|
static get watchers() { return {
|
|
13680
13680
|
"isOpen": [{
|
|
@@ -13966,7 +13966,7 @@ class SdSelectListItem {
|
|
|
13966
13966
|
return (
|
|
13967
13967
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
13968
13968
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
13969
|
-
hAsync("div", { key: '
|
|
13969
|
+
hAsync("div", { key: '33f5d4383d2bfac91507d72d98b8a73b380a70e8', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
13970
13970
|
'sd-select-list-item': true,
|
|
13971
13971
|
'sd-select-list-item--group': isGroup,
|
|
13972
13972
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -13976,7 +13976,7 @@ class SdSelectListItem {
|
|
|
13976
13976
|
'sd-select-list-item--focused': this.isFocused,
|
|
13977
13977
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
13978
13978
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
13979
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '
|
|
13979
|
+
}, 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, ")"))));
|
|
13980
13980
|
}
|
|
13981
13981
|
static get style() { return sdSelectListItemCss(); }
|
|
13982
13982
|
static get cmpMeta() { return {
|
|
@@ -14044,15 +14044,15 @@ class SdSelectListItemSearch {
|
|
|
14044
14044
|
clearTimeout(this.debounceTimer);
|
|
14045
14045
|
}
|
|
14046
14046
|
render() {
|
|
14047
|
-
return (hAsync("div", { key: '
|
|
14047
|
+
return (hAsync("div", { key: '8c0c85ac9c382e2978e32924c33a580a4fac3485', class: {
|
|
14048
14048
|
'sd-select-list-item-search': true,
|
|
14049
14049
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
14050
|
-
} }, hAsync("div", { key: '
|
|
14050
|
+
} }, 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 => {
|
|
14051
14051
|
this.inputEl = el;
|
|
14052
|
-
}, 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: '
|
|
14052
|
+
}, 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: {
|
|
14053
14053
|
'sd-select-list-item-search__clear': true,
|
|
14054
14054
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
14055
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '
|
|
14055
|
+
}, 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" })))));
|
|
14056
14056
|
}
|
|
14057
14057
|
static get style() { return sdSelectListItemSearchCss(); }
|
|
14058
14058
|
static get cmpMeta() { return {
|
|
@@ -14423,9 +14423,9 @@ class SdSelectListbox {
|
|
|
14423
14423
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
14424
14424
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
14425
14425
|
};
|
|
14426
|
-
return (hAsync("div", { key: '
|
|
14426
|
+
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 => {
|
|
14427
14427
|
this.listEl = el;
|
|
14428
|
-
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '
|
|
14428
|
+
} }, 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) })))))));
|
|
14429
14429
|
}
|
|
14430
14430
|
static get watchers() { return {
|
|
14431
14431
|
"searchKeyword": [{
|
|
@@ -14506,7 +14506,7 @@ class SdSelectTrigger {
|
|
|
14506
14506
|
? SELECT_COLORS.icon.disabled
|
|
14507
14507
|
: SELECT_COLORS.icon.default,
|
|
14508
14508
|
};
|
|
14509
|
-
return (hAsync("div", { key: '
|
|
14509
|
+
return (hAsync("div", { key: '3a97ed909e3088528714682050a3986081e19433', ref: el => {
|
|
14510
14510
|
this.triggerEl = el;
|
|
14511
14511
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
14512
14512
|
'sd-select-trigger': true,
|
|
@@ -14517,7 +14517,7 @@ class SdSelectTrigger {
|
|
|
14517
14517
|
e.preventDefault();
|
|
14518
14518
|
this.handleClick();
|
|
14519
14519
|
}
|
|
14520
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '
|
|
14520
|
+
}, 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: {
|
|
14521
14521
|
'sd-select-trigger__icon': true,
|
|
14522
14522
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
14523
14523
|
} }))));
|
|
@@ -14639,7 +14639,7 @@ class SdSwitch {
|
|
|
14639
14639
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
14640
14640
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
14641
14641
|
};
|
|
14642
|
-
return (hAsync("label", { key: '
|
|
14642
|
+
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)));
|
|
14643
14643
|
}
|
|
14644
14644
|
static get style() { return sdSwitchCss(); }
|
|
14645
14645
|
static get cmpMeta() { return {
|
|
@@ -15569,25 +15569,25 @@ class SdTable {
|
|
|
15569
15569
|
'--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
|
|
15570
15570
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
15571
15571
|
};
|
|
15572
|
-
return (hAsync(Host, { key: '
|
|
15572
|
+
return (hAsync(Host, { key: '4596e04bd57aca00fa6378fd26ce33a06a795eaf', style: hostStyle }, hAsync("div", { key: '11a20d327410b0be659cede32917164e036e796c', class: "sd-table__container", style: {
|
|
15573
15573
|
'--table-width': this.width,
|
|
15574
15574
|
'--table-height': effectiveTableHeight,
|
|
15575
15575
|
'--table-container-height': `calc(${effectiveTableHeight} - ${paginationHeight}px)`,
|
|
15576
|
-
} }, hAsync("div", { key: '
|
|
15576
|
+
} }, hAsync("div", { key: 'f4f3acf584dc4eacdae25b11aa2b62b73ffab949', class: {
|
|
15577
15577
|
'sd-table__wrapper': true,
|
|
15578
15578
|
'sd-table__wrapper--use-top': this.useTop,
|
|
15579
|
-
} }, hAsync("div", { key: '
|
|
15579
|
+
} }, hAsync("div", { key: 'c8ab618b9c990a22b8e9466a5bfb5f02f4de8b12', class: {
|
|
15580
15580
|
'sd-table__scroll-container': true,
|
|
15581
15581
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
15582
15582
|
'sd-table__scroll-container--no-data': isNoData,
|
|
15583
|
-
} }, this.isLoading && (hAsync("div", { key: '
|
|
15583
|
+
} }, 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 => {
|
|
15584
15584
|
this.noDataContentEl = el;
|
|
15585
15585
|
if (el)
|
|
15586
15586
|
this.syncNoDataContentObserver();
|
|
15587
|
-
} }, hAsync("slot", { key: '
|
|
15587
|
+
} }, 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 &&
|
|
15588
15588
|
this.pagination.rowsPerPage > 0 &&
|
|
15589
15589
|
this.rowCount > 0 &&
|
|
15590
|
-
!this.useVirtualScroll && (hAsync("div", { key: '
|
|
15590
|
+
!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
|
|
15591
15591
|
? this.innerRowsPerPage
|
|
15592
15592
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
15593
15593
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -15879,7 +15879,7 @@ class SdTabs {
|
|
|
15879
15879
|
};
|
|
15880
15880
|
}
|
|
15881
15881
|
render() {
|
|
15882
|
-
return (hAsync("div", { key: '
|
|
15882
|
+
return (hAsync("div", { key: '92384577bf4ce85de90ae05a32e44715e595fe16', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
15883
15883
|
const badgeName = this.getBadgeName(tab);
|
|
15884
15884
|
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 => {
|
|
15885
15885
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -16117,7 +16117,7 @@ class SdTag {
|
|
|
16117
16117
|
render() {
|
|
16118
16118
|
const config = this.resolvedConfig;
|
|
16119
16119
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
16120
|
-
return (hAsync("span", { key: '
|
|
16120
|
+
return (hAsync("span", { key: '945a8a13f4891b5174e48e262b2a108674da7198', class: "sd-tag", style: {
|
|
16121
16121
|
'--sd-tag-background': config.background,
|
|
16122
16122
|
'--sd-tag-content': config.content,
|
|
16123
16123
|
'--sd-tag-height': config.height,
|
|
@@ -16127,7 +16127,7 @@ class SdTag {
|
|
|
16127
16127
|
'--sd-tag-font-weight': config.fontWeight,
|
|
16128
16128
|
'--sd-tag-line-height': config.lineHeight,
|
|
16129
16129
|
'--sd-tag-radius': config.radius,
|
|
16130
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '
|
|
16130
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '441932c2eb85eea471838db541fb95302527df23', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
16131
16131
|
}
|
|
16132
16132
|
static get style() { return sdTagCss(); }
|
|
16133
16133
|
static get cmpMeta() { return {
|
|
@@ -16195,9 +16195,9 @@ class SdTbody {
|
|
|
16195
16195
|
}
|
|
16196
16196
|
}
|
|
16197
16197
|
render() {
|
|
16198
|
-
return (hAsync(Host, { key: '
|
|
16198
|
+
return (hAsync(Host, { key: 'cee6094ac768af309c39500cb337d8516de6aabe', slot: `${this.tableId}-body` }, hAsync("tbody", { key: '50d46c6b102900b18a96c1e345afb4185e59e0ae', class: { tbody: true } }, [
|
|
16199
16199
|
this.topSpacerHeight > 0 && (hAsync("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
16200
|
-
hAsync("slot", { key: '
|
|
16200
|
+
hAsync("slot", { key: 'd4f8057c143b2f91146831fac2b4ba1162d36aeb' }),
|
|
16201
16201
|
this.bottomSpacerHeight > 0 && (hAsync("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
16202
16202
|
])));
|
|
16203
16203
|
}
|
|
@@ -16372,7 +16372,7 @@ class SdTd {
|
|
|
16372
16372
|
}
|
|
16373
16373
|
}
|
|
16374
16374
|
render() {
|
|
16375
|
-
return (hAsync(Host, { key: '
|
|
16375
|
+
return (hAsync(Host, { key: '1d7123e1f35cfb513a1fa89b4d60f8dde7715a2f', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: 'f7b9266106a6df93e2101ca9a324035960281a6f' })));
|
|
16376
16376
|
}
|
|
16377
16377
|
static get watchers() { return {
|
|
16378
16378
|
"field": [{
|
|
@@ -16495,7 +16495,7 @@ class SdTextLink {
|
|
|
16495
16495
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
16496
16496
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
16497
16497
|
};
|
|
16498
|
-
return (hAsync("span", { key: '
|
|
16498
|
+
return (hAsync("span", { key: '23ddcce86220acc4e6c8a585e4240ecb7baee9f8', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
16499
16499
|
'sd-text-link': true,
|
|
16500
16500
|
'sd-text-link--disabled': this.disabled,
|
|
16501
16501
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -16503,13 +16503,13 @@ class SdTextLink {
|
|
|
16503
16503
|
e.preventDefault();
|
|
16504
16504
|
this.handleClick();
|
|
16505
16505
|
}
|
|
16506
|
-
} }, this.icon && (hAsync("sd-icon", { key: '
|
|
16506
|
+
} }, this.icon && (hAsync("sd-icon", { key: 'd265458a74db086efa270fd165fa5fa9855b708b', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), hAsync("span", { key: '9cb7e5909036aea5b70496fbe5ca69ce10ab3035', class: labelClassName }, this.label), this.useArrow && (hAsync("span", { key: '5ebe27c5929095d1799d81e930b2efa8d616f5bd', class: "sd-text-link__arrow", style: {
|
|
16507
16507
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
16508
16508
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
16509
16509
|
display: 'inline-flex',
|
|
16510
16510
|
alignItems: 'center',
|
|
16511
16511
|
justifyContent: 'center',
|
|
16512
|
-
} }, hAsync("sd-icon", { key: '
|
|
16512
|
+
} }, hAsync("sd-icon", { key: '5fc735391386ac733b77bfac6947cccc61fad198', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
16513
16513
|
}
|
|
16514
16514
|
static get style() { return sdTextLinkCss(); }
|
|
16515
16515
|
static get cmpMeta() { return {
|
|
@@ -16656,7 +16656,7 @@ class SdTextarea {
|
|
|
16656
16656
|
'--sd-system-size-field-sm-height': 'auto',
|
|
16657
16657
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
16658
16658
|
};
|
|
16659
|
-
return (hAsync("sd-field", { key: '
|
|
16659
|
+
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 }))));
|
|
16660
16660
|
}
|
|
16661
16661
|
static get watchers() { return {
|
|
16662
16662
|
"value": [{
|
|
@@ -16873,16 +16873,16 @@ class SdThead {
|
|
|
16873
16873
|
'--table-border-color': TABLE_BORDER.color,
|
|
16874
16874
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
16875
16875
|
};
|
|
16876
|
-
return (hAsync(Host, { key: '
|
|
16876
|
+
return (hAsync(Host, { key: '2b949f43561a2cd36b82de324d3d8c0d8a1d8431', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: '45918bfb1dc44bb0f45a0f1646bf2276b1ca74ec', class: {
|
|
16877
16877
|
'thead': true,
|
|
16878
16878
|
'thead--sticky': this._stickyHeader,
|
|
16879
|
-
} }, hAsync("tr", { key: '
|
|
16879
|
+
} }, hAsync("tr", { key: '3802f86a730041ca405071b243a99c28e04558d2', class: "tr" }, this._selectable && (hAsync("th", { key: 'd60e1323fca90516f38cedfa6fc8bf17840fad5d', class: {
|
|
16880
16880
|
'th': true,
|
|
16881
16881
|
'th--selected': true,
|
|
16882
16882
|
'sticky-left': true,
|
|
16883
16883
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
16884
16884
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
16885
|
-
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '
|
|
16885
|
+
}, 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: {
|
|
16886
16886
|
'th': true,
|
|
16887
16887
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
16888
16888
|
'sticky-left': true,
|
|
@@ -17033,12 +17033,12 @@ class SdToast {
|
|
|
17033
17033
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
17034
17034
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
17035
17035
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
17036
|
-
return (hAsync("div", { key: '
|
|
17036
|
+
return (hAsync("div", { key: '735fa3f949ee4c7d0178f999c02e90c829c133b4', style: {
|
|
17037
17037
|
'--sd-toast-bg': typeConfig.bg,
|
|
17038
17038
|
'--sd-toast-text': typeConfig.content,
|
|
17039
17039
|
'--sd-toast-icon': iconColor,
|
|
17040
17040
|
'--sd-toast-link': linkColor,
|
|
17041
|
-
} }, hAsync("div", { key: '
|
|
17041
|
+
} }, 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() })))));
|
|
17042
17042
|
}
|
|
17043
17043
|
static get style() { return sdToastCss(); }
|
|
17044
17044
|
static get cmpMeta() { return {
|
|
@@ -17291,7 +17291,7 @@ class SdToastContainer {
|
|
|
17291
17291
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
17292
17292
|
const indexMap = new Map();
|
|
17293
17293
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
17294
|
-
return (hAsync("div", { key: '
|
|
17294
|
+
return (hAsync("div", { key: '1de55d255b75842f52e3f0a147a69493ed1a7de5', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
17295
17295
|
this.expanded = true;
|
|
17296
17296
|
this.pauseTimers();
|
|
17297
17297
|
}, onMouseLeave: () => {
|
|
@@ -17449,7 +17449,7 @@ class SdToggle {
|
|
|
17449
17449
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
17450
17450
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
17451
17451
|
};
|
|
17452
|
-
return (hAsync("label", { key: '
|
|
17452
|
+
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 })));
|
|
17453
17453
|
}
|
|
17454
17454
|
static get style() { return sdToggleCss(); }
|
|
17455
17455
|
static get cmpMeta() { return {
|
|
@@ -17579,14 +17579,14 @@ class SdTooltip {
|
|
|
17579
17579
|
const hasLabel = this.label !== undefined && this.label !== '';
|
|
17580
17580
|
const divTrigger = trigger === 'hover' ? hoverTrigger : hasLabel ? {} : { onClick: toggleTooltip };
|
|
17581
17581
|
const buttonClickTrigger = trigger === 'click' && hasLabel ? { onSdClick: toggleTooltip } : {};
|
|
17582
|
-
return (hAsync(Fragment, { key: '
|
|
17582
|
+
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: {
|
|
17583
17583
|
'sd-floating-menu': true,
|
|
17584
17584
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
17585
17585
|
[`sd-floating-menu--${placement}`]: true,
|
|
17586
17586
|
}, style: {
|
|
17587
17587
|
'--sd-floating-bg': typeConfig.bg,
|
|
17588
17588
|
'--sd-floating-content': typeConfig.content,
|
|
17589
|
-
}, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, hAsync("i", { key: '
|
|
17589
|
+
}, 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 }))))));
|
|
17590
17590
|
}
|
|
17591
17591
|
static get style() { return sdTooltipCss(); }
|
|
17592
17592
|
static get cmpMeta() { return {
|