@sellmate/design-system 1.0.18 → 1.0.19
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-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-button_21.cjs.entry.js +34 -33
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/sd-file-picker.cjs.entry.js +3 -3
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-multiple.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-option-group.cjs.entry.js +3 -3
- package/dist/cjs/sd-toast.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/assets/checkFilled/index.js +1 -1
- package/dist/collection/components/assets/checkOutline/index.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-button/sd-button.js +2 -2
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-field/sd-field.css +3 -0
- package/dist/collection/components/sd-field/sd-field.js +3 -3
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +2 -2
- package/dist/collection/components/sd-input/sd-input.js +1 -1
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +5 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +2 -2
- package/dist/collection/components/sd-popover/sd-popover.js +3 -3
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.js +3 -3
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +1 -1
- package/dist/components/{p-Csz5Om2E.js → p-B0h4b7LA.js} +1 -1
- package/dist/components/{p-GjahxZoU.js → p-B77f6eKX.js} +1 -1
- package/dist/components/p-BQbcWEFr.js +1 -0
- package/dist/components/{p-BkU8yMUR.js → p-BRSMWd2J.js} +1 -1
- package/dist/components/{p-Ay5V-5Fu.js → p-BpucJmh6.js} +1 -1
- package/dist/components/{p-IFDX7o1t.js → p-BtHLGsSf.js} +1 -1
- package/dist/components/{p-DOdjsjwr.js → p-C-ZB0plq.js} +1 -1
- package/dist/components/{p-CIDMF6fj.js → p-C2-el8dy.js} +1 -1
- package/dist/components/{p-B45-wHcP.js → p-C7O3k1Yw.js} +1 -1
- package/dist/components/{p-7hAgxVaZ.js → p-CB4FbXBv.js} +1 -1
- package/dist/components/{p-CNgER9mk.js → p-CVjJkym8.js} +1 -1
- package/dist/components/{p-Czdx4VDt.js → p-D9QyXmjs.js} +1 -1
- package/dist/components/{p-BDlbibwl.js → p-DC98okO0.js} +1 -1
- package/dist/components/{p-Bxs0Hp4o.js → p-DJlL3vSO.js} +1 -1
- package/dist/components/{p-DojkP9rD.js → p-zP9SItz2.js} +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker.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-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-loading-spinner.js +1 -1
- package/dist/components/sd-modal-card.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-portal.js +1 -1
- package/dist/components/sd-progress.js +1 -1
- package/dist/components/sd-select-dropdown.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-toast.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-0b0c743d.entry.js +1 -0
- package/dist/design-system/p-337a0cac.entry.js +1 -0
- package/dist/design-system/{p-b3a0300b.entry.js → p-6c7732fd.entry.js} +1 -1
- package/dist/design-system/{p-2c776f94.entry.js → p-6d573397.entry.js} +1 -1
- package/dist/design-system/{p-21da28bf.entry.js → p-6d82343b.entry.js} +1 -1
- package/dist/design-system/{p-a4f8f2cd.entry.js → p-6d9053d6.entry.js} +1 -1
- package/dist/design-system/{p-12669d98.entry.js → p-b2bbc545.entry.js} +1 -1
- package/dist/design-system/{p-f69a9ad8.entry.js → p-d676165a.entry.js} +1 -1
- package/dist/design-system/p-e78cd4af.entry.js +1 -0
- package/dist/design-system/{p-fe119275.entry.js → p-ec4c214f.entry.js} +1 -1
- package/dist/design-system/{p-358de11a.entry.js → p-ffd96f05.entry.js} +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-button_21.entry.js +34 -33
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-date-picker.entry.js +1 -1
- package/dist/esm/sd-file-picker.entry.js +3 -3
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-progress.entry.js +2 -2
- package/dist/esm/sd-select-multiple.entry.js +1 -1
- package/dist/esm/sd-select-option-group.entry.js +3 -3
- package/dist/esm/sd-toast.entry.js +2 -2
- package/dist/types/components/assets/checkFilled/index.d.ts +1 -1
- package/dist/types/components/assets/checkOutline/index.d.ts +1 -1
- package/dist/types/components/assets/index.d.ts +2 -2
- package/hydrate/index.js +52 -51
- package/hydrate/index.mjs +52 -51
- package/package.json +1 -1
- package/dist/components/p-DHdV8DHV.js +0 -1
- package/dist/design-system/p-31175b5c.entry.js +0 -1
- package/dist/design-system/p-c5837bdf.entry.js +0 -1
- package/dist/design-system/p-d9af74c0.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -5481,7 +5481,7 @@ class SdBadge {
|
|
|
5481
5481
|
label = '';
|
|
5482
5482
|
render() {
|
|
5483
5483
|
const resolvedColor = resolveColor(this.color);
|
|
5484
|
-
return (hAsync("div", { key: '
|
|
5484
|
+
return (hAsync("div", { key: 'eeb4866526fa9e628da7182d6caca317015d6452', class: `sd-badge sd-badge--${this.size}`, style: { '--sd-badge-color': resolvedColor } }, hAsync("div", { key: 'b14add6e76ab27eba5883c641e0ffa840e170ba2', class: "sd-badge__dot" }), hAsync("div", { key: 'a53d4d487a6c97f87189c555f0a95640186fdf93', class: "sd-badge__label" }, this.label)));
|
|
5485
5485
|
}
|
|
5486
5486
|
static get style() { return sdBadgeCss(); }
|
|
5487
5487
|
static get cmpMeta() { return {
|
|
@@ -5586,7 +5586,7 @@ class SdCard {
|
|
|
5586
5586
|
bordered = false;
|
|
5587
5587
|
sdClass = '';
|
|
5588
5588
|
render() {
|
|
5589
|
-
return (hAsync(Fragment, { key: '
|
|
5589
|
+
return (hAsync(Fragment, { key: '155504b50cb1c21fc1f847af8a9e8b685f7881ef' }, hAsync("div", { key: 'c461e3e40da44586da5e02ad508bf59942a9e82a', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, hAsync("slot", { key: '0c0ee023155c08c565c3496c44699a900666b084' }))));
|
|
5590
5590
|
}
|
|
5591
5591
|
static get style() { return sdCardCss(); }
|
|
5592
5592
|
static get cmpMeta() { return {
|
|
@@ -5902,7 +5902,7 @@ class SdDatePicker {
|
|
|
5902
5902
|
this.isOpen = false;
|
|
5903
5903
|
};
|
|
5904
5904
|
render() {
|
|
5905
|
-
return (hAsync("div", { key: '
|
|
5905
|
+
return (hAsync("div", { key: 'bb17d32f08d998e599c90cf1a7a35b17e19d3dc4', class: { 'sd-date-picker': true, 'sd-date-picker--disabled': this.disabled } }, hAsync("sd-input", { key: 'ae028d5999a8df40a83b0d77d2dd5c2e0d0d8eb0', ref: el => (this.inputEl = el), value: this.value, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, placeholder: this.placeholder, inputClass: "sd-date-picker__input", onClick: () => this.openMenu() }, hAsync("sd-icon", { key: 'fbb954703d19161ab4507696a21278d5b4962b25', slot: "prefix", name: "date", size: "16", color: this.disabled ? 'grey_65' : 'grey_70', class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: 'a335d5d317718e30be14fdb4aa1a63cb1347b929', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: '38deef7127db10c91a51b8d6cb017d85fce25888', class: "sd-date-picker__menu" }, hAsync("div", { key: 'f2ef8eb33086103df65b434360ecc1aac2949bf9', class: "sd-date-picker__header" }, hAsync("div", { key: '8b949551a157de1e2ded7f1de621ccacd136126e', class: "year-nav" }, hAsync("button", { key: 'b1bbd712094885223c21f030c32914d14f3904c2', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, hAsync("sd-icon", { key: '7bb6f5f216d02cde59eff87fcaebc32eccbaac25', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '645c12556fe1b9f1d1c8f7c4cfe73c3b65ad7431', class: "year-nav__current" }, this.currentYear), hAsync("button", { key: 'f6cb58c23effd1aa0566aaacf41170482f03df51', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, hAsync("sd-icon", { key: 'e92ef17b8d50e5115a159d2dd984e738a920f065', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '73018a9ca04929f4be017631e8e49a73cef71855', class: "month-nav" }, hAsync("button", { key: '0983ca35486b8ad29c09740848b4288b602d0cd9', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, hAsync("sd-icon", { key: '2c9257564786287f825c83391f3e05745c23cf9a', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '0b9e048eeea62c452671b74db468aa5587e8ddbf', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), hAsync("button", { key: '3ead15a341d5e361e7fb9b1cb2842e5a38b0e03c', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, hAsync("sd-icon", { key: 'a3dbd8606dd51f72f1c315f2eea7ff089a95e6fa', name: "arrowRight", size: "12", color: "#CCCCCC" })))), hAsync("div", { key: '6bbadc79157ae64bf492a965b78d014dcd968ea6', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("div", { key: day, class: "day" }, day)))), hAsync("div", { key: '972c00769b40eff8015b68e0a9479a6c7c6009db', class: "sd-date-picker__body" }, [
|
|
5906
5906
|
...this.calendar.prevMonthDays,
|
|
5907
5907
|
...this.calendar.days,
|
|
5908
5908
|
...this.calendar.afterMonthDays,
|
|
@@ -6094,10 +6094,10 @@ class SdDateRangePicker {
|
|
|
6094
6094
|
this.setHoverDate(hoverDate);
|
|
6095
6095
|
}
|
|
6096
6096
|
render() {
|
|
6097
|
-
return (hAsync("div", { key: '
|
|
6097
|
+
return (hAsync("div", { key: '96cd4e99ae976517e7b24c5ff3046af976adc5cb', class: {
|
|
6098
6098
|
'sd-date-range-picker': true,
|
|
6099
6099
|
'sd-date-range-picker--disabled': this.disabled,
|
|
6100
|
-
} }, hAsync("sd-input", { key: '
|
|
6100
|
+
} }, hAsync("sd-input", { key: 'a84838a1a84d990b289f0b753ccf3e2f45da4770', ref: el => (this.inputEl = el), value: !!this.dateRange[0] ? `${this.dateRange[0]} ~ ${this.dateRange[1]}` : '', label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, placeholder: this.placeholder, inputClass: "sd-date-range-picker__input", onClick: () => this.openMenu() }, hAsync("sd-icon", { key: 'd926c672dcf457a68ebe644b32c90a03ba29b175', slot: "prefix", name: "date", size: "16", color: this.disabled ? 'grey_65' : 'grey_70', class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: '0af519c7ac2ade00972e23b9ecb0344989d87f51', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.closeMenu }, hAsync("div", { key: 'd9109e573215092c6b386ae27ac7377c4347df4c', class: "sd-date-range-picker__menu" }, hAsync("div", { key: 'ca4743a26ed0571bc3b63218a32a113e50dbd81a', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, hAsync("button", { key: '6f0fe1ede6d171e749a241fbeec32056250709b9', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, hAsync("sd-icon", { key: '821526a069a845f271b0e5db607f747efe4e610c', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("div", { key: 'e9402009c8b034953d7ff4be5a4eea64d7fed21d', class: "header-label" }, this.prevYear), hAsync("button", { key: 'b752631ab64e32a4a39c13898cc3db5e25897c4b', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, hAsync("sd-icon", { key: '62c6e0004ff1a0d8f260e11b9d17ea7ccca942ee', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '3a05a7e02664be8d9dfb85d0bada03a2d352af12', class: "sd-date-range-picker__body" }, [this.prevCalendar, this.nextCalendar].map((calendar, index) => (hAsync(Fragment, null, index === 1 && hAsync("div", { class: "separator" }), hAsync("div", { key: index, class: "calendar-container" }, hAsync("div", { class: "calendar-header" }, hAsync("button", { type: "button", name: "month", title: "Month", class: index === 0 ? 'header-button-prev' : 'header-button-next', onClick: () => this.updateYearMonth(index === 0 ? 'prev' : 'next') }, hAsync("sd-icon", { name: index === 0 ? 'arrowLeft' : 'arrowRight', size: "12", color: "#CCCCCC" })), index === 0
|
|
6101
6101
|
? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
|
|
6102
6102
|
: `${this.nextYear}.${String(this.nextMonth).padStart(2, '0')}`), hAsync("div", { class: "calendar-days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("sd-date-box", { key: day, date: day, disabled: true, class: "day" })))), hAsync("div", { class: "calendar-body mt-12pxr grid grid-cols-7 gap-y-8pxr" }, [...calendar.prevMonthDays, ...calendar.days, ...calendar.afterMonthDays].map((day, idx) => (hAsync("sd-date-box", { key: `prev${day}_${idx}`, date: !day ? '' : Number(day), selected: this.dateRange.some(date => date === this.formatDate(index, Number(day))), type: this.getDateBoxType(this.formatDate(index, Number(day))), isToday: today === this.formatDate(index, Number(day)), disabled: !day ? true : this.isDisabledDate(this.formatDate(index, Number(day))), inRange: this.isDateInRange(this.formatDate(index, Number(day))), isStartDate: this.dateRange[0] === this.formatDate(index, Number(day)), isEndDate: this.dateRange[1] === this.formatDate(index, Number(day)), onSdClick: () => this.handleDateClick(index, Number(day)), onSdMouseOver: () => this.handleDateHover(index, Number(day)) }))))))))))))));
|
|
6103
6103
|
}
|
|
@@ -6129,7 +6129,7 @@ class SdDateRangePicker {
|
|
|
6129
6129
|
}; }
|
|
6130
6130
|
}
|
|
6131
6131
|
|
|
6132
|
-
const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field:not(.sd-field--disabled):hover .sd-field__control{border:1px solid #0075ff !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#cccccc;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#eeeeee;border-color:#cccccc;color:#888888;cursor:not-allowed !important}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;margin-right:12px}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__required-icon{margin-right:4px}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:12px;line-height:20px;color:#333333;white-space:nowrap}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:2px}sd-field .sd-field--has-label-inside .sd-field__wrapper .sd-field__label{margin-right:0;display:flex;align-items:center;justify-content:center;padding:3px 12px;border:1px solid #cccccc;border-right:none;border-radius:4px 0 0 4px;border-color:#aaaaaa;background-color:#f6f6f6}sd-field .sd-field__wrapper{width:100%;height:28px;display:flex;align-items:center;flex-flow:row nowrap;position:relative;color:#333333;cursor:pointer;-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__control{position:relative;width:100%;height:100%;display:flex;flex:1;border:1px solid #aaaaaa;border-radius:4px;background:white}sd-field .sd-field__wrapper .sd-field__control--label-inside{border-top-left-radius:0px;border-bottom-left-radius:0px}sd-field .sd-field--error:not(:hover) .sd-field__wrapper .sd-field__control{border:1px solid #fb4444 !important}sd-field .sd-field.sd-field--focus .sd-field__wrapper .sd-field__control,sd-field .sd-field.sd-field--hover .sd-field__wrapper .sd-field__control{border:1px solid #0075ff !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field .sd-field__error-message{color:#fb4444;font-size:12px;line-height:20px;margin-top:4px}`;
|
|
6132
|
+
const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field:not(.sd-field--disabled):hover .sd-field__control{border:1px solid #0075ff !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#cccccc;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#eeeeee;border-color:#cccccc;color:#888888;cursor:not-allowed !important}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;margin-right:12px}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__required-icon{margin-right:4px}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:12px;line-height:20px;color:#333333;white-space:nowrap}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:2px}sd-field .sd-field--has-label-inside .sd-field__wrapper .sd-field__label{margin-right:0;display:flex;align-items:center;justify-content:center;padding:3px 12px;border:1px solid #cccccc;border-right:none;border-radius:4px 0 0 4px;border-color:#aaaaaa;background-color:#f6f6f6}sd-field .sd-field__wrapper{width:100%;height:28px;display:flex;align-items:center;flex-flow:row nowrap;position:relative;color:#333333;cursor:pointer;-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__control{position:relative;width:100%;height:100%;display:flex;flex:1;border:1px solid #aaaaaa;border-radius:4px;background:white}sd-field .sd-field__wrapper .sd-field__control--label-inside{border-top-left-radius:0px;border-bottom-left-radius:0px}sd-field .sd-field--error:not(:hover) .sd-field__wrapper .sd-field__control{border:1px solid #fb4444 !important}sd-field .sd-field.sd-field--focus .sd-field__wrapper .sd-field__control,sd-field .sd-field.sd-field--hover .sd-field__wrapper .sd-field__control{border:1px solid #0075ff !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--pass .sd-field__wrapper .sd-field__control{border:1px solid #2bce6c !important}sd-field .sd-field .sd-field__error-message{color:#fb4444;font-size:12px;line-height:20px;margin-top:4px}`;
|
|
6133
6133
|
|
|
6134
6134
|
const FORM_PARENT_TAGS = [
|
|
6135
6135
|
'sd-select',
|
|
@@ -6249,15 +6249,15 @@ class SdField {
|
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
6251
|
render() {
|
|
6252
|
-
return (hAsync("div", { key: '
|
|
6252
|
+
return (hAsync("div", { key: '3c69abe493110b5665795706a9ae0e525f213aca', class: {
|
|
6253
6253
|
'sd-field': true,
|
|
6254
6254
|
'sd-field--has-label': !!this.label,
|
|
6255
6255
|
'sd-field--has-label-inside': !!this.label && this.insideLabel,
|
|
6256
6256
|
[this.fieldStatus]: !!this.fieldStatus,
|
|
6257
|
-
} }, hAsync("div", { key: '
|
|
6257
|
+
} }, hAsync("div", { key: 'decc6821b7172f5ecc2343472014c08674725904', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: 'ca5e93f049db10ecaaaab091fdf394ac4b55e292', class: {
|
|
6258
6258
|
'sd-field__control': true,
|
|
6259
6259
|
'sd-field__control--label-inside ': !!this.label && this.insideLabel,
|
|
6260
|
-
} }, hAsync("slot", { key: '
|
|
6260
|
+
} }, hAsync("slot", { key: '7ee38983d32985f4b4a035830bcdca0e14b2cf71' }))), this.errorMsg && hAsync("div", { key: 'c2d6ef860ced48657b906806f2618594b094ea79', class: "sd-field__error-message" }, this.errorMsg)));
|
|
6261
6261
|
}
|
|
6262
6262
|
renderLabel(label) {
|
|
6263
6263
|
if (!label)
|
|
@@ -6391,15 +6391,15 @@ class SdFilePicker {
|
|
|
6391
6391
|
render() {
|
|
6392
6392
|
const hasFiles = this.hasFiles();
|
|
6393
6393
|
const displayText = this.getDisplayText();
|
|
6394
|
-
return (hAsync("div", { key: '
|
|
6394
|
+
return (hAsync("div", { key: '659ab6f0e1fedadfbef1838def391aab28ae6e62', class: {
|
|
6395
6395
|
'sd-file-picker': true,
|
|
6396
6396
|
[this.getStatusClass()]: true,
|
|
6397
6397
|
'sd-file-picker--inline': this.inline,
|
|
6398
|
-
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '
|
|
6398
|
+
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '55ffb6c1b3ff502b555cb48a31301ac9b30701a4', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder }), hAsync("sd-icon", { key: 'b7755876e0f327d15a886a86592cd59bd3435202', name: "attachFile", size: 16, color: this.getIconColor(), class: "sd-file-picker__icon" }), hAsync("div", { key: 'e1e2004c64166eb2b611c48ca51cc793fb90434c', ref: el => (this.fileNamesRef = el), class: {
|
|
6399
6399
|
'sd-file-picker__text': true,
|
|
6400
6400
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
6401
6401
|
'sd-file-picker__text--active': hasFiles,
|
|
6402
|
-
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '
|
|
6402
|
+
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '0a3c122382cab2148a88fbd4fdc9ff1f7cde757b', name: "close", size: 12, color: "#888888", class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (hAsync("div", { key: '628717309bf16c0906e9ac21ecbf14a416eea8d8', class: "sd-file-picker__tooltip" }, displayText))));
|
|
6403
6403
|
}
|
|
6404
6404
|
static get watchers() { return {
|
|
6405
6405
|
"value": [{
|
|
@@ -6578,7 +6578,7 @@ class SdFloatingPopover {
|
|
|
6578
6578
|
this.close.emit();
|
|
6579
6579
|
}
|
|
6580
6580
|
render() {
|
|
6581
|
-
return hAsync("slot", { key: '
|
|
6581
|
+
return hAsync("slot", { key: '2f33d335a7cf00ace576aed610a0e77d711a5b10' });
|
|
6582
6582
|
}
|
|
6583
6583
|
static get style() { return sdFloatingPortalCss(); }
|
|
6584
6584
|
static get cmpMeta() { return {
|
|
@@ -6735,9 +6735,9 @@ class SdGuide {
|
|
|
6735
6735
|
};
|
|
6736
6736
|
render() {
|
|
6737
6737
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
6738
|
-
return (hAsync("div", { key: '
|
|
6738
|
+
return (hAsync("div", { key: '2a7d3d040d3fbe7d0c22afc62d67a848fbae67d9', class: "sd-guide", style: {
|
|
6739
6739
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
6740
|
-
} }, hAsync("sd-button", { key: '
|
|
6740
|
+
} }, hAsync("sd-button", { key: 'e354fa7a48aacabbd7688f9546d71ec138b4a648', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (hAsync("sd-portal", { key: '157583215cdba27ae493a07aaa3eb4a0e3923971', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: '6aaa8f4ee6f44225ee63ef740d7398e87207c0c0', style: { position: 'absolute', width: '0px', height: '0px' } }, hAsync("div", { key: '9184936963f96e2537b3713bd5ee38d0c058c72b', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, hAsync("sd-button", { key: 'a1f653f7e40f6ad4e97dca82e10d4f03843469fd', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), hAsync("div", { key: '561433ec3fcf6f9de4badd8e24ffaffbab4e62df', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: '69aafb073fa680f8353deccb860320da083ff121', name: "helpOutline", size: 24, color: "green_65" }), hAsync("h3", { key: '71f7fcb3068d572523c6bf53276e654feb1056f6', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), hAsync("ul", { key: '407db996ded71b9a5786b1e7967349517c7eb877', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
6741
6741
|
}
|
|
6742
6742
|
// 현재 2depth까지만 스타일 적용
|
|
6743
6743
|
renderListItem(message, depth = 0) {
|
|
@@ -7513,7 +7513,7 @@ const CheckFilled20 = (props) => (hAsync("svg", { ...props, width: "20", height:
|
|
|
7513
7513
|
|
|
7514
7514
|
const CheckFilled24 = (props) => (hAsync("svg", { ...props, width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM18.1299 8.46973C17.837 8.17703 17.3622 8.1769 17.0693 8.46973L10.8125 14.7275L7.09961 11.0146C6.80684 10.7221 6.33191 10.7223 6.03906 11.0146C5.74625 11.3075 5.7464 11.7823 6.03906 12.0752L10.1045 16.1416C10.495 16.5321 11.129 16.5321 11.5195 16.1416L18.1299 9.53027C18.4228 9.23738 18.4228 8.76262 18.1299 8.46973Z", fill: "currentColor" })));
|
|
7515
7515
|
|
|
7516
|
-
const
|
|
7516
|
+
const checkFilled = {
|
|
7517
7517
|
8: CheckFilled8,
|
|
7518
7518
|
10: CheckFilled10,
|
|
7519
7519
|
12: CheckFilled12,
|
|
@@ -7522,9 +7522,9 @@ const CheckFilled = {
|
|
|
7522
7522
|
24: CheckFilled24,
|
|
7523
7523
|
};
|
|
7524
7524
|
|
|
7525
|
-
var CheckFilled
|
|
7525
|
+
var CheckFilled = /*#__PURE__*/Object.freeze({
|
|
7526
7526
|
__proto__: null,
|
|
7527
|
-
|
|
7527
|
+
checkFilled: checkFilled
|
|
7528
7528
|
});
|
|
7529
7529
|
|
|
7530
7530
|
const CheckOutline8 = (props) => (hAsync("svg", { ...props, width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M4 0.0332031C6.19058 0.0333789 7.9668 1.80938 7.9668 4C7.96662 6.19047 6.19047 7.96662 4 7.9668C1.80939 7.96679 0.0333844 6.19057 0.0332031 4C0.0332031 1.80927 1.80927 0.0332059 4 0.0332031ZM4 0.632812C2.14064 0.632815 0.632812 2.14064 0.632812 4C0.632994 5.8592 2.14076 7.36621 4 7.36621C5.8591 7.36603 7.36603 5.8591 7.36621 4C7.36621 2.14075 5.85921 0.632988 4 0.632812ZM5.6543 2.78809C5.77145 2.67093 5.96097 2.67093 6.07812 2.78809C6.19518 2.90525 6.19525 3.09479 6.07812 3.21191L3.875 5.41504C3.72544 5.5646 3.48274 5.56529 3.33301 5.41602L1.97754 4.06055C1.86045 3.94345 1.86057 3.75389 1.97754 3.63672C2.0947 3.51956 2.28421 3.51956 2.40137 3.63672L3.60352 4.83887L5.6543 2.78809Z", fill: "currentColor" })));
|
|
@@ -7539,7 +7539,7 @@ const CheckOutline20 = (props) => (hAsync("svg", { ...props, width: "20", height
|
|
|
7539
7539
|
|
|
7540
7540
|
const CheckOutline24 = (props) => (hAsync("svg", { ...props, width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M12 0.25C18.4893 0.25 23.75 5.51065 23.75 12C23.75 18.4893 18.4893 23.75 12 23.75C5.51065 23.75 0.25 18.4893 0.25 12C0.25 5.51065 5.51065 0.25 12 0.25ZM12 1.75C6.33908 1.75 1.75 6.33908 1.75 12C1.75 17.6609 6.33908 22.25 12 22.25C17.6609 22.25 22.25 17.6609 22.25 12C22.25 6.33908 17.6609 1.75 12 1.75ZM17.0693 8.46973C17.3622 8.1769 17.837 8.17703 18.1299 8.46973C18.4228 8.76262 18.4228 9.23738 18.1299 9.53027L11.5195 16.1416C11.129 16.5321 10.495 16.5321 10.1045 16.1416L6.03906 12.0752C5.7464 11.7823 5.74625 11.3075 6.03906 11.0146C6.33191 10.7223 6.80684 10.7221 7.09961 11.0146L10.8125 14.7275L17.0693 8.46973Z", fill: "currentColor" })));
|
|
7541
7541
|
|
|
7542
|
-
const
|
|
7542
|
+
const checkOutline = {
|
|
7543
7543
|
8: CheckOutline8,
|
|
7544
7544
|
10: CheckOutline10,
|
|
7545
7545
|
12: CheckOutline12,
|
|
@@ -7548,9 +7548,9 @@ const CheckOutline = {
|
|
|
7548
7548
|
24: CheckOutline24,
|
|
7549
7549
|
};
|
|
7550
7550
|
|
|
7551
|
-
var CheckOutline
|
|
7551
|
+
var CheckOutline = /*#__PURE__*/Object.freeze({
|
|
7552
7552
|
__proto__: null,
|
|
7553
|
-
|
|
7553
|
+
checkOutline: checkOutline
|
|
7554
7554
|
});
|
|
7555
7555
|
|
|
7556
7556
|
const ClockFilled8 = (props) => (hAsync("svg", { ...props, width: "8", height: "8", viewBox: "0 0 8 8", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { d: "M4.00034 0.333313C6.02523 0.333489 7.66635 1.97537 7.66635 4.00031C7.66618 6.02509 6.02512 7.66614 4.00034 7.66632C1.9754 7.66632 0.333519 6.0252 0.333344 4.00031C0.333344 1.97526 1.97529 0.333313 4.00034 0.333313ZM4.00034 1.33331C3.81636 1.33331 3.66751 1.48239 3.66733 1.66632V3.99933C3.66733 4.18342 3.81624 4.33331 4.00034 4.33331H6.33334C6.51728 4.33313 6.66733 4.18331 6.66733 3.99933C6.66697 3.81565 6.51706 3.6665 6.33334 3.66632H4.33334V1.66632C4.33316 1.4825 4.18416 1.33349 4.00034 1.33331Z", fill: "currentColor" })));
|
|
@@ -8705,8 +8705,8 @@ const Icons = {
|
|
|
8705
8705
|
...CaretRight,
|
|
8706
8706
|
...CaretUp,
|
|
8707
8707
|
...Check,
|
|
8708
|
-
...CheckFilled
|
|
8709
|
-
...CheckOutline
|
|
8708
|
+
...CheckFilled,
|
|
8709
|
+
...CheckOutline,
|
|
8710
8710
|
...ClockFilled,
|
|
8711
8711
|
...ClockOutline,
|
|
8712
8712
|
...Close,
|
|
@@ -8782,7 +8782,7 @@ class SdIcon {
|
|
|
8782
8782
|
}
|
|
8783
8783
|
render() {
|
|
8784
8784
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
8785
|
-
return (hAsync("i", { key: '
|
|
8785
|
+
return (hAsync("i", { key: '1d6a48769c99bbfe9576016e24766b8c82ab570e', class: this.getIconClasses(), style: this.iconStyle }, hAsync(IconComponent, { key: '3fdb4195ef13656e79b402a4eae2fb0210fb3a97', color: this.resolvedColor })));
|
|
8786
8786
|
}
|
|
8787
8787
|
static get style() { return sdIconCss(); }
|
|
8788
8788
|
static get cmpMeta() { return {
|
|
@@ -8907,7 +8907,7 @@ class SdInput {
|
|
|
8907
8907
|
}
|
|
8908
8908
|
};
|
|
8909
8909
|
render() {
|
|
8910
|
-
return (hAsync("sd-field", { key: '
|
|
8910
|
+
return (hAsync("sd-field", { key: '87f02ba890fd952f89eb86d200318038137ba1a4', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("label", { key: '0bb5824067b33c178b1f60ececdccfe0a3d5f294', class: "sd-input__content", style: { width: '100%' } }, hAsync("slot", { key: '6f67712b4ca708ba511c57379a6b5118732f146a', name: "prefix" }), hAsync("input", { key: 'b337a1161dedb41ed29a690fa963c0ac60dd0c79', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type, 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: 'bf45d9fd71551dc6a3bb96cdc44512796beee923', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-icon", { key: 'aed0a5d9115ba8b7601dc62423349bee1a9978c7', name: "close", color: "grey_65", size: "16", class: "sd-input__clear-icon", onClick: async () => {
|
|
8911
8911
|
this.internalValue = '';
|
|
8912
8912
|
await this.formField?.sdValidate();
|
|
8913
8913
|
} })))));
|
|
@@ -8970,7 +8970,7 @@ class SdLoadingSpinner {
|
|
|
8970
8970
|
return resolveColor(this.color);
|
|
8971
8971
|
}
|
|
8972
8972
|
render() {
|
|
8973
|
-
return (hAsync(Fragment, { key: '
|
|
8973
|
+
return (hAsync(Fragment, { key: 'c3b3448fcc65334af3246f80157b195ec5595afe' }, hAsync("svg", { key: '24701b65d17e56434cf46b72dbd5acec208b5dc8', class: "sd-loading-spinner", width: "72px", height: "72px", viewBox: "25 25 50 50", style: { color: this.resolvedColor } }, hAsync("circle", { key: 'e19c68c082348d36eecd05fa561eee91182349f2', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
8974
8974
|
}
|
|
8975
8975
|
static get style() { return sdLoadingSpinnerCss(); }
|
|
8976
8976
|
static get cmpMeta() { return {
|
|
@@ -9221,6 +9221,7 @@ class SdNumberInput {
|
|
|
9221
9221
|
}
|
|
9222
9222
|
};
|
|
9223
9223
|
handleFocus = (event) => {
|
|
9224
|
+
this.focused = true;
|
|
9224
9225
|
this.focus?.emit(event);
|
|
9225
9226
|
};
|
|
9226
9227
|
handleBlur = async (event) => {
|
|
@@ -9291,17 +9292,17 @@ class SdNumberInput {
|
|
|
9291
9292
|
const inputStyles = {
|
|
9292
9293
|
textAlign: this.useButton ? 'center' : 'right',
|
|
9293
9294
|
};
|
|
9294
|
-
return (hAsync("sd-field", { key: '
|
|
9295
|
+
return (hAsync("sd-field", { key: '7aa387eeb5850052e121931b3f8183373b4319aa', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, hAsync("label", { key: 'f5bbb6c76e32de4aefe59c6958a38e1a560f05c9', class: {
|
|
9295
9296
|
'sd-number-input': true,
|
|
9296
9297
|
[this.getInputStatus()]: true,
|
|
9297
9298
|
'sd-number-input--with-buttons': this.useButton,
|
|
9298
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: '
|
|
9299
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: 'fc26b7cf0d121025c9a748b158640e03188d72d3', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (hAsync("div", { key: 'c9325ea7dd19c02fead55a0d63ac0b7b16143d08', class: "sd-number-input__buttons" }, hAsync("button", { key: 'ec96811ce7046a3fe9506ca0635db97413d8283a', type: "button", class: {
|
|
9299
9300
|
'sd-number-input__button': true,
|
|
9300
9301
|
'sd-number-input__button--decrement': true,
|
|
9301
|
-
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9302
|
+
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '70311a7723356ecc88125042d366bf567b0b5a2a', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), hAsync("button", { key: 'b7086218dc98fec4287e4becb0d834634fd52055', type: "button", class: {
|
|
9302
9303
|
'sd-number-input__button': true,
|
|
9303
9304
|
'sd-number-input__button--increment': true,
|
|
9304
|
-
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9305
|
+
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: 'b945a1561978dc4bba1868fa57652e94a6bcfc34', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
|
|
9305
9306
|
}
|
|
9306
9307
|
static get watchers() { return {
|
|
9307
9308
|
"value": [{
|
|
@@ -9425,12 +9426,12 @@ class SdPagination {
|
|
|
9425
9426
|
}
|
|
9426
9427
|
}
|
|
9427
9428
|
render() {
|
|
9428
|
-
return (hAsync("div", { key: '
|
|
9429
|
+
return (hAsync("div", { key: 'feed08139c382f91539bc316a967ed1738529688', class: this.paginationClasses }, hAsync("div", { key: '42c908d7a685f2acab29a94d040e4f4c513fff38', class: "prepend-btns" }, this.renderPrevButtons()), this.simple ? (hAsync("div", { class: "pagination-info" }, hAsync("span", { class: "current-page" }, this.currentPage), hAsync("span", null, "/"), hAsync("span", { class: "last-page" }, this.lastPage))) : (this.pageNumbers.map(n => (hAsync("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
9429
9430
|
'pagination-btn': true,
|
|
9430
9431
|
'pagination-btn--selected': this.currentPage === n,
|
|
9431
9432
|
}, disabled: this.currentPage === n, style: {
|
|
9432
9433
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
9433
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '
|
|
9434
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '2be11ae773c0bce71ecaf53f99daff3f5b2d567d', class: "append-btns" }, this.renderNextButtons())));
|
|
9434
9435
|
}
|
|
9435
9436
|
static get style() { return sdPaginationCss(); }
|
|
9436
9437
|
static get cmpMeta() { return {
|
|
@@ -9484,11 +9485,11 @@ class SdPopover {
|
|
|
9484
9485
|
this.showPopover = false;
|
|
9485
9486
|
};
|
|
9486
9487
|
render() {
|
|
9487
|
-
return (hAsync(Fragment, { key: '
|
|
9488
|
+
return (hAsync(Fragment, { key: '883bea0d5ef88bb63b4a1a2d778aedf0bce6f000' }, this.label ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (hAsync("sd-floating-portal", { key: 'f38658d537cd8cebb84e579b02c73209e8a81d3a', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, hAsync("div", { key: '472702d7d51c08051670012fc2e930f41ad7f1b5', class: {
|
|
9488
9489
|
'sd-floating-menu': true,
|
|
9489
9490
|
[`sd-floating-menu--${this.placement}`]: true,
|
|
9490
9491
|
[this.menuClass]: !!this.menuClass,
|
|
9491
|
-
} }, hAsync("i", { key: '
|
|
9492
|
+
} }, hAsync("i", { key: '1895eba14b74f393c7221db83fdf97e9a8f3a1aa', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: '4307eb8e750dc36cae5477b366a4ea08a59a5a45' })), hAsync("div", { key: '840d94cf1d4e3c63346cd48a2d47c1c0b0633046', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: 'ede807dfdb2efc2a8bf8f89ef597965092c79211', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (hAsync("div", { key: '613ea1b46810eec1958b735fc23811d66ff2ebf8', class: "sd-floating-menu__messages" }, this.messages.map(message => (hAsync("div", null, message))))), this.buttons.length > 0 && (hAsync("div", { key: '06712ed73687c0e99778d5fda6d75a4e07d815dd', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (hAsync("sd-button", { ...button })))))), this.useClose && (hAsync("button", { key: '20d628d8d31bd6464c26f3cf5ba894c5c3a2428f', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: 'cd1dcbe02ed55a25364e88621db5ab287eb7ed8e', name: "close", size: "12", color: "gery_55" }))))))));
|
|
9492
9493
|
}
|
|
9493
9494
|
static get watchers() { return {
|
|
9494
9495
|
"show": [{
|
|
@@ -9641,7 +9642,7 @@ class SdPortal {
|
|
|
9641
9642
|
this.close.emit();
|
|
9642
9643
|
}
|
|
9643
9644
|
render() {
|
|
9644
|
-
return hAsync("slot", { key: '
|
|
9645
|
+
return hAsync("slot", { key: 'ba2bf5df16f9bef0acef1ac8a08b090a23d02bc7' });
|
|
9645
9646
|
}
|
|
9646
9647
|
static get cmpMeta() { return {
|
|
9647
9648
|
"$flags$": 772,
|
|
@@ -9698,10 +9699,10 @@ class SdProgress {
|
|
|
9698
9699
|
return this.statusColor[this.progressStatus];
|
|
9699
9700
|
}
|
|
9700
9701
|
render() {
|
|
9701
|
-
return (hAsync("div", { key: '
|
|
9702
|
+
return (hAsync("div", { key: '43da9dac67e760bfe53b8db11c27eef7ef0d8b3b', style: {
|
|
9702
9703
|
'--progress-color': this.progressColor,
|
|
9703
9704
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
9704
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '
|
|
9705
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: 'af4b1c44f655546fede8ad548bddc6afb7810d2b', class: "sd-progress__label" }, this.label)));
|
|
9705
9706
|
}
|
|
9706
9707
|
renderBarProgress() {
|
|
9707
9708
|
return (hAsync("div", { class: `sd-progress__bar sd-progress__bar--${this.progressStatus}` }, hAsync("div", { class: ['sd-progress__bar__percent', this.progressPercentage < 100 ? 'proceed' : ''].join(' ') }), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.progressPercentage, "%"), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.progressPercentage, "%")));
|
|
@@ -10368,10 +10369,10 @@ class SdSelectDropdown {
|
|
|
10368
10369
|
this.isScrolled = scrollTop > 0;
|
|
10369
10370
|
};
|
|
10370
10371
|
render() {
|
|
10371
|
-
return (hAsync("div", { key: '
|
|
10372
|
+
return (hAsync("div", { key: 'ff55e2e133114accc2641a0025bdcf551eda3511', class: {
|
|
10372
10373
|
'sd-select-dropdown': true,
|
|
10373
10374
|
'sd-select-dropdown--ready': this.isDropdownReady,
|
|
10374
|
-
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: '
|
|
10375
|
+
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: 'bfcee14aa06a9a259dd8e67013ed1074c1f9c318', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (hAsync("slot", { name: `option-${option.value}` }, hAsync("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (hAsync("slot", { name: "option-placeholder" }, hAsync("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
|
|
10375
10376
|
}
|
|
10376
10377
|
static get watchers() { return {
|
|
10377
10378
|
"filteredOptions": [{
|
|
@@ -10557,7 +10558,7 @@ class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
10557
10558
|
this.handleOptionSelection(option);
|
|
10558
10559
|
};
|
|
10559
10560
|
render() {
|
|
10560
|
-
return (hAsync("sd-field", { key: '
|
|
10561
|
+
return (hAsync("sd-field", { key: 'e445d2c3f80d78be0e74b1f54371eb27d9c316e8', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, hAsync("div", { key: '9fad0ed744cafb9e1e5f16ee413f36edd8f2c1f3', class: {
|
|
10561
10562
|
'sd-select-multiple': true,
|
|
10562
10563
|
'sd-select-multiple--open': this.isOpen,
|
|
10563
10564
|
'sd-select-multiple--disabled': this.disabled,
|
|
@@ -11150,7 +11151,7 @@ class SdSelectOption {
|
|
|
11150
11151
|
}
|
|
11151
11152
|
};
|
|
11152
11153
|
render() {
|
|
11153
|
-
return (hAsync("div", { key: '
|
|
11154
|
+
return (hAsync("div", { key: 'a4fcca24b0bdde4f4665585c6cede84bd3b64d59', class: {
|
|
11154
11155
|
'sd-select__option': true,
|
|
11155
11156
|
'sd-select__option--selected': this.isSelected,
|
|
11156
11157
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -11236,7 +11237,7 @@ class SdSelectOptionGroup {
|
|
|
11236
11237
|
}
|
|
11237
11238
|
};
|
|
11238
11239
|
render() {
|
|
11239
|
-
return (hAsync("div", { key: '
|
|
11240
|
+
return (hAsync("div", { key: '8e88aacd2c3122a563fcf78bcbe9731b6a29d8c5', class: {
|
|
11240
11241
|
'sd-select__option-group': true,
|
|
11241
11242
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
11242
11243
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -11245,10 +11246,10 @@ class SdSelectOptionGroup {
|
|
|
11245
11246
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
11246
11247
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
11247
11248
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
11248
|
-
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, hAsync("div", { key: '
|
|
11249
|
+
}, onMouseEnter: () => (this.isHovered = true), onMouseLeave: () => (this.isHovered = false), style: this.optionStyle, "data-index": this.index, onClick: event => this.handleClick(this.option, this.isSelected, event) }, hAsync("div", { key: 'be4bc7f2867ea5c86505bc9284ac3de46f7077f9', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (hAsync("sd-checkbox", { key: '00063ab3a6f1d4f44671ac82dd05524968bec668', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
11249
11250
|
e.preventDefault();
|
|
11250
11251
|
this.handleClick(this.option, this.isSelected, e);
|
|
11251
|
-
} })), hAsync("span", { key: '
|
|
11252
|
+
} })), hAsync("span", { key: '802c908d44bf1c0db5d64bf4c8d4bab4ebe2b87c', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (hAsync("span", { key: 'efd26a2d6e4e2662410de3755b70a2a2585ad0c4', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
11252
11253
|
}
|
|
11253
11254
|
static get style() { return sdSelectOptionGroupCss(); }
|
|
11254
11255
|
static get cmpMeta() { return {
|
|
@@ -11297,17 +11298,17 @@ class SdSelectSearchInput {
|
|
|
11297
11298
|
input?.focus({ preventScroll: true });
|
|
11298
11299
|
}
|
|
11299
11300
|
render() {
|
|
11300
|
-
return (hAsync("div", { key: '
|
|
11301
|
+
return (hAsync("div", { key: 'b19a029ef82d876c984c1f827d7a0f29bb823f5d', class: {
|
|
11301
11302
|
'sd-select-search-input': true,
|
|
11302
11303
|
'sd-select-search-input--scrolled': !!this.isScrolled,
|
|
11303
|
-
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: '
|
|
11304
|
+
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: '8e27f40e1b507f0c5cb2d4bde48750cd0089a9da', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
|
|
11304
11305
|
this.searchInput.emit(String(event?.detail));
|
|
11305
11306
|
}, onSdFocus: () => {
|
|
11306
11307
|
this.searchFocus.emit();
|
|
11307
11308
|
}, onKeyDown: event => {
|
|
11308
11309
|
if (event.code === 'Enter')
|
|
11309
11310
|
event.stopPropagation();
|
|
11310
|
-
} }, hAsync("sd-icon", { key: '
|
|
11311
|
+
} }, hAsync("sd-icon", { key: '2b38a07cbc0bb0d7dd020ece45f18bdff4c262e5', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
|
|
11311
11312
|
}
|
|
11312
11313
|
static get style() { return sdSelectSearchInputCss(); }
|
|
11313
11314
|
static get cmpMeta() { return {
|
|
@@ -12402,10 +12403,10 @@ class SdTextarea {
|
|
|
12402
12403
|
}
|
|
12403
12404
|
render() {
|
|
12404
12405
|
const maxLengthCounter = this.getMaxLengthCounter();
|
|
12405
|
-
return (hAsync("div", { key: '
|
|
12406
|
+
return (hAsync("div", { key: '888d11be57629e83e1215daddab63351a323672f', class: {
|
|
12406
12407
|
'sd-textarea': true,
|
|
12407
12408
|
[this.getTextareaStatus()]: true,
|
|
12408
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: '
|
|
12409
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: '1f91a1e435b2dba1817ce181f91bdf3829142682', class: "sd-textarea__content" }, hAsync("textarea", { key: 'd883f4cdfd56220cf4382893f94a469f7afd7ff2', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, autofocus: this.autoFocus, maxLength: this.maxLength, onInput: this.handleInput.bind(this), onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) })), this.hasFooter() && (hAsync("div", { key: 'e9350d8e49eb87b2caddfc24079ece0d59c79739', class: "sd-textarea__footer" }, this.helpText !== undefined && hAsync("span", { key: 'cda9e2b8b0c15fbc7356597d4363d438688c8e4e', class: "sd-textarea__help-text" }, this.helpText), maxLengthCounter !== null && hAsync("span", { key: '491e990142e07837169e84a3fcc3e80c00bc7153', class: "sd-textarea__counter" }, maxLengthCounter)))));
|
|
12409
12410
|
}
|
|
12410
12411
|
static get watchers() { return {
|
|
12411
12412
|
"value": [{
|
|
@@ -12486,10 +12487,10 @@ class SdToast {
|
|
|
12486
12487
|
background: resolveColor(colorTokens.background),
|
|
12487
12488
|
text: resolveColor(colorTokens.text),
|
|
12488
12489
|
};
|
|
12489
|
-
return (hAsync("div", { key: '
|
|
12490
|
+
return (hAsync("div", { key: '8118f67a55a3080ea91ffdfbd929bbe3464ab044', style: {
|
|
12490
12491
|
'--sd-toast-bg': colors.background,
|
|
12491
12492
|
'--sd-toast-text': colors.text,
|
|
12492
|
-
} }, hAsync("div", { key: '
|
|
12493
|
+
} }, hAsync("div", { key: 'f05c16b0c8ef6de2d62161f80591cb3a82c24434', class: this.getContainerClasses(), role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: 'b16fee2031c4093c263229d2ef07ad8f6e69778b', class: "sd-toast__icon" }, hAsync("sd-icon", { key: 'cd8b4c4d9cbc329fdfc99236ca56a49658c0ca8c', name: this.icon, size: 16, color: colors.text }))), hAsync("div", { key: '888748872d886745ace2ef8491d7098528df8a46', class: "sd-toast__content" }, hAsync("span", { key: '31b285a6b6a03b833577b4a9fb860fd76e066cb6', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '61d1aacf70e7062abbedd2364474e7da990f485f', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '94aa75ef25ee18f0577d5539337152d654dab5c1', class: `sd-toast__button ${this.type === 'basicLight' ? 'text-white' : ''}`, label: this.buttonLabel, variant: "primary", color: this.type === 'basicLight' ? 'oceanblue_75' : 'white', size: "sm", onSdClick: this.handleButtonClick, style: this.type !== 'basicLight' ? { '--button-text-color': resolveColor('grey_95') } : {} })), this.useClose && (hAsync("button", { key: 'db0b83f7030feb5459597156c2d25f3437b91904', type: "button", class: "sd-toast__close", onClick: this.handleClose, "aria-label": "Close", title: "Close" }, hAsync("sd-icon", { key: 'a3aab6c19c32043182f2d05d2583271520458493', name: "close", size: 12, color: colors.text }))))));
|
|
12493
12494
|
}
|
|
12494
12495
|
static get style() { return sdToastCss(); }
|
|
12495
12496
|
static get cmpMeta() { return {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e,c as s,h as t,t as i}from"./p-4iQAU7kM.js";import{B as o,S as l}from"./p-Cc-cekjN.js";import{n as r}from"./p-CCwNgVmC.js";import{d}from"./p-B45-wHcP.js";import{d as a}from"./p-Csz5Om2E.js";import{d as n}from"./p-DOdjsjwr.js";import{d as c}from"./p-BkU8yMUR.js";import{d as h}from"./p-Bxs0Hp4o.js";import{d as p}from"./p-CIDMF6fj.js";import{d as m}from"./p-DojkP9rD.js";import{d as u}from"./p-CNgER9mk.js";import{d as f}from"./p-BDlbibwl.js";import{d as b}from"./p-IFDX7o1t.js";import{d as w}from"./p-Ay5V-5Fu.js";const g=e(class extends o{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.update=s(this,"sdUpdate"),this.dropDownShow=s(this,"sdDropDownShow")}get el(){return this}value=null;options=[];placeholder="선택";optionPlaceholder="선택지가 없습니다.";width="200px";dropdownHeight="260px";autoFocus=!1;disabled=!1;clearable=!1;searchable=!1;label="";insideLabel=!1;useLabelRequired=!1;labelTooltip="";labelTooltipProps=null;rules=[];error=!1;optionRenderer;isOpen=!1;itemIndex=-1;isScrolled=!1;update;dropDownShow;selectRef;triggerRef;formField;filteredOptions=this.options;dropDownWidth=this.width;name=r();async sdOpen(){this.isOpen=!0}async sdValidate(){this.formField?.sdValidate()}async sdReset(){this.formField?.sdReset()}async sdResetValidate(){this.formField?.sdResetValidation()}async sdFocus(){this.formField?.sdFocus()}async isOpenChanged(){this.onDropdownToggle(this.isOpen),this.dropDownShow?.emit({isOpen:this.isOpen}),!1===this.isOpen&&await(this.formField?.sdValidate())}componentWillLoad(){this.initializeEvent()}componentDidLoad(){this.autoFocus&&this.selectRef?.focus()}componentDidRender(){const e=this.triggerRef,s=e?.getBoundingClientRect();this.dropDownWidth=s?.width?`${s.width}px`:this.width}disconnectedCallback(){this.cleanupEvent()}handleDocumentClick(e){this.selectRef?.contains(e.target)||(this.isOpen=!1)}handleDocumentKeydown(e){if(e.stopPropagation(),["ArrowDown","ArrowUp","Enter","Escape"].includes(e.key))switch(e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":const s=new l(this.searchable,this.filteredOptions).getNextIndex(this.itemIndex,e.key);this.itemIndex=s;break;case"Enter":const t=this.filteredOptions[this.itemIndex];t&&!t.disabled&&(this.value=t.value,this.isOpen=!1);break;case"Escape":this.isOpen=!1}}getSelectedOption(){return this.options.find((e=>e.value===this.value))}closeDropdown(){this.isOpen=!1}handleTriggerClick=e=>{e.stopPropagation(),this.disabled||(this.isOpen=!this.isOpen,this.dropDownShow?.emit({isOpen:this.isOpen}))};handleOptionClick=e=>{const{option:s,event:t}=e;if(t.stopPropagation(),!s.disabled){this.value=s.value,this.isOpen=!1;const e=this.getSelectedOption();this.update?.emit({value:e?.value||null,option:e||null})}};render(){return t("sd-field",{key:"ad737ef5facfd4f2c8dfdbfc2c97010aa82ba39e",label:this.label,name:this.name,rules:this.rules,error:this.error,disabled:this.disabled,useLabelRequired:this.useLabelRequired,insideLabel:this.insideLabel,labelTooltip:this.labelTooltip,labelTooltipProps:this.labelTooltipProps,ref:e=>this.formField=e},t("div",{key:"ecff910f0d0d6b02f29c2f21a4264b1a573a9170",class:{"sd-select":!0,"sd-select--disabled":this.disabled,"sd-select--error":!!this.error,"sd-select--label":!!this.label},ref:e=>this.selectRef=e},this.renderTrigger(),this.renderDropdown()))}renderTrigger(){const e=this.getSelectedOption();return t("div",{class:"sd-select__trigger",tabindex:this.disabled?-1:0,onClick:this.handleTriggerClick,ref:e=>this.triggerRef=e},t("span",{class:"sd-select__value"},e?e.label:this.placeholder),this.clearable&&e&&!this.disabled&&t("sd-icon",{key:"clear-icon",name:"close",size:10,color:"#888",class:"sd-select__clear",onClick:async e=>{e.stopPropagation(),this.value=null,await(this.formField?.sdValidate())}}),t("sd-icon",{key:"arrow-icon",name:"arrowDown",color:"#888",class:{"sd-select__arrow":!0,"sd-select__arrow--open":this.isOpen}}))}renderDropdown(){if(!1===this.isOpen)return null;const e=this.selectRef?.querySelector(".sd-select__trigger")||this.selectRef;return t("sd-portal",{open:this.isOpen,parentRef:e,onSdClose:this.closeDropdown},t("sd-select-dropdown",{value:this.value,options:this.options,itemIndex:this.itemIndex,width:this.dropDownWidth,dropdownHeight:this.dropdownHeight,searchable:this.searchable,optionPlaceholder:this.optionPlaceholder,onSdOptionClick:({detail:e})=>this.handleOptionClick(e),onSdOptionFiltered:({detail:e})=>this.filteredOptions=e}))}static get watchers(){return{isOpen:[{isOpenChanged:0}]}}static get style(){return"sd-select{display:inline-flex;flex-flow:column nowrap;height:fit-content}sd-select *:focus,sd-select *:focus-visible,sd-select *:focus-within{outline:none !important}sd-select .sd-select{width:100%}sd-select .sd-select .sd-select__trigger{padding:4px 28px 4px 12px;display:flex;width:100%;height:100%;align-items:center}sd-select .sd-select .sd-select__trigger .sd-select__value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:12px;font-weight:400;text-align:left}sd-select .sd-select .sd-select__trigger .sd-select__clear{margin:0 4px;width:8px;height:8px;background-color:transparent;outline:none;border:none}sd-select .sd-select .sd-select__arrow{position:absolute;top:8px;right:8px;width:12px;height:12px;color:#888888;transition:transform 0.3s ease;margin-left:8px}sd-select .sd-select .sd-select__arrow--open{transform:rotate(180deg)}"}},[512,"sd-select",{value:[1032],options:[1040],placeholder:[1],optionPlaceholder:[1,"option-placeholder"],width:[1],dropdownHeight:[1,"dropdown-height"],autoFocus:[4,"auto-focus"],disabled:[4],clearable:[4],searchable:[4],label:[1],insideLabel:[4,"inside-label"],useLabelRequired:[4,"use-label-required"],labelTooltip:[1,"label-tooltip"],labelTooltipProps:[16],rules:[16],error:[4],optionRenderer:[16],isOpen:[32],itemIndex:[32],isScrolled:[32],sdOpen:[64],sdValidate:[64],sdReset:[64],sdResetValidate:[64],sdFocus:[64]},void 0,{isOpen:[{isOpenChanged:0}]}]);function k(){"undefined"!=typeof customElements&&["sd-select","sd-button","sd-checkbox","sd-field","sd-floating-portal","sd-icon","sd-input","sd-portal","sd-select-dropdown","sd-select-option","sd-select-search-input","sd-tooltip"].forEach((e=>{switch(e){case"sd-select":customElements.get(i(e))||customElements.define(i(e),g);break;case"sd-button":customElements.get(i(e))||d();break;case"sd-checkbox":customElements.get(i(e))||a();break;case"sd-field":customElements.get(i(e))||n();break;case"sd-floating-portal":customElements.get(i(e))||c();break;case"sd-icon":customElements.get(i(e))||h();break;case"sd-input":customElements.get(i(e))||p();break;case"sd-portal":customElements.get(i(e))||m();break;case"sd-select-dropdown":customElements.get(i(e))||u();break;case"sd-select-option":customElements.get(i(e))||f();break;case"sd-select-search-input":customElements.get(i(e))||b();break;case"sd-tooltip":customElements.get(i(e))||w()}}))}export{g as S,k as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as d,h as e,F as r}from"./p-BNCQkS1w.js";const a=class{constructor(e){d(this,e)}bordered=!1;sdClass="";render(){return e(r,{key:"e99e472e629ea22ebdeba34e87c6202bbde083fc"},e("div",{key:"a8ea9e169ecafd14f8f528dc1c5534d2790a494f",class:`sd-card ${this.bordered?"sd-card--bordered":""} ${this.sdClass}`},e("slot",{key:"60f687272faa536e182e9a65ea0c07a233194bd8"})))}};a.style="sd-card{display:block;height:fit-content}sd-card .sd-card{border-radius:8px;background:white}sd-card .sd-card--bordered{border:1px solid #e1e1e1}";export{a as sd_card}
|