@sellmate/design-system 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component.listItem-Bnh0r_CA.js +53 -0
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/index.cjs.js +11 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-button_2.cjs.entry.js +54 -0
- package/dist/cjs/sd-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-chip-input.cjs.entry.js +236 -18
- package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +9 -9
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +2 -2
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +17 -7
- package/dist/cjs/sd-field_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-ghost-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-guide.cjs.entry.js +1 -1
- package/dist/cjs/sd-key-value-table.cjs.entry.js +45 -9
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- package/dist/cjs/sd-loading-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-modal-container.cjs.entry.js +8 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +10 -10
- package/dist/cjs/sd-popup.cjs.entry.js +2 -2
- package/dist/cjs/sd-portal.cjs.entry.js +16 -12
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +8 -7
- package/dist/cjs/{sd-select.config-DrJ4LNVz.js → sd-select.config-C9Ohe1QA.js} +25 -71
- package/dist/cjs/sd-select_3.cjs.entry.js +12 -11
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +8 -8
- package/dist/cjs/{sd-table.config-BjJW74Zx.js → sd-table.config-B7MuRLoR.js} +1 -1
- package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sd-td.cjs.entry.js +1 -1
- package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
- package/dist/cjs/sd-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast.cjs.entry.js +2 -2
- package/dist/cjs/sd-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{system-CdAyz3ej.js → system-MjrAugX-.js} +7 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/assets/Bill.js +5 -0
- package/dist/collection/components/assets/Coupon.js +5 -0
- package/dist/collection/components/assets/Delete.js +5 -0
- package/dist/collection/components/assets/Dot.js +5 -0
- package/dist/collection/components/assets/Launcher.js +5 -0
- package/dist/collection/components/assets/Monitor.js +5 -0
- package/dist/collection/components/assets/Shield.js +5 -0
- package/dist/collection/components/assets/Sidebar.js +5 -0
- package/dist/collection/components/assets/Store.js +5 -0
- package/dist/collection/components/assets/index.js +18 -0
- package/dist/collection/components/sd-button/sd-button.js +2 -2
- package/dist/collection/components/sd-chip-input/sd-chip-input.config.js +29 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.css +50 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.js +321 -19
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-divider/sd-divider.js +1 -1
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +7 -0
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +10 -7
- package/dist/collection/components/sd-field/sd-field.js +5 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +1 -1
- package/dist/collection/components/sd-icon/sd-icon.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +2 -3
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.css +2 -2
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +41 -4
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +8 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +2 -2
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-portal/sd-portal.js +16 -12
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +4 -4
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.config.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.js +6 -6
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +3 -3
- package/dist/collection/components/sd-text-link/sd-text-link.js +4 -4
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +3 -3
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +4 -4
- package/dist/collection/utils/modal.js +11 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DfZ8X4ly.js → p-4HPAPKne.js} +1 -1
- package/dist/components/{p-B57sOZvR.js → p-79DExV92.js} +1 -1
- package/dist/components/{p-RE577yb-.js → p-AI4YlQmL.js} +1 -1
- package/dist/components/{p-B4pLCd0_.js → p-B-4ulKJj.js} +1 -1
- package/dist/components/{p-G_N9xEDL.js → p-B3SKaQId.js} +1 -1
- package/dist/components/p-BD8OoYud.js +1 -0
- package/dist/components/p-BJfiMC9H.js +1 -0
- package/dist/components/{p-DknZgTo9.js → p-BLNc_TL-.js} +1 -1
- package/dist/components/{p-CLEAGFjW.js → p-BMIgVp9-.js} +1 -1
- package/dist/components/{p-vS0t7bWk.js → p-BX5uKVOt.js} +1 -1
- package/dist/components/p-BYTrIk62.js +1 -0
- package/dist/components/{p-_P21dOPl.js → p-B_5uwji5.js} +1 -1
- package/dist/components/{p-DUwrMHYa.js → p-Bzo51vnP.js} +1 -1
- package/dist/components/{p-DtG23tkr.js → p-C0tkFuhj.js} +1 -1
- package/dist/components/{p-YlaidN9T.js → p-C3wv8gVC.js} +1 -1
- package/dist/components/{p-YKESuy-p.js → p-CH6cVc2a.js} +1 -1
- package/dist/components/{p-Bfrg9lvO.js → p-CQWZv8vY.js} +1 -1
- package/dist/components/{p-BsQf9d7Q.js → p-CXRFEcE_.js} +1 -1
- package/dist/components/{p-B-61rIur.js → p-C_r3z9VA.js} +1 -1
- package/dist/components/{p-BvAJ_toQ.js → p-Cl5io5TH.js} +1 -1
- package/dist/components/p-ClKABgST.js +1 -0
- package/dist/components/{p-DGyTYauz.js → p-Cmg10jpN.js} +1 -1
- package/dist/components/{p-DeXO3mpJ.js → p-CtWfOIxb.js} +1 -1
- package/dist/components/{p-CIZpVJBx.js → p-CzCu_NDl.js} +1 -1
- package/dist/components/{p-FGvi8J2D.js → p-DAOeioSV.js} +1 -1
- package/dist/components/{p-iGvyLmbb.js → p-DDR0VcRU.js} +1 -1
- package/dist/components/{p-CnfnK5aj.js → p-DMS9mQsg.js} +1 -1
- package/dist/components/{p-B73U-Zw2.js → p-DTFXzlvq.js} +1 -1
- package/dist/components/{p-CHjF0mwj.js → p-DbLQoVx6.js} +1 -1
- package/dist/components/p-Dr5Q2ZKB.js +1 -0
- package/dist/components/{p-B4UxhQes.js → p-DrSHJYop.js} +1 -1
- package/dist/components/p-DvvGi4J_.js +1 -0
- package/dist/components/{p-BrzBnO1L.js → p-DyVh4pNL.js} +1 -1
- package/dist/components/{p-C_6HUUGg.js → p-Ng3JMPxb.js} +1 -1
- package/dist/components/p-U8VaRj9c.js +1 -0
- package/dist/components/{p-BY1ItC8N.js → p-hzCGj0On.js} +1 -1
- package/dist/components/{p-BMVHvEDw.js → p-qJeUUOyB.js} +1 -1
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip-input.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-divider.js +1 -1
- package/dist/components/sd-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-ghost-button.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-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-13b0db59.entry.js → p-0a772d43.entry.js} +1 -1
- package/dist/design-system/p-12306783.entry.js +1 -0
- package/dist/design-system/{p-b457611c.entry.js → p-1602a5fa.entry.js} +1 -1
- package/dist/design-system/p-1f3c1cca.entry.js +1 -0
- package/dist/design-system/{p-3045ffe1.entry.js → p-22484d65.entry.js} +1 -1
- package/dist/design-system/p-3caf2c5b.entry.js +1 -0
- package/dist/design-system/p-3f7349ae.entry.js +1 -0
- package/dist/design-system/{p-b8ea656d.entry.js → p-43529bba.entry.js} +1 -1
- package/dist/design-system/p-46da89f2.entry.js +1 -0
- package/dist/design-system/{p-a1f756ab.entry.js → p-4e1d76b8.entry.js} +1 -1
- package/dist/design-system/{p-03bcd782.entry.js → p-683c3b91.entry.js} +1 -1
- package/dist/design-system/{p-99ffe505.entry.js → p-6ce68bf2.entry.js} +1 -1
- package/dist/design-system/{p-a5131a43.entry.js → p-80bde621.entry.js} +1 -1
- package/dist/design-system/{p-22883fe1.entry.js → p-81aa23d1.entry.js} +1 -1
- package/dist/design-system/{p-c78b8822.entry.js → p-827f067b.entry.js} +1 -1
- package/dist/design-system/p-8a025f91.entry.js +1 -0
- package/dist/design-system/{p-3e62a3ea.entry.js → p-8a84a4fe.entry.js} +1 -1
- package/dist/design-system/{p-d2833150.entry.js → p-8f90620b.entry.js} +1 -1
- package/dist/design-system/{p-a0775a0c.entry.js → p-9124a1af.entry.js} +1 -1
- package/dist/design-system/p-BJfiMC9H.js +1 -0
- package/dist/design-system/p-CAFz8W8_.js +1 -0
- package/dist/design-system/{p-DGyTYauz.js → p-Cmg10jpN.js} +1 -1
- package/dist/design-system/p-U8VaRj9c.js +1 -0
- package/dist/design-system/{p-c6307ba4.entry.js → p-a263af1b.entry.js} +1 -1
- package/dist/design-system/p-aa312937.entry.js +1 -0
- package/dist/design-system/p-b4b20a86.entry.js +1 -0
- package/dist/design-system/{p-7eb31041.entry.js → p-bbbc4b27.entry.js} +1 -1
- package/dist/design-system/p-bcd7d358.entry.js +1 -0
- package/dist/design-system/{p-14340e46.entry.js → p-cc5f5bff.entry.js} +1 -1
- package/dist/design-system/{p-8140a225.entry.js → p-d5032f31.entry.js} +1 -1
- package/dist/design-system/{p-6d765b25.entry.js → p-e93dda25.entry.js} +1 -1
- package/dist/design-system/{p-c4e1641b.entry.js → p-f5190934.entry.js} +1 -1
- package/dist/design-system/p-ff939fbd.entry.js +1 -0
- package/dist/esm/component.listItem-U8VaRj9c.js +50 -0
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/index.js +11 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-button_2.entry.js +54 -0
- package/dist/esm/sd-calendar_2.entry.js +2 -2
- package/dist/esm/sd-chip-input.entry.js +236 -18
- package/dist/esm/sd-circle-progress.entry.js +2 -2
- package/dist/esm/sd-confirm-modal_2.entry.js +3 -3
- package/dist/esm/sd-date-picker_7.entry.js +9 -9
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +2 -2
- package/dist/esm/sd-dropdown-button.entry.js +17 -7
- package/dist/esm/sd-field_3.entry.js +8 -8
- package/dist/esm/sd-ghost-button_2.entry.js +2 -2
- package/dist/esm/sd-guide.entry.js +1 -1
- package/dist/esm/sd-key-value-table.entry.js +45 -9
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- package/dist/esm/sd-loading-container.entry.js +2 -2
- package/dist/esm/sd-modal-container.entry.js +8 -1
- package/dist/esm/sd-pagination_4.entry.js +10 -10
- package/dist/esm/sd-popup.entry.js +2 -2
- package/dist/esm/sd-portal.entry.js +16 -12
- package/dist/esm/sd-select-list-item_2.entry.js +8 -7
- package/dist/esm/{sd-select.config-DtrsLG0Z.js → sd-select.config-D6ktrl7E.js} +4 -50
- package/dist/esm/sd-select_3.entry.js +12 -11
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/{sd-table.config-D9meRqTx.js → sd-table.config-B3wuA5wX.js} +1 -1
- package/dist/esm/sd-table.entry.js +8 -8
- package/dist/esm/sd-tabs.entry.js +1 -1
- package/dist/esm/sd-td.entry.js +1 -1
- package/dist/esm/sd-text-link.entry.js +4 -4
- package/dist/esm/sd-toast-container.entry.js +1 -1
- package/dist/esm/sd-toast.entry.js +2 -2
- package/dist/esm/sd-toggle.entry.js +1 -1
- package/dist/esm/{system-j2khhcHY.js → system-BJfiMC9H.js} +7 -0
- package/dist/types/components/assets/Bill.d.ts +1 -0
- package/dist/types/components/assets/Coupon.d.ts +1 -0
- package/dist/types/components/assets/Delete.d.ts +1 -0
- package/dist/types/components/assets/Dot.d.ts +1 -0
- package/dist/types/components/assets/Launcher.d.ts +1 -0
- package/dist/types/components/assets/Monitor.d.ts +1 -0
- package/dist/types/components/assets/Shield.d.ts +1 -0
- package/dist/types/components/assets/Sidebar.d.ts +1 -0
- package/dist/types/components/assets/Store.d.ts +1 -0
- package/dist/types/components/assets/index.d.ts +9 -0
- package/dist/types/components/sd-chip-input/sd-chip-input.config.d.ts +24 -0
- package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +15 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +4 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +1 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.config.d.ts +3 -2
- package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +5 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +2 -0
- package/dist/types/components/sd-portal/sd-portal.d.ts +1 -0
- package/dist/types/components.d.ts +39 -0
- package/dist/types/utils/modal.d.ts +6 -0
- package/hydrate/index.js +547 -204
- package/hydrate/index.mjs +547 -204
- package/package.json +1 -1
- package/dist/components/p-6oSCGUOo.js +0 -1
- package/dist/components/p-BWoC-hMr.js +0 -1
- package/dist/components/p-C5wgHjtx.js +0 -1
- package/dist/components/p-Cftyepf_.js +0 -1
- package/dist/components/p-IgBxAXyL.js +0 -1
- package/dist/components/p-j2khhcHY.js +0 -1
- package/dist/design-system/p-0c5192b8.entry.js +0 -1
- package/dist/design-system/p-1652ae55.entry.js +0 -1
- package/dist/design-system/p-21fa7f85.entry.js +0 -1
- package/dist/design-system/p-2753c6c9.entry.js +0 -1
- package/dist/design-system/p-5c6dd20b.entry.js +0 -1
- package/dist/design-system/p-71739336.entry.js +0 -1
- package/dist/design-system/p-DtrsLG0Z.js +0 -1
- package/dist/design-system/p-b22cb811.entry.js +0 -1
- package/dist/design-system/p-b576bc21.entry.js +0 -1
- package/dist/design-system/p-c1f71355.entry.js +0 -1
- package/dist/design-system/p-da90b448.entry.js +0 -1
- package/dist/design-system/p-j2khhcHY.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -5713,6 +5713,11 @@ const Bell = (props) => {
|
|
|
5713
5713
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M14.8 18.8086C14.9105 18.8086 15.0008 18.8985 14.9944 19.0088C14.8972 20.6781 13.5938 22 12.0002 22C10.4066 22 9.10324 20.6781 9.00609 19.0088C8.99968 18.8985 9.08997 18.8086 9.20043 18.8086H14.8Z", fill: "currentColor" }), hAsync("path", { d: "M12.0002 2C12.5525 2.00002 13.0002 2.44772 13.0002 3V4.20898C15.9941 4.69573 18.2815 7.3314 18.2815 10.5107V14.1582C18.2815 15.0811 19.1207 15.8005 19.7629 16.4531C20.4046 17.1057 19.6388 17.957 18.7307 17.957H5.26976C4.36161 17.957 3.59581 17.1057 4.23754 16.4531C4.87979 15.8005 5.71898 15.0811 5.71898 14.1582V10.5107C5.71898 7.33139 8.00632 4.69572 11.0002 4.20898V3C11.0002 2.44772 11.4479 2 12.0002 2Z", fill: "currentColor" })));
|
|
5714
5714
|
};
|
|
5715
5715
|
|
|
5716
|
+
const Bill = (props) => {
|
|
5717
|
+
const { size = 24, ...rest } = props;
|
|
5718
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M16.2891 8.7998C16.4208 8.40733 16.8457 8.19563 17.2383 8.32715C17.6309 8.45871 17.8423 8.88369 17.7109 9.27637L16.8818 11.75H18C18.4142 11.75 18.75 12.0858 18.75 12.5C18.75 12.9142 18.4142 13.25 18 13.25H16.3799L15.6035 15.5664C15.2492 16.6239 13.7487 16.6085 13.416 15.5439L12.6992 13.25H11.3008L10.584 15.5439C10.2513 16.6085 8.7508 16.6239 8.39648 15.5664L7.62012 13.25H6C5.58579 13.25 5.25 12.9142 5.25 12.5C5.25 12.0858 5.58579 11.75 6 11.75H7.11816L6.28906 9.27637C6.15765 8.88369 6.36905 8.45871 6.76172 8.32715C7.15433 8.19563 7.57919 8.40733 7.71094 8.7998L8.69922 11.75H10.1982L10.9023 9.49805L10.9375 9.40039C11.3201 8.45471 12.6799 8.45472 13.0625 9.40039L13.0977 9.49805L13.8018 11.75H15.3008L16.2891 8.7998ZM9.47461 14.0645L9.72949 13.25H9.20215L9.47461 14.0645ZM14.5244 14.0645L14.7979 13.25H14.2705L14.5244 14.0645ZM11.7695 11.75H12.2305L12 11.0137L11.7695 11.75Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.5 4.25C20.7426 4.25 21.75 5.25736 21.75 6.5V17.5C21.75 18.7426 20.7426 19.75 19.5 19.75H4.5C3.25736 19.75 2.25 18.7426 2.25 17.5L2.25 6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H19.5ZM4.5 5.75C4.08579 5.75 3.75 6.08579 3.75 6.5V17.5C3.75 17.9142 4.08579 18.25 4.5 18.25H19.5C19.9142 18.25 20.25 17.9142 20.25 17.5V6.5C20.25 6.08579 19.9142 5.75 19.5 5.75H4.5Z", fill: "currentColor" })));
|
|
5719
|
+
};
|
|
5720
|
+
|
|
5716
5721
|
const Board = (props) => {
|
|
5717
5722
|
const { size = 24, ...rest } = props;
|
|
5718
5723
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M15 14.25C15.4142 14.25 15.75 14.5858 15.75 15C15.75 15.4142 15.4142 15.75 15 15.75H9C8.58579 15.75 8.25 15.4142 8.25 15C8.25 14.5858 8.58579 14.25 9 14.25H15Z", fill: "currentColor" }), hAsync("path", { d: "M15 10.25C15.4142 10.25 15.75 10.5858 15.75 11C15.75 11.4142 15.4142 11.75 15 11.75H9C8.58579 11.75 8.25 11.4142 8.25 11C8.25 10.5858 8.58579 10.25 9 10.25H15Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.75 2.0498C14.5699 2.0498 15.2733 2.54394 15.582 3.25H18.2002C19.1665 3.25021 19.9502 4.03363 19.9502 5V20.2002C19.9501 21.1665 19.1664 21.95 18.2002 21.9502H5.7998C4.83346 21.9501 4.04991 21.1665 4.0498 20.2002V5C4.0498 4.03356 4.83339 3.2501 5.7998 3.25H8.41797C8.72672 2.54394 9.43009 2.0498 10.25 2.0498H13.75ZM5.7998 4.75C5.66182 4.7501 5.5498 4.86199 5.5498 5V20.2002C5.54991 20.3381 5.66188 20.4501 5.7998 20.4502H18.2002C18.338 20.45 18.4501 20.338 18.4502 20.2002V5C18.4502 4.86206 18.3381 4.75021 18.2002 4.75H15.6211C15.3371 5.50881 14.6079 6.0498 13.75 6.0498H10.25C9.39207 6.0498 8.66292 5.50881 8.37891 4.75H5.7998ZM10.25 3.5498C9.97392 3.5498 9.7501 3.77375 9.75 4.0498C9.75 4.32595 9.97386 4.5498 10.25 4.5498H13.75C14.0261 4.5498 14.25 4.32595 14.25 4.0498C14.2499 3.77375 14.0261 3.5498 13.75 3.5498H10.25Z", fill: "currentColor" })));
|
|
@@ -5833,6 +5838,11 @@ const Copy = (props) => {
|
|
|
5833
5838
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M20 7.54395C20.9664 7.54404 21.7499 8.32759 21.75 9.29395V20C21.7499 20.9664 20.9664 21.7499 20 21.75H9.29395C8.32756 21.7499 7.54404 20.9664 7.54395 20V9.29395C7.54404 8.32757 8.32757 7.54401 9.29395 7.54395H20ZM9.29395 9.04395C9.15599 9.04401 9.04404 9.156 9.04395 9.29395V20C9.04404 20.138 9.15599 20.2499 9.29395 20.25H20C20.1379 20.2499 20.2499 20.1379 20.25 20V9.29395C20.2499 9.15602 20.1379 9.04404 20 9.04395H9.29395Z", fill: "currentColor" }), hAsync("path", { d: "M14.7061 2.25C15.6725 2.25009 16.4561 3.03356 16.4561 4V6C16.4561 6.41416 16.1202 6.74991 15.7061 6.75C15.2918 6.75 14.9561 6.41421 14.9561 6V4C14.9561 3.86199 14.844 3.75009 14.7061 3.75H4C3.86193 3.75 3.75 3.86193 3.75 4V14.7061C3.75009 14.844 3.86199 14.9561 4 14.9561H6C6.41421 14.9561 6.75 15.2918 6.75 15.7061C6.74991 16.1202 6.41416 16.4561 6 16.4561H4C3.03356 16.4561 2.25009 15.6725 2.25 14.7061V4C2.25 3.0335 3.0335 2.25 4 2.25H14.7061Z", fill: "currentColor" })));
|
|
5834
5839
|
};
|
|
5835
5840
|
|
|
5841
|
+
const Coupon = (props) => {
|
|
5842
|
+
const { size = 24, ...rest } = props;
|
|
5843
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M15 13.5C15.8284 13.5 16.5 14.1716 16.5 15C16.5 15.8284 15.8284 16.5 15 16.5C14.1716 16.5 13.5 15.8284 13.5 15C13.5 14.1716 14.1716 13.5 15 13.5Z", fill: "currentColor" }), hAsync("path", { d: "M14.9092 7.96973C15.2021 7.67705 15.6769 7.67691 15.9697 7.96973C16.2625 8.26255 16.2624 8.73738 15.9697 9.03027L9.03027 15.9697C8.73739 16.2625 8.26261 16.2625 7.96973 15.9697C7.67685 15.6769 7.67689 15.2021 7.96973 14.9092L14.9092 7.96973Z", fill: "currentColor" }), hAsync("path", { d: "M9 7.5C9.82843 7.5 10.5 8.17157 10.5 9C10.5 9.82843 9.82843 10.5 9 10.5C8.17157 10.5 7.5 9.82843 7.5 9C7.5 8.17157 8.17157 7.5 9 7.5Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.5 4.25C20.7426 4.25 21.75 5.25736 21.75 6.5V9C21.75 9.5042 21.5307 9.91547 21.2715 10.2178C21.0155 10.5162 20.6946 10.7418 20.4014 10.9023C20.0117 11.1156 19.75 11.5278 19.75 12C19.75 12.4722 20.0117 12.8844 20.4014 13.0977C20.6946 13.2582 21.0155 13.4838 21.2715 13.7822C21.5307 14.0845 21.75 14.4958 21.75 15V17.5C21.75 18.7426 20.7426 19.75 19.5 19.75H4.5C3.25736 19.75 2.25 18.7426 2.25 17.5V15C2.25 14.4958 2.46932 14.0845 2.72852 13.7822C2.98448 13.4838 3.30543 13.2582 3.59863 13.0977C3.98828 12.8844 4.25 12.4722 4.25 12C4.25 11.5278 3.98828 11.1156 3.59863 10.9023C3.30543 10.7418 2.98448 10.5162 2.72852 10.2178C2.46932 9.91547 2.25 9.5042 2.25 9L2.25 6.5C2.25 5.25736 3.25736 4.25 4.5 4.25H19.5ZM4.5 5.75C4.08579 5.75 3.75 6.08579 3.75 6.5V9C3.75 9.04794 3.76826 9.12579 3.86719 9.24121C3.96955 9.36057 4.12814 9.48225 4.31934 9.58691C5.17022 10.0528 5.75 10.9581 5.75 12C5.75 13.0419 5.17022 13.9472 4.31934 14.4131C4.12814 14.5178 3.96955 14.6394 3.86719 14.7588C3.76826 14.8742 3.75 14.9521 3.75 15V17.5C3.75 17.9142 4.08579 18.25 4.5 18.25H19.5C19.9142 18.25 20.25 17.9142 20.25 17.5V15C20.25 14.9521 20.2317 14.8742 20.1328 14.7588C20.0304 14.6394 19.8719 14.5178 19.6807 14.4131C18.8298 13.9472 18.25 13.0419 18.25 12C18.25 10.9581 18.8298 10.0528 19.6807 9.58691C19.8719 9.48225 20.0304 9.36057 20.1328 9.24121C20.2317 9.12579 20.25 9.04794 20.25 9V6.5C20.25 6.08579 19.9142 5.75 19.5 5.75H4.5Z", fill: "currentColor" })));
|
|
5844
|
+
};
|
|
5845
|
+
|
|
5836
5846
|
const Dashboard = (props) => {
|
|
5837
5847
|
const { size = 24, ...rest } = props;
|
|
5838
5848
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M11 13.25C11 13.5261 10.7761 13.75 10.5 13.75L6.5 13.75C6.22386 13.75 6 13.5261 6 13.25L6 7.25C6 6.97386 6.22386 6.75 6.5 6.75L10.5 6.75C10.7761 6.75 11 6.97386 11 7.25L11 13.25Z", fill: "currentColor" }), hAsync("path", { d: "M18 9.25C18 9.52614 17.7761 9.75 17.5 9.75L13.5 9.75C13.2239 9.75 13 9.52614 13 9.25L13 7.25C13 6.97386 13.2239 6.75 13.5 6.75L17.5 6.75C17.7761 6.75 18 6.97386 18 7.25L18 9.25Z", fill: "currentColor" }), hAsync("path", { d: "M18 13.25C18 13.5261 17.7761 13.75 17.5 13.75L13.5 13.75C13.2239 13.75 13 13.5261 13 13.25L13 11.25C13 10.9739 13.2239 10.75 13.5 10.75L17.5 10.75C17.7761 10.75 18 10.9739 18 11.25L18 13.25Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.9502 14.75C21.9502 15.9925 20.9427 16.9998 19.7002 17L12.75 17L12.75 19L15 19C15.4142 19 15.75 19.3358 15.75 19.75C15.75 20.1642 15.4142 20.5 15 20.5L9 20.5C8.58579 20.5 8.25 20.1642 8.25 19.75C8.25 19.3358 8.58579 19 9 19L11.25 19L11.25 17L4.29981 17C3.05725 16.9999 2.04981 15.9926 2.04981 14.75L2.04981 5.75C2.04981 4.50742 3.05725 3.5001 4.29981 3.5L19.7002 3.5C20.9427 3.50021 21.9502 4.50749 21.9502 5.75L21.9502 14.75ZM20.4502 5.75C20.4502 5.33592 20.1142 5.00021 19.7002 5L4.29981 5C3.88568 5.0001 3.54981 5.33585 3.54981 5.75L3.54981 14.75C3.54981 15.1642 3.88568 15.4999 4.29981 15.5L19.7002 15.5C20.1142 15.4998 20.4502 15.1641 20.4502 14.75L20.4502 5.75Z", fill: "currentColor" })));
|
|
@@ -5843,6 +5853,16 @@ const DateIcon = (props) => {
|
|
|
5843
5853
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M18 14C18.5522 14.0001 19 14.4478 19 15V18C18.9999 18.5521 18.5521 18.9999 18 19H15C14.4478 19 14.0001 18.5522 14 18V15C14 14.4477 14.4477 14 15 14H18Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M17 2.0498C17.4141 2.0499 17.75 2.38565 17.75 2.7998V4.25H20.2002C21.1665 4.25021 21.9502 5.03363 21.9502 6V20.2002C21.95 21.1664 21.1664 21.95 20.2002 21.9502H3.7998C2.83344 21.9502 2.05002 21.1665 2.0498 20.2002V6C2.0498 5.0335 2.83331 4.25 3.7998 4.25H6.25V2.7998C6.25 2.38559 6.58579 2.0498 7 2.0498C7.41413 2.0499 7.75 2.38565 7.75 2.7998V4.25H16.25V2.7998C16.25 2.38559 16.5858 2.0498 17 2.0498ZM3.5498 20.2002C3.55002 20.3381 3.66187 20.4502 3.7998 20.4502H20.2002C20.338 20.45 20.45 20.338 20.4502 20.2002V9H3.5498V20.2002Z", fill: "currentColor" })));
|
|
5844
5854
|
};
|
|
5845
5855
|
|
|
5856
|
+
const Delete = (props) => {
|
|
5857
|
+
const { size = 24, ...rest } = props;
|
|
5858
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M8.35254 10.7646C8.75858 10.6834 9.15395 10.9466 9.23535 11.3525L10.2354 16.3525C10.3166 16.7586 10.0534 17.1539 9.64746 17.2354C9.24142 17.3166 8.84605 17.0534 8.76465 16.6475L7.76465 11.6475C7.68344 11.2414 7.94658 10.8461 8.35254 10.7646Z", fill: "currentColor" }), hAsync("path", { d: "M12 10.75C12.4142 10.75 12.75 11.0858 12.75 11.5V16.5C12.75 16.9142 12.4142 17.25 12 17.25C11.5858 17.25 11.25 16.9142 11.25 16.5V11.5C11.25 11.0858 11.5858 10.75 12 10.75Z", fill: "currentColor" }), hAsync("path", { d: "M14.7646 11.3525C14.8461 10.9466 15.2414 10.6834 15.6475 10.7646C16.0534 10.8461 16.3166 11.2414 16.2354 11.6475L15.2354 16.6475C15.1539 17.0534 14.7586 17.3166 14.3525 17.2354C13.9466 17.1539 13.6834 16.7586 13.7646 16.3525L14.7646 11.3525Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13 2.0498C13.9664 2.0498 14.7499 2.8334 14.75 3.7998V4.25H20C20.4142 4.25 20.75 4.58579 20.75 5V8C20.75 8.41421 20.4142 8.75 20 8.75H19.6445L17.999 19.6123C17.7952 20.9565 16.6398 21.9502 15.2803 21.9502H8.71973C7.36018 21.9502 6.20481 20.9565 6.00098 19.6123L4.35547 8.75H4C3.58579 8.75 3.25 8.41421 3.25 8V5C3.25 4.58579 3.58579 4.25 4 4.25H8.75V3.7998C8.75011 2.8334 9.53357 2.0498 10.5 2.0498H13ZM7.48438 19.3877C7.57717 19.9985 8.10188 20.4502 8.71973 20.4502H15.2803C15.8981 20.4502 16.4228 19.9985 16.5156 19.3877L18.1279 8.75H5.87207L7.48438 19.3877ZM4.75 7.25H19.25V5.75H4.75V7.25ZM10.5 3.5498C10.362 3.5498 10.2501 3.66182 10.25 3.7998V4.25H13.25V3.7998C13.2499 3.66182 13.138 3.5498 13 3.5498H10.5Z", fill: "currentColor" })));
|
|
5859
|
+
};
|
|
5860
|
+
|
|
5861
|
+
const Dot = (props) => {
|
|
5862
|
+
const { size = 24, ...rest } = props;
|
|
5863
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("circle", { cx: "12", cy: "12", r: "6", fill: "currentColor" })));
|
|
5864
|
+
};
|
|
5865
|
+
|
|
5846
5866
|
const Download = (props) => {
|
|
5847
5867
|
const { size = 24, ...rest } = props;
|
|
5848
5868
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M21.2002 19.3501C21.6142 19.3503 21.9502 19.686 21.9502 20.1001C21.9502 20.5142 21.6142 20.8499 21.2002 20.8501H2.7998C2.38568 20.85 2.0498 20.5142 2.0498 20.1001C2.0498 19.6859 2.38568 19.3502 2.7998 19.3501H21.2002Z", fill: "currentColor" }), hAsync("path", { d: "M12 3.1499C12.4142 3.1499 12.7499 3.48577 12.75 3.8999V15.0581L17.4639 10.2329C17.7533 9.93678 18.2281 9.93094 18.5244 10.2202C18.8205 10.5096 18.8254 10.9845 18.5361 11.2808L12.5361 17.4243C12.395 17.5686 12.2018 17.6499 12 17.6499C11.7982 17.6499 11.605 17.5686 11.4639 17.4243L5.46387 11.2808C5.17461 10.9845 5.17951 10.5096 5.47559 10.2202C5.77186 9.93094 6.24673 9.93678 6.53613 10.2329L11.25 15.0581V3.8999C11.2501 3.48577 11.5858 3.1499 12 3.1499Z", fill: "currentColor" })));
|
|
@@ -5903,6 +5923,11 @@ const Inline = (props) => {
|
|
|
5903
5923
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M11.0801 2.0498C11.4941 2.04995 11.83 2.38577 11.8301 2.7998C11.8301 3.21393 11.4942 3.54966 11.0801 3.5498H3.7998C3.66191 3.54994 3.5499 3.6619 3.5498 3.7998V20.2002C3.55001 20.338 3.66197 20.4501 3.7998 20.4502H20.2002C20.338 20.45 20.45 20.338 20.4502 20.2002V12.9199C20.4503 12.5059 20.7862 12.1701 21.2002 12.1699C21.6142 12.1701 21.9501 12.5059 21.9502 12.9199V20.2002C21.95 21.1664 21.1664 21.95 20.2002 21.9502H3.7998C2.83355 21.9501 2.05001 21.1664 2.0498 20.2002V3.7998C2.0499 2.83347 2.83348 2.04994 3.7998 2.0498H11.0801Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19.3252 4.66699C19.5765 4.21659 20.0655 4.07962 20.4551 4.17578C20.858 4.27538 21.248 4.65457 21.2051 5.21094L21.1475 5.79199C20.9808 7.18748 20.5611 8.83543 19.5479 10.2197C18.424 11.755 16.6276 12.8864 13.8779 13.0596V15.8457C13.8779 16.7061 12.8828 17.1403 12.2539 16.6279L12.1328 16.5127L7.59082 11.4375C7.25096 11.0578 7.25096 10.4832 7.59082 10.1035L12.1328 5.0293C12.7449 4.34543 13.8779 4.77847 13.8779 5.69629V8.55957C15.0735 8.59246 17.4617 8.00699 19.3252 4.66699ZM9.00684 10.7715L12.3779 14.5381V12.583C12.3781 12.0114 12.8468 11.5923 13.3662 11.5811C15.9616 11.5247 17.4486 10.5489 18.3379 9.33398C18.787 8.72044 19.0992 8.02407 19.3135 7.31152C17.0812 9.91545 14.4914 10.247 13.166 9.9873C12.6634 9.8888 12.3779 9.44604 12.3779 9.01953V7.00488L9.00684 10.7715Z", fill: "currentColor" })));
|
|
5904
5924
|
};
|
|
5905
5925
|
|
|
5926
|
+
const Launcher = (props) => {
|
|
5927
|
+
const { size = 24, ...rest } = props;
|
|
5928
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M5 18C5.55228 18 6 18.4477 6 19V21C6 21.5523 5.55228 22 5 22H3C2.44772 22 2 21.5523 2 21V19C2 18.4477 2.44772 18 3 18H5Z", fill: "currentColor" }), hAsync("path", { d: "M13 18C13.5523 18 14 18.4477 14 19V21C14 21.5523 13.5523 22 13 22H11C10.4477 22 10 21.5523 10 21V19C10 18.4477 10.4477 18 11 18H13Z", fill: "currentColor" }), hAsync("path", { d: "M21 18C21.5523 18 22 18.4477 22 19V21C22 21.5523 21.5523 22 21 22H19C18.4477 22 18 21.5523 18 21V19C18 18.4477 18.4477 18 19 18H21Z", fill: "currentColor" }), hAsync("path", { d: "M5 10C5.55228 10 6 10.4477 6 11V13C6 13.5523 5.55228 14 5 14H3C2.44772 14 2 13.5523 2 13V11C2 10.4477 2.44772 10 3 10H5Z", fill: "currentColor" }), hAsync("path", { d: "M13 10C13.5523 10 14 10.4477 14 11V13C14 13.5523 13.5523 14 13 14H11C10.4477 14 10 13.5523 10 13V11C10 10.4477 10.4477 10 11 10H13Z", fill: "currentColor" }), hAsync("path", { d: "M21 10C21.5523 10 22 10.4477 22 11V13C22 13.5523 21.5523 14 21 14H19C18.4477 14 18 13.5523 18 13V11C18 10.4477 18.4477 10 19 10H21Z", fill: "currentColor" }), hAsync("path", { d: "M5 2C5.55228 2 6 2.44772 6 3V5C6 5.55228 5.55228 6 5 6H3C2.44772 6 2 5.55228 2 5V3C2 2.44772 2.44772 2 3 2H5Z", fill: "currentColor" }), hAsync("path", { d: "M13 2C13.5523 2 14 2.44772 14 3V5C14 5.55228 13.5523 6 13 6H11C10.4477 6 10 5.55228 10 5V3C10 2.44772 10.4477 2 11 2H13Z", fill: "currentColor" }), hAsync("path", { d: "M21 2C21.5523 2 22 2.44772 22 3V5C22 5.55228 21.5523 6 21 6H19C18.4477 6 18 5.55228 18 5V3C18 2.44772 18.4477 2 19 2H21Z", fill: "currentColor" })));
|
|
5929
|
+
};
|
|
5930
|
+
|
|
5906
5931
|
const Line = (props) => {
|
|
5907
5932
|
const { size = 24, ...rest } = props;
|
|
5908
5933
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M4.25 13C4.66421 13 5 13.3358 5 13.75V21.25C5 21.6642 4.66421 22 4.25 22H2.75C2.33579 22 2 21.6642 2 21.25V13.75C2 13.3358 2.33579 13 2.75 13H4.25Z", fill: "currentColor" }), hAsync("path", { d: "M12.75 13C13.1642 13 13.5 13.3358 13.5 13.75V21.25C13.5 21.6642 13.1642 22 12.75 22H11.25C10.8358 22 10.5 21.6642 10.5 21.25V13.75C10.5 13.3358 10.8358 13 11.25 13H12.75Z", fill: "currentColor" }), hAsync("path", { d: "M4.25 2C4.66421 2 5 2.33579 5 2.75V10.25C5 10.6642 4.66421 11 4.25 11H2.75C2.33579 11 2 10.6642 2 10.25V2.75C2 2.33579 2.33579 2 2.75 2H4.25Z", fill: "currentColor" }), hAsync("path", { d: "M12.75 2C13.1642 2 13.5 2.33579 13.5 2.75V10.25C13.5 10.6642 13.1642 11 12.75 11H11.25C10.8358 11 10.5 10.6642 10.5 10.25V2.75C10.5 2.33579 10.8358 2 11.25 2H12.75Z", fill: "currentColor" }), hAsync("path", { d: "M21.25 2C21.6642 2 22 2.33579 22 2.75V10.25C22 10.6642 21.6642 11 21.25 11H19.75C19.3358 11 19 10.6642 19 10.25V2.75C19 2.33579 19.3358 2 19.75 2H21.25Z", fill: "currentColor" })));
|
|
@@ -5923,6 +5948,11 @@ const Minus = (props) => {
|
|
|
5923
5948
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M20 11.25C20.4142 11.25 20.75 11.5858 20.75 12C20.75 12.4142 20.4142 12.75 20 12.75H4C3.58579 12.75 3.25 12.4142 3.25 12C3.25 11.5858 3.58579 11.25 4 11.25H20Z", fill: "currentColor" })));
|
|
5924
5949
|
};
|
|
5925
5950
|
|
|
5951
|
+
const Monitor = (props) => {
|
|
5952
|
+
const { size = 24, ...rest } = props;
|
|
5953
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M21.9502 14.75C21.9502 15.9925 20.9426 16.9998 19.7002 17L12.75 17L12.75 19H15C15.4142 19 15.75 19.3358 15.75 19.75C15.75 20.1642 15.4142 20.5 15 20.5L8.99997 20.5C8.58576 20.5 8.24997 20.1642 8.24997 19.75C8.24997 19.3358 8.58576 19 8.99997 19H11.25L11.25 17H4.29977C3.05722 16.9999 2.04977 15.9926 2.04977 14.75L2.04977 5.75C2.04978 4.50742 3.05722 3.5001 4.29977 3.5L19.7002 3.5C20.9426 3.50021 21.9502 4.50749 21.9502 5.75L21.9502 14.75ZM20.4502 5.75C20.4502 5.33592 20.1142 5.00021 19.7002 5L4.29977 5C3.88565 5.0001 3.54978 5.33585 3.54977 5.75L3.54977 14.75C3.54977 15.1642 3.88565 15.4999 4.29977 15.5L19.7002 15.5C20.1142 15.4998 20.4502 15.1641 20.4502 14.75L20.4502 5.75Z", fill: "currentColor" })));
|
|
5954
|
+
};
|
|
5955
|
+
|
|
5926
5956
|
const New = (props) => {
|
|
5927
5957
|
const { size = 24, ...rest } = props;
|
|
5928
5958
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M20 2C21.1046 2 22 2.89543 22 4V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V4C2 2.89543 2.89543 2 4 2H20ZM7.5 6.75V17.25H9.99902V11.082H10.0713L14.374 17.25H16.5V6.75H14.0059V12.9072H13.918L9.66211 6.75H7.5Z", fill: "currentColor" })));
|
|
@@ -6003,11 +6033,26 @@ const Setting = (props) => {
|
|
|
6003
6033
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M13.1858 1C13.5092 1 13.7985 1.2013 13.9074 1.5027L14.6839 3.65537C14.9622 3.72467 15.2009 3.79397 15.4033 3.86657C15.6244 3.94577 15.9093 4.06567 16.2613 4.22956L18.0696 3.27257C18.2172 3.19437 18.3862 3.16614 18.5512 3.19213C18.7162 3.21811 18.8683 3.2969 18.9848 3.41667L20.5753 5.06115C20.7865 5.28005 20.8459 5.60015 20.7271 5.87954L19.8791 7.86722C20.0198 8.12572 20.132 8.34681 20.2178 8.53161C20.3102 8.73291 20.4246 9.01011 20.561 9.3676L22.5377 10.2146C22.8346 10.3411 23.0183 10.6381 22.9985 10.956L22.8533 13.2385C22.8434 13.3867 22.7902 13.5288 22.7002 13.6471C22.6103 13.7654 22.4876 13.8547 22.3474 13.9039L20.4752 14.5694C20.4213 14.8279 20.3652 15.049 20.3058 15.236C20.21 15.5248 20.1006 15.8089 19.978 16.0874L20.9185 18.1664C20.9849 18.3125 21.0028 18.476 20.9695 18.6329C20.9363 18.7899 20.8536 18.9321 20.7337 19.0387L18.9452 20.6359C18.8274 20.7406 18.6804 20.8069 18.5239 20.8257C18.3674 20.8446 18.2089 20.8152 18.0696 20.7415L16.2261 19.7647C15.9377 19.9174 15.6401 20.0522 15.3351 20.1684L14.5299 20.4698L13.815 22.4497C13.762 22.5947 13.6664 22.7203 13.5408 22.81C13.4151 22.8998 13.2653 22.9494 13.111 22.9524L11.0211 22.9997C10.8626 23.0039 10.7068 22.9588 10.575 22.8708C10.4432 22.7827 10.342 22.656 10.2852 22.508L9.44261 20.2784C9.15513 20.1801 8.8705 20.0737 8.58904 19.9594C8.35884 19.8597 8.13211 19.7522 7.90927 19.6371L5.81934 20.5303C5.68163 20.589 5.52981 20.6065 5.38237 20.5805C5.23492 20.5545 5.09821 20.4862 4.98887 20.384L3.44232 18.9331C3.32718 18.8255 3.24876 18.6845 3.21817 18.5299C3.18757 18.3754 3.20634 18.2151 3.27183 18.0718L4.17049 16.1138C4.05098 15.8819 3.94017 15.6456 3.83831 15.4054C3.7194 15.1114 3.60936 14.8139 3.50832 14.5133L1.53939 13.9138C1.37934 13.8655 1.23975 13.7656 1.14229 13.6298C1.04483 13.4939 0.99495 13.3297 1.0004 13.1626L1.0774 11.0495C1.08288 10.9116 1.12595 10.7779 1.20195 10.6627C1.27795 10.5475 1.38398 10.4553 1.50859 10.3961L3.57431 9.4039C3.67001 9.053 3.75361 8.78021 3.82731 8.58111C3.93108 8.31518 4.04632 8.05387 4.17269 7.79792L3.27733 5.90594C3.20938 5.76227 3.18874 5.60074 3.21839 5.44459C3.24804 5.28845 3.32644 5.14573 3.44232 5.03695L4.98667 3.57837C5.09493 3.47626 5.23038 3.40761 5.37674 3.38068C5.5231 3.35375 5.67412 3.36969 5.81164 3.42657L7.89937 4.28896C8.13036 4.13496 8.33935 4.01067 8.52854 3.91057C8.75404 3.79067 9.05543 3.66527 9.43491 3.52997L10.1609 1.5049C10.2146 1.35669 10.3127 1.22867 10.4418 1.1383C10.571 1.04794 10.7248 0.999641 10.8825 1H13.1858ZM12.0264 8.72081C10.1928 8.72081 8.70674 10.1893 8.70674 12.0021C8.70674 13.8148 10.1928 15.2844 12.0264 15.2844C13.859 15.2844 15.345 13.8148 15.345 12.0021C15.345 10.1893 13.8601 8.72081 12.0264 8.72081Z", fill: "currentColor" })));
|
|
6004
6034
|
};
|
|
6005
6035
|
|
|
6036
|
+
const Shield = (props) => {
|
|
6037
|
+
const { size = 24, ...rest } = props;
|
|
6038
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M16.2549 9.3486C16.5477 9.05582 17.0225 9.05602 17.3154 9.3486C17.6083 9.64149 17.6083 10.1163 17.3154 10.4091L12.0859 15.6386C11.6954 16.0291 11.0624 16.0291 10.6719 15.6386L7.46973 12.4365C7.17728 12.1436 7.17703 11.6687 7.46973 11.3759C7.76264 11.0833 8.23844 11.0831 8.53125 11.3759L11.3789 14.2246L16.2549 9.3486Z", fill: "currentColor" }), hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.501 1.4404C11.8718 1.27889 12.3024 1.30624 12.6533 1.52145L20.1533 6.12204C20.5238 6.34931 20.7499 6.75284 20.75 7.18747V10.5302C20.75 11.8881 20.6005 13.3051 20.0645 14.6425C19.5554 15.9124 18.7155 17.6378 17.4502 19.1894C16.1835 20.7426 14.4592 22.1581 12.1816 22.7275L12 22.7734L11.8184 22.7275C9.54076 22.1581 7.81646 20.7426 6.5498 19.1894C5.2845 17.6378 4.4446 15.9124 3.93555 14.6425C3.39949 13.3051 3.25 11.8881 3.25 10.5302V7.18747C3.25007 6.75284 3.47619 6.34931 3.84668 6.12204L11.3467 1.52145L11.501 1.4404ZM4.75 7.32712V10.5302C4.75 11.7887 4.89082 12.9929 5.32812 14.084C5.80497 15.2735 6.57635 16.8486 7.71191 18.2412C8.80911 19.5866 10.2182 20.7255 12 21.2216C13.7818 20.7255 15.1909 19.5866 16.2881 18.2412C17.4236 16.8486 18.195 15.2735 18.6719 14.084C19.1092 12.9929 19.25 11.7887 19.25 10.5302V7.32712L12 2.87985L4.75 7.32712Z", fill: "currentColor" })));
|
|
6039
|
+
};
|
|
6040
|
+
|
|
6041
|
+
const Sidebar = (props) => {
|
|
6042
|
+
const { size = 24, ...rest } = props;
|
|
6043
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M19 3C20.6569 3 22 4.34315 22 6V18L21.9961 18.1543C21.9184 19.6883 20.6883 20.9184 19.1543 20.9961L19 21H5L4.8457 20.9961C3.31166 20.9184 2.08163 19.6883 2.00391 18.1543L2 18V6C2 4.34315 3.34315 3 5 3H19ZM5 4.5C4.17157 4.5 3.5 5.17157 3.5 6V18C3.5 18.8284 4.17157 19.5 5 19.5H8V4.5H5ZM9.5 19.5H19C19.8284 19.5 20.5 18.8284 20.5 18V6C20.5 5.17157 19.8284 4.5 19 4.5H9.5V19.5Z", fill: "currentColor" })));
|
|
6044
|
+
};
|
|
6045
|
+
|
|
6006
6046
|
const Star = (props) => {
|
|
6007
6047
|
const { size = 24, ...rest } = props;
|
|
6008
6048
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M12.2607 1C12.3943 1 12.5045 1.10494 12.5107 1.23828L12.9258 10.3945L21.0645 6.17676C21.1829 6.11552 21.3286 6.1581 21.3955 6.27344L21.6572 6.72656C21.7236 6.84217 21.6875 6.98956 21.5752 7.06152L13.8535 11.999L21.5752 16.9385C21.6874 17.0104 21.7236 17.1578 21.6572 17.2734L21.3955 17.7266C21.3286 17.8419 21.1829 17.8844 21.0645 17.8232L12.9268 13.6055L12.5107 22.7617C12.5045 22.8951 12.3943 23 12.2607 23H11.7393C11.6057 23 11.4955 22.8951 11.4893 22.7617L11.0723 13.6055L2.93555 17.8232C2.81708 17.8844 2.67137 17.8419 2.60449 17.7266L2.34278 17.2734C2.2764 17.1578 2.31256 17.0104 2.42481 16.9385L10.1455 11.999L2.42481 7.06152C2.31253 6.98956 2.27637 6.84217 2.34278 6.72656L2.60449 6.27344C2.67139 6.1581 2.81708 6.11553 2.93555 6.17676L11.0723 10.3936L11.4893 1.23828C11.4955 1.10494 11.6057 1 11.7393 1H12.2607Z", fill: "currentColor" })));
|
|
6009
6049
|
};
|
|
6010
6050
|
|
|
6051
|
+
const Store = (props) => {
|
|
6052
|
+
const { size = 24, ...rest } = props;
|
|
6053
|
+
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M18.3817 6C19.0445 6 19.6507 6.37497 19.9472 6.96777L21.9472 10.9678C22.5286 12.1313 21.6825 13.5 20.3817 13.5H19.7499V19.75C19.7499 20.1642 19.4141 20.5 18.9999 20.5C18.5858 20.4998 18.2499 20.1641 18.2499 19.75V13.5H13.7499V18.75C13.7499 19.7165 12.9664 20.5 11.9999 20.5H5.99991C5.03355 20.4998 4.24991 19.7164 4.24991 18.75V13.5H3.61807C2.3175 13.4998 1.47136 12.1312 2.05264 10.9678L4.05264 6.96777C4.34903 6.375 4.95534 6.00012 5.61807 6H18.3817ZM5.74991 18.75C5.74991 18.888 5.86198 18.9998 5.99991 19H11.9999C12.138 19 12.2499 18.8881 12.2499 18.75V13.5H5.74991V18.75ZM5.61807 7.5C5.5235 7.50012 5.43674 7.55407 5.39444 7.63867L3.39444 11.6387C3.31183 11.8047 3.43258 11.9998 3.61807 12H20.3817C20.5675 12 20.6882 11.8048 20.6054 11.6387L18.6054 7.63867C18.563 7.55405 18.4764 7.5 18.3817 7.5H5.61807Z", fill: "currentColor" }), hAsync("path", { d: "M17.9999 4C18.4141 4 18.7499 4.33579 18.7499 4.75C18.7499 5.16421 18.4141 5.5 17.9999 5.5H5.99991C5.58584 5.49983 5.24991 5.16411 5.24991 4.75C5.24991 4.33589 5.58584 4.00017 5.99991 4H17.9999Z", fill: "currentColor" })));
|
|
6054
|
+
};
|
|
6055
|
+
|
|
6011
6056
|
const Synchronize = (props) => {
|
|
6012
6057
|
const { size = 24, ...rest } = props;
|
|
6013
6058
|
return (hAsync("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...rest }, hAsync("path", { d: "M3.30769 10.8175C3.57806 10.5965 3.96606 10.5921 4.24226 10.8057L6.33991 12.4278C6.66706 12.6813 6.7261 13.1521 6.47272 13.4796C6.21918 13.8067 5.74841 13.8675 5.42097 13.6143L4.62116 12.9952C4.92795 14.8404 5.99601 17.3161 8.753 18.6602C12.4087 20.4424 15.8051 18.6615 17.0333 17.5479C17.34 17.2701 17.8136 17.2925 18.0919 17.5987C18.3701 17.9055 18.347 18.381 18.0401 18.6592C16.5549 20.0056 12.5074 22.16 8.09479 20.0089C4.62913 18.3191 3.39551 15.1712 3.09675 12.9298L2.27546 13.6016C1.95491 13.8639 1.48116 13.8165 1.21882 13.4962C0.956723 13.1758 1.00408 12.7028 1.32429 12.4405L3.30769 10.8175Z", fill: "currentColor" }), hAsync("path", { d: "M5.96003 5.34089C7.44498 3.99457 11.4916 1.83985 15.9044 3.99128C19.3702 5.68114 20.6036 8.82876 20.9024 11.0704L21.7247 10.3985C22.0452 10.1363 22.518 10.1837 22.7803 10.504C23.0426 10.8245 22.9953 11.2973 22.6749 11.5596L20.6915 13.1827C20.4211 13.4035 20.034 13.408 19.7579 13.1944L17.6602 11.5723C17.333 11.3189 17.2732 10.8481 17.5264 10.5206C17.78 10.1931 18.2516 10.1324 18.5792 10.3858L19.379 11.005C19.0722 9.15965 18.0042 6.68321 15.2471 5.33893C11.5915 3.55662 8.19499 5.33864 6.96687 6.45222C6.66013 6.72978 6.1864 6.70667 5.90827 6.40046C5.63009 6.09371 5.65335 5.61916 5.96003 5.34089Z", fill: "currentColor" })));
|
|
@@ -6070,6 +6115,7 @@ const Icons = {
|
|
|
6070
6115
|
attachFile: AttachFile,
|
|
6071
6116
|
barcode: Barcode,
|
|
6072
6117
|
bell: Bell,
|
|
6118
|
+
bill: Bill,
|
|
6073
6119
|
board: Board,
|
|
6074
6120
|
box: Box,
|
|
6075
6121
|
camera: Camera,
|
|
@@ -6094,8 +6140,11 @@ const Icons = {
|
|
|
6094
6140
|
clockOutline: ClockOutline,
|
|
6095
6141
|
close: Close,
|
|
6096
6142
|
copy: Copy,
|
|
6143
|
+
coupon: Coupon,
|
|
6097
6144
|
dashboard: Dashboard,
|
|
6098
6145
|
date: DateIcon,
|
|
6146
|
+
delete: Delete,
|
|
6147
|
+
dot: Dot,
|
|
6099
6148
|
download: Download,
|
|
6100
6149
|
drag: Drag,
|
|
6101
6150
|
edit: Edit,
|
|
@@ -6108,10 +6157,12 @@ const Icons = {
|
|
|
6108
6157
|
imageFill: ImageFill,
|
|
6109
6158
|
imageOutline: ImageOutline,
|
|
6110
6159
|
inline: Inline,
|
|
6160
|
+
launcher: Launcher,
|
|
6111
6161
|
line: Line,
|
|
6112
6162
|
location: Location,
|
|
6113
6163
|
logout: Logout,
|
|
6114
6164
|
minus: Minus,
|
|
6165
|
+
monitor: Monitor,
|
|
6115
6166
|
new: New,
|
|
6116
6167
|
notificationFill: NotificationFill,
|
|
6117
6168
|
notificationOutline: NotificationOutline,
|
|
@@ -6128,7 +6179,10 @@ const Icons = {
|
|
|
6128
6179
|
save: Save,
|
|
6129
6180
|
search: Search,
|
|
6130
6181
|
setting: Setting,
|
|
6182
|
+
shield: Shield,
|
|
6183
|
+
sidebar: Sidebar,
|
|
6131
6184
|
star: Star,
|
|
6185
|
+
store: Store,
|
|
6132
6186
|
synchronize: Synchronize,
|
|
6133
6187
|
updown: Updown,
|
|
6134
6188
|
user: User,
|
|
@@ -7815,6 +7869,98 @@ var chipInputTokens = {
|
|
|
7815
7869
|
chipInput: chipInput
|
|
7816
7870
|
};
|
|
7817
7871
|
|
|
7872
|
+
const typography = {
|
|
7873
|
+
feedback: {
|
|
7874
|
+
sm: {
|
|
7875
|
+
regular: {
|
|
7876
|
+
fontSize: "12",
|
|
7877
|
+
fontWeight: "400"}}}};
|
|
7878
|
+
const color = {
|
|
7879
|
+
bg: {
|
|
7880
|
+
frame: "#FFFFFF",
|
|
7881
|
+
accent: {
|
|
7882
|
+
"default": "#0075FF"}},
|
|
7883
|
+
fg: {
|
|
7884
|
+
primary: "#222222",
|
|
7885
|
+
secondary: "#555555",
|
|
7886
|
+
tertiary: "#888888",
|
|
7887
|
+
success: "#00973C",
|
|
7888
|
+
accent: "#0075FF",
|
|
7889
|
+
inverse: "#FFFFFF"
|
|
7890
|
+
},
|
|
7891
|
+
divider: {
|
|
7892
|
+
"default": "#E1E1E1"
|
|
7893
|
+
},
|
|
7894
|
+
blue: {
|
|
7895
|
+
strong: "#0075FF"},
|
|
7896
|
+
darkblue: {
|
|
7897
|
+
strong: "#006AC1"},
|
|
7898
|
+
grey: {
|
|
7899
|
+
strong: "#737373"}};
|
|
7900
|
+
const shadow = {
|
|
7901
|
+
spread: {
|
|
7902
|
+
md: {
|
|
7903
|
+
x: "0",
|
|
7904
|
+
y: "0",
|
|
7905
|
+
blur: "24",
|
|
7906
|
+
spread: "0",
|
|
7907
|
+
color: "rgba(34,34,34,0.2)"}
|
|
7908
|
+
}};
|
|
7909
|
+
var systemTokens = {
|
|
7910
|
+
typography: typography,
|
|
7911
|
+
color: color,
|
|
7912
|
+
shadow: shadow
|
|
7913
|
+
};
|
|
7914
|
+
|
|
7915
|
+
const listBox = {
|
|
7916
|
+
radius: "4"};
|
|
7917
|
+
var listBoxTokens = {
|
|
7918
|
+
listBox: listBox
|
|
7919
|
+
};
|
|
7920
|
+
|
|
7921
|
+
const listItem$1 = {
|
|
7922
|
+
paddingY: "4",
|
|
7923
|
+
paddingRight: "12",
|
|
7924
|
+
gap: "8",
|
|
7925
|
+
paddingLeft: {
|
|
7926
|
+
depth1: "12",
|
|
7927
|
+
depth2: "20",
|
|
7928
|
+
depth3: "28"
|
|
7929
|
+
},
|
|
7930
|
+
typography: {
|
|
7931
|
+
"default": {
|
|
7932
|
+
fontFamily: "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",
|
|
7933
|
+
fontWeight: "400",
|
|
7934
|
+
fontSize: "12",
|
|
7935
|
+
lineHeight: "20"},
|
|
7936
|
+
selected: {
|
|
7937
|
+
fontWeight: "700"}
|
|
7938
|
+
},
|
|
7939
|
+
bg: {
|
|
7940
|
+
"default": "#FFFFFF",
|
|
7941
|
+
hover: "#0075FF"
|
|
7942
|
+
},
|
|
7943
|
+
content: {
|
|
7944
|
+
"default": "#222222",
|
|
7945
|
+
hover: "#FFFFFF",
|
|
7946
|
+
disabled: "#888888",
|
|
7947
|
+
selected: "#0075FF"
|
|
7948
|
+
},
|
|
7949
|
+
depth1: {
|
|
7950
|
+
bg: {
|
|
7951
|
+
"default": "#EFF6FF"},
|
|
7952
|
+
border: {
|
|
7953
|
+
color: "#E1E1E1",
|
|
7954
|
+
width: "1"
|
|
7955
|
+
}},
|
|
7956
|
+
depth2: {
|
|
7957
|
+
middle: {
|
|
7958
|
+
bg: "#F6F6F6"}
|
|
7959
|
+
}};
|
|
7960
|
+
var listItemTokens = {
|
|
7961
|
+
listItem: listItem$1
|
|
7962
|
+
};
|
|
7963
|
+
|
|
7818
7964
|
const sm$4 = chipInputTokens.chipInput.sm;
|
|
7819
7965
|
const md$4 = chipInputTokens.chipInput.md;
|
|
7820
7966
|
const CHIP_INPUT_SIZE_MAP = {
|
|
@@ -7852,8 +7998,34 @@ const CHIP_INPUT_RESET = {
|
|
|
7852
7998
|
iconColor: '#888888', // TODO: 토큰 반영 후 교체 (grey_65)
|
|
7853
7999
|
labelColor: '#555555', // TODO: 토큰 반영 후 교체 (grey_70)
|
|
7854
8000
|
};
|
|
7855
|
-
|
|
7856
|
-
const
|
|
8001
|
+
const feedbackSm = systemTokens.typography.feedback.sm.regular;
|
|
8002
|
+
const CHIP_INPUT_MAX_COUNT = {
|
|
8003
|
+
fontSize: `${feedbackSm.fontSize}px`,
|
|
8004
|
+
fontWeight: `${feedbackSm.fontWeight}`,
|
|
8005
|
+
color: chipInputTokens.chipInput.text.placeholder,
|
|
8006
|
+
};
|
|
8007
|
+
const listItem = listItemTokens.listItem;
|
|
8008
|
+
const CHIP_INPUT_SUGGESTIONS = {
|
|
8009
|
+
radius: `${listBoxTokens.listBox.radius}px`,
|
|
8010
|
+
maxHeight: '260px',
|
|
8011
|
+
itemPaddingY: `${listItem.paddingY}px`,
|
|
8012
|
+
itemPaddingX: `${listItem.paddingLeft.depth1}px`,
|
|
8013
|
+
itemPaddingRight: `${listItem.paddingRight}px`,
|
|
8014
|
+
itemGap: `${listItem.gap}px`,
|
|
8015
|
+
itemFontSize: `${listItem.typography.default.fontSize}px`,
|
|
8016
|
+
itemFontWeight: listItem.typography.default.fontWeight,
|
|
8017
|
+
itemFontWeightSelected: listItem.typography.selected.fontWeight,
|
|
8018
|
+
itemLineHeight: `${listItem.typography.default.lineHeight}px`,
|
|
8019
|
+
itemFontFamily: listItem.typography.default.fontFamily,
|
|
8020
|
+
itemColor: listItem.content.default,
|
|
8021
|
+
itemColorHover: listItem.content.hover,
|
|
8022
|
+
itemBgHover: listItem.bg.hover,
|
|
8023
|
+
emptyColor: '#888888',
|
|
8024
|
+
emptyFontSize: '12px',
|
|
8025
|
+
emptyLineHeight: '20px',
|
|
8026
|
+
};
|
|
8027
|
+
|
|
8028
|
+
const sdChipInputCss = () => `sd-chip-input{display:inline-flex}sd-chip-input .sd-chip-input{position:relative;width:100%;isolation:isolate;min-height:var(--sd-chip-input-min-height);display:flex;flex-flow:row wrap;align-items:center;gap:var(--sd-chip-input-chip-gap);padding:var(--sd-chip-input-padding-y) var(--sd-chip-input-padding-x);cursor:text}sd-chip-input .sd-chip-input__reset{display:inline-flex;align-items:center;gap:var(--sd-chip-input-reset-gap);flex-shrink:0}sd-chip-input .sd-chip-input__divider{display:inline-block;width:1px;height:12px;background-color:var(--sd-chip-input-divider-color);flex-shrink:0}sd-chip-input .sd-chip-input__max-count{font-size:var(--sd-chip-input-max-count-font-size);font-weight:var(--sd-chip-input-max-count-font-weight);color:var(--sd-chip-input-max-count-color);white-space:nowrap;flex-shrink:0}sd-chip-input .sd-chip-input__field{flex:0 0 auto;display:inline-grid;grid-template-columns:minmax(0, max-content);align-items:center;min-width:1ch;max-width:100%;height:var(--sd-chip-input-field-height);box-sizing:border-box;padding:0;border:none;border-radius:0;background:transparent;overflow:hidden}sd-chip-input .sd-chip-input__field::after{content:attr(data-value);grid-area:1/1;visibility:hidden;white-space:pre;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family)}sd-chip-input .sd-chip-input__field--filled{padding:0 var(--sd-chip-input-field-padding-x);border:var(--sd-chip-input-field-border-width) solid var(--sd-chip-input-field-border-color);border-radius:var(--sd-chip-input-field-radius);background:var(--sd-chip-input-field-bg)}sd-chip-input .sd-chip-input__field--empty{position:absolute;top:0;left:0;width:0;height:0;min-width:0;overflow:hidden}sd-chip-input .sd-chip-input__input{grid-area:1/1;width:100%;min-width:1ch;height:var(--sd-chip-input-field-height);margin:0;padding:0;border:none;outline:none;overflow:hidden;text-overflow:ellipsis;background:transparent;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family);color:var(--sd-chip-input-field-content)}sd-chip-input .sd-chip-input__input[disabled]{cursor:not-allowed;pointer-events:none}sd-chip-input .sd-chip-input__input::placeholder{color:var(--sd-chip-input-placeholder-color)}sd-chip-input .sd-chip-input__suggestions{display:flex;flex-direction:column;box-sizing:border-box;background:white;border-radius:var(--sd-chip-input-suggestions-radius);box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);max-height:var(--sd-chip-input-suggestions-max-height);min-height:0;overflow-y:auto;overflow-x:hidden;outline:none}sd-chip-input .sd-chip-input__suggestion-item{display:flex;align-items:center;gap:var(--sd-chip-input-suggestion-gap);padding:var(--sd-chip-input-suggestion-padding-y) var(--sd-chip-input-suggestion-padding-right) var(--sd-chip-input-suggestion-padding-y) var(--sd-chip-input-suggestion-padding-x);font-size:var(--sd-chip-input-suggestion-font-size);line-height:var(--sd-chip-input-suggestion-line-height);font-weight:var(--sd-chip-input-suggestion-font-weight);font-family:var(--sd-chip-input-suggestion-font-family);color:var(--sd-chip-input-suggestion-color);cursor:pointer;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}sd-chip-input .sd-chip-input__suggestion-item--active{background:var(--sd-chip-input-suggestion-bg-hover);color:var(--sd-chip-input-suggestion-color-hover);font-weight:var(--sd-chip-input-suggestion-font-weight-selected)}sd-chip-input .sd-chip-input__suggestions-empty{padding:12px;text-align:center;font-size:var(--sd-chip-input-suggestions-empty-font-size);line-height:var(--sd-chip-input-suggestions-empty-line-height);font-family:var(--sd-chip-input-suggestion-font-family);color:var(--sd-chip-input-suggestions-empty-color)}`;
|
|
7857
8029
|
|
|
7858
8030
|
class SdChipInput {
|
|
7859
8031
|
constructor(hostRef) {
|
|
@@ -7861,7 +8033,9 @@ class SdChipInput {
|
|
|
7861
8033
|
this.update = createEvent(this, "sdUpdate", 7);
|
|
7862
8034
|
this.focusEvent = createEvent(this, "sdFocus", 7);
|
|
7863
8035
|
this.blurEvent = createEvent(this, "sdBlur", 7);
|
|
8036
|
+
this.inputEvent = createEvent(this, "sdInput", 7);
|
|
7864
8037
|
}
|
|
8038
|
+
static SUGGESTIONS_VIEWPORT_PADDING = 8;
|
|
7865
8039
|
get host() { return getElement(this); }
|
|
7866
8040
|
values = [];
|
|
7867
8041
|
errors = [];
|
|
@@ -7873,6 +8047,11 @@ class SdChipInput {
|
|
|
7873
8047
|
rules = [];
|
|
7874
8048
|
error = false;
|
|
7875
8049
|
useReset = false;
|
|
8050
|
+
maxCount;
|
|
8051
|
+
suggestions = [];
|
|
8052
|
+
loadingSuggestions = false;
|
|
8053
|
+
recommendedItems = [];
|
|
8054
|
+
loadingRecommendedItems = false;
|
|
7876
8055
|
// sd-field props
|
|
7877
8056
|
label = '';
|
|
7878
8057
|
labelWidth = '';
|
|
@@ -7888,8 +8067,12 @@ class SdChipInput {
|
|
|
7888
8067
|
focused = false;
|
|
7889
8068
|
hovered = false;
|
|
7890
8069
|
inputValue = '';
|
|
8070
|
+
activeSuggestionIndex = -1;
|
|
8071
|
+
suppressSuggestions = false;
|
|
8072
|
+
suppressRecommendations = false;
|
|
7891
8073
|
inputEl;
|
|
7892
8074
|
formField;
|
|
8075
|
+
chipInputRef;
|
|
7893
8076
|
get value() {
|
|
7894
8077
|
return this.internalValues;
|
|
7895
8078
|
}
|
|
@@ -7901,6 +8084,17 @@ class SdChipInput {
|
|
|
7901
8084
|
this.internalErrors = [...newErrors];
|
|
7902
8085
|
}
|
|
7903
8086
|
}
|
|
8087
|
+
suggestionsChanged(newVal) {
|
|
8088
|
+
if (!Array.isArray(newVal))
|
|
8089
|
+
this.suggestions = [];
|
|
8090
|
+
this.activeSuggestionIndex = -1;
|
|
8091
|
+
this.suppressSuggestions = false;
|
|
8092
|
+
}
|
|
8093
|
+
recommendedItemsChanged(newVal) {
|
|
8094
|
+
if (!Array.isArray(newVal))
|
|
8095
|
+
this.recommendedItems = [];
|
|
8096
|
+
this.activeSuggestionIndex = -1;
|
|
8097
|
+
}
|
|
7904
8098
|
componentWillLoad() {
|
|
7905
8099
|
this.internalValues = Array.isArray(this.values) ? [...this.values] : [];
|
|
7906
8100
|
if (Array.isArray(this.errors)) {
|
|
@@ -7925,6 +8119,7 @@ class SdChipInput {
|
|
|
7925
8119
|
update;
|
|
7926
8120
|
focusEvent;
|
|
7927
8121
|
blurEvent;
|
|
8122
|
+
inputEvent;
|
|
7928
8123
|
async sdValidate() {
|
|
7929
8124
|
return this.formField?.sdValidate();
|
|
7930
8125
|
}
|
|
@@ -7937,6 +8132,31 @@ class SdChipInput {
|
|
|
7937
8132
|
async sdFocus() {
|
|
7938
8133
|
return this.formField?.sdFocus();
|
|
7939
8134
|
}
|
|
8135
|
+
addChip = (value) => {
|
|
8136
|
+
if (this.maxCount != null && this.internalValues.length >= this.maxCount)
|
|
8137
|
+
return;
|
|
8138
|
+
const next = [...this.internalValues, value];
|
|
8139
|
+
this.internalValues = next;
|
|
8140
|
+
this.values = next;
|
|
8141
|
+
if (Array.isArray(this.errors)) {
|
|
8142
|
+
const nextErrors = [...this.internalErrors, false];
|
|
8143
|
+
this.internalErrors = nextErrors;
|
|
8144
|
+
this.errors = nextErrors;
|
|
8145
|
+
}
|
|
8146
|
+
if (Array.isArray(this.disabledChips)) {
|
|
8147
|
+
this.disabledChips = [...this.disabledChips, false];
|
|
8148
|
+
}
|
|
8149
|
+
if (this.inputEl != null) {
|
|
8150
|
+
this.inputEl.value = '';
|
|
8151
|
+
}
|
|
8152
|
+
this.inputValue = '';
|
|
8153
|
+
this.activeSuggestionIndex = -1;
|
|
8154
|
+
this.suppressSuggestions = true;
|
|
8155
|
+
this.update.emit(next);
|
|
8156
|
+
this.inputEvent.emit('');
|
|
8157
|
+
this.inputEl?.focus();
|
|
8158
|
+
this.suppressRecommendations = true;
|
|
8159
|
+
};
|
|
7940
8160
|
handleChipRemove = (index) => {
|
|
7941
8161
|
const next = this.internalValues.filter((_, i) => i !== index);
|
|
7942
8162
|
this.internalValues = next;
|
|
@@ -7950,26 +8170,54 @@ class SdChipInput {
|
|
|
7950
8170
|
this.disabledChips = this.disabledChips.filter((_, i) => i !== index);
|
|
7951
8171
|
}
|
|
7952
8172
|
this.update.emit(next);
|
|
8173
|
+
// .focus()는 동기 실행 → handleFocus가 suppressRecommendations=false로 리셋하므로 이후 덮어씀
|
|
7953
8174
|
this.inputEl?.focus();
|
|
8175
|
+
this.suppressRecommendations = true;
|
|
7954
8176
|
};
|
|
7955
8177
|
handleKeyDown = (event) => {
|
|
7956
8178
|
const input = event.target;
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
this.
|
|
7961
|
-
this.
|
|
7962
|
-
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
8179
|
+
const suggestions = this.suggestions ?? [];
|
|
8180
|
+
const recommendedItems = this.recommendedItems ?? [];
|
|
8181
|
+
const showAutocomplete = this.focused &&
|
|
8182
|
+
this.inputValue !== '' &&
|
|
8183
|
+
!this.suppressSuggestions &&
|
|
8184
|
+
(suggestions.length > 0 || this.loadingSuggestions);
|
|
8185
|
+
const showRecommendations = this.focused &&
|
|
8186
|
+
this.inputValue === '' &&
|
|
8187
|
+
!this.suppressRecommendations &&
|
|
8188
|
+
(recommendedItems.length > 0 || this.loadingRecommendedItems);
|
|
8189
|
+
const showDropdown = showAutocomplete || showRecommendations;
|
|
8190
|
+
const activeItems = showAutocomplete ? suggestions : recommendedItems;
|
|
8191
|
+
if (showDropdown) {
|
|
8192
|
+
if (event.key === 'ArrowDown') {
|
|
8193
|
+
event.preventDefault();
|
|
8194
|
+
this.activeSuggestionIndex = Math.min(this.activeSuggestionIndex + 1, activeItems.length - 1);
|
|
8195
|
+
return;
|
|
7966
8196
|
}
|
|
7967
|
-
if (
|
|
7968
|
-
|
|
8197
|
+
if (event.key === 'ArrowUp') {
|
|
8198
|
+
event.preventDefault();
|
|
8199
|
+
this.activeSuggestionIndex = Math.max(this.activeSuggestionIndex - 1, -1);
|
|
8200
|
+
return;
|
|
7969
8201
|
}
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
8202
|
+
if (event.key === 'Escape') {
|
|
8203
|
+
if (showAutocomplete)
|
|
8204
|
+
this.suppressSuggestions = true;
|
|
8205
|
+
if (showRecommendations)
|
|
8206
|
+
this.suppressRecommendations = true;
|
|
8207
|
+
this.activeSuggestionIndex = -1;
|
|
8208
|
+
return;
|
|
8209
|
+
}
|
|
8210
|
+
if (event.key === 'Enter' && this.activeSuggestionIndex >= 0) {
|
|
8211
|
+
event.preventDefault();
|
|
8212
|
+
this.addChip(activeItems[this.activeSuggestionIndex]);
|
|
8213
|
+
return;
|
|
8214
|
+
}
|
|
8215
|
+
}
|
|
8216
|
+
if (event.key === 'Enter' && !event.isComposing && input.value.trim() !== '') {
|
|
8217
|
+
if (this.maxCount != null && this.internalValues.length >= this.maxCount)
|
|
8218
|
+
return;
|
|
8219
|
+
event.preventDefault();
|
|
8220
|
+
this.addChip(input.value.trim());
|
|
7973
8221
|
}
|
|
7974
8222
|
else if (event.key === 'Backspace' && input.value === '' && this.internalValues.length > 0) {
|
|
7975
8223
|
if (this.getChipDisabled(this.internalValues.length - 1))
|
|
@@ -7990,16 +8238,35 @@ class SdChipInput {
|
|
|
7990
8238
|
}
|
|
7991
8239
|
};
|
|
7992
8240
|
handleInput = (event) => {
|
|
7993
|
-
|
|
8241
|
+
const value = event.target.value;
|
|
8242
|
+
const wasEmpty = this.inputValue === '';
|
|
8243
|
+
const isEmpty = value === '';
|
|
8244
|
+
if (wasEmpty !== isEmpty) {
|
|
8245
|
+
this.activeSuggestionIndex = -1;
|
|
8246
|
+
if (isEmpty) {
|
|
8247
|
+
this.suppressRecommendations = false;
|
|
8248
|
+
}
|
|
8249
|
+
}
|
|
8250
|
+
this.inputValue = value;
|
|
8251
|
+
this.suppressSuggestions = false;
|
|
8252
|
+
this.inputEvent.emit(value);
|
|
7994
8253
|
};
|
|
7995
8254
|
handleFocus = () => {
|
|
7996
8255
|
this.focused = true;
|
|
8256
|
+
this.suppressRecommendations = false;
|
|
7997
8257
|
this.focusEvent.emit();
|
|
7998
8258
|
};
|
|
7999
8259
|
handleBlur = () => {
|
|
8000
8260
|
this.focused = false;
|
|
8261
|
+
this.activeSuggestionIndex = -1;
|
|
8001
8262
|
this.blurEvent.emit();
|
|
8002
8263
|
};
|
|
8264
|
+
closeSuggestions = () => {
|
|
8265
|
+
this.focused = false;
|
|
8266
|
+
this.activeSuggestionIndex = -1;
|
|
8267
|
+
this.suppressSuggestions = true;
|
|
8268
|
+
this.suppressRecommendations = true;
|
|
8269
|
+
};
|
|
8003
8270
|
handleContainerClick = () => {
|
|
8004
8271
|
if (!this.disabled) {
|
|
8005
8272
|
this.inputEl?.focus();
|
|
@@ -8056,8 +8323,84 @@ class SdChipInput {
|
|
|
8056
8323
|
'--sd-chip-input-field-font-weight': CHIP_TYPOGRAPHY.focus.fontWeight,
|
|
8057
8324
|
'--sd-chip-input-field-line-height': CHIP_TYPOGRAPHY.focus.lineHeight,
|
|
8058
8325
|
'--sd-chip-input-field-font-family': CHIP_TYPOGRAPHY.focus.fontFamily,
|
|
8326
|
+
'--sd-chip-input-max-count-font-size': CHIP_INPUT_MAX_COUNT.fontSize,
|
|
8327
|
+
'--sd-chip-input-max-count-font-weight': CHIP_INPUT_MAX_COUNT.fontWeight,
|
|
8328
|
+
'--sd-chip-input-max-count-color': CHIP_INPUT_MAX_COUNT.color,
|
|
8329
|
+
'--sd-chip-input-suggestions-radius': CHIP_INPUT_SUGGESTIONS.radius,
|
|
8330
|
+
'--sd-chip-input-suggestions-max-height': CHIP_INPUT_SUGGESTIONS.maxHeight,
|
|
8331
|
+
'--sd-chip-input-suggestion-padding-y': CHIP_INPUT_SUGGESTIONS.itemPaddingY,
|
|
8332
|
+
'--sd-chip-input-suggestion-padding-x': CHIP_INPUT_SUGGESTIONS.itemPaddingX,
|
|
8333
|
+
'--sd-chip-input-suggestion-padding-right': CHIP_INPUT_SUGGESTIONS.itemPaddingRight,
|
|
8334
|
+
'--sd-chip-input-suggestion-gap': CHIP_INPUT_SUGGESTIONS.itemGap,
|
|
8335
|
+
'--sd-chip-input-suggestion-font-size': CHIP_INPUT_SUGGESTIONS.itemFontSize,
|
|
8336
|
+
'--sd-chip-input-suggestion-font-weight': CHIP_INPUT_SUGGESTIONS.itemFontWeight,
|
|
8337
|
+
'--sd-chip-input-suggestion-font-weight-selected': CHIP_INPUT_SUGGESTIONS.itemFontWeightSelected,
|
|
8338
|
+
'--sd-chip-input-suggestion-line-height': CHIP_INPUT_SUGGESTIONS.itemLineHeight,
|
|
8339
|
+
'--sd-chip-input-suggestion-font-family': CHIP_INPUT_SUGGESTIONS.itemFontFamily,
|
|
8340
|
+
'--sd-chip-input-suggestion-color': CHIP_INPUT_SUGGESTIONS.itemColor,
|
|
8341
|
+
'--sd-chip-input-suggestion-color-hover': CHIP_INPUT_SUGGESTIONS.itemColorHover,
|
|
8342
|
+
'--sd-chip-input-suggestion-bg-hover': CHIP_INPUT_SUGGESTIONS.itemBgHover,
|
|
8343
|
+
'--sd-chip-input-suggestions-empty-color': CHIP_INPUT_SUGGESTIONS.emptyColor,
|
|
8344
|
+
'--sd-chip-input-suggestions-empty-font-size': CHIP_INPUT_SUGGESTIONS.emptyFontSize,
|
|
8345
|
+
'--sd-chip-input-suggestions-empty-line-height': CHIP_INPUT_SUGGESTIONS.emptyLineHeight,
|
|
8346
|
+
};
|
|
8347
|
+
const isMaxReached = this.maxCount != null && this.internalValues.length >= this.maxCount;
|
|
8348
|
+
const showResetArea = (this.useReset && this.internalValues.length > 0) || this.maxCount != null;
|
|
8349
|
+
const suggestions = this.suggestions ?? [];
|
|
8350
|
+
const recommendedItems = this.recommendedItems ?? [];
|
|
8351
|
+
const showAutocomplete = this.focused &&
|
|
8352
|
+
this.inputValue !== '' &&
|
|
8353
|
+
!this.suppressSuggestions &&
|
|
8354
|
+
(suggestions.length > 0 || this.loadingSuggestions);
|
|
8355
|
+
const showRecommendations = this.focused &&
|
|
8356
|
+
this.inputValue === '' &&
|
|
8357
|
+
!this.suppressRecommendations &&
|
|
8358
|
+
(recommendedItems.length > 0 || this.loadingRecommendedItems);
|
|
8359
|
+
const showDropdown = showAutocomplete || showRecommendations;
|
|
8360
|
+
const dropdownItems = showAutocomplete ? suggestions : recommendedItems;
|
|
8361
|
+
const isDropdownLoading = showAutocomplete
|
|
8362
|
+
? this.loadingSuggestions && suggestions.length === 0
|
|
8363
|
+
: this.loadingRecommendedItems && recommendedItems.length === 0;
|
|
8364
|
+
const suggestionBoxStyle = {
|
|
8365
|
+
width: `${this.chipInputRef?.offsetWidth ?? 0}px`,
|
|
8366
|
+
display: 'flex',
|
|
8367
|
+
flexDirection: 'column',
|
|
8368
|
+
boxSizing: 'border-box',
|
|
8369
|
+
background: '#FFFFFF',
|
|
8370
|
+
borderRadius: CHIP_INPUT_SUGGESTIONS.radius,
|
|
8371
|
+
boxShadow: '2px 2px 12px 2px rgba(0, 0, 0, 0.1)',
|
|
8372
|
+
maxHeight: CHIP_INPUT_SUGGESTIONS.maxHeight,
|
|
8373
|
+
minHeight: '0',
|
|
8374
|
+
overflowY: 'auto',
|
|
8375
|
+
overflowX: 'hidden',
|
|
8376
|
+
outline: 'none',
|
|
8377
|
+
};
|
|
8378
|
+
const suggestionItemStyle = {
|
|
8379
|
+
display: 'flex',
|
|
8380
|
+
alignItems: 'center',
|
|
8381
|
+
gap: CHIP_INPUT_SUGGESTIONS.itemGap,
|
|
8382
|
+
padding: `${CHIP_INPUT_SUGGESTIONS.itemPaddingY} ${CHIP_INPUT_SUGGESTIONS.itemPaddingRight} ` +
|
|
8383
|
+
`${CHIP_INPUT_SUGGESTIONS.itemPaddingY} ${CHIP_INPUT_SUGGESTIONS.itemPaddingX}`,
|
|
8384
|
+
fontSize: CHIP_INPUT_SUGGESTIONS.itemFontSize,
|
|
8385
|
+
lineHeight: CHIP_INPUT_SUGGESTIONS.itemLineHeight,
|
|
8386
|
+
fontWeight: CHIP_INPUT_SUGGESTIONS.itemFontWeight,
|
|
8387
|
+
fontFamily: CHIP_INPUT_SUGGESTIONS.itemFontFamily,
|
|
8388
|
+
color: CHIP_INPUT_SUGGESTIONS.itemColor,
|
|
8389
|
+
cursor: 'pointer',
|
|
8390
|
+
userSelect: 'none',
|
|
8391
|
+
whiteSpace: 'nowrap',
|
|
8392
|
+
overflow: 'hidden',
|
|
8393
|
+
textOverflow: 'ellipsis',
|
|
8059
8394
|
};
|
|
8060
|
-
|
|
8395
|
+
const suggestionEmptyStyle = {
|
|
8396
|
+
padding: '12px',
|
|
8397
|
+
textAlign: 'center',
|
|
8398
|
+
fontSize: CHIP_INPUT_SUGGESTIONS.emptyFontSize,
|
|
8399
|
+
lineHeight: CHIP_INPUT_SUGGESTIONS.emptyLineHeight,
|
|
8400
|
+
fontFamily: CHIP_INPUT_SUGGESTIONS.itemFontFamily,
|
|
8401
|
+
color: CHIP_INPUT_SUGGESTIONS.emptyColor,
|
|
8402
|
+
};
|
|
8403
|
+
return (hAsync("sd-field", { key: '6ff0688cd9a076cd81693364bfeb6a98b5bf018e', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, width: this.width, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, hAsync("div", { key: '0c6ae92de4dcb44ed4fbcd12f1dddef93cec12db', class: "sd-chip-input", ref: el => (this.chipInputRef = el), onClick: this.handleContainerClick }, (this.internalValues ?? []).map((value, i) => (hAsync("sd-chip", { key: i, value: value, error: this.getChipError(i), disabled: this.getChipDisabled(i), editable: false, onSdRemove: () => this.handleChipRemove(i) }))), !isMaxReached && (hAsync("div", { key: 'df111f3110b444ed296db8c6b7f00d9209f858af', class: {
|
|
8061
8404
|
'sd-chip-input__field': true,
|
|
8062
8405
|
'sd-chip-input__field--filled': this.inputValue !== '',
|
|
8063
8406
|
'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
|
|
@@ -8065,7 +8408,20 @@ class SdChipInput {
|
|
|
8065
8408
|
? this.inputValue
|
|
8066
8409
|
: this.internalValues.length === 0
|
|
8067
8410
|
? this.placeholder
|
|
8068
|
-
: '' }, hAsync("input", { key: '
|
|
8411
|
+
: '' }, hAsync("input", { key: '8e170c84cedab36edbdd0a84e7e2e1ac0fba9632', ref: el => (this.inputEl = el), class: "sd-chip-input__input", placeholder: this.internalValues.length === 0 ? this.placeholder : '', disabled: this.disabled, size: 1, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur }))), showResetArea && (hAsync("div", { key: '5b30bb4f89c9d3c9b18870acccad22bd97e1d748', class: "sd-chip-input__reset" }, this.inputValue === '' && hAsync("span", { key: '6fbf74a5a77b70789a609d28f5c4b6dd2aab57ef', class: "sd-chip-input__divider" }), this.maxCount != null && (hAsync("span", { key: 'fbb21a27bdd2aa38870cfd8d16b7e5293769eaf3', class: "sd-chip-input__max-count" }, "\uCD5C\uB300 ", this.maxCount, "\uAC1C")), this.useReset && this.internalValues.length > 0 && (hAsync("sd-text-link", { key: '83626145602b13d7a00ef955a6db59f41c152529', icon: "reset", iconColor: CHIP_INPUT_RESET.iconColor, label: "\uC785\uB825 \uCD08\uAE30\uD654", underline: true, disabled: this.disabled, style: { '--sd-text-link-color': CHIP_INPUT_RESET.labelColor }, onSdClick: this.handleResetInput })))), showDropdown && (hAsync("sd-portal", { key: '1682a89b513098f192f776af782aa9ee432574e8', open: showDropdown, parentRef: this.chipInputRef ?? null, viewportPadding: SdChipInput.SUGGESTIONS_VIEWPORT_PADDING, onSdClose: this.closeSuggestions }, hAsync("div", { key: '3efb484bd5616e411824f7014a759a34a9e93d8b', class: "sd-chip-input__suggestions", role: "listbox", style: suggestionBoxStyle }, isDropdownLoading && (hAsync("div", { key: 'b5b1d5e6db03f6fe60864b6c19e9b2c753468447', class: "sd-chip-input__suggestions-empty", style: suggestionEmptyStyle }, "\uBD88\uB7EC\uC624\uB294 \uC911...")), dropdownItems.map((item, i) => (hAsync("div", { key: item, class: {
|
|
8412
|
+
'sd-chip-input__suggestion-item': true,
|
|
8413
|
+
'sd-chip-input__suggestion-item--active': i === this.activeSuggestionIndex,
|
|
8414
|
+
}, role: "option", tabIndex: -1, "aria-selected": i === this.activeSuggestionIndex, style: i === this.activeSuggestionIndex
|
|
8415
|
+
? {
|
|
8416
|
+
...suggestionItemStyle,
|
|
8417
|
+
background: CHIP_INPUT_SUGGESTIONS.itemBgHover,
|
|
8418
|
+
color: CHIP_INPUT_SUGGESTIONS.itemColorHover,
|
|
8419
|
+
fontWeight: CHIP_INPUT_SUGGESTIONS.itemFontWeightSelected,
|
|
8420
|
+
}
|
|
8421
|
+
: suggestionItemStyle, onMouseDown: e => {
|
|
8422
|
+
e.preventDefault();
|
|
8423
|
+
this.addChip(item);
|
|
8424
|
+
} }, item)))))))));
|
|
8069
8425
|
}
|
|
8070
8426
|
static get watchers() { return {
|
|
8071
8427
|
"values": [{
|
|
@@ -8073,6 +8429,12 @@ class SdChipInput {
|
|
|
8073
8429
|
}],
|
|
8074
8430
|
"errors": [{
|
|
8075
8431
|
"errorsChanged": 0
|
|
8432
|
+
}],
|
|
8433
|
+
"suggestions": [{
|
|
8434
|
+
"suggestionsChanged": 0
|
|
8435
|
+
}],
|
|
8436
|
+
"recommendedItems": [{
|
|
8437
|
+
"recommendedItemsChanged": 0
|
|
8076
8438
|
}]
|
|
8077
8439
|
}; }
|
|
8078
8440
|
static get style() { return sdChipInputCss(); }
|
|
@@ -8090,6 +8452,11 @@ class SdChipInput {
|
|
|
8090
8452
|
"rules": [16],
|
|
8091
8453
|
"error": [1028],
|
|
8092
8454
|
"useReset": [4, "use-reset"],
|
|
8455
|
+
"maxCount": [2, "max-count"],
|
|
8456
|
+
"suggestions": [1040],
|
|
8457
|
+
"loadingSuggestions": [4, "loading-suggestions"],
|
|
8458
|
+
"recommendedItems": [1040],
|
|
8459
|
+
"loadingRecommendedItems": [4, "loading-recommended-items"],
|
|
8093
8460
|
"label": [1],
|
|
8094
8461
|
"labelWidth": [8, "label-width"],
|
|
8095
8462
|
"hint": [1],
|
|
@@ -8104,6 +8471,9 @@ class SdChipInput {
|
|
|
8104
8471
|
"focused": [32],
|
|
8105
8472
|
"hovered": [32],
|
|
8106
8473
|
"inputValue": [32],
|
|
8474
|
+
"activeSuggestionIndex": [32],
|
|
8475
|
+
"suppressSuggestions": [32],
|
|
8476
|
+
"suppressRecommendations": [32],
|
|
8107
8477
|
"sdValidate": [64],
|
|
8108
8478
|
"sdReset": [64],
|
|
8109
8479
|
"sdResetValidate": [64],
|
|
@@ -8147,42 +8517,6 @@ var progressTokens = {
|
|
|
8147
8517
|
progress: progress
|
|
8148
8518
|
};
|
|
8149
8519
|
|
|
8150
|
-
const color = {
|
|
8151
|
-
bg: {
|
|
8152
|
-
frame: "#FFFFFF",
|
|
8153
|
-
accent: {
|
|
8154
|
-
"default": "#0075FF"}},
|
|
8155
|
-
fg: {
|
|
8156
|
-
primary: "#222222",
|
|
8157
|
-
secondary: "#555555",
|
|
8158
|
-
tertiary: "#888888",
|
|
8159
|
-
success: "#00973C",
|
|
8160
|
-
accent: "#0075FF",
|
|
8161
|
-
inverse: "#FFFFFF"
|
|
8162
|
-
},
|
|
8163
|
-
divider: {
|
|
8164
|
-
"default": "#E1E1E1"
|
|
8165
|
-
},
|
|
8166
|
-
blue: {
|
|
8167
|
-
strong: "#0075FF"},
|
|
8168
|
-
darkblue: {
|
|
8169
|
-
strong: "#006AC1"},
|
|
8170
|
-
grey: {
|
|
8171
|
-
strong: "#737373"}};
|
|
8172
|
-
const shadow = {
|
|
8173
|
-
spread: {
|
|
8174
|
-
md: {
|
|
8175
|
-
x: "0",
|
|
8176
|
-
y: "0",
|
|
8177
|
-
blur: "24",
|
|
8178
|
-
spread: "0",
|
|
8179
|
-
color: "rgba(34,34,34,0.2)"}
|
|
8180
|
-
}};
|
|
8181
|
-
var systemTokens = {
|
|
8182
|
-
color: color,
|
|
8183
|
-
shadow: shadow
|
|
8184
|
-
};
|
|
8185
|
-
|
|
8186
8520
|
const CIRCLE_PROGRESS_LABEL_COLOR = progressTokens.progress.color.label;
|
|
8187
8521
|
const CIRCLE_PROGRESS_PERCENT_ZERO_COLOR = systemTokens.color.fg.tertiary;
|
|
8188
8522
|
// TODO: error/complete 색상 및 inverse 흰색은 토큰 반영 후 교체
|
|
@@ -8241,7 +8575,7 @@ class SdCircleProgress {
|
|
|
8241
8575
|
}
|
|
8242
8576
|
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
8243
8577
|
const showPercent = !this.indeterminate;
|
|
8244
|
-
return (hAsync(Host, { key: '
|
|
8578
|
+
return (hAsync(Host, { key: '35b4dc433f5e2bbd02dc3422b286da179472082f', style: hostStyle }, hAsync("svg", { key: 'de1d3e44eccf421491a1107ba234e1562917945b', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, hAsync("circle", { key: 'b0a54a2e155222a416a6bdcb75f4fe54d9de8270', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), hAsync("circle", { key: '6bc314b3fce758d41a3499e9d87b7158b15777a5', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (hAsync("span", { key: '16ec46b178d5f2f2f5ad245703c2f4362b8df261', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && hAsync("span", { key: 'c199799d2466c75f91f1bc1f20fdb7e71c64ba0e', class: "sd-circle-progress__label" }, this.label)));
|
|
8245
8579
|
}
|
|
8246
8580
|
static get style() { return sdCircleProgressCss(); }
|
|
8247
8581
|
static get cmpMeta() { return {
|
|
@@ -8357,9 +8691,9 @@ class SdConfirmModal {
|
|
|
8357
8691
|
const type = this.resolvedType;
|
|
8358
8692
|
const iconName = CONFIRM_MODAL_ICON_MAP[type];
|
|
8359
8693
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
|
|
8360
|
-
return (hAsync("div", { key: '
|
|
8694
|
+
return (hAsync("div", { key: '51fb051b436cc511aeac2f578832a267e12ef3c4', class: "sd-confirm-modal" }, hAsync("sd-ghost-button", { key: 'dd9605e312eac8b0602ec558ad5439ea3daa7aa7', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (hAsync("sd-icon", { key: '5027ec2d03731338a9197f7b5b910d2adbf83f0e', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), hAsync("h2", { key: '8456707355cc779c169b56abc16b0949909b829e', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), hAsync("div", { key: 'd11cb38e749f54ce5767ba9b5cca0129df742aca', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (hAsync("div", { key: 'de653458605a9591d7c66d644a143d0f33738b28', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (hAsync("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (hAsync("div", { key: '0517e400485551ab21f0f5452af764b5ede7a76d', class: "sd-confirm-modal__content-box" }, this.tagContents ? (hAsync("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
8361
8695
|
this.customContentRef = el;
|
|
8362
|
-
} })) : (hAsync("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (hAsync("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (hAsync("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (hAsync("div", { key: '
|
|
8696
|
+
} })) : (hAsync("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (hAsync("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (hAsync("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (hAsync("div", { key: 'd542a08caee30ed7eb1d22ed85a51be6e1f6855e', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (hAsync("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), hAsync("div", { key: '02d012e899969ee55cba43c11d9caeaaff65a348', class: "sd-confirm-modal__button" }, this.subButtonLabel && (hAsync("sd-button", { key: 'fd50d151e515646e5bef5658a1b05b2e26b21461', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), hAsync("sd-button", { key: '0c2092edf0866a8b1f4f432b176d78eedd9655d6', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
|
|
8363
8697
|
}
|
|
8364
8698
|
static get style() { return sdConfirmModalCss(); }
|
|
8365
8699
|
static get cmpMeta() { return {
|
|
@@ -8646,9 +8980,9 @@ class SdDatePicker {
|
|
|
8646
8980
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
8647
8981
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
8648
8982
|
};
|
|
8649
|
-
return (hAsync("sd-field", { key: '
|
|
8983
|
+
return (hAsync("sd-field", { key: '9e1e5cb7419027db803248a657d0d134be049637', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: 'fbd9adeaa08d19cac34b045aba2b3fbb8d4adc8c', class: "sd-date-picker", ref: el => {
|
|
8650
8984
|
this.triggerRef = el;
|
|
8651
|
-
} }, hAsync("sd-date-picker-trigger", { key: '
|
|
8985
|
+
} }, hAsync("sd-date-picker-trigger", { key: 'd51161c4b1eedcfd90832c9b6d049559ff5df08b', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: 'd6588d3991eff39eb717d4211b38d68f093aace5', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, hAsync("sd-calendar", { key: '0dc6a8074fcfa63630aab7f0b126caa9f4c7b234', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
8652
8986
|
}
|
|
8653
8987
|
static get watchers() { return {
|
|
8654
8988
|
"isOpen": [{
|
|
@@ -8731,7 +9065,7 @@ class SdDatePickerTrigger {
|
|
|
8731
9065
|
? DATEPICKER_COLORS.icon.disabled
|
|
8732
9066
|
: DATEPICKER_COLORS.icon.default,
|
|
8733
9067
|
};
|
|
8734
|
-
return (hAsync("div", { key: '
|
|
9068
|
+
return (hAsync("div", { key: '8ce4e5a7f355e15ad6662efc5d1a697c2f78d455', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
8735
9069
|
'sd-date-picker-trigger': true,
|
|
8736
9070
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
8737
9071
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -8739,7 +9073,7 @@ class SdDatePickerTrigger {
|
|
|
8739
9073
|
e.preventDefault();
|
|
8740
9074
|
this.handleClick();
|
|
8741
9075
|
}
|
|
8742
|
-
} }, hAsync("sd-icon", { key: '
|
|
9076
|
+
} }, hAsync("sd-icon", { key: '31d360adaf1a8a0d613d3809be7c724be9d7a29a', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), hAsync("span", { key: 'cf17fb4d5fdaadd99847ec9ce5440214c10a5797', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
8743
9077
|
}
|
|
8744
9078
|
static get style() { return sdDatePickerTriggerCss(); }
|
|
8745
9079
|
static get cmpMeta() { return {
|
|
@@ -9159,7 +9493,7 @@ class SdDateRangePickerCalendar {
|
|
|
9159
9493
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
9160
9494
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
9161
9495
|
};
|
|
9162
|
-
return (hAsync(Fragment, { key: '
|
|
9496
|
+
return (hAsync(Fragment, { key: '71f25effececd0b83d9b33201230dc615ba87a30' }, hAsync("div", { key: 'f075474fb0be9f8e8562a013532b3cdbaadee069', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), hAsync("div", { key: '4dfa1d65b971f7d80f0799482c8ce41522200a94', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), hAsync("span", { key: '20149f97a5115115cc49894383ca7f989ba2b904', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
9163
9497
|
}
|
|
9164
9498
|
static get watchers() { return {
|
|
9165
9499
|
"value": [{
|
|
@@ -9202,7 +9536,7 @@ class SdDivider {
|
|
|
9202
9536
|
const hostStyle = {
|
|
9203
9537
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9204
9538
|
};
|
|
9205
|
-
return (hAsync(Host, { key: '
|
|
9539
|
+
return (hAsync(Host, { key: '886ca68599a925678d7c598daeff3bf653db513d', style: hostStyle }, hAsync("hr", { key: 'e213413f041cda5d18a74f8c0225c840d92f7dac', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
9206
9540
|
}
|
|
9207
9541
|
static get style() { return sdDividerCss(); }
|
|
9208
9542
|
static get cmpMeta() { return {
|
|
@@ -9355,6 +9689,13 @@ const DROPDOWN_CHEVRON_ICON_SIZE = {
|
|
|
9355
9689
|
sm: 12,
|
|
9356
9690
|
md: 16,
|
|
9357
9691
|
};
|
|
9692
|
+
// 버튼 자체의 min-width (px). split 여부에 따라 chevron 버튼이 추가되므로 별도 값을 지정.
|
|
9693
|
+
// TODO: 디자인 토큰으로 관리될 때 대체 예정
|
|
9694
|
+
const DROPDOWN_BUTTON_MIN_WIDTH = {
|
|
9695
|
+
xs: { default: 44, split: 60 },
|
|
9696
|
+
sm: { default: 70, split: 76 },
|
|
9697
|
+
md: { default: 100, split: 106 },
|
|
9698
|
+
};
|
|
9358
9699
|
const DROPDOWN_DISABLED_BACKGROUND = buttonTokens.button.bg.disabled;
|
|
9359
9700
|
const DROPDOWN_DISABLED_TEXT = buttonTokens.button.text.disabled;
|
|
9360
9701
|
const DROPDOWN_DISABLED_ICON = buttonTokens.button.icon.disabled;
|
|
@@ -9383,6 +9724,7 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
9383
9724
|
isAnimatingOut = false;
|
|
9384
9725
|
itemIndex = -1;
|
|
9385
9726
|
triggerRef;
|
|
9727
|
+
splitContainerRef;
|
|
9386
9728
|
menuRef;
|
|
9387
9729
|
closeAnimationTimer;
|
|
9388
9730
|
click;
|
|
@@ -9561,10 +9903,11 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
9561
9903
|
return classes.join(' ');
|
|
9562
9904
|
}
|
|
9563
9905
|
renderDropdown(preset) {
|
|
9564
|
-
|
|
9906
|
+
const anchorRef = this.split ? this.splitContainerRef : this.triggerRef;
|
|
9907
|
+
if ((!this.isOpen && !this.isAnimatingOut) || !anchorRef)
|
|
9565
9908
|
return null;
|
|
9566
|
-
return (hAsync("sd-portal", { open: this.isOpen, parentRef:
|
|
9567
|
-
'--sd-dropdown-button-menu-min-width': `${
|
|
9909
|
+
return (hAsync("sd-portal", { open: this.isOpen, parentRef: anchorRef, onSdClose: this.closeDropdown }, hAsync("div", { class: "sd-dropdown-button__menu", role: "menu", ref: el => (this.menuRef = el), style: {
|
|
9910
|
+
'--sd-dropdown-button-menu-min-width': `${anchorRef.offsetWidth}px`,
|
|
9568
9911
|
'--sd-dropdown-button-menu-item-color': PRESET_MENU_ITEM_COLORS[preset],
|
|
9569
9912
|
'--sd-dropdown-button-menu-item-active-bg': PRESET_MENU_ITEM_ACTIVE_BACKGROUNDS[preset],
|
|
9570
9913
|
'--sd-dropdown-button-menu-item-active-color': PRESET_MENU_ITEM_ACTIVE_COLORS[preset],
|
|
@@ -9578,7 +9921,7 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
9578
9921
|
this.itemIndex = index;
|
|
9579
9922
|
}
|
|
9580
9923
|
} }, item.icon && (hAsync("sd-icon", { class: "sd-dropdown-button__menu-item-icon", name: item.icon, size: 12, color: "var(--sd-dropdown-button-menu-item-current-color)" })), hAsync("span", { class: "sd-dropdown-button__menu-item-label", innerHTML: sanitizeInlineHtml(item.label) })));
|
|
9581
|
-
}))))
|
|
9924
|
+
}))));
|
|
9582
9925
|
}
|
|
9583
9926
|
renderChevron(size) {
|
|
9584
9927
|
const iconName = this.split ? 'etc' : 'caretDown';
|
|
@@ -9590,10 +9933,11 @@ class SdDropdownButton extends BaseDropdownEvent {
|
|
|
9590
9933
|
render() {
|
|
9591
9934
|
const { config, preset } = this.resolvedConfig;
|
|
9592
9935
|
const triggerStyle = this.getTriggerStyle(config, preset);
|
|
9936
|
+
const minWidth = DROPDOWN_BUTTON_MIN_WIDTH[config.size];
|
|
9593
9937
|
if (this.split) {
|
|
9594
|
-
return (hAsync("div", { class: "sd-dropdown-button sd-dropdown-button--split" }, hAsync("button", { type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen, 'label'), disabled: this.disabled, onClick: this.handleButtonClick, style: triggerStyle }, hAsync("span", { class: "sd-dropdown-button__trigger-label" }, this.label)), hAsync("button", { type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen, 'chevron'), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), "aria-label": "dropdown toggle", onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: triggerStyle }, this.renderChevron(config.size)), this.renderDropdown(preset)));
|
|
9938
|
+
return (hAsync("div", { class: "sd-dropdown-button sd-dropdown-button--split", ref: el => (this.splitContainerRef = el), style: { minWidth: `${minWidth.split}px` } }, hAsync("button", { type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen, 'label'), disabled: this.disabled, onClick: this.handleButtonClick, style: triggerStyle }, hAsync("span", { class: "sd-dropdown-button__trigger-label" }, this.label)), hAsync("button", { type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen, 'chevron'), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), "aria-label": "dropdown toggle", onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: triggerStyle }, this.renderChevron(config.size)), this.renderDropdown(preset)));
|
|
9595
9939
|
}
|
|
9596
|
-
return (hAsync("div", { class: "sd-dropdown-button" }, hAsync("button", { 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: triggerStyle }, hAsync("span", { class: "sd-dropdown-button__trigger-label" }, this.label), this.renderChevron(config.size)), this.renderDropdown(preset)));
|
|
9940
|
+
return (hAsync("div", { class: "sd-dropdown-button" }, hAsync("button", { 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: { ...triggerStyle, minWidth: `${minWidth.default}px` } }, hAsync("span", { class: "sd-dropdown-button__trigger-label" }, this.label), this.renderChevron(config.size)), this.renderDropdown(preset)));
|
|
9597
9941
|
}
|
|
9598
9942
|
static get watchers() { return {
|
|
9599
9943
|
"isOpen": [{
|
|
@@ -9834,21 +10178,21 @@ class SdField {
|
|
|
9834
10178
|
: {}),
|
|
9835
10179
|
}
|
|
9836
10180
|
: {};
|
|
9837
|
-
return (hAsync("div", { key: '
|
|
10181
|
+
return (hAsync("div", { key: '9edafceb24a4fcde7cfb966f421bfb73f1b07617', class: {
|
|
9838
10182
|
'sd-field': true,
|
|
9839
10183
|
'sd-field--has-label': this.label !== '',
|
|
9840
10184
|
'sd-field--has-addon': addon !== '',
|
|
9841
10185
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
9842
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: '
|
|
10186
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: 'e5c4a8aad05afb40f3eccc492135b2b968ffc646', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: 'e88d62a979eaab9f6794c851813e5f56c3c5c4ac', class: "sd-field__main", style: this.width !== '' && this.width !== 0
|
|
9843
10187
|
? {
|
|
9844
10188
|
width: typeof this.width === 'number' ? `${this.width}px` : this.width,
|
|
9845
10189
|
flex: 'none',
|
|
9846
10190
|
}
|
|
9847
|
-
: {} }, hAsync("div", { key: '
|
|
10191
|
+
: {} }, hAsync("div", { key: 'be69d7e48d90dda0872ffc43c2a1b4044e99ac00', class: {
|
|
9848
10192
|
'sd-field__control': true,
|
|
9849
10193
|
'sd-field__control--has-addon': addon !== '',
|
|
9850
|
-
} }, addon && (hAsync("div", { key: '
|
|
9851
|
-
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), hAsync("slot", { key: '
|
|
10194
|
+
} }, addon && (hAsync("div", { key: '2c631ac0f8b9001cf6344908cf8cbcdf182cc1a7', class: "sd-field__addon" }, this.icon && (hAsync("sd-icon", { key: '34a49839ee200cd59c3ff5b84caf5ded2c50f7b0', name: this.icon.name, size: this.icon.size ??
|
|
10195
|
+
Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), hAsync("slot", { key: '693f20c529e5f2ea84d381e59327392edb7b4c15' })), this.errorMsg !== '' || this.errorMessage !== '' ? (hAsync("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && hAsync("div", { class: "sd-field__hint" }, this.hint))))));
|
|
9852
10196
|
}
|
|
9853
10197
|
renderLabel(label) {
|
|
9854
10198
|
if (label == null || label === '')
|
|
@@ -10361,7 +10705,7 @@ class SdFloatingPopover {
|
|
|
10361
10705
|
}
|
|
10362
10706
|
}
|
|
10363
10707
|
render() {
|
|
10364
|
-
return hAsync("slot", { key: '
|
|
10708
|
+
return hAsync("slot", { key: 'f20806555ad198c33a62ec938ea7b77200fa1585' });
|
|
10365
10709
|
}
|
|
10366
10710
|
static get style() { return sdFloatingPortalCss(); }
|
|
10367
10711
|
static get cmpMeta() { return {
|
|
@@ -11358,12 +11702,12 @@ class SdInput {
|
|
|
11358
11702
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
11359
11703
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
11360
11704
|
};
|
|
11361
|
-
return (hAsync("sd-field", { key: '
|
|
11705
|
+
return (hAsync("sd-field", { key: '64e7a3ba5e223341336248ba31e621b4416987fd', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("label", { key: 'b66e286c35cc14c1eb02badcaaff24b38ff0a7b3', class: "sd-input__content" }, hAsync("slot", { key: 'dc8b900eb2b38c18b85663bc930e810be77bdbd7', name: "prefix" }), hAsync("input", { key: '36d35464338838aaaeff6f728020241d33a493ec', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), hAsync("slot", { key: '4f30d4a59794c0692f367d41af4311e191c5427b', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (hAsync("sd-ghost-button", { key: '247da41512f20d8e562f345b08bd5bc13486734b', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
11362
11706
|
if (this.disabled || this.readonly)
|
|
11363
11707
|
return;
|
|
11364
11708
|
this.internalValue = '';
|
|
11365
11709
|
await this.formField?.sdValidate();
|
|
11366
|
-
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '
|
|
11710
|
+
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '70c596ef0072bf369bd59e2c58d0a6f8c6fd1b11', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
11367
11711
|
if (this.disabled || this.readonly)
|
|
11368
11712
|
return;
|
|
11369
11713
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -11502,8 +11846,7 @@ const KEY_VALUE_TABLE_LAYOUT = {
|
|
|
11502
11846
|
rowHeight: Number(t.keyValue.height),
|
|
11503
11847
|
thWidth: 120,
|
|
11504
11848
|
borderRadius: Number(t.radius),
|
|
11505
|
-
|
|
11506
|
-
paddingY: Number(t.keyValue.body.padding),
|
|
11849
|
+
padding: Number(t.keyValue.body.padding),
|
|
11507
11850
|
helpIconSize: 16,
|
|
11508
11851
|
requiredIconSize: 12,
|
|
11509
11852
|
gap: Number(t.header.gap),
|
|
@@ -11524,7 +11867,7 @@ const KEY_VALUE_TABLE_COLORS = {
|
|
|
11524
11867
|
const KEY_VALUE_TABLE_TYPOGRAPHY = {
|
|
11525
11868
|
labelFontFamily: t.header.typography.fontFamily,
|
|
11526
11869
|
labelFontSize: Number(t.header.typography.fontSize),
|
|
11527
|
-
labelFontWeight:
|
|
11870
|
+
labelFontWeight: 700,
|
|
11528
11871
|
labelLineHeight: Number(t.header.typography.lineHeight),
|
|
11529
11872
|
tdFontFamily: t.body.typography.fontFamily,
|
|
11530
11873
|
tdFontSize: Number(t.body.typography.fontSize),
|
|
@@ -11532,7 +11875,7 @@ const KEY_VALUE_TABLE_TYPOGRAPHY = {
|
|
|
11532
11875
|
tdLineHeight: Number(t.body.typography.lineHeight),
|
|
11533
11876
|
};
|
|
11534
11877
|
|
|
11535
|
-
const sdKeyValueTableCss = () => `sd-key-value-table{display:block}sd-key-value-table .sd-key-value-table__wrapper{display:flex;align-items:stretch;width:100%;border:var(--sd-kvt-border-width) solid var(--sd-kvt-border-color);border-radius:var(--sd-kvt-radius);overflow:hidden}sd-key-value-table .sd-key-value-table__wrapper .sd-key-value-table{flex:1 1 auto;border:0;border-radius:0}sd-key-value-table .sd-key-value-table__wrapper.sd-key-value-table__wrapper--use-top{border-top-left-radius:0;border-top-right-radius:0}sd-key-value-table .sd-key-value-table__search-panel{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:var(--sd-kvt-padding
|
|
11878
|
+
const sdKeyValueTableCss = () => `sd-key-value-table{display:block}sd-key-value-table .sd-key-value-table__wrapper{display:flex;align-items:stretch;width:100%;border:var(--sd-kvt-border-width) solid var(--sd-kvt-border-color);border-radius:var(--sd-kvt-radius);overflow:hidden}sd-key-value-table .sd-key-value-table__wrapper .sd-key-value-table{flex:1 1 auto;border:0;border-radius:0}sd-key-value-table .sd-key-value-table__wrapper.sd-key-value-table__wrapper--use-top{border-top-left-radius:0;border-top-right-radius:0}sd-key-value-table .sd-key-value-table__search-panel{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:var(--sd-kvt-padding) var(--sd-kvt-search-padding-x);background:var(--sd-kvt-search-bg);border-left:var(--sd-kvt-border-width) solid var(--sd-kvt-border-color)}sd-key-value-table .sd-key-value-table{width:100%;table-layout:fixed;border:var(--sd-kvt-border-width) solid var(--sd-kvt-border-color);border-radius:var(--sd-kvt-radius);border-collapse:separate;border-spacing:0;overflow:hidden}sd-key-value-table .sd-key-value-table.sd-key-value-table--use-top{border-top-left-radius:0;border-top-right-radius:0}sd-key-value-table .sd-key-value-table__th,sd-key-value-table .sd-key-value-table__td{height:var(--sd-kvt-row-height);padding:var(--sd-kvt-padding);box-sizing:border-box;vertical-align:middle;text-align:left;font-weight:normal;border-top:var(--sd-kvt-border-width) solid var(--sd-kvt-border-color)}sd-key-value-table .sd-key-value-table tbody>tr:first-child>.sd-key-value-table__th,sd-key-value-table .sd-key-value-table tbody>tr:first-child>.sd-key-value-table__td{border-top:0}sd-key-value-table .sd-key-value-table__th{width:var(--sd-kvt-th-width);background:var(--sd-kvt-th-bg);color:var(--sd-kvt-th-color)}sd-key-value-table .sd-key-value-table__th-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--sd-kvt-gap);width:100%;height:100%}sd-key-value-table .sd-key-value-table__label{display:inline-flex;align-items:center;gap:var(--sd-kvt-label-gap);font-family:var(--sd-kvt-label-font-family);font-size:var(--sd-kvt-label-font-size);font-weight:var(--sd-kvt-label-font-weight);line-height:var(--sd-kvt-label-line-height);color:var(--sd-kvt-th-color)}sd-key-value-table .sd-key-value-table__required{display:inline-flex;align-items:center;flex-shrink:0}sd-key-value-table .sd-key-value-table__help{display:inline-flex;align-items:center;flex-shrink:0}sd-key-value-table .sd-key-value-table__td{background:var(--sd-kvt-td-bg);color:var(--sd-kvt-td-color)}sd-key-value-table .sd-key-value-table__td-inner{display:flex;align-items:center;width:100%;height:100%}sd-key-value-table .sd-key-value-table__td-inner>slot{display:block;flex:1 1 auto;min-width:0}sd-key-value-table .sd-key-value-table__td-inner sd-input,sd-key-value-table .sd-key-value-table__td-inner sd-textarea,sd-key-value-table .sd-key-value-table__td-inner sd-number-input,sd-key-value-table .sd-key-value-table__td-inner sd-select,sd-key-value-table .sd-key-value-table__td-inner sd-date-picker,sd-key-value-table .sd-key-value-table__td-inner sd-date-range-picker,sd-key-value-table .sd-key-value-table__td-inner sd-file-picker{width:100%}sd-key-value-table .sd-key-value-table__text{font-family:var(--sd-kvt-td-font-family);font-size:var(--sd-kvt-td-font-size);font-weight:var(--sd-kvt-td-font-weight);line-height:var(--sd-kvt-td-line-height);color:var(--sd-kvt-td-color)}`;
|
|
11536
11879
|
|
|
11537
11880
|
class SdKeyValueTable {
|
|
11538
11881
|
constructor(hostRef) {
|
|
@@ -11640,6 +11983,28 @@ class SdKeyValueTable {
|
|
|
11640
11983
|
});
|
|
11641
11984
|
return max;
|
|
11642
11985
|
}
|
|
11986
|
+
/**
|
|
11987
|
+
* thStyle의 CSS 속성 값을 해당 CSS 변수로도 반영.
|
|
11988
|
+
* label span이 var()로 스타일을 참조하기 때문에, 인라인 스타일만으로는 상속이 되지 않음.
|
|
11989
|
+
*/
|
|
11990
|
+
buildThStyle(thStyle) {
|
|
11991
|
+
const s = { ...thStyle };
|
|
11992
|
+
if (thStyle.color != null)
|
|
11993
|
+
s['--sd-kvt-th-color'] = thStyle.color;
|
|
11994
|
+
if (thStyle.background != null)
|
|
11995
|
+
s['--sd-kvt-th-bg'] = thStyle.background;
|
|
11996
|
+
if (thStyle.backgroundColor != null)
|
|
11997
|
+
s['--sd-kvt-th-bg'] = thStyle.backgroundColor;
|
|
11998
|
+
if (thStyle.fontFamily != null)
|
|
11999
|
+
s['--sd-kvt-label-font-family'] = thStyle.fontFamily;
|
|
12000
|
+
if (thStyle.fontSize != null)
|
|
12001
|
+
s['--sd-kvt-label-font-size'] = thStyle.fontSize;
|
|
12002
|
+
if (thStyle.fontWeight != null)
|
|
12003
|
+
s['--sd-kvt-label-font-weight'] = thStyle.fontWeight;
|
|
12004
|
+
if (thStyle.lineHeight != null)
|
|
12005
|
+
s['--sd-kvt-label-line-height'] = thStyle.lineHeight;
|
|
12006
|
+
return s;
|
|
12007
|
+
}
|
|
11643
12008
|
renderTh(field, r, c) {
|
|
11644
12009
|
const thRowSpan = field.thRowSpan != null && field.thRowSpan > 1 ? field.thRowSpan : undefined;
|
|
11645
12010
|
const thColSpan = field.thColSpan != null && field.thColSpan > 1 ? field.thColSpan : undefined;
|
|
@@ -11650,7 +12015,8 @@ class SdKeyValueTable {
|
|
|
11650
12015
|
else if (Array.isArray(field.thClass)) {
|
|
11651
12016
|
field.thClass.forEach(cls => (classObj[cls] = true));
|
|
11652
12017
|
}
|
|
11653
|
-
|
|
12018
|
+
const thStyle = field.thStyle != null ? this.buildThStyle(field.thStyle) : undefined;
|
|
12019
|
+
return (hAsync("th", { key: `th-${r}-${c}`, class: classObj, style: thStyle, scope: "row", rowSpan: thRowSpan, colSpan: thColSpan }, hAsync("div", { class: "sd-key-value-table__th-inner" }, hAsync("span", { class: "sd-key-value-table__label" }, field.label, field.required && (hAsync("sd-icon", { class: "sd-key-value-table__required", name: "star", size: KEY_VALUE_TABLE_LAYOUT.requiredIconSize, color: KEY_VALUE_TABLE_COLORS.required, label: "required" }))), field.helpText && this.renderHelpIcon(field.helpText))));
|
|
11654
12020
|
}
|
|
11655
12021
|
renderTd(field, r, c) {
|
|
11656
12022
|
const tdRowSpan = field.tdRowSpan != null && field.tdRowSpan > 1 ? field.tdRowSpan : undefined;
|
|
@@ -11678,8 +12044,7 @@ class SdKeyValueTable {
|
|
|
11678
12044
|
'--sd-kvt-row-height': `${KEY_VALUE_TABLE_LAYOUT.rowHeight}px`,
|
|
11679
12045
|
'--sd-kvt-th-width': `${KEY_VALUE_TABLE_LAYOUT.thWidth}px`,
|
|
11680
12046
|
'--sd-kvt-radius': `${KEY_VALUE_TABLE_LAYOUT.borderRadius}px`,
|
|
11681
|
-
'--sd-kvt-padding
|
|
11682
|
-
'--sd-kvt-padding-y': `${KEY_VALUE_TABLE_LAYOUT.paddingY}px`,
|
|
12047
|
+
'--sd-kvt-padding': `${KEY_VALUE_TABLE_LAYOUT.padding}px`,
|
|
11683
12048
|
'--sd-kvt-gap': `${KEY_VALUE_TABLE_LAYOUT.gap}px`,
|
|
11684
12049
|
'--sd-kvt-label-gap': `${KEY_VALUE_TABLE_LAYOUT.labelGap}px`,
|
|
11685
12050
|
'--sd-kvt-border-width': `${KEY_VALUE_TABLE_LAYOUT.borderWidth}px`,
|
|
@@ -11706,7 +12071,22 @@ class SdKeyValueTable {
|
|
|
11706
12071
|
const tableEl = (hAsync("table", { class: {
|
|
11707
12072
|
'sd-key-value-table': true,
|
|
11708
12073
|
'sd-key-value-table--use-top': this.useTop,
|
|
11709
|
-
}, style: cssVars }, hAsync("colgroup", null, Array.from({ length: maxCols }, (_, i) =>
|
|
12074
|
+
}, style: cssVars }, hAsync("colgroup", null, Array.from({ length: maxCols }, (_, i) => {
|
|
12075
|
+
if (i % 2 !== 0)
|
|
12076
|
+
return hAsync("col", { key: `col-${i}` });
|
|
12077
|
+
const fieldIdx = i / 2;
|
|
12078
|
+
const fieldThWidth = this.fields.reduce((found, row) => {
|
|
12079
|
+
if (found != null)
|
|
12080
|
+
return found;
|
|
12081
|
+
return row[fieldIdx]?.thWidth;
|
|
12082
|
+
}, undefined);
|
|
12083
|
+
const width = fieldThWidth != null
|
|
12084
|
+
? typeof fieldThWidth === 'number'
|
|
12085
|
+
? `${fieldThWidth}px`
|
|
12086
|
+
: fieldThWidth
|
|
12087
|
+
: `${KEY_VALUE_TABLE_LAYOUT.thWidth}px`;
|
|
12088
|
+
return hAsync("col", { key: `col-${i}`, style: { width } });
|
|
12089
|
+
})), hAsync("tbody", null, this.fields.map((row, r) => (hAsync("tr", { class: "sd-key-value-table__row", key: `row-${r}` }, row.map((field, c) => {
|
|
11710
12090
|
const showTh = !field.hideTh && !autoSkip[r][c];
|
|
11711
12091
|
return [showTh ? this.renderTh(field, r, c) : null, this.renderTd(field, r, c)];
|
|
11712
12092
|
})))))));
|
|
@@ -11777,7 +12157,7 @@ class SdLinearProgress {
|
|
|
11777
12157
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
11778
12158
|
};
|
|
11779
12159
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
11780
|
-
return (hAsync(Host, { key: '
|
|
12160
|
+
return (hAsync(Host, { key: '26b1e15732e289a9a37a6d3dbea24aec1ab60ffd', style: hostStyle }, hAsync("div", { key: '5162d60390656286b56f6a96fd4b3932f399412a', class: 'sd-linear-progress__track' }, hAsync("div", { key: 'a46b815f935b243e4b7f8988af65167e3f87b554', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (hAsync("span", { key: 'bc91914addd5addb84c7684a1f862033950905fc', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (hAsync("span", { key: 'c62cdc59464823286ff42fc7e97a7a255a2beeb4', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && hAsync("span", { key: '4c7c280885c8411329f99c3fe04f5ede8b1f0708', class: 'sd-linear-progress__label' }, this.label)));
|
|
11781
12161
|
}
|
|
11782
12162
|
static get style() { return sdLinearProgressCss(); }
|
|
11783
12163
|
static get cmpMeta() { return {
|
|
@@ -11811,10 +12191,10 @@ class SdLoadingContainer {
|
|
|
11811
12191
|
this.visible = false;
|
|
11812
12192
|
}
|
|
11813
12193
|
render() {
|
|
11814
|
-
return (hAsync("div", { key: '
|
|
12194
|
+
return (hAsync("div", { key: '2ad17acec76cfb7ceba0629f055600a7240a67e8', class: {
|
|
11815
12195
|
'sd-loading-container': true,
|
|
11816
12196
|
'sd-loading-container--visible': this.visible,
|
|
11817
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '
|
|
12197
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '1e842f21f2990b22820974147b22d859be010683', class: "sd-loading-container__backdrop" }), hAsync("div", { key: '4a48bafd9882a22c210dd1b2ca45efc43cc0c8da', class: "sd-loading-container__content" }, hAsync("sd-circle-progress", { key: '8eb7377230f0e8c9c482dfc9ca1313f323895d14', indeterminate: true, type: "inverse" }), this.message && (hAsync("p", { key: 'af2fc52b0740ee1d2cea55b688e5b4b77e80c7e3', class: "sd-loading-container__message" }, this.message)))));
|
|
11818
12198
|
}
|
|
11819
12199
|
static get style() { return sdLoadingContainerCss(); }
|
|
11820
12200
|
static get cmpMeta() { return {
|
|
@@ -11911,7 +12291,7 @@ class SdLoadingModal {
|
|
|
11911
12291
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
11912
12292
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
11913
12293
|
};
|
|
11914
|
-
return (hAsync(Host, { key: '
|
|
12294
|
+
return (hAsync(Host, { key: 'f40dcf4fa7e2ee7b4023be11be2b9361ec167610', style: hostStyle }, hAsync("div", { key: '02bab8da4e09156340e8e9badef25755b57193d5', class: "sd-loading-modal" }, hAsync("div", { key: '776833f7f85a5587dda59fe75e36ebb4b9109c3e', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (hAsync("sd-circle-progress", { value: this.progress })) : (hAsync("sd-circle-progress", { indeterminate: true }))) : (hAsync("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), hAsync("div", { key: '4bb9e434a4a2d6be6dbbe2ed4e89563bf7278c65', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (hAsync("p", { class: "sd-loading-modal__message" }, message)))) : (hAsync("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (hAsync("div", { key: '5da761513fdc38e5e646f72f75072e25d5313384', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: '2bf9beb84ab4a6c1e6793db453e04b947c432d13', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
11915
12295
|
}
|
|
11916
12296
|
static get style() { return sdLoadingModalCss(); }
|
|
11917
12297
|
static get cmpMeta() { return {
|
|
@@ -12144,7 +12524,14 @@ class SdModalContainer {
|
|
|
12144
12524
|
});
|
|
12145
12525
|
}
|
|
12146
12526
|
attachModalEventListeners(id, modalEl) {
|
|
12147
|
-
modalEl.addEventListener('sdOk', () =>
|
|
12527
|
+
modalEl.addEventListener('sdOk', () => {
|
|
12528
|
+
const entry = this.entries.find(e => e.id === id);
|
|
12529
|
+
if (entry?.modalRef._hasSubmit?.()) {
|
|
12530
|
+
entry.modalRef._triggerSubmit?.();
|
|
12531
|
+
return;
|
|
12532
|
+
}
|
|
12533
|
+
this.requestDismiss(id, 'confirm');
|
|
12534
|
+
});
|
|
12148
12535
|
modalEl.addEventListener('sdCancel', () => this.requestDismiss(id, 'cancel'));
|
|
12149
12536
|
modalEl.addEventListener('sdClose', () => this.requestDismiss(id, 'close'));
|
|
12150
12537
|
}
|
|
@@ -12694,15 +13081,15 @@ class SdNumberInput {
|
|
|
12694
13081
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
12695
13082
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
12696
13083
|
};
|
|
12697
|
-
return (hAsync("sd-field", { key: '
|
|
13084
|
+
return (hAsync("sd-field", { key: 'ad212dcbaf8e19cac070e6bdfa292ca614480fbc', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: 'b9c403df166e2f05f815ebf3851b6517b8afbd2a', class: {
|
|
12698
13085
|
'sd-number-input__content': true,
|
|
12699
13086
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
12700
|
-
} }, this.useButton && (hAsync("button", { key: '
|
|
13087
|
+
} }, this.useButton && (hAsync("button", { key: '206f45b19bf8dd56b65ff55fb65d760e36d80ba7', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: 'd39cadc9a83cf7a0170144b8734a90f71d7aa9d1', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
12701
13088
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
12702
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '
|
|
13089
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '0c97309540467d56ee3415001df7a027ba581a3d', class: "sd-number-input__prefix" }, this.inputPrefix), hAsync("input", { key: '9462f0c7ac028c038894ad184c7cf052e366e48c', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
12703
13090
|
textAlign: this.useButton ? 'center' : 'right',
|
|
12704
13091
|
...this.inputStyle,
|
|
12705
|
-
} }), this.inputSuffix && hAsync("span", { key: '
|
|
13092
|
+
} }), this.inputSuffix && hAsync("span", { key: 'fdd4f4e680fe5de55cb68c848615ec6b00f00430', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (hAsync("button", { key: '8cdfcc46a010fb0f503b48c34290fd096403524a', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: 'ec8826370cd9d8c6054ca6ab216de6baa62d90db', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
12706
13093
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
12707
13094
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
12708
13095
|
}
|
|
@@ -12912,13 +13299,13 @@ class SdPagination {
|
|
|
12912
13299
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
12913
13300
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
12914
13301
|
};
|
|
12915
|
-
return (hAsync("div", { key: '
|
|
13302
|
+
return (hAsync("div", { key: 'c1925f0f312cf5c18f08f158efb599e5b6f0d503', class: {
|
|
12916
13303
|
'sd-pagination': true,
|
|
12917
13304
|
'sd-pagination--simple': this.simple,
|
|
12918
|
-
}, style: cssVars }, hAsync("div", { key: '
|
|
13305
|
+
}, style: cssVars }, hAsync("div", { key: '1f22be76697820bf455cea5476efa84a09d03c44', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (hAsync("div", { class: "sd-pagination__info" }, hAsync("span", { class: "sd-pagination__current" }, this.currentPage), hAsync("span", { class: "sd-pagination__divider" }, "/"), hAsync("span", { class: "sd-pagination__last" }, this.lastPage))) : (hAsync("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (hAsync("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
12919
13306
|
'sd-pagination__item': true,
|
|
12920
13307
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
12921
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: '
|
|
13308
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: 'b85b00b637152d5071db0652b6682541fbfd6ab5', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
12922
13309
|
}
|
|
12923
13310
|
static get style() { return sdPaginationCss(); }
|
|
12924
13311
|
static get cmpMeta() { return {
|
|
@@ -13144,7 +13531,7 @@ class SdPopup {
|
|
|
13144
13531
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
13145
13532
|
...this.submitButtonProps,
|
|
13146
13533
|
};
|
|
13147
|
-
return (hAsync("div", { key: '
|
|
13534
|
+
return (hAsync("div", { key: 'a978706454e3964818cc96b3a583880b952c2533', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, hAsync("header", { key: '1164fc29d4040d51b74ebc45fedc4fd19038e900', class: "sd-popup__header" }, hAsync("h2", { key: '6ac1ea61e52f952f3bea4c4149222b4ff43b61db', class: "sd-popup__title" }, this.popupTitle)), hAsync("div", { key: 'fe8cebfc5ea513ae07e3a2987a8c7d9b36ed26e9', class: "sd-popup__body" }, hAsync("slot", { key: 'f7ce06ae60cc8af6dbae2b24db4fd6b00e13d365' })), this.useFooter && (hAsync("footer", { key: '84251ae1e48522fcf47d0081c9c0689e5fb236a6', class: "sd-popup__footer" }, hAsync("div", { key: 'c7d4a8546bd185c812a98569cc3b2a818cbb2963', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, hAsync("slot", { key: '474e09481472b96ff4eacc66502aa06987b463b8', name: "footer-left" })), hAsync("sd-button", { key: '2b23204ffad997f022dd06b772433ceb69950d04', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
13148
13535
|
}
|
|
13149
13536
|
static get style() { return sdPopupCss(); }
|
|
13150
13537
|
static get cmpMeta() { return {
|
|
@@ -13215,7 +13602,7 @@ class SdPortal {
|
|
|
13215
13602
|
createWrapper() {
|
|
13216
13603
|
this.wrapper = document.createElement('div');
|
|
13217
13604
|
Object.assign(this.wrapper.style, {
|
|
13218
|
-
position: '
|
|
13605
|
+
position: 'fixed',
|
|
13219
13606
|
top: '0',
|
|
13220
13607
|
left: '0',
|
|
13221
13608
|
zIndex: (this.zIndex ?? 998).toString(),
|
|
@@ -13289,13 +13676,13 @@ class SdPortal {
|
|
|
13289
13676
|
const wrapperRect = this.wrapper.getBoundingClientRect();
|
|
13290
13677
|
const availableBelow = viewport.height - parentRect.bottom - offset[1] - viewportPadding;
|
|
13291
13678
|
const availableAbove = parentRect.top - offset[1] - viewportPadding;
|
|
13292
|
-
let top = parentRect.bottom +
|
|
13293
|
-
let left = parentRect.left +
|
|
13679
|
+
let top = parentRect.bottom + offset[1];
|
|
13680
|
+
let left = parentRect.left + offset[0];
|
|
13294
13681
|
if (availableBelow < wrapperRect.height && availableAbove > availableBelow) {
|
|
13295
|
-
top = parentRect.top
|
|
13682
|
+
top = parentRect.top - wrapperRect.height - offset[1];
|
|
13296
13683
|
}
|
|
13297
|
-
const minTop =
|
|
13298
|
-
const maxTop =
|
|
13684
|
+
const minTop = viewportPadding;
|
|
13685
|
+
const maxTop = viewport.height - viewportPadding - wrapperRect.height;
|
|
13299
13686
|
if (maxTop < minTop) {
|
|
13300
13687
|
top = minTop;
|
|
13301
13688
|
}
|
|
@@ -13303,10 +13690,10 @@ class SdPortal {
|
|
|
13303
13690
|
top = Math.min(Math.max(top, minTop), maxTop);
|
|
13304
13691
|
}
|
|
13305
13692
|
if (parentRect.left + wrapperRect.width + offset[0] > viewport.width - viewportPadding) {
|
|
13306
|
-
left = parentRect.right
|
|
13693
|
+
left = parentRect.right - wrapperRect.width - offset[0];
|
|
13307
13694
|
}
|
|
13308
|
-
const minLeft =
|
|
13309
|
-
const maxLeft =
|
|
13695
|
+
const minLeft = viewportPadding;
|
|
13696
|
+
const maxLeft = viewport.width - viewportPadding - wrapperRect.width;
|
|
13310
13697
|
if (maxLeft < minLeft) {
|
|
13311
13698
|
left = minLeft;
|
|
13312
13699
|
}
|
|
@@ -13373,21 +13760,25 @@ class SdPortal {
|
|
|
13373
13760
|
}
|
|
13374
13761
|
return scrollParents;
|
|
13375
13762
|
}
|
|
13763
|
+
isInsideTarget(target) {
|
|
13764
|
+
return !!((this.wrapper?.contains(target)) ||
|
|
13765
|
+
(this.parentRef?.contains(target)));
|
|
13766
|
+
}
|
|
13376
13767
|
// 외부 클릭 감지
|
|
13377
13768
|
handleMouseDown(e) {
|
|
13378
|
-
this.isInsideClick =
|
|
13769
|
+
this.isInsideClick = this.isInsideTarget(e.target);
|
|
13379
13770
|
}
|
|
13380
13771
|
handleWindowClick(e) {
|
|
13381
13772
|
if (this.isInsideClick) {
|
|
13382
13773
|
this.isInsideClick = false;
|
|
13383
13774
|
return;
|
|
13384
13775
|
}
|
|
13385
|
-
if (this.
|
|
13776
|
+
if (this.isInsideTarget(e.target))
|
|
13386
13777
|
return;
|
|
13387
13778
|
this.close.emit();
|
|
13388
13779
|
}
|
|
13389
13780
|
render() {
|
|
13390
|
-
return hAsync("slot", { key: '
|
|
13781
|
+
return hAsync("slot", { key: '22e09896836d017f33a9c6b92772a00fc85f8997' });
|
|
13391
13782
|
}
|
|
13392
13783
|
static get watchers() { return {
|
|
13393
13784
|
"open": [{
|
|
@@ -14077,15 +14468,15 @@ class SdSelect {
|
|
|
14077
14468
|
this.closeDropdown();
|
|
14078
14469
|
},
|
|
14079
14470
|
};
|
|
14080
|
-
return (hAsync("sd-field", { key: '
|
|
14471
|
+
return (hAsync("sd-field", { key: 'fced3680a535c60d5750908acf1226426e12182b', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
|
|
14081
14472
|
this.hovered = true;
|
|
14082
14473
|
}, onMouseLeave: () => {
|
|
14083
14474
|
this.hovered = false;
|
|
14084
|
-
} }, hAsync("div", { key: '
|
|
14475
|
+
} }, hAsync("div", { key: '38d53e92c022affd40bfc7951bbcdf7e02071446', class: "sd-select", ref: el => {
|
|
14085
14476
|
this.triggerRef = el;
|
|
14086
|
-
} }, hAsync("sd-select-trigger", { key: '
|
|
14477
|
+
} }, hAsync("sd-select-trigger", { key: '9cd9bdb89db37204f9a5c312d26277da772b1209', ref: el => {
|
|
14087
14478
|
this.triggerComponentRef = el;
|
|
14088
|
-
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: '
|
|
14479
|
+
}, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: '8666dc885f3dcbae13011fd312eb72b7e6c906d9', ...portalProps }, hAsync("sd-select-listbox", { key: '04e6dba3d2837cbef68ded80bd2f89c5bbe9dc01', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.dropdownWidth || this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
|
|
14089
14480
|
}
|
|
14090
14481
|
static get watchers() { return {
|
|
14091
14482
|
"isOpen": [{
|
|
@@ -14159,54 +14550,6 @@ var selectTokens = {
|
|
|
14159
14550
|
select: select
|
|
14160
14551
|
};
|
|
14161
14552
|
|
|
14162
|
-
const listItem = {
|
|
14163
|
-
paddingY: "4",
|
|
14164
|
-
paddingRight: "12",
|
|
14165
|
-
gap: "8",
|
|
14166
|
-
paddingLeft: {
|
|
14167
|
-
depth1: "12",
|
|
14168
|
-
depth2: "20",
|
|
14169
|
-
depth3: "28"
|
|
14170
|
-
},
|
|
14171
|
-
typography: {
|
|
14172
|
-
"default": {
|
|
14173
|
-
fontWeight: "400",
|
|
14174
|
-
fontSize: "12",
|
|
14175
|
-
lineHeight: "20"},
|
|
14176
|
-
selected: {
|
|
14177
|
-
fontWeight: "700"}
|
|
14178
|
-
},
|
|
14179
|
-
bg: {
|
|
14180
|
-
"default": "#FFFFFF",
|
|
14181
|
-
hover: "#0075FF"
|
|
14182
|
-
},
|
|
14183
|
-
content: {
|
|
14184
|
-
"default": "#222222",
|
|
14185
|
-
hover: "#FFFFFF",
|
|
14186
|
-
disabled: "#888888",
|
|
14187
|
-
selected: "#0075FF"
|
|
14188
|
-
},
|
|
14189
|
-
depth1: {
|
|
14190
|
-
bg: {
|
|
14191
|
-
"default": "#EFF6FF"},
|
|
14192
|
-
border: {
|
|
14193
|
-
color: "#E1E1E1",
|
|
14194
|
-
width: "1"
|
|
14195
|
-
}},
|
|
14196
|
-
depth2: {
|
|
14197
|
-
middle: {
|
|
14198
|
-
bg: "#F6F6F6"}
|
|
14199
|
-
}};
|
|
14200
|
-
var listItemTokens = {
|
|
14201
|
-
listItem: listItem
|
|
14202
|
-
};
|
|
14203
|
-
|
|
14204
|
-
const listBox = {
|
|
14205
|
-
radius: "4"};
|
|
14206
|
-
var listBoxTokens = {
|
|
14207
|
-
listBox: listBox
|
|
14208
|
-
};
|
|
14209
|
-
|
|
14210
14553
|
// ── Select Trigger Tokens ──
|
|
14211
14554
|
const SELECT_LAYOUT = {
|
|
14212
14555
|
paddingX: selectTokens.select.sm.paddingX,
|
|
@@ -14286,10 +14629,10 @@ function countLeaves(options) {
|
|
|
14286
14629
|
}, 0);
|
|
14287
14630
|
}
|
|
14288
14631
|
function filterTree(options, keyword) {
|
|
14289
|
-
const lowerKeyword = keyword.toLowerCase();
|
|
14632
|
+
const lowerKeyword = (keyword ?? '').toLowerCase();
|
|
14290
14633
|
return options.reduce((acc, option) => {
|
|
14291
14634
|
const labelText = isHtmlLabel(option.label) ? extractText(option.label) : option.label;
|
|
14292
|
-
const selfMatch = labelText.toLowerCase().includes(lowerKeyword);
|
|
14635
|
+
const selfMatch = labelText != null && labelText.toLowerCase().includes(lowerKeyword);
|
|
14293
14636
|
if (option.children) {
|
|
14294
14637
|
// 그룹: 자식은 항상 추가로 필터링한다.
|
|
14295
14638
|
// - 자식 중 일치하는 게 있으면 그 자식들만 노출
|
|
@@ -14387,7 +14730,7 @@ class SdSelectListItem {
|
|
|
14387
14730
|
return (
|
|
14388
14731
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
14389
14732
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
14390
|
-
hAsync("div", { key: '
|
|
14733
|
+
hAsync("div", { key: 'c964b0cf5b064c74a7e063be21350bca8124d77d', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
14391
14734
|
'sd-select-list-item': true,
|
|
14392
14735
|
'sd-select-list-item--group': isGroup,
|
|
14393
14736
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -14397,7 +14740,7 @@ class SdSelectListItem {
|
|
|
14397
14740
|
'sd-select-list-item--focused': this.isFocused,
|
|
14398
14741
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
14399
14742
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
14400
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '
|
|
14743
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '981e055f47aa512d18d61ae938b41942197f3088', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), isHtmlLabel(this.option.label) ? (hAsync("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (hAsync("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (hAsync("span", { key: 'ac34372d921afcb3eba0a51bed3dd70b4e8f1d0f', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
14401
14744
|
}
|
|
14402
14745
|
static get style() { return sdSelectListItemCss(); }
|
|
14403
14746
|
static get cmpMeta() { return {
|
|
@@ -14465,15 +14808,15 @@ class SdSelectListItemSearch {
|
|
|
14465
14808
|
clearTimeout(this.debounceTimer);
|
|
14466
14809
|
}
|
|
14467
14810
|
render() {
|
|
14468
|
-
return (hAsync("div", { key: '
|
|
14811
|
+
return (hAsync("div", { key: '6250cee5611a36f6c5fb317d7d24abeae1ed142f', class: {
|
|
14469
14812
|
'sd-select-list-item-search': true,
|
|
14470
14813
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
14471
|
-
} }, hAsync("div", { key: '
|
|
14814
|
+
} }, hAsync("div", { key: 'fa48adb1406c8922b61083a19cc270f02ddab100', class: "sd-select-list-item-search__inner" }, hAsync("sd-icon", { key: '868519f09dc11fc4e9bde7a1148ce5ce666dd851', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), hAsync("input", { key: 'ff946fa2f360cd21eb785d13cb91e23f18abe05c', ref: el => {
|
|
14472
14815
|
this.inputEl = el;
|
|
14473
|
-
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), hAsync("button", { key: '
|
|
14816
|
+
}, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), hAsync("button", { key: 'e70e4c0af6e11f89d2893ae5bb28887a0ed8a5ee', type: "button", class: {
|
|
14474
14817
|
'sd-select-list-item-search__clear': true,
|
|
14475
14818
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
14476
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '
|
|
14819
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '57b4af6446a565b6e1e95153e8553b1c3c363a33', name: "close", size: 12, color: "#888888" })))));
|
|
14477
14820
|
}
|
|
14478
14821
|
static get style() { return sdSelectListItemSearchCss(); }
|
|
14479
14822
|
static get cmpMeta() { return {
|
|
@@ -14558,14 +14901,14 @@ class SdSelectListbox {
|
|
|
14558
14901
|
return count >= SEARCH_THRESHOLD;
|
|
14559
14902
|
}
|
|
14560
14903
|
get filteredOptions() {
|
|
14561
|
-
if (this.searchKeyword === '')
|
|
14904
|
+
if (this.searchKeyword == null || this.searchKeyword === '')
|
|
14562
14905
|
return this.options;
|
|
14563
14906
|
if (this.isDepth)
|
|
14564
14907
|
return filterTree(this.options, this.searchKeyword);
|
|
14565
14908
|
const keyword = this.searchKeyword.toLowerCase();
|
|
14566
14909
|
return this.options.filter(o => {
|
|
14567
14910
|
const labelText = isHtmlLabel(o.label) ? extractText(o.label) : o.label;
|
|
14568
|
-
return labelText.toLowerCase().includes(keyword);
|
|
14911
|
+
return labelText != null && labelText.toLowerCase().includes(keyword);
|
|
14569
14912
|
});
|
|
14570
14913
|
}
|
|
14571
14914
|
get isEmpty() {
|
|
@@ -14847,9 +15190,9 @@ class SdSelectListbox {
|
|
|
14847
15190
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
14848
15191
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
14849
15192
|
};
|
|
14850
|
-
return (hAsync("div", { key: '
|
|
15193
|
+
return (hAsync("div", { key: 'fe30af2954ea5669f2071698e6ef9e2b26244d9b', class: "sd-select-listbox", style: cssVars }, this.showSearch && (hAsync("sd-select-list-item-search", { key: 'aa7ce87d8c0c7163921445325121562603edd960', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), hAsync("div", { key: 'e8b5b3f73653ddc5096101f7109d427de1efa93a', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
14851
15194
|
this.listEl = el;
|
|
14852
|
-
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '
|
|
15195
|
+
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '7fbde730eca0b8234475b714ea38a4393425410e', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (hAsync("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (hAsync("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
|
|
14853
15196
|
}
|
|
14854
15197
|
static get watchers() { return {
|
|
14855
15198
|
"searchKeyword": [{
|
|
@@ -14930,7 +15273,7 @@ class SdSelectTrigger {
|
|
|
14930
15273
|
? SELECT_COLORS.icon.disabled
|
|
14931
15274
|
: SELECT_COLORS.icon.default,
|
|
14932
15275
|
};
|
|
14933
|
-
return (hAsync("div", { key: '
|
|
15276
|
+
return (hAsync("div", { key: '0a929b8c0d68e25a64c352b5ea93b2e9c5f52611', ref: el => {
|
|
14934
15277
|
this.triggerEl = el;
|
|
14935
15278
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
14936
15279
|
'sd-select-trigger': true,
|
|
@@ -14941,7 +15284,7 @@ class SdSelectTrigger {
|
|
|
14941
15284
|
e.preventDefault();
|
|
14942
15285
|
this.handleClick();
|
|
14943
15286
|
}
|
|
14944
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '
|
|
15287
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: 'd8c91e392604c462aa9228147eb18c0b2ac13851', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (hAsync("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (hAsync("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), hAsync("sd-icon", { key: '1afdcb944b30b675d4d2b31d6aeaa2ce41045d36', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
14945
15288
|
'sd-select-trigger__icon': true,
|
|
14946
15289
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
14947
15290
|
} }))));
|
|
@@ -15066,7 +15409,7 @@ class SdSwitch {
|
|
|
15066
15409
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
15067
15410
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
15068
15411
|
};
|
|
15069
|
-
return (hAsync("label", { key: '
|
|
15412
|
+
return (hAsync("label", { key: '8038810bfcf78ddea9ef73706689e19fdfe0b57f', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, hAsync("input", { key: 'ee4c60f379f20f56af01bafb0533e6b64bb3054a', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), hAsync("div", { key: '8ce56df6d631b742331466ded340298a888576c7', class: "sd-switch__track" }, hAsync("div", { key: 'e02c48a7af9e005524b5d3ba8689e99dd42555f2', class: "sd-switch__knob" })), this.label && hAsync("span", { key: 'c1533c489ef8d0a2b8374d2eaeeb0ac743a9c507', class: "sd-switch__label" }, this.label)));
|
|
15070
15413
|
}
|
|
15071
15414
|
static get style() { return sdSwitchCss(); }
|
|
15072
15415
|
static get cmpMeta() { return {
|
|
@@ -15999,24 +16342,24 @@ class SdTable {
|
|
|
15999
16342
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
16000
16343
|
'--table-host-height': hostHeight,
|
|
16001
16344
|
};
|
|
16002
|
-
return (hAsync(Host, { key: '
|
|
16345
|
+
return (hAsync(Host, { key: '337909d6279baf60effec188eb60422ce47c0585', style: hostStyle }, hAsync("div", { key: '46d53ced85e1700da3c6ca082d5752c0bb4a155b', class: "sd-table__container", style: {
|
|
16003
16346
|
'--table-width': this.width,
|
|
16004
16347
|
'--pagination-height': `${paginationHeight}px`,
|
|
16005
|
-
} }, hAsync("div", { key: '
|
|
16348
|
+
} }, hAsync("div", { key: '159fad6dec16b3328d0da4ce22ae6bca537046e9', class: {
|
|
16006
16349
|
'sd-table__wrapper': true,
|
|
16007
16350
|
'sd-table__wrapper--use-top': this.useTop,
|
|
16008
|
-
} }, hAsync("div", { key: '
|
|
16351
|
+
} }, hAsync("div", { key: '22acbc7de61e11807b1a8919090286bb04a98bed', class: {
|
|
16009
16352
|
'sd-table__scroll-container': true,
|
|
16010
16353
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
16011
16354
|
'sd-table__scroll-container--no-data': isNoData,
|
|
16012
|
-
} }, this.isLoading && (hAsync("div", { key: '
|
|
16355
|
+
} }, this.isLoading && (hAsync("div", { key: '040736d35428396068d5237a17f23f8f70ba2541', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, hAsync("sd-circle-progress", { key: 'eae076a71161e315951692f051522b8b5f094271', indeterminate: true }))), isNoData && (hAsync(hAsync.Fragment, null, hAsync("div", { key: 'e8bdf5ae38a77988fce0a60ae9309f5d03b34928', class: "sd-table__no-data-header-overlay" }), hAsync("div", { key: 'd6ce4d4479eb927137b1afd5494a91494568b274', class: "sd-table__no-data" }, hAsync("div", { key: 'cfccc6382e7d0cc76d7f50515cd157ccd56cbac8', class: "sd-table__no-data-content", ref: el => {
|
|
16013
16356
|
this.noDataContentEl = el;
|
|
16014
16357
|
if (el)
|
|
16015
16358
|
this.syncNoDataContentObserver();
|
|
16016
|
-
} }, hAsync("slot", { key: '
|
|
16359
|
+
} }, hAsync("slot", { key: '45a2df0c0fa234408ca5a5fb76b5a74729cad482', name: "no-data" }, hAsync("span", { key: 'a126d8ce4149ac87e55f5a6acc67bbb3a650cdf4' }, this.resolvedNoDataLabel)))))), hAsync("table", { key: 'aa4b94ed02700edd1846ca51235f47fe7de570be', class: this.tableClasses }, this.autoThead ? (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-thead", { rows: this.rows ?? [] }))) : (hAsync("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, hAsync("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (hAsync("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
16017
16360
|
this.pagination.rowsPerPage > 0 &&
|
|
16018
16361
|
this.rowCount > 0 &&
|
|
16019
|
-
!this.useVirtualScroll && (hAsync("div", { key: '
|
|
16362
|
+
!this.useVirtualScroll && (hAsync("div", { key: 'f4d357d62af40e3ea8f35c799b4409c7deb2606f', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: '6aad139f1f06d1851f30b5c8331899fe9d23ba37', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (hAsync("sd-select", { key: '85aa19726fca6dce007d8ffcc5550de8115546cb', value: this.useInternalPagination
|
|
16020
16363
|
? this.innerRowsPerPage
|
|
16021
16364
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
16022
16365
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -16321,7 +16664,7 @@ class SdTabs {
|
|
|
16321
16664
|
};
|
|
16322
16665
|
}
|
|
16323
16666
|
render() {
|
|
16324
|
-
return (hAsync("div", { key: '
|
|
16667
|
+
return (hAsync("div", { key: 'fd65e555621e8b9f9c8e93578f41f1c24a8cbeda', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
16325
16668
|
const badgeName = this.getBadgeName(tab);
|
|
16326
16669
|
return (hAsync("div", { key: `tab-${index}`, role: "tab", tabindex: 0, "aria-selected": tab.value === this.value ? 'true' : 'false', class: this.getTabClasses(tab), "aria-label": tab.label || 'tab', onClick: () => this.handleTabClick(tab), onKeyDown: e => {
|
|
16327
16670
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -16560,7 +16903,7 @@ class SdTag {
|
|
|
16560
16903
|
render() {
|
|
16561
16904
|
const config = this.resolvedConfig;
|
|
16562
16905
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
16563
|
-
return (hAsync("span", { key: '
|
|
16906
|
+
return (hAsync("span", { key: 'b4d86dee7290a74d73fd27a9a4133c5c0ef9b750', class: "sd-tag", style: {
|
|
16564
16907
|
'--sd-tag-background': config.background,
|
|
16565
16908
|
'--sd-tag-content': config.content,
|
|
16566
16909
|
'--sd-tag-height': config.height,
|
|
@@ -16570,7 +16913,7 @@ class SdTag {
|
|
|
16570
16913
|
'--sd-tag-font-weight': config.fontWeight,
|
|
16571
16914
|
'--sd-tag-line-height': config.lineHeight,
|
|
16572
16915
|
'--sd-tag-radius': config.radius,
|
|
16573
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '
|
|
16916
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '490c703ca9ce3d0516b1da89fec18045a750d715', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
16574
16917
|
}
|
|
16575
16918
|
static get style() { return sdTagCss(); }
|
|
16576
16919
|
static get cmpMeta() { return {
|
|
@@ -16638,9 +16981,9 @@ class SdTbody {
|
|
|
16638
16981
|
}
|
|
16639
16982
|
}
|
|
16640
16983
|
render() {
|
|
16641
|
-
return (hAsync(Host, { key: '
|
|
16984
|
+
return (hAsync(Host, { key: '1f9dba3a06233de0457c6fe7d2df39e0e406fb30', slot: `${this.tableId}-body` }, hAsync("tbody", { key: '758d795512ff546ec23863a1b9a0940f5d0f445a', class: { tbody: true } }, [
|
|
16642
16985
|
this.topSpacerHeight > 0 && (hAsync("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
16643
|
-
hAsync("slot", { key: '
|
|
16986
|
+
hAsync("slot", { key: 'cd9755c4f082478b1e75a6efcf9b4e7a9a9767b4' }),
|
|
16644
16987
|
this.bottomSpacerHeight > 0 && (hAsync("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
16645
16988
|
])));
|
|
16646
16989
|
}
|
|
@@ -16815,7 +17158,7 @@ class SdTd {
|
|
|
16815
17158
|
}
|
|
16816
17159
|
}
|
|
16817
17160
|
render() {
|
|
16818
|
-
return (hAsync(Host, { key: '
|
|
17161
|
+
return (hAsync(Host, { key: '02464050ab6179a4d19bc5885aff8c2690cc3dd6', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: 'a4cde26644aea2e1a99690c407b7020b20bd3981' })));
|
|
16819
17162
|
}
|
|
16820
17163
|
static get watchers() { return {
|
|
16821
17164
|
"field": [{
|
|
@@ -16995,7 +17338,7 @@ class SdTextLink {
|
|
|
16995
17338
|
this.click.emit();
|
|
16996
17339
|
};
|
|
16997
17340
|
render() {
|
|
16998
|
-
const sizeConfig = TEXT_LINK_SIZE_CONFIG[this.size];
|
|
17341
|
+
const sizeConfig = TEXT_LINK_SIZE_CONFIG[this.size] ?? TEXT_LINK_SIZE_CONFIG.sm;
|
|
16999
17342
|
const typo = this.underline ? sizeConfig.typography.underline : sizeConfig.typography.default;
|
|
17000
17343
|
const labelClassName = ['sd-text-link__label', this.labelClass].filter(Boolean).join(' ');
|
|
17001
17344
|
const iconColor = this.disabled
|
|
@@ -17009,7 +17352,7 @@ class SdTextLink {
|
|
|
17009
17352
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
17010
17353
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
17011
17354
|
};
|
|
17012
|
-
return (hAsync("span", { key: '
|
|
17355
|
+
return (hAsync("span", { key: '74e9dd05f3efa3ecfec4edca1b74c29bb7207894', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
17013
17356
|
'sd-text-link': true,
|
|
17014
17357
|
'sd-text-link--disabled': this.disabled,
|
|
17015
17358
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -17017,13 +17360,13 @@ class SdTextLink {
|
|
|
17017
17360
|
e.preventDefault();
|
|
17018
17361
|
this.handleClick();
|
|
17019
17362
|
}
|
|
17020
|
-
} }, this.icon && (hAsync("sd-icon", { key: '
|
|
17363
|
+
} }, this.icon && (hAsync("sd-icon", { key: 'e60be0764adf889af988fd887582776d44239e07', name: this.icon, size: sizeConfig.iconSize, color: iconColor, class: "sd-text-link__icon" })), hAsync("span", { key: '17996ef0620948fe1660945e68c9bb55e62fc982', class: labelClassName }, this.label), this.rightArrow && this.rightArrow !== 'none' && (hAsync("span", { key: 'b9cfc03d4295beb9956f661032ea3fd1d9acfbe9', class: "sd-text-link__arrow", style: {
|
|
17021
17364
|
width: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
17022
17365
|
height: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
17023
17366
|
display: 'inline-flex',
|
|
17024
17367
|
alignItems: 'center',
|
|
17025
17368
|
justifyContent: 'center',
|
|
17026
|
-
} }, hAsync("sd-icon", { key: '
|
|
17369
|
+
} }, hAsync("sd-icon", { key: '6c2e4640a767acd5e66089e7e78f27c0fb8a0955', name: this.rightArrow === 'chevron' ? 'chevronRight' : 'caretRight', size: TEXT_LINK_ARROW.arrowIconSize, color: arrowColor })))));
|
|
17027
17370
|
}
|
|
17028
17371
|
static get style() { return sdTextLinkCss(); }
|
|
17029
17372
|
static get cmpMeta() { return {
|
|
@@ -17171,7 +17514,7 @@ class SdTextarea {
|
|
|
17171
17514
|
'--sd-system-size-field-sm-height': 'auto',
|
|
17172
17515
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
17173
17516
|
};
|
|
17174
|
-
return (hAsync("sd-field", { key: '
|
|
17517
|
+
return (hAsync("sd-field", { key: '526fc1a73f13e5170125a570c5a1c8459931aa25', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, hAsync("div", { key: 'e3c52fccc564a2488eb9e0d9399437b76e919c6a', class: "sd-textarea__content" }, hAsync("textarea", { key: '3253873da3b9591e64a6dfd170c8d9ccb4861599', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
|
|
17175
17518
|
}
|
|
17176
17519
|
static get watchers() { return {
|
|
17177
17520
|
"value": [{
|
|
@@ -17388,16 +17731,16 @@ class SdThead {
|
|
|
17388
17731
|
'--table-border-color': TABLE_BORDER.color,
|
|
17389
17732
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
17390
17733
|
};
|
|
17391
|
-
return (hAsync(Host, { key: '
|
|
17734
|
+
return (hAsync(Host, { key: '1e352d3996dc6cd60acd20c22c8c426edabaa9ea', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: 'd76dbdd5b03096197fe09d69c198ab3a5892106c', class: {
|
|
17392
17735
|
'thead': true,
|
|
17393
17736
|
'thead--sticky': this._stickyHeader,
|
|
17394
|
-
} }, hAsync("tr", { key: '
|
|
17737
|
+
} }, hAsync("tr", { key: 'fb0c1f8ff93ddb8682b07e9b4f55eaf56b1be41a', class: "tr" }, this._selectable && (hAsync("th", { key: 'a53b9771dbec3ef7f3888bf9fc9393c683356c50', class: {
|
|
17395
17738
|
'th': true,
|
|
17396
17739
|
'th--selected': true,
|
|
17397
17740
|
'sticky-left': true,
|
|
17398
17741
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
17399
17742
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
17400
|
-
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '
|
|
17743
|
+
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '8dc233b34b68a5daca91a60364ec8faffeb4b21d', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), hAsync("div", { key: 'bfc496c2468f3f81c1db4ffe70584a9229bd3512', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (hAsync("th", { key: col.name, class: {
|
|
17401
17744
|
'th': true,
|
|
17402
17745
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
17403
17746
|
'sticky-left': true,
|
|
@@ -17548,12 +17891,12 @@ class SdToast {
|
|
|
17548
17891
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
17549
17892
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
17550
17893
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
17551
|
-
return (hAsync("div", { key: '
|
|
17894
|
+
return (hAsync("div", { key: '656bf6231262cc7d974adbe5f0ce0053d03aca84', style: {
|
|
17552
17895
|
'--sd-toast-bg': typeConfig.bg,
|
|
17553
17896
|
'--sd-toast-text': typeConfig.content,
|
|
17554
17897
|
'--sd-toast-icon': iconColor,
|
|
17555
17898
|
'--sd-toast-link': linkColor,
|
|
17556
|
-
} }, hAsync("div", { key: '
|
|
17899
|
+
} }, hAsync("div", { key: '1e15e50c926ce65cea86db069dd1e79a642da01c', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: '692277c23c4530d9fa0c5e26ea9d3b9759024dea', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '0a15993313f3a9d1f27d6ae727c2c248c3390701', name: this.icon, size: iconSize, color: iconColor }))), hAsync("div", { key: '9c1af0c9cedbb772b9b59ae80a0ff861066aa0de', class: "sd-toast__content" }, hAsync("span", { key: '2aacd89fe1cf31f271da027459a6cfaece3dbdbf', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: '094a68e843d9ab50cea46a506d6ccdc1ebf375d7', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: '7dabe182870a01cf285ee7441dfe39b07e943751', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (hAsync("sd-ghost-button", { key: '2a893c6ace888d8f21ce16c9dbf2a35b23bc9372', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
17557
17900
|
}
|
|
17558
17901
|
static get style() { return sdToastCss(); }
|
|
17559
17902
|
static get cmpMeta() { return {
|
|
@@ -17806,7 +18149,7 @@ class SdToastContainer {
|
|
|
17806
18149
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
17807
18150
|
const indexMap = new Map();
|
|
17808
18151
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
17809
|
-
return (hAsync("div", { key: '
|
|
18152
|
+
return (hAsync("div", { key: '44b4f34b231186fd00ef9c1a65bd68a83fced6da', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
17810
18153
|
this.expanded = true;
|
|
17811
18154
|
this.pauseTimers();
|
|
17812
18155
|
}, onMouseLeave: () => {
|
|
@@ -17964,7 +18307,7 @@ class SdToggle {
|
|
|
17964
18307
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
17965
18308
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
17966
18309
|
};
|
|
17967
|
-
return (hAsync("label", { key: '
|
|
18310
|
+
return (hAsync("label", { key: '5657698c379c71e770b18006b5f5c69c122a06a7', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, hAsync("input", { key: '8f72307d4efd029df200243cf670377aea2cff02', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
17968
18311
|
}
|
|
17969
18312
|
static get style() { return sdToggleCss(); }
|
|
17970
18313
|
static get cmpMeta() { return {
|
|
@@ -18138,7 +18481,7 @@ class SdTooltip {
|
|
|
18138
18481
|
const bodyHTML = this.message && this.message.length > 0
|
|
18139
18482
|
? this.message.map(line => `<div>${line}</div>`).join('')
|
|
18140
18483
|
: this.slotContentHTML;
|
|
18141
|
-
return (hAsync(Fragment, { key: '
|
|
18484
|
+
return (hAsync(Fragment, { key: 'c0d000057ed61fe7b6b4d92bc0df5e0c6d42d714' }, hAsync("div", { key: '4ae084008ddec50e912fa81efbe3adbe0428d7ea', ref: el => (this.triggerEl = el), class: triggerClasses, ...divTrigger }, anchorMode ? (hAsync("slot", { name: "anchor" })) : hasLabel ? (hAsync("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (hAsync("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (hAsync("sd-floating-portal", { key: 'd5a8718b4e4556b989e5439b89296a259d99c636', parentRef: anchorMode ? this.triggerEl : this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, hAsync("div", { key: 'e81f2704ddbc90a19c1e8dd0c4660c4b057ca895', ref: el => (this.menuEl = el), class: {
|
|
18142
18485
|
'sd-floating-menu': true,
|
|
18143
18486
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
18144
18487
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -18146,7 +18489,7 @@ class SdTooltip {
|
|
|
18146
18489
|
}, style: {
|
|
18147
18490
|
'--sd-floating-bg': typeConfig.bg,
|
|
18148
18491
|
'--sd-floating-content': typeConfig.content,
|
|
18149
|
-
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: '
|
|
18492
|
+
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: '735cfb9956644542afb3b9f65aea127c37d756b2', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: '53bac0c98b652b580b53b206d3da77deac0eea77' })), hAsync("div", { key: '50c55e606002225363364ca6b5238a55a25374ba', class: "sd-floating-menu__content", innerHTML: bodyHTML }), this.useClose && (hAsync("sd-ghost-button", { key: '7ab15f030aef1ecda2a3be0c08af2c7ab4992f1c', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xxs", onClick: () => this.closeTooltip() })))))));
|
|
18150
18493
|
}
|
|
18151
18494
|
static get style() { return sdTooltipCss(); }
|
|
18152
18495
|
static get cmpMeta() { return {
|