@sellmate/design-system 0.0.55 → 0.0.56
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-button_24.cjs.entry.js +32 -32
- package/dist/cjs/sd-card.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-range-picker.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 +2 -2
- package/dist/cjs/sd-tbody_3.cjs.entry.js +3 -3
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/collection/components/sd-card/sd-card.css +1 -4
- package/dist/collection/components/sd-card/sd-card.js +6 -6
- package/dist/collection/components/sd-card/sd-card.js.map +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-file-picker/sd-file-picker.js +3 -3
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +4 -4
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.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 +2 -2
- package/dist/collection/components/sd-popover/sd-popover.js +2 -2
- 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-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 +2 -2
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
- package/dist/collection/components/sd-table/sd-td/sd-td.js +2 -2
- package/dist/collection/components/sd-table/sd-th/sd-th.js +1 -1
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-toggle-button/sd-toggle-button.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +4 -4
- package/dist/collection/components/sd-tooltip-portal/sd-tooltip-portal.js +1 -1
- package/dist/components/{p-BLidMbc_.js → p-6qJVnQg4.js} +3 -3
- package/dist/components/{p-BLidMbc_.js.map → p-6qJVnQg4.js.map} +1 -1
- package/dist/components/{p-D5BkkT2U.js → p-B8yBkdjE.js} +3 -3
- package/dist/components/{p-D5BkkT2U.js.map → p-B8yBkdjE.js.map} +1 -1
- package/dist/components/{p-vhe6g4Qt.js → p-BHHbLFXg.js} +3 -3
- package/dist/components/{p-vhe6g4Qt.js.map → p-BHHbLFXg.js.map} +1 -1
- package/dist/components/{p-DRGcUx0C.js → p-BREduhZA.js} +5 -5
- package/dist/components/{p-DRGcUx0C.js.map → p-BREduhZA.js.map} +1 -1
- package/dist/components/{p-CKhzpdPk.js → p-Bj4u0G5b.js} +3 -3
- package/dist/components/{p-CKhzpdPk.js.map → p-Bj4u0G5b.js.map} +1 -1
- package/dist/components/{p-CfKJNKMH.js → p-C4kdHNdl.js} +7 -7
- package/dist/components/{p-CfKJNKMH.js.map → p-C4kdHNdl.js.map} +1 -1
- package/dist/components/{p-njRAT-yp.js → p-C5U6Otnl.js} +3 -3
- package/dist/components/{p-njRAT-yp.js.map → p-C5U6Otnl.js.map} +1 -1
- package/dist/components/{p-DD9g6GYA.js → p-CNrsaSqW.js} +3 -3
- package/dist/components/{p-DD9g6GYA.js.map → p-CNrsaSqW.js.map} +1 -1
- package/dist/components/{p-nqDJZ_gy.js → p-CfivfPAO.js} +3 -3
- package/dist/components/{p-nqDJZ_gy.js.map → p-CfivfPAO.js.map} +1 -1
- package/dist/components/{p-DMqinLuj.js → p-D8KGixEs.js} +8 -8
- package/dist/components/{p-DMqinLuj.js.map → p-D8KGixEs.js.map} +1 -1
- package/dist/components/{p-BESbtjDi.js → p-DLrb7Zq3.js} +3 -3
- package/dist/components/{p-BESbtjDi.js.map → p-DLrb7Zq3.js.map} +1 -1
- package/dist/components/{p-DroKiQ6J.js → p-K42WRBPA.js} +9 -9
- package/dist/components/{p-DroKiQ6J.js.map → p-K42WRBPA.js.map} +1 -1
- package/dist/components/{p-CWwMpVqI.js → p-O3tgQfvT.js} +5 -5
- package/dist/components/{p-CWwMpVqI.js.map → p-O3tgQfvT.js.map} +1 -1
- package/dist/components/{p-QNYqIsvU.js → p-QpwY2yqY.js} +7 -7
- package/dist/components/{p-QNYqIsvU.js.map → p-QpwY2yqY.js.map} +1 -1
- package/dist/components/{p-MRYVk6Qh.js → p-w5tohH2H.js} +7 -7
- package/dist/components/{p-MRYVk6Qh.js.map → p-w5tohH2H.js.map} +1 -1
- package/dist/components/{p-DKoWHxRI.js → p-xme-KFvK.js} +3 -3
- package/dist/components/{p-DKoWHxRI.js.map → p-xme-KFvK.js.map} +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-card.js +4 -4
- package/dist/components/sd-card.js.map +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-date-picker.js +4 -4
- package/dist/components/sd-date-range-picker.js +5 -5
- package/dist/components/sd-file-picker.js +4 -4
- package/dist/components/sd-guide.js +5 -5
- 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 +2 -2
- package/dist/components/sd-number-input.js +5 -5
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +5 -5
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-progress.js +2 -2
- package/dist/components/sd-select-multiple-group.js +6 -6
- package/dist/components/sd-select-multiple.js +7 -7
- 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-backup.js +12 -12
- package/dist/components/sd-table.js +14 -14
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +2 -2
- package/dist/components/sd-th.js +1 -1
- package/dist/components/sd-toast-message.js +2 -2
- package/dist/components/sd-toggle-button.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip-portal.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/p-0893dbd0.entry.js +2 -0
- package/dist/design-system/{p-5acdd14a.entry.js → p-2633690f.entry.js} +2 -2
- package/dist/design-system/p-5576f0f0.entry.js +2 -0
- package/dist/design-system/{p-0d2814dc.entry.js → p-7ca988ab.entry.js} +2 -2
- package/dist/design-system/p-a7bdb6ba.entry.js +2 -0
- package/dist/design-system/{p-7b94b34e.entry.js → p-b5720c60.entry.js} +2 -2
- package/dist/design-system/{p-e5065700.entry.js → p-bdd9afaf.entry.js} +2 -2
- package/dist/design-system/p-ddfe63b8.entry.js +2 -0
- package/dist/design-system/p-ddfe63b8.entry.js.map +1 -0
- package/dist/design-system/{p-665c5c48.entry.js → p-e180c69c.entry.js} +2 -2
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-button_24.entry.js +32 -32
- package/dist/esm/sd-card.entry.js +3 -3
- package/dist/esm/sd-card.entry.js.map +1 -1
- package/dist/esm/sd-date-picker.entry.js +1 -1
- package/dist/esm/sd-date-range-picker.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 +2 -2
- package/dist/esm/sd-tbody_3.entry.js +3 -3
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/types/components/sd-card/sd-card.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.js +50 -50
- package/hydrate/index.mjs +50 -50
- package/package.json +2 -2
- package/dist/design-system/p-2c57bdea.entry.js +0 -2
- package/dist/design-system/p-3bc4effa.entry.js +0 -2
- package/dist/design-system/p-3bc4effa.entry.js.map +0 -1
- package/dist/design-system/p-97b271a7.entry.js +0 -2
- package/dist/design-system/p-fc3580fd.entry.js +0 -2
- /package/dist/design-system/{p-fc3580fd.entry.js.map → p-0893dbd0.entry.js.map} +0 -0
- /package/dist/design-system/{p-5acdd14a.entry.js.map → p-2633690f.entry.js.map} +0 -0
- /package/dist/design-system/{p-2c57bdea.entry.js.map → p-5576f0f0.entry.js.map} +0 -0
- /package/dist/design-system/{p-0d2814dc.entry.js.map → p-7ca988ab.entry.js.map} +0 -0
- /package/dist/design-system/{p-97b271a7.entry.js.map → p-a7bdb6ba.entry.js.map} +0 -0
- /package/dist/design-system/{p-7b94b34e.entry.js.map → p-b5720c60.entry.js.map} +0 -0
- /package/dist/design-system/{p-e5065700.entry.js.map → p-bdd9afaf.entry.js.map} +0 -0
- /package/dist/design-system/{p-665c5c48.entry.js.map → p-e180c69c.entry.js.map} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -3892,16 +3892,16 @@ class SdButton {
|
|
|
3892
3892
|
}; }
|
|
3893
3893
|
}
|
|
3894
3894
|
|
|
3895
|
-
const sdCardCss = () => `sd-card{display:block;height:fit-content
|
|
3895
|
+
const sdCardCss = () => `sd-card{display:block;height:fit-content;border-radius:8px}sd-card.sd-card--bordered{border:1px solid #e1e1e1}`;
|
|
3896
3896
|
|
|
3897
3897
|
class SdCard {
|
|
3898
3898
|
constructor(hostRef) {
|
|
3899
3899
|
registerInstance(this, hostRef);
|
|
3900
3900
|
}
|
|
3901
3901
|
bordered = true;
|
|
3902
|
-
|
|
3902
|
+
cardClassName = '';
|
|
3903
3903
|
render() {
|
|
3904
|
-
return (hAsync(Host, { key: '
|
|
3904
|
+
return (hAsync(Host, { key: '3182001dcfc5347e3995a31d8e333e01f285df5a', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.cardClassName}` }, hAsync("slot", { key: 'e2824b9cd65b9c4ba668f7f3ba933a361405b822' })));
|
|
3905
3905
|
}
|
|
3906
3906
|
static get style() { return sdCardCss(); }
|
|
3907
3907
|
static get cmpMeta() { return {
|
|
@@ -3909,7 +3909,7 @@ class SdCard {
|
|
|
3909
3909
|
"$tagName$": "sd-card",
|
|
3910
3910
|
"$members$": {
|
|
3911
3911
|
"bordered": [4],
|
|
3912
|
-
"
|
|
3912
|
+
"cardClassName": [1, "card-class-name"]
|
|
3913
3913
|
},
|
|
3914
3914
|
"$listeners$": undefined,
|
|
3915
3915
|
"$lazyBundleId$": "-",
|
|
@@ -4215,7 +4215,7 @@ class SdDatePicker {
|
|
|
4215
4215
|
this.isOpen = false;
|
|
4216
4216
|
};
|
|
4217
4217
|
render() {
|
|
4218
|
-
return (hAsync(Host, { key: '
|
|
4218
|
+
return (hAsync(Host, { key: '339b8a2e02592a3a7c28e91b11dc3693b4fcb9db', class: { 'sd-date-picker': true, 'sd-date-picker--disabled': this.disabled } }, hAsync("sd-input", { key: '5cb7ee0544864681985ba4e2b4cfb4ca7eb88ba7', 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: 'e465944f71022a7b7d7b6d719affa31bfc337ff8', 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: 'e4af5d3a2c5619d12f0b473b80eed941df1eea06', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: 'a36e286d284f3f2545eb83e60f76bb74db1ee045', class: "sd-date-picker__menu" }, hAsync("div", { key: '95aa3b00666772cdaac5c458226b03ca8d814205', class: "sd-date-picker__header" }, hAsync("div", { key: '92d3553d46fc3b9681050d5cb8b834bf4c661792', class: "year-nav" }, hAsync("button", { key: 'ee0500f7c95bfd54e01a3dacba1f5510d1a6bbe6', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, hAsync("sd-icon", { key: '16cf42b6e4d43858fc22745339c66ffb03862f00', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '9cd310082f173d1fadc046a0a7f6b1e4b63627e0', class: "year-nav__current" }, this.currentYear), hAsync("button", { key: '51d30f06c43c76226e995af3f3e3812ea48c2aad', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, hAsync("sd-icon", { key: '08b599372988f2563ccb6a25b64bbacef21e8c0b', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '3561b99251a0cc9ca5d81ed20369eb2d1702f253', class: "month-nav" }, hAsync("button", { key: '952c94808facf642dc219eaced8d58b3c2ceb389', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, hAsync("sd-icon", { key: 'd270c4e5934ebfff500d9a4252b9a4b0b6c24e41', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '3baf83873b332c1a3b340773a952b5f9a1b48bd4', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), hAsync("button", { key: 'fe744ca6c9896f8cf7bd2a00cdd4db94915be0e3', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, hAsync("sd-icon", { key: 'a00637d3bc309b429fd302b72ec940f3cdce8f84', name: "arrowRight", size: "12", color: "#CCCCCC" })))), hAsync("div", { key: '8a4c4fc3bfc55205912368f6d5f1e3acd7eadbdc', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("div", { key: day, class: "day" }, day)))), hAsync("div", { key: 'f4eaa43b531640ba7bb7b724cf52144f9870d520', class: "sd-date-picker__body" }, [
|
|
4219
4219
|
...this.calendar.prevMonthDays,
|
|
4220
4220
|
...this.calendar.days,
|
|
4221
4221
|
...this.calendar.afterMonthDays,
|
|
@@ -4407,10 +4407,10 @@ class SdDateRangePicker {
|
|
|
4407
4407
|
this.setHoverDate(hoverDate);
|
|
4408
4408
|
}
|
|
4409
4409
|
render() {
|
|
4410
|
-
return (hAsync(Host, { key: '
|
|
4410
|
+
return (hAsync(Host, { key: '5220efe80a57b9591b4238b0f0cd646d76709a4c', class: {
|
|
4411
4411
|
'sd-date-range-picker': true,
|
|
4412
4412
|
'sd-date-range-picker--disabled': this.disabled,
|
|
4413
|
-
} }, hAsync("sd-input", { key: '
|
|
4413
|
+
} }, hAsync("sd-input", { key: '0f7bc52cbe8722e16b3c82dc847b0230149f4e6a', 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: 'b21b38e104c2dd840af1670e4bedee84a4db10fa', 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: '56d74da3b2d783340d21503210eae4b89d540b9a', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.closeMenu }, hAsync("div", { key: '89b88b2b16bb6b553ba18b686cfdb41bcdccfb33', class: "sd-date-range-picker__menu" }, hAsync("div", { key: 'b811cdb96de5cd8400ef413fe2537a5e9b36720d', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, hAsync("button", { key: '588814d15c2a6c8b8efcad9215ab015366709ee7', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, hAsync("sd-icon", { key: '330c17fb132b33140fb8cdf72c0bc75eca9814eb', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("div", { key: 'b2f29d546ac19968045aa3803cea58693c9ac904', class: "header-label" }, this.prevYear), hAsync("button", { key: '183befff37c64110a8dc188b261aaa03330b7c9e', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, hAsync("sd-icon", { key: 'ea7ab0b1ff97a659b2adf3ab105945127fa5b066', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '13e7484f631f5045a49c1243c93ae211b3f70bec', 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
|
|
4414
4414
|
? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
|
|
4415
4415
|
: `${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)), onClick: () => this.handleDateClick(index, Number(day)), onMouseOver: () => this.handleDateHover(index, Number(day)) }))))))))))))));
|
|
4416
4416
|
}
|
|
@@ -4539,15 +4539,15 @@ class SdFilePicker {
|
|
|
4539
4539
|
render() {
|
|
4540
4540
|
const hasFiles = this.hasFiles();
|
|
4541
4541
|
const displayText = this.getDisplayText();
|
|
4542
|
-
return (hAsync("div", { key: '
|
|
4542
|
+
return (hAsync("div", { key: '467ea6ab920e23a8cf98db73f3ba5507e0634bc8', class: {
|
|
4543
4543
|
'sd-file-picker': true,
|
|
4544
4544
|
[this.getStatusClass()]: true,
|
|
4545
4545
|
'sd-file-picker--inline': this.inline,
|
|
4546
|
-
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '
|
|
4546
|
+
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '20ff1404f15beaeff2f4f3e0b1772aadbd986934', 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: '59e00f4ba49547aacf99dfab54c391c49895d8df', name: "attachFile", size: 16, color: this.getIconColor(), class: "sd-file-picker__icon" }), hAsync("div", { key: 'be74c5aebcc947aacf6841b15915cc98af5453e6', ref: el => (this.fileNamesRef = el), class: {
|
|
4547
4547
|
'sd-file-picker__text': true,
|
|
4548
4548
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
4549
4549
|
'sd-file-picker__text--active': hasFiles,
|
|
4550
|
-
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '
|
|
4550
|
+
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '0547537e85b8eb0f2678c3023eeec9241caf0ced', name: "close", size: 12, color: "#888888", class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (hAsync("div", { key: '86bf77f26f2aea00c31c9770c2142353d92d239c', class: "sd-file-picker__tooltip" }, displayText))));
|
|
4551
4551
|
}
|
|
4552
4552
|
static get watchers() { return {
|
|
4553
4553
|
"value": ["valueChanged"]
|
|
@@ -4627,9 +4627,9 @@ class SdGuide {
|
|
|
4627
4627
|
};
|
|
4628
4628
|
render() {
|
|
4629
4629
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
4630
|
-
return (hAsync(Host, { key: '
|
|
4630
|
+
return (hAsync(Host, { key: '73cc9c84ec4e921e83e9d0cde2971c5088cbb48f', style: {
|
|
4631
4631
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
4632
|
-
} }, hAsync("sd-button", { key: '
|
|
4632
|
+
} }, hAsync("sd-button", { key: '310afd874d062a91fab4b179a9a4e2f340a95175', 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: '133bb71a98efd9a15407aad915937caec728aa38', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: '4a39145ce20e1e37ebc3f639712f635231f34f2d', style: { position: 'absolute', width: '0px', height: '0px' } }, hAsync("div", { key: 'e71a8217b3969db9fadf9083835402cf69e62c3c', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, hAsync("sd-button", { key: 'f035ca961013d99305b0409f406fdd3063e11155', class: "sd-guide__popup__close", icon: "close", color: colors$1.grey_65, size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), hAsync("div", { key: 'a3d505a21abd77e85fac45a792ca7bb2b2448a6a', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: '785bfbe594936b56f407edd2349e19076cf6ece9', name: "helpOutline", size: 24, color: colors$1.green_65 }), hAsync("h3", { key: 'da5dfaed05a11ccef574580a4c18341646d59e4f', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), hAsync("ul", { key: '0faa4a71c1d77d21490436323c2d80c792397991', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
4633
4633
|
}
|
|
4634
4634
|
// 현재 2depth까지만 스타일 적용
|
|
4635
4635
|
renderListItem(message, depth = 0) {
|
|
@@ -6674,7 +6674,7 @@ class SdIcon {
|
|
|
6674
6674
|
}
|
|
6675
6675
|
render() {
|
|
6676
6676
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
6677
|
-
return (hAsync("i", { key: '
|
|
6677
|
+
return (hAsync("i", { key: '49cc8a7c8a0af18d920065232ef3e2127f6abb6c', class: this.getIconClasses(), style: this.iconStyle }, hAsync(IconComponent, { key: 'cb8464e125ecfddc96621b57183fb26f37043f51', color: this.resolvedColor })));
|
|
6678
6678
|
}
|
|
6679
6679
|
static get style() { return sdIconCss(); }
|
|
6680
6680
|
static get cmpMeta() { return {
|
|
@@ -6795,17 +6795,17 @@ class SdInput {
|
|
|
6795
6795
|
'--input-width': typeof this.width === 'number' ? `${this.width}px` : this.width,
|
|
6796
6796
|
}
|
|
6797
6797
|
: {};
|
|
6798
|
-
return (hAsync(Host, { key: '
|
|
6798
|
+
return (hAsync(Host, { key: '3babaa8e892b3e5e484d1bdbc28b0d209945ad69', style: inputWidth }, hAsync("div", { key: '31ea7cd711a33881144da3f0d4a6e98e6ec55244', class: {
|
|
6799
6799
|
'sd-input': true,
|
|
6800
6800
|
'sd-input--with-label': !!this.label,
|
|
6801
6801
|
'sd-input--inside-label': !!this.label && this.insideLabel,
|
|
6802
6802
|
'sd-input--barcode': !!this.barcode,
|
|
6803
6803
|
[this.getInputStatus()]: true,
|
|
6804
|
-
} }, this.label && (hAsync("div", { key: '
|
|
6804
|
+
} }, this.label && (hAsync("div", { key: '85596e41249b0f136c9c07bebe40e2bc2166ceba', class: {
|
|
6805
6805
|
'sd-input__label': true,
|
|
6806
|
-
} }, this.label)), hAsync("label", { key: '
|
|
6806
|
+
} }, this.label)), hAsync("label", { key: 'd942a7cc950506a5cf2bcfd8984d3981af18cc7f', class: {
|
|
6807
6807
|
'sd-input__container': true,
|
|
6808
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("slot", { key: '
|
|
6808
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("slot", { key: '3add3a8c845be67ccd31ae98b30f5989d7e7dbf1', name: "prefix" }), hAsync("input", { key: 'b7297ae85e0f07c8a5696cc7072833dc6ade82bc', ref: el => (this.nativeEl = el), class: `sd-input__native_element ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onChange: this.handleChange, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) }), hAsync("slot", { key: 'c6ae6cb3f58da00c0ae80261e41841889347b73d', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-icon", { key: '662f365d57707b631f7a58b18330666521846e84', name: "close", color: "#888", class: "sd-input__clear-icon", onClick: () => {
|
|
6809
6809
|
this.internalValue = '';
|
|
6810
6810
|
this.sdChange?.emit(this.internalValue);
|
|
6811
6811
|
this.sdInput?.emit(this.internalValue);
|
|
@@ -6857,7 +6857,7 @@ class SdLoadingSpinner {
|
|
|
6857
6857
|
return resolveColor(this.color);
|
|
6858
6858
|
}
|
|
6859
6859
|
render() {
|
|
6860
|
-
return (hAsync(Host, { key: '
|
|
6860
|
+
return (hAsync(Host, { key: 'a04395d2aaacdb74c06aebff6674ba82cc089a88' }, hAsync("svg", { key: 'e4a28205405702bb37b40aac4a73ae369605791d', class: "sd-loading-spinner", width: "72px", height: "72px", viewBox: "25 25 50 50", style: { color: this.resolvedColor } }, hAsync("circle", { key: '31e0b13b0ab8dbf824fc6b40b020e7eb290f05f5', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
6861
6861
|
}
|
|
6862
6862
|
static get style() { return sdLoadingSpinnerCss(); }
|
|
6863
6863
|
static get cmpMeta() { return {
|
|
@@ -7197,17 +7197,17 @@ class SdNumberInput {
|
|
|
7197
7197
|
const inputStyles = {
|
|
7198
7198
|
textAlign: this.useButton ? 'center' : 'right',
|
|
7199
7199
|
};
|
|
7200
|
-
return (hAsync(Host, { key: '
|
|
7200
|
+
return (hAsync(Host, { key: '00862eac1b5ac354058dfc63ac7cbae7ea675c2e', style: inputWidth, onFocus: this.handleFocus, onBlur: this.handleBlur }, this.useButton ? 'use buttons' : 'dont use buttons', this.label && hAsync("div", { key: '368ea9ee71d69fccd1f4793e990b1345e7d87cfe', class: "sd-number-input__label" }, this.label), hAsync("label", { key: '0f8d107bc23e308d6e9523f04199eccc39bd1268', class: {
|
|
7201
7201
|
'sd-number-input': true,
|
|
7202
7202
|
[this.getInputStatus()]: true,
|
|
7203
7203
|
'sd-number-input--with-buttons': this.useButton,
|
|
7204
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: '
|
|
7204
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: '7f6f4a677ba9460ea022ae2060a73872123d19be', 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, onChange: this.handleChange, onKeyDown: this.handleKeyDown, style: inputStyles }), this.useButton && (hAsync("div", { key: 'fd85f670c841fd7aee190fa040b4e228af3075a6', class: "sd-number-input__buttons" }, hAsync("button", { key: 'c49d7ca15872cf5dc9fa6e46a3a7bca02a10d4d1', type: "button", class: {
|
|
7205
7205
|
'sd-number-input__button': true,
|
|
7206
7206
|
'sd-number-input__button--decrement': true,
|
|
7207
|
-
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
7207
|
+
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '9fe03669015bbac1704f06bcacf8625c6937253d', name: "minus", size: 12, color: this.isDecrementDisabled() ? '#CCCCCC' : '#2D8DFF' })), hAsync("button", { key: '98ea1cc55299f03e1689bb9becc6e87ab5720d7a', type: "button", class: {
|
|
7208
7208
|
'sd-number-input__button': true,
|
|
7209
7209
|
'sd-number-input__button--increment': true,
|
|
7210
|
-
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
7210
|
+
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: 'b6d446dfdd0435b8c991901a2cb100af4ae4d8b5', name: "add", size: 12, color: this.isIncrementDisabled() ? '#CCCCCC' : '#2D8DFF' })))))));
|
|
7211
7211
|
}
|
|
7212
7212
|
static get watchers() { return {
|
|
7213
7213
|
"value": ["valueChanged"],
|
|
@@ -7320,12 +7320,12 @@ class SdPagination {
|
|
|
7320
7320
|
}
|
|
7321
7321
|
}
|
|
7322
7322
|
render() {
|
|
7323
|
-
return (hAsync("div", { key: '
|
|
7323
|
+
return (hAsync("div", { key: '0a55eddc4c434d3a7dc6afaa2386e68a6767300e', class: this.paginationClasses }, hAsync("div", { key: '8bb73906c74f1a8646286d0858ab6276531e4bd9', 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: {
|
|
7324
7324
|
'pagination-btn': true,
|
|
7325
7325
|
'pagination-btn--selected': this.currentPage === n,
|
|
7326
7326
|
}, disabled: this.currentPage === n, style: {
|
|
7327
7327
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
7328
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '
|
|
7328
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '2f6945f41f351153a9c182262ecef8c96d0ec1eb', class: "append-btns" }, this.renderNextButtons())));
|
|
7329
7329
|
}
|
|
7330
7330
|
static get style() { return sdPaginationCss(); }
|
|
7331
7331
|
static get cmpMeta() { return {
|
|
@@ -7379,11 +7379,11 @@ class SdPopover {
|
|
|
7379
7379
|
this.showPopover = false;
|
|
7380
7380
|
};
|
|
7381
7381
|
render() {
|
|
7382
|
-
return (hAsync(Fragment, { key: '
|
|
7382
|
+
return (hAsync(Fragment, { key: '9d9b2e9ab7dd6d7b3a79fdf8468c1921b64c8e6f' }, 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", onClick: () => (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-tooltip-portal", { key: '44e2139f21c20017b93d59888ca358fe78bb21db', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, hAsync("div", { key: 'eac4edb768cc3e738d9fa0a9680d85aab5d9c795', class: {
|
|
7383
7383
|
'sd-popover-menu': true,
|
|
7384
7384
|
[`sd-popover-menu--${this.placement}`]: true,
|
|
7385
7385
|
[this.menuClass]: !!this.menuClass,
|
|
7386
|
-
} }, hAsync("i", { key: '
|
|
7386
|
+
} }, hAsync("i", { key: '8b4228cabeebf775419ce25c89a609c5a24bbc86', class: `sd-popover-menu__arrow sd-popover-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: '794ea65c5d1bd4362b5245611f49bab0bdbdf451' })), hAsync("div", { key: 'f3a756194b51dbfea1c2c1a9f09d390a7a01add2', class: "sd-popover-menu__content" }, this.menuTitle && hAsync("div", { key: 'e3425e647b09ad929741811f5962855d4b489a34', class: "sd-popover-menu__title" }, this.menuTitle), this.messages.length > 0 && (hAsync("div", { key: '157ce5e1ceeee570cd12581471281124e91ccfe9', class: "sd-popover-menu__messages" }, this.messages.map(message => (hAsync("div", null, message))))), this.buttons.length > 0 && (hAsync("div", { key: '82ce6ee0c7ab22981785df2751aab973321db044', class: `sd-popover-menu__buttons sd-popover-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (hAsync("sd-button", { ...button })))))), this.useClose && (hAsync("button", { key: 'd5ce191f037db5c466f6de9ebdaabbbf3691f2b1', class: "sd-popover-menu__close-button", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: '1ee550de3c8d8eaa72a3faa4d7abece5b4725452', name: "close", size: "12", color: "#AAAAAA" }))))))));
|
|
7387
7387
|
}
|
|
7388
7388
|
static get watchers() { return {
|
|
7389
7389
|
"show": ["watchShowHandler"]
|
|
@@ -7534,7 +7534,7 @@ class SdPortal {
|
|
|
7534
7534
|
this.sdClose.emit();
|
|
7535
7535
|
}
|
|
7536
7536
|
render() {
|
|
7537
|
-
return hAsync("slot", { key: '
|
|
7537
|
+
return hAsync("slot", { key: '05a54c512300d0616811e11a795170490feff876' });
|
|
7538
7538
|
}
|
|
7539
7539
|
static get cmpMeta() { return {
|
|
7540
7540
|
"$flags$": 772,
|
|
@@ -7591,10 +7591,10 @@ class SdProgress {
|
|
|
7591
7591
|
return this.statusColor[this.progressStatus];
|
|
7592
7592
|
}
|
|
7593
7593
|
render() {
|
|
7594
|
-
return (hAsync(Host, { key: '
|
|
7594
|
+
return (hAsync(Host, { key: 'b254676f6936364f895fd8dd85edd33b95b9d52e', style: {
|
|
7595
7595
|
'--progress-color': this.progressColor,
|
|
7596
7596
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
7597
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '
|
|
7597
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: 'aeb82be4b54ec40dfec7dc8717faeea41c4fd0e8', class: "sd-progress__label" }, this.label)));
|
|
7598
7598
|
}
|
|
7599
7599
|
renderBarProgress() {
|
|
7600
7600
|
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, "%")));
|
|
@@ -8382,11 +8382,11 @@ class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
8382
8382
|
'--select-width': this.width || '200px',
|
|
8383
8383
|
'--select-dropdown-height': this.dropdownHeight || '260px',
|
|
8384
8384
|
};
|
|
8385
|
-
return (hAsync(Host, { key: '
|
|
8385
|
+
return (hAsync(Host, { key: 'ff0653e24d97db442399017df0380a17f96dffe4', style: style }, hAsync("div", { key: 'd5f6c3425abfcfdd81e47529659aa591fc604b0b', class: {
|
|
8386
8386
|
'sd-select-multiple': true,
|
|
8387
8387
|
'sd-select-multiple--open': this.isOpen,
|
|
8388
8388
|
'sd-select-multiple--disabled': this.disabled,
|
|
8389
|
-
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), hAsync("div", { key: '
|
|
8389
|
+
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), hAsync("div", { key: 'ee82c8383eb3e98729b2d55065b66e9a84cf5215', class: "sd-select-multiple__container" }, this.renderTrigger(), this.renderDropdown()))));
|
|
8390
8390
|
}
|
|
8391
8391
|
renderLabel(label) {
|
|
8392
8392
|
if (!label)
|
|
@@ -8936,7 +8936,7 @@ class SdSelectOption {
|
|
|
8936
8936
|
}
|
|
8937
8937
|
};
|
|
8938
8938
|
render() {
|
|
8939
|
-
return (hAsync(Host, { key: '
|
|
8939
|
+
return (hAsync(Host, { key: 'cfb999f7001240e6bd5dc302b24aade477671f74' }, hAsync("div", { key: '053e073fee23e99bd23a9b9fa95cb9ddabf9d6bf', class: {
|
|
8940
8940
|
'sd-select__option': true,
|
|
8941
8941
|
'sd-select__option--selected': this.isSelected,
|
|
8942
8942
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -9022,7 +9022,7 @@ class SdSelectOptionGroup {
|
|
|
9022
9022
|
}
|
|
9023
9023
|
};
|
|
9024
9024
|
render() {
|
|
9025
|
-
return (hAsync("div", { key: '
|
|
9025
|
+
return (hAsync("div", { key: 'ed43a2fa2ae5b182f1c99b272126fb3629617681', class: {
|
|
9026
9026
|
'sd-select__option-group': true,
|
|
9027
9027
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
9028
9028
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -9031,10 +9031,10 @@ class SdSelectOptionGroup {
|
|
|
9031
9031
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
9032
9032
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
9033
9033
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
9034
|
-
}, 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: '
|
|
9034
|
+
}, 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: '97de3f6a855bf737cbaa5f23f7986b2c5ee10c52', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (hAsync("sd-checkbox", { key: '7d8814dc060dd769f100be09d87edcc440cbf93d', checked: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
9035
9035
|
e.preventDefault();
|
|
9036
9036
|
this.handleClick(this.option, this.isSelected, e);
|
|
9037
|
-
} })), hAsync("span", { key: '
|
|
9037
|
+
} })), hAsync("span", { key: '8fd8bf56260bf49f42a0cb205868a45912e5a4de', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (hAsync("span", { key: 'eaa10fa1f13f4f6bc48b22967b1b31a2e894865c', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
9038
9038
|
}
|
|
9039
9039
|
static get style() { return sdSelectOptionGroupCss(); }
|
|
9040
9040
|
static get cmpMeta() { return {
|
|
@@ -9083,17 +9083,17 @@ class SdSelectSearchInput {
|
|
|
9083
9083
|
input?.focus({ preventScroll: true });
|
|
9084
9084
|
}
|
|
9085
9085
|
render() {
|
|
9086
|
-
return (hAsync("div", { key: '
|
|
9086
|
+
return (hAsync("div", { key: '6d05eba9ab9a951d126f703ec9366d8b425581b7', class: {
|
|
9087
9087
|
'sd-select-search-input': true,
|
|
9088
9088
|
'sd-select-search-input--scrolled': !!this.isScrolled,
|
|
9089
|
-
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: '
|
|
9089
|
+
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: 'e00b8cab50be8a096893c4cb4aceff0446cbfde4', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdInput: event => {
|
|
9090
9090
|
this.sdSearchInput.emit(String(event?.detail));
|
|
9091
9091
|
}, onSdFocus: () => {
|
|
9092
9092
|
this.sdSearchFocus.emit();
|
|
9093
9093
|
}, onKeyDown: event => {
|
|
9094
9094
|
if (event.code === 'Enter')
|
|
9095
9095
|
event.stopPropagation();
|
|
9096
|
-
} }, hAsync("sd-icon", { key: '
|
|
9096
|
+
} }, hAsync("sd-icon", { key: '951178d9cbe80fc944e708207b57949ecd6ed8fc', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
|
|
9097
9097
|
}
|
|
9098
9098
|
static get style() { return sdSelectSearchInputCss(); }
|
|
9099
9099
|
static get cmpMeta() { return {
|
|
@@ -10235,7 +10235,7 @@ class SdTbody {
|
|
|
10235
10235
|
registerInstance(this, hostRef);
|
|
10236
10236
|
}
|
|
10237
10237
|
render() {
|
|
10238
|
-
return (hAsync(Host, { key: '
|
|
10238
|
+
return (hAsync(Host, { key: '5c25fa054aaea539d47625d367adeb18d771f070' }, hAsync("slot", { key: '17e9fd219974d986e154d72c82a3ac145af7e7a8' })));
|
|
10239
10239
|
}
|
|
10240
10240
|
static get style() { return sdTbodyCss(); }
|
|
10241
10241
|
static get cmpMeta() { return {
|
|
@@ -10259,11 +10259,11 @@ class SdTd {
|
|
|
10259
10259
|
tdStyle;
|
|
10260
10260
|
tdClass;
|
|
10261
10261
|
render() {
|
|
10262
|
-
return (hAsync(Host, { key: '
|
|
10262
|
+
return (hAsync(Host, { key: 'caaefa12c86561d1bbe8d10e4f25b079def2124e', role: "cell", class: {
|
|
10263
10263
|
'sd-td': true,
|
|
10264
10264
|
[`sd-td--${this.align}`]: true,
|
|
10265
10265
|
[this.tdClass || '']: Boolean(this.tdClass),
|
|
10266
|
-
}, style: this.tdStyle }, hAsync("slot", { key: '
|
|
10266
|
+
}, style: this.tdStyle }, hAsync("slot", { key: '9ea243e4a6fcb4b6e1edc94b92eb4cc9d0e50a97' })));
|
|
10267
10267
|
}
|
|
10268
10268
|
static get style() { return sdTdCss(); }
|
|
10269
10269
|
static get cmpMeta() { return {
|
|
@@ -10288,7 +10288,7 @@ class SdTh {
|
|
|
10288
10288
|
registerInstance(this, hostRef);
|
|
10289
10289
|
}
|
|
10290
10290
|
render() {
|
|
10291
|
-
return (hAsync(Host, { key: '
|
|
10291
|
+
return (hAsync(Host, { key: '04e75c300b9147dc122570af4b1f4729d6ee1902', role: "columnheader" }, hAsync("slot", { key: '29cbcdc0f8b8087c4c8bf593a7dfe8cf56bcaf39' })));
|
|
10292
10292
|
}
|
|
10293
10293
|
static get style() { return sdThCss(); }
|
|
10294
10294
|
static get cmpMeta() { return {
|
|
@@ -10408,7 +10408,7 @@ class SdToggle {
|
|
|
10408
10408
|
this.sdChange.emit(newValue);
|
|
10409
10409
|
};
|
|
10410
10410
|
render() {
|
|
10411
|
-
return (hAsync("label", { key: '
|
|
10411
|
+
return (hAsync("label", { key: 'ba2398d6eb054c00c526ab1ada37b09e4d6602a3', "aria-checked": this.isChecked.toString(), "aria-disabled": this.disabled.toString(), role: "switch", "aria-label": this.label || 'toggle', class: this.toggleClasses }, hAsync("input", { key: 'b7da299e1dacd7d41bc1cd72d5bc135d5ecd52fd', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onInput: this.handleChange }), this.label && hAsync("span", { key: 'b6ddc87485036dee698eb099d7343edd4163d7b0', class: "sd-toggle__label" }, this.label), hAsync("div", { key: '2439852af329488d50907ee132a6fd819129a6a0', class: "sd-toggle__track" }, hAsync("div", { key: '72114f2bec9e0372b05d90df8099dc9aad812e3d', class: "sd-toggle__thumb" }))));
|
|
10412
10412
|
}
|
|
10413
10413
|
static get style() { return sdToggleCss(); }
|
|
10414
10414
|
static get cmpMeta() { return {
|
|
@@ -10465,7 +10465,7 @@ class SdToggleButton {
|
|
|
10465
10465
|
this.sdChange.emit(newValue);
|
|
10466
10466
|
};
|
|
10467
10467
|
render() {
|
|
10468
|
-
return (hAsync("label", { key: '
|
|
10468
|
+
return (hAsync("label", { key: '54d45d11b3944c61147d5bd0fa68078aa28737f1', class: this.buttonClasses, role: "button", "aria-pressed": this.isActive.toString(), "aria-disabled": this.disabled.toString(), "aria-label": this.label || 'toggle button' }, this.label, hAsync("input", { key: 'cafb7edbcaead5e487b756a006cfee9b9d890558', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
10469
10469
|
}
|
|
10470
10470
|
static get style() { return sdToggleButtonCss(); }
|
|
10471
10471
|
static get cmpMeta() { return {
|
|
@@ -10531,20 +10531,20 @@ class SdTooltip {
|
|
|
10531
10531
|
: {
|
|
10532
10532
|
onClick: () => (this.showTooltip = !this.showTooltip),
|
|
10533
10533
|
};
|
|
10534
|
-
return (hAsync(Fragment, { key: '
|
|
10534
|
+
return (hAsync(Fragment, { key: '1016ad941100e902068b5a7d7773a2dbf7ab0667' }, 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-tooltip", ...handleTrigger })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-tooltip", ...handleTrigger })), this.showTooltip && (hAsync("sd-tooltip-portal", { key: '8370b55d3bafa7a5ca429ee17c7555cfdb9e51a2', parentRef: this.buttonEl, onSdClose: () => this.handleClose(), placement: this.placement }, hAsync("div", { key: '94a8d13f88050792b3e307901c2545995d92fdaf', class: {
|
|
10535
10535
|
'sd-tooltip-menu': true,
|
|
10536
10536
|
[`sd-tooltip-menu--${this.type}`]: true,
|
|
10537
10537
|
[`sd-tooltip-menu--${this.placement}`]: true,
|
|
10538
10538
|
'sd-tooltip-menu--with-close': this.useClose,
|
|
10539
10539
|
[`bg-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
|
|
10540
10540
|
[`text-${SdTooltip.COLOR_OF_TYPE[this.type].text}`]: true,
|
|
10541
|
-
} }, hAsync("i", { key: '
|
|
10541
|
+
} }, hAsync("i", { key: 'b13f215dc7f51af86e7748a0ac565f62cbd936ef', class: `sd-tooltip-menu__arrow sd-tooltip-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: 'a043ccc525e18baed8c9b4d5cdd7651c4600b4e4', class: {
|
|
10542
10542
|
[`text-${SdTooltip.COLOR_OF_TYPE[this.type].background}`]: true,
|
|
10543
|
-
} })), hAsync("div", { key: '
|
|
10543
|
+
} })), hAsync("div", { key: '60e67cc4620b07153a8cef098446e0a292f08230', class: "sd-tooltip-menu__content", ref: el => {
|
|
10544
10544
|
if (el && this.slotContent && !el.hasChildNodes()) {
|
|
10545
10545
|
el.appendChild(this.slotContent.cloneNode(true));
|
|
10546
10546
|
}
|
|
10547
|
-
} }, !this.slotContent && hAsync("span", { key: '
|
|
10547
|
+
} }, !this.slotContent && hAsync("span", { key: 'e2e2afd2e2607be01d474c9329cd15b280214cd0' }, this.el.textContent)), this.useClose && (hAsync("div", { key: '25962f34a91f8838e32c25529cacf048b2bbcf6b', class: "sd-tooltip-menu__close-button" }, hAsync("button", { key: '5e37a4c9bace03a0c2a26edb0125ac0f25c65784', type: "button", "aria-label": "Close tooltip", title: "Close tooltip", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: 'ed7c97b16a507b8fad10d58f4e5a38061517b88a', name: "close", size: "12", color: "#AAAAAA" })))))))));
|
|
10548
10548
|
}
|
|
10549
10549
|
static get style() { return sdTooltipCss(); }
|
|
10550
10550
|
static get cmpMeta() { return {
|
|
@@ -10720,7 +10720,7 @@ class SdTooltipPortal {
|
|
|
10720
10720
|
this.sdClose.emit();
|
|
10721
10721
|
}
|
|
10722
10722
|
render() {
|
|
10723
|
-
return hAsync("slot", { key: '
|
|
10723
|
+
return hAsync("slot", { key: 'f26d3228d5c0965c2303e599259a6e93307009dc' });
|
|
10724
10724
|
}
|
|
10725
10725
|
static get cmpMeta() { return {
|
|
10726
10726
|
"$flags$": 777,
|
|
@@ -10746,7 +10746,7 @@ class SdTr {
|
|
|
10746
10746
|
registerInstance(this, hostRef);
|
|
10747
10747
|
}
|
|
10748
10748
|
render() {
|
|
10749
|
-
return (hAsync(Host, { key: '
|
|
10749
|
+
return (hAsync(Host, { key: '87cb4c63e4368106176b194602195b5a1e48c706', role: "row" }, hAsync("slot", { key: 'daeaecd458767c572d86cf05650230388f1a2cae' })));
|
|
10750
10750
|
}
|
|
10751
10751
|
static get style() { return sdTrCss(); }
|
|
10752
10752
|
static get cmpMeta() { return {
|