@sellmate/design-system 1.0.22 → 1.0.23
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/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/design-system.cjs.js +4 -3
- package/dist/cjs/{index-D-PnW6jc.js → index-Qvv0fGgj.js} +9 -117
- package/dist/cjs/loader.cjs.js +4 -3
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-button-v2.cjs.entry.js +3 -3
- package/dist/cjs/sd-button_21.cjs.entry.js +26 -26
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +3 -3
- package/dist/cjs/sd-file-picker.cjs.entry.js +4 -4
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +3 -3
- package/dist/cjs/sd-popover.cjs.entry.js +4 -4
- package/dist/cjs/sd-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
- package/dist/cjs/sd-tabs.cjs.entry.js +7 -9
- package/dist/cjs/sd-tag.cjs.entry.js +96 -38
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{tooltipArrow-CMyNLSC-.js → tooltipArrow-Mb2Dhc7T.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +1 -1
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +2 -2
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +2 -2
- package/dist/collection/components/sd-field/sd-field.js +3 -3
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +3 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.js +2 -2
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +1 -1
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +1 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +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-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +6 -8
- package/dist/collection/components/sd-tag/sd-tag.config.js +70 -0
- package/dist/collection/components/sd-tag/sd-tag.css +26 -56
- package/dist/collection/components/sd-tag/sd-tag.js +51 -104
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- 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/components/index.js +1 -1
- package/dist/components/{p-DB52ADSW.js → p-2FdkYfts.js} +1 -1
- package/dist/components/{p-DZqrfwuw.js → p-B1o7vc2v.js} +1 -1
- package/dist/components/p-B1vJXa29.js +1 -0
- package/dist/components/p-BFO8hHjW.js +1 -0
- package/dist/components/{p-CAJmL8nc.js → p-BKTfQGcR.js} +1 -1
- package/dist/components/{p-B4p2JGMI.js → p-BNuWMSR_.js} +1 -1
- package/dist/components/{p-B-UC5tW2.js → p-BxXKe48B.js} +1 -1
- package/dist/components/{p-Hvt2oWRk.js → p-CAZeEBeS.js} +1 -1
- package/dist/components/{p-DFgtwoFG.js → p-CDzGasXW.js} +1 -1
- package/dist/components/{p-DF2wExtn.js → p-CVvYLd5J.js} +1 -1
- package/dist/components/{p-DyeU47vV.js → p-CdCMe4bN.js} +1 -1
- package/dist/components/{p-BsQEKShq.js → p-CwM24aVj.js} +1 -1
- package/dist/components/{p-DYsHXden.js → p-CzHa12Ax.js} +1 -1
- package/dist/components/{p-JyVgfdnC.js → p-Czq-8oT7.js} +1 -1
- package/dist/components/{p-DdNQILvd.js → p-D-ian_bu.js} +1 -1
- package/dist/components/{p-D4kmO3k7.js → p-D9mJxIjm.js} +1 -1
- package/dist/components/{p-DExqkuUY.js → p-DYoNy5I7.js} +1 -1
- package/dist/components/{p-CWlCxabU.js → p-Dun2lZmi.js} +1 -1
- package/dist/components/{p-CysnHGj4.js → p-G4t0nGLP.js} +1 -1
- package/dist/components/p-NAapFxTw.js +1 -0
- package/dist/components/{p-C0yQ73oI.js → p-hfbNb5UF.js} +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-button-v2.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-box.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-loading-spinner.js +1 -1
- package/dist/components/sd-modal-card.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-progress.js +1 -1
- package/dist/components/sd-radio-button-group.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-dropdown.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle-button.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-938940a7.entry.js → p-02c5ab69.entry.js} +1 -1
- package/dist/design-system/{p-6c34df5b.entry.js → p-1b80635f.entry.js} +1 -1
- package/dist/design-system/{p-2ca338f9.entry.js → p-285cc646.entry.js} +1 -1
- package/dist/design-system/{p-8fde8570.entry.js → p-3565f871.entry.js} +1 -1
- package/dist/design-system/{p-0406b7f9.entry.js → p-5032c700.entry.js} +1 -1
- package/dist/design-system/{p-40da6e22.entry.js → p-5094848f.entry.js} +1 -1
- package/dist/design-system/p-59a52297.entry.js +1 -0
- package/dist/design-system/p-712c1ef1.entry.js +1 -0
- package/dist/design-system/{p-b2ab1c50.entry.js → p-83f320e6.entry.js} +1 -1
- package/dist/design-system/{p-32c27eca.entry.js → p-8b013328.entry.js} +1 -1
- package/dist/design-system/{p-d021a375.entry.js → p-9563ffe1.entry.js} +1 -1
- package/dist/design-system/p-B8tGP77V.js +2 -0
- package/dist/design-system/p-BeCHKP_I.js +1 -0
- package/dist/design-system/p-DQuL1Twl.js +1 -0
- package/dist/design-system/{p-9650c304.entry.js → p-a3025f1f.entry.js} +1 -1
- package/dist/design-system/p-b1e45f3f.entry.js +1 -0
- package/dist/design-system/{p-a547f366.entry.js → p-c0655cd1.entry.js} +1 -1
- package/dist/design-system/p-d8a141e7.entry.js +1 -0
- package/dist/design-system/{p-322dbf53.entry.js → p-df3d3a2a.entry.js} +1 -1
- package/dist/design-system/{p-9ad83ffb.entry.js → p-e6d84ecf.entry.js} +1 -1
- package/dist/design-system/{p-7d35c7a7.entry.js → p-e7d7ceb4.entry.js} +1 -1
- package/dist/design-system/{p-646ed990.entry.js → p-ea26b8e9.entry.js} +1 -1
- package/dist/design-system/{p-d38f59b3.entry.js → p-f1b31194.entry.js} +1 -1
- package/dist/design-system/{p-3885ca10.entry.js → p-f81d3798.entry.js} +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/design-system.js +4 -3
- package/dist/esm/{index-C_an1PQ3.js → index-B8tGP77V.js} +10 -117
- package/dist/esm/loader.js +4 -3
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-button-v2.entry.js +3 -3
- package/dist/esm/sd-button_21.entry.js +26 -26
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-date-picker.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +3 -3
- package/dist/esm/sd-file-picker.entry.js +4 -4
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +3 -3
- package/dist/esm/sd-popover.entry.js +4 -4
- package/dist/esm/sd-progress.entry.js +3 -3
- package/dist/esm/sd-radio-button-group.entry.js +1 -1
- package/dist/esm/sd-radio-group.entry.js +1 -1
- package/dist/esm/sd-select-multiple-group.entry.js +1 -1
- package/dist/esm/sd-select-multiple.entry.js +2 -2
- package/dist/esm/sd-select-option-group.entry.js +4 -4
- package/dist/esm/sd-tabs.entry.js +7 -9
- package/dist/esm/sd-tag.entry.js +96 -38
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle-button.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{tooltipArrow-BTp0AVR2.js → tooltipArrow-Pdc3NIc9.js} +1 -1
- package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -1
- package/dist/types/components/sd-tag/sd-tag.config.d.ts +23 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +6 -10
- package/dist/types/components.d.ts +15 -27
- package/hydrate/index.js +162 -581
- package/hydrate/index.mjs +162 -581
- package/package.json +1 -1
- package/dist/components/p-Bd9o9P1x.js +0 -1
- package/dist/components/p-CDehvEQ5.js +0 -1
- package/dist/components/p-CaEyReID.js +0 -1
- package/dist/design-system/p-3edd59b5.entry.js +0 -1
- package/dist/design-system/p-47d37199.entry.js +0 -1
- package/dist/design-system/p-Bak0zfmv.js +0 -1
- package/dist/design-system/p-C_an1PQ3.js +0 -2
- package/dist/design-system/p-ab3b6f63.entry.js +0 -1
- package/dist/design-system/p-e5c3927f.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -132,7 +132,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
const NAMESPACE = 'design-system';
|
|
135
|
-
const BUILD = /* design-system */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
135
|
+
const BUILD = /* design-system */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", shadowDom: false, slotRelocation: true, state: true, updatable: true};
|
|
136
136
|
|
|
137
137
|
const globalStyles = ":root{--color-primary:#051D36;--sd-primary:#051D36;--color-secondary:#555555;--sd-secondary:#555555;--color-accent:#9C27B0;--sd-accent:#9C27B0;--color-positive:#0075FF;--sd-positive:#0075FF;--color-negative:#E30000;--sd-negative:#E30000;--color-info:#00CD52;--sd-info:#00CD52;--color-warning:#F2C037;--sd-warning:#F2C037;--color-caution_bg:#FEF1F1;--sd-caution_bg:#FEF1F1;--color-caution_icon:#FD9595;--sd-caution_icon:#FD9595;--color-header_alert:#FF7A00;--sd-header_alert:#FF7A00;--color-black:#000000;--sd-black:#000000;--color-grey_10:#F6F6F6;--sd-grey_10:#F6F6F6;--color-grey_20:#EEEEEE;--sd-grey_20:#EEEEEE;--color-grey_25:#E5E5E5;--sd-grey_25:#E5E5E5;--color-grey_30:#E1E1E1;--sd-grey_30:#E1E1E1;--color-grey_35:#D8D8D8;--sd-grey_35:#D8D8D8;--color-grey_45:#CCCCCC;--sd-grey_45:#CCCCCC;--color-grey_50:#BBBBBB;--sd-grey_50:#BBBBBB;--color-grey_55:#AAAAAA;--sd-grey_55:#AAAAAA;--color-grey_60:#999999;--sd-grey_60:#999999;--color-grey_65:#888888;--sd-grey_65:#888888;--color-grey_70:#737373;--sd-grey_70:#737373;--color-grey_80:#555555;--sd-grey_80:#555555;--color-grey_85:#444444;--sd-grey_85:#444444;--color-grey_90:#333333;--sd-grey_90:#333333;--color-grey_95:#222222;--sd-grey_95:#222222;--color-grey_05:#F9F9F9;--sd-grey_05:#F9F9F9;--color-white:#FFFFFF;--sd-white:#FFFFFF;--color-red_15:#FCEFEF;--sd-red_15:#FCEFEF;--color-red_20:#FCE6E6;--sd-red_20:#FCE6E6;--color-red_30:#FFD3D3;--sd-red_30:#FFD3D3;--color-red_45:#FFB5B5;--sd-red_45:#FFB5B5;--color-red_60:#FF7C7C;--sd-red_60:#FF7C7C;--color-red_70:#FB4444;--sd-red_70:#FB4444;--color-red_75:#E30000;--sd-red_75:#E30000;--color-red_80:#AD0000;--sd-red_80:#AD0000;--color-red_85:#820000;--sd-red_85:#820000;--color-red_90:#5E0000;--sd-red_90:#5E0000;--color-red_95:#440000;--sd-red_95:#440000;--color-red_99:#220000;--sd-red_99:#220000;--color-orange_10:#FEF1EA;--sd-orange_10:#FEF1EA;--color-orange_20:#FFEAD7;--sd-orange_20:#FFEAD7;--color-orange_35:#FFD5AF;--sd-orange_35:#FFD5AF;--color-orange_45:#FFBC81;--sd-orange_45:#FFBC81;--color-orange_55:#FFA452;--sd-orange_55:#FFA452;--color-orange_60:#FF7F22;--sd-orange_60:#FF7F22;--color-orange_65:#FF6B00;--sd-orange_65:#FF6B00;--color-orange_75:#CE4900;--sd-orange_75:#CE4900;--color-orange_85:#9B3700;--sd-orange_85:#9B3700;--color-orange_90:#752A00;--sd-orange_90:#752A00;--color-orange_95:#4D1B00;--sd-orange_95:#4D1B00;--color-orange_99:#2F1100;--sd-orange_99:#2F1100;--color-yellow_10:#FFF7DD;--sd-yellow_10:#FFF7DD;--color-yellow_20:#FEF1C4;--sd-yellow_20:#FEF1C4;--color-yellow_25:#FFE99E;--sd-yellow_25:#FFE99E;--color-yellow_30:#FEE17C;--sd-yellow_30:#FEE17C;--color-yellow_40:#FFD643;--sd-yellow_40:#FFD643;--color-yellow_45:#FFC700;--sd-yellow_45:#FFC700;--color-yellow_50:#EBB110;--sd-yellow_50:#EBB110;--color-yellow_60:#CA9612;--sd-yellow_60:#CA9612;--color-yellow_70:#916C0D;--sd-yellow_70:#916C0D;--color-yellow_80:#6C5002;--sd-yellow_80:#6C5002;--color-yellow_90:#453602;--sd-yellow_90:#453602;--color-yellow_95:#322700;--sd-yellow_95:#322700;--color-olive_10:#FBFBBF;--sd-olive_10:#FBFBBF;--color-olive_15:#FAFAA1;--sd-olive_15:#FAFAA1;--color-olive_20:#F6F65F;--sd-olive_20:#F6F65F;--color-olive_30:#EEEE37;--sd-olive_30:#EEEE37;--color-olive_45:#DDDD12;--sd-olive_45:#DDDD12;--color-olive_55:#C7C700;--sd-olive_55:#C7C700;--color-olive_65:#A5A500;--sd-olive_65:#A5A500;--color-olive_70:#838300;--sd-olive_70:#838300;--color-olive_80:#636300;--sd-olive_80:#636300;--color-olive_90:#454500;--sd-olive_90:#454500;--color-olive_95:#2C2C00;--sd-olive_95:#2C2C00;--color-olive_05:#FEFED9;--sd-olive_05:#FEFED9;--color-green_15:#E8F9EF;--sd-green_15:#E8F9EF;--color-green_25:#D4FAE3;--sd-green_25:#D4FAE3;--color-green_45:#ACF4C9;--sd-green_45:#ACF4C9;--color-green_55:#6DE39C;--sd-green_55:#6DE39C;--color-green_65:#2BCE6C;--sd-green_65:#2BCE6C;--color-green_70:#12B553;--sd-green_70:#12B553;--color-green_75:#00973C;--sd-green_75:#00973C;--color-green_80:#007B31;--sd-green_80:#007B31;--color-green_85:#006629;--sd-green_85:#006629;--color-green_90:#00461C;--sd-green_90:#00461C;--color-green_95:#003013;--sd-green_95:#003013;--color-green_99:#001D0B;--sd-green_99:#001D0B;--color-steelblue_10:#ECF8FD;--sd-steelblue_10:#ECF8FD;--color-steelblue_25:#D9F2FD;--sd-steelblue_25:#D9F2FD;--color-steelblue_45:#A4E2FD;--sd-steelblue_45:#A4E2FD;--color-steelblue_60:#50BFF0;--sd-steelblue_60:#50BFF0;--color-steelblue_65:#229FD7;--sd-steelblue_65:#229FD7;--color-steelblue_70:#128FC7;--sd-steelblue_70:#128FC7;--color-steelblue_75:#066D9B;--sd-steelblue_75:#066D9B;--color-steelblue_80:#06587D;--sd-steelblue_80:#06587D;--color-steelblue_85:#033F59;--sd-steelblue_85:#033F59;--color-steelblue_90:#032D40;--sd-steelblue_90:#032D40;--color-steelblue_95:#02212F;--sd-steelblue_95:#02212F;--color-steelblue_99:#021A25;--sd-steelblue_99:#021A25;--color-oceanblue_15:#EAF5FE;--sd-oceanblue_15:#EAF5FE;--color-oceanblue_25:#D5EBFE;--sd-oceanblue_25:#D5EBFE;--color-oceanblue_50:#9CD1FC;--sd-oceanblue_50:#9CD1FC;--color-oceanblue_60:#5CB0F3;--sd-oceanblue_60:#5CB0F3;--color-oceanblue_65:#1F8AE1;--sd-oceanblue_65:#1F8AE1;--color-oceanblue_70:#006AC1;--sd-oceanblue_70:#006AC1;--color-oceanblue_75:#025497;--sd-oceanblue_75:#025497;--color-oceanblue_80:#004177;--sd-oceanblue_80:#004177;--color-oceanblue_85:#07284A;--sd-oceanblue_85:#07284A;--color-oceanblue_90:#051D36;--sd-oceanblue_90:#051D36;--color-oceanblue_95:#03172D;--sd-oceanblue_95:#03172D;--color-oceanblue_99:#011428;--sd-oceanblue_99:#011428;--color-brilliantblue_10:#EFF6FF;--sd-brilliantblue_10:#EFF6FF;--color-brilliantblue_20:#E6F1FF;--sd-brilliantblue_20:#E6F1FF;--color-brilliantblue_25:#D9EAFF;--sd-brilliantblue_25:#D9EAFF;--color-brilliantblue_40:#BBDAFF;--sd-brilliantblue_40:#BBDAFF;--color-brilliantblue_50:#93C4FF;--sd-brilliantblue_50:#93C4FF;--color-brilliantblue_60:#64ABFF;--sd-brilliantblue_60:#64ABFF;--color-brilliantblue_70:#2D8DFF;--sd-brilliantblue_70:#2D8DFF;--color-brilliantblue_75:#0075FF;--sd-brilliantblue_75:#0075FF;--color-brilliantblue_80:#005CC9;--sd-brilliantblue_80:#005CC9;--color-brilliantblue_85:#004290;--sd-brilliantblue_85:#004290;--color-brilliantblue_90:#002B5E;--sd-brilliantblue_90:#002B5E;--color-brilliantblue_95:#001B39;--sd-brilliantblue_95:#001B39;--color-brilliantblue_99:#001226;--sd-brilliantblue_99:#001226;--color-brilliantblue_05:#F5FAFF;--sd-brilliantblue_05:#F5FAFF;--sd-system-typography-control-xs-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-xs-font-size:12px;--sd-system-typography-control-xs-font-weight:500;--sd-system-typography-control-xs-text-decoration:none;--sd-system-typography-control-sm-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-sm-font-size:12px;--sd-system-typography-control-sm-font-weight:500;--sd-system-typography-control-sm-text-decoration:none;--sd-system-typography-control-md-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-md-font-size:16px;--sd-system-typography-control-md-font-weight:500;--sd-system-typography-control-md-text-decoration:none;--sd-system-typography-control-lg-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-system-typography-control-lg-font-size:18px;--sd-system-typography-control-lg-font-weight:500;--sd-system-typography-control-lg-text-decoration:none;--sd-system-size-control-xs-height:24px;--sd-system-size-control-sm-height:28px;--sd-system-size-control-md-height:34px;--sd-system-size-control-lg-height:62px;--sd-system-size-icon-xs:12px;--sd-system-size-icon-sm:16px;--sd-system-size-icon-md:20px;--sd-system-size-icon-lg:24px;--sd-system-space-control-xs-padding-x:8px;--sd-system-space-control-xs-gap:4px;--sd-system-space-control-sm-padding-x:12px;--sd-system-space-control-sm-gap:6px;--sd-system-space-control-md-padding-x:20px;--sd-system-space-control-md-gap:8px;--sd-system-space-control-lg-padding-x:28px;--sd-system-space-control-lg-gap:12px;--sd-system-radius-control-default:4px;--sd-system-border-width-control-default:1px;--sd-system-color-bg-screen:#EEEEEE;--sd-system-color-bg-frame:#FFFFFF;--sd-system-color-bg-brand:#025497;--sd-system-color-bg-subtle:#1F8AE1;--sd-system-color-bg-accent-default:#0075FF;--sd-system-color-bg-accent-light:#F5FAFF;--sd-system-color-bg-danger-default:#E30000;--sd-system-color-bg-danger-light:#FCEFEF;--sd-system-color-bg-warning:#FF6B00;--sd-system-color-bg-progress:#0075FF;--sd-system-color-bg-success-default:#00973C;--sd-system-color-bg-success-light:#12B553;--sd-system-color-text-primary:#222222;--sd-system-color-text-secondary:#333333;--sd-system-color-text-tertiary:#555555;--sd-system-color-text-quaternary:#888888;--sd-system-color-text-brand:#005CC9;--sd-system-color-text-subtle:#066D9B;--sd-system-color-text-accent:#0075FF;--sd-system-color-text-danger-default:#E30000;--sd-system-color-text-danger-light:#FB4444;--sd-system-color-text-warning:#FF6B00;--sd-system-color-text-inverse:#FFFFFF;--sd-system-color-link-accent:#006AC1;--sd-system-color-icon-brand:#025497;--sd-system-color-icon-accent:#0075FF;--sd-system-color-icon-danger:#E30000;--sd-system-color-icon-success:#00973C;--sd-system-color-icon-inverse:#FFFFFF;--sd-system-color-control-bg-disabled:#E1E1E1;--sd-system-color-control-border-disabled:#CCCCCC;--sd-system-color-control-content-disabled:#888888;--sd-button-xs-height:24px;--sd-button-xs-padding-x:8px;--sd-button-xs-gap:4px;--sd-button-xs-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-xs-typography-font-size:12px;--sd-button-xs-typography-font-weight:500;--sd-button-xs-typography-text-decoration:none;--sd-button-sm-height:28px;--sd-button-sm-padding-x:12px;--sd-button-sm-gap:6px;--sd-button-sm-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-sm-typography-font-size:12px;--sd-button-sm-typography-font-weight:500;--sd-button-sm-typography-text-decoration:none;--sd-button-md-height:34px;--sd-button-md-padding-x:20px;--sd-button-md-gap:8px;--sd-button-md-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-md-typography-font-size:16px;--sd-button-md-typography-font-weight:500;--sd-button-md-typography-text-decoration:none;--sd-button-lg-height:62px;--sd-button-lg-padding-x:28px;--sd-button-lg-gap:12px;--sd-button-lg-typography-font-family:Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif;--sd-button-lg-typography-font-size:18px;--sd-button-lg-typography-font-weight:500;--sd-button-lg-typography-text-decoration:none;--sd-button-size-xs-icon:12px;--sd-button-size-sm-icon:16px;--sd-button-size-md-icon:20px;--sd-button-size-lg-icon:24px;--sd-button-radius-default:4px;--sd-button-border-width-default:1px;--sd-button-border-disabled:#CCCCCC;--sd-button-label-xs-min-width:36px;--sd-button-label-sm-min-width:70px;--sd-button-label-md-min-width:100px;--sd-button-label-lg-min-width:120px;--sd-button-leading-icon-xs-min-width:60px;--sd-button-leading-icon-sm-min-width:70px;--sd-button-leading-icon-md-min-width:100px;--sd-button-leading-icon-lg-min-width:120px;--sd-button-dropdown-xs-min-width:60px;--sd-button-dropdown-sm-min-width:76px;--sd-button-dropdown-md-min-width:106px;--sd-button-icon-only-xs-width:24px;--sd-button-icon-only-sm-width:28px;--sd-button-icon-only-md-width:34px;--sd-button-icon-only-lg-width:62px;--sd-button-bg-disabled:#E1E1E1;--sd-button-content-disabled:#888888;--sd-button-brand-strong-bg-default:#025497;--sd-button-brand-strong-bg-hover:#004177;--sd-button-brand-strong-content:#FFFFFF;--sd-button-brand-strong-dropdown-divider:#006AC1;--sd-button-brand-subtle-bg-default:#1F8AE1;--sd-button-brand-subtle-bg-hover:#006AC1;--sd-button-brand-subtle-content:#FFFFFF;--sd-button-brand-subtle-dropdown-divider:#5CB0F3;--sd-button-brand-outline-bg-default:#FFFFFF;--sd-button-brand-outline-bg-hover:#EAF5FE;--sd-button-brand-outline-border:#025497;--sd-button-brand-outline-content:#025497;--sd-button-neutral-subtle-bg-default:#FFFFFF;--sd-button-neutral-subtle-bg-hover:#EEEEEE;--sd-button-neutral-subtle-content:#333333;--sd-button-neutral-outline-bg-default:#FFFFFF;--sd-button-neutral-outline-bg-hover:#EEEEEE;--sd-button-neutral-outline-border:#888888;--sd-button-neutral-outline-content:#333333;--sd-button-danger-strong-bg-default:#E30000;--sd-button-danger-strong-bg-hover:#AD0000;--sd-button-danger-strong-content:#FFFFFF;--sd-button-danger-strong-dropdown-divider:#FF7C7C;--sd-button-danger-outline-bg-default:#FFFFFF;--sd-button-danger-outline-bg-hover:#FCEFEF;--sd-button-danger-outline-border:#E30000;--sd-button-danger-outline-content:#E30000}.bg-primary{background-color:var(--color-primary, #051d36)}.bg-secondary{background-color:var(--color-secondary, #555555)}.bg-accent{background-color:var(--color-accent, #9c27b0)}.bg-positive{background-color:var(--color-positive, #0075ff)}.bg-negative{background-color:var(--color-negative, #e30000)}.bg-info{background-color:var(--color-info, #00cd52)}.bg-warning{background-color:var(--color-warning, #f2c037)}.bg-red_99{background-color:var(--color-red_99, #220000)}.bg-red_95{background-color:var(--color-red_95, #440000)}.bg-red_90{background-color:var(--color-red_90, #5E0000)}.bg-red_85{background-color:var(--color-red_85, #820000)}.bg-red_80{background-color:var(--color-red_80, #AD0000)}.bg-red_75{background-color:var(--color-red_75, #E30000)}.bg-red_70{background-color:var(--color-red_70, #FB4444)}.bg-red_60{background-color:var(--color-red_60, #FF7C7C)}.bg-red_45{background-color:var(--color-red_45, #FFB5B5)}.bg-red_30{background-color:var(--color-red_30, #FFD3D3)}.bg-red_20{background-color:var(--color-red_20, #FCE6E6)}.bg-red_15{background-color:var(--color-red_15, #FCEFEF)}.bg-caution_bg{background-color:var(--color-caution_bg, #FEF1F1)}.bg-caution_icon{background-color:var(--color-caution_icon, #fd9595)}.bg-orange_99{background-color:var(--color-orange_99, #2F1100)}.bg-orange_95{background-color:var(--color-orange_95, #4D1B00)}.bg-orange_90{background-color:var(--color-orange_90, #752A00)}.bg-orange_85{background-color:var(--color-orange_85, #9B3700)}.bg-orange_75{background-color:var(--color-orange_75, #CE4900)}.bg-orange_65{background-color:var(--color-orange_65, #FF6B00)}.bg-orange_60{background-color:var(--color-orange_60, #FF7F22)}.bg-orange_55{background-color:var(--color-orange_55, #FFA452)}.bg-orange_45{background-color:var(--color-orange_45, #FFBC81)}.bg-orange_35{background-color:var(--color-orange_35, #FFD5AF)}.bg-orange_20{background-color:var(--color-orange_20, #FFEAD7)}.bg-orange_10{background-color:var(--color-orange_10, #FEF1EA)}.bg-header_alert{background-color:var(--color-header_alert, #FF7A00)}.bg-yellow_95{background-color:var(--color-yellow_95, #322700)}.bg-yellow_90{background-color:var(--color-yellow_90, #453702)}.bg-yellow_80{background-color:var(--color-yellow_80, #6C5602)}.bg-yellow_70{background-color:var(--color-yellow_70, #9C7A00)}.bg-yellow_60{background-color:var(--color-yellow_60, #C49900)}.bg-yellow_50{background-color:var(--color-yellow_50, #EBB800)}.bg-yellow_45{background-color:var(--color-yellow_45, #FFC700)}.bg-yellow_40{background-color:var(--color-yellow_40, #FFD643)}.bg-yellow_30{background-color:var(--color-yellow_30, #FEE17C)}.bg-yellow_25{background-color:var(--color-yellow_25, #FFE99E)}.bg-yellow_20{background-color:var(--color-yellow_20, #FEF1C4)}.bg-yellow_10{background-color:var(--color-yellow_10, #FFF7DD)}.bg-olive_95{background-color:var(--color-olive_95, #2C2C00)}.bg-olive_90{background-color:var(--color-olive_90, #454500)}.bg-olive_80{background-color:var(--color-olive_80, #636300)}.bg-olive_70{background-color:var(--color-olive_70, #838300)}.bg-olive_65{background-color:var(--color-olive_65, #A5A500)}.bg-olive_55{background-color:var(--color-olive_55, #C7C700)}.bg-olive_45{background-color:var(--color-olive_45, #DDDD12)}.bg-olive_30{background-color:var(--color-olive_30, #EEEE37)}.bg-olive_20{background-color:var(--color-olive_20, #F6F65F)}.bg-olive_15{background-color:var(--color-olive_15, #FAFAA1)}.bg-olive_10{background-color:var(--color-olive_10, #FBFBBF)}.bg-olive_05{background-color:var(--color-olive_05, #FEFED9)}.bg-green_99{background-color:var(--color-green_99, #001D0B)}.bg-green_95{background-color:var(--color-green_95, #003013)}.bg-green_90{background-color:var(--color-green_90, #00461C)}.bg-green_85{background-color:var(--color-green_85, #006629)}.bg-green_80{background-color:var(--color-green_80, #007B31)}.bg-green_75{background-color:var(--color-green_75, #00973C)}.bg-green_70{background-color:var(--color-green_70, #12B553)}.bg-green_65{background-color:var(--color-green_65, #2BCE6C)}.bg-green_55{background-color:var(--color-green_55, #6DE39C)}.bg-green_45{background-color:var(--color-green_45, #ACF4C9)}.bg-green_25{background-color:var(--color-green_25, #D4FAE3)}.bg-green_15{background-color:var(--color-green_15, #E8F9EF)}.bg-steelblue_99{background-color:var(--color-steelblue_99, #021a25)}.bg-steelblue_95{background-color:var(--color-steelblue_95, #02212f)}.bg-steelblue_90{background-color:var(--color-steelblue_90, #032d40)}.bg-steelblue_85{background-color:var(--color-steelblue_85, #033f59)}.bg-steelblue_80{background-color:var(--color-steelblue_80, #06587d)}.bg-steelblue_75{background-color:var(--color-steelblue_75, #066d9b)}.bg-steelblue_70{background-color:var(--color-steelblue_70, #128fc7)}.bg-steelblue_65{background-color:var(--color-steelblue_65, #229fd7)}.bg-steelblue_60{background-color:var(--color-steelblue_60, #50bff0)}.bg-steelblue_45{background-color:var(--color-steelblue_45, #a4e2fd)}.bg-steelblue_25{background-color:var(--color-steelblue_25, #d9f2fd)}.bg-steelblue_10{background-color:var(--color-steelblue_10, #ecf8fd)}.bg-oceanblue_99{background-color:var(--color-oceanblue_99, #011428)}.bg-oceanblue_95{background-color:var(--color-oceanblue_95, #03172d)}.bg-oceanblue_90{background-color:var(--color-oceanblue_90, #051d36)}.bg-oceanblue_85{background-color:var(--color-oceanblue_85, #07284a)}.bg-oceanblue_80{background-color:var(--color-oceanblue_80, #004177)}.bg-oceanblue_75{background-color:var(--color-oceanblue_75, #025497)}.bg-oceanblue_70{background-color:var(--color-oceanblue_70, #006ac1)}.bg-oceanblue_65{background-color:var(--color-oceanblue_65, #1f8ae1)}.bg-oceanblue_60{background-color:var(--color-oceanblue_60, #5cb0f3)}.bg-oceanblue_50{background-color:var(--color-oceanblue_50, #9cd1fc)}.bg-oceanblue_25{background-color:var(--color-oceanblue_25, #d5ebfe)}.bg-oceanblue_15{background-color:var(--color-oceanblue_15, #eaf5fe)}.bg-brilliantblue_99{background-color:var(--color-brilliantblue_99, #001226)}.bg-brilliantblue_95{background-color:var(--color-brilliantblue_95, #001b39)}.bg-brilliantblue_90{background-color:var(--color-brilliantblue_90, #002b5e)}.bg-brilliantblue_85{background-color:var(--color-brilliantblue_85, #004290)}.bg-brilliantblue_80{background-color:var(--color-brilliantblue_80, #005cc9)}.bg-brilliantblue_75{background-color:var(--color-brilliantblue_75, #0075ff)}.bg-brilliantblue_70{background-color:var(--color-brilliantblue_70, #2d8dff)}.bg-brilliantblue_60{background-color:var(--color-brilliantblue_60, #64abff)}.bg-brilliantblue_50{background-color:var(--color-brilliantblue_50, #93c4ff)}.bg-brilliantblue_40{background-color:var(--color-brilliantblue_40, #bbdaff)}.bg-brilliantblue_25{background-color:var(--color-brilliantblue_25, #d9eaff)}.bg-brilliantblue_20{background-color:var(--color-brilliantblue_20, #e6f1ff)}.bg-brilliantblue_10{background-color:var(--color-brilliantblue_10, #eff6ff)}.bg-brilliantblue_05{background-color:var(--color-brilliantblue_05, #f5faff)}.bg-grey_95{background-color:var(--color-grey_95, #222222)}.bg-grey_90{background-color:var(--color-grey_90, #333333)}.bg-grey_85{background-color:var(--color-grey_85, #444444)}.bg-grey_80{background-color:var(--color-grey_80, #555555)}.bg-grey_70{background-color:var(--color-grey_70, #737373)}.bg-grey_65{background-color:var(--color-grey_65, #888888)}.bg-grey_60{background-color:var(--color-grey_60, #999999)}.bg-grey_55{background-color:var(--color-grey_55, #aaaaaa)}.bg-grey_50{background-color:var(--color-grey_50, #bbbbbb)}.bg-grey_45{background-color:var(--color-grey_45, #cccccc)}.bg-grey_35{background-color:var(--color-grey_35, #D8D8D8)}.bg-grey_30{background-color:var(--color-grey_30, #e1e1e1)}.bg-grey_25{background-color:var(--color-grey_25, #E5E5E5)}.bg-grey_20{background-color:var(--color-grey_20, #eeeeee)}.bg-grey_10{background-color:var(--color-grey_10, #f6f6f6)}.bg-grey_05{background-color:var(--color-grey_05, #f9f9f9)}.bg-white{background-color:var(--color-white, #ffffff)}.bg-black{background-color:var(--color-black, #000000)}.text-primary{color:var(--color-primary, #051d36)}.text-secondary{color:var(--color-secondary, #555555)}.text-accent{color:var(--color-accent, #9c27b0)}.text-positive{color:var(--color-positive, #0075ff)}.text-negative{color:var(--color-negative, #e30000)}.text-info{color:var(--color-info, #00cd52)}.text-warning{color:var(--color-warning, #f2c037)}.text-red_99{color:var(--color-red_99, #220000)}.text-red_95{color:var(--color-red_95, #440000)}.text-red_90{color:var(--color-red_90, #5E0000)}.text-red_85{color:var(--color-red_85, #820000)}.text-red_80{color:var(--color-red_80, #AD0000)}.text-red_75{color:var(--color-red_75, #E30000)}.text-red_70{color:var(--color-red_70, #FB4444)}.text-red_60{color:var(--color-red_60, #FF7C7C)}.text-red_45{color:var(--color-red_45, #FFB5B5)}.text-red_30{color:var(--color-red_30, #FFD3D3)}.text-red_20{color:var(--color-red_20, #FCE6E6)}.text-red_15{color:var(--color-red_15, #FCEFEF)}.text-caution_bg{color:var(--color-caution_bg, #FEF1F1)}.text-caution_icon{color:var(--color-caution_icon, #fd9595)}.text-orange_99{color:var(--color-orange_99, #2F1100)}.text-orange_95{color:var(--color-orange_95, #4D1B00)}.text-orange_90{color:var(--color-orange_90, #752A00)}.text-orange_85{color:var(--color-orange_85, #9B3700)}.text-orange_75{color:var(--color-orange_75, #CE4900)}.text-orange_65{color:var(--color-orange_65, #FF6B00)}.text-orange_60{color:var(--color-orange_60, #FF7F22)}.text-orange_55{color:var(--color-orange_55, #FFA452)}.text-orange_45{color:var(--color-orange_45, #FFBC81)}.text-orange_35{color:var(--color-orange_35, #FFD5AF)}.text-orange_20{color:var(--color-orange_20, #FFEAD7)}.text-orange_10{color:var(--color-orange_10, #FEF1EA)}.text-header_alert{color:var(--color-header_alert, #FF7A00)}.text-yellow_95{color:var(--color-yellow_95, #322700)}.text-yellow_90{color:var(--color-yellow_90, #453702)}.text-yellow_80{color:var(--color-yellow_80, #6C5602)}.text-yellow_70{color:var(--color-yellow_70, #9C7A00)}.text-yellow_60{color:var(--color-yellow_60, #C49900)}.text-yellow_50{color:var(--color-yellow_50, #EBB800)}.text-yellow_45{color:var(--color-yellow_45, #FFC700)}.text-yellow_40{color:var(--color-yellow_40, #FFD643)}.text-yellow_30{color:var(--color-yellow_30, #FEE17C)}.text-yellow_25{color:var(--color-yellow_25, #FFE99E)}.text-yellow_20{color:var(--color-yellow_20, #FEF1C4)}.text-yellow_10{color:var(--color-yellow_10, #FFF7DD)}.text-olive_95{color:var(--color-olive_95, #2C2C00)}.text-olive_90{color:var(--color-olive_90, #454500)}.text-olive_80{color:var(--color-olive_80, #636300)}.text-olive_70{color:var(--color-olive_70, #838300)}.text-olive_65{color:var(--color-olive_65, #A5A500)}.text-olive_55{color:var(--color-olive_55, #C7C700)}.text-olive_45{color:var(--color-olive_45, #DDDD12)}.text-olive_30{color:var(--color-olive_30, #EEEE37)}.text-olive_20{color:var(--color-olive_20, #F6F65F)}.text-olive_15{color:var(--color-olive_15, #FAFAA1)}.text-olive_10{color:var(--color-olive_10, #FBFBBF)}.text-olive_05{color:var(--color-olive_05, #FEFED9)}.text-green_99{color:var(--color-green_99, #001D0B)}.text-green_95{color:var(--color-green_95, #003013)}.text-green_90{color:var(--color-green_90, #00461C)}.text-green_85{color:var(--color-green_85, #006629)}.text-green_80{color:var(--color-green_80, #007B31)}.text-green_75{color:var(--color-green_75, #00973C)}.text-green_70{color:var(--color-green_70, #12B553)}.text-green_65{color:var(--color-green_65, #2BCE6C)}.text-green_55{color:var(--color-green_55, #6DE39C)}.text-green_45{color:var(--color-green_45, #ACF4C9)}.text-green_25{color:var(--color-green_25, #D4FAE3)}.text-green_15{color:var(--color-green_15, #E8F9EF)}.text-steelblue_99{color:var(--color-steelblue_99, #021a25)}.text-steelblue_95{color:var(--color-steelblue_95, #02212f)}.text-steelblue_90{color:var(--color-steelblue_90, #032d40)}.text-steelblue_85{color:var(--color-steelblue_85, #033f59)}.text-steelblue_80{color:var(--color-steelblue_80, #06587d)}.text-steelblue_75{color:var(--color-steelblue_75, #066d9b)}.text-steelblue_70{color:var(--color-steelblue_70, #128fc7)}.text-steelblue_65{color:var(--color-steelblue_65, #229fd7)}.text-steelblue_60{color:var(--color-steelblue_60, #50bff0)}.text-steelblue_45{color:var(--color-steelblue_45, #a4e2fd)}.text-steelblue_25{color:var(--color-steelblue_25, #d9f2fd)}.text-steelblue_10{color:var(--color-steelblue_10, #ecf8fd)}.text-oceanblue_99{color:var(--color-oceanblue_99, #011428)}.text-oceanblue_95{color:var(--color-oceanblue_95, #03172d)}.text-oceanblue_90{color:var(--color-oceanblue_90, #051d36)}.text-oceanblue_85{color:var(--color-oceanblue_85, #07284a)}.text-oceanblue_80{color:var(--color-oceanblue_80, #004177)}.text-oceanblue_75{color:var(--color-oceanblue_75, #025497)}.text-oceanblue_70{color:var(--color-oceanblue_70, #006ac1)}.text-oceanblue_65{color:var(--color-oceanblue_65, #1f8ae1)}.text-oceanblue_60{color:var(--color-oceanblue_60, #5cb0f3)}.text-oceanblue_50{color:var(--color-oceanblue_50, #9cd1fc)}.text-oceanblue_25{color:var(--color-oceanblue_25, #d5ebfe)}.text-oceanblue_15{color:var(--color-oceanblue_15, #eaf5fe)}.text-brilliantblue_99{color:var(--color-brilliantblue_99, #001226)}.text-brilliantblue_95{color:var(--color-brilliantblue_95, #001b39)}.text-brilliantblue_90{color:var(--color-brilliantblue_90, #002b5e)}.text-brilliantblue_85{color:var(--color-brilliantblue_85, #004290)}.text-brilliantblue_80{color:var(--color-brilliantblue_80, #005cc9)}.text-brilliantblue_75{color:var(--color-brilliantblue_75, #0075ff)}.text-brilliantblue_70{color:var(--color-brilliantblue_70, #2d8dff)}.text-brilliantblue_60{color:var(--color-brilliantblue_60, #64abff)}.text-brilliantblue_50{color:var(--color-brilliantblue_50, #93c4ff)}.text-brilliantblue_40{color:var(--color-brilliantblue_40, #bbdaff)}.text-brilliantblue_25{color:var(--color-brilliantblue_25, #d9eaff)}.text-brilliantblue_20{color:var(--color-brilliantblue_20, #e6f1ff)}.text-brilliantblue_10{color:var(--color-brilliantblue_10, #eff6ff)}.text-brilliantblue_05{color:var(--color-brilliantblue_05, #f5faff)}.text-grey_95{color:var(--color-grey_95, #222222)}.text-grey_90{color:var(--color-grey_90, #333333)}.text-grey_85{color:var(--color-grey_85, #444444)}.text-grey_80{color:var(--color-grey_80, #555555)}.text-grey_70{color:var(--color-grey_70, #737373)}.text-grey_65{color:var(--color-grey_65, #888888)}.text-grey_60{color:var(--color-grey_60, #999999)}.text-grey_55{color:var(--color-grey_55, #aaaaaa)}.text-grey_50{color:var(--color-grey_50, #bbbbbb)}.text-grey_45{color:var(--color-grey_45, #cccccc)}.text-grey_35{color:var(--color-grey_35, #D8D8D8)}.text-grey_30{color:var(--color-grey_30, #e1e1e1)}.text-grey_25{color:var(--color-grey_25, #E5E5E5)}.text-grey_20{color:var(--color-grey_20, #eeeeee)}.text-grey_10{color:var(--color-grey_10, #f6f6f6)}.text-grey_05{color:var(--color-grey_05, #f9f9f9)}.text-white{color:var(--color-white, #ffffff)}.text-black{color:var(--color-black, #000000)}*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin-block-end:0}ul[role=list],ol[role=list]{list-style:none}body{min-height:100vh;line-height:1.5}h1,h2,h3,h4,button,input,label{line-height:1}h1,h2,h3,h4{text-wrap:balance}a:not([class]){text-decoration-skip-ink:auto;color:currentColor}img,picture{max-width:100%;display:block}input,button,textarea,select{font-size:inherit}:target{scroll-margin-block:5ex}button{background:none;border:none;cursor:pointer;padding:0;outline:0}button:focus{outline:0 !important}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active{-webkit-text-fill-color:#000;-webkit-box-shadow:0 0 0px 1000px #fff inset;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s}input:autofill,input:autofill:hover,input:autofill:focus,input:autofill:active{-webkit-text-fill-color:#000;-webkit-box-shadow:0 0 0px 1000px #fff inset;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s}:host{display:inline-block;height:fit-content;line-height:0}.text-center{text-align:center}.text-right{text-align:right}.text-left{text-align:left}input[type=text],input[type=number],input[type=password],input[type=email],input[type=tel],textarea{padding-block:0px;padding-inline:0px}.sd-hoverable:hover>.sd-focus-helper{background:currentColor;opacity:0.15}.sd-hoverable:hover>.sd-focus-helper:before{opacity:0.1}.sd-hoverable:hover>.sd-focus-helper:after{opacity:0.4}.sd-focus-helper{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:inherit;opacity:0;transition:background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.5, 1)}.sd-focus-helper:before,.sd-focus-helper:after{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;border-radius:inherit;transition:background-color 0.3s cubic-bezier(0.25, 0.8, 0.5, 1), opacity 0.6s cubic-bezier(0.25, 0.8, 0.5, 1)}.sd-focus-helper:before{background:#000000}.sd-focus-helper:after{background:#ffffff}";
|
|
138
138
|
|
|
@@ -742,7 +742,7 @@ var attachStyles = (hostRef) => {
|
|
|
742
742
|
const flags = cmpMeta.$flags$;
|
|
743
743
|
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
744
744
|
const scopeId2 = addStyle(
|
|
745
|
-
elm.
|
|
745
|
+
elm.getRootNode(),
|
|
746
746
|
cmpMeta);
|
|
747
747
|
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
748
748
|
elm["s-sc"] = scopeId2;
|
|
@@ -884,7 +884,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
884
884
|
const childRenderNodes = [];
|
|
885
885
|
const slotNodes = [];
|
|
886
886
|
const slottedNodes = [];
|
|
887
|
-
const shadowRootNodes =
|
|
887
|
+
const shadowRootNodes = null;
|
|
888
888
|
const vnode = newVNode(tagName, null);
|
|
889
889
|
vnode.$elm$ = hostElm;
|
|
890
890
|
let scopeId2;
|
|
@@ -1007,27 +1007,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
1007
1007
|
slot.$elm$.parentElement.classList.add(scopeId2 + "-s");
|
|
1008
1008
|
});
|
|
1009
1009
|
}
|
|
1010
|
-
if (shadowRoot && !shadowRoot.childNodes.length) {
|
|
1011
|
-
let rnIdex = 0;
|
|
1012
|
-
const rnLen = shadowRootNodes.length;
|
|
1013
|
-
if (rnLen) {
|
|
1014
|
-
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
1015
|
-
const node = shadowRootNodes[rnIdex];
|
|
1016
|
-
if (node) {
|
|
1017
|
-
shadowRoot.appendChild(node);
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
Array.from(hostElm.childNodes).forEach((node) => {
|
|
1021
|
-
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
1022
|
-
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
1023
|
-
node.removeAttribute("hidden");
|
|
1024
|
-
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue) {
|
|
1025
|
-
node.parentNode.removeChild(node);
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
});
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
1010
|
hostRef.$hostElement$ = hostElm;
|
|
1032
1011
|
endHydrate();
|
|
1033
1012
|
};
|
|
@@ -1088,9 +1067,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1088
1067
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1089
1068
|
}
|
|
1090
1069
|
parentVNode = childVNode;
|
|
1091
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1092
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1093
|
-
}
|
|
1094
1070
|
}
|
|
1095
1071
|
}
|
|
1096
1072
|
if (node.shadowRoot) {
|
|
@@ -1149,9 +1125,6 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1149
1125
|
}
|
|
1150
1126
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1151
1127
|
}
|
|
1152
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1153
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1154
|
-
}
|
|
1155
1128
|
}
|
|
1156
1129
|
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1157
1130
|
childVNode.$elm$ = findCorrespondingNode(node, 8 /* CommentNode */);
|
|
@@ -1174,9 +1147,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
1174
1147
|
slottedNodes
|
|
1175
1148
|
);
|
|
1176
1149
|
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1177
|
-
|
|
1178
|
-
node.remove();
|
|
1179
|
-
} else {
|
|
1150
|
+
{
|
|
1180
1151
|
hostElm["s-cr"] = node;
|
|
1181
1152
|
node["s-cn"] = true;
|
|
1182
1153
|
}
|
|
@@ -1238,22 +1209,7 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
1238
1209
|
childVNode.$name$ = slotName || null;
|
|
1239
1210
|
childVNode.$tag$ = "slot";
|
|
1240
1211
|
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1241
|
-
|
|
1242
|
-
const slot = childVNode.$elm$ = win.document.createElement(childVNode.$tag$);
|
|
1243
|
-
if (childVNode.$name$) {
|
|
1244
|
-
childVNode.$elm$.setAttribute("name", slotName);
|
|
1245
|
-
}
|
|
1246
|
-
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1247
|
-
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
1248
|
-
} else {
|
|
1249
|
-
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
1250
|
-
}
|
|
1251
|
-
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1252
|
-
node.remove();
|
|
1253
|
-
if (childVNode.$depth$ === "0") {
|
|
1254
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1255
|
-
}
|
|
1256
|
-
} else {
|
|
1212
|
+
{
|
|
1257
1213
|
const slot = childVNode.$elm$;
|
|
1258
1214
|
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1259
1215
|
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
@@ -1290,417 +1246,6 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1290
1246
|
return sibling;
|
|
1291
1247
|
};
|
|
1292
1248
|
|
|
1293
|
-
// src/utils/regular-expression.ts
|
|
1294
|
-
var escapeRegExpSpecialCharacters = (text) => {
|
|
1295
|
-
return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1296
|
-
};
|
|
1297
|
-
|
|
1298
|
-
// src/utils/shadow-css.ts
|
|
1299
|
-
/**
|
|
1300
|
-
* @license
|
|
1301
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
1302
|
-
*
|
|
1303
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1304
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1305
|
-
*
|
|
1306
|
-
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
1307
|
-
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
1308
|
-
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
1309
|
-
*/
|
|
1310
|
-
var safeSelector = (selector) => {
|
|
1311
|
-
const placeholders = [];
|
|
1312
|
-
let index = 0;
|
|
1313
|
-
selector = selector.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g, (_, keep) => {
|
|
1314
|
-
const replaceBy = `__part-${index}__`;
|
|
1315
|
-
placeholders.push(keep);
|
|
1316
|
-
index++;
|
|
1317
|
-
return replaceBy;
|
|
1318
|
-
});
|
|
1319
|
-
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
1320
|
-
const replaceBy = `__ph-${index}__`;
|
|
1321
|
-
placeholders.push(keep);
|
|
1322
|
-
index++;
|
|
1323
|
-
return replaceBy;
|
|
1324
|
-
});
|
|
1325
|
-
const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
|
|
1326
|
-
const replaceBy = `__ph-${index}__`;
|
|
1327
|
-
placeholders.push(exp);
|
|
1328
|
-
index++;
|
|
1329
|
-
return pseudo + replaceBy;
|
|
1330
|
-
});
|
|
1331
|
-
const ss = {
|
|
1332
|
-
content,
|
|
1333
|
-
placeholders
|
|
1334
|
-
};
|
|
1335
|
-
return ss;
|
|
1336
|
-
};
|
|
1337
|
-
var restoreSafeSelector = (placeholders, content) => {
|
|
1338
|
-
content = content.replace(/__part-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1339
|
-
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1340
|
-
};
|
|
1341
|
-
var _polyfillHost = "-shadowcsshost";
|
|
1342
|
-
var _polyfillSlotted = "-shadowcssslotted";
|
|
1343
|
-
var _polyfillHostContext = "-shadowcsscontext";
|
|
1344
|
-
var _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";
|
|
1345
|
-
var _cssColonHostRe = new RegExp("(" + _polyfillHost + _parenSuffix, "gim");
|
|
1346
|
-
var _cssColonHostContextRe = new RegExp("(" + _polyfillHostContext + _parenSuffix, "gim");
|
|
1347
|
-
var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim");
|
|
1348
|
-
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
1349
|
-
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
1350
|
-
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
1351
|
-
var _safePartRe = /__part-(\d+)__/g;
|
|
1352
|
-
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
1353
|
-
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
1354
|
-
var createSupportsRuleRe = (selector) => {
|
|
1355
|
-
const safeSelector2 = escapeRegExpSpecialCharacters(selector);
|
|
1356
|
-
return new RegExp(
|
|
1357
|
-
// First capture group: match any context before the selector that's not inside @supports selector()
|
|
1358
|
-
// Using negative lookahead to avoid matching inside @supports selector(...) condition
|
|
1359
|
-
`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
|
|
1360
|
-
"g"
|
|
1361
|
-
);
|
|
1362
|
-
};
|
|
1363
|
-
var _commentRe = /\/\*\s*[\s\S]*?\*\//g;
|
|
1364
|
-
var stripComments = (input) => {
|
|
1365
|
-
return input.replace(_commentRe, "");
|
|
1366
|
-
};
|
|
1367
|
-
var _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
|
|
1368
|
-
var extractCommentsWithHash = (input) => {
|
|
1369
|
-
return input.match(_commentWithHashRe) || [];
|
|
1370
|
-
};
|
|
1371
|
-
var _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
|
|
1372
|
-
var _curlyRe = /([{}])/g;
|
|
1373
|
-
var _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
|
|
1374
|
-
var OPEN_CURLY = "{";
|
|
1375
|
-
var CLOSE_CURLY = "}";
|
|
1376
|
-
var BLOCK_PLACEHOLDER = "%BLOCK%";
|
|
1377
|
-
var processRules = (input, ruleCallback) => {
|
|
1378
|
-
const inputWithEscapedBlocks = escapeBlocks(input);
|
|
1379
|
-
let nextBlockIndex = 0;
|
|
1380
|
-
return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
|
|
1381
|
-
const selector = m[2];
|
|
1382
|
-
let content = "";
|
|
1383
|
-
let suffix = m[4];
|
|
1384
|
-
let contentPrefix = "";
|
|
1385
|
-
if (suffix && suffix.startsWith("{" + BLOCK_PLACEHOLDER)) {
|
|
1386
|
-
content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
|
|
1387
|
-
suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
|
|
1388
|
-
contentPrefix = "{";
|
|
1389
|
-
}
|
|
1390
|
-
const cssRule = {
|
|
1391
|
-
selector,
|
|
1392
|
-
content
|
|
1393
|
-
};
|
|
1394
|
-
const rule = ruleCallback(cssRule);
|
|
1395
|
-
return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
|
|
1396
|
-
});
|
|
1397
|
-
};
|
|
1398
|
-
var escapeBlocks = (input) => {
|
|
1399
|
-
const inputParts = input.split(_curlyRe);
|
|
1400
|
-
const resultParts = [];
|
|
1401
|
-
const escapedBlocks = [];
|
|
1402
|
-
let bracketCount = 0;
|
|
1403
|
-
let currentBlockParts = [];
|
|
1404
|
-
for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
|
|
1405
|
-
const part = inputParts[partIndex];
|
|
1406
|
-
if (part === CLOSE_CURLY) {
|
|
1407
|
-
bracketCount--;
|
|
1408
|
-
}
|
|
1409
|
-
if (bracketCount > 0) {
|
|
1410
|
-
currentBlockParts.push(part);
|
|
1411
|
-
} else {
|
|
1412
|
-
if (currentBlockParts.length > 0) {
|
|
1413
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1414
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1415
|
-
currentBlockParts = [];
|
|
1416
|
-
}
|
|
1417
|
-
resultParts.push(part);
|
|
1418
|
-
}
|
|
1419
|
-
if (part === OPEN_CURLY) {
|
|
1420
|
-
bracketCount++;
|
|
1421
|
-
}
|
|
1422
|
-
}
|
|
1423
|
-
if (currentBlockParts.length > 0) {
|
|
1424
|
-
escapedBlocks.push(currentBlockParts.join(""));
|
|
1425
|
-
resultParts.push(BLOCK_PLACEHOLDER);
|
|
1426
|
-
}
|
|
1427
|
-
const strEscapedBlocks = {
|
|
1428
|
-
escapedString: resultParts.join(""),
|
|
1429
|
-
blocks: escapedBlocks
|
|
1430
|
-
};
|
|
1431
|
-
return strEscapedBlocks;
|
|
1432
|
-
};
|
|
1433
|
-
var insertPolyfillHostInCssText = (cssText) => {
|
|
1434
|
-
const supportsBlocks = [];
|
|
1435
|
-
cssText = cssText.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g, (_, selectorContent) => {
|
|
1436
|
-
const placeholder = `__supports_${supportsBlocks.length}__`;
|
|
1437
|
-
supportsBlocks.push(selectorContent);
|
|
1438
|
-
return `@supports selector(${placeholder})`;
|
|
1439
|
-
});
|
|
1440
|
-
const _colonSlottedRe = createSupportsRuleRe("::slotted");
|
|
1441
|
-
const _colonHostRe = createSupportsRuleRe(":host");
|
|
1442
|
-
const _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
1443
|
-
cssText = cssText.replace(_colonHostContextRe, `$1${_polyfillHostContext}`).replace(_colonHostRe, `$1${_polyfillHost}`).replace(_colonSlottedRe, `$1${_polyfillSlotted}`);
|
|
1444
|
-
supportsBlocks.forEach((originalSelector, index) => {
|
|
1445
|
-
cssText = cssText.replace(`__supports_${index}__`, originalSelector);
|
|
1446
|
-
});
|
|
1447
|
-
return cssText;
|
|
1448
|
-
};
|
|
1449
|
-
var convertColonRule = (cssText, regExp, partReplacer) => {
|
|
1450
|
-
return cssText.replace(regExp, (...m) => {
|
|
1451
|
-
if (m[2]) {
|
|
1452
|
-
const parts = m[2].split(",");
|
|
1453
|
-
const r = [];
|
|
1454
|
-
for (let i2 = 0; i2 < parts.length; i2++) {
|
|
1455
|
-
const p = parts[i2].trim();
|
|
1456
|
-
if (!p) break;
|
|
1457
|
-
r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
|
|
1458
|
-
}
|
|
1459
|
-
return r.join(",");
|
|
1460
|
-
} else {
|
|
1461
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1462
|
-
}
|
|
1463
|
-
});
|
|
1464
|
-
};
|
|
1465
|
-
var colonHostPartReplacer = (host, part, suffix) => {
|
|
1466
|
-
return host + part.replace(_polyfillHost, "") + suffix;
|
|
1467
|
-
};
|
|
1468
|
-
var convertColonHost = (cssText) => {
|
|
1469
|
-
return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
|
|
1470
|
-
};
|
|
1471
|
-
var colonHostContextPartReplacer = (host, part, suffix) => {
|
|
1472
|
-
if (part.indexOf(_polyfillHost) > -1) {
|
|
1473
|
-
return colonHostPartReplacer(host, part, suffix);
|
|
1474
|
-
} else {
|
|
1475
|
-
return host + part + suffix + ", " + part + " " + host + suffix;
|
|
1476
|
-
}
|
|
1477
|
-
};
|
|
1478
|
-
var convertColonSlotted = (cssText, slotScopeId) => {
|
|
1479
|
-
const slotClass = "." + slotScopeId + " > ";
|
|
1480
|
-
const selectors = [];
|
|
1481
|
-
cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
|
|
1482
|
-
if (m[2]) {
|
|
1483
|
-
const compound = m[2].trim();
|
|
1484
|
-
const suffix = m[3];
|
|
1485
|
-
const slottedSelector = slotClass + compound + suffix;
|
|
1486
|
-
let prefixSelector = "";
|
|
1487
|
-
for (let i2 = m[4] - 1; i2 >= 0; i2--) {
|
|
1488
|
-
const char = m[5][i2];
|
|
1489
|
-
if (char === "}" || char === ",") {
|
|
1490
|
-
break;
|
|
1491
|
-
}
|
|
1492
|
-
prefixSelector = char + prefixSelector;
|
|
1493
|
-
}
|
|
1494
|
-
const orgSelector = (prefixSelector + slottedSelector).trim();
|
|
1495
|
-
const addedSelector = `${prefixSelector.trimEnd()}${slottedSelector.trim()}`.trim();
|
|
1496
|
-
if (orgSelector !== addedSelector) {
|
|
1497
|
-
const updatedSelector = `${addedSelector}, ${orgSelector}`;
|
|
1498
|
-
selectors.push({
|
|
1499
|
-
orgSelector,
|
|
1500
|
-
updatedSelector
|
|
1501
|
-
});
|
|
1502
|
-
}
|
|
1503
|
-
return slottedSelector;
|
|
1504
|
-
} else {
|
|
1505
|
-
return _polyfillHostNoCombinator + m[3];
|
|
1506
|
-
}
|
|
1507
|
-
});
|
|
1508
|
-
return {
|
|
1509
|
-
selectors,
|
|
1510
|
-
cssText
|
|
1511
|
-
};
|
|
1512
|
-
};
|
|
1513
|
-
var convertColonHostContext = (cssText) => {
|
|
1514
|
-
return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
|
|
1515
|
-
};
|
|
1516
|
-
var convertShadowDOMSelectors = (cssText) => {
|
|
1517
|
-
return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, " "), cssText);
|
|
1518
|
-
};
|
|
1519
|
-
var makeScopeMatcher = (scopeSelector2) => {
|
|
1520
|
-
const lre = /\[/g;
|
|
1521
|
-
const rre = /\]/g;
|
|
1522
|
-
scopeSelector2 = scopeSelector2.replace(lre, "\\[").replace(rre, "\\]");
|
|
1523
|
-
return new RegExp("^(" + scopeSelector2 + ")" + _selectorReSuffix, "m");
|
|
1524
|
-
};
|
|
1525
|
-
var selectorNeedsScoping = (selector, scopeSelector2) => {
|
|
1526
|
-
const re = makeScopeMatcher(scopeSelector2);
|
|
1527
|
-
return !re.test(selector);
|
|
1528
|
-
};
|
|
1529
|
-
var injectScopingSelector = (selector, scopingSelector) => {
|
|
1530
|
-
return selector.replace(_selectorPartsRe, (_, before = "", _colonGroup, colon = "", after = "") => {
|
|
1531
|
-
return before + scopingSelector + colon + after;
|
|
1532
|
-
});
|
|
1533
|
-
};
|
|
1534
|
-
var applySimpleSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1535
|
-
_polyfillHostRe.lastIndex = 0;
|
|
1536
|
-
if (_polyfillHostRe.test(selector)) {
|
|
1537
|
-
const replaceBy = `.${hostSelector}`;
|
|
1538
|
-
return selector.replace(_polyfillHostNoCombinatorRe, (_, selector2) => injectScopingSelector(selector2, replaceBy)).replace(_polyfillHostRe, replaceBy + " ");
|
|
1539
|
-
}
|
|
1540
|
-
return scopeSelector2 + " " + selector;
|
|
1541
|
-
};
|
|
1542
|
-
var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
1543
|
-
const isRe = /\[is=([^\]]*)\]/g;
|
|
1544
|
-
scopeSelector2 = scopeSelector2.replace(isRe, (_, ...parts) => parts[0]);
|
|
1545
|
-
const className = "." + scopeSelector2;
|
|
1546
|
-
const _scopeSelectorPart = (p) => {
|
|
1547
|
-
let scopedP = p.trim();
|
|
1548
|
-
if (!scopedP) {
|
|
1549
|
-
return "";
|
|
1550
|
-
}
|
|
1551
|
-
if (p.indexOf(_polyfillHostNoCombinator) > -1) {
|
|
1552
|
-
scopedP = applySimpleSelectorScope(p, scopeSelector2, hostSelector);
|
|
1553
|
-
} else {
|
|
1554
|
-
const t = p.replace(_polyfillHostRe, "");
|
|
1555
|
-
if (t.length > 0) {
|
|
1556
|
-
scopedP = injectScopingSelector(t, className);
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
return scopedP;
|
|
1560
|
-
};
|
|
1561
|
-
const safeContent = safeSelector(selector);
|
|
1562
|
-
selector = safeContent.content;
|
|
1563
|
-
let scopedSelector = "";
|
|
1564
|
-
let startIndex = 0;
|
|
1565
|
-
let res;
|
|
1566
|
-
const sep2 = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
|
|
1567
|
-
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1568
|
-
let shouldScope = !hasHost;
|
|
1569
|
-
while ((res = sep2.exec(selector)) !== null) {
|
|
1570
|
-
const separator = res[1];
|
|
1571
|
-
const part2 = selector.slice(startIndex, res.index).trim();
|
|
1572
|
-
shouldScope = shouldScope || part2.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1573
|
-
const scopedPart = shouldScope ? _scopeSelectorPart(part2) : part2;
|
|
1574
|
-
scopedSelector += `${scopedPart} ${separator} `;
|
|
1575
|
-
startIndex = sep2.lastIndex;
|
|
1576
|
-
}
|
|
1577
|
-
const part = selector.substring(startIndex);
|
|
1578
|
-
shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
|
|
1579
|
-
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1580
|
-
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1581
|
-
};
|
|
1582
|
-
var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
|
|
1583
|
-
return selector.split(",").map((shallowPart) => {
|
|
1584
|
-
if (slotSelector && shallowPart.indexOf("." + slotSelector) > -1) {
|
|
1585
|
-
return shallowPart.trim();
|
|
1586
|
-
}
|
|
1587
|
-
if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
|
|
1588
|
-
return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
|
|
1589
|
-
} else {
|
|
1590
|
-
return shallowPart.trim();
|
|
1591
|
-
}
|
|
1592
|
-
}).join(", ");
|
|
1593
|
-
};
|
|
1594
|
-
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
1595
|
-
return processRules(cssText, (rule) => {
|
|
1596
|
-
let selector = rule.selector;
|
|
1597
|
-
let content = rule.content;
|
|
1598
|
-
if (rule.selector[0] !== "@") {
|
|
1599
|
-
selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
|
|
1600
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1601
|
-
content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
|
|
1602
|
-
}
|
|
1603
|
-
const cssRule = {
|
|
1604
|
-
selector: selector.replace(/\s{2,}/g, " ").trim(),
|
|
1605
|
-
content
|
|
1606
|
-
};
|
|
1607
|
-
return cssRule;
|
|
1608
|
-
});
|
|
1609
|
-
};
|
|
1610
|
-
var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginalSelector) => {
|
|
1611
|
-
cssText = insertPolyfillHostInCssText(cssText);
|
|
1612
|
-
cssText = convertColonHost(cssText);
|
|
1613
|
-
cssText = convertColonHostContext(cssText);
|
|
1614
|
-
const slotted = convertColonSlotted(cssText, slotScopeId);
|
|
1615
|
-
cssText = slotted.cssText;
|
|
1616
|
-
cssText = convertShadowDOMSelectors(cssText);
|
|
1617
|
-
if (scopeId2) {
|
|
1618
|
-
cssText = scopeSelectors(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1619
|
-
}
|
|
1620
|
-
cssText = replaceShadowCssHost(cssText, hostScopeId);
|
|
1621
|
-
cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ");
|
|
1622
|
-
return {
|
|
1623
|
-
cssText: cssText.trim(),
|
|
1624
|
-
// We need to replace the shadow CSS host string in each of these selectors since we created
|
|
1625
|
-
// them prior to the replacement happening in the components CSS text.
|
|
1626
|
-
slottedSelectors: slotted.selectors.map((ref) => ({
|
|
1627
|
-
orgSelector: replaceShadowCssHost(ref.orgSelector, hostScopeId),
|
|
1628
|
-
updatedSelector: replaceShadowCssHost(ref.updatedSelector, hostScopeId)
|
|
1629
|
-
}))
|
|
1630
|
-
};
|
|
1631
|
-
};
|
|
1632
|
-
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1633
|
-
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1634
|
-
};
|
|
1635
|
-
var expandPartSelectors = (cssText) => {
|
|
1636
|
-
const partSelectorRe = /([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;
|
|
1637
|
-
return processRules(cssText, (rule) => {
|
|
1638
|
-
if (rule.selector[0] === "@") {
|
|
1639
|
-
return rule;
|
|
1640
|
-
}
|
|
1641
|
-
const selectors = rule.selector.split(",").map((sel) => {
|
|
1642
|
-
const out = [sel.trim()];
|
|
1643
|
-
let m;
|
|
1644
|
-
while ((m = partSelectorRe.exec(sel)) !== null) {
|
|
1645
|
-
const before = m[1].trimEnd();
|
|
1646
|
-
const partNames = m[2].trim().split(/\s+/);
|
|
1647
|
-
const after = m[3] || "";
|
|
1648
|
-
const partAttr = partNames.flatMap((p) => {
|
|
1649
|
-
if (!rule.selector.includes(`[part~="${p}"]`)) {
|
|
1650
|
-
return [`[part~="${p}"]`];
|
|
1651
|
-
}
|
|
1652
|
-
return [];
|
|
1653
|
-
}).join("");
|
|
1654
|
-
const expanded = `${before} ${partAttr}${after}`;
|
|
1655
|
-
if (!!partAttr && expanded !== sel.trim()) {
|
|
1656
|
-
out.push(expanded);
|
|
1657
|
-
}
|
|
1658
|
-
}
|
|
1659
|
-
return out.join(", ");
|
|
1660
|
-
});
|
|
1661
|
-
rule.selector = selectors.join(", ");
|
|
1662
|
-
return rule;
|
|
1663
|
-
});
|
|
1664
|
-
};
|
|
1665
|
-
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1666
|
-
const hostScopeId = scopeId2 + "-h";
|
|
1667
|
-
const slotScopeId = scopeId2 + "-s";
|
|
1668
|
-
const commentsWithHash = extractCommentsWithHash(cssText);
|
|
1669
|
-
cssText = stripComments(cssText);
|
|
1670
|
-
const orgSelectors = [];
|
|
1671
|
-
{
|
|
1672
|
-
const processCommentedSelector = (rule) => {
|
|
1673
|
-
const placeholder = `/*!@___${orgSelectors.length}___*/`;
|
|
1674
|
-
const comment = `/*!@${rule.selector}*/`;
|
|
1675
|
-
orgSelectors.push({ placeholder, comment });
|
|
1676
|
-
rule.selector = placeholder + rule.selector;
|
|
1677
|
-
return rule;
|
|
1678
|
-
};
|
|
1679
|
-
cssText = processRules(cssText, (rule) => {
|
|
1680
|
-
if (rule.selector[0] !== "@") {
|
|
1681
|
-
return processCommentedSelector(rule);
|
|
1682
|
-
} else if (rule.selector.startsWith("@media") || rule.selector.startsWith("@supports") || rule.selector.startsWith("@page") || rule.selector.startsWith("@document")) {
|
|
1683
|
-
rule.content = processRules(rule.content, processCommentedSelector);
|
|
1684
|
-
return rule;
|
|
1685
|
-
}
|
|
1686
|
-
return rule;
|
|
1687
|
-
});
|
|
1688
|
-
}
|
|
1689
|
-
const scoped = scopeCssText(cssText, scopeId2, hostScopeId, slotScopeId);
|
|
1690
|
-
cssText = [scoped.cssText, ...commentsWithHash].join("\n");
|
|
1691
|
-
{
|
|
1692
|
-
orgSelectors.forEach(({ placeholder, comment }) => {
|
|
1693
|
-
cssText = cssText.replace(placeholder, comment);
|
|
1694
|
-
});
|
|
1695
|
-
}
|
|
1696
|
-
scoped.slottedSelectors.forEach((slottedSelector) => {
|
|
1697
|
-
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector) + "(?=\\s*[,{]|$)", "g");
|
|
1698
|
-
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1699
|
-
});
|
|
1700
|
-
cssText = expandPartSelectors(cssText);
|
|
1701
|
-
return cssText;
|
|
1702
|
-
};
|
|
1703
|
-
|
|
1704
1249
|
// src/utils/remote-value.ts
|
|
1705
1250
|
var RemoteValue = class _RemoteValue {
|
|
1706
1251
|
/**
|
|
@@ -2186,9 +1731,6 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
2186
1731
|
var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
2187
1732
|
let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
|
|
2188
1733
|
let childNode;
|
|
2189
|
-
if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
|
|
2190
|
-
containerElm = containerElm.shadowRoot;
|
|
2191
|
-
}
|
|
2192
1734
|
if (parentVNode.$tag$ === "template") {
|
|
2193
1735
|
containerElm = containerElm.content;
|
|
2194
1736
|
}
|
|
@@ -2512,11 +2054,11 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
2512
2054
|
rootVnode.$tag$ = null;
|
|
2513
2055
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
2514
2056
|
hostRef.$vnode$ = rootVnode;
|
|
2515
|
-
rootVnode.$elm$ = oldVNode.$elm$ = hostElm
|
|
2057
|
+
rootVnode.$elm$ = oldVNode.$elm$ = hostElm;
|
|
2516
2058
|
{
|
|
2517
2059
|
scopeId = hostElm["s-sc"];
|
|
2518
2060
|
}
|
|
2519
|
-
useNativeShadowDom =
|
|
2061
|
+
useNativeShadowDom = supportsShadow;
|
|
2520
2062
|
{
|
|
2521
2063
|
contentRef = hostElm["s-cr"];
|
|
2522
2064
|
checkSlotFallbackVisibility = false;
|
|
@@ -3022,13 +2564,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3022
2564
|
const scopeId2 = getScopeId(cmpMeta);
|
|
3023
2565
|
if (!styles.has(scopeId2) || BUILD.hotModuleReplacement) {
|
|
3024
2566
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
3025
|
-
{
|
|
3026
|
-
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
3027
|
-
style = scopeCss(style, scopeId2);
|
|
3028
|
-
} else if (needsScopedSSR()) {
|
|
3029
|
-
style = expandPartSelectors(style);
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
2567
|
registerStyle(scopeId2, style);
|
|
3033
2568
|
endRegisterStyles();
|
|
3034
2569
|
}
|
|
@@ -3073,10 +2608,7 @@ var connectedCallback = (elm) => {
|
|
|
3073
2608
|
{
|
|
3074
2609
|
hostId = elm.getAttribute(HYDRATE_ID);
|
|
3075
2610
|
if (hostId) {
|
|
3076
|
-
if (cmpMeta.$flags$ &
|
|
3077
|
-
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
|
|
3078
|
-
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
3079
|
-
} else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
2611
|
+
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
3080
2612
|
const scopeId2 = getScopeId(cmpMeta);
|
|
3081
2613
|
elm["s-sc"] = scopeId2;
|
|
3082
2614
|
}
|
|
@@ -4828,7 +4360,6 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
4828
4360
|
const orgDocumentCreateElement = win2.document.createElement;
|
|
4829
4361
|
const orgDocumentCreateElementNS = win2.document.createElementNS;
|
|
4830
4362
|
const resolved2 = Promise.resolve();
|
|
4831
|
-
setScopedSSR(opts);
|
|
4832
4363
|
let tmrId;
|
|
4833
4364
|
let ranCompleted = false;
|
|
4834
4365
|
function hydratedComplete() {
|
|
@@ -5168,6 +4699,7 @@ var plt = {
|
|
|
5168
4699
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
5169
4700
|
ce: (eventName, opts) => new win.CustomEvent(eventName, opts)
|
|
5170
4701
|
};
|
|
4702
|
+
var supportsShadow = BUILD.shadowDom;
|
|
5171
4703
|
var getHostRef = (ref) => {
|
|
5172
4704
|
if (ref.__stencil__getHostRef) {
|
|
5173
4705
|
return ref.__stencil__getHostRef();
|
|
@@ -5201,11 +4733,6 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
5201
4733
|
return hostRef;
|
|
5202
4734
|
};
|
|
5203
4735
|
var styles = /* @__PURE__ */ new Map();
|
|
5204
|
-
var setScopedSSR = (opts) => {
|
|
5205
|
-
scopedSSR = opts.serializeShadowRoot !== false && opts.serializeShadowRoot !== "declarative-shadow-dom";
|
|
5206
|
-
};
|
|
5207
|
-
var needsScopedSSR = () => scopedSSR;
|
|
5208
|
-
var scopedSSR = false;
|
|
5209
4736
|
|
|
5210
4737
|
const primary = "#051D36";
|
|
5211
4738
|
const secondary = "#555555";
|
|
@@ -5483,7 +5010,7 @@ class SdBadge {
|
|
|
5483
5010
|
label = '';
|
|
5484
5011
|
render() {
|
|
5485
5012
|
const resolvedColor = resolveColor(this.color);
|
|
5486
|
-
return (hAsync("div", { key: '
|
|
5013
|
+
return (hAsync("div", { key: 'a83ffeb7171c32bafc3312d95c9fed576d676a0d', class: `sd-badge sd-badge--${this.size}`, style: { '--sd-badge-color': resolvedColor } }, hAsync("div", { key: 'b6d84b2391d0e03edcab957b4edf73c765c04c35', class: "sd-badge__dot" }), hAsync("div", { key: 'f06b5639135d87d7346b46c90a28ddeb40b05c9f', class: "sd-badge__label" }, this.label)));
|
|
5487
5014
|
}
|
|
5488
5015
|
static get style() { return sdBadgeCss(); }
|
|
5489
5016
|
static get cmpMeta() { return {
|
|
@@ -5952,13 +5479,13 @@ class SdButtonV2 {
|
|
|
5952
5479
|
const iconOnly = !this.label && Boolean(this.icon);
|
|
5953
5480
|
const accessibleName = iconOnly && this.ariaLabel.trim() ? this.ariaLabel : undefined;
|
|
5954
5481
|
const iconColor = this.disabled ? DISABLED_CONTENT : PRESET_CONTENT_COLORS$1[preset];
|
|
5955
|
-
return (hAsync("button", { key: '
|
|
5482
|
+
return (hAsync("button", { key: '9adec3868e5337822463a5a37a741ef146a081be', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type, disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
5956
5483
|
'--sd-button-v2-bg': config.variant === 'primary' ? config.color : '#FFFFFF',
|
|
5957
5484
|
'--sd-button-v2-bg-hover': PRESET_HOVER_BACKGROUNDS$1[preset],
|
|
5958
5485
|
'--sd-button-v2-border': PRESET_BORDER_COLORS$1[preset],
|
|
5959
5486
|
'--sd-button-v2-content': PRESET_CONTENT_COLORS$1[preset],
|
|
5960
5487
|
'--sd-button-v2-accent': BUTTON_FOCUS_RING_COLOR,
|
|
5961
|
-
}, onClick: this.handleClick }, hAsync("span", { key: '
|
|
5488
|
+
}, onClick: this.handleClick }, hAsync("span", { key: '849c90886e77e792e4e34ef064352361a29664f0', class: "sd-button-v2__content" }, this.icon && (hAsync("sd-icon", { key: '5c5bc61ab43aa17124337a7107a3e6ab82f566ae', class: "sd-button-v2__icon", name: this.icon, size: BUTTON_ICON_SIZES[config.size], color: iconColor })), this.label && hAsync("span", { key: 'e2d1a5ce465f07310a4d03966609baaf7e968b0e', class: "sd-button-v2__label" }, this.label))));
|
|
5962
5489
|
}
|
|
5963
5490
|
static get style() { return sdButtonV2Css(); }
|
|
5964
5491
|
static get cmpMeta() { return {
|
|
@@ -5987,7 +5514,7 @@ class SdCard {
|
|
|
5987
5514
|
bordered = false;
|
|
5988
5515
|
sdClass = '';
|
|
5989
5516
|
render() {
|
|
5990
|
-
return (hAsync(Fragment, { key: '
|
|
5517
|
+
return (hAsync(Fragment, { key: '3999f64f54054b3a1662fac4aacf9f6898acb957' }, hAsync("div", { key: '666b8e849b92a5e75d259ff079237911fd591cdd', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, hAsync("slot", { key: 'dc8f4ae80e9aca7a0aecaed81f45d40e7df2c067' }))));
|
|
5991
5518
|
}
|
|
5992
5519
|
static get style() { return sdCardCss(); }
|
|
5993
5520
|
static get cmpMeta() { return {
|
|
@@ -6303,7 +5830,7 @@ class SdDatePicker {
|
|
|
6303
5830
|
this.isOpen = false;
|
|
6304
5831
|
};
|
|
6305
5832
|
render() {
|
|
6306
|
-
return (hAsync("div", { key: '
|
|
5833
|
+
return (hAsync("div", { key: 'cd2f9c240e1e67806d1d9334937a905330d29a1f', class: { 'sd-date-picker': true, 'sd-date-picker--disabled': this.disabled } }, hAsync("sd-input", { key: '1d77404494bd1fadf15d82dfabecbf61b73e5da8', 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: '627b76b7d276cff34224a130bb2596ca6f2ff49e', 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: '9dd006a9051c22dd8084ae9cb72e82c9c0b9be2b', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.handleClose }, hAsync("div", { key: '5090eb945c7241f3224b3d2c7a5a96221cc46c04', class: "sd-date-picker__menu" }, hAsync("div", { key: 'fa127745062937dfe4f04773b7d6afa74d13bd7a', class: "sd-date-picker__header" }, hAsync("div", { key: '7c59917872614d1351a3dfe3783017bd6bc6b75c', class: "year-nav" }, hAsync("button", { key: '9e27d2d76ca72820d57c2d9ebc40fa842129da22', type: "button", name: "prev-year", title: "Previous Year", onClick: () => this.setCurrentYear(this.currentYear - 1) }, hAsync("sd-icon", { key: '17c8f872b7cfb2825d4c9528b5838487b97529f0', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '41999c78367c90bc4d1d9bfdeb6e3d29d44df2c2', class: "year-nav__current" }, this.currentYear), hAsync("button", { key: '52953ec66118afd480e7ce6207a551f18b61ac6d', type: "button", name: "next-year", title: "Next Year", onClick: () => this.setCurrentYear(this.currentYear + 1) }, hAsync("sd-icon", { key: 'e740bcc2a23f4df850b4e2579ce0cae14419313c', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '7fac86c6405a3936a1f0bdb51e5ca61463ef463a', class: "month-nav" }, hAsync("button", { key: '62e22a2063c7ea972bf74ea08af0d519a5250b3f', type: "button", name: "prev-month", title: "Previous ", onClick: () => this.handleUpdateMonth('prev') }, hAsync("sd-icon", { key: 'fa53cbb5f2e61a3b1f0807639ce2c81516a1ca57', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("span", { key: '57eb7eaf1e3a11ba69cf4ef4af9852541abd7902', class: "month-nav__current" }, this.currentMonth, "\uC6D4"), hAsync("button", { key: '08a783b73efd7a5df2638df7c8bcac5411b2e642', type: "button", name: "next-month", title: "Next Month", onClick: () => this.handleUpdateMonth('next') }, hAsync("sd-icon", { key: '4a5bb4f4e6f3105fc9fda008eb51a47efe606b81', name: "arrowRight", size: "12", color: "#CCCCCC" })))), hAsync("div", { key: '8dd540a7188716446b2e9bcda707d7458a2ea817', class: "sd-date-picker__days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("div", { key: day, class: "day" }, day)))), hAsync("div", { key: 'f2da8d2325cb2fb9cb89d9c93d850cefc62235bf', class: "sd-date-picker__body" }, [
|
|
6307
5834
|
...this.calendar.prevMonthDays,
|
|
6308
5835
|
...this.calendar.days,
|
|
6309
5836
|
...this.calendar.afterMonthDays,
|
|
@@ -6495,10 +6022,10 @@ class SdDateRangePicker {
|
|
|
6495
6022
|
this.setHoverDate(hoverDate);
|
|
6496
6023
|
}
|
|
6497
6024
|
render() {
|
|
6498
|
-
return (hAsync("div", { key: '
|
|
6025
|
+
return (hAsync("div", { key: '1862958ea2e972700ea83ed61f0285f09cf52c02', class: {
|
|
6499
6026
|
'sd-date-range-picker': true,
|
|
6500
6027
|
'sd-date-range-picker--disabled': this.disabled,
|
|
6501
|
-
} }, hAsync("sd-input", { key: '
|
|
6028
|
+
} }, hAsync("sd-input", { key: '808670f22b59401c0125dd1191a6180cc6f72799', 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: '123e8beb77c3fceaaa3a8d994f8a8539fe35d317', 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: '448c174030598565f910df316002d78bdfec3f89', open: this.isOpen, parentRef: this.inputEl, onSdClose: this.closeMenu }, hAsync("div", { key: 'b5cf493587c7831e59a6156df87cb56be6bd585b', class: "sd-date-range-picker__menu" }, hAsync("div", { key: 'c044d5377d0d88affecaa61eec2a2239b87158d8', class: "sd-date-range-picker__header mb-16pxr flex flex-nowrap items-center justify-center" }, hAsync("button", { key: 'c497891fe1d06b8f6c1a79000edc0e4f4fd79735', type: "button", name: "prev", title: "Previous", onClick: () => this.setPrevYear(this.prevYear - 1) }, hAsync("sd-icon", { key: 'ad899e9daec0752b744bc73e9cbd99c6a731b7db', name: "arrowLeft", size: "12", color: "#CCCCCC" })), hAsync("div", { key: '595ac699adc90e8b15775ce47a2cda8bbc2f5c25', class: "header-label" }, this.prevYear), hAsync("button", { key: '684ce75f14b08cd57ce6f019a1dfb3ab384b0c11', type: "button", name: "next", title: "Next", onClick: () => this.setPrevYear(this.prevYear + 1) }, hAsync("sd-icon", { key: '31dde7526d0ee3e7abf965eea6f825d557e7c745', name: "arrowRight", size: "12", color: "#CCCCCC" }))), hAsync("div", { key: '3e70334c95d29f302f2dc6d1cb7fbb3603c74a48', 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
|
|
6502
6029
|
? `${this.prevYear}.${String(this.prevMonth).padStart(2, '0')}`
|
|
6503
6030
|
: `${this.nextYear}.${String(this.nextMonth).padStart(2, '0')}`), hAsync("div", { class: "calendar-days" }, ['일', '월', '화', '수', '목', '금', '토'].map(day => (hAsync("sd-date-box", { key: day, date: day, disabled: true, class: "day" })))), hAsync("div", { class: "calendar-body mt-12pxr grid grid-cols-7 gap-y-8pxr" }, [...calendar.prevMonthDays, ...calendar.days, ...calendar.afterMonthDays].map((day, idx) => (hAsync("sd-date-box", { key: `prev${day}_${idx}`, date: !day ? '' : Number(day), selected: this.dateRange.some(date => date === this.formatDate(index, Number(day))), type: this.getDateBoxType(this.formatDate(index, Number(day))), isToday: today === this.formatDate(index, Number(day)), disabled: !day ? true : this.isDisabledDate(this.formatDate(index, Number(day))), inRange: this.isDateInRange(this.formatDate(index, Number(day))), isStartDate: this.dateRange[0] === this.formatDate(index, Number(day)), isEndDate: this.dateRange[1] === this.formatDate(index, Number(day)), onSdClick: () => this.handleDateClick(index, Number(day)), onSdMouseOver: () => this.handleDateHover(index, Number(day)) }))))))))))))));
|
|
6504
6031
|
}
|
|
@@ -6863,7 +6390,7 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
6863
6390
|
render() {
|
|
6864
6391
|
const { config, preset } = this.resolvedConfig;
|
|
6865
6392
|
const chevronColor = this.disabled ? DROPDOWN_DISABLED_CONTENT : PRESET_CONTENT_COLORS[preset];
|
|
6866
|
-
return (hAsync("div", { key: '
|
|
6393
|
+
return (hAsync("div", { key: '93869c11681e1ebaa54ff64fb940a9a5ae6b10e1', class: "sd-dropdown-button" }, hAsync("button", { key: 'e21f44d8b18ed969a30e37263d74327cae73b543', type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: {
|
|
6867
6394
|
'--sd-dropdown-button-min-width': `${DROPDOWN_BUTTON_MIN_WIDTHS[config.size]}px`,
|
|
6868
6395
|
'--sd-dropdown-button-bg': config.color,
|
|
6869
6396
|
'--sd-dropdown-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
|
|
@@ -6874,7 +6401,7 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
6874
6401
|
'--sd-dropdown-button-disabled-bg': DROPDOWN_DISABLED_BACKGROUND,
|
|
6875
6402
|
'--sd-dropdown-button-disabled-content': DROPDOWN_DISABLED_CONTENT,
|
|
6876
6403
|
'--sd-dropdown-button-disabled-border': DROPDOWN_DISABLED_BORDER,
|
|
6877
|
-
} }, hAsync("span", { key: '
|
|
6404
|
+
} }, hAsync("span", { key: '561db14272548fc4eb9ffcf750894198180c0d57', class: "sd-dropdown-button__trigger-label" }, this.label), hAsync("span", { key: '954a689fc1387fd5b37964188c209049f21f94ba', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), hAsync("span", { key: '41a603c6549fda954eca10081e2d4386c3284561', class: "sd-dropdown-button__trigger-icon", "aria-hidden": "true" }, hAsync("sd-icon", { key: 'f38cb3ee71cdcc11db5993d3aa96f7e1c23953d0', name: this.isOpen ? 'arrowUp' : 'arrowDown', size: 12, color: chevronColor }))), this.renderDropdown(preset)));
|
|
6878
6405
|
}
|
|
6879
6406
|
static get watchers() { return {
|
|
6880
6407
|
"isOpen": [{
|
|
@@ -7021,15 +6548,15 @@ class SdField {
|
|
|
7021
6548
|
}
|
|
7022
6549
|
}
|
|
7023
6550
|
render() {
|
|
7024
|
-
return (hAsync("div", { key: '
|
|
6551
|
+
return (hAsync("div", { key: '9ed0e615761d5c76dff1e95318b131bde22cd376', class: {
|
|
7025
6552
|
'sd-field': true,
|
|
7026
6553
|
'sd-field--has-label': !!this.label,
|
|
7027
6554
|
'sd-field--has-label-inside': !!this.label && this.insideLabel,
|
|
7028
6555
|
[this.fieldStatus]: !!this.fieldStatus,
|
|
7029
|
-
} }, hAsync("div", { key: '
|
|
6556
|
+
} }, hAsync("div", { key: '6d051479c9874f3c765d50096db80c73c4fc461b', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: '64ea18d481f0ad689ed984cd40837717fb37a751', class: {
|
|
7030
6557
|
'sd-field__control': true,
|
|
7031
6558
|
'sd-field__control--label-inside ': !!this.label && this.insideLabel,
|
|
7032
|
-
} }, hAsync("slot", { key: '
|
|
6559
|
+
} }, hAsync("slot", { key: '8e043b3e476e0d574612c892f6c8c0bca28c117f' }))), this.errorMsg && hAsync("div", { key: '22d42bacdbdfe85dbe08395d21e59a06946986f5', class: "sd-field__error-message" }, this.errorMsg)));
|
|
7033
6560
|
}
|
|
7034
6561
|
renderLabel(label) {
|
|
7035
6562
|
if (!label)
|
|
@@ -7163,15 +6690,15 @@ class SdFilePicker {
|
|
|
7163
6690
|
render() {
|
|
7164
6691
|
const hasFiles = this.hasFiles();
|
|
7165
6692
|
const displayText = this.getDisplayText();
|
|
7166
|
-
return (hAsync("div", { key: '
|
|
6693
|
+
return (hAsync("div", { key: '8d0b3002090064a062df3bc21e54fb8011a520ed', class: {
|
|
7167
6694
|
'sd-file-picker': true,
|
|
7168
6695
|
[this.getStatusClass()]: true,
|
|
7169
6696
|
'sd-file-picker--inline': this.inline,
|
|
7170
|
-
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: '
|
|
6697
|
+
}, onClick: this.handleClick, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("input", { key: 'e58b89fa203a86286d088a7ec7b1be0f740b948a', 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: '42440a854a85aeed63f887b25fa13d9609202974', name: "attachFile", size: 16, color: this.getIconColor(), class: "sd-file-picker__icon" }), hAsync("div", { key: '25bd48b058fcff917aa1ee13c9cd991c49ef4aa1', ref: el => (this.fileNamesRef = el), class: {
|
|
7171
6698
|
'sd-file-picker__text': true,
|
|
7172
6699
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
7173
6700
|
'sd-file-picker__text--active': hasFiles,
|
|
7174
|
-
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '
|
|
6701
|
+
} }, displayText), !this.disabled && hasFiles && (hAsync("sd-icon", { key: '9d82107ff69909519d1a3051054c42370e6b181c', name: "close", size: 12, color: "#888888", class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (hAsync("div", { key: '8c8dfeb9a82c4ca69e6ae88aa8f129c72d884b14', class: "sd-file-picker__tooltip" }, displayText))));
|
|
7175
6702
|
}
|
|
7176
6703
|
static get watchers() { return {
|
|
7177
6704
|
"value": [{
|
|
@@ -7350,7 +6877,7 @@ class SdFloatingPopover {
|
|
|
7350
6877
|
this.close.emit();
|
|
7351
6878
|
}
|
|
7352
6879
|
render() {
|
|
7353
|
-
return hAsync("slot", { key: '
|
|
6880
|
+
return hAsync("slot", { key: 'fe02da5ce55072c8fa313e467967f2a1c18f86bb' });
|
|
7354
6881
|
}
|
|
7355
6882
|
static get style() { return sdFloatingPortalCss(); }
|
|
7356
6883
|
static get cmpMeta() { return {
|
|
@@ -7507,9 +7034,9 @@ class SdGuide {
|
|
|
7507
7034
|
};
|
|
7508
7035
|
render() {
|
|
7509
7036
|
const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
|
|
7510
|
-
return (hAsync("div", { key: '
|
|
7037
|
+
return (hAsync("div", { key: '69dc81c8fe0c5843e86709e72f0cdf3ecaf8c52a', class: "sd-guide", style: {
|
|
7511
7038
|
'--sd-guide-color': GUIDE_ICON[this.type].color,
|
|
7512
|
-
} }, hAsync("sd-button", { key: '
|
|
7039
|
+
} }, hAsync("sd-button", { key: '254e03a9d2e4d36ca26a23158acc960dcfb90578', 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: '701a049ebcabd0b29fa74fac246cecdedace2022', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, hAsync("div", { key: 'e8f8efcbcbe29d51a29a8ca3803ed0a754a42531', style: { position: 'absolute', width: '0px', height: '0px' } }, hAsync("div", { key: '5f54893503560535d6adedea41d81182c72b04e5', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, hAsync("sd-button", { key: '9747683a1123307a9e4214e0f4be63fd09af1fec', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), hAsync("div", { key: '9fb06eaeae5fc0a805855b78b8d67583183f7a8c', class: "sd-guide__popup__header" }, hAsync("sd-icon", { key: 'ad4b7e1e5740bbd32877efc0a5614b4e657aca8a', name: "helpOutline", size: 24, color: "green_65" }), hAsync("h3", { key: '5cdf73e175a51b13ee2c5408014de27a9650ac20', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), hAsync("ul", { key: 'f02a8cf5ffe831d2a466e4357f7721c5622d7bee', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
|
|
7513
7040
|
}
|
|
7514
7041
|
// 현재 2depth까지만 스타일 적용
|
|
7515
7042
|
renderListItem(message, depth = 0) {
|
|
@@ -9554,7 +9081,7 @@ class SdIcon {
|
|
|
9554
9081
|
}
|
|
9555
9082
|
render() {
|
|
9556
9083
|
const IconComponent = Icons[this.name]?.[this.size];
|
|
9557
|
-
return (hAsync("i", { key: '
|
|
9084
|
+
return (hAsync("i", { key: '69b8654e2fd745282c1878306a5c464ba0995468', class: this.getIconClasses(), style: this.iconStyle }, hAsync(IconComponent, { key: '64b00309d5ad7787c4fbf2c200719fd74062ccbd', color: this.resolvedColor })));
|
|
9558
9085
|
}
|
|
9559
9086
|
static get style() { return sdIconCss(); }
|
|
9560
9087
|
static get cmpMeta() { return {
|
|
@@ -9679,7 +9206,7 @@ class SdInput {
|
|
|
9679
9206
|
}
|
|
9680
9207
|
};
|
|
9681
9208
|
render() {
|
|
9682
|
-
return (hAsync("sd-field", { key: '
|
|
9209
|
+
return (hAsync("sd-field", { key: '7f32214220ee8dc3e830597b84f846096b48b305', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("label", { key: '71b1f7ce70d475e28f1d9f29c9a49b3f2f548f53', class: "sd-input__content", style: { width: '100%' } }, hAsync("slot", { key: 'c0c92d686b4cee0930716a47a701459c3afc41ff', name: "prefix" }), hAsync("input", { key: '1cdacf0a76d118c0711bae5b1263650c195db838', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: '7786756fca59c02dfb159f10e2925f73b64f0366', name: "suffix" }), this.clearable && this.internalValue && (hAsync("sd-icon", { key: '82b24cae340687d7412ec5210548ad92e33be744', name: "close", color: "grey_65", size: "16", class: "sd-input__clear-icon", onClick: async () => {
|
|
9683
9210
|
this.internalValue = '';
|
|
9684
9211
|
await this.formField?.sdValidate();
|
|
9685
9212
|
} })))));
|
|
@@ -9742,7 +9269,7 @@ class SdLoadingSpinner {
|
|
|
9742
9269
|
return resolveColor(this.color);
|
|
9743
9270
|
}
|
|
9744
9271
|
render() {
|
|
9745
|
-
return (hAsync(Fragment, { key: '
|
|
9272
|
+
return (hAsync(Fragment, { key: '2b60d18fe2f1dc23d90c5552202cdea60a91b2c0' }, hAsync("svg", { key: 'd8e8716433c206019384899897b052d28d486f92', class: "sd-loading-spinner", width: "72px", height: "72px", viewBox: "25 25 50 50", style: { color: this.resolvedColor } }, hAsync("circle", { key: 'c9aaffe398dd40ccea3a2d8a89cb880e3eeb5a6d', class: "path", cx: "50", cy: "50", r: "20", fill: "none", stroke: "currentColor", "stroke-width": "5", "stroke-miterlimit": "10" }))));
|
|
9746
9273
|
}
|
|
9747
9274
|
static get style() { return sdLoadingSpinnerCss(); }
|
|
9748
9275
|
static get cmpMeta() { return {
|
|
@@ -10064,17 +9591,17 @@ class SdNumberInput {
|
|
|
10064
9591
|
const inputStyles = {
|
|
10065
9592
|
textAlign: this.useButton ? 'center' : 'right',
|
|
10066
9593
|
};
|
|
10067
|
-
return (hAsync("sd-field", { key: '
|
|
9594
|
+
return (hAsync("sd-field", { key: 'e72a01e264aa4d680aa740f5098e3be9bb7ac8ac', name: this.name, label: this.label, insideLabel: this.insideLabel, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, ref: el => (this.formField = el), style: inputWidth }, hAsync("label", { key: '3006df4eaf22ecf7e9ad330270623ba7cbbf9c9a', class: {
|
|
10068
9595
|
'sd-number-input': true,
|
|
10069
9596
|
[this.getInputStatus()]: true,
|
|
10070
9597
|
'sd-number-input--with-buttons': this.useButton,
|
|
10071
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: '
|
|
9598
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: this.inputStyle }, hAsync("input", { key: 'e52177d9c7266a1630d9287fdc155f12a5dc7cca', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__input ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, style: inputStyles, onFocus: this.handleFocus, onBlur: this.handleBlur }), this.useButton && (hAsync("div", { key: '18f45963c22ee6a1cdd52e45b41191c3726328ce', class: "sd-number-input__buttons" }, hAsync("button", { key: '73658fecb2300094b1880cae4595975b777b802a', type: "button", class: {
|
|
10072
9599
|
'sd-number-input__button': true,
|
|
10073
9600
|
'sd-number-input__button--decrement': true,
|
|
10074
|
-
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9601
|
+
}, disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: 'd2b4d8eb6b7f5dd30ba704c7d7b35051a5b0df7b', name: "minus", size: 12, color: this.isDecrementDisabled() ? 'grey_45' : 'brilliantblue_70' })), hAsync("button", { key: 'ddcd2255b7870657afbb6549cdc185a804aa3dbf', type: "button", class: {
|
|
10075
9602
|
'sd-number-input__button': true,
|
|
10076
9603
|
'sd-number-input__button--increment': true,
|
|
10077
|
-
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '
|
|
9604
|
+
}, disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: '971098976698154e8e644a93265dc746177c2ce0', name: "add", size: 12, color: this.isIncrementDisabled() ? 'grey_45' : 'brilliantblue_70' })))))));
|
|
10078
9605
|
}
|
|
10079
9606
|
static get watchers() { return {
|
|
10080
9607
|
"value": [{
|
|
@@ -10198,12 +9725,12 @@ class SdPagination {
|
|
|
10198
9725
|
}
|
|
10199
9726
|
}
|
|
10200
9727
|
render() {
|
|
10201
|
-
return (hAsync("div", { key: '
|
|
9728
|
+
return (hAsync("div", { key: '8ab0a0f2dfb17154eaba138aa0688606500be296', class: this.paginationClasses }, hAsync("div", { key: '04b985f2d3e06ef35b18d6d375021499f36952f1', 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: {
|
|
10202
9729
|
'pagination-btn': true,
|
|
10203
9730
|
'pagination-btn--selected': this.currentPage === n,
|
|
10204
9731
|
}, disabled: this.currentPage === n, style: {
|
|
10205
9732
|
'--pagination-btn-width': `${this.buttonWidth}px`,
|
|
10206
|
-
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: '
|
|
9733
|
+
}, onClick: () => this.handlePageChange(n) }, n)))), hAsync("div", { key: 'c2ef87605487622bed06cac8d13d180f4af23e76', class: "append-btns" }, this.renderNextButtons())));
|
|
10207
9734
|
}
|
|
10208
9735
|
static get style() { return sdPaginationCss(); }
|
|
10209
9736
|
static get cmpMeta() { return {
|
|
@@ -10257,11 +9784,11 @@ class SdPopover {
|
|
|
10257
9784
|
this.showPopover = false;
|
|
10258
9785
|
};
|
|
10259
9786
|
render() {
|
|
10260
|
-
return (hAsync(Fragment, { key: '
|
|
9787
|
+
return (hAsync(Fragment, { key: 'fae8880113285544053957bb096c6618dfddc7ec' }, this.label ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: this.icon, size: this.buttonSize, color: this.color, variant: this.buttonVariant, class: "sd-popover", onSdClick: () => (this.showPopover = !this.showPopover) })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: this.icon, size: this.iconSize, color: this.color, class: "sd-popover", onClick: () => (this.showPopover = !this.showPopover) })), this.showPopover && (hAsync("sd-floating-portal", { key: '45323134dcbce4014492dde03c1416deda339ee1', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: this.placement }, hAsync("div", { key: 'c662820224d2c90bb806d2ac010cc95a53308b3a', class: {
|
|
10261
9788
|
'sd-floating-menu': true,
|
|
10262
9789
|
[`sd-floating-menu--${this.placement}`]: true,
|
|
10263
9790
|
[this.menuClass]: !!this.menuClass,
|
|
10264
|
-
} }, hAsync("i", { key: '
|
|
9791
|
+
} }, hAsync("i", { key: '55bc21085df77a027d252d5c3ef6d665207c71f6', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${this.placement}` }, hAsync(TooltipArrow, { key: 'a9bb570b87481c0fe897e65ada655537dd4b8724' })), hAsync("div", { key: '5f28d241157a9f5481fc7fa4e48fd00fac1def5a', class: "sd-floating-menu__content" }, this.menuTitle && hAsync("div", { key: 'cc1dcbe2703dca70004159aa9fe8b18b122d8dbc', class: "sd-floating-menu__title" }, this.menuTitle), this.messages.length > 0 && (hAsync("div", { key: 'f7b72df569c2dce9e6c85bcd9509e38ac9cbbb80', class: "sd-floating-menu__messages" }, this.messages.map(message => (hAsync("div", null, message))))), this.buttons.length > 0 && (hAsync("div", { key: 'd01d2bc92e79454d747b2fd976bfeb431d4d90fe', class: `sd-floating-menu__buttons sd-floating-menu__buttons--${this.buttons.length}` }, this.buttons.map(button => (hAsync("sd-button", { ...button })))))), this.useClose && (hAsync("button", { key: '9cf8cbd72d5bec64636b778ea0642d56c3229590', title: "close", class: "sd-floating-menu__close-button", onClick: () => this.handleClose() }, hAsync("sd-icon", { key: '6df940385a9472e73b408cc51c647c98c95a9af7', name: "close", size: "12", color: "gery_55" }))))))));
|
|
10265
9792
|
}
|
|
10266
9793
|
static get watchers() { return {
|
|
10267
9794
|
"show": [{
|
|
@@ -10478,7 +10005,7 @@ class SdPortal {
|
|
|
10478
10005
|
this.close.emit();
|
|
10479
10006
|
}
|
|
10480
10007
|
render() {
|
|
10481
|
-
return hAsync("slot", { key: '
|
|
10008
|
+
return hAsync("slot", { key: 'ceaa6bed28e3b1bd1a539091434fd7acee6a0e4b' });
|
|
10482
10009
|
}
|
|
10483
10010
|
static get watchers() { return {
|
|
10484
10011
|
"open": [{
|
|
@@ -10540,10 +10067,10 @@ class SdProgress {
|
|
|
10540
10067
|
return this.statusColor[this.progressStatus];
|
|
10541
10068
|
}
|
|
10542
10069
|
render() {
|
|
10543
|
-
return (hAsync("div", { key: '
|
|
10070
|
+
return (hAsync("div", { key: 'a9b7c4a0bb44f7455ea21f632d3ec8edbcc97522', style: {
|
|
10544
10071
|
'--progress-color': this.progressColor,
|
|
10545
10072
|
'--progress-percentage': `${this.progressPercentage}%`,
|
|
10546
|
-
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: '
|
|
10073
|
+
} }, this.type === 'bar' ? this.renderBarProgress() : this.renderSpinnerProgress(), this.label && hAsync("div", { key: 'ff0dfde8b43315883d2e4f17aa5e426fb6bf54ee', class: "sd-progress__label" }, this.label)));
|
|
10547
10074
|
}
|
|
10548
10075
|
renderBarProgress() {
|
|
10549
10076
|
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, "%")));
|
|
@@ -11122,10 +10649,10 @@ class SdSelectDropdown {
|
|
|
11122
10649
|
this.isScrolled = scrollTop > 0;
|
|
11123
10650
|
};
|
|
11124
10651
|
render() {
|
|
11125
|
-
return (hAsync("div", { key: '
|
|
10652
|
+
return (hAsync("div", { key: '5e56cf091a3c3d510bf932933c33a8c3d85e23ef', class: {
|
|
11126
10653
|
'sd-select-dropdown': true,
|
|
11127
10654
|
'sd-select-dropdown--ready': this.isDropdownReady,
|
|
11128
|
-
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: '
|
|
10655
|
+
}, style: this.dropdownSize, onScroll: this.handleDropdownScroll, ref: el => (this.dropdownRef = el) }, this.searchable && (hAsync("sd-select-search-input", { key: 'd965a2a5f31507fb6dca30968edf6334d42b4160', ref: el => (this.searchRef = el), isScrolled: this.isScrolled, searchText: this.searchText, onSdSearchInput: (event) => (this.searchText = event.detail || ''), onSdSearchFocus: () => (this.itemIndex = -1) })), this.filteredOptions.length > 0 ? (this.filteredOptions.map((option, index) => (hAsync("slot", { name: `option-${option.value}` }, hAsync("sd-select-option", { option: option, index: index, isSelected: this.isOptionSelected(option.value), isFocused: index === this.itemIndex, onOptionClick: ({ detail }) => this.optionClick.emit(detail), useCheckbox: this.useCheckbox }))))) : (hAsync("slot", { name: "option-placeholder" }, hAsync("div", { class: 'sd-select-option-placeholder' }, this.optionPlaceholder)))));
|
|
11129
10656
|
}
|
|
11130
10657
|
static get watchers() { return {
|
|
11131
10658
|
"filteredOptions": [{
|
|
@@ -11311,7 +10838,7 @@ class SdSelectMultiple extends BaseDropdownEvent {
|
|
|
11311
10838
|
this.handleOptionSelection(option);
|
|
11312
10839
|
};
|
|
11313
10840
|
render() {
|
|
11314
|
-
return (hAsync("sd-field", { key: '
|
|
10841
|
+
return (hAsync("sd-field", { key: '9395a273b4205854e6fd7e96f26f93c201e6e959', label: this.label, name: this.name, rules: this.rules, error: this.error, disabled: this.disabled, useLabelRequired: this.useLabelRequired, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el) }, hAsync("div", { key: '451758e8c90b79e7ddb3b35226d28ee4a43a3832', class: {
|
|
11315
10842
|
'sd-select-multiple': true,
|
|
11316
10843
|
'sd-select-multiple--open': this.isOpen,
|
|
11317
10844
|
'sd-select-multiple--disabled': this.disabled,
|
|
@@ -11904,7 +11431,7 @@ class SdSelectOption {
|
|
|
11904
11431
|
}
|
|
11905
11432
|
};
|
|
11906
11433
|
render() {
|
|
11907
|
-
return (hAsync("div", { key: '
|
|
11434
|
+
return (hAsync("div", { key: '2f88e7ffe5bce12bc3f352d47d0ebed51a1c69ac', class: {
|
|
11908
11435
|
'sd-select__option': true,
|
|
11909
11436
|
'sd-select__option--selected': this.isSelected,
|
|
11910
11437
|
'sd-select__option--disabled': !!this.option.disabled,
|
|
@@ -11990,7 +11517,7 @@ class SdSelectOptionGroup {
|
|
|
11990
11517
|
}
|
|
11991
11518
|
};
|
|
11992
11519
|
render() {
|
|
11993
|
-
return (hAsync("div", { key: '
|
|
11520
|
+
return (hAsync("div", { key: '7581caff61d1257d653b6f58b8d76c21225b3cc5', class: {
|
|
11994
11521
|
'sd-select__option-group': true,
|
|
11995
11522
|
'sd-select__option-group--selected': !!this.isSelected,
|
|
11996
11523
|
'sd-select__option-group--disabled': !!this.option.disabled,
|
|
@@ -11999,10 +11526,10 @@ class SdSelectOptionGroup {
|
|
|
11999
11526
|
'sd-select__option-group--group': this.option.type === 'group',
|
|
12000
11527
|
'sd-select__option-group--subgroup': this.option.type === 'subgroup',
|
|
12001
11528
|
'sd-select__option-group--item': this.option.type === 'item',
|
|
12002
|
-
}, 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: '
|
|
11529
|
+
}, 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: 'ddb33f6afaa6bc6d6dd3dc494f6ec74b9c023a42', class: "sd-select__option-group__label-wrapper" }, this.useCheckbox && (hAsync("sd-checkbox", { key: '14f2c7fc347718d2909e5006bf2500a9a51b0a66', value: this.isSelected, disabled: this.option.disabled, onClick: e => {
|
|
12003
11530
|
e.preventDefault();
|
|
12004
11531
|
this.handleClick(this.option, this.isSelected, e);
|
|
12005
|
-
} })), hAsync("span", { key: '
|
|
11532
|
+
} })), hAsync("span", { key: '99415ed662cc2f8f29d31e3811eb4496f8fcac47', class: "sd-select__option-group-label" }, this.option.label), this.useIndicator && this.option.type !== 'item' && (hAsync("span", { key: 'a3c7dc6455a94ecd4587f8b13b4d1f10e3b58819', class: "sd-select__option-group__count-indicator" }, `(${this.countInfo?.selectedCount}/${this.countInfo?.totalCount})`)))));
|
|
12006
11533
|
}
|
|
12007
11534
|
static get style() { return sdSelectOptionGroupCss(); }
|
|
12008
11535
|
static get cmpMeta() { return {
|
|
@@ -12051,17 +11578,17 @@ class SdSelectSearchInput {
|
|
|
12051
11578
|
input?.focus({ preventScroll: true });
|
|
12052
11579
|
}
|
|
12053
11580
|
render() {
|
|
12054
|
-
return (hAsync("div", { key: '
|
|
11581
|
+
return (hAsync("div", { key: 'da5faa18fac3c974dcfef4050efe580edcb1bb42', class: {
|
|
12055
11582
|
'sd-select-search-input': true,
|
|
12056
11583
|
'sd-select-search-input--scrolled': !!this.isScrolled,
|
|
12057
|
-
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: '
|
|
11584
|
+
}, onClick: event => event.stopPropagation() }, hAsync("sd-input", { key: 'c469ef89d7600626b19ecd94416849825736ff9f', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
|
|
12058
11585
|
this.searchInput.emit(String(event?.detail));
|
|
12059
11586
|
}, onSdFocus: () => {
|
|
12060
11587
|
this.searchFocus.emit();
|
|
12061
11588
|
}, onKeyDown: event => {
|
|
12062
11589
|
if (event.code === 'Enter')
|
|
12063
11590
|
event.stopPropagation();
|
|
12064
|
-
} }, hAsync("sd-icon", { key: '
|
|
11591
|
+
} }, hAsync("sd-icon", { key: '478a6adda3b53aabf614028bd57a8f987f93cdb6', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
|
|
12065
11592
|
}
|
|
12066
11593
|
static get style() { return sdSelectSearchInputCss(); }
|
|
12067
11594
|
static get cmpMeta() { return {
|
|
@@ -12973,16 +12500,14 @@ class SdTabs {
|
|
|
12973
12500
|
}
|
|
12974
12501
|
return classes.join(' ');
|
|
12975
12502
|
}
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
}
|
|
12980
|
-
return { bgColor: '#E5E5E5', textColor: '#737373' };
|
|
12503
|
+
getBadgeName(tab) {
|
|
12504
|
+
const color = this.isTabSelected(tab) ? 'blue' : 'grey';
|
|
12505
|
+
return `square_${this.size}_${color}`;
|
|
12981
12506
|
}
|
|
12982
12507
|
render() {
|
|
12983
|
-
return (hAsync("div", { key: '
|
|
12984
|
-
const
|
|
12985
|
-
return (hAsync("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab.value) }, hAsync("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge && (hAsync("sd-tag", {
|
|
12508
|
+
return (hAsync("div", { key: 'bc86d4c1775bed6c2d323c9446e2c50631afed7c', class: this.getContainerClasses() }, this.tabs.map((tab, index) => {
|
|
12509
|
+
const badgeName = this.getBadgeName(tab);
|
|
12510
|
+
return (hAsync("div", { key: `tab-${index}`, class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab.value) }, hAsync("span", { "data-label": tab.label, class: "sd-tabs__label" }, tab.label), tab.badge && (hAsync("sd-tag", { name: badgeName, label: tab.badge.toString() }))));
|
|
12986
12511
|
})));
|
|
12987
12512
|
}
|
|
12988
12513
|
static get watchers() { return {
|
|
@@ -13006,65 +12531,121 @@ class SdTabs {
|
|
|
13006
12531
|
}; }
|
|
13007
12532
|
}
|
|
13008
12533
|
|
|
13009
|
-
const
|
|
13010
|
-
|
|
13011
|
-
const TAG_COLORS =
|
|
13012
|
-
grey
|
|
13013
|
-
red
|
|
13014
|
-
orange
|
|
13015
|
-
yellow
|
|
13016
|
-
green
|
|
13017
|
-
blue
|
|
13018
|
-
darkblue
|
|
13019
|
-
indigo
|
|
12534
|
+
const TAG_SHAPES = ['square', 'pill'];
|
|
12535
|
+
const TAG_SIZES = ['sm', 'md', 'lg'];
|
|
12536
|
+
const TAG_COLORS = [
|
|
12537
|
+
'grey',
|
|
12538
|
+
'red',
|
|
12539
|
+
'orange',
|
|
12540
|
+
'yellow',
|
|
12541
|
+
'green',
|
|
12542
|
+
'blue',
|
|
12543
|
+
'darkblue',
|
|
12544
|
+
'indigo',
|
|
12545
|
+
];
|
|
12546
|
+
const TAG_COLOR_CONFIG = {
|
|
12547
|
+
grey: { background: '#EEEEEE', content: '#737373', icon: '#737373' },
|
|
12548
|
+
red: { background: '#FCEFEF', content: '#FB4444', icon: '#FB4444' },
|
|
12549
|
+
orange: { background: '#FEF1EA', content: '#FF6B00', icon: '#FF6B00' },
|
|
12550
|
+
yellow: { background: '#FFF7DD', content: '#916C0D', icon: '#CA9611' },
|
|
12551
|
+
green: { background: '#E8F9EF', content: '#00973C', icon: '#12B553' },
|
|
12552
|
+
blue: { background: '#E6F1FF', content: '#0075FF', icon: '#0075FF' },
|
|
12553
|
+
darkblue: { background: '#EAF5FE', content: '#006AC1', icon: '#006AC1' },
|
|
12554
|
+
indigo: { background: '#EFF6FF', content: '#004290', icon: '#004290' },
|
|
12555
|
+
};
|
|
12556
|
+
const SQUARE_SIZE_CONFIG = {
|
|
12557
|
+
sm: {
|
|
12558
|
+
height: '20px',
|
|
12559
|
+
paddingX: '6px',
|
|
12560
|
+
gap: '4px',
|
|
12561
|
+
fontSize: '11px',
|
|
12562
|
+
fontWeight: '500',
|
|
12563
|
+
iconSize: 12,
|
|
12564
|
+
radius: '4px',
|
|
12565
|
+
},
|
|
12566
|
+
md: {
|
|
12567
|
+
height: '24px',
|
|
12568
|
+
paddingX: '8px',
|
|
12569
|
+
gap: '4px',
|
|
12570
|
+
fontSize: '12px',
|
|
12571
|
+
fontWeight: '700',
|
|
12572
|
+
iconSize: 16,
|
|
12573
|
+
radius: '4px',
|
|
12574
|
+
},
|
|
12575
|
+
lg: {
|
|
12576
|
+
height: '28px',
|
|
12577
|
+
paddingX: '10px',
|
|
12578
|
+
gap: '4px',
|
|
12579
|
+
fontSize: '14px',
|
|
12580
|
+
fontWeight: '700',
|
|
12581
|
+
iconSize: 16,
|
|
12582
|
+
radius: '5px',
|
|
12583
|
+
},
|
|
13020
12584
|
};
|
|
12585
|
+
const PILL_SIZE_CONFIG = {
|
|
12586
|
+
sm: { ...SQUARE_SIZE_CONFIG.sm, radius: '999px' },
|
|
12587
|
+
md: { ...SQUARE_SIZE_CONFIG.md, radius: '999px' },
|
|
12588
|
+
lg: { ...SQUARE_SIZE_CONFIG.lg, radius: '999px' },
|
|
12589
|
+
};
|
|
12590
|
+
const TAG_CONFIG = Object.fromEntries(TAG_SHAPES.flatMap(shape => TAG_SIZES.flatMap(size => TAG_COLORS.map(color => {
|
|
12591
|
+
const sizeConfig = shape === 'square' ? SQUARE_SIZE_CONFIG[size] : PILL_SIZE_CONFIG[size];
|
|
12592
|
+
return [
|
|
12593
|
+
`${shape}_${size}_${color}`,
|
|
12594
|
+
{
|
|
12595
|
+
shape,
|
|
12596
|
+
size,
|
|
12597
|
+
color,
|
|
12598
|
+
...sizeConfig,
|
|
12599
|
+
...TAG_COLOR_CONFIG[color],
|
|
12600
|
+
},
|
|
12601
|
+
];
|
|
12602
|
+
}))));
|
|
12603
|
+
const isTagName = (value) => Object.prototype.hasOwnProperty.call(TAG_CONFIG, value);
|
|
12604
|
+
|
|
12605
|
+
const sdTagCss = () => `sd-tag{display:inline-flex;width:fit-content;height:fit-content}.sd-tag{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-tag-gap, 5px);min-height:var(--sd-tag-height, 24px);padding:0 var(--sd-tag-padding-x, 8px);border-radius:var(--sd-tag-radius, 4px);background:var(--sd-tag-background, #f3f3f3);color:var(--sd-tag-content, #7a7a7a);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}.sd-tag__icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.sd-tag__label{display:inline-flex;align-items:center;justify-content:center;min-width:0;font-size:var(--sd-tag-font-size, 12px);font-weight:var(--sd-tag-font-weight, 700);line-height:1}`;
|
|
12606
|
+
|
|
13021
12607
|
class SdTag {
|
|
13022
12608
|
constructor(hostRef) {
|
|
13023
12609
|
registerInstance(this, hostRef);
|
|
13024
12610
|
}
|
|
13025
|
-
|
|
13026
|
-
size = 'md';
|
|
13027
|
-
color = 'grey';
|
|
13028
|
-
rounded = false;
|
|
12611
|
+
name = 'square_md_grey';
|
|
13029
12612
|
label = '';
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
|
-
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
classes.push('sd-tag--rounded');
|
|
13036
|
-
}
|
|
13037
|
-
if (this.color && !this.bgColor && !this.textColor) {
|
|
13038
|
-
classes.push(TAG_COLORS[this.color]);
|
|
13039
|
-
}
|
|
13040
|
-
if (this.bgColor || this.textColor) {
|
|
13041
|
-
classes.push('sd-tag--custom-color');
|
|
12613
|
+
icon;
|
|
12614
|
+
isLeft = true;
|
|
12615
|
+
get resolvedConfig() {
|
|
12616
|
+
if (!isTagName(this.name)) {
|
|
12617
|
+
throw new Error(`Invalid sd-tag name: ${this.name}`);
|
|
13042
12618
|
}
|
|
13043
|
-
return
|
|
12619
|
+
return TAG_CONFIG[this.name];
|
|
13044
12620
|
}
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
12621
|
+
renderIcon(color, size) {
|
|
12622
|
+
if (!this.icon)
|
|
12623
|
+
return null;
|
|
12624
|
+
return hAsync("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
13049
12625
|
}
|
|
13050
12626
|
render() {
|
|
13051
|
-
const
|
|
13052
|
-
|
|
13053
|
-
|
|
13054
|
-
'--tag-
|
|
13055
|
-
|
|
12627
|
+
const config = this.resolvedConfig;
|
|
12628
|
+
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
12629
|
+
return (hAsync("span", { key: '5f9ee005b146997dd13bb3e6a06680ff8574bd14', class: "sd-tag", style: {
|
|
12630
|
+
'--sd-tag-background': config.background,
|
|
12631
|
+
'--sd-tag-content': config.content,
|
|
12632
|
+
'--sd-tag-height': config.height,
|
|
12633
|
+
'--sd-tag-padding-x': config.paddingX,
|
|
12634
|
+
'--sd-tag-gap': config.gap,
|
|
12635
|
+
'--sd-tag-font-size': config.fontSize,
|
|
12636
|
+
'--sd-tag-font-weight': config.fontWeight,
|
|
12637
|
+
'--sd-tag-radius': config.radius,
|
|
12638
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: 'b123ab6ac015db640e4dc3edc5e2cf90ec5e0ecf', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
13056
12639
|
}
|
|
13057
12640
|
static get style() { return sdTagCss(); }
|
|
13058
12641
|
static get cmpMeta() { return {
|
|
13059
|
-
"$flags$":
|
|
12642
|
+
"$flags$": 512,
|
|
13060
12643
|
"$tagName$": "sd-tag",
|
|
13061
12644
|
"$members$": {
|
|
13062
|
-
"
|
|
13063
|
-
"color": [1],
|
|
13064
|
-
"rounded": [4],
|
|
12645
|
+
"name": [1],
|
|
13065
12646
|
"label": [1],
|
|
13066
|
-
"
|
|
13067
|
-
"
|
|
12647
|
+
"icon": [1],
|
|
12648
|
+
"isLeft": [4, "is-left"]
|
|
13068
12649
|
},
|
|
13069
12650
|
"$listeners$": undefined,
|
|
13070
12651
|
"$lazyBundleId$": "-",
|
|
@@ -13156,10 +12737,10 @@ class SdTextarea {
|
|
|
13156
12737
|
}
|
|
13157
12738
|
render() {
|
|
13158
12739
|
const maxLengthCounter = this.getMaxLengthCounter();
|
|
13159
|
-
return (hAsync("div", { key: '
|
|
12740
|
+
return (hAsync("div", { key: '5f087de7fd28e3f5fa3315c37b8974e7f5878149', class: {
|
|
13160
12741
|
'sd-textarea': true,
|
|
13161
12742
|
[this.getTextareaStatus()]: true,
|
|
13162
|
-
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: '
|
|
12743
|
+
}, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: 'fb9e5c4e98cadbf1a694bce4f9fed498bdc8e7cd', class: "sd-textarea__content" }, hAsync("textarea", { key: 'b0414813c34a127becd94ec6fc2e516c375d8eea', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, autofocus: this.autoFocus, maxLength: this.maxLength, onInput: this.handleInput.bind(this), onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event) })), this.hasFooter() && (hAsync("div", { key: 'fe3f278f3a7d438f8fce8ca4043e00ec0220efd6', class: "sd-textarea__footer" }, this.helpText !== undefined && hAsync("span", { key: '16d15de3ff1e49de16b67088d52f7f2848f2e283', class: "sd-textarea__help-text" }, this.helpText), maxLengthCounter !== null && hAsync("span", { key: '84b4adbd09b7af30dbc68b5f3e6473e97fe4c76e', class: "sd-textarea__counter" }, maxLengthCounter)))));
|
|
13163
12744
|
}
|
|
13164
12745
|
static get watchers() { return {
|
|
13165
12746
|
"value": [{
|
|
@@ -13240,10 +12821,10 @@ class SdToast {
|
|
|
13240
12821
|
background: resolveColor(colorTokens.background),
|
|
13241
12822
|
text: resolveColor(colorTokens.text),
|
|
13242
12823
|
};
|
|
13243
|
-
return (hAsync("div", { key: '
|
|
12824
|
+
return (hAsync("div", { key: '16579a21c0eec78e609b0cf82fcf2d040b8b3388', style: {
|
|
13244
12825
|
'--sd-toast-bg': colors.background,
|
|
13245
12826
|
'--sd-toast-text': colors.text,
|
|
13246
|
-
} }, hAsync("div", { key: '
|
|
12827
|
+
} }, hAsync("div", { key: '108e47983e1ad99ed462a4fa00c29aa9e3393b8b', class: this.getContainerClasses(), role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: 'd034c9aaafc272d51de96de6ccefe49208aba7e3', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '14b97c4cbe7134f67d919abcf4e10cf673dd909d', name: this.icon, size: 16, color: colors.text }))), hAsync("div", { key: '1cecb89bdb19742a7df04625e8f070cd2c207b5e', class: "sd-toast__content" }, hAsync("span", { key: '1daf2a2bea963b7b68c580b30c4c8fa2f3a26c8f', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '8f7961c2c14806aa1323e378f57d74e47614772c', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '89cba5e58ff368aea05130b799d903d4cf85b120', class: `sd-toast__button ${this.type === 'basicLight' ? 'text-white' : ''}`, label: this.buttonLabel, variant: "primary", color: this.type === 'basicLight' ? 'oceanblue_75' : 'white', size: "sm", onSdClick: this.handleButtonClick, style: this.type !== 'basicLight' ? { '--button-text-color': resolveColor('grey_95') } : {} })), this.useClose && (hAsync("button", { key: '0e7fc0737824b61166cbff82a410948ca1745842', type: "button", class: "sd-toast__close", onClick: this.handleClose, "aria-label": "Close", title: "Close" }, hAsync("sd-icon", { key: '82d203f6eb584cb04566e8f3b1bd7a86ca50bba4', name: "close", size: 12, color: colors.text }))))));
|
|
13247
12828
|
}
|
|
13248
12829
|
static get style() { return sdToastCss(); }
|
|
13249
12830
|
static get cmpMeta() { return {
|
|
@@ -13300,7 +12881,7 @@ class SdToggle {
|
|
|
13300
12881
|
this.change.emit(newValue);
|
|
13301
12882
|
};
|
|
13302
12883
|
render() {
|
|
13303
|
-
return (hAsync("label", { key: '
|
|
12884
|
+
return (hAsync("label", { key: '9a8a0221e093040e446bc193f682070aa1f95c6c', "aria-label": this.label || 'toggle', class: this.toggleClasses }, hAsync("input", { key: '4a2e3c626bfa4e439676cc40df619bd284d0178a', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), this.label && hAsync("span", { key: '1eecfd810c17610604d6cf93c6f664690f17ff6a', class: "sd-toggle__label" }, this.label), hAsync("div", { key: '9f082e2f6036e338f2afb6fb719b4ff8d3a01d99', class: "sd-toggle__track" }, hAsync("div", { key: '1d8b1bd11b05091a368c681ead7e79a0e453d510', class: "sd-toggle__thumb" }))));
|
|
13304
12885
|
}
|
|
13305
12886
|
static get style() { return sdToggleCss(); }
|
|
13306
12887
|
static get cmpMeta() { return {
|
|
@@ -13356,7 +12937,7 @@ class SdToggleButton {
|
|
|
13356
12937
|
this.change.emit(newValue);
|
|
13357
12938
|
};
|
|
13358
12939
|
render() {
|
|
13359
|
-
return (hAsync("label", { key: '
|
|
12940
|
+
return (hAsync("label", { key: '174a62904591e559232574d207ff4ad9c0113ad8', class: this.buttonClasses, "aria-label": this.label || 'toggle button' }, this.label, hAsync("input", { key: '7bbd96a0563a8cadcfb7ab9d8e1fb3767508d6bf', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
13360
12941
|
}
|
|
13361
12942
|
static get style() { return sdToggleButtonCss(); }
|
|
13362
12943
|
static get cmpMeta() { return {
|