@sellmate/design-system 0.0.35 → 0.0.36
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_15.cjs.entry.js +13 -13
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-loading-spinner.cjs.entry.js +1 -1
- 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-select-option-group.cjs.entry.js +3 -3
- package/dist/cjs/sd-table-backup.cjs.entry.js +12 -6
- package/dist/cjs/sd-table-backup.entry.cjs.js.map +1 -1
- package/dist/cjs/sd-tag.cjs.entry.js +1 -1
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-guide/sd-guide.js +3 -3
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
- 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-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-table-backup/sd-table-backup.css +249 -0
- package/dist/collection/components/sd-table-backup/sd-table-backup.js +709 -0
- package/dist/collection/components/sd-table-backup/sd-table-backup.js.map +1 -0
- package/dist/collection/components/sd-tag/sd-tag.js +1 -1
- package/dist/components/{p-CSnKPDQz.js → p-0B7EuAJt.js} +5 -5
- package/dist/components/{p-CSnKPDQz.js.map → p-0B7EuAJt.js.map} +1 -1
- package/dist/components/{p-BeBw4eSm.js → p-18thvuHk.js} +3 -3
- package/dist/components/{p-BeBw4eSm.js.map → p-18thvuHk.js.map} +1 -1
- package/dist/components/{p-BEq3cGoC.js → p-C075_t2h.js} +3 -3
- package/dist/components/{p-BEq3cGoC.js.map → p-C075_t2h.js.map} +1 -1
- package/dist/components/{p-CrmdI2cD.js → p-C79lmNgp.js} +3 -3
- package/dist/components/{p-CrmdI2cD.js.map → p-C79lmNgp.js.map} +1 -1
- package/dist/components/{p-ybbnPl4X.js → p-Ce6LhsfH.js} +7 -7
- package/dist/components/{p-ybbnPl4X.js.map → p-Ce6LhsfH.js.map} +1 -1
- package/dist/components/{p-B8lMIjWB.js → p-CzYhjjIE.js} +7 -7
- package/dist/components/{p-B8lMIjWB.js.map → p-CzYhjjIE.js.map} +1 -1
- package/dist/components/{p-5yzkkdZ2.js → p-D2x4IHr5.js} +3 -3
- package/dist/components/{p-5yzkkdZ2.js.map → p-D2x4IHr5.js.map} +1 -1
- package/dist/components/{p-ntW8MKYi.js → p-D7IsBL9J.js} +5 -5
- package/dist/components/{p-ntW8MKYi.js.map → p-D7IsBL9J.js.map} +1 -1
- package/dist/components/{p-D-s8kK6P.js → p-DHI6oZcr.js} +3 -3
- package/dist/components/{p-D-s8kK6P.js.map → p-DHI6oZcr.js.map} +1 -1
- package/dist/components/{p-CqpahWAy.js → p-DNEKh1qk.js} +3 -3
- package/dist/components/{p-CqpahWAy.js.map → p-DNEKh1qk.js.map} +1 -1
- package/dist/components/{p-BEDQ2CIp.js → p-DTUSoHK4.js} +5 -5
- package/dist/components/{p-BEDQ2CIp.js.map → p-DTUSoHK4.js.map} +1 -1
- package/dist/components/{p-Du8-vyL0.js → p-DpcL5xdv.js} +3 -3
- package/dist/components/{p-Du8-vyL0.js.map → p-DpcL5xdv.js.map} +1 -1
- package/dist/components/{p-GNK9vrin.js → p-InrZhOLL.js} +3 -3
- package/dist/components/{p-GNK9vrin.js.map → p-InrZhOLL.js.map} +1 -1
- package/dist/components/{p-BzdIpn5T.js → p-kLlPK7H2.js} +4 -4
- package/dist/components/{p-BzdIpn5T.js.map → p-kLlPK7H2.js.map} +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 +5 -5
- package/dist/components/sd-date-range-picker.js +5 -5
- package/dist/components/sd-guide.js +6 -6
- 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-pagination.js +1 -1
- package/dist/components/sd-popover.js +4 -4
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-progress.js +2 -2
- package/dist/components/sd-select-multiple-group.js +5 -5
- 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.js +1 -1
- package/dist/components/sd-table-backup.js +22 -16
- package/dist/components/sd-table-backup.js.map +1 -1
- package/dist/components/sd-table.js +12 -12
- package/dist/components/sd-tag.js +1 -1
- 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-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-8b60af66.entry.js → p-0e24195b.entry.js} +2 -2
- package/dist/design-system/{p-01f44c51.entry.js → p-360dd6ab.entry.js} +2 -2
- package/dist/design-system/{p-88745dfe.entry.js → p-3e46bf2b.entry.js} +2 -2
- package/dist/design-system/p-51c4ae08.entry.js +2 -0
- package/dist/design-system/{p-d74bfbe4.entry.js → p-531260cb.entry.js} +2 -2
- package/dist/design-system/{p-7e18d4cf.entry.js → p-675d1b1c.entry.js} +2 -2
- package/dist/design-system/{p-78f90517.entry.js → p-9099eb05.entry.js} +2 -2
- package/dist/design-system/{p-a72c4b0c.entry.js → p-a83759ba.entry.js} +2 -2
- package/dist/design-system/p-c0461df6.entry.js +2 -0
- package/dist/design-system/p-c0461df6.entry.js.map +1 -0
- package/dist/design-system/p-c9109ae0.entry.js +2 -0
- package/dist/design-system/p-d8c1ce0a.entry.js +2 -0
- package/dist/design-system/{p-985be35d.entry.js.map → p-d8c1ce0a.entry.js.map} +1 -1
- package/dist/design-system/p-f4a737de.entry.js +2 -0
- package/dist/design-system/{p-d003ee3d.entry.js → p-ff7b8ecf.entry.js} +2 -2
- package/dist/design-system/sd-table-backup.entry.esm.js.map +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-button_15.entry.js +13 -13
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-date-picker.entry.js +2 -2
- package/dist/esm/sd-date-range-picker.entry.js +2 -2
- package/dist/esm/sd-loading-spinner.entry.js +1 -1
- 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-select-option-group.entry.js +3 -3
- package/dist/esm/sd-table-backup.entry.js +12 -6
- package/dist/esm/sd-table-backup.entry.js.map +1 -1
- package/dist/esm/sd-tag.entry.js +1 -1
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/types/components.d.ts +2 -2
- package/hydrate/index.js +46 -40
- package/hydrate/index.mjs +46 -40
- package/package.json +5 -3
- package/dist/collection/components/sd-table/sd-table-backup.js +0 -2743
- package/dist/collection/components/sd-table/sd-table-backup.js.map +0 -1
- package/dist/design-system/p-49f98f09.entry.js +0 -2
- package/dist/design-system/p-671a08a6.entry.js +0 -2
- package/dist/design-system/p-671a08a6.entry.js.map +0 -1
- package/dist/design-system/p-6a624672.entry.js +0 -2
- package/dist/design-system/p-985be35d.entry.js +0 -2
- package/dist/design-system/p-ef5ffaa2.entry.js +0 -2
- /package/dist/design-system/{p-8b60af66.entry.js.map → p-0e24195b.entry.js.map} +0 -0
- /package/dist/design-system/{p-01f44c51.entry.js.map → p-360dd6ab.entry.js.map} +0 -0
- /package/dist/design-system/{p-88745dfe.entry.js.map → p-3e46bf2b.entry.js.map} +0 -0
- /package/dist/design-system/{p-ef5ffaa2.entry.js.map → p-51c4ae08.entry.js.map} +0 -0
- /package/dist/design-system/{p-d74bfbe4.entry.js.map → p-531260cb.entry.js.map} +0 -0
- /package/dist/design-system/{p-7e18d4cf.entry.js.map → p-675d1b1c.entry.js.map} +0 -0
- /package/dist/design-system/{p-78f90517.entry.js.map → p-9099eb05.entry.js.map} +0 -0
- /package/dist/design-system/{p-a72c4b0c.entry.js.map → p-a83759ba.entry.js.map} +0 -0
- /package/dist/design-system/{p-49f98f09.entry.js.map → p-c9109ae0.entry.js.map} +0 -0
- /package/dist/design-system/{p-6a624672.entry.js.map → p-f4a737de.entry.js.map} +0 -0
- /package/dist/design-system/{p-d003ee3d.entry.js.map → p-ff7b8ecf.entry.js.map} +0 -0
- /package/dist/types/components/{sd-table → sd-table-backup}/sd-table-backup.d.ts +0 -0
|
@@ -15,7 +15,7 @@ import { SelectMultipleEvents, SelectOption as SelectOption1 } from "./types/sel
|
|
|
15
15
|
import { SelectOptionGroup } from "./components/sd-select-multiple-group/sd-select-multiple-group";
|
|
16
16
|
import { SelectMultipleEvents as SelectMultipleEvents1, SelectOption as SelectOption2, SelectOptionGroup as SelectOptionGroup1, SelectStyleProps } from "./components/sd-select/sd-select";
|
|
17
17
|
import { Row, SdTableColumn } from "./components/sd-table/sd-table";
|
|
18
|
-
import { Row as Row1, SdTableColumn as SdTableColumn1 } from "./components/sd-table/sd-table-backup";
|
|
18
|
+
import { Row as Row1, SdTableColumn as SdTableColumn1 } from "./components/sd-table-backup/sd-table-backup";
|
|
19
19
|
import { TagColor, TagSize } from "./components/sd-tag/sd-tag";
|
|
20
20
|
export { ButtonSize, ButtonVariant } from "./components/sd-button/sd-button";
|
|
21
21
|
export { CheckedType } from "./components/sd-checkbox/sd-checkbox";
|
|
@@ -27,7 +27,7 @@ export { SelectMultipleEvents, SelectOption as SelectOption1 } from "./types/sel
|
|
|
27
27
|
export { SelectOptionGroup } from "./components/sd-select-multiple-group/sd-select-multiple-group";
|
|
28
28
|
export { SelectMultipleEvents as SelectMultipleEvents1, SelectOption as SelectOption2, SelectOptionGroup as SelectOptionGroup1, SelectStyleProps } from "./components/sd-select/sd-select";
|
|
29
29
|
export { Row, SdTableColumn } from "./components/sd-table/sd-table";
|
|
30
|
-
export { Row as Row1, SdTableColumn as SdTableColumn1 } from "./components/sd-table/sd-table-backup";
|
|
30
|
+
export { Row as Row1, SdTableColumn as SdTableColumn1 } from "./components/sd-table-backup/sd-table-backup";
|
|
31
31
|
export { TagColor, TagSize } from "./components/sd-tag/sd-tag";
|
|
32
32
|
export namespace Components {
|
|
33
33
|
interface SdBadge {
|
package/hydrate/index.js
CHANGED
|
@@ -3682,7 +3682,7 @@ class SdBadge {
|
|
|
3682
3682
|
label = '';
|
|
3683
3683
|
render() {
|
|
3684
3684
|
const resolvedColor = resolveColor(this.color);
|
|
3685
|
-
return (hAsync(Host, { key: '
|
|
3685
|
+
return (hAsync(Host, { key: '6fc1c113b707f4419fa48c8b4b78be6a7bbf6b83' }, hAsync("div", { key: 'ab3297321ee0e6e742acd408901dce1b5894d200', class: `sd-badge sd-badge--${this.size}`, style: { '--sd-badge-color': resolvedColor } }, hAsync("div", { key: '02f42d0ba064db273d83671e9c271c543787daf8', class: "sd-badge__dot" }), hAsync("div", { key: 'f6a175282ab77e9a8ac2098029ac1aab5cb66190', class: "sd-badge__label" }, this.label))));
|
|
3686
3686
|
}
|
|
3687
3687
|
static get style() { return sdBadgeCss; }
|
|
3688
3688
|
static get cmpMeta() { return {
|
|
@@ -3789,7 +3789,7 @@ class SdCard {
|
|
|
3789
3789
|
bordered = true;
|
|
3790
3790
|
class = '';
|
|
3791
3791
|
render() {
|
|
3792
|
-
return (hAsync(Host, { key: '
|
|
3792
|
+
return (hAsync(Host, { key: 'f00cdc166da4589d81d732fb4bc84d0258efaccb' }, hAsync("div", { key: 'c640a9db7ef09eee390ca0c0e8484a5802d17cbd', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.class}` }, hAsync("slot", { key: '07421b4249bf7a94aa1a574011b33f7082fa984a' }))));
|
|
3793
3793
|
}
|
|
3794
3794
|
static get style() { return sdCardCss; }
|
|
3795
3795
|
static get cmpMeta() { return {
|
|
@@ -4100,9 +4100,9 @@ class SdDatePicker {
|
|
|
4100
4100
|
this.isOpen = false;
|
|
4101
4101
|
};
|
|
4102
4102
|
render() {
|
|
4103
|
-
return (hAsync(Host, { key: '
|
|
4103
|
+
return (hAsync(Host, { key: '056414534f658c5e77fedf40d94e578299b437cc', class: "sd-date-picker" }, hAsync("sd-input", { key: 'eb65e6bb246b604287088a3857681f2a18c06464', ref: el => (this.inputEl = el), value: this.date, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
|
|
4104
4104
|
margin: '0 0 0 8px',
|
|
4105
|
-
}, onClick: () => this.openMenu() }, hAsync("sd-icon", { key: '
|
|
4105
|
+
}, onClick: () => this.openMenu() }, hAsync("sd-icon", { key: 'd71e7a84bef6b956e77fb7f718568e8d1df59562', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: '0cb4ff03893ddf4a095760f326104d91bdb6265b', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: '7a3bbe3f4cd379d94832005653aacc166e6b66cf', class: "sd-date-picker__menu" }, hAsync("div", { key: '6b33cab1222e71e3004425b07afbdffef0ec0a6b', class: "sd-date-picker__header" }, hAsync("div", { key: 'acc16c94cfea8399ce5d210de7286760238c0963', class: "year-nav" }, hAsync("button", { key: '6f577329b27057306e163c0c92ae16eff29a15b4', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, hAsync("sd-icon", { key: 'c8174f406a3ba95d98ae31c6f4004f4178f6ac5f', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: 'cdcb96cd0fbf6abedcaaa7b5cca8a56c90b62284', class: "year-nav__current" }, this.currentYear), hAsync("button", { key: '9aba8e6ebde34b7a29e52525cff8fbe8a243ae6a', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, hAsync("sd-icon", { key: '423d3b35b56f32006edfd0bdf6f457dd46a591b5', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: 'c5dd3a1b495e48c2c980207591f161486042c361', class: "month-nav" }, hAsync("button", { key: '48265eec87bdb40c3189d07ef1711bf95bb55381', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, hAsync("sd-icon", { key: '7274e698f9c7a06369c8fe6064ec0acd9fce62c8', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '54e15aaad9ac9563f66a6bb4dc7b19f7dc01d7c0', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), hAsync("button", { key: '32da2302da74ef7bc8805138ce414b903d247878', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, hAsync("sd-icon", { key: '041809657b4288519ca476953be773403912c858', name: "arrowRight", size: "12", color: "#CCCCCC" })))), hAsync("div", { key: 'd32cd40e6df89c95f4b2639c6bc98f7156a09bc2', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("div", { key: day, class: "day" }, day)))), hAsync("div", { key: 'e6fafbf9ec82a8f3abe9d67c61279598498a7396', class: "sd-date-picker__body" }, [
|
|
4106
4106
|
...this.calendar.prevMonthDays,
|
|
4107
4107
|
...this.calendar.days,
|
|
4108
4108
|
...this.calendar.afterMonthDays,
|
|
@@ -4275,9 +4275,9 @@ class SdDateRangePicker {
|
|
|
4275
4275
|
this.isOpen = false;
|
|
4276
4276
|
};
|
|
4277
4277
|
render() {
|
|
4278
|
-
return (hAsync(Host, { key: '
|
|
4278
|
+
return (hAsync(Host, { key: '9c7457b54e433a167193eeaafa8a0e7755ca24db', class: "sd-date-range-picker" }, hAsync("sd-input", { key: '85b4c4fca2e6157ae7f6291593a20329086fe372', ref: el => (this.inputEl = el), value: `${this.dateRange[0]} ~ ${this.dateRange[1]}`, label: this.label, "inside-label": true, readonly: true, disabled: this.disabled, inputClass: "text-center", inputStyle: {
|
|
4279
4279
|
margin: '0 0 0 8px',
|
|
4280
|
-
}, onClick: () => this.openMenu() }, hAsync("sd-icon", { key: '
|
|
4280
|
+
}, onClick: () => this.openMenu() }, hAsync("sd-icon", { key: 'e38b9dde8571369ff85bf10baff71437b0cf48f4', slot: "prefix", name: "date", size: "16", color: "#737373", class: "date-icon", onClick: () => this.openMenu() })), this.isOpen && (hAsync("sd-portal", { key: '2f85011e2a47bb0717239da419fcd27c8410db81', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: '21f147563f6ab7c9a1a2b08cf1951bb11a8a0302', class: "sd-date-range-picker__menu" }, hAsync("div", { key: '2dad8cef33d07db263a73cd3760dbf44e33dd7ab', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, hAsync("button", { key: '53ccd475c6ebec5999158b2669878b0426e505d1', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, hAsync("sd-icon", { key: 'aba2465aae092388568006a7a968c27446476470', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("div", { key: 'd4384c1901a5e5221d55a18e014c0955af561660', class: "header-label" }, this.prevYear), hAsync("button", { key: '26f2e7f9da0f4571d4ca2cf0a668ceb4784af9c6', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, hAsync("sd-icon", { key: 'fc670a78e443dc7de8fbb05fe3233ae5bd6544d4', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: 'fb2157002f772dee6c4ff4b76cd3c942d4bb9965', 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
|
|
4281
4281
|
? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
|
|
4282
4282
|
: `${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 ===
|
|
4283
4283
|
this.dateUtil.formatDate(index === 0 ? this.prevYear : this.nextYear, index === 0 ? this.prevMonth : this.nextMonth, Number(day))), type: this.getDateBoxType(this.dateUtil.formatDate(index === 0 ? this.prevYear : this.nextYear, index === 0 ? this.prevMonth : this.nextMonth, Number(day))), isToday: today ===
|
|
@@ -4359,11 +4359,11 @@ class SdGuide {
|
|
|
4359
4359
|
};
|
|
4360
4360
|
render() {
|
|
4361
4361
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
4362
|
-
return (hAsync(Host, { key: '
|
|
4362
|
+
return (hAsync(Host, { key: 'cc560b500dc857dd2fb9817d5f870e702cfe6420', style: {
|
|
4363
4363
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
4364
|
-
} }, hAsync("sd-button", { key: '
|
|
4364
|
+
} }, hAsync("sd-button", { key: '4abbeb9eb5a021b790516ad6356ca61a8c81e30d', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', 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: 'acdee17ca7be22d52bbb7309430d3ce27bab8784', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: '8e7402bcf9308e9c3890a4ad55a54efe5f440c95', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, hAsync("sd-button", { key: '05eb16594e9a2b16974e957988149114ac2bc0f9', class: "sd-guide__popup__close", icon: "close", color: colors$1.grey_65, size: "md", variant: "ghost", noHover: true,
|
|
4365
4365
|
// buttonStyle={{ padding: '0px', minHeight: '0px' }}
|
|
4366
|
-
onSdClick: this.closeDropdown }), hAsync("div", { key: '
|
|
4366
|
+
onSdClick: this.closeDropdown }), hAsync("div", { key: 'fc36f51b032fd41e63d53024f0714fbf974b37a3', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: 'bb6a8005b45704029d7c8fdde7908d52c7fb2bd1', name: "helpOutline", size: 24, color: colors$1.green_65 }), hAsync("h3", { key: 'bafff977e7a4c36515c035fc05074d5445a111bb', class: "sd-guide__popup__title" }, this.label || GUIDE_LABEL[this.type])), hAsync("ul", { key: '1adafdaf539257ba4b61b958ef3a21362d5e44bf', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
|
|
4367
4367
|
}
|
|
4368
4368
|
// 현재 2depth까지만 스타일 적용
|
|
4369
4369
|
renderListItem(message, depth = 0) {
|
|
@@ -6408,7 +6408,7 @@ class SdIcon {
|
|
|
6408
6408
|
}
|
|
6409
6409
|
render() {
|
|
6410
6410
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
6411
|
-
return (hAsync("i", { key: '
|
|
6411
|
+
return (hAsync("i", { key: '1b3f72da8307068cb0723bbc66723bfcf15a4644', class: this.getIconClasses(), style: this.iconStyle }, hAsync(IconComponent, { key: 'a2526ffca360d28daf0f265822072e294ed27155', color: this.resolvedColor })));
|
|
6412
6412
|
}
|
|
6413
6413
|
static get style() { return sdIconCss; }
|
|
6414
6414
|
static get cmpMeta() { return {
|
|
@@ -6528,11 +6528,11 @@ class SdInput {
|
|
|
6528
6528
|
'--input-width': typeof this.width === 'number' ? `${this.width}px` : this.width,
|
|
6529
6529
|
}
|
|
6530
6530
|
: {};
|
|
6531
|
-
return (hAsync(Host, { key: '
|
|
6531
|
+
return (hAsync(Host, { key: 'bb677f1411303375222c7eadf7738d97de04c4ad', style: inputWidth }, this.label && hAsync("div", { key: '0d05e92148e90645bf8c61d94693eb74d0e37154', class: "sd-input__label" }, this.label), hAsync("label", { key: 'a6a9a4912b4e0e9fb44d9d273f73b88db804bd97', class: {
|
|
6532
6532
|
'sd-input': true,
|
|
6533
6533
|
[this.getInputStatus()]: true,
|
|
6534
6534
|
'sd-input--barcode': !!this.barcode,
|
|
6535
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("slot", { key: '
|
|
6535
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("slot", { key: 'df634eb250fc1dff27e1db4372b3c90c14f9cd79', name: "prefix" }), hAsync("input", { key: '0d2e5619efef215cd7c9552a015422bf9c036d35', 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: 'c139e8cb7691263e1f4ab2e1e0eadc8284303a39', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-icon", { key: 'b4e2a13aabf0257ff72d982197b8eab99ad6d441', name: "close", color: "#888", class: "sd-input__clear-icon", onClick: () => {
|
|
6536
6536
|
this.internalValue = '';
|
|
6537
6537
|
this.sdChange?.emit(this.internalValue);
|
|
6538
6538
|
this.sdInput?.emit(this.internalValue);
|
|
@@ -6579,7 +6579,7 @@ class SdLoadingSpinner {
|
|
|
6579
6579
|
registerInstance(this, hostRef);
|
|
6580
6580
|
}
|
|
6581
6581
|
render() {
|
|
6582
|
-
return (hAsync(Host, { key: '
|
|
6582
|
+
return (hAsync(Host, { key: '8ab87f8cf1e002856b6721de5ca5313ccafb3265' }, hAsync("svg", { key: 'da44064be6ab5c19d8517eb4da37c4849997715b', class: "sd-loading-spinner text-positive", width: "72px", height: "72px", viewBox: "25 25 50 50" }, hAsync("circle", { key: 'f446e24aabaf694e4158ec7e91ad4c39e33b4f91', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
6583
6583
|
}
|
|
6584
6584
|
static get style() { return sdLoadingSpinnerCss; }
|
|
6585
6585
|
static get cmpMeta() { return {
|
|
@@ -6672,12 +6672,12 @@ class SdPagination {
|
|
|
6672
6672
|
}
|
|
6673
6673
|
}
|
|
6674
6674
|
render() {
|
|
6675
|
-
return (hAsync("div", { key: '
|
|
6675
|
+
return (hAsync("div", { key: 'ee07e420809eca9641ab325d38c48a054b9e04de', class: this.paginationClasses }, hAsync("div", { key: 'a7b7f129832a465fd4426cf142385f37461a65b7', 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: {
|
|
6676
6676
|
'pagination-btn': true,
|
|
6677
6677
|
'pagination-btn--selected': this.currentPage === n,
|
|
6678
6678
|
}, disabled: this.currentPage === n, style: {
|
|
6679
6679
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
6680
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '
|
|
6680
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: 'c1a8fd3d61d24652a17ec30ed436c90c77a19144', class: "append-btns" }, this.renderNextButtons())));
|
|
6681
6681
|
}
|
|
6682
6682
|
static get watchers() { return {
|
|
6683
6683
|
"currentPage": ["onPropChange"],
|
|
@@ -6736,11 +6736,11 @@ class SdPopover {
|
|
|
6736
6736
|
this.showPopover = false;
|
|
6737
6737
|
};
|
|
6738
6738
|
render() {
|
|
6739
|
-
return (hAsync(Fragment, { key: '
|
|
6739
|
+
return (hAsync(Fragment, { key: 'a58d208a0a9ba1e954568512f1dbe0df88922623' }, 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: () => (console.log('click popover'), (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: () => (console.log('click popover'), (this.showPopover = !this.showPopover)) })), this.showPopover && (hAsync("sd-tooltip-portal", { key: '7ffbc49de8f33edbc05beec6cb554820bdbde2b6', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, hAsync("div", { key: 'fcf1b9069831494c3c2ee5e274037c211f342993', class: {
|
|
6740
6740
|
'sd-popover-menu': true,
|
|
6741
6741
|
[`sd-popover-menu--${this.placement}`]: true,
|
|
6742
6742
|
[this.menuClass]: !!this.menuClass,
|
|
6743
|
-
} }, hAsync("i", { key: '
|
|
6743
|
+
} }, hAsync("i", { key: 'e1bd244e2c8c2e1c8a4759f96ce44e5cdda41bcc', class: `sd-popover-menu__arrow sd-popover-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: '36cf86a871f7454f2916ce8157e7d9234d808666' })), hAsync("div", { key: '8fcd872f31d3dfcad2b8b7d26c7956368289d8cf', class: "sd-popover-menu__content" }, this.menuTitle && hAsync("div", { key: '435f956e668910900948999a2ae23a7ffbdf67cd', class: "sd-popover-menu__title" }, this.menuTitle), this.messages.length > 0 && (hAsync("div", { key: '80eaa27446106e6380712fb00ad9df4752ebb70b', class: "sd-popover-menu__messages" }, this.messages.map(message => (hAsync("div", null, message))))), this.buttons.length > 0 && (hAsync("div", { key: 'b4845d8ac339559c2b612a219517a6addb47aaca', 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: '56ab62d73d4e71d871165d28adf7ecd4efd92870', class: "sd-popover-menu__close-button", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: 'ea93c1a46baef7cb4b7a849b8744043afc11de79', name: "close", size: "12", color: "#AAAAAA" }))))))));
|
|
6744
6744
|
}
|
|
6745
6745
|
static get watchers() { return {
|
|
6746
6746
|
"show": ["watchShowHandler"]
|
|
@@ -6891,7 +6891,7 @@ class SdPortal {
|
|
|
6891
6891
|
this.sdClose.emit();
|
|
6892
6892
|
}
|
|
6893
6893
|
render() {
|
|
6894
|
-
return hAsync("slot", { key: '
|
|
6894
|
+
return hAsync("slot", { key: 'f1445e7060928e48032fbed8f3b7604e626850c2' });
|
|
6895
6895
|
}
|
|
6896
6896
|
static get cmpMeta() { return {
|
|
6897
6897
|
"$flags$": 772,
|
|
@@ -6928,10 +6928,10 @@ class SdProgress {
|
|
|
6928
6928
|
error: '#FB4444',
|
|
6929
6929
|
};
|
|
6930
6930
|
render() {
|
|
6931
|
-
return (hAsync(Host, { key: '
|
|
6931
|
+
return (hAsync(Host, { key: '5ac52da4809e45fc5bc69991aea3bd423b72ffdc', style: {
|
|
6932
6932
|
'--progress-color': this.statusColor[this.status],
|
|
6933
6933
|
'--progress-percentage': `${this.percentage}%`,
|
|
6934
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '
|
|
6934
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '7758a60580ab05cd2dd396b16cc4483d890e0498', class: "sd-progress__label" }, this.label)));
|
|
6935
6935
|
}
|
|
6936
6936
|
renderBarProgress() {
|
|
6937
6937
|
return (hAsync("div", { class: `sd-progress__bar sd-progress__bar--${this.status}` }, hAsync("div", { class: ['sd-progress__bar__percent', this.percentage < 100 ? 'proceed' : ''].join(' ') }), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--left" }, this.percentage, "%"), hAsync("div", { class: "sd-progress__bar__indicator sd-progress__bar__indicator--right" }, this.percentage, "%")));
|
|
@@ -7559,11 +7559,11 @@ class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
7559
7559
|
'--select-width': this.width || '200px',
|
|
7560
7560
|
'--select-dropdown-height': this.dropdownHeight || '260px',
|
|
7561
7561
|
};
|
|
7562
|
-
return (hAsync(Host, { key: '
|
|
7562
|
+
return (hAsync(Host, { key: '5dd79017c9796e6412984675fcd3ec2d03e32012', style: style }, hAsync("div", { key: '777e5c8c777fb421c06ccc99ad114077918d3091', class: {
|
|
7563
7563
|
'sd-select-multiple': true,
|
|
7564
7564
|
'sd-select-multiple--open': this.isOpen,
|
|
7565
7565
|
'sd-select-multiple--disabled': this.disabled,
|
|
7566
|
-
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), hAsync("div", { key: '
|
|
7566
|
+
}, ref: el => (this.selectRef = el) }, this.renderLabel(this.label), hAsync("div", { key: '897dbc13dddd89e3bf3be9b77efe5aa04600ea1f', class: "sd-select-multiple__container" }, this.renderTrigger(), this.renderDropdown()))));
|
|
7567
7567
|
}
|
|
7568
7568
|
renderLabel(label) {
|
|
7569
7569
|
if (!label)
|
|
@@ -8092,7 +8092,7 @@ class SdSelectOption {
|
|
|
8092
8092
|
}
|
|
8093
8093
|
};
|
|
8094
8094
|
render() {
|
|
8095
|
-
return (hAsync(Host, { key: '
|
|
8095
|
+
return (hAsync(Host, { key: '56d2ed3525521a59eb3f0d8231a53259ebd22424' }, hAsync("div", { key: '200849af32a94d4c9aeb35760ce3d8396da45836', class: {
|
|
8096
8096
|
'sd-select__option': true,
|
|
8097
8097
|
'sd-select__option--selected': this.isSelected,
|
|
8098
8098
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -8178,7 +8178,7 @@ class SdSelectOptionGroup {
|
|
|
8178
8178
|
}
|
|
8179
8179
|
};
|
|
8180
8180
|
render() {
|
|
8181
|
-
return (hAsync("div", { key: '
|
|
8181
|
+
return (hAsync("div", { key: 'e873486c47436a1cb2e3797dfe06b89874429e18', class: {
|
|
8182
8182
|
'sd-select__option-group': true,
|
|
8183
8183
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
8184
8184
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -8187,10 +8187,10 @@ class SdSelectOptionGroup {
|
|
|
8187
8187
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
8188
8188
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
8189
8189
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
8190
|
-
}, 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: '
|
|
8190
|
+
}, 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: '7a54f43c2f654f26ff44cb039136488b17492336', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (hAsync("sd-checkbox", { key: 'ffe73a278e2e4869b3389b15268ab3c6d1117d47', checked: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
8191
8191
|
e.preventDefault();
|
|
8192
8192
|
this.handleClick(this.option, this.isSelected, e);
|
|
8193
|
-
} })), hAsync("span", { key: '
|
|
8193
|
+
} })), hAsync("span", { key: '7c05471592fd30b12b94d158b11c76e98f4634ef', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (hAsync("span", { key: 'd395b359af93878867f61990741d174bb81cd959', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
8194
8194
|
}
|
|
8195
8195
|
static get style() { return sdSelectOptionGroupCss; }
|
|
8196
8196
|
static get cmpMeta() { return {
|
|
@@ -8215,7 +8215,7 @@ class SdSelectOptionGroup {
|
|
|
8215
8215
|
}; }
|
|
8216
8216
|
}
|
|
8217
8217
|
|
|
8218
|
-
const sdTableCss
|
|
8218
|
+
const sdTableCss = ".sd-table__wrapper .sd-table__container .sd-table__middle{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar{opacity:0;background:#e5e5e5}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:horizontal{height:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:vertical{width:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-thumb{height:80px;background-color:#cccccc;border-radius:4px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-track{background-color:transparent}.sd-table__wrapper{height:var(--table-height, auto);width:var(--table-width, 100%);color:#222222}.sd-table__wrapper .sd-table__container{width:100%;height:auto;border:1px solid #e1e1e1;border-radius:8px;font-size:12px;overflow:hidden}.sd-table__wrapper .sd-table__container .sd-table__middle{overflow:auto;will-change:scroll-position;height:var(--table-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table{background-color:white;display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;position:relative}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable td.sd-td--selected,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable th.sd-th--selected{width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-header thead{position:sticky;top:0;z-index:120}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-right{position:sticky;background-color:#f5faff;z-index:110 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-right{position:sticky;background-color:white;z-index:100 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-left{left:var(--sticky-left-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-right{right:var(--sticky-right-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-cell{position:sticky;z-index:102;background-color:#f5faff}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-cell{position:sticky;z-index:101;background-color:white}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge:after{content:\"\";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge:after{content:\"\";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead{opacity:0.4}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead tr th.sd-th{border-bottom:1px solid rgba(225, 225, 225, 0.4) !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-td,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-th,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table .sd-th__content--label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead{height:36px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr{width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th{background:#f5faff;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #e1e1e1;-webkit-user-select:none;user-select:none;position:relative}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th.sd-th .sd-th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th.sd-th .sd-th__content--left{justify-content:flex-start}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th.sd-th .sd-th__content--center{justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th.sd-th .sd-th__content--right{justify-content:flex-end}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead sd-tr sd-th.sd-th .sd-th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #cccccc;border-right:1px solid #cccccc}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody .sd-table__loading{position:absolute;top:0;left:0;width:100%;height:calc(var(--table-height, auto) - 36px);min-height:calc(100% - 36px);background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody sd-tr:last-of-type sd-td{border-bottom:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody sd-tr sd-td{height:44px;padding:0 16px;border-bottom:1px solid #e1e1e1;background:white;vertical-align:middle}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody sd-tr sd-td.sd-td--left{text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody sd-tr sd-td.sd-td--center{text-align:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-tbody sd-tr sd-td.sd-td--right{text-align:right}.sd-table__wrapper .sd-table__container .sd-table__bottom{background:white;text-align:center}.sd-table__wrapper .sd-table__pagination{position:relative;background:#f9f9f9;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e1e1;border-top:none;border-radius:8px}.sd-table__wrapper .sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}";
|
|
8219
8219
|
|
|
8220
8220
|
let SdTable$1 = class SdTable {
|
|
8221
8221
|
constructor(hostRef) {
|
|
@@ -8448,7 +8448,7 @@ let SdTable$1 = class SdTable {
|
|
|
8448
8448
|
"selected": ["handleSelectedChange"],
|
|
8449
8449
|
"pagination": ["handlePaginationChange"]
|
|
8450
8450
|
}; }
|
|
8451
|
-
static get style() { return sdTableCss
|
|
8451
|
+
static get style() { return sdTableCss; }
|
|
8452
8452
|
static get cmpMeta() { return {
|
|
8453
8453
|
"$flags$": 772,
|
|
8454
8454
|
"$tagName$": "sd-table",
|
|
@@ -8483,7 +8483,7 @@ let SdTable$1 = class SdTable {
|
|
|
8483
8483
|
}; }
|
|
8484
8484
|
};
|
|
8485
8485
|
|
|
8486
|
-
const
|
|
8486
|
+
const sdTableBackupCss = ".sd-table__wrapper .sd-table__container .sd-table__middle{overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar{opacity:0;background:#e5e5e5}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:horizontal{height:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar:vertical{width:8px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-thumb{height:80px;background-color:#cccccc;border-radius:4px}.sd-table__wrapper .sd-table__container .sd-table__middle::-webkit-scrollbar-track{background-color:transparent}.sd-table__wrapper{height:var(--table-height, auto);width:var(--table-width, 100%);color:#222222}.sd-table__wrapper .sd-table__container{width:100%;height:auto;border:1px solid #e1e1e1;border-radius:8px;font-size:12px;overflow:hidden}.sd-table__wrapper .sd-table__container .sd-table__middle{overflow:auto;position:relative;will-change:scroll-position;height:var(--table-height, auto)}.sd-table__wrapper .sd-table__container .sd-table__middle--loading{overflow:hidden !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table{background-color:white;display:table;width:100%;height:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable td.sd-td--selected,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--selectable th.sd-th--selected{width:52px !important;max-width:52px !important;min-width:52px !important;padding:0 10px 0 24px;text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-header thead{position:sticky;top:0;z-index:120}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-right{position:sticky;background-color:#f5faff;z-index:110 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-left,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-right{position:sticky;background-color:white;z-index:100 !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-left{left:var(--sticky-left-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column .sticky-right{right:var(--sticky-right-offset, 0)}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column th.sticky-cell{position:sticky;z-index:102;background-color:#f5faff}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--sticky-column td.sticky-cell{position:sticky;z-index:101;background-color:white}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left th.sticky-left-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-left td.sticky-left-edge:after{content:\"\";position:absolute;top:0;left:100%;right:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset 12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge{overflow:visible}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right th.sticky-right-edge:after,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--scrolled-right td.sticky-right-edge:after{content:\"\";position:absolute;top:0;left:-20px;width:20px;height:100%;z-index:101 !important;box-shadow:inset -12px 0 20px -25px;opacity:1;pointer-events:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead{opacity:0.4}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table--no-data thead tr th.sd-th{border-bottom:1px solid rgba(225, 225, 225, 0.4) !important}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-td,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table sd-th,.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table .sd-th__content--label{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;word-break:keep-all}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead{height:36px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr{width:100%}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th{background:#f5faff;height:36px;padding:0 16px;font-weight:500;vertical-align:middle;border-bottom:1px solid #e1e1e1;-webkit-user-select:none;user-select:none;position:relative}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content{display:flex;flex-flow:row nowrap;align-items:center;gap:4px}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--left{justify-content:flex-start}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--center{justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__content--right{justify-content:flex-end}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table thead tr th.sd-th .sd-th__resizer{position:absolute;top:50%;right:0;transform:translateY(-50%);width:4px;height:16px;cursor:col-resize;z-index:3;border-left:1px solid #cccccc;border-right:1px solid #cccccc}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody{flex-grow:1}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody .sd-table__loading{position:absolute;top:0;left:0;width:100%;height:100%;min-height:100%;background:rgba(255, 255, 255, 0.6);z-index:200;display:flex;align-items:center;justify-content:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody .sd-table__no-data-row td{text-align:center;color:#888888}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr:last-of-type td{border-bottom:none}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td{height:44px;padding:0 16px;border-bottom:1px solid #e1e1e1;background:white;vertical-align:middle}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--left{text-align:left}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--center{text-align:center}.sd-table__wrapper .sd-table__container .sd-table__middle .sd-table tbody tr td.sd-td--right{text-align:right}.sd-table__wrapper .sd-table__container .sd-table__bottom{background:white;text-align:center}.sd-table__wrapper .sd-table__pagination{position:relative;background:#f9f9f9;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #e1e1e1;border-top:none;border-radius:8px}.sd-table__wrapper .sd-table__pagination sd-select{position:absolute;right:10px;top:50%;transform:translateY(-50%)}";
|
|
8487
8487
|
|
|
8488
8488
|
class SdTable {
|
|
8489
8489
|
constructor(hostRef) {
|
|
@@ -8541,6 +8541,9 @@ class SdTable {
|
|
|
8541
8541
|
this.innerRows = [...(this.rows || [])];
|
|
8542
8542
|
this.innerSelected = new Set(this.selected);
|
|
8543
8543
|
this.columnWidths = (this.columns || []).map(c => parseInt(c.width || '120', 10));
|
|
8544
|
+
if (this.pagination?.page) {
|
|
8545
|
+
this.currentPage = this.pagination.page;
|
|
8546
|
+
}
|
|
8544
8547
|
}
|
|
8545
8548
|
componentDidLoad() {
|
|
8546
8549
|
// SSR 환경 체크
|
|
@@ -8678,7 +8681,7 @@ class SdTable {
|
|
|
8678
8681
|
}, style: this.getStickyStyle(colIdx) }, hAsync("div", { class: `sd-th__content sd-th__content--${col.align || 'left'}` }, hAsync("slot", { name: `header-cell-${col.name}` }, hAsync("div", { class: "sd-th__content--label" }, col.label)), col.usePageMoveIcon && hAsync("sd-icon", { name: "pageMove", size: "12", color: "#006AC1" }), col.tooltip && (hAsync("sd-tooltip", { ...col.tooltipOptions }, hAsync("div", { slot: "content" }, col.tooltip.map(text => (hAsync("p", null, text))))))), this.resizable && typeof window !== 'undefined' && (hAsync("div", { class: "sd-th__resizer", onMouseDown: (evt) => this.handleResize(colIdx, evt) }))))))));
|
|
8679
8682
|
}
|
|
8680
8683
|
renderBody() {
|
|
8681
|
-
return (hAsync("tbody", { ...(!this.paginatedRows.length && { part: 'tbody-empty' }) }, this.isLoading && (hAsync("div", { class: "sd-table__loading" }, hAsync("sd-loading-spinner", null))), !this.paginatedRows.length ? (hAsync("tr",
|
|
8684
|
+
return (hAsync("tbody", { ...(!this.paginatedRows.length && { part: 'tbody-empty' }) }, this.isLoading && (hAsync("div", { class: "sd-table__loading" }, hAsync("sd-loading-spinner", null))), !this.paginatedRows.length ? (hAsync("tr", { class: "sd-table__no-data-row" }, hAsync("td", { colSpan: this.visibleColumns.length + (this.selectable ? 1 : 0) }, hAsync("slot", { name: "no-data" }, this.noDataLabel)))) : (this.paginatedRows.map((row, rowIdx) => (hAsync("tr", { key: row[this.rowKey], class: "hover:bg-Grey_Lighten-6" }, this.selectable && (hAsync("td", { class: {
|
|
8682
8685
|
'sd-td': true,
|
|
8683
8686
|
'sd-td--selected': true,
|
|
8684
8687
|
'sticky-left': Boolean(this.stickyColumn.left && this.stickyColumn.left > 0),
|
|
@@ -8700,10 +8703,13 @@ class SdTable {
|
|
|
8700
8703
|
})))))));
|
|
8701
8704
|
}
|
|
8702
8705
|
render() {
|
|
8703
|
-
return (hAsync(Host, { key: '
|
|
8706
|
+
return (hAsync(Host, { key: '06f553b40a89351df1054a07191d3fe9d92dd1a4' }, hAsync("div", { key: 'cfd19ef986b2a839791dfc6dbe0998fa4268bcc8', class: "sd-table__wrapper", style: {
|
|
8704
8707
|
'--table-width': this.width,
|
|
8705
8708
|
'--table-height': this.height,
|
|
8706
|
-
} }, hAsync("div", { key: '
|
|
8709
|
+
} }, hAsync("div", { key: 'ee2eb7c178fd4df207c096640f12061994340058', class: "sd-table__container" }, hAsync("div", { key: 'fa2ca46bba403928152d9d087b3ec990615507d4', class: {
|
|
8710
|
+
'sd-table__middle': true,
|
|
8711
|
+
'sd-table__middle--loading': this.isLoading,
|
|
8712
|
+
} }, hAsync("table", { key: 'c5248468da6f986da45233ca86dcf68a53001cd6', part: "table", class: this.sdTableClasses }, this.renderHeader(), this.renderBody())), hAsync("div", { key: 'd959e9785b3eab0a9e9864761c6377d561e6987c', class: "sd-table__bottom" })), this.pagination && this.innerRows.length > 0 && (hAsync("div", { key: 'b592fee0e0747a34b3970e4ff7286afe37e79621', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: '05e7ed73d7beba2c14a4bcf07e8686a4d2cf664e', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onPageChange: (e) => {
|
|
8707
8713
|
if (!this.useInternalPagination) {
|
|
8708
8714
|
this.sdPageChange.emit(e.detail);
|
|
8709
8715
|
}
|
|
@@ -8711,7 +8717,7 @@ class SdTable {
|
|
|
8711
8717
|
this.currentPage = e.detail;
|
|
8712
8718
|
this.sdPageChange.emit(this.currentPage);
|
|
8713
8719
|
}
|
|
8714
|
-
} }), this.useRowsPerPageSelect && (hAsync("sd-select", { key: '
|
|
8720
|
+
} }), this.useRowsPerPageSelect && (hAsync("sd-select", { key: 'f0e4ad4e7ec0f857feac4fc669f5a523401120d6', value: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", onSdChange: (e) => {
|
|
8715
8721
|
const changedRowsPerPage = e.detail.value ? Number(e.detail.value) : 0;
|
|
8716
8722
|
if (!this.useInternalPagination) {
|
|
8717
8723
|
this.sdRowsPerPageChange.emit(changedRowsPerPage);
|
|
@@ -8739,7 +8745,7 @@ class SdTable {
|
|
|
8739
8745
|
"selected": ["handleSelectedChange"],
|
|
8740
8746
|
"pagination": ["handlePaginationChange"]
|
|
8741
8747
|
}; }
|
|
8742
|
-
static get style() { return
|
|
8748
|
+
static get style() { return sdTableBackupCss; }
|
|
8743
8749
|
static get cmpMeta() { return {
|
|
8744
8750
|
"$flags$": 772,
|
|
8745
8751
|
"$tagName$": "sd-table-backup",
|
|
@@ -8817,7 +8823,7 @@ class SdTag {
|
|
|
8817
8823
|
}
|
|
8818
8824
|
render() {
|
|
8819
8825
|
const tagClasses = this.getTagClasses();
|
|
8820
|
-
return (hAsync("span", { key: '
|
|
8826
|
+
return (hAsync("span", { key: 'cd470741451fde311fc3d22d21205ea7bc86295c', class: tagClasses, style: {
|
|
8821
8827
|
'--tag-bg-color': this.bgColor,
|
|
8822
8828
|
'--tag-text-color': this.textColor,
|
|
8823
8829
|
}, "aria-label": this.label || 'tag' }, this.renderContent()));
|
|
@@ -8847,7 +8853,7 @@ class SdTbody {
|
|
|
8847
8853
|
registerInstance(this, hostRef);
|
|
8848
8854
|
}
|
|
8849
8855
|
render() {
|
|
8850
|
-
return (hAsync(Host, { key: '
|
|
8856
|
+
return (hAsync(Host, { key: 'fb4f565321e2f5308bdb5c318e385c4704730d16' }, hAsync("slot", { key: '3ba442c1026ebbce4960031ed3113ebd16d949ec' })));
|
|
8851
8857
|
}
|
|
8852
8858
|
static get style() { return sdTbodyCss; }
|
|
8853
8859
|
static get cmpMeta() { return {
|
|
@@ -8871,11 +8877,11 @@ class SdTd {
|
|
|
8871
8877
|
tdStyle;
|
|
8872
8878
|
tdClass;
|
|
8873
8879
|
render() {
|
|
8874
|
-
return (hAsync(Host, { key: '
|
|
8880
|
+
return (hAsync(Host, { key: 'b0d6911cd0c2da2999b3cc16b5014f95c6616cd2', role: "cell", class: {
|
|
8875
8881
|
'sd-td': true,
|
|
8876
8882
|
[`sd-td--${this.align}`]: true,
|
|
8877
8883
|
[this.tdClass || '']: Boolean(this.tdClass),
|
|
8878
|
-
}, style: this.tdStyle }, hAsync("slot", { key: '
|
|
8884
|
+
}, style: this.tdStyle }, hAsync("slot", { key: '93c9acb6c73c6dd4f9b6dcdfbed8bba000328e92' })));
|
|
8879
8885
|
}
|
|
8880
8886
|
static get style() { return sdTdCss; }
|
|
8881
8887
|
static get cmpMeta() { return {
|
|
@@ -8900,7 +8906,7 @@ class SdTh {
|
|
|
8900
8906
|
registerInstance(this, hostRef);
|
|
8901
8907
|
}
|
|
8902
8908
|
render() {
|
|
8903
|
-
return (hAsync(Host, { key: '
|
|
8909
|
+
return (hAsync(Host, { key: '98d5096b0d03db947da3ea0129b43a5d291d0ddd', role: "columnheader" }, hAsync("slot", { key: '4ccaa018abd5915d2069adc01b802bb9392cc186' })));
|
|
8904
8910
|
}
|
|
8905
8911
|
static get style() { return sdThCss; }
|
|
8906
8912
|
static get cmpMeta() { return {
|
|
@@ -9175,7 +9181,7 @@ class SdTr {
|
|
|
9175
9181
|
registerInstance(this, hostRef);
|
|
9176
9182
|
}
|
|
9177
9183
|
render() {
|
|
9178
|
-
return (hAsync(Host, { key: '
|
|
9184
|
+
return (hAsync(Host, { key: 'f20a0bbaf94ce37ef8cbf4d59c24159549294ff2', role: "row" }, hAsync("slot", { key: '8b5d3685c916a4ad8422c03e35f9b699961a1415' })));
|
|
9179
9185
|
}
|
|
9180
9186
|
static get style() { return sdTrCss; }
|
|
9181
9187
|
static get cmpMeta() { return {
|