@sellmate/design-system 1.25.1 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +9 -9
- 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 +7 -7
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +11 -3
- 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-popup.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-td.cjs.entry.js +1 -1
- 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-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 +4 -4
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- 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-popup/sd-popup.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.css +2 -1
- package/dist/collection/components/sd-tag/sd-tag.js +31 -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-I-9rJnxk.js → p-0UeArSzN.js} +1 -1
- package/dist/components/{p-BW-I-6Id.js → p-1kjTqHez.js} +1 -1
- package/dist/components/{p-BlN03Cqm.js → p-B4ua22vZ.js} +1 -1
- package/dist/components/{p-CqivNcjh.js → p-BAIi5T00.js} +1 -1
- package/dist/components/{p-Dny4KukK.js → p-BCLDTSO0.js} +1 -1
- package/dist/components/{p-PMD-Col0.js → p-BGIwu6m1.js} +1 -1
- package/dist/components/{p-DMvWCQfX.js → p-BOrdn-Js.js} +1 -1
- package/dist/components/{p-B8uvCE1e.js → p-BTWV2vRX.js} +1 -1
- package/dist/components/{p-BuuIkYiY.js → p-Bv_CVYp1.js} +1 -1
- package/dist/components/{p-1fgPu1BU.js → p-BwwpMQLA.js} +1 -1
- package/dist/components/{p-0U99W-3Z.js → p-C1vqL1Kl.js} +1 -1
- package/dist/components/{p-CtNDxhxx.js → p-C7sPq8UM.js} +1 -1
- package/dist/components/p-C7sUn4qb.js +1 -0
- package/dist/components/{p-CQLezwlh.js → p-CA2sZAsI.js} +1 -1
- package/dist/components/{p-BAsjJuJJ.js → p-CFqCJx9B.js} +1 -1
- package/dist/components/{p-lGr865w2.js → p-D0Xz7CoK.js} +1 -1
- package/dist/components/{p-BzrpKueg.js → p-D15bTkjr.js} +1 -1
- package/dist/components/{p-BZUlNC0d.js → p-DPotN1QM.js} +1 -1
- package/dist/components/{p-DBw58vNP.js → p-DU2_jzh4.js} +1 -1
- package/dist/components/{p-BGpxtouI.js → p-DsGK3Aye.js} +1 -1
- package/dist/components/{p-DpYG9T3S.js → p-DznzJSU-.js} +1 -1
- package/dist/components/{p-BoH7ykYx.js → p-IBgCA-vo.js} +1 -1
- package/dist/components/{p-CNwoxvpg.js → p-JamWHNrr.js} +1 -1
- package/dist/components/{p-Dxye4-ZY.js → p-UkSGSWSA.js} +1 -1
- package/dist/components/{p-h9_f4fUW.js → p-aYmWxyum.js} +1 -1
- package/dist/components/{p-d3KpOGRC.js → p-tSYcqBKN.js} +1 -1
- package/dist/components/{p-DbbdfMAF.js → p-zGr4He38.js} +1 -1
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-chip-input.js +1 -1
- package/dist/components/sd-chip.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-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-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-9ea2fbec.entry.js → p-065cd2f4.entry.js} +1 -1
- package/dist/design-system/p-28e1cf94.entry.js +1 -0
- package/dist/design-system/{p-cb63d4cf.entry.js → p-2c704047.entry.js} +1 -1
- package/dist/design-system/{p-43d521c4.entry.js → p-4d747082.entry.js} +1 -1
- package/dist/design-system/{p-74e605c0.entry.js → p-4deb11d8.entry.js} +1 -1
- package/dist/design-system/{p-84b415d7.entry.js → p-681f8612.entry.js} +1 -1
- package/dist/design-system/{p-9afc1f7c.entry.js → p-79d85b32.entry.js} +1 -1
- package/dist/design-system/{p-8862e3e3.entry.js → p-7c22de74.entry.js} +1 -1
- package/dist/design-system/{p-3b71d1d4.entry.js → p-8b4d246f.entry.js} +1 -1
- package/dist/design-system/{p-b4df75b9.entry.js → p-8da06c09.entry.js} +1 -1
- package/dist/design-system/{p-5a67c40d.entry.js → p-940de4ba.entry.js} +1 -1
- package/dist/design-system/{p-a1438f7d.entry.js → p-9c3f7c57.entry.js} +1 -1
- package/dist/design-system/{p-a8d69ab2.entry.js → p-a992c64b.entry.js} +1 -1
- package/dist/design-system/{p-21d8f192.entry.js → p-b127ac21.entry.js} +1 -1
- package/dist/design-system/{p-6f77fc76.entry.js → p-ba10c791.entry.js} +1 -1
- package/dist/design-system/{p-f1e0ba30.entry.js → p-bd700588.entry.js} +1 -1
- package/dist/design-system/p-c3b032a1.entry.js +1 -0
- package/dist/design-system/{p-6b20c76b.entry.js → p-d8bebc8e.entry.js} +1 -1
- package/dist/design-system/{p-a505459f.entry.js → p-dca19618.entry.js} +1 -1
- package/dist/design-system/{p-c0198e3a.entry.js → p-e45e6e56.entry.js} +1 -1
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-calendar_2.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +9 -9
- 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 +7 -7
- package/dist/esm/sd-ghost-button_3.entry.js +12 -4
- 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-popup.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-td.entry.js +1 -1
- 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/dist/types/components/sd-tag/sd-tag.d.ts +3 -0
- package/dist/types/components.d.ts +11 -0
- package/hydrate/index.js +73 -64
- package/hydrate/index.mjs +73 -64
- package/package.json +1 -1
- package/dist/components/p-D8T1XeGP.js +0 -1
- package/dist/design-system/p-0d5d2723.entry.js +0 -1
- package/dist/design-system/p-ad822c82.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -9222,9 +9222,9 @@ class SdDatePicker {
|
|
|
9222
9222
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
9223
9223
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
9224
9224
|
};
|
|
9225
|
-
return (hAsync("sd-field", { key: '
|
|
9225
|
+
return (hAsync("sd-field", { key: 'ffb39c09ac88e10d083eea775c1bc01532c625bc', 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: 'c9501fc3a0b2f0df85b78887c23d41737f95dff1', class: "sd-date-picker", ref: el => {
|
|
9226
9226
|
this.triggerRef = el;
|
|
9227
|
-
} }, hAsync("sd-date-picker-trigger", { key: '
|
|
9227
|
+
} }, hAsync("sd-date-picker-trigger", { key: 'b09f91b2c5433913d85116498d582cfa631a8534', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: '8f15c254eef196212499746da68d7cdd52bfc338', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, hAsync("sd-calendar", { key: '3939d9444c6674b0aaa54aaec186ba6fbd988bf4', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
9228
9228
|
}
|
|
9229
9229
|
static get watchers() { return {
|
|
9230
9230
|
"isOpen": [{
|
|
@@ -9312,7 +9312,7 @@ class SdDatePickerTrigger {
|
|
|
9312
9312
|
? DATEPICKER_COLORS.icon.disabled
|
|
9313
9313
|
: DATEPICKER_COLORS.icon.default,
|
|
9314
9314
|
};
|
|
9315
|
-
return (hAsync("div", { key: '
|
|
9315
|
+
return (hAsync("div", { key: '4fdd8662a0a0d36261df4390c39797c7ac9e8862', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
9316
9316
|
'sd-date-picker-trigger': true,
|
|
9317
9317
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
9318
9318
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -9320,7 +9320,7 @@ class SdDatePickerTrigger {
|
|
|
9320
9320
|
e.preventDefault();
|
|
9321
9321
|
this.handleClick();
|
|
9322
9322
|
}
|
|
9323
|
-
} }, hAsync("sd-icon", { key: '
|
|
9323
|
+
} }, hAsync("sd-icon", { key: '8d855539cdaf82758a17766bba710e61aa211c70', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), hAsync("span", { key: '49cbf18d44ec0dc09251d12b933ef0e841393e11', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
9324
9324
|
}
|
|
9325
9325
|
static get style() { return sdDatePickerTriggerCss(); }
|
|
9326
9326
|
static get cmpMeta() { return {
|
|
@@ -9769,7 +9769,7 @@ class SdDateRangePickerCalendar {
|
|
|
9769
9769
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
9770
9770
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
9771
9771
|
};
|
|
9772
|
-
return (hAsync(Fragment, { key: '
|
|
9772
|
+
return (hAsync(Fragment, { key: '9f94444bf58cdf5e1f25b377b1cb7bfac7fde4e9' }, hAsync("div", { key: '1a516f6effa60cc84f22441dbc705fd06508002a', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), hAsync("div", { key: '7318074e2146d3b7be635a3e80ee62ec956ff200', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), hAsync("span", { key: 'dc40b470c2ece3cad43bac1e3446d6fe0d139966', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
9773
9773
|
}
|
|
9774
9774
|
static get watchers() { return {
|
|
9775
9775
|
"value": [{
|
|
@@ -9812,7 +9812,7 @@ class SdDivider {
|
|
|
9812
9812
|
const hostStyle = {
|
|
9813
9813
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9814
9814
|
};
|
|
9815
|
-
return (hAsync(Host, { key: '
|
|
9815
|
+
return (hAsync(Host, { key: 'db5c3c41114485dc464c548d4a9f62a07092b448', style: hostStyle }, hAsync("hr", { key: 'dbc8aed5991da3e99573997d8a1de7d227baefd8', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
9816
9816
|
}
|
|
9817
9817
|
static get style() { return sdDividerCss(); }
|
|
9818
9818
|
static get cmpMeta() { return {
|
|
@@ -10487,18 +10487,18 @@ class SdField {
|
|
|
10487
10487
|
: {}),
|
|
10488
10488
|
}
|
|
10489
10489
|
: {};
|
|
10490
|
-
return (hAsync("div", { key: '
|
|
10490
|
+
return (hAsync("div", { key: '3f7d253e821031efe998686ba750b5d79f093dfb', class: {
|
|
10491
10491
|
'sd-field': true,
|
|
10492
10492
|
'sd-field--has-label': this.label !== '',
|
|
10493
10493
|
'sd-field--has-addon': addon !== '',
|
|
10494
10494
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
10495
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: '
|
|
10495
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: '2dcfb4712b65514ee05f4d3f769d3395916a0bbe', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: '2e6279e9a977a1afe7417f87a7947e60f6a057c0', class: "sd-field__main" }, hAsync("div", { key: 'abf3959ccabdd36b8e57f925bc7ef288dde0dbf0', class: {
|
|
10496
10496
|
'sd-field__control': true,
|
|
10497
10497
|
'sd-field__control--has-addon': addon !== '',
|
|
10498
10498
|
}, style: this.width !== '' && this.width !== 0
|
|
10499
10499
|
? { width: typeof this.width === 'number' ? `${this.width}px` : this.width }
|
|
10500
|
-
: {} }, addon && (hAsync("div", { key: '
|
|
10501
|
-
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: '
|
|
10500
|
+
: {} }, addon && (hAsync("div", { key: '1f338c8324a0a8a49fed5a7f8a6a3496b99d1eca', class: "sd-field__addon" }, this.icon && (hAsync("sd-icon", { key: '7c1d23f99ea181642fba65678b5fdb26ba4721b4', name: this.icon.name, size: this.icon.size ??
|
|
10501
|
+
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: 'dab3ba9002d7c9ff9726b1a242b11473eccc99dc' })), 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))))));
|
|
10502
10502
|
}
|
|
10503
10503
|
renderLabel(label) {
|
|
10504
10504
|
if (label == null || label === '')
|
|
@@ -11062,7 +11062,7 @@ class SdFloatingPopover {
|
|
|
11062
11062
|
}
|
|
11063
11063
|
}
|
|
11064
11064
|
render() {
|
|
11065
|
-
return hAsync("slot", { key: '
|
|
11065
|
+
return hAsync("slot", { key: 'cadee10f344de11650330995b0de9a342babe1e3' });
|
|
11066
11066
|
}
|
|
11067
11067
|
static get style() { return sdFloatingPortalCss(); }
|
|
11068
11068
|
static get cmpMeta() { return {
|
|
@@ -12134,12 +12134,12 @@ class SdInput {
|
|
|
12134
12134
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
12135
12135
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
12136
12136
|
};
|
|
12137
|
-
return (hAsync("sd-field", { key: '
|
|
12137
|
+
return (hAsync("sd-field", { key: 'c160e40525cd64a14964363ce8da30ba4e327378', 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: '8c9c4048bdb1e919d12949db0568ac8419ee1724', class: "sd-input__content" }, hAsync("slot", { key: '87ad6a20a39b0328bb70e8beee1439cd7dd11c45', name: "prefix" }), hAsync("input", { key: '651123773cc7c525eb3c9951db260796b1f3ccc9', 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: '6565cc41b71fbe07724b10aba6bdac9f478cd8e9', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (hAsync("sd-ghost-button", { key: '2fb785d07ab27fb4de6f6d7179bd8d66e6041fe7', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
12138
12138
|
if (this.disabled || this.readonly)
|
|
12139
12139
|
return;
|
|
12140
12140
|
this.internalValue = '';
|
|
12141
12141
|
await this.formField?.sdValidate();
|
|
12142
|
-
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '
|
|
12142
|
+
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: 'f447711ee4082283e8cd130c4bfe3d0ff22e3970', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
12143
12143
|
if (this.disabled || this.readonly)
|
|
12144
12144
|
return;
|
|
12145
12145
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -12600,7 +12600,7 @@ class SdLinearProgress {
|
|
|
12600
12600
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
12601
12601
|
};
|
|
12602
12602
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
12603
|
-
return (hAsync(Host, { key: '
|
|
12603
|
+
return (hAsync(Host, { key: 'cb460a4f0b5716eb067b7c5ddedb93bc2d3ba0b3', style: hostStyle }, hAsync("div", { key: 'e135bed6a1ee332a60f9d56fe472922df0235189', class: "sd-linear-progress__track" }, hAsync("div", { key: 'd4639603633b2b5a47ef907c136ca6b48a023524', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (hAsync("span", { key: 'ec6864d38e770504e6112a86e088e95c0d6dc9dc', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (hAsync("span", { key: 'd7657671095fa0d5b88e1723656ac6e2eab1dfff', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && hAsync("span", { key: 'b7780eb3e698c42313d63083f733354404357429', class: "sd-linear-progress__label" }, this.label)));
|
|
12604
12604
|
}
|
|
12605
12605
|
static get style() { return sdLinearProgressCss(); }
|
|
12606
12606
|
static get cmpMeta() { return {
|
|
@@ -12636,10 +12636,10 @@ class SdLoadingContainer {
|
|
|
12636
12636
|
this.visible = false;
|
|
12637
12637
|
}
|
|
12638
12638
|
render() {
|
|
12639
|
-
return (hAsync("div", { key: '
|
|
12639
|
+
return (hAsync("div", { key: 'e5ed85a0b5467ce92d3b31324752285f3d6a40f9', class: {
|
|
12640
12640
|
'sd-loading-container': true,
|
|
12641
12641
|
'sd-loading-container--visible': this.visible,
|
|
12642
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '
|
|
12642
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '80f6425043b106aedfc8110fbd1511fbf32eb283', class: "sd-loading-container__backdrop" }), hAsync("div", { key: 'e8a24b8a9eb4986a08d903fa3ed54d1a4048d4d6', class: "sd-loading-container__content" }, hAsync("sd-circle-progress", { key: '9b37b330ef551f75c78974ccae1d8fd3edfbb898', indeterminate: true, type: "inverse" }), this.message && hAsync("p", { key: '1be0b6565528d0415b5e43c2b16729ac707ed9e8', class: "sd-loading-container__message" }, this.message))));
|
|
12643
12643
|
}
|
|
12644
12644
|
static get style() { return sdLoadingContainerCss(); }
|
|
12645
12645
|
static get cmpMeta() { return {
|
|
@@ -12744,7 +12744,7 @@ class SdLoadingModal {
|
|
|
12744
12744
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
12745
12745
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
12746
12746
|
};
|
|
12747
|
-
return (hAsync(Host, { key: '
|
|
12747
|
+
return (hAsync(Host, { key: '2283ab10ad01f45488a9cc8d6cf7727606b405e9', style: hostStyle }, hAsync("div", { key: '18e367ecf8dfd716c41a1936c6a44b22ad25a601', class: "sd-loading-modal" }, hAsync("div", { key: '149ac117d0645c35e9d9e6b7dcac7103aa4aa554', 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: 'c30f2f115d448e0489d93ee5e8a0fb8e5347926a', 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: '8db7230e3fb62c525db9cf6f5fa5781dcb44dad9', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: 'faf1ceccaa5009d589e727349b17c7c5080e3c48', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
12748
12748
|
}
|
|
12749
12749
|
static get style() { return sdLoadingModalCss(); }
|
|
12750
12750
|
static get cmpMeta() { return {
|
|
@@ -13627,15 +13627,15 @@ class SdNumberInput {
|
|
|
13627
13627
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
13628
13628
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
13629
13629
|
};
|
|
13630
|
-
return (hAsync("sd-field", { key: '
|
|
13630
|
+
return (hAsync("sd-field", { key: 'c2047618e4efff7023d390f95efa349af0eb52af', 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: '2e4dc263460e89763a5794499aef1cd7c9dbc267', class: {
|
|
13631
13631
|
'sd-number-input__content': true,
|
|
13632
13632
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
13633
|
-
} }, this.useButton && (hAsync("button", { key: '
|
|
13633
|
+
} }, this.useButton && (hAsync("button", { key: 'ce1e5d01421763c4ba77887ad823ddc63578b462', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '819664ac86d1813c3850e863412c9334195786f2', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
13634
13634
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
13635
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '
|
|
13635
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: 'bb7355f2ace27bbd93cf506c2d973651d74d6d88', class: "sd-number-input__prefix" }, this.inputPrefix), hAsync("input", { key: '8c8ee1d3e4b9ef5b89b00189bd138c32a7bcbe48', 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: {
|
|
13636
13636
|
textAlign: this.useButton ? 'center' : 'right',
|
|
13637
13637
|
...this.inputStyle,
|
|
13638
|
-
} }), this.inputSuffix && hAsync("span", { key: '
|
|
13638
|
+
} }), this.inputSuffix && hAsync("span", { key: '8da77f4901166b778544d51b9a88a7990aa15ba1', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (hAsync("button", { key: '251cce12749955262b112d80ebd15298944bd079', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '5ef30dba0f14baadca36fd651ca09e780ff9be7c', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
13639
13639
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
13640
13640
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
13641
13641
|
}
|
|
@@ -13849,13 +13849,13 @@ class SdPagination {
|
|
|
13849
13849
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
13850
13850
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
13851
13851
|
};
|
|
13852
|
-
return (hAsync("div", { key: '
|
|
13852
|
+
return (hAsync("div", { key: '8cdda030c6ffa1a4f3358a5877da3b76293bae39', class: {
|
|
13853
13853
|
'sd-pagination': true,
|
|
13854
13854
|
'sd-pagination--simple': this.simple,
|
|
13855
|
-
}, style: cssVars }, hAsync("div", { key: '
|
|
13855
|
+
}, style: cssVars }, hAsync("div", { key: '34569687e67dec4b218ef6d3da01e21b19176284', 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: {
|
|
13856
13856
|
'sd-pagination__item': true,
|
|
13857
13857
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
13858
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: '
|
|
13858
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: 'a222ff48f10bce574ad9ef928d66d99696f6923b', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
13859
13859
|
}
|
|
13860
13860
|
static get style() { return sdPaginationCss(); }
|
|
13861
13861
|
static get cmpMeta() { return {
|
|
@@ -14101,7 +14101,7 @@ class SdPopup {
|
|
|
14101
14101
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
14102
14102
|
...this.submitButtonProps,
|
|
14103
14103
|
};
|
|
14104
|
-
return (hAsync("div", { key: '
|
|
14104
|
+
return (hAsync("div", { key: 'bc5ca3d1f4bc9c340245262f891612cb3cebcbca', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, hAsync("header", { key: 'd061ed390b7ee14c70f7f1515a1ca240090f51b1', class: "sd-popup__header" }, hAsync("h2", { key: '9fcc3683714d5160d77df1d099de3f7152ce0a8d', class: "sd-popup__title" }, this.popupTitle)), hAsync("div", { key: 'e2943e318cc283d27d385fab001e673740c0c5bd', class: "sd-popup__body" }, hAsync("slot", { key: '9b846412c09cae14f1f93364606cf6db91a11112' })), this.useFooter && (hAsync("footer", { key: '9ad29d21e6d63d628474551a3000615690436937', class: "sd-popup__footer" }, hAsync("div", { key: '039359244691aa35d0589f6d842398b88715fdd8', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, hAsync("slot", { key: '0c29f4aba59e40b7435eb9693d2d47fa7d4ea7da', name: "footer-left" })), hAsync("sd-button", { key: '5c79526dfdde154fb50deab79730376e17445831', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
14105
14105
|
}
|
|
14106
14106
|
static get style() { return sdPopupCss(); }
|
|
14107
14107
|
static get cmpMeta() { return {
|
|
@@ -15130,15 +15130,15 @@ class SdSelect {
|
|
|
15130
15130
|
this.closeDropdown();
|
|
15131
15131
|
},
|
|
15132
15132
|
};
|
|
15133
|
-
return (hAsync("sd-field", { key: '
|
|
15133
|
+
return (hAsync("sd-field", { key: 'dd5f5142ec0a6ba80a67b544543c592c4492246b', 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: () => {
|
|
15134
15134
|
this.hovered = true;
|
|
15135
15135
|
}, onMouseLeave: () => {
|
|
15136
15136
|
this.hovered = false;
|
|
15137
|
-
} }, hAsync("div", { key: '
|
|
15137
|
+
} }, hAsync("div", { key: '2069d25c1739610ee4bf8652da9a10bc149b0bc3', class: "sd-select", ref: el => {
|
|
15138
15138
|
this.triggerRef = el;
|
|
15139
|
-
} }, hAsync("sd-select-trigger", { key: '
|
|
15139
|
+
} }, hAsync("sd-select-trigger", { key: 'b9b332bee38e449802be1b6a2c4b02a8243aa220', ref: el => {
|
|
15140
15140
|
this.triggerComponentRef = el;
|
|
15141
|
-
}, 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: '
|
|
15141
|
+
}, 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: 'fba3b55ec6c0d7fa9afe2d0ac8d41ba85ad62e6b', ...portalProps }, hAsync("sd-select-listbox", { key: 'ad505ebdcb6a2f27083520877e42eccf4aeacbc3', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.dropdownWidth || this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
15142
15142
|
}
|
|
15143
15143
|
static get watchers() { return {
|
|
15144
15144
|
"isOpen": [{
|
|
@@ -15399,7 +15399,7 @@ class SdSelectListItem {
|
|
|
15399
15399
|
return (
|
|
15400
15400
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
15401
15401
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
15402
|
-
hAsync("div", { key: '
|
|
15402
|
+
hAsync("div", { key: '42f9e69d39035fedce11095a2d5be95795831241', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
15403
15403
|
'sd-select-list-item': true,
|
|
15404
15404
|
'sd-select-list-item--group': isGroup,
|
|
15405
15405
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -15409,7 +15409,7 @@ class SdSelectListItem {
|
|
|
15409
15409
|
'sd-select-list-item--focused': this.isFocused,
|
|
15410
15410
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
15411
15411
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
15412
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '
|
|
15412
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '655cf931840a15545c1afdd4aeb2044c7ae24c0a', 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 })), isHtmlLabel(this.option.label) ? (hAsync("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (hAsync("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (hAsync("span", { key: '5461f3861a093d25e866cd94e603a4b6017fd701', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
15413
15413
|
}
|
|
15414
15414
|
static get style() { return sdSelectListItemCss(); }
|
|
15415
15415
|
static get cmpMeta() { return {
|
|
@@ -15481,15 +15481,15 @@ class SdSelectListItemSearch {
|
|
|
15481
15481
|
clearTimeout(this.debounceTimer);
|
|
15482
15482
|
}
|
|
15483
15483
|
render() {
|
|
15484
|
-
return (hAsync("div", { key: '
|
|
15484
|
+
return (hAsync("div", { key: 'eeeabfcd97514124434c4c6c61d219d2230e7a1e', class: {
|
|
15485
15485
|
'sd-select-list-item-search': true,
|
|
15486
15486
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
15487
|
-
} }, hAsync("div", { key: '
|
|
15487
|
+
} }, hAsync("div", { key: 'a378a2745db91faf00a5fa00105fb152f8b6f59e', class: "sd-select-list-item-search__inner" }, hAsync("sd-icon", { key: '08681aab44c7a30a5f4a36cdf7a8ec58fdbb6cf4', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), hAsync("input", { key: '0e75fdbfdab69b3f0bd9146d97915926200ba2c0', ref: el => {
|
|
15488
15488
|
this.inputEl = el;
|
|
15489
|
-
}, 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: '
|
|
15489
|
+
}, 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: 'a45bba91cce1700bab677e4528ab6df79e08547f', type: "button", class: {
|
|
15490
15490
|
'sd-select-list-item-search__clear': true,
|
|
15491
15491
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
15492
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '
|
|
15492
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: 'e5c01644bf8b6651d6ec312b18f77d79cc61f455', name: "close", size: 12, color: "#888888" })))));
|
|
15493
15493
|
}
|
|
15494
15494
|
static get style() { return sdSelectListItemSearchCss(); }
|
|
15495
15495
|
static get cmpMeta() { return {
|
|
@@ -15873,9 +15873,9 @@ class SdSelectListbox {
|
|
|
15873
15873
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
15874
15874
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
15875
15875
|
};
|
|
15876
|
-
return (hAsync("div", { key: '
|
|
15876
|
+
return (hAsync("div", { key: '86caa4b3d4fbc3bcc6214ffe8596f62b6595b2e0', class: "sd-select-listbox", style: cssVars }, this.showSearch && (hAsync("sd-select-list-item-search", { key: '7a4f2cf77da2af673c7c11836cf1152f8cf55c2d', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), hAsync("div", { key: '243c0be0b5898754a35adbce89d9f72671e39a3a', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
15877
15877
|
this.listEl = el;
|
|
15878
|
-
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '
|
|
15878
|
+
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: 'eef122310c6a45ed876af8cd578b86d1f27a68d3', 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) })))))));
|
|
15879
15879
|
}
|
|
15880
15880
|
static get watchers() { return {
|
|
15881
15881
|
"searchKeyword": [{
|
|
@@ -15964,7 +15964,7 @@ class SdSelectTrigger {
|
|
|
15964
15964
|
? SELECT_COLORS.icon.disabled
|
|
15965
15965
|
: SELECT_COLORS.icon.default,
|
|
15966
15966
|
};
|
|
15967
|
-
return (hAsync("div", { key: '
|
|
15967
|
+
return (hAsync("div", { key: '0c3e197cd8a238a979ee6d794a607e07585b2025', ref: el => {
|
|
15968
15968
|
this.triggerEl = el;
|
|
15969
15969
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
15970
15970
|
'sd-select-trigger': true,
|
|
@@ -15975,7 +15975,7 @@ class SdSelectTrigger {
|
|
|
15975
15975
|
e.preventDefault();
|
|
15976
15976
|
this.handleClick();
|
|
15977
15977
|
}
|
|
15978
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '
|
|
15978
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '4c068fb6a6784bde01669b7a5ad30d91dc358dd3', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (hAsync("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (hAsync("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), hAsync("sd-icon", { key: '7172c372c2864574ca6ab0f726a0af091a3d0110', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
15979
15979
|
'sd-select-trigger__icon': true,
|
|
15980
15980
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
15981
15981
|
} }))));
|
|
@@ -16104,7 +16104,7 @@ class SdSwitch {
|
|
|
16104
16104
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
16105
16105
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
16106
16106
|
};
|
|
16107
|
-
return (hAsync("label", { key: '
|
|
16107
|
+
return (hAsync("label", { key: '1c1ad8fff6d40b4e58f36f1238efe0e1d92ac391', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, hAsync("input", { key: 'c93a0da431b173fa705d5ffef018e605c625cb2a', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), hAsync("div", { key: '03483ff7893a072b4778230d9d1be3b737537d53', class: "sd-switch__track" }, hAsync("div", { key: '0db9dc3442e77b327fe1c6544e4c320d71389ca6', class: "sd-switch__knob" })), this.label && hAsync("span", { key: '35f6aad85d20458d364ea84aaabcf518b9c8983c', class: "sd-switch__label" }, this.label)));
|
|
16108
16108
|
}
|
|
16109
16109
|
static get style() { return sdSwitchCss(); }
|
|
16110
16110
|
static get cmpMeta() { return {
|
|
@@ -17072,25 +17072,25 @@ class SdTable {
|
|
|
17072
17072
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
17073
17073
|
'--table-host-height': hostHeight,
|
|
17074
17074
|
};
|
|
17075
|
-
return (hAsync(Host, { key: '
|
|
17075
|
+
return (hAsync(Host, { key: '91d045af5763bca824e393c597f4623da9e02705', style: hostStyle }, hAsync("div", { key: 'b441e620f75dd0d71d5457fdb2a61f82d44096c0', class: "sd-table__container", style: {
|
|
17076
17076
|
'--table-width': this.width,
|
|
17077
17077
|
'--pagination-height': `${paginationHeight}px`,
|
|
17078
|
-
} }, hAsync("div", { key: '
|
|
17078
|
+
} }, hAsync("div", { key: '4d78e38b038113894b175afbd0f26123f17cd0b4', class: {
|
|
17079
17079
|
'sd-table__wrapper': true,
|
|
17080
17080
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
17081
17081
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
17082
|
-
} }, hAsync("div", { key: '
|
|
17082
|
+
} }, hAsync("div", { key: '263058e881fcd6f5b120d39df069823641a54e62', class: {
|
|
17083
17083
|
'sd-table__scroll-container': true,
|
|
17084
17084
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
17085
17085
|
'sd-table__scroll-container--no-data': isNoData,
|
|
17086
|
-
} }, this.isLoading && (hAsync("div", { key: '
|
|
17086
|
+
} }, this.isLoading && (hAsync("div", { key: '5d3b2a9b93bb160e45c9dc68161c548e9b307a81', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, hAsync("sd-circle-progress", { key: 'b951f5b435bc7bbd0bf97543b7ec68e7ca37a282', indeterminate: true }))), isNoData && (hAsync(hAsync.Fragment, null, hAsync("div", { key: '646b4d962be56d3dcd410855a80ada7680a3471f', class: "sd-table__no-data-header-overlay" }), hAsync("div", { key: 'e86161b138d07a50c579f65f3fef44a70a596774', class: "sd-table__no-data" }, hAsync("div", { key: '5fd55dd68fbb7b55d8b00be6934076fbef919760', class: "sd-table__no-data-content", ref: el => {
|
|
17087
17087
|
this.noDataContentEl = el;
|
|
17088
17088
|
if (el)
|
|
17089
17089
|
this.syncNoDataContentObserver();
|
|
17090
|
-
} }, hAsync("slot", { key: '
|
|
17090
|
+
} }, hAsync("slot", { key: 'ba83b3f3ae09e8768a2301e75653f3c4562436a4', name: "no-data" }, hAsync("span", { key: 'd95683ca3bcd1f0dba2e8594e5751c76c2919d9c' }, this.resolvedNoDataLabel)))))), hAsync("table", { key: 'a82706073a9e8c5d9c3b011db2c21697b30e8203', 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 &&
|
|
17091
17091
|
this.pagination.rowsPerPage > 0 &&
|
|
17092
17092
|
this.rowCount > 0 &&
|
|
17093
|
-
!this.useVirtualScroll && (hAsync("div", { key: '
|
|
17093
|
+
!this.useVirtualScroll && (hAsync("div", { key: 'bde43c82f954ba6bc5a70b07683e1159cdf0b7c6', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: '7d8bc79ae3452a8cc22d7e51871eeb4fa495b276', 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: 'a087902b29b75129d52f5513b6c317cddbb6de15', value: this.useInternalPagination
|
|
17094
17094
|
? this.innerRowsPerPage
|
|
17095
17095
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
17096
17096
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -17401,7 +17401,7 @@ class SdTabs {
|
|
|
17401
17401
|
};
|
|
17402
17402
|
}
|
|
17403
17403
|
render() {
|
|
17404
|
-
return (hAsync("div", { key: '
|
|
17404
|
+
return (hAsync("div", { key: 'c88c2d10181fd02076ac9c0ecdb6d3e95bd727c3', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
17405
17405
|
const badgeName = this.getBadgeName(tab);
|
|
17406
17406
|
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 => {
|
|
17407
17407
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -17608,7 +17608,7 @@ const TAG_CONFIG = Object.fromEntries(TAG_SHAPES.flatMap(shape => TAG_SIZES.flat
|
|
|
17608
17608
|
}))));
|
|
17609
17609
|
const isTagName = (value) => Object.prototype.hasOwnProperty.call(TAG_CONFIG, value);
|
|
17610
17610
|
|
|
17611
|
-
const sdTagCss = () => `sd-tag{display:inline-flex;width:fit-content;height:fit-content}.sd-tag{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-tag-gap, 5px);min-height:var(--sd-tag-height, 24px);padding:0 var(--sd-tag-padding-x, 8px);border-radius:var(--sd-tag-radius, 4px);background:var(--sd-tag-background, #f3f3f3);color:var(--sd-tag-content, #7a7a7a);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}.sd-tag__icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.sd-tag__label{display:inline-flex;align-items:center;justify-content:center;min-width:0;font-size:var(--sd-tag-font-size, 12px);font-weight:var(--sd-tag-font-weight, 700);line-height:var(--sd-tag-line-height, 20px)}`;
|
|
17611
|
+
const sdTagCss = () => `sd-tag{display:inline-flex;width:var(--sd-tag-width, fit-content);height:fit-content}.sd-tag{display:inline-flex;width:100%;align-items:center;justify-content:center;gap:var(--sd-tag-gap, 5px);min-height:var(--sd-tag-height, 24px);padding:0 var(--sd-tag-padding-x, 8px);border-radius:var(--sd-tag-radius, 4px);background:var(--sd-tag-background, #f3f3f3);color:var(--sd-tag-content, #7a7a7a);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}.sd-tag__icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.sd-tag__label{display:inline-flex;align-items:center;justify-content:center;min-width:0;font-size:var(--sd-tag-font-size, 12px);font-weight:var(--sd-tag-font-weight, 700);line-height:var(--sd-tag-line-height, 20px)}`;
|
|
17612
17612
|
|
|
17613
17613
|
class SdTag {
|
|
17614
17614
|
constructor(hostRef) {
|
|
@@ -17623,6 +17623,8 @@ class SdTag {
|
|
|
17623
17623
|
// 아이콘이 좌측 배치되는 게 자연스러운 default. prop 이름 변경(isRight 등)은 public API breaking 이라 별도 이슈로 분리.
|
|
17624
17624
|
/** true이면 아이콘을 레이블 왼쪽에 배치 */
|
|
17625
17625
|
isLeft = true;
|
|
17626
|
+
/** 태그 너비 (숫자면 px, 문자열이면 그대로 적용). 미지정 시 콘텐츠 크기(fit-content) */
|
|
17627
|
+
width = '';
|
|
17626
17628
|
componentWillLoad() {
|
|
17627
17629
|
this.name = this.name ?? 'square_sm_grey';
|
|
17628
17630
|
}
|
|
@@ -17640,10 +17642,16 @@ class SdTag {
|
|
|
17640
17642
|
return null;
|
|
17641
17643
|
return hAsync("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
17642
17644
|
}
|
|
17645
|
+
get resolvedWidth() {
|
|
17646
|
+
if (this.width === '' || this.width === 0)
|
|
17647
|
+
return undefined;
|
|
17648
|
+
return typeof this.width === 'number' ? `${this.width}px` : this.width;
|
|
17649
|
+
}
|
|
17643
17650
|
render() {
|
|
17644
17651
|
const config = this.resolvedConfig;
|
|
17645
17652
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
17646
|
-
|
|
17653
|
+
const width = this.resolvedWidth;
|
|
17654
|
+
return (hAsync(Host, { key: '77b65a35be3456f1bf821a0b276fd1e5820f5b90', style: width != null ? { '--sd-tag-width': width } : undefined }, hAsync("span", { key: '806c855067690cedefa8d867d3535fd83aab4d73', class: "sd-tag", style: {
|
|
17647
17655
|
'--sd-tag-background': config.background,
|
|
17648
17656
|
'--sd-tag-content': config.content,
|
|
17649
17657
|
'--sd-tag-height': config.height,
|
|
@@ -17653,7 +17661,7 @@ class SdTag {
|
|
|
17653
17661
|
'--sd-tag-font-weight': config.fontWeight,
|
|
17654
17662
|
'--sd-tag-line-height': config.lineHeight,
|
|
17655
17663
|
'--sd-tag-radius': config.radius,
|
|
17656
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '
|
|
17664
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '88891681230cc9b916428d60814b4d90c1614c20', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode)));
|
|
17657
17665
|
}
|
|
17658
17666
|
static get style() { return sdTagCss(); }
|
|
17659
17667
|
static get cmpMeta() { return {
|
|
@@ -17663,7 +17671,8 @@ class SdTag {
|
|
|
17663
17671
|
"name": [1],
|
|
17664
17672
|
"label": [1],
|
|
17665
17673
|
"icon": [1],
|
|
17666
|
-
"isLeft": [4, "is-left"]
|
|
17674
|
+
"isLeft": [4, "is-left"],
|
|
17675
|
+
"width": [8]
|
|
17667
17676
|
},
|
|
17668
17677
|
"$listeners$": undefined,
|
|
17669
17678
|
"$lazyBundleId$": "-",
|
|
@@ -17722,9 +17731,9 @@ class SdTbody {
|
|
|
17722
17731
|
}
|
|
17723
17732
|
}
|
|
17724
17733
|
render() {
|
|
17725
|
-
return (hAsync(Host, { key: '
|
|
17734
|
+
return (hAsync(Host, { key: '3c3b748b436dc9db4054a5528fc205da7d21c8e8', slot: `${this.tableId}-body` }, hAsync("tbody", { key: '7cd092ce9b54bed7e4aaaf4b9b3df788d13e382c', class: { tbody: true } }, [
|
|
17726
17735
|
this.topSpacerHeight > 0 && (hAsync("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
17727
|
-
hAsync("slot", { key: '
|
|
17736
|
+
hAsync("slot", { key: '0a8c271acdd45802cb036c58303bd08037067c7d' }),
|
|
17728
17737
|
this.bottomSpacerHeight > 0 && (hAsync("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
17729
17738
|
])));
|
|
17730
17739
|
}
|
|
@@ -17908,7 +17917,7 @@ class SdTd {
|
|
|
17908
17917
|
}
|
|
17909
17918
|
}
|
|
17910
17919
|
render() {
|
|
17911
|
-
return (hAsync(Host, { key: '
|
|
17920
|
+
return (hAsync(Host, { key: '3a57e2c9669facd934506fcac11d3fe6474cf4e6', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: '1936262e4fa08e364cc57a5587703c546199007a' })));
|
|
17912
17921
|
}
|
|
17913
17922
|
static get watchers() { return {
|
|
17914
17923
|
"field": [{
|
|
@@ -18327,7 +18336,7 @@ class SdTextarea {
|
|
|
18327
18336
|
'--sd-system-size-field-sm-height': 'auto',
|
|
18328
18337
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
18329
18338
|
};
|
|
18330
|
-
return (hAsync("sd-field", { key: '
|
|
18339
|
+
return (hAsync("sd-field", { key: '007bdda5f38f94997c65f3542b4075a62c11a391', 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: '536185bb53815baae7807a5d4708d9f0100c07c1', class: "sd-textarea__content" }, hAsync("textarea", { key: '144ae3ca78f8c3953bfef9951cb79952186b856c', 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 }))));
|
|
18331
18340
|
}
|
|
18332
18341
|
static get watchers() { return {
|
|
18333
18342
|
"value": [{
|
|
@@ -18627,16 +18636,16 @@ class SdThead {
|
|
|
18627
18636
|
'--table-border-color': TABLE_BORDER.color,
|
|
18628
18637
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
18629
18638
|
};
|
|
18630
|
-
return (hAsync(Host, { key: '
|
|
18639
|
+
return (hAsync(Host, { key: '0f9c6f9eb3c1afbd2af6c729152e3767b9637886', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: '35a3d8864c5801058e810b6c0b7b281bf7943b85', class: {
|
|
18631
18640
|
'thead': true,
|
|
18632
18641
|
'thead--sticky': this._stickyHeader,
|
|
18633
|
-
} }, hAsync("tr", { key: '
|
|
18642
|
+
} }, hAsync("tr", { key: '04827a6c5148f1be3de475e4e0a9ead839aab89e', class: "tr" }, this._selectable && (hAsync("th", { key: '169e3b47c9710851ee6dbe58765a1b9da5ac6f75', class: {
|
|
18634
18643
|
'th': true,
|
|
18635
18644
|
'th--selected': true,
|
|
18636
18645
|
'sticky-left': true,
|
|
18637
18646
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
18638
18647
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
18639
|
-
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '
|
|
18648
|
+
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '85f1dc11ae78307cd814813736e9e3097fdd4a47', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), hAsync("div", { key: 'adc4e163b5161fe7e6adf41c4b48284654a223b9', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (hAsync("th", { key: col.name, class: {
|
|
18640
18649
|
'th': true,
|
|
18641
18650
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
18642
18651
|
'sticky-left': true,
|
|
@@ -18836,12 +18845,12 @@ class SdToast {
|
|
|
18836
18845
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
18837
18846
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
18838
18847
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
18839
|
-
return (hAsync("div", { key: '
|
|
18848
|
+
return (hAsync("div", { key: '98f2adc86e98e6e1a33eec9f1166a36fd0132091', style: {
|
|
18840
18849
|
'--sd-toast-bg': typeConfig.bg,
|
|
18841
18850
|
'--sd-toast-text': typeConfig.content,
|
|
18842
18851
|
'--sd-toast-icon': iconColor,
|
|
18843
18852
|
'--sd-toast-link': linkColor,
|
|
18844
|
-
} }, hAsync("div", { key: '
|
|
18853
|
+
} }, hAsync("div", { key: 'bf62e48b849b5d233b917e9bff8b516cdee3273d', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: '4a17910884a1778ff647cc4037d23a25834a5c8d', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '7b6d9567d94f8351d5c07bdf4351bc028f9b0b06', name: this.icon, size: iconSize, color: iconColor }))), hAsync("div", { key: '1a0fa06eeb4b5aaf9a3b7804c3aa90be85797839', class: "sd-toast__content" }, hAsync("span", { key: '32eed9d06fae03ffea1de307eb006bc2889731c2', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: 'f1bafc6c06d5faad3fc556419ca556df9e76ee4f', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '94fcfb175c9e302cbb27d2dc3ed7256a65960013', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (hAsync("sd-ghost-button", { key: 'ae2bcd09d6c0ee5afbdfeed6e268b899a308ec64', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
18845
18854
|
}
|
|
18846
18855
|
static get style() { return sdToastCss(); }
|
|
18847
18856
|
static get cmpMeta() { return {
|
|
@@ -19103,7 +19112,7 @@ class SdToastContainer {
|
|
|
19103
19112
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
19104
19113
|
const indexMap = new Map();
|
|
19105
19114
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
19106
|
-
return (hAsync("div", { key: '
|
|
19115
|
+
return (hAsync("div", { key: 'ce0bd7179ac744e558f900228fcf80d16b676d1d', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
19107
19116
|
this.expanded = true;
|
|
19108
19117
|
this.pauseTimers();
|
|
19109
19118
|
}, onMouseLeave: () => {
|
|
@@ -19265,7 +19274,7 @@ class SdToggle {
|
|
|
19265
19274
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
19266
19275
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
19267
19276
|
};
|
|
19268
|
-
return (hAsync("label", { key: '
|
|
19277
|
+
return (hAsync("label", { key: '79ca3923f8eda2791a41bc3ce6c61798102a078c', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, hAsync("input", { key: '7ff2b7a49b65fa0b5f6bed383928880f1771239d', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
19269
19278
|
}
|
|
19270
19279
|
static get style() { return sdToggleCss(); }
|
|
19271
19280
|
static get cmpMeta() { return {
|
|
@@ -19453,7 +19462,7 @@ class SdTooltip {
|
|
|
19453
19462
|
const bodyHTML = this.message && this.message.length > 0
|
|
19454
19463
|
? this.message.map(line => `<div>${line}</div>`).join('')
|
|
19455
19464
|
: this.slotContentHTML;
|
|
19456
|
-
return (hAsync(Fragment, { key: '
|
|
19465
|
+
return (hAsync(Fragment, { key: 'f50cb9c1397c479dd994edeb044cb95764976344' }, hAsync("div", { key: '0b6f62051b47015a1e0bb7e9f6ee66750b74c4e0', ref: el => (this.triggerEl = el), class: triggerClasses, ...divTrigger }, anchorMode ? (hAsync("slot", { name: "anchor" })) : 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: '4e750b20c8ee4649f3474de06e12c7008f8796c3', parentRef: anchorMode ? this.triggerEl : this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, hAsync("div", { key: 'd9f86aa8e074d516350ffc621d28b3d70ed08713', ref: el => (this.menuEl = el), class: {
|
|
19457
19466
|
'sd-floating-menu': true,
|
|
19458
19467
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
19459
19468
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -19461,7 +19470,7 @@ class SdTooltip {
|
|
|
19461
19470
|
}, style: {
|
|
19462
19471
|
'--sd-floating-bg': typeConfig.bg,
|
|
19463
19472
|
'--sd-floating-content': typeConfig.content,
|
|
19464
|
-
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: '
|
|
19473
|
+
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: '91080790a99c0aaad815c8deddce5fc6a9ff405d', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: 'db89405989bfb909e6f86050de407cbc5f821717' })), hAsync("div", { key: '24cc5aa569cbf316aaaf23e5cc7e85144d51ab9b', class: "sd-floating-menu__content", innerHTML: bodyHTML }), this.useClose && (hAsync("sd-ghost-button", { key: '32b62d9c48d72428783375b68bcf4807154b6bb1', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xxs", onClick: () => this.closeTooltip() })))))));
|
|
19465
19474
|
}
|
|
19466
19475
|
static get style() { return sdTooltipCss(); }
|
|
19467
19476
|
static get cmpMeta() { return {
|