@sellmate/design-system 1.17.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 +29 -8
- 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 +25 -3
- 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 +29 -8
- 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 +1 -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 +531 -203
- package/hydrate/index.mjs +531 -203
- 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-56a45ef9.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
|
@@ -103,7 +103,7 @@ const SdSwitch = class {
|
|
|
103
103
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
104
104
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
105
105
|
};
|
|
106
|
-
return (h("label", { key: '
|
|
106
|
+
return (h("label", { key: '8038810bfcf78ddea9ef73706689e19fdfe0b57f', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'ee4c60f379f20f56af01bafb0533e6b64bb3054a', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '8ce56df6d631b742331466ded340298a888576c7', class: "sd-switch__track" }, h("div", { key: 'e02c48a7af9e005524b5d3ba8689e99dd42555f2', class: "sd-switch__knob" })), this.label && h("span", { key: 'c1533c489ef8d0a2b8374d2eaeeb0ac743a9c507', class: "sd-switch__label" }, this.label)));
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
SdSwitch.style = sdSwitchCss();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, a as getElement, d as readTask, f as forceUpdate, h, H as Host } from './index-CAxodB5I.js';
|
|
2
2
|
import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
|
|
3
|
-
import { T as TABLE_BODY_LAYOUT, a as TABLE_SELECTABLE_COLUMN_WIDTH, b as TABLE_BODY_TYPOGRAPHY, c as TABLE_BORDER, d as TABLE_RADIUS } from './sd-table.config-
|
|
3
|
+
import { T as TABLE_BODY_LAYOUT, a as TABLE_SELECTABLE_COLUMN_WIDTH, b as TABLE_BODY_TYPOGRAPHY, c as TABLE_BORDER, d as TABLE_RADIUS } from './sd-table.config-B3wuA5wX.js';
|
|
4
4
|
import './component.table-D6GUzecR.js';
|
|
5
|
-
import './system-
|
|
5
|
+
import './system-BJfiMC9H.js';
|
|
6
6
|
|
|
7
7
|
let urlAlphabet =
|
|
8
8
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
@@ -843,24 +843,24 @@ const SdTable = class {
|
|
|
843
843
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
844
844
|
'--table-host-height': hostHeight,
|
|
845
845
|
};
|
|
846
|
-
return (h(Host, { key: '
|
|
846
|
+
return (h(Host, { key: '337909d6279baf60effec188eb60422ce47c0585', style: hostStyle }, h("div", { key: '46d53ced85e1700da3c6ca082d5752c0bb4a155b', class: "sd-table__container", style: {
|
|
847
847
|
'--table-width': this.width,
|
|
848
848
|
'--pagination-height': `${paginationHeight}px`,
|
|
849
|
-
} }, h("div", { key: '
|
|
849
|
+
} }, h("div", { key: '159fad6dec16b3328d0da4ce22ae6bca537046e9', class: {
|
|
850
850
|
'sd-table__wrapper': true,
|
|
851
851
|
'sd-table__wrapper--use-top': this.useTop,
|
|
852
|
-
} }, h("div", { key: '
|
|
852
|
+
} }, h("div", { key: '22acbc7de61e11807b1a8919090286bb04a98bed', class: {
|
|
853
853
|
'sd-table__scroll-container': true,
|
|
854
854
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
855
855
|
'sd-table__scroll-container--no-data': isNoData,
|
|
856
|
-
} }, this.isLoading && (h("div", { key: '
|
|
856
|
+
} }, this.isLoading && (h("div", { key: '040736d35428396068d5237a17f23f8f70ba2541', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: 'eae076a71161e315951692f051522b8b5f094271', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: 'e8bdf5ae38a77988fce0a60ae9309f5d03b34928', class: "sd-table__no-data-header-overlay" }), h("div", { key: 'd6ce4d4479eb927137b1afd5494a91494568b274', class: "sd-table__no-data" }, h("div", { key: 'cfccc6382e7d0cc76d7f50515cd157ccd56cbac8', class: "sd-table__no-data-content", ref: el => {
|
|
857
857
|
this.noDataContentEl = el;
|
|
858
858
|
if (el)
|
|
859
859
|
this.syncNoDataContentObserver();
|
|
860
|
-
} }, h("slot", { key: '
|
|
860
|
+
} }, h("slot", { key: '45a2df0c0fa234408ca5a5fb76b5a74729cad482', name: "no-data" }, h("span", { key: 'a126d8ce4149ac87e55f5a6acc67bbb3a650cdf4' }, this.resolvedNoDataLabel)))))), h("table", { key: 'aa4b94ed02700edd1846ca51235f47fe7de570be', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
|
|
861
861
|
this.pagination.rowsPerPage > 0 &&
|
|
862
862
|
this.rowCount > 0 &&
|
|
863
|
-
!this.useVirtualScroll && (h("div", { key: '
|
|
863
|
+
!this.useVirtualScroll && (h("div", { key: 'f4d357d62af40e3ea8f35c799b4409c7deb2606f', class: "sd-table__pagination" }, h("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 && (h("sd-select", { key: '85aa19726fca6dce007d8ffcc5550de8115546cb', value: this.useInternalPagination
|
|
864
864
|
? this.innerRowsPerPage
|
|
865
865
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
866
866
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -199,7 +199,7 @@ const SdTabs = class {
|
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
201
|
render() {
|
|
202
|
-
return (h("div", { key: '
|
|
202
|
+
return (h("div", { key: 'fd65e555621e8b9f9c8e93578f41f1c24a8cbeda', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
203
203
|
const badgeName = this.getBadgeName(tab);
|
|
204
204
|
return (h("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 => {
|
|
205
205
|
if (e.key === 'Enter' || e.key === ' ') {
|
package/dist/esm/sd-td.entry.js
CHANGED
|
@@ -156,7 +156,7 @@ const SdTd = class {
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '02464050ab6179a4d19bc5885aff8c2690cc3dd6', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'a4cde26644aea2e1a99690c407b7020b20bd3981' })));
|
|
160
160
|
}
|
|
161
161
|
static get watchers() { return {
|
|
162
162
|
"field": [{
|
|
@@ -131,7 +131,7 @@ const SdTextLink = class {
|
|
|
131
131
|
this.click.emit();
|
|
132
132
|
};
|
|
133
133
|
render() {
|
|
134
|
-
const sizeConfig = TEXT_LINK_SIZE_CONFIG[this.size];
|
|
134
|
+
const sizeConfig = TEXT_LINK_SIZE_CONFIG[this.size] ?? TEXT_LINK_SIZE_CONFIG.sm;
|
|
135
135
|
const typo = this.underline ? sizeConfig.typography.underline : sizeConfig.typography.default;
|
|
136
136
|
const labelClassName = ['sd-text-link__label', this.labelClass].filter(Boolean).join(' ');
|
|
137
137
|
const iconColor = this.disabled
|
|
@@ -145,7 +145,7 @@ const SdTextLink = class {
|
|
|
145
145
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
146
146
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
147
147
|
};
|
|
148
|
-
return (h("span", { key: '
|
|
148
|
+
return (h("span", { key: '74e9dd05f3efa3ecfec4edca1b74c29bb7207894', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
149
149
|
'sd-text-link': true,
|
|
150
150
|
'sd-text-link--disabled': this.disabled,
|
|
151
151
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -153,13 +153,13 @@ const SdTextLink = class {
|
|
|
153
153
|
e.preventDefault();
|
|
154
154
|
this.handleClick();
|
|
155
155
|
}
|
|
156
|
-
} }, this.icon && (h("sd-icon", { key: '
|
|
156
|
+
} }, this.icon && (h("sd-icon", { key: 'e60be0764adf889af988fd887582776d44239e07', name: this.icon, size: sizeConfig.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: '17996ef0620948fe1660945e68c9bb55e62fc982', class: labelClassName }, this.label), this.rightArrow && this.rightArrow !== 'none' && (h("span", { key: 'b9cfc03d4295beb9956f661032ea3fd1d9acfbe9', class: "sd-text-link__arrow", style: {
|
|
157
157
|
width: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
158
158
|
height: `${TEXT_LINK_ARROW.arrowFrame}px`,
|
|
159
159
|
display: 'inline-flex',
|
|
160
160
|
alignItems: 'center',
|
|
161
161
|
justifyContent: 'center',
|
|
162
|
-
} }, h("sd-icon", { key: '
|
|
162
|
+
} }, h("sd-icon", { key: '6c2e4640a767acd5e66089e7e78f27c0fb8a0955', name: this.rightArrow === 'chevron' ? 'chevronRight' : 'caretRight', size: TEXT_LINK_ARROW.arrowIconSize, color: arrowColor })))));
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
165
|
SdTextLink.style = sdTextLinkCss();
|
|
@@ -232,7 +232,7 @@ const SdToastContainer = class {
|
|
|
232
232
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
233
233
|
const indexMap = new Map();
|
|
234
234
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
235
|
-
return (h("div", { key: '
|
|
235
|
+
return (h("div", { key: '44b4f34b231186fd00ef9c1a65bd68a83fced6da', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
236
236
|
this.expanded = true;
|
|
237
237
|
this.pauseTimers();
|
|
238
238
|
}, onMouseLeave: () => {
|
|
@@ -82,12 +82,12 @@ const SdToast = class {
|
|
|
82
82
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
83
83
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
84
84
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
85
|
-
return (h("div", { key: '
|
|
85
|
+
return (h("div", { key: '656bf6231262cc7d974adbe5f0ce0053d03aca84', style: {
|
|
86
86
|
'--sd-toast-bg': typeConfig.bg,
|
|
87
87
|
'--sd-toast-text': typeConfig.content,
|
|
88
88
|
'--sd-toast-icon': iconColor,
|
|
89
89
|
'--sd-toast-link': linkColor,
|
|
90
|
-
} }, h("div", { key: '
|
|
90
|
+
} }, h("div", { key: '1e15e50c926ce65cea86db069dd1e79a642da01c', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '692277c23c4530d9fa0c5e26ea9d3b9759024dea', class: "sd-toast__icon" }, h("sd-icon", { key: '0a15993313f3a9d1f27d6ae727c2c248c3390701', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '9c1af0c9cedbb772b9b59ae80a0ff861066aa0de', class: "sd-toast__content" }, h("span", { key: '2aacd89fe1cf31f271da027459a6cfaece3dbdbf', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '094a68e843d9ab50cea46a506d6ccdc1ebf375d7', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '7dabe182870a01cf285ee7441dfe39b07e943751', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '2a893c6ace888d8f21ce16c9dbf2a35b23bc9372', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
SdToast.style = sdToastCss();
|
|
@@ -118,7 +118,7 @@ const SdToggle = class {
|
|
|
118
118
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
119
119
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
120
120
|
};
|
|
121
|
-
return (h("label", { key: '
|
|
121
|
+
return (h("label", { key: '5657698c379c71e770b18006b5f5c69c122a06a7', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '8f72307d4efd029df200243cf670377aea2cff02', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
SdToggle.style = sdToggleCss();
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
const typography = {
|
|
2
|
+
feedback: {
|
|
3
|
+
sm: {
|
|
4
|
+
regular: {
|
|
5
|
+
fontSize: "12",
|
|
6
|
+
fontWeight: "400"}}}};
|
|
1
7
|
const color = {
|
|
2
8
|
bg: {
|
|
3
9
|
frame: "#FFFFFF",
|
|
@@ -30,6 +36,7 @@ const shadow = {
|
|
|
30
36
|
color: "rgba(34,34,34,0.2)"}
|
|
31
37
|
}};
|
|
32
38
|
var systemTokens = {
|
|
39
|
+
typography: typography,
|
|
33
40
|
color: color,
|
|
34
41
|
shadow: shadow
|
|
35
42
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Bill: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Coupon: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Delete: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Dot: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Launcher: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Monitor: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Shield: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Sidebar: (props: any) => any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Store: (props: any) => any;
|
|
@@ -10,6 +10,7 @@ export declare const Icons: {
|
|
|
10
10
|
readonly attachFile: (props: any) => any;
|
|
11
11
|
readonly barcode: (props: any) => any;
|
|
12
12
|
readonly bell: (props: any) => any;
|
|
13
|
+
readonly bill: (props: any) => any;
|
|
13
14
|
readonly board: (props: any) => any;
|
|
14
15
|
readonly box: (props: any) => any;
|
|
15
16
|
readonly camera: (props: any) => any;
|
|
@@ -34,8 +35,11 @@ export declare const Icons: {
|
|
|
34
35
|
readonly clockOutline: (props: any) => any;
|
|
35
36
|
readonly close: (props: any) => any;
|
|
36
37
|
readonly copy: (props: any) => any;
|
|
38
|
+
readonly coupon: (props: any) => any;
|
|
37
39
|
readonly dashboard: (props: any) => any;
|
|
38
40
|
readonly date: (props: any) => any;
|
|
41
|
+
readonly delete: (props: any) => any;
|
|
42
|
+
readonly dot: (props: any) => any;
|
|
39
43
|
readonly download: (props: any) => any;
|
|
40
44
|
readonly drag: (props: any) => any;
|
|
41
45
|
readonly edit: (props: any) => any;
|
|
@@ -48,10 +52,12 @@ export declare const Icons: {
|
|
|
48
52
|
readonly imageFill: (props: any) => any;
|
|
49
53
|
readonly imageOutline: (props: any) => any;
|
|
50
54
|
readonly inline: (props: any) => any;
|
|
55
|
+
readonly launcher: (props: any) => any;
|
|
51
56
|
readonly line: (props: any) => any;
|
|
52
57
|
readonly location: (props: any) => any;
|
|
53
58
|
readonly logout: (props: any) => any;
|
|
54
59
|
readonly minus: (props: any) => any;
|
|
60
|
+
readonly monitor: (props: any) => any;
|
|
55
61
|
readonly new: (props: any) => any;
|
|
56
62
|
readonly notificationFill: (props: any) => any;
|
|
57
63
|
readonly notificationOutline: (props: any) => any;
|
|
@@ -68,7 +74,10 @@ export declare const Icons: {
|
|
|
68
74
|
readonly save: (props: any) => any;
|
|
69
75
|
readonly search: (props: any) => any;
|
|
70
76
|
readonly setting: (props: any) => any;
|
|
77
|
+
readonly shield: (props: any) => any;
|
|
78
|
+
readonly sidebar: (props: any) => any;
|
|
71
79
|
readonly star: (props: any) => any;
|
|
80
|
+
readonly store: (props: any) => any;
|
|
72
81
|
readonly synchronize: (props: any) => any;
|
|
73
82
|
readonly updown: (props: any) => any;
|
|
74
83
|
readonly user: (props: any) => any;
|
|
@@ -32,3 +32,27 @@ export declare const CHIP_INPUT_RESET: {
|
|
|
32
32
|
iconColor: string;
|
|
33
33
|
labelColor: string;
|
|
34
34
|
};
|
|
35
|
+
export declare const CHIP_INPUT_MAX_COUNT: {
|
|
36
|
+
fontSize: string;
|
|
37
|
+
fontWeight: string;
|
|
38
|
+
color: string;
|
|
39
|
+
};
|
|
40
|
+
export declare const CHIP_INPUT_SUGGESTIONS: {
|
|
41
|
+
radius: string;
|
|
42
|
+
maxHeight: string;
|
|
43
|
+
itemPaddingY: string;
|
|
44
|
+
itemPaddingX: string;
|
|
45
|
+
itemPaddingRight: string;
|
|
46
|
+
itemGap: string;
|
|
47
|
+
itemFontSize: string;
|
|
48
|
+
itemFontWeight: string;
|
|
49
|
+
itemFontWeightSelected: string;
|
|
50
|
+
itemLineHeight: string;
|
|
51
|
+
itemFontFamily: string;
|
|
52
|
+
itemColor: string;
|
|
53
|
+
itemColorHover: string;
|
|
54
|
+
itemBgHover: string;
|
|
55
|
+
emptyColor: string;
|
|
56
|
+
emptyFontSize: string;
|
|
57
|
+
emptyLineHeight: string;
|
|
58
|
+
};
|
|
@@ -3,6 +3,7 @@ import { Rule } from '../../types/form';
|
|
|
3
3
|
import { SdTooltipProps } from '../sd-tooltip/sd-tooltip.config';
|
|
4
4
|
import { type ChipInputSize } from './sd-chip-input.config';
|
|
5
5
|
export declare class SdChipInput {
|
|
6
|
+
private static readonly SUGGESTIONS_VIEWPORT_PADDING;
|
|
6
7
|
host: HTMLElement;
|
|
7
8
|
values: string[];
|
|
8
9
|
errors: boolean[] | ((value: string) => boolean);
|
|
@@ -14,6 +15,11 @@ export declare class SdChipInput {
|
|
|
14
15
|
rules?: Rule[];
|
|
15
16
|
error: boolean;
|
|
16
17
|
useReset: boolean;
|
|
18
|
+
maxCount?: number;
|
|
19
|
+
suggestions: string[];
|
|
20
|
+
loadingSuggestions: boolean;
|
|
21
|
+
recommendedItems: string[];
|
|
22
|
+
loadingRecommendedItems: boolean;
|
|
17
23
|
label?: string;
|
|
18
24
|
labelWidth: string | number;
|
|
19
25
|
hint: string;
|
|
@@ -28,26 +34,35 @@ export declare class SdChipInput {
|
|
|
28
34
|
private focused;
|
|
29
35
|
private hovered;
|
|
30
36
|
private inputValue;
|
|
37
|
+
private activeSuggestionIndex;
|
|
38
|
+
private suppressSuggestions;
|
|
39
|
+
private suppressRecommendations;
|
|
31
40
|
private inputEl?;
|
|
32
41
|
private formField?;
|
|
42
|
+
private chipInputRef?;
|
|
33
43
|
get value(): string[];
|
|
34
44
|
valuesChanged(newValues: string[]): void;
|
|
35
45
|
errorsChanged(newErrors: boolean[] | ((value: string) => boolean)): void;
|
|
46
|
+
suggestionsChanged(newVal: string[] | undefined): void;
|
|
47
|
+
recommendedItemsChanged(newVal: string[] | undefined): void;
|
|
36
48
|
componentWillLoad(): void;
|
|
37
49
|
private getChipError;
|
|
38
50
|
private getChipDisabled;
|
|
39
51
|
update: EventEmitter<string[]>;
|
|
40
52
|
focusEvent: EventEmitter<void>;
|
|
41
53
|
blurEvent: EventEmitter<void>;
|
|
54
|
+
inputEvent: EventEmitter<string>;
|
|
42
55
|
sdValidate(): Promise<boolean | undefined>;
|
|
43
56
|
sdReset(): Promise<void | undefined>;
|
|
44
57
|
sdResetValidate(): Promise<void | undefined>;
|
|
45
58
|
sdFocus(): Promise<void | undefined>;
|
|
59
|
+
private addChip;
|
|
46
60
|
private handleChipRemove;
|
|
47
61
|
private handleKeyDown;
|
|
48
62
|
private handleInput;
|
|
49
63
|
private handleFocus;
|
|
50
64
|
private handleBlur;
|
|
65
|
+
private closeSuggestions;
|
|
51
66
|
private handleContainerClick;
|
|
52
67
|
private handleResetInput;
|
|
53
68
|
render(): any;
|
|
@@ -53,6 +53,10 @@ export declare const PRESET_MENU_ITEM_COLORS: Record<DropdownButtonPreset, strin
|
|
|
53
53
|
export declare const PRESET_MENU_ITEM_ACTIVE_BACKGROUNDS: Record<DropdownButtonPreset, string>;
|
|
54
54
|
export declare const PRESET_MENU_ITEM_ACTIVE_COLORS: Record<DropdownButtonPreset, string>;
|
|
55
55
|
export declare const DROPDOWN_CHEVRON_ICON_SIZE: Record<DropdownButtonSize, number>;
|
|
56
|
+
export declare const DROPDOWN_BUTTON_MIN_WIDTH: Record<DropdownButtonSize, {
|
|
57
|
+
default: number;
|
|
58
|
+
split: number;
|
|
59
|
+
}>;
|
|
56
60
|
export declare const DROPDOWN_DISABLED_BACKGROUND: string;
|
|
57
61
|
export declare const DROPDOWN_DISABLED_TEXT: string;
|
|
58
62
|
export declare const DROPDOWN_DISABLED_ICON: string;
|
|
@@ -13,6 +13,7 @@ export declare class SdDropdownButton extends BaseDropdownEvent {
|
|
|
13
13
|
isAnimatingOut: boolean;
|
|
14
14
|
itemIndex: number;
|
|
15
15
|
private triggerRef?;
|
|
16
|
+
private splitContainerRef?;
|
|
16
17
|
private menuRef?;
|
|
17
18
|
private closeAnimationTimer?;
|
|
18
19
|
click: EventEmitter<DropdownButtonValue>;
|
|
@@ -31,6 +31,11 @@ export declare class SdKeyValueTable {
|
|
|
31
31
|
* th/td 자체와 thColSpan/tdColSpan, hideTh, thRowSpan(autoSkip)을 모두 반영.
|
|
32
32
|
*/
|
|
33
33
|
private computeMaxCols;
|
|
34
|
+
/**
|
|
35
|
+
* thStyle의 CSS 속성 값을 해당 CSS 변수로도 반영.
|
|
36
|
+
* label span이 var()로 스타일을 참조하기 때문에, 인라인 스타일만으로는 상속이 되지 않음.
|
|
37
|
+
*/
|
|
38
|
+
private buildThStyle;
|
|
34
39
|
private renderTh;
|
|
35
40
|
private renderTd;
|
|
36
41
|
private warnDuplicateNames;
|
|
@@ -369,6 +369,15 @@ export namespace Components {
|
|
|
369
369
|
* @default ''
|
|
370
370
|
*/
|
|
371
371
|
"labelWidth": string | number;
|
|
372
|
+
/**
|
|
373
|
+
* @default false
|
|
374
|
+
*/
|
|
375
|
+
"loadingRecommendedItems": boolean;
|
|
376
|
+
/**
|
|
377
|
+
* @default false
|
|
378
|
+
*/
|
|
379
|
+
"loadingSuggestions": boolean;
|
|
380
|
+
"maxCount"?: number;
|
|
372
381
|
/**
|
|
373
382
|
* @default nanoid()
|
|
374
383
|
*/
|
|
@@ -377,6 +386,10 @@ export namespace Components {
|
|
|
377
386
|
* @default '입력해 주세요.'
|
|
378
387
|
*/
|
|
379
388
|
"placeholder": string;
|
|
389
|
+
/**
|
|
390
|
+
* @default []
|
|
391
|
+
*/
|
|
392
|
+
"recommendedItems": string[];
|
|
380
393
|
/**
|
|
381
394
|
* @default []
|
|
382
395
|
*/
|
|
@@ -390,6 +403,10 @@ export namespace Components {
|
|
|
390
403
|
*/
|
|
391
404
|
"size": ChipInputSize;
|
|
392
405
|
"status"?: 'default' | 'pass' | 'error';
|
|
406
|
+
/**
|
|
407
|
+
* @default []
|
|
408
|
+
*/
|
|
409
|
+
"suggestions": string[];
|
|
393
410
|
/**
|
|
394
411
|
* @default false
|
|
395
412
|
*/
|
|
@@ -2393,6 +2410,7 @@ declare global {
|
|
|
2393
2410
|
"sdUpdate": string[];
|
|
2394
2411
|
"sdFocus": void;
|
|
2395
2412
|
"sdBlur": void;
|
|
2413
|
+
"sdInput": string;
|
|
2396
2414
|
}
|
|
2397
2415
|
interface HTMLSdChipInputElement extends Components.SdChipInput, HTMLStencilElement {
|
|
2398
2416
|
addEventListener<K extends keyof HTMLSdChipInputElementEventMap>(type: K, listener: (this: HTMLSdChipInputElement, ev: SdChipInputCustomEvent<HTMLSdChipInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3487,17 +3505,31 @@ declare namespace LocalJSX {
|
|
|
3487
3505
|
* @default ''
|
|
3488
3506
|
*/
|
|
3489
3507
|
"labelWidth"?: string | number;
|
|
3508
|
+
/**
|
|
3509
|
+
* @default false
|
|
3510
|
+
*/
|
|
3511
|
+
"loadingRecommendedItems"?: boolean;
|
|
3512
|
+
/**
|
|
3513
|
+
* @default false
|
|
3514
|
+
*/
|
|
3515
|
+
"loadingSuggestions"?: boolean;
|
|
3516
|
+
"maxCount"?: number;
|
|
3490
3517
|
/**
|
|
3491
3518
|
* @default nanoid()
|
|
3492
3519
|
*/
|
|
3493
3520
|
"name"?: string;
|
|
3494
3521
|
"onSdBlur"?: (event: SdChipInputCustomEvent<void>) => void;
|
|
3495
3522
|
"onSdFocus"?: (event: SdChipInputCustomEvent<void>) => void;
|
|
3523
|
+
"onSdInput"?: (event: SdChipInputCustomEvent<string>) => void;
|
|
3496
3524
|
"onSdUpdate"?: (event: SdChipInputCustomEvent<string[]>) => void;
|
|
3497
3525
|
/**
|
|
3498
3526
|
* @default '입력해 주세요.'
|
|
3499
3527
|
*/
|
|
3500
3528
|
"placeholder"?: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* @default []
|
|
3531
|
+
*/
|
|
3532
|
+
"recommendedItems"?: string[];
|
|
3501
3533
|
/**
|
|
3502
3534
|
* @default []
|
|
3503
3535
|
*/
|
|
@@ -3507,6 +3539,10 @@ declare namespace LocalJSX {
|
|
|
3507
3539
|
*/
|
|
3508
3540
|
"size"?: ChipInputSize;
|
|
3509
3541
|
"status"?: 'default' | 'pass' | 'error';
|
|
3542
|
+
/**
|
|
3543
|
+
* @default []
|
|
3544
|
+
*/
|
|
3545
|
+
"suggestions"?: string[];
|
|
3510
3546
|
/**
|
|
3511
3547
|
* @default false
|
|
3512
3548
|
*/
|
|
@@ -5281,6 +5317,9 @@ declare namespace LocalJSX {
|
|
|
5281
5317
|
"name": string;
|
|
5282
5318
|
"error": boolean;
|
|
5283
5319
|
"useReset": boolean;
|
|
5320
|
+
"maxCount": number;
|
|
5321
|
+
"loadingSuggestions": boolean;
|
|
5322
|
+
"loadingRecommendedItems": boolean;
|
|
5284
5323
|
"label": string;
|
|
5285
5324
|
"labelWidth": string;
|
|
5286
5325
|
"hint": string;
|
|
@@ -12,6 +12,12 @@ export interface ModalDialogRef {
|
|
|
12
12
|
* 후속 동작을 결정합니다.
|
|
13
13
|
*/
|
|
14
14
|
onClick(fn: () => void): ModalDialogRef;
|
|
15
|
+
/**
|
|
16
|
+
* OK 버튼 클릭 시 자동 dismiss 없이 fn 만 호출합니다. API 응답 결과에 따라
|
|
17
|
+
* consumer 가 직접 `ok()` / `close()` / `update()` 로 후속 동작을 결정할 때
|
|
18
|
+
* 사용합니다. `onOk` 와 함께 등록하면 `onSubmit` 이 우선합니다.
|
|
19
|
+
*/
|
|
20
|
+
onSubmit(fn: () => void): ModalDialogRef;
|
|
15
21
|
update(props: Partial<ConfirmModalOptions> | Partial<LoadingModalOptions>): ModalDialogRef;
|
|
16
22
|
/**
|
|
17
23
|
* 컴포넌트가 직접 닫기를 명시적으로 요청할 때 사용합니다. 커스텀 모달
|