@sellmate/design-system 1.26.0 → 1.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/design-system.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sd-calendar_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-chip-input.cjs.entry.js +48 -31
- package/dist/cjs/sd-circle-progress.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/sd-field_3.cjs.entry.js +7 -7
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +3 -3
- package/dist/cjs/sd-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/sd-loading-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-pagination_4.cjs.entry.js +8 -8
- package/dist/cjs/sd-popup.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +6 -6
- package/dist/cjs/sd-select_3.cjs.entry.js +8 -8
- package/dist/cjs/sd-switch.cjs.entry.js +1 -1
- package/dist/cjs/sd-table.cjs.entry.js +6 -6
- package/dist/cjs/sd-tabs.cjs.entry.js +1 -1
- package/dist/cjs/sd-td.cjs.entry.js +1 -1
- 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/collection/components/sd-chip-input/sd-chip-input.css +3 -0
- package/dist/collection/components/sd-chip-input/sd-chip-input.js +66 -30
- 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-field/sd-field.js +4 -4
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- 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-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- 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 +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.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 +2 -2
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- 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 +2 -2
- package/dist/components/{p-BCLDTSO0.js → p-346Z6-KH.js} +1 -1
- package/dist/components/{p-DsGK3Aye.js → p-B90EQBEX.js} +1 -1
- package/dist/components/{p-Bv_CVYp1.js → p-BBRQlkBM.js} +1 -1
- package/dist/components/{p-BGIwu6m1.js → p-BNxNJ3CK.js} +1 -1
- package/dist/components/{p-DPotN1QM.js → p-BOTW76OV.js} +1 -1
- package/dist/components/{p-C7sPq8UM.js → p-BSnINeoq.js} +1 -1
- package/dist/components/{p-IBgCA-vo.js → p-BTWJkT9Y.js} +1 -1
- package/dist/components/{p-CA2sZAsI.js → p-BVVYrEje.js} +1 -1
- package/dist/components/{p-B4ua22vZ.js → p-B_12VhSA.js} +1 -1
- package/dist/components/{p-CFqCJx9B.js → p-BxiJsH7Z.js} +1 -1
- package/dist/components/{p-C1vqL1Kl.js → p-C3rAloxT.js} +1 -1
- package/dist/components/{p-DU2_jzh4.js → p-C4Vfr3RI.js} +1 -1
- package/dist/components/{p-BTWV2vRX.js → p-D6AroYk-.js} +1 -1
- package/dist/components/{p-BAIi5T00.js → p-D9tjoBhH.js} +1 -1
- package/dist/components/{p-JamWHNrr.js → p-DGBRubiD.js} +1 -1
- package/dist/components/p-DLZRxIKh.js +1 -0
- package/dist/components/{p-tSYcqBKN.js → p-DUHiXyfJ.js} +1 -1
- package/dist/components/{p-BckY1cBy.js → p-DhgwAPO4.js} +1 -1
- package/dist/components/{p-C7sUn4qb.js → p-DiJvHjSG.js} +1 -1
- package/dist/components/{p-BwwpMQLA.js → p-DlBZuGIN.js} +1 -1
- package/dist/components/{p-UkSGSWSA.js → p-DlROb9xa.js} +1 -1
- package/dist/components/{p-D15bTkjr.js → p-DoJxhlz2.js} +1 -1
- package/dist/components/{p-aYmWxyum.js → p-DsZ3vasC.js} +1 -1
- package/dist/components/{p-DznzJSU-.js → p-Dz70SQco.js} +1 -1
- package/dist/components/{p-D0Xz7CoK.js → p-UIytIOVz.js} +1 -1
- package/dist/components/{p-0UeArSzN.js → p-c9mdxFTZ.js} +1 -1
- package/dist/components/{p-BOrdn-Js.js → p-h-EFBJM4.js} +1 -1
- package/dist/components/{p-1kjTqHez.js → p-j1n74q9u.js} +1 -1
- package/dist/components/{p-zGr4He38.js → p-k89ztBz6.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-calendar.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-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/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{p-065cd2f4.entry.js → p-0fcb6fb3.entry.js} +1 -1
- package/dist/design-system/{p-940de4ba.entry.js → p-1680b427.entry.js} +1 -1
- package/dist/design-system/{p-bd700588.entry.js → p-20bb91ed.entry.js} +1 -1
- package/dist/design-system/{p-681f8612.entry.js → p-250b8e5d.entry.js} +1 -1
- package/dist/design-system/{p-7c22de74.entry.js → p-25a11d7d.entry.js} +1 -1
- package/dist/design-system/p-3064d7c6.entry.js +1 -0
- package/dist/design-system/{p-d8bebc8e.entry.js → p-352a72ef.entry.js} +1 -1
- package/dist/design-system/{p-4d747082.entry.js → p-3f16f44b.entry.js} +1 -1
- package/dist/design-system/{p-a992c64b.entry.js → p-43c47cd5.entry.js} +1 -1
- package/dist/design-system/{p-2c704047.entry.js → p-6e702726.entry.js} +1 -1
- package/dist/design-system/{p-e45e6e56.entry.js → p-7cf2305b.entry.js} +1 -1
- package/dist/design-system/{p-79d85b32.entry.js → p-89c8585f.entry.js} +1 -1
- package/dist/design-system/p-8be26652.entry.js +1 -0
- package/dist/design-system/{p-dca19618.entry.js → p-8c5451f2.entry.js} +1 -1
- package/dist/design-system/{p-8b4d246f.entry.js → p-992f9509.entry.js} +1 -1
- package/dist/design-system/{p-4deb11d8.entry.js → p-a0349edd.entry.js} +1 -1
- package/dist/design-system/p-a32704bc.entry.js +1 -0
- package/dist/design-system/{p-8da06c09.entry.js → p-a76a8463.entry.js} +1 -1
- package/dist/design-system/{p-c7ff7bc8.entry.js → p-c4e0c490.entry.js} +1 -1
- package/dist/design-system/{p-9c3f7c57.entry.js → p-eb1233ff.entry.js} +1 -1
- package/dist/design-system/{p-c3b032a1.entry.js → p-f089fc54.entry.js} +1 -1
- package/dist/design-system/{p-ba10c791.entry.js → p-f910d33f.entry.js} +1 -1
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sd-calendar_2.entry.js +2 -2
- package/dist/esm/sd-chip-input.entry.js +48 -31
- package/dist/esm/sd-circle-progress.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/sd-field_3.entry.js +7 -7
- package/dist/esm/sd-ghost-button_3.entry.js +3 -3
- package/dist/esm/sd-linear-progress.entry.js +1 -1
- package/dist/esm/sd-loading-container.entry.js +2 -2
- package/dist/esm/sd-pagination_4.entry.js +8 -8
- package/dist/esm/sd-popup.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +6 -6
- package/dist/esm/sd-select_3.entry.js +8 -8
- package/dist/esm/sd-switch.entry.js +1 -1
- package/dist/esm/sd-table.entry.js +6 -6
- package/dist/esm/sd-tabs.entry.js +1 -1
- package/dist/esm/sd-td.entry.js +1 -1
- 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/types/components/sd-chip-input/sd-chip-input.d.ts +3 -0
- package/dist/types/components.d.ts +9 -0
- package/hydrate/index.js +115 -97
- package/hydrate/index.mjs +115 -97
- package/package.json +1 -1
- package/dist/components/p-D6noGX38.js +0 -1
- package/dist/design-system/p-28e1cf94.entry.js +0 -1
- package/dist/design-system/p-662ce409.entry.js +0 -1
- package/dist/design-system/p-b127ac21.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -8110,7 +8110,7 @@ const CHIP_INPUT_SUGGESTIONS = {
|
|
|
8110
8110
|
emptyLineHeight: '20px',
|
|
8111
8111
|
};
|
|
8112
8112
|
|
|
8113
|
-
const sdChipInputCss = () => `sd-chip-input{display:inline-flex}sd-chip-input sd-portal{display:none}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;flex-shrink:0;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__suggestion-item--selected{cursor:default;overflow:visible;text-overflow:unset}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)}`;
|
|
8113
|
+
const sdChipInputCss = () => `sd-chip-input{display:inline-flex}sd-chip-input sd-portal{display:none}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__suggestions--autocomplete{width:max-content}sd-chip-input .sd-chip-input__suggestion-item{display:flex;flex-shrink:0;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__suggestion-item--selected{cursor:default;overflow:visible;text-overflow:unset}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)}`;
|
|
8114
8114
|
|
|
8115
8115
|
class SdChipInput {
|
|
8116
8116
|
constructor(hostRef) {
|
|
@@ -8154,6 +8154,8 @@ class SdChipInput {
|
|
|
8154
8154
|
recommendedItems = [];
|
|
8155
8155
|
/** 추천 항목 로딩 중 여부 */
|
|
8156
8156
|
loadingRecommendedItems = false;
|
|
8157
|
+
/** 자동완성 드롭다운 최소 너비 (숫자면 px, 문자열이면 그대로 적용. 없으면 입력 필드 너비를 사용) */
|
|
8158
|
+
autocompleteMinWidth;
|
|
8157
8159
|
// sd-field props
|
|
8158
8160
|
/** 레이블 텍스트 */
|
|
8159
8161
|
label = '';
|
|
@@ -8184,6 +8186,7 @@ class SdChipInput {
|
|
|
8184
8186
|
inputEl;
|
|
8185
8187
|
formField;
|
|
8186
8188
|
chipInputRef;
|
|
8189
|
+
fieldRef;
|
|
8187
8190
|
get value() {
|
|
8188
8191
|
return this.internalValues;
|
|
8189
8192
|
}
|
|
@@ -8503,13 +8506,11 @@ class SdChipInput {
|
|
|
8503
8506
|
this.inputValue === '' &&
|
|
8504
8507
|
!this.suppressRecommendations &&
|
|
8505
8508
|
(recommendedItems.length > 0 || this.loadingRecommendedItems);
|
|
8506
|
-
const
|
|
8507
|
-
const
|
|
8508
|
-
const
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
const suggestionBoxStyle = {
|
|
8512
|
-
width: `${this.chipInputRef?.offsetWidth ?? 0}px`,
|
|
8509
|
+
const isAutocompleteLoading = showAutocomplete && this.loadingSuggestions && suggestions.length === 0;
|
|
8510
|
+
const isRecommendationLoading = showRecommendations && this.loadingRecommendedItems && recommendedItems.length === 0;
|
|
8511
|
+
const autocompleteListItems = showAutocomplete ? suggestions : [];
|
|
8512
|
+
const recommendationListItems = showRecommendations ? recommendedItems : [];
|
|
8513
|
+
const suggestionBoxBaseStyle = {
|
|
8513
8514
|
display: 'flex',
|
|
8514
8515
|
flexDirection: 'column',
|
|
8515
8516
|
boxSizing: 'border-box',
|
|
@@ -8522,6 +8523,22 @@ class SdChipInput {
|
|
|
8522
8523
|
overflowX: 'hidden',
|
|
8523
8524
|
outline: 'none',
|
|
8524
8525
|
};
|
|
8526
|
+
// 추천리스트는 입력창 전체 너비를 기준으로 노출된다.
|
|
8527
|
+
const suggestionBoxStyle = {
|
|
8528
|
+
...suggestionBoxBaseStyle,
|
|
8529
|
+
width: `${this.chipInputRef?.offsetWidth ?? 0}px`,
|
|
8530
|
+
};
|
|
8531
|
+
// 자동완성은 입력 중인 칩(필드) 기준으로 노출되며, 최소 너비를 유지한 채 텍스트 길이에 따라 늘어난다.
|
|
8532
|
+
const autocompleteMinWidth = this.autocompleteMinWidth != null
|
|
8533
|
+
? typeof this.autocompleteMinWidth === 'number'
|
|
8534
|
+
? `${this.autocompleteMinWidth}px`
|
|
8535
|
+
: this.autocompleteMinWidth
|
|
8536
|
+
: `${this.fieldRef?.offsetWidth ?? 0}px`;
|
|
8537
|
+
const autocompleteBoxStyle = {
|
|
8538
|
+
...suggestionBoxBaseStyle,
|
|
8539
|
+
width: 'max-content',
|
|
8540
|
+
minWidth: autocompleteMinWidth,
|
|
8541
|
+
};
|
|
8525
8542
|
const suggestionItemStyle = {
|
|
8526
8543
|
display: 'flex',
|
|
8527
8544
|
flexShrink: '0',
|
|
@@ -8548,38 +8565,20 @@ class SdChipInput {
|
|
|
8548
8565
|
fontFamily: CHIP_INPUT_SUGGESTIONS.itemFontFamily,
|
|
8549
8566
|
color: CHIP_INPUT_SUGGESTIONS.emptyColor,
|
|
8550
8567
|
};
|
|
8551
|
-
return (hAsync("sd-field", { key: '
|
|
8568
|
+
return (hAsync("sd-field", { key: 'c5f94bcc3343549d225d8310e98d424bd74471e5', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: [this.duplicateRule, ...(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: '40a0d8d08b33ff454eae29e815afd0378b93d927', 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: 'c40b423a77272adaded79c3bc45af2084ef76ecf', class: {
|
|
8552
8569
|
'sd-chip-input__field': true,
|
|
8553
8570
|
'sd-chip-input__field--filled': this.inputValue !== '',
|
|
8554
8571
|
'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
|
|
8555
|
-
}, "data-value": this.inputValue !== ''
|
|
8572
|
+
}, ref: el => (this.fieldRef = el), "data-value": this.inputValue !== ''
|
|
8556
8573
|
? this.inputValue
|
|
8557
8574
|
: this.internalValues.length === 0
|
|
8558
8575
|
? this.placeholder
|
|
8559
|
-
: '' }, hAsync("input", { key: '
|
|
8576
|
+
: '' }, hAsync("input", { key: '05ff9dc453577cb53a6284b9d064ef3e572bbc83', 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 && (
|
|
8560
8577
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
8561
|
-
hAsync("div", { key: '
|
|
8578
|
+
hAsync("div", { key: 'f2e5336974905e3b7672567b29ad4f902ed2bcdf', class: "sd-chip-input__reset",
|
|
8562
8579
|
// 리셋 버튼 클릭 시 input blur → portal unmount → refocus → 새 portal mount로
|
|
8563
8580
|
// 두 wrapper가 body에 잠깐 겹치는 타이밍 이슈를 방지한다.
|
|
8564
|
-
onMouseDown: e => e.preventDefault() }, this.inputValue === '' && hAsync("span", { key: '
|
|
8565
|
-
display: 'flex',
|
|
8566
|
-
flexWrap: 'wrap',
|
|
8567
|
-
gap: '8px',
|
|
8568
|
-
padding: '12px',
|
|
8569
|
-
} }, recommendedItems.map((item, i) => {
|
|
8570
|
-
const isSelected = (this.internalValues ?? []).includes(item);
|
|
8571
|
-
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
8572
|
-
return (hAsync("div", { key: item, role: "option", tabIndex: -1, "aria-selected": isSelected || isActive, "aria-disabled": isSelected ? 'true' : undefined, style: {
|
|
8573
|
-
cursor: isSelected ? 'default' : 'pointer',
|
|
8574
|
-
borderRadius: '999px',
|
|
8575
|
-
outline: isActive ? '2px solid #0075FF' : undefined,
|
|
8576
|
-
outlineOffset: '1px',
|
|
8577
|
-
}, onMouseDown: e => {
|
|
8578
|
-
e.preventDefault();
|
|
8579
|
-
if (!isSelected)
|
|
8580
|
-
this.addChip(item);
|
|
8581
|
-
} }, hAsync("sd-chip", { value: item, disabled: isSelected, editable: false, showRemove: false })));
|
|
8582
|
-
}))) : (dropdownItems.map((item, i) => {
|
|
8581
|
+
onMouseDown: e => e.preventDefault() }, this.inputValue === '' && hAsync("span", { key: '65f0bcd6086029ab9637dd6c7a64524478c11e76', class: "sd-chip-input__divider" }), this.maxCount != null && (hAsync("span", { key: 'd4702a86e9f1ca03bf74937dfb9e0c822e9722bf', class: "sd-chip-input__max-count" }, "\uCD5C\uB300 ", this.maxCount, "\uAC1C")), this.useReset && this.internalValues.length > 0 && (hAsync("sd-text-link", { key: '70a5d27129e37e49d8d8d7f92b6ad9471575fa71', 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 })))), hAsync("sd-portal", { key: '24e9ac9124c514debc6df00ed663c20ac0f92bf7', class: "sd-chip-input__autocomplete-portal", open: showAutocomplete, parentRef: this.fieldRef ?? null, viewportPadding: SdChipInput.SUGGESTIONS_VIEWPORT_PADDING, onSdClose: this.closeSuggestions }, hAsync("div", { key: 'd0e7697fc7a8a754d6b1ce6a34c205bbc7630a81', class: "sd-chip-input__suggestions sd-chip-input__suggestions--autocomplete", role: "listbox", style: autocompleteBoxStyle }, isAutocompleteLoading && (hAsync("div", { key: '2709073f6174ede46b5d9e4d0c72f9b2dc207c54', class: "sd-chip-input__suggestions-empty", style: suggestionEmptyStyle }, "\uBD88\uB7EC\uC624\uB294 \uC911...")), autocompleteListItems.map((item, i) => {
|
|
8583
8582
|
const isSelected = (this.internalValues ?? []).includes(item);
|
|
8584
8583
|
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
8585
8584
|
return (hAsync("div", { key: item, class: {
|
|
@@ -8605,6 +8604,24 @@ class SdChipInput {
|
|
|
8605
8604
|
if (!isSelected)
|
|
8606
8605
|
this.addChip(item);
|
|
8607
8606
|
} }, hAsync("span", { style: { flex: '1' } }, item), isSelected && (hAsync("sd-icon", { name: "check", size: "12", style: { color: '#0075FF', flexShrink: '0' } }))));
|
|
8607
|
+
}))), hAsync("sd-portal", { key: '96424b38ffe1ec646b48fdea0b65cdb9dbc2caf7', class: "sd-chip-input__recommendation-portal", open: showRecommendations, parentRef: this.chipInputRef ?? null, viewportPadding: SdChipInput.SUGGESTIONS_VIEWPORT_PADDING, onSdClose: this.closeSuggestions }, hAsync("div", { key: '2ae809c5d03b662e98252768ac3f7ac44730dbb7', class: "sd-chip-input__suggestions", role: "listbox", style: suggestionBoxStyle }, isRecommendationLoading && (hAsync("div", { key: '3dbf23b89e923762c0ee092f9f5f724a043bd3a6', class: "sd-chip-input__suggestions-empty", style: suggestionEmptyStyle }, "\uBD88\uB7EC\uC624\uB294 \uC911...")), hAsync("div", { key: 'ebbccb03b333bed84a88d1ca10f0e4e142211582', style: {
|
|
8608
|
+
display: 'flex',
|
|
8609
|
+
flexWrap: 'wrap',
|
|
8610
|
+
gap: '8px',
|
|
8611
|
+
padding: '12px',
|
|
8612
|
+
} }, recommendationListItems.map((item, i) => {
|
|
8613
|
+
const isSelected = (this.internalValues ?? []).includes(item);
|
|
8614
|
+
const isActive = i === this.activeSuggestionIndex && !isSelected;
|
|
8615
|
+
return (hAsync("div", { key: item, role: "option", tabIndex: -1, "aria-selected": isSelected || isActive, "aria-disabled": isSelected ? 'true' : undefined, style: {
|
|
8616
|
+
cursor: isSelected ? 'default' : 'pointer',
|
|
8617
|
+
borderRadius: '999px',
|
|
8618
|
+
outline: isActive ? '2px solid #0075FF' : undefined,
|
|
8619
|
+
outlineOffset: '1px',
|
|
8620
|
+
}, onMouseDown: e => {
|
|
8621
|
+
e.preventDefault();
|
|
8622
|
+
if (!isSelected)
|
|
8623
|
+
this.addChip(item);
|
|
8624
|
+
} }, hAsync("sd-chip", { value: item, disabled: isSelected, editable: false, showRemove: false })));
|
|
8608
8625
|
})))))));
|
|
8609
8626
|
}
|
|
8610
8627
|
static get watchers() { return {
|
|
@@ -8645,6 +8662,7 @@ class SdChipInput {
|
|
|
8645
8662
|
"loadingSuggestions": [4, "loading-suggestions"],
|
|
8646
8663
|
"recommendedItems": [1040],
|
|
8647
8664
|
"loadingRecommendedItems": [4, "loading-recommended-items"],
|
|
8665
|
+
"autocompleteMinWidth": [8, "autocomplete-min-width"],
|
|
8648
8666
|
"label": [1],
|
|
8649
8667
|
"labelWidth": [8, "label-width"],
|
|
8650
8668
|
"hint": [1],
|
|
@@ -8767,7 +8785,7 @@ class SdCircleProgress {
|
|
|
8767
8785
|
}
|
|
8768
8786
|
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
8769
8787
|
const showPercent = !this.indeterminate;
|
|
8770
|
-
return (hAsync(Host, { key: '
|
|
8788
|
+
return (hAsync(Host, { key: '49f42179ae3f58775dda407b2a0fe3ad01baf2b8', style: hostStyle }, hAsync("svg", { key: 'f2bcc5ae953409481b823fc7dd754f1e68bc47d8', 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: '1dbbe8d19a29cd271c8fa483497ca085ee10831f', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), hAsync("circle", { key: '86e6514b2986e5574a78e15e0e3299d8cde858cc', 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: '38d0dfc1f810acbe086852b24d83af2d4f707f2a', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && hAsync("span", { key: 'b10ae78d8b3894b89f0096bea66773006bf526e9', class: "sd-circle-progress__label" }, this.label)));
|
|
8771
8789
|
}
|
|
8772
8790
|
static get style() { return sdCircleProgressCss(); }
|
|
8773
8791
|
static get cmpMeta() { return {
|
|
@@ -8898,9 +8916,9 @@ class SdConfirmModal {
|
|
|
8898
8916
|
const type = this.resolvedType;
|
|
8899
8917
|
const iconName = CONFIRM_MODAL_ICON_MAP[type];
|
|
8900
8918
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
|
|
8901
|
-
return (hAsync("div", { key: '
|
|
8919
|
+
return (hAsync("div", { key: '396bef971efaab6638586fa1a067eae54c1897f4', class: "sd-confirm-modal" }, hAsync("sd-ghost-button", { key: '4716168808371f4515bf763e77198386fc9fe7cf', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (hAsync("sd-icon", { key: '1ab7ca2c5262374a0823a8e5c501758433c25051', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), hAsync("h2", { key: 'a190f975d27153e4d928c95395f13ecd8ba0667a', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), hAsync("div", { key: 'da7821097377b7a9781df87ae40b2439a103ff9b', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (hAsync("div", { key: 'ced23315888ad43b3d91b8bb5388b77e517dd52a', 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: '5bdbe145bdb6639ebe582e7295f413a4b1990c15', class: "sd-confirm-modal__content-box" }, this.tagContents ? (hAsync("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
8902
8920
|
this.customContentRef = el;
|
|
8903
|
-
} })) : (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: '
|
|
8921
|
+
} })) : (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: 'e99adc95c95be16945407d54833164908aad0b50', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (hAsync("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), hAsync("div", { key: '20a6660323e1d9f4ee096f0c07bf0596f5a2445a', class: "sd-confirm-modal__button" }, this.subButtonLabel && (hAsync("sd-button", { key: '73141dd6fc6f703bff11e71ca9820cf3e1045466', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), hAsync("sd-button", { key: 'bed2d910b4b35d59897e14222f86f20a7e8c3bde', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
|
|
8904
8922
|
}
|
|
8905
8923
|
static get style() { return sdConfirmModalCss(); }
|
|
8906
8924
|
static get cmpMeta() { return {
|
|
@@ -9220,9 +9238,9 @@ class SdDatePicker {
|
|
|
9220
9238
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
9221
9239
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
9222
9240
|
};
|
|
9223
|
-
return (hAsync("sd-field", { key: '
|
|
9241
|
+
return (hAsync("sd-field", { key: '4359c9ce80bfc919088774a4458c730c427aa3f5', 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: '638f4e59c9a7c5c841428c424181b3d2320857eb', class: "sd-date-picker", ref: el => {
|
|
9224
9242
|
this.triggerRef = el;
|
|
9225
|
-
} }, hAsync("sd-date-picker-trigger", { key: '
|
|
9243
|
+
} }, hAsync("sd-date-picker-trigger", { key: 'cbfe2bee0fdea1f089860cf3a7da9b7e35327c87', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (hAsync("sd-portal", { key: 'a348437c5f9f53180cc7f74d5b275e4f3fbedea6', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, hAsync("sd-calendar", { key: '7dd08053b3a24d25e6149d4bc751c75eff94f752', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
9226
9244
|
}
|
|
9227
9245
|
static get watchers() { return {
|
|
9228
9246
|
"isOpen": [{
|
|
@@ -9310,7 +9328,7 @@ class SdDatePickerTrigger {
|
|
|
9310
9328
|
? DATEPICKER_COLORS.icon.disabled
|
|
9311
9329
|
: DATEPICKER_COLORS.icon.default,
|
|
9312
9330
|
};
|
|
9313
|
-
return (hAsync("div", { key: '
|
|
9331
|
+
return (hAsync("div", { key: '6fbd05e53170cb323d3db5fe5fb7bf17e03f3af9', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
9314
9332
|
'sd-date-picker-trigger': true,
|
|
9315
9333
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
9316
9334
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -9318,7 +9336,7 @@ class SdDatePickerTrigger {
|
|
|
9318
9336
|
e.preventDefault();
|
|
9319
9337
|
this.handleClick();
|
|
9320
9338
|
}
|
|
9321
|
-
} }, hAsync("sd-icon", { key: '
|
|
9339
|
+
} }, hAsync("sd-icon", { key: '60e23369acd45ae6a74b076c08309644a10aceb3', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), hAsync("span", { key: '5db37f4d71914215e4ae4236791dd3e0eda10c96', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
9322
9340
|
}
|
|
9323
9341
|
static get style() { return sdDatePickerTriggerCss(); }
|
|
9324
9342
|
static get cmpMeta() { return {
|
|
@@ -9767,7 +9785,7 @@ class SdDateRangePickerCalendar {
|
|
|
9767
9785
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
9768
9786
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
9769
9787
|
};
|
|
9770
|
-
return (hAsync(Fragment, { key: '
|
|
9788
|
+
return (hAsync(Fragment, { key: '4502cc08eb9df7c24cdc9f22564fb2a4a0b2736e' }, hAsync("div", { key: '9da4356920cbce83c548a4c5f40cb2af9e36a257', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), hAsync("div", { key: 'a8117206cd3d9368a86f4cc307037461c1314aad', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), hAsync("span", { key: '0f6cbaf53781429b3de08aa992a45f2c26444625', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
9771
9789
|
}
|
|
9772
9790
|
static get watchers() { return {
|
|
9773
9791
|
"value": [{
|
|
@@ -9810,7 +9828,7 @@ class SdDivider {
|
|
|
9810
9828
|
const hostStyle = {
|
|
9811
9829
|
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9812
9830
|
};
|
|
9813
|
-
return (hAsync(Host, { key: '
|
|
9831
|
+
return (hAsync(Host, { key: '73be9d4cc38b230e4cff7f8ebcdc81bd2d56e0e7', style: hostStyle }, hAsync("hr", { key: 'a4da09faca453df8cb6ea3ed00609d4e0c238a7a', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
9814
9832
|
}
|
|
9815
9833
|
static get style() { return sdDividerCss(); }
|
|
9816
9834
|
static get cmpMeta() { return {
|
|
@@ -10485,18 +10503,18 @@ class SdField {
|
|
|
10485
10503
|
: {}),
|
|
10486
10504
|
}
|
|
10487
10505
|
: {};
|
|
10488
|
-
return (hAsync("div", { key: '
|
|
10506
|
+
return (hAsync("div", { key: '7673ab0d94a03bcfa42381c961e749cd083d7af0', class: {
|
|
10489
10507
|
'sd-field': true,
|
|
10490
10508
|
'sd-field--has-label': this.label !== '',
|
|
10491
10509
|
'sd-field--has-addon': addon !== '',
|
|
10492
10510
|
[this.fieldStatus]: this.fieldStatus !== '',
|
|
10493
|
-
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: '
|
|
10511
|
+
}, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars, ...messageCssVars } }, hAsync("div", { key: '00c5056105b72f143a8c4249b8cd3b6a60fb6d1d', class: "sd-field__wrapper" }, this.renderLabel(this.label), hAsync("div", { key: 'e99461246fa8ceadaf7a43f1c62c474caa160972', class: "sd-field__main" }, hAsync("div", { key: '6bf754d3a167b1ca4f23d2e1d260643e278e85f6', class: {
|
|
10494
10512
|
'sd-field__control': true,
|
|
10495
10513
|
'sd-field__control--has-addon': addon !== '',
|
|
10496
10514
|
}, style: this.width !== '' && this.width !== 0
|
|
10497
10515
|
? { width: typeof this.width === 'number' ? `${this.width}px` : this.width }
|
|
10498
|
-
: {} }, addon && (hAsync("div", { key: '
|
|
10499
|
-
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: '
|
|
10516
|
+
: {} }, addon && (hAsync("div", { key: '2d9acde5ecaeb32a94e1ba33c408160a2f2da46f', class: "sd-field__addon" }, this.icon && (hAsync("sd-icon", { key: 'a0916124710c29478feffef96efdaffe599d4bc7', name: this.icon.name, size: this.icon.size ??
|
|
10517
|
+
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: '2e4690a4678ca40deb9e023baae24a44fd4da959' })), 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))))));
|
|
10500
10518
|
}
|
|
10501
10519
|
renderLabel(label) {
|
|
10502
10520
|
if (label == null || label === '')
|
|
@@ -11060,7 +11078,7 @@ class SdFloatingPopover {
|
|
|
11060
11078
|
}
|
|
11061
11079
|
}
|
|
11062
11080
|
render() {
|
|
11063
|
-
return hAsync("slot", { key: '
|
|
11081
|
+
return hAsync("slot", { key: '56deedcae378d170d9debca4cf1a07599f31dfc5' });
|
|
11064
11082
|
}
|
|
11065
11083
|
static get style() { return sdFloatingPortalCss(); }
|
|
11066
11084
|
static get cmpMeta() { return {
|
|
@@ -12132,12 +12150,12 @@ class SdInput {
|
|
|
12132
12150
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
12133
12151
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
12134
12152
|
};
|
|
12135
|
-
return (hAsync("sd-field", { key: '
|
|
12153
|
+
return (hAsync("sd-field", { key: 'b29a9d582bd8993bd5c31c70bab02ff553f2e167', 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: '1a6ad118628ab8cb9282953c618ca61898cf241a', class: "sd-input__content" }, hAsync("slot", { key: '4de06d36b71ce2cad70a735e7620c2d320973962', name: "prefix" }), hAsync("input", { key: '11c448201927a769c56fd1500ba8dd164d1b695a', 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: '4ac88a21df8e2feaa67a68cab9fca4e24985d17d', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (hAsync("sd-ghost-button", { key: '0985e2ed631ee746793563a22d766545a34d1562', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
12136
12154
|
if (this.disabled || this.readonly)
|
|
12137
12155
|
return;
|
|
12138
12156
|
this.internalValue = '';
|
|
12139
12157
|
await this.formField?.sdValidate();
|
|
12140
|
-
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '
|
|
12158
|
+
} })), this.type === 'password' && (hAsync("sd-ghost-button", { key: '16300e673a9c93209c403ec788217ba301c1d2e6', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
12141
12159
|
if (this.disabled || this.readonly)
|
|
12142
12160
|
return;
|
|
12143
12161
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -12598,7 +12616,7 @@ class SdLinearProgress {
|
|
|
12598
12616
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
12599
12617
|
};
|
|
12600
12618
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
12601
|
-
return (hAsync(Host, { key: '
|
|
12619
|
+
return (hAsync(Host, { key: '2c2024fc61418c73913dc0333ddef93e667fa6f0', style: hostStyle }, hAsync("div", { key: '44fac7a5a5795451ab8fc7c5538161cb974c3b4f', class: "sd-linear-progress__track" }, hAsync("div", { key: '050f19c7c2ae6f14f744a1a33f933b97d9d5d448', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (hAsync("span", { key: '70233788c6f8b5d89ec1123e40cc97c89a9d20c4', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (hAsync("span", { key: 'f2df0a4d96ca1224b902a360f4f1ef4856405ed6', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && hAsync("span", { key: '00d72060f073ad6e046d7c68f248df6622f87088', class: "sd-linear-progress__label" }, this.label)));
|
|
12602
12620
|
}
|
|
12603
12621
|
static get style() { return sdLinearProgressCss(); }
|
|
12604
12622
|
static get cmpMeta() { return {
|
|
@@ -12634,10 +12652,10 @@ class SdLoadingContainer {
|
|
|
12634
12652
|
this.visible = false;
|
|
12635
12653
|
}
|
|
12636
12654
|
render() {
|
|
12637
|
-
return (hAsync("div", { key: '
|
|
12655
|
+
return (hAsync("div", { key: 'be8150fa2321621b2761f886fe96dc4a9177de64', class: {
|
|
12638
12656
|
'sd-loading-container': true,
|
|
12639
12657
|
'sd-loading-container--visible': this.visible,
|
|
12640
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '
|
|
12658
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, hAsync("div", { key: '268f97c036ab8a15c465469ee467aa6a962e9bf0', class: "sd-loading-container__backdrop" }), hAsync("div", { key: 'e7f8fcbffdfe462890706e896a476de7f734166e', class: "sd-loading-container__content" }, hAsync("sd-circle-progress", { key: '60e52996e7ba895a0375f344431e721c8bd34753', indeterminate: true, type: "inverse" }), this.message && hAsync("p", { key: 'c7cbf5b183a22a3b9f693bb427057d3fa9611724', class: "sd-loading-container__message" }, this.message))));
|
|
12641
12659
|
}
|
|
12642
12660
|
static get style() { return sdLoadingContainerCss(); }
|
|
12643
12661
|
static get cmpMeta() { return {
|
|
@@ -12742,7 +12760,7 @@ class SdLoadingModal {
|
|
|
12742
12760
|
'--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
|
|
12743
12761
|
'--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
|
|
12744
12762
|
};
|
|
12745
|
-
return (hAsync(Host, { key: '
|
|
12763
|
+
return (hAsync(Host, { key: '9656d6f5adb9fdad989f9f5ecae7917c3bac76db', style: hostStyle }, hAsync("div", { key: '15ed3e3d53785d66d1bdbbfe7391ba63572aff3b', class: "sd-loading-modal" }, hAsync("div", { key: '27a949450dd9bd2e68320a3bf6d3ce1c671a3f37', 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: '258def7abc8017fea2d22ca19fc2c4f82943c5b2', 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: '6bce1bdc0661f468f4e58935bb38d1a0bb76b9ad', class: "sd-loading-modal__button" }, hAsync("sd-button", { key: 'b7e37e71fff646701fe9afc0df925709bac14835', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
|
|
12746
12764
|
}
|
|
12747
12765
|
static get style() { return sdLoadingModalCss(); }
|
|
12748
12766
|
static get cmpMeta() { return {
|
|
@@ -13625,15 +13643,15 @@ class SdNumberInput {
|
|
|
13625
13643
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
13626
13644
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
13627
13645
|
};
|
|
13628
|
-
return (hAsync("sd-field", { key: '
|
|
13646
|
+
return (hAsync("sd-field", { key: '581504f245674e1644f672aa77dd22f710a3c766', 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: 'f17872e37d0b0369061deb508d44ce7ae4943c5b', class: {
|
|
13629
13647
|
'sd-number-input__content': true,
|
|
13630
13648
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
13631
|
-
} }, this.useButton && (hAsync("button", { key: '
|
|
13649
|
+
} }, this.useButton && (hAsync("button", { key: 'b513ee5c44e2475ab751dae3a333e95405c9a319', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, hAsync("sd-icon", { key: '172dcff1a3559008183bed32c30ec02d98c12664', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
13632
13650
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
13633
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '
|
|
13651
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && hAsync("span", { key: '24d631ea8330ed6e90f2aa77e46707867ff57539', class: "sd-number-input__prefix" }, this.inputPrefix), hAsync("input", { key: 'ed0c70a534f1f6e246a407073aee9efa3a222b01', 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: {
|
|
13634
13652
|
textAlign: this.useButton ? 'center' : 'right',
|
|
13635
13653
|
...this.inputStyle,
|
|
13636
|
-
} }), this.inputSuffix && hAsync("span", { key: '
|
|
13654
|
+
} }), this.inputSuffix && hAsync("span", { key: '7129df3b5cf544301cadaf5111e98ddcf3e7a340', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (hAsync("button", { key: 'd5cb9acd77be94e494fb4af3b78001cd22dbfe3c', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, hAsync("sd-icon", { key: 'dba88711bda7f5522425d96187bce402c8516fff', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
13637
13655
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
13638
13656
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
13639
13657
|
}
|
|
@@ -13847,13 +13865,13 @@ class SdPagination {
|
|
|
13847
13865
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
13848
13866
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
13849
13867
|
};
|
|
13850
|
-
return (hAsync("div", { key: '
|
|
13868
|
+
return (hAsync("div", { key: '1ab90aa479a2ec1985a79efbcb48f0453ce670a9', class: {
|
|
13851
13869
|
'sd-pagination': true,
|
|
13852
13870
|
'sd-pagination--simple': this.simple,
|
|
13853
|
-
}, style: cssVars }, hAsync("div", { key: '
|
|
13871
|
+
}, style: cssVars }, hAsync("div", { key: 'd5e9fdd9f221536f5eb404095b2b6d052aaa6a9e', 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: {
|
|
13854
13872
|
'sd-pagination__item': true,
|
|
13855
13873
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
13856
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: '
|
|
13874
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), hAsync("div", { key: 'a48d39b7db769a39f58e4b399aa7bb1d15748934', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
13857
13875
|
}
|
|
13858
13876
|
static get style() { return sdPaginationCss(); }
|
|
13859
13877
|
static get cmpMeta() { return {
|
|
@@ -14099,7 +14117,7 @@ class SdPopup {
|
|
|
14099
14117
|
...DEFAULT_SUBMIT_BUTTON_PROPS,
|
|
14100
14118
|
...this.submitButtonProps,
|
|
14101
14119
|
};
|
|
14102
|
-
return (hAsync("div", { key: '
|
|
14120
|
+
return (hAsync("div", { key: '5593e53ba5d8c098c3a3fea4a4ca20769457e322', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, hAsync("header", { key: 'e940d310e28c6b5ec34cc46b1a0aa3c8d7c37aed', class: "sd-popup__header" }, hAsync("h2", { key: '367b21377987bb85ff453d05f314ac2cd76ac6be', class: "sd-popup__title" }, this.popupTitle)), hAsync("div", { key: '58c31c4d783cf957a6e84bc17f63a2ccb188c1e0', class: "sd-popup__body" }, hAsync("slot", { key: '712ccc5b1e2e3ba24757e8a0d258b8af40a1dcc8' })), this.useFooter && (hAsync("footer", { key: 'ff34ebe19afaceb1594726296245ec2a12ce2eec', class: "sd-popup__footer" }, hAsync("div", { key: 'cfefab877abd29701e17ed7381ace27db0198ab6', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, hAsync("slot", { key: '2947626fed14fba3778ddede7e1c8a868b7aba4a', name: "footer-left" })), hAsync("sd-button", { key: 'ed0b0d43812d5d2ca28993b0f8ff2363684a9016', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
|
|
14103
14121
|
}
|
|
14104
14122
|
static get style() { return sdPopupCss(); }
|
|
14105
14123
|
static get cmpMeta() { return {
|
|
@@ -14390,7 +14408,7 @@ class SdPortal {
|
|
|
14390
14408
|
this.close.emit();
|
|
14391
14409
|
}
|
|
14392
14410
|
render() {
|
|
14393
|
-
return hAsync("slot", { key: '
|
|
14411
|
+
return hAsync("slot", { key: '623ee5423b145701ba9dd801d44874214f7a76e3' });
|
|
14394
14412
|
}
|
|
14395
14413
|
static get watchers() { return {
|
|
14396
14414
|
"open": [{
|
|
@@ -15128,15 +15146,15 @@ class SdSelect {
|
|
|
15128
15146
|
this.closeDropdown();
|
|
15129
15147
|
},
|
|
15130
15148
|
};
|
|
15131
|
-
return (hAsync("sd-field", { key: '
|
|
15149
|
+
return (hAsync("sd-field", { key: '0864fe68a337d4bab526fa61570e856c8eff6d1c', 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: () => {
|
|
15132
15150
|
this.hovered = true;
|
|
15133
15151
|
}, onMouseLeave: () => {
|
|
15134
15152
|
this.hovered = false;
|
|
15135
|
-
} }, hAsync("div", { key: '
|
|
15153
|
+
} }, hAsync("div", { key: '781819ed75f47395e96fd6808766e6bb8c246fa5', class: "sd-select", ref: el => {
|
|
15136
15154
|
this.triggerRef = el;
|
|
15137
|
-
} }, hAsync("sd-select-trigger", { key: '
|
|
15155
|
+
} }, hAsync("sd-select-trigger", { key: '8cebad98f0cd4b333954a55857aec3fbb6f3d283', ref: el => {
|
|
15138
15156
|
this.triggerComponentRef = el;
|
|
15139
|
-
}, 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: '
|
|
15157
|
+
}, 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: 'fe68f0b01256e1c1d3200f9f5fd17c2adf97f0e0', ...portalProps }, hAsync("sd-select-listbox", { key: '98368524ef06a6d752f2313756a89ae6e8c05955', 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) })))));
|
|
15140
15158
|
}
|
|
15141
15159
|
static get watchers() { return {
|
|
15142
15160
|
"isOpen": [{
|
|
@@ -15397,7 +15415,7 @@ class SdSelectListItem {
|
|
|
15397
15415
|
return (
|
|
15398
15416
|
// 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
|
|
15399
15417
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events
|
|
15400
|
-
hAsync("div", { key: '
|
|
15418
|
+
hAsync("div", { key: 'ffd420e1d1a6ff395ed3fff94cbaba66f71644ac', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
|
|
15401
15419
|
'sd-select-list-item': true,
|
|
15402
15420
|
'sd-select-list-item--group': isGroup,
|
|
15403
15421
|
'sd-select-list-item--depth1-group': isDepth1Group,
|
|
@@ -15407,7 +15425,7 @@ class SdSelectListItem {
|
|
|
15407
15425
|
'sd-select-list-item--focused': this.isFocused,
|
|
15408
15426
|
'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
|
|
15409
15427
|
'sd-select-list-item--disabled': !!this.option.disabled,
|
|
15410
|
-
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '
|
|
15428
|
+
}, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (hAsync("sd-checkbox", { key: '4bc492e2021f255cb87344bd0498023b50d89c8a', 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: '34a7671fa3f6ec1bff7c302f02bb4bfd7a113ce5', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
|
|
15411
15429
|
}
|
|
15412
15430
|
static get style() { return sdSelectListItemCss(); }
|
|
15413
15431
|
static get cmpMeta() { return {
|
|
@@ -15479,15 +15497,15 @@ class SdSelectListItemSearch {
|
|
|
15479
15497
|
clearTimeout(this.debounceTimer);
|
|
15480
15498
|
}
|
|
15481
15499
|
render() {
|
|
15482
|
-
return (hAsync("div", { key: '
|
|
15500
|
+
return (hAsync("div", { key: 'e18205c606d8a47de3cd98be6ddad0c9a1ed4f5a', class: {
|
|
15483
15501
|
'sd-select-list-item-search': true,
|
|
15484
15502
|
'sd-select-list-item-search--scrolled': this.isScrolled,
|
|
15485
|
-
} }, hAsync("div", { key: '
|
|
15503
|
+
} }, hAsync("div", { key: '220a830db70628b4a240d19791db5090c6112cbf', class: "sd-select-list-item-search__inner" }, hAsync("sd-icon", { key: 'f7680be3c49045f318887a2cd955e84ee4ea6646', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), hAsync("input", { key: '94face3b593e33db6230ede587de77e5cb158774', ref: el => {
|
|
15486
15504
|
this.inputEl = el;
|
|
15487
|
-
}, 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: '
|
|
15505
|
+
}, 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: '38f9de8c7ebf98aea2ef03ce9ddbb03cb9f29f81', type: "button", class: {
|
|
15488
15506
|
'sd-select-list-item-search__clear': true,
|
|
15489
15507
|
'sd-select-list-item-search__clear--hidden': this.searchText === '',
|
|
15490
|
-
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: '
|
|
15508
|
+
}, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, hAsync("sd-icon", { key: 'fe32e9e44afbaa0f7ad07db665022839facbaf83', name: "close", size: 12, color: "#888888" })))));
|
|
15491
15509
|
}
|
|
15492
15510
|
static get style() { return sdSelectListItemSearchCss(); }
|
|
15493
15511
|
static get cmpMeta() { return {
|
|
@@ -15871,9 +15889,9 @@ class SdSelectListbox {
|
|
|
15871
15889
|
'--listbox-max-height': this.maxHeight ?? '260px',
|
|
15872
15890
|
'--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
|
|
15873
15891
|
};
|
|
15874
|
-
return (hAsync("div", { key: '
|
|
15892
|
+
return (hAsync("div", { key: 'bb8c7f22a164d29e30d2f9da7740883daef4fc27', class: "sd-select-listbox", style: cssVars }, this.showSearch && (hAsync("sd-select-list-item-search", { key: 'ac1b06b12ec20d2b9d57ca3b4074b3752b5da5e1', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), hAsync("div", { key: '2c7735e7098090762f573d63c2673d6face702c1', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
|
|
15875
15893
|
this.listEl = el;
|
|
15876
|
-
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '
|
|
15894
|
+
} }, this.showSelectAll && (hAsync("sd-select-list-item", { key: '5377511fd55f0d34056ad64707265dd2cc86afc4', 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) })))))));
|
|
15877
15895
|
}
|
|
15878
15896
|
static get watchers() { return {
|
|
15879
15897
|
"searchKeyword": [{
|
|
@@ -15962,7 +15980,7 @@ class SdSelectTrigger {
|
|
|
15962
15980
|
? SELECT_COLORS.icon.disabled
|
|
15963
15981
|
: SELECT_COLORS.icon.default,
|
|
15964
15982
|
};
|
|
15965
|
-
return (hAsync("div", { key: '
|
|
15983
|
+
return (hAsync("div", { key: 'b2f140907d6e4454a3adfb9d3dd9babd9058c178', ref: el => {
|
|
15966
15984
|
this.triggerEl = el;
|
|
15967
15985
|
}, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
|
|
15968
15986
|
'sd-select-trigger': true,
|
|
@@ -15973,7 +15991,7 @@ class SdSelectTrigger {
|
|
|
15973
15991
|
e.preventDefault();
|
|
15974
15992
|
this.handleClick();
|
|
15975
15993
|
}
|
|
15976
|
-
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '
|
|
15994
|
+
}, onFocus: this.handleFocus, onBlur: this.handleBlur }, hAsync("div", { key: '6803bc50c5f62dce1b1e9d874559f8ca5fca7b75', 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: '397264b3179fb6699c1ee5454f76ac9d0779488c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
|
|
15977
15995
|
'sd-select-trigger__icon': true,
|
|
15978
15996
|
'sd-select-trigger__icon--open': this.isOpen,
|
|
15979
15997
|
} }))));
|
|
@@ -16102,7 +16120,7 @@ class SdSwitch {
|
|
|
16102
16120
|
'--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
|
|
16103
16121
|
'--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
|
|
16104
16122
|
};
|
|
16105
|
-
return (hAsync("label", { key: '
|
|
16123
|
+
return (hAsync("label", { key: 'ae476f0bb6600cdb10bafd1a06ced3e60d50a2f6', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, hAsync("input", { key: '765320376e0cd0ec82b980a264b979c381907f75', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), hAsync("div", { key: 'f00db86513aa3da5c17a5a7e13d5928806a6fc0a', class: "sd-switch__track" }, hAsync("div", { key: '12f2f817acace26a8cbfc9075e0319f3e5c2ada4', class: "sd-switch__knob" })), this.label && hAsync("span", { key: '24598221b90e8ea9504ff80a464a10e3e5310e98', class: "sd-switch__label" }, this.label)));
|
|
16106
16124
|
}
|
|
16107
16125
|
static get style() { return sdSwitchCss(); }
|
|
16108
16126
|
static get cmpMeta() { return {
|
|
@@ -17070,25 +17088,25 @@ class SdTable {
|
|
|
17070
17088
|
'--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
|
|
17071
17089
|
'--table-host-height': hostHeight,
|
|
17072
17090
|
};
|
|
17073
|
-
return (hAsync(Host, { key: '
|
|
17091
|
+
return (hAsync(Host, { key: 'd080b561e43c55d34a5f1f6571991183ebdd39b7', style: hostStyle }, hAsync("div", { key: '0ef7831905dca8fde2bb8eb6cde81e1fd9706074', class: "sd-table__container", style: {
|
|
17074
17092
|
'--table-width': this.width,
|
|
17075
17093
|
'--pagination-height': `${paginationHeight}px`,
|
|
17076
|
-
} }, hAsync("div", { key: '
|
|
17094
|
+
} }, hAsync("div", { key: 'c6a836574f4b4c3cd72a3718061dcf727d1ec823', class: {
|
|
17077
17095
|
'sd-table__wrapper': true,
|
|
17078
17096
|
'sd-table__wrapper--radius-useTop': this.radius === 'useTop',
|
|
17079
17097
|
'sd-table__wrapper--radius-full': this.radius === 'full',
|
|
17080
|
-
} }, hAsync("div", { key: '
|
|
17098
|
+
} }, hAsync("div", { key: '8343d8c82c4575733254ad92c968fbbb1588af1f', class: {
|
|
17081
17099
|
'sd-table__scroll-container': true,
|
|
17082
17100
|
'sd-table__scroll-container--loading': this.isLoading,
|
|
17083
17101
|
'sd-table__scroll-container--no-data': isNoData,
|
|
17084
|
-
} }, this.isLoading && (hAsync("div", { key: '
|
|
17102
|
+
} }, this.isLoading && (hAsync("div", { key: 'a6e049c2c1f5f825d874f25e184efb1915713074', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, hAsync("sd-circle-progress", { key: 'ea110a9e185c3af02c9d0da3c2c36bd675952696', indeterminate: true }))), isNoData && (hAsync(hAsync.Fragment, null, hAsync("div", { key: '56861d20b5bd57ed3f43f5774e67cc4ae7e6c947', class: "sd-table__no-data-header-overlay" }), hAsync("div", { key: '19e463e0524b09ca72ba457b66f97dfd97fddf95', class: "sd-table__no-data" }, hAsync("div", { key: 'ed0c669a55a562772d37d89f7f332759a73fbab6', class: "sd-table__no-data-content", ref: el => {
|
|
17085
17103
|
this.noDataContentEl = el;
|
|
17086
17104
|
if (el)
|
|
17087
17105
|
this.syncNoDataContentObserver();
|
|
17088
|
-
} }, hAsync("slot", { key: '
|
|
17106
|
+
} }, hAsync("slot", { key: '06998e931804fb94b95df49a5c4b6c5976cefe41', name: "no-data" }, hAsync("span", { key: '4f639ae85d63f516f593f2d88d788f96ba7c538f' }, this.resolvedNoDataLabel)))))), hAsync("table", { key: 'a32058798111bfa84bf81279bcf424d2423cebfa', 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 &&
|
|
17089
17107
|
this.pagination.rowsPerPage > 0 &&
|
|
17090
17108
|
this.rowCount > 0 &&
|
|
17091
|
-
!this.useVirtualScroll && (hAsync("div", { key: '
|
|
17109
|
+
!this.useVirtualScroll && (hAsync("div", { key: '9d1c500b147c2b11ea2df7cb095d9b28527b6902', class: "sd-table__pagination" }, hAsync("sd-pagination", { key: 'c476d8326991890de9fd82311b0c90f0d4b92bb0', 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: '275dfb2c4c3bb4c76ce71c123795d967aa155bf8', value: this.useInternalPagination
|
|
17092
17110
|
? this.innerRowsPerPage
|
|
17093
17111
|
: this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
|
|
17094
17112
|
if (!this.isRowsPerPageValue(e.detail))
|
|
@@ -17399,7 +17417,7 @@ class SdTabs {
|
|
|
17399
17417
|
};
|
|
17400
17418
|
}
|
|
17401
17419
|
render() {
|
|
17402
|
-
return (hAsync("div", { key: '
|
|
17420
|
+
return (hAsync("div", { key: 'f43d5e2e441e11b57d488f8fe612a4e555006c2e', class: this.getContainerClasses(), style: this.buildCssVars() }, this.tabs.map((tab, index) => {
|
|
17403
17421
|
const badgeName = this.getBadgeName(tab);
|
|
17404
17422
|
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 => {
|
|
17405
17423
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
@@ -17649,7 +17667,7 @@ class SdTag {
|
|
|
17649
17667
|
const config = this.resolvedConfig;
|
|
17650
17668
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
17651
17669
|
const width = this.resolvedWidth;
|
|
17652
|
-
return (hAsync(Host, { key: '
|
|
17670
|
+
return (hAsync(Host, { key: '37bb1fefd51f583b0a9dde9fe46cf843a48e8e13', style: width != null ? { '--sd-tag-width': width } : undefined }, hAsync("span", { key: 'e996471849834802eaeff02abaadee1a2addac4f', class: "sd-tag", style: {
|
|
17653
17671
|
'--sd-tag-background': config.background,
|
|
17654
17672
|
'--sd-tag-content': config.content,
|
|
17655
17673
|
'--sd-tag-height': config.height,
|
|
@@ -17659,7 +17677,7 @@ class SdTag {
|
|
|
17659
17677
|
'--sd-tag-font-weight': config.fontWeight,
|
|
17660
17678
|
'--sd-tag-line-height': config.lineHeight,
|
|
17661
17679
|
'--sd-tag-radius': config.radius,
|
|
17662
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '
|
|
17680
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, hAsync("span", { key: '2e63073d1950046747521071ba5db5f9a404acef', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode)));
|
|
17663
17681
|
}
|
|
17664
17682
|
static get style() { return sdTagCss(); }
|
|
17665
17683
|
static get cmpMeta() { return {
|
|
@@ -17729,9 +17747,9 @@ class SdTbody {
|
|
|
17729
17747
|
}
|
|
17730
17748
|
}
|
|
17731
17749
|
render() {
|
|
17732
|
-
return (hAsync(Host, { key: '
|
|
17750
|
+
return (hAsync(Host, { key: 'e8d3873248658b9899e4daf1d6ffb1c60ad658e4', slot: `${this.tableId}-body` }, hAsync("tbody", { key: 'ae9617a588e45bce5ffaa50bc300fdd038b1db1e', class: { tbody: true } }, [
|
|
17733
17751
|
this.topSpacerHeight > 0 && (hAsync("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
17734
|
-
hAsync("slot", { key: '
|
|
17752
|
+
hAsync("slot", { key: '1bd8ca3179ad36584813c14e1df1c1c175fcf77b' }),
|
|
17735
17753
|
this.bottomSpacerHeight > 0 && (hAsync("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
17736
17754
|
])));
|
|
17737
17755
|
}
|
|
@@ -17915,7 +17933,7 @@ class SdTd {
|
|
|
17915
17933
|
}
|
|
17916
17934
|
}
|
|
17917
17935
|
render() {
|
|
17918
|
-
return (hAsync(Host, { key: '
|
|
17936
|
+
return (hAsync(Host, { key: '28d45d8cd629c6cdd826834cbae719fd7c851511', class: { [`align-${this.align}`]: Boolean(this.align) } }, hAsync("slot", { key: '0bab0005e4513464ad18698c111a55eb684434e9' })));
|
|
17919
17937
|
}
|
|
17920
17938
|
static get watchers() { return {
|
|
17921
17939
|
"field": [{
|
|
@@ -18334,7 +18352,7 @@ class SdTextarea {
|
|
|
18334
18352
|
'--sd-system-size-field-sm-height': 'auto',
|
|
18335
18353
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
18336
18354
|
};
|
|
18337
|
-
return (hAsync("sd-field", { key: '
|
|
18355
|
+
return (hAsync("sd-field", { key: 'dfa331524cbbac728c961c7a27d6c8dbd83853f4', 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: 'bd2d6d4b537364e28992971279d3278021b1ab5a', class: "sd-textarea__content" }, hAsync("textarea", { key: '270d55c84255a43153ed5f5cfdeed586c38d0cf1', 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 }))));
|
|
18338
18356
|
}
|
|
18339
18357
|
static get watchers() { return {
|
|
18340
18358
|
"value": [{
|
|
@@ -18634,16 +18652,16 @@ class SdThead {
|
|
|
18634
18652
|
'--table-border-color': TABLE_BORDER.color,
|
|
18635
18653
|
'--table-border-width': `${TABLE_BORDER.width}px`,
|
|
18636
18654
|
};
|
|
18637
|
-
return (hAsync(Host, { key: '
|
|
18655
|
+
return (hAsync(Host, { key: '89bb8a5873c480544cc6a298ca9738577469ae43', slot: `${this.tableId}-head`, style: headStyle }, hAsync("thead", { key: '390aad02b5e42bc39c9eb72091b1bcb54eae8098', class: {
|
|
18638
18656
|
'thead': true,
|
|
18639
18657
|
'thead--sticky': this._stickyHeader,
|
|
18640
|
-
} }, hAsync("tr", { key: '
|
|
18658
|
+
} }, hAsync("tr", { key: 'a5889ed5b9fe810590f1c1d869aa6b72dabe195b', class: "tr" }, this._selectable && (hAsync("th", { key: '8cf6b81cd5b02cf08597b1b4f8d1b858f10d9403', class: {
|
|
18641
18659
|
'th': true,
|
|
18642
18660
|
'th--selected': true,
|
|
18643
18661
|
'sticky-left': true,
|
|
18644
18662
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
18645
18663
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
18646
|
-
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '
|
|
18664
|
+
}, style: { '--sticky-left-offset': '0px' } }, hAsync("sd-checkbox", { key: '94b92d786fde6d5382e7955f97e54915597c04ad', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), hAsync("div", { key: 'fefd1a1de41b524e0525e60684bec2fb85ac9db6', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (hAsync("th", { key: col.name, class: {
|
|
18647
18665
|
'th': true,
|
|
18648
18666
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
18649
18667
|
'sticky-left': true,
|
|
@@ -18843,12 +18861,12 @@ class SdToast {
|
|
|
18843
18861
|
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
18844
18862
|
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
18845
18863
|
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
18846
|
-
return (hAsync("div", { key: '
|
|
18864
|
+
return (hAsync("div", { key: '3d7a3fe3647010a8a96246ef3cdbfdf1550c0a91', style: {
|
|
18847
18865
|
'--sd-toast-bg': typeConfig.bg,
|
|
18848
18866
|
'--sd-toast-text': typeConfig.content,
|
|
18849
18867
|
'--sd-toast-icon': iconColor,
|
|
18850
18868
|
'--sd-toast-link': linkColor,
|
|
18851
|
-
} }, hAsync("div", { key: '
|
|
18869
|
+
} }, hAsync("div", { key: 'a863ff763bced7656cedc69f3598b3371fc13059', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (hAsync("div", { key: '7606930ad68ab81543a719db8abb61055fdaf97d', class: "sd-toast__icon" }, hAsync("sd-icon", { key: '9b75fb05ab26ddab43b677482a026b5860613e07', name: this.icon, size: iconSize, color: iconColor }))), hAsync("div", { key: '5fb10f690ad560f0be74b5bf6afd288318e22082', class: "sd-toast__content" }, hAsync("span", { key: 'c474a5e1f215a19e47a89ba154f6149e0a875f61', class: "sd-toast__message" }, this.message)), this.link && (hAsync("a", { key: 'a0dcbba791c123776ccb6de62e169359777b3bd2', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (hAsync("sd-button", { key: 'b85f734cbe429207c028602b29bd5f7fa78f7910', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (hAsync("sd-ghost-button", { key: '09cb6b946c18c1c079b036799272d7bc7bdb6480', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
18852
18870
|
}
|
|
18853
18871
|
static get style() { return sdToastCss(); }
|
|
18854
18872
|
static get cmpMeta() { return {
|
|
@@ -19110,7 +19128,7 @@ class SdToastContainer {
|
|
|
19110
19128
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
19111
19129
|
const indexMap = new Map();
|
|
19112
19130
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
19113
|
-
return (hAsync("div", { key: '
|
|
19131
|
+
return (hAsync("div", { key: '1e9af4dd46dd901ba903518c1425ce0bc723e4b4', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
19114
19132
|
this.expanded = true;
|
|
19115
19133
|
this.pauseTimers();
|
|
19116
19134
|
}, onMouseLeave: () => {
|
|
@@ -19272,7 +19290,7 @@ class SdToggle {
|
|
|
19272
19290
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
19273
19291
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
19274
19292
|
};
|
|
19275
|
-
return (hAsync("label", { key: '
|
|
19293
|
+
return (hAsync("label", { key: 'b25e66cadfeee2714f137504ad49c8bf66622f60', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, hAsync("input", { key: '276f7411899bcb14db93a6f2b93cc51b5363e1c9', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
19276
19294
|
}
|
|
19277
19295
|
static get style() { return sdToggleCss(); }
|
|
19278
19296
|
static get cmpMeta() { return {
|
|
@@ -19460,7 +19478,7 @@ class SdTooltip {
|
|
|
19460
19478
|
const bodyHTML = this.message && this.message.length > 0
|
|
19461
19479
|
? this.message.map(line => `<div>${line}</div>`).join('')
|
|
19462
19480
|
: this.slotContentHTML;
|
|
19463
|
-
return (hAsync(Fragment, { key: '
|
|
19481
|
+
return (hAsync(Fragment, { key: 'cd0c166191a9f83a11891786cd246a268d50b349' }, hAsync("div", { key: '9e2872936629b886b779852c51f57874466edfb5', 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: '2db92e0d56a1a6cee04ab5f23f6bbe00fc279351', parentRef: anchorMode ? this.triggerEl : this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, hAsync("div", { key: 'a4635141d3e9aa630be80b2b6071a5ba16de257d', ref: el => (this.menuEl = el), class: {
|
|
19464
19482
|
'sd-floating-menu': true,
|
|
19465
19483
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
19466
19484
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -19468,7 +19486,7 @@ class SdTooltip {
|
|
|
19468
19486
|
}, style: {
|
|
19469
19487
|
'--sd-floating-bg': typeConfig.bg,
|
|
19470
19488
|
'--sd-floating-content': typeConfig.content,
|
|
19471
|
-
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: '
|
|
19489
|
+
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, hAsync("i", { key: 'cf7f3186dd7c9cbf001700bd29de05480e807533', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, hAsync(TooltipArrow, { key: '4aca7fbbc159bf61c9488a38431e0bcc40172446' })), hAsync("div", { key: 'ffa09626b16742e6d774944bf8536def2b250519', class: "sd-floating-menu__content", innerHTML: bodyHTML }), this.useClose && (hAsync("sd-ghost-button", { key: '934529cc6c8c4a46a09b7dd03baec6666029f169', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xxs", onClick: () => this.closeTooltip() })))))));
|
|
19472
19490
|
}
|
|
19473
19491
|
static get style() { return sdTooltipCss(); }
|
|
19474
19492
|
static get cmpMeta() { return {
|