@cscfi/csc-ui 3.0.0 → 3.0.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/c-autocomplete_34.cjs.entry.js +41 -41
- package/dist/cjs/c-backdrop.cjs.entry.js +31 -0
- package/dist/cjs/c-backdrop.cjs.entry.js.map +1 -0
- package/dist/cjs/c-backdrop.entry.cjs.js.map +1 -0
- package/dist/cjs/c-data-table.cjs.entry.js +1 -1
- package/dist/cjs/c-link.cjs.entry.js +1 -1
- package/dist/cjs/c-list-item-title.cjs.entry.js +1 -1
- package/dist/cjs/c-list-item.cjs.entry.js +3 -3
- package/dist/cjs/c-list-item.cjs.entry.js.map +1 -1
- package/dist/cjs/c-list-item.entry.cjs.js.map +1 -1
- package/dist/cjs/c-list.cjs.entry.js +4 -2
- package/dist/cjs/c-list.cjs.entry.js.map +1 -1
- package/dist/cjs/c-list.entry.cjs.js.map +1 -1
- package/dist/cjs/c-login-button.cjs.entry.js +1 -1
- package/dist/cjs/c-login-buttons.cjs.entry.js +1 -1
- package/dist/cjs/c-login-card-actions.cjs.entry.js +1 -1
- package/dist/cjs/c-login-card-content.cjs.entry.js +1 -1
- package/dist/cjs/c-login-card-title.cjs.entry.js +1 -1
- package/dist/cjs/c-login-card.cjs.entry.js +1 -1
- package/dist/cjs/c-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/c-modal.cjs.entry.js +29 -11
- package/dist/cjs/c-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/c-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/c-option-value.cjs.entry.js +1 -1
- package/dist/cjs/c-pagination.cjs.entry.js +1 -1
- package/dist/cjs/c-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/c-row.cjs.entry.js +1 -1
- package/dist/cjs/c-slider.cjs.entry.js +1 -1
- package/dist/cjs/c-status.cjs.entry.js +1 -1
- package/dist/cjs/c-step.cjs.entry.js +1 -1
- package/dist/cjs/c-steps.cjs.entry.js +1 -1
- package/dist/cjs/c-swiper-tab.cjs.entry.js +1 -1
- package/dist/cjs/c-swiper.cjs.entry.js +1 -1
- package/dist/cjs/c-tab-buttons.cjs.entry.js +1 -1
- package/dist/cjs/c-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/c-tab-items.cjs.entry.js +1 -1
- package/dist/cjs/c-tab.cjs.entry.js +1 -1
- package/dist/cjs/c-tabs.cjs.entry.js +1 -1
- package/dist/cjs/c-tag.cjs.entry.js +1 -1
- package/dist/cjs/c-tags.cjs.entry.js +1 -1
- package/dist/cjs/c-toast.cjs.entry.js +1 -1
- package/dist/cjs/c-toasts.cjs.entry.js +2 -2
- package/dist/cjs/csc-ui.cjs.js +1 -1
- package/dist/cjs/index-BTBT6v3v.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/c-backdrop/c-backdrop.css +60 -0
- package/dist/collection/components/c-backdrop/c-backdrop.js +64 -0
- package/dist/collection/components/c-backdrop/c-backdrop.js.map +1 -0
- package/dist/collection/components/c-badge/c-badge.js +1 -1
- package/dist/collection/components/c-button/c-button.js +1 -1
- package/dist/collection/components/c-card/c-card.js +1 -1
- package/dist/collection/components/c-card-actions/c-card-actions.js +1 -1
- package/dist/collection/components/c-card-content/c-card-content.js +1 -1
- package/dist/collection/components/c-card-title/c-card-title.js +1 -1
- package/dist/collection/components/c-checkbox/c-checkbox.js +1 -1
- package/dist/collection/components/c-csc-logo/c-csc-logo.js +2 -2
- package/dist/collection/components/c-data-table/c-data-table.js +1 -1
- package/dist/collection/components/c-dropdown/c-dropdown.js +2 -2
- package/dist/collection/components/c-icon/c-icon.js +2 -2
- package/dist/collection/components/c-icon-button/c-icon-button.js +1 -1
- package/dist/collection/components/c-input/c-input.js +2 -2
- package/dist/collection/components/c-link/c-link.js +1 -1
- package/dist/collection/components/c-list/c-list.css +12 -1
- package/dist/collection/components/c-list/c-list.js +23 -1
- package/dist/collection/components/c-list/c-list.js.map +1 -1
- package/dist/collection/components/c-list-item/c-list-item.css +1 -0
- package/dist/collection/components/c-list-item/c-list-item.js +2 -2
- package/dist/collection/components/c-list-item-title/c-list-item-title.js +1 -1
- package/dist/collection/components/c-loader/c-loader.js +1 -1
- package/dist/collection/components/c-login-button/c-login-button.js +1 -1
- package/dist/collection/components/c-login-buttons/c-login-buttons.js +1 -1
- package/dist/collection/components/c-login-card/c-login-card.js +1 -1
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +1 -1
- package/dist/collection/components/c-login-card-content/c-login-card-content.js +1 -1
- package/dist/collection/components/c-login-card-title/c-login-card-title.js +1 -1
- package/dist/collection/components/c-main/c-main.js +1 -1
- package/dist/collection/components/c-menu/c-menu.js +1 -1
- package/dist/collection/components/c-menu-items/c-menu-items.js +1 -1
- package/dist/collection/components/c-message/c-message.js +1 -1
- package/dist/collection/components/c-modal/c-modal.css +1 -26
- package/dist/collection/components/c-modal/c-modal.js +28 -10
- package/dist/collection/components/c-modal/c-modal.js.map +1 -1
- package/dist/collection/components/c-navigation-button/c-navigation-button.js +1 -1
- package/dist/collection/components/c-option/c-option.js +1 -1
- package/dist/collection/components/c-option-value/c-option-value.js +1 -1
- package/dist/collection/components/c-otp-input/c-otp-input.js +2 -2
- package/dist/collection/components/c-page/c-page.js +1 -1
- package/dist/collection/components/c-pagination/c-pagination.js +1 -1
- package/dist/collection/components/c-progress-bar/c-progress-bar.js +1 -1
- package/dist/collection/components/c-radio/c-radio.js +1 -1
- package/dist/collection/components/c-radio-group/c-radio-group.js +1 -1
- package/dist/collection/components/c-ripple/c-ripple.js +1 -1
- package/dist/collection/components/c-row/c-row.js +1 -1
- package/dist/collection/components/c-select/c-select.js +2 -2
- package/dist/collection/components/c-side-navigation/c-side-navigation.js +2 -2
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +2 -2
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +1 -1
- package/dist/collection/components/c-slider/c-slider.js +1 -1
- package/dist/collection/components/c-spacer/c-spacer.js +1 -1
- package/dist/collection/components/c-spinner/c-spinner.js +1 -1
- package/dist/collection/components/c-status/c-status.js +1 -1
- package/dist/collection/components/c-step/c-step.js +1 -1
- package/dist/collection/components/c-steps/c-steps.js +1 -1
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +1 -1
- package/dist/collection/components/c-swiper/c-swiper.js +1 -1
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +1 -1
- package/dist/collection/components/c-switch/c-switch.js +1 -1
- package/dist/collection/components/c-tab/c-tab.js +1 -1
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +1 -1
- package/dist/collection/components/c-tab-item/c-tab-item.js +1 -1
- package/dist/collection/components/c-tab-items/c-tab-items.js +1 -1
- package/dist/collection/components/c-table/c-table.js +1 -1
- package/dist/collection/components/c-tabs/c-tabs.js +1 -1
- package/dist/collection/components/c-tag/c-tag.js +1 -1
- package/dist/collection/components/c-tags/c-tags.js +1 -1
- package/dist/collection/components/c-text-field/c-text-field.js +1 -1
- package/dist/collection/components/c-toast/c-toast.js +1 -1
- package/dist/collection/components/c-toasts/c-toasts.js +2 -2
- package/dist/collection/components/c-toolbar/c-toolbar.js +1 -1
- package/dist/components/c-accordion-item.js +1 -1
- package/dist/components/c-autocomplete.js +8 -8
- package/dist/components/c-backdrop.d.ts +11 -0
- package/dist/components/c-backdrop.js +9 -0
- package/dist/components/c-backdrop.js.map +1 -0
- package/dist/components/c-badge.js +1 -1
- package/dist/components/c-button.js +3 -3
- package/dist/components/c-card-actions.js +1 -1
- package/dist/components/c-card-content.js +1 -1
- package/dist/components/c-card-title.js +1 -1
- package/dist/components/c-card.js +6 -6
- package/dist/components/c-checkbox.js +1 -1
- package/dist/components/c-csc-logo.js +2 -2
- package/dist/components/c-data-table.js +12 -12
- package/dist/components/c-dropdown.js +1 -1
- package/dist/components/c-icon-button.js +1 -1
- package/dist/components/c-icon.js +1 -1
- package/dist/components/c-input.js +1 -1
- package/dist/components/c-link.js +1 -1
- package/dist/components/c-list-item-title.js +1 -1
- package/dist/components/c-list-item.js +4 -4
- package/dist/components/c-list-item.js.map +1 -1
- package/dist/components/c-list.js +6 -3
- package/dist/components/c-list.js.map +1 -1
- package/dist/components/c-loader.js +1 -1
- package/dist/components/c-login-button.js +1 -1
- package/dist/components/c-login-buttons.js +1 -1
- package/dist/components/c-login-card-actions.js +2 -2
- package/dist/components/c-login-card-content.js +1 -1
- package/dist/components/c-login-card-title.js +1 -1
- package/dist/components/c-login-card.js +1 -1
- package/dist/components/c-main.js +1 -1
- package/dist/components/c-menu-items.js +1 -1
- package/dist/components/c-menu.js +1 -1
- package/dist/components/c-message.js +1 -1
- package/dist/components/c-modal.js +36 -12
- package/dist/components/c-modal.js.map +1 -1
- package/dist/components/c-navigation-button.js +6 -6
- package/dist/components/c-option-value.js +1 -1
- package/dist/components/c-option.js +1 -1
- package/dist/components/c-otp-input.js +3 -3
- package/dist/components/c-page.js +1 -1
- package/dist/components/c-pagination.js +1 -1
- package/dist/components/c-progress-bar.js +1 -1
- package/dist/components/c-radio-group.js +3 -3
- package/dist/components/c-radio.js +1 -1
- package/dist/components/c-ripple.js +1 -1
- package/dist/components/c-row.js +1 -1
- package/dist/components/c-select.js +10 -10
- package/dist/components/c-side-navigation-item.js +5 -5
- package/dist/components/c-side-navigation-title.js +1 -1
- package/dist/components/c-side-navigation.js +7 -7
- package/dist/components/c-slider.js +1 -1
- package/dist/components/c-spacer.js +1 -1
- package/dist/components/c-spinner.js +1 -1
- package/dist/components/c-status.js +1 -1
- package/dist/components/c-step.js +1 -1
- package/dist/components/c-steps.js +1 -1
- package/dist/components/c-sub-navigation-item.js +3 -3
- package/dist/components/c-swiper-tab.js +2 -2
- package/dist/components/c-swiper.js +5 -5
- package/dist/components/c-switch.js +2 -2
- package/dist/components/c-tab-buttons.js +1 -1
- package/dist/components/c-tab-item.js +1 -1
- package/dist/components/c-tab-items.js +1 -1
- package/dist/components/c-tab.js +2 -2
- package/dist/components/c-table.js +1 -1
- package/dist/components/c-tabs.js +6 -6
- package/dist/components/c-tag.js +6 -6
- package/dist/components/c-tags.js +1 -1
- package/dist/components/c-text-field.js +3 -3
- package/dist/components/c-toast.js +1 -1
- package/dist/components/c-toasts.js +4 -4
- package/dist/components/c-toolbar.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-DMyf0l0a.js → p-B-GTME5E.js} +5 -5
- package/dist/components/{p-DMyf0l0a.js.map → p-B-GTME5E.js.map} +1 -1
- package/dist/components/{p-BNTLEJuU.js → p-BAiDvAZH.js} +4 -4
- package/dist/components/{p-BNTLEJuU.js.map → p-BAiDvAZH.js.map} +1 -1
- package/dist/components/{p-ZSg3PiFP.js → p-BUcGIY5c.js} +3 -3
- package/dist/components/{p-ZSg3PiFP.js.map → p-BUcGIY5c.js.map} +1 -1
- package/dist/components/{p-D9gvC95b.js → p-BYbFnpva.js} +4 -4
- package/dist/components/{p-D9gvC95b.js.map → p-BYbFnpva.js.map} +1 -1
- package/dist/components/{p-DGdsW93C.js → p-Bvm7zYsQ.js} +6 -6
- package/dist/components/{p-DGdsW93C.js.map → p-Bvm7zYsQ.js.map} +1 -1
- package/dist/components/{p-BzwancQj.js → p-BxBOCrL_.js} +3 -3
- package/dist/components/{p-BzwancQj.js.map → p-BxBOCrL_.js.map} +1 -1
- package/dist/components/{p-DraoqTdA.js → p-CFKNgBS9.js} +3 -3
- package/dist/components/{p-DraoqTdA.js.map → p-CFKNgBS9.js.map} +1 -1
- package/dist/components/{p-f_cvPPav.js → p-ChRag9Cq.js} +3 -3
- package/dist/components/{p-f_cvPPav.js.map → p-ChRag9Cq.js.map} +1 -1
- package/dist/components/{p-DU0xbE4n.js → p-Cmy8x1XB.js} +4 -4
- package/dist/components/{p-DU0xbE4n.js.map → p-Cmy8x1XB.js.map} +1 -1
- package/dist/components/{p-CwiOAnly.js → p-Cv2W5q7M.js} +5 -5
- package/dist/components/{p-CwiOAnly.js.map → p-Cv2W5q7M.js.map} +1 -1
- package/dist/components/p-D99sVq9W.js +49 -0
- package/dist/components/p-D99sVq9W.js.map +1 -0
- package/dist/components/{p-CcFX_6XU.js → p-DIuWEWhF.js} +5 -5
- package/dist/components/{p-CcFX_6XU.js.map → p-DIuWEWhF.js.map} +1 -1
- package/dist/components/{p-B5KJEPWo.js → p-DKhrqMh8.js} +3 -3
- package/dist/components/{p-B5KJEPWo.js.map → p-DKhrqMh8.js.map} +1 -1
- package/dist/components/{p-DClw-uw5.js → p-DX6GfaSG.js} +3 -3
- package/dist/components/{p-DClw-uw5.js.map → p-DX6GfaSG.js.map} +1 -1
- package/dist/components/{p-B4mQw88K.js → p-DeeeJrXJ.js} +5 -5
- package/dist/components/{p-B4mQw88K.js.map → p-DeeeJrXJ.js.map} +1 -1
- package/dist/components/{p-idn52V5b.js → p-DjjLlh1Q.js} +10 -10
- package/dist/components/{p-idn52V5b.js.map → p-DjjLlh1Q.js.map} +1 -1
- package/dist/components/{p-DJIQZPuJ.js → p-ExNJeaZY.js} +3 -3
- package/dist/components/{p-DJIQZPuJ.js.map → p-ExNJeaZY.js.map} +1 -1
- package/dist/csc-ui/c-backdrop.entry.esm.js.map +1 -0
- package/dist/csc-ui/c-list-item.entry.esm.js.map +1 -1
- package/dist/csc-ui/c-list.entry.esm.js.map +1 -1
- package/dist/csc-ui/c-modal.entry.esm.js.map +1 -1
- package/dist/csc-ui/csc-ui.esm.js +1 -1
- package/dist/csc-ui/{p-05666581.entry.js → p-0bab4741.entry.js} +2 -2
- package/dist/csc-ui/{p-26e226e7.entry.js → p-0bf2ca66.entry.js} +2 -2
- package/dist/csc-ui/p-0ce74b50.entry.js +2 -0
- package/dist/csc-ui/{p-07b8b991.entry.js → p-18e0bac0.entry.js} +2 -2
- package/dist/csc-ui/{p-275a9425.entry.js → p-1963c292.entry.js} +2 -2
- package/dist/csc-ui/p-2113737d.entry.js +2 -0
- package/dist/csc-ui/p-2113737d.entry.js.map +1 -0
- package/dist/csc-ui/{p-992dbc05.entry.js → p-2659814c.entry.js} +2 -2
- package/dist/csc-ui/{p-a79376b3.entry.js → p-294c51c0.entry.js} +2 -2
- package/dist/csc-ui/{p-12651740.entry.js → p-35136773.entry.js} +2 -2
- package/dist/csc-ui/{p-b75ba76f.entry.js → p-3b8431a3.entry.js} +2 -2
- package/dist/csc-ui/p-3d8aa031.entry.js +2 -0
- package/dist/csc-ui/p-3d8aa031.entry.js.map +1 -0
- package/dist/csc-ui/{p-b3434cc8.entry.js → p-3ffb48e3.entry.js} +2 -2
- package/dist/csc-ui/{p-7546b021.entry.js → p-42f25668.entry.js} +2 -2
- package/dist/csc-ui/{p-3e87abf7.entry.js → p-55c851c7.entry.js} +2 -2
- package/dist/csc-ui/{p-3a23ab2a.entry.js → p-5b10d5e5.entry.js} +2 -2
- package/dist/csc-ui/p-5d7cb21b.entry.js +2 -0
- package/dist/csc-ui/{p-c0a739b8.entry.js → p-6c3f75f1.entry.js} +2 -2
- package/dist/csc-ui/{p-e8896c6d.entry.js → p-71d271a9.entry.js} +2 -2
- package/dist/csc-ui/{p-ca4de09e.entry.js → p-7323c19f.entry.js} +2 -2
- package/dist/csc-ui/p-732e7114.entry.js +2 -0
- package/dist/csc-ui/{p-3ccc54eb.entry.js → p-7b8caa28.entry.js} +2 -2
- package/dist/csc-ui/{p-0d6435bb.entry.js → p-7dcaf7e2.entry.js} +2 -2
- package/dist/csc-ui/{p-38d70183.entry.js → p-8ced935d.entry.js} +2 -2
- package/dist/csc-ui/{p-08576024.entry.js → p-97f3194f.entry.js} +2 -2
- package/dist/csc-ui/p-9fff794f.entry.js +2 -0
- package/dist/csc-ui/{p-0c220c58.entry.js.map → p-9fff794f.entry.js.map} +1 -1
- package/dist/csc-ui/{p-7c7d4f1f.entry.js → p-a4d10c24.entry.js} +2 -2
- package/dist/csc-ui/p-aec6b36e.entry.js +2 -0
- package/dist/csc-ui/p-aec6b36e.entry.js.map +1 -0
- package/dist/csc-ui/{p-a00d3149.entry.js → p-b92fa51d.entry.js} +2 -2
- package/dist/csc-ui/{p-edfef89b.entry.js → p-c74c234c.entry.js} +2 -2
- package/dist/csc-ui/p-cf835443.entry.js +2 -0
- package/dist/csc-ui/p-cf835443.entry.js.map +1 -0
- package/dist/csc-ui/{p-5f22c6dd.entry.js → p-ee61b0f5.entry.js} +2 -2
- package/dist/csc-ui/{p-855c6c9b.entry.js → p-f23b3ee3.entry.js} +2 -2
- package/dist/csc-ui/{p-32f778ef.entry.js → p-f938bf7f.entry.js} +2 -2
- package/dist/csc-ui/{p-4b2edac8.entry.js → p-fb91bce3.entry.js} +2 -2
- package/dist/esm/c-autocomplete_34.entry.js +41 -41
- package/dist/esm/c-backdrop.entry.js +29 -0
- package/dist/esm/c-backdrop.entry.js.map +1 -0
- package/dist/esm/c-data-table.entry.js +1 -1
- package/dist/esm/c-link.entry.js +1 -1
- package/dist/esm/c-list-item-title.entry.js +1 -1
- package/dist/esm/c-list-item.entry.js +3 -3
- package/dist/esm/c-list-item.entry.js.map +1 -1
- package/dist/esm/c-list.entry.js +4 -2
- package/dist/esm/c-list.entry.js.map +1 -1
- package/dist/esm/c-login-button.entry.js +1 -1
- package/dist/esm/c-login-buttons.entry.js +1 -1
- package/dist/esm/c-login-card-actions.entry.js +1 -1
- package/dist/esm/c-login-card-content.entry.js +1 -1
- package/dist/esm/c-login-card-title.entry.js +1 -1
- package/dist/esm/c-login-card.entry.js +1 -1
- package/dist/esm/c-menu_2.entry.js +2 -2
- package/dist/esm/c-modal.entry.js +29 -11
- package/dist/esm/c-modal.entry.js.map +1 -1
- package/dist/esm/c-option-value.entry.js +1 -1
- package/dist/esm/c-pagination.entry.js +1 -1
- package/dist/esm/c-progress-bar.entry.js +1 -1
- package/dist/esm/c-row.entry.js +1 -1
- package/dist/esm/c-slider.entry.js +1 -1
- package/dist/esm/c-status.entry.js +1 -1
- package/dist/esm/c-step.entry.js +1 -1
- package/dist/esm/c-steps.entry.js +1 -1
- package/dist/esm/c-swiper-tab.entry.js +1 -1
- package/dist/esm/c-swiper.entry.js +1 -1
- package/dist/esm/c-tab-buttons.entry.js +1 -1
- package/dist/esm/c-tab-item.entry.js +1 -1
- package/dist/esm/c-tab-items.entry.js +1 -1
- package/dist/esm/c-tab.entry.js +1 -1
- package/dist/esm/c-tabs.entry.js +1 -1
- package/dist/esm/c-tag.entry.js +1 -1
- package/dist/esm/c-tags.entry.js +1 -1
- package/dist/esm/c-toast.entry.js +1 -1
- package/dist/esm/c-toasts.entry.js +2 -2
- package/dist/esm/csc-ui.js +1 -1
- package/dist/esm/index-gSzSMY-c.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/c-backdrop/c-backdrop.d.ts +6 -0
- package/dist/types/components/c-list/c-list.d.ts +1 -0
- package/dist/types/components/c-modal/c-modal.d.ts +2 -0
- package/dist/types/components.d.ts +41 -0
- package/package.json +1 -1
- package/vscode-data.json +17 -0
- package/dist/csc-ui/p-01cab4b0.entry.js +0 -2
- package/dist/csc-ui/p-0c220c58.entry.js +0 -2
- package/dist/csc-ui/p-2821c17e.entry.js +0 -2
- package/dist/csc-ui/p-2821c17e.entry.js.map +0 -1
- package/dist/csc-ui/p-5e779d4e.entry.js +0 -2
- package/dist/csc-ui/p-603ef97a.entry.js +0 -2
- package/dist/csc-ui/p-603ef97a.entry.js.map +0 -1
- package/dist/csc-ui/p-d18aed8c.entry.js +0 -2
- package/dist/csc-ui/p-f504299e.entry.js +0 -2
- package/dist/csc-ui/p-f504299e.entry.js.map +0 -1
- /package/dist/csc-ui/{p-05666581.entry.js.map → p-0bab4741.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-26e226e7.entry.js.map → p-0bf2ca66.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-5e779d4e.entry.js.map → p-0ce74b50.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-07b8b991.entry.js.map → p-18e0bac0.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-275a9425.entry.js.map → p-1963c292.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-992dbc05.entry.js.map → p-2659814c.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-a79376b3.entry.js.map → p-294c51c0.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-12651740.entry.js.map → p-35136773.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-b75ba76f.entry.js.map → p-3b8431a3.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-b3434cc8.entry.js.map → p-3ffb48e3.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-7546b021.entry.js.map → p-42f25668.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3e87abf7.entry.js.map → p-55c851c7.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3a23ab2a.entry.js.map → p-5b10d5e5.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-01cab4b0.entry.js.map → p-5d7cb21b.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-c0a739b8.entry.js.map → p-6c3f75f1.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-e8896c6d.entry.js.map → p-71d271a9.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-ca4de09e.entry.js.map → p-7323c19f.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-d18aed8c.entry.js.map → p-732e7114.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-3ccc54eb.entry.js.map → p-7b8caa28.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-0d6435bb.entry.js.map → p-7dcaf7e2.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-38d70183.entry.js.map → p-8ced935d.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-08576024.entry.js.map → p-97f3194f.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-7c7d4f1f.entry.js.map → p-a4d10c24.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-a00d3149.entry.js.map → p-b92fa51d.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-edfef89b.entry.js.map → p-c74c234c.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-5f22c6dd.entry.js.map → p-ee61b0f5.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-855c6c9b.entry.js.map → p-f23b3ee3.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-32f778ef.entry.js.map → p-f938bf7f.entry.js.map} +0 -0
- /package/dist/csc-ui/{p-4b2edac8.entry.js.map → p-fb91bce3.entry.js.map} +0 -0
|
@@ -279,7 +279,7 @@ const CBadge = class {
|
|
|
279
279
|
index.registerInstance(this, hostRef);
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
|
-
return (index.h(index.Host, { key: '
|
|
282
|
+
return (index.h(index.Host, { key: '3963ab0b3a1af4c620a911b6b39feadc4b8a80e8', class: "c-badge" }, index.h("slot", { key: 'c59c16a8221651f83bd29b3cc46f161ded227481' })));
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
CBadge.style = cBadgeCss;
|
|
@@ -413,7 +413,7 @@ const CButton = class {
|
|
|
413
413
|
default: 24,
|
|
414
414
|
large: 28,
|
|
415
415
|
};
|
|
416
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
416
|
+
return (index.h(index.Host, Object.assign({ key: '7f77ac07c94062c486b38caf086e3f892451c801', class: hostClasses }, hostAttributes), index.h(Tag, Object.assign({ key: '37a2304333edb9d3f41edaebc89c5bb1eb0ca680' }, attributes, linkAttributes), index.h("div", { key: '9d1afeb3f859959cc0e54486c19de9e88047ca16', class: contentClasses, ref: (el) => (this._container = el) }, index.h("div", { key: '4650eaf1d1b7dbf17c69f04ead530ba4c22afd5b', class: innerClasses }, this.loading && (index.h("div", { key: '54d911e3704befb2b6ca22178ad2e7138c603319', class: "c-button__loader" }, index.h("c-spinner", { key: 'e5441cb69c533feca29bfaa5c9f88e77f9ab0ebe', color: "var(--_c-button-loader-color)", size: spinnerSizes[this.size] }))), index.h("slot", { key: '0627278d9d5273a172736d54e1b7a920c0f7869e' })), this._containerhasDescriptionSlot && (index.h("div", { key: '3c8285d6f0569741a0ce6b69f4ee3b485c792bcb', class: descriptionSlotClasses }, index.h("slot", { key: '3a97d707d8b3e4614fdd499422eb271eb7f00675', name: "description" })))), index.h("c-ripple", { key: 'e7bfc00178c33e522ead44c13e45754f2deab22f', ref: (el) => (this._rippleElement = el) }))));
|
|
417
417
|
}
|
|
418
418
|
get hostElement() { return index.getElement(this); }
|
|
419
419
|
};
|
|
@@ -472,7 +472,7 @@ const CCard = class {
|
|
|
472
472
|
'c-card': true,
|
|
473
473
|
'c-card--fullscreen': this.isFullscreen,
|
|
474
474
|
};
|
|
475
|
-
return (index.h(index.Host, { key: '
|
|
475
|
+
return (index.h(index.Host, { key: '4b8b56fe9d14b6146e03600a4dc20edfca745c30', class: hostClasses }, index.h("article", { key: '2a22228619e1317311639dfcb9f41e2267dd1ec5' }, this.fullscreen && (index.h("c-icon-button", { key: '6c6ffc4abd4b7956633d65ca93048d37f83e8bbb', "aria-hidden": "true", class: "c-card__fullscreen-toggle", title: this.isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen', text: true, onClick: () => this._onFullscreen() }, index.h("c-icon", { key: 'b23ab9eeb9d5202b0bd2737f5e3a122301b8ac5a', path: this.isFullscreen ? mdi.mdiFullscreenExit : mdi.mdiFullscreen }))), index.h("slot", { key: '484f61f84cb4b87dadae63fcaa39f675b68cd7c9' }))));
|
|
476
476
|
}
|
|
477
477
|
static get assetsDirs() { return ["assets"]; }
|
|
478
478
|
get host() { return index.getElement(this); }
|
|
@@ -493,7 +493,7 @@ const CCardActions = class {
|
|
|
493
493
|
[`c-card-actions--align-${this.align}`]: true,
|
|
494
494
|
[`c-card-actions--justify-${this.justify}`]: true,
|
|
495
495
|
};
|
|
496
|
-
return (index.h("footer", { key: '
|
|
496
|
+
return (index.h("footer", { key: '1644d83ad19add11566841822b6da6328e563ec9' }, index.h("menu", { key: '33ec53400fa5bcacbcaf9cd8a8c57b75f9079658', class: classes }, index.h("slot", { key: '412960bdda2bdc07b1c94158f410736e453fb005' }))));
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
499
|
CCardActions.style = cCardActionsCss;
|
|
@@ -505,7 +505,7 @@ const CCardContent = class {
|
|
|
505
505
|
index.registerInstance(this, hostRef);
|
|
506
506
|
}
|
|
507
507
|
render() {
|
|
508
|
-
return (index.h("article", { key: '
|
|
508
|
+
return (index.h("article", { key: 'ed7ad9f7ab6b9211b2d02888599dcb41658581fd', class: "c-card-content" }, index.h("slot", { key: '49072df222e460faf163f8a5a6888b30f485b8b4' })));
|
|
509
509
|
}
|
|
510
510
|
};
|
|
511
511
|
CCardContent.style = cCardContentCss;
|
|
@@ -544,7 +544,7 @@ const CCardTitle = class {
|
|
|
544
544
|
'c-card-title': true,
|
|
545
545
|
'c-card-title--actions': this._slotHasContent,
|
|
546
546
|
};
|
|
547
|
-
return (index.h("header", { key: '
|
|
547
|
+
return (index.h("header", { key: '6b04a629aedb1b4ce20a2b69d8dc368136dec145', class: classes, ref: (el) => (this._wrapperElement = el) }, index.h("div", { key: '1b8692120812342e0c8e9c958e35f1b38986663a', class: "c-card-title__header", ref: (el) => (this._headerElement = el) }, index.h("p", { key: '434a56c1688b75ca2255fe32221093e5e07c0cad' }, index.h("slot", { key: 'e2b95da5d429b5db8884178aaeea0ea5dade84f1' })), index.h("div", { key: 'dec81bab9565102d5864e29ebb6c5a5482256084', class: "c-card-title__underline" })), this._slotHasContent && (index.h("div", { key: '590b526965be76062c687251b7ad952ae8d8de33', class: "c-card-title__actions", ref: (el) => (this._actionsElement = el) }, index.h("slot", { key: '6f8cd9bb5f927c37ad7ba9c28110421b73cda137', name: "actions" })))));
|
|
548
548
|
}
|
|
549
549
|
get hostElement() { return index.getElement(this); }
|
|
550
550
|
};
|
|
@@ -607,7 +607,7 @@ const CCheckbox = class {
|
|
|
607
607
|
'c-checkbox__label--indeterminate': this.indeterminate,
|
|
608
608
|
};
|
|
609
609
|
const slotHasContent = !!this.el.childNodes.length;
|
|
610
|
-
return (index.h(index.Host, { key: '
|
|
610
|
+
return (index.h(index.Host, { key: '37a29669106062862504ac3a7ba3136b647dc782' }, index.h("div", { key: '57f94dfa9e4dc4824c636b83078cafa07ddb7e57', class: wrapperClasses }, index.h("input", Object.assign({ key: '7f500b76cdf5a670421b6fd40389bbebe54986c1', class: "visuallyhidden", id: "checkbox" }, (!!this.hostName ? { name: this.hostName } : {}), { type: "checkbox", "aria-checked": this.checked.toString(), "aria-disabled": this.disabled.toString(), checked: this.checked ? true : undefined, disabled: this.disabled, onChange: (event) => this._toggleState(event) })), index.h("label", { key: '13018b4864a12f1feb2c581ad36f1d49aedc5187', class: labelClasses, htmlFor: "checkbox" }, index.h("div", { key: 'cf55a92618d6465b0a43daa630eeb78b25f22bb9', class: "ripple", ref: (el) => (this._container = el) }, index.h("svg", { key: '9f5340efb2b322a088c1c40fc631b87bba0c5c2e', viewBox: "0 0 100 100" }, !this.indeterminate && this.checked && (index.h("path", { key: 'a8747aeb960e6e4348295f0dfb1d3c40e0804330', class: "path", d: "M 12 52 l 24 24 l 47 -47 l -3 -3 l -44 44 l -21 -21 l -3 3" })), this.indeterminate && (index.h("path", { key: 'e3e052055f0af88db6c6ceefed4ec5e26d693a4f', class: "path", d: "M20 56 h60 v-8 h-60 z" }))), index.h("c-ripple", { key: '1a7b5ae4bb1585a9234c9935d2b2909ac2a360c6', ref: (el) => (this._rippleElement = el) })), (!!this.label || slotHasContent) && (index.h("div", { key: 'b6c36d355ddbe3e720433b974aeab194782ba0df', class: "c-checkbox__label-content" }, !!this.label ? this.label : index.h("slot", null), this.required && index.h("span", { key: '788a37acbe1c8856c513e4ebbcebf4ed6288f14c', class: "required" }, "\u00A0*"))))), !this.hideDetails && (index.h("c-message", { key: 'd35b6c31b8381d265d3b0370ae4defc22fbbe4d3', hint: this.hint, inputId: this._id, valid: this.valid, validation: this.validation }))));
|
|
611
611
|
}
|
|
612
612
|
static get formAssociated() { return true; }
|
|
613
613
|
get el() { return index.getElement(this); }
|
|
@@ -626,8 +626,8 @@ const CCscLogo = class {
|
|
|
626
626
|
this.width = 60;
|
|
627
627
|
}
|
|
628
628
|
render() {
|
|
629
|
-
const svg = (index.h("svg", { key: '
|
|
630
|
-
return index.h(index.Host, { key: '
|
|
629
|
+
const svg = (index.h("svg", { key: '54b3971843697a7c488eecbdfd2c265d873d111c', viewBox: "0 0 233.61 149.04" }, index.h("defs", { key: '5d8813b912482249b2a92d5352bdd4c388653ea5' }, index.h("clipPath", { key: '780df41999a1f301e52eab76ca25032ac4160bad', id: "clip-path", transform: "translate(0)" }, index.h("rect", { key: '158ed01600357bc8439c81eb0bb5f4aee1728750', class: "cls-1", width: "233.61", height: "156.31" }))), index.h("title", { key: 'b24be3c26bd98f144630cbda0e2f443faa746c34' }, "CSC_logo_no_tagline"), index.h("g", { key: 'a3d3edf81ed68ee9f8a2221bb127699ba8a8a51c', id: "Layer_2", "data-name": "Layer 2" }, index.h("g", { key: '0a719f1c94b0dffac3a1c2ae07320f03e16af0f8', id: "Layer_1-2", "data-name": "Layer 1" }, index.h("g", { key: 'f324e345d34987a00d3aee1ea823642c5f134269', class: "cls-2" }, index.h("path", { key: '530ac028c3477b9719d71dfbf7c1921b81fdb8c7', class: "cls-3", d: "M97.24,130.66l-.27-.17a.69.69,0,0,1-.44.19,14.57,14.57,0,0,1-1.87-1.07,9.29,9.29,0,0,0-4.46-1.06c-6,0-9.21,4.93-9.21,10.24S84.22,149,90.09,149c4.6,0,5.89-2.57,7-2.57a2.17,2.17,0,0,1,.25.05l.22-.11-2.44-3.34-.28.17a1.84,1.84,0,0,1,.06.41c0,1.34-2.36,2.71-4.64,2.65-4.33-.08-6.08-3.72-6.08-7.56s1.86-7.45,6-7.45c2.2,0,4.44,1.15,4.44,2.21,0,.25.06.41,0,.53l.33.13ZM108,146.72l.32.13a.75.75,0,0,1,.42-.22,12.54,12.54,0,0,0,7.62,2.41c4.32,0,7.28-2.49,7.28-6.19,0-8.14-11.86-4.17-11.86-8.6,0-1.7,1-3,4.11-3,2.41,0,5.26,1,5.26,2.49a.92.92,0,0,1,0,.3l.36.17,1.92-4.14-.28-.11a.85.85,0,0,1-.62.3,11.61,11.61,0,0,1-1.95-.88,11,11,0,0,0-4.5-.87c-4.33,0-7.4,2.08-7.4,5.8,0,7.82,11.76,3.68,11.76,8.67,0,2.27-1.65,3.28-4,3.28-2.77,0-6.11-1.53-6.11-3a1.89,1.89,0,0,1,0-.41l-.31-.17Zm42.56-16.06-.28-.17a.64.64,0,0,1-.43.19,14.57,14.57,0,0,1-1.87-1.07,9.3,9.3,0,0,0-4.47-1.06c-6,0-9.21,4.93-9.21,10.24S137.5,149,143.37,149c4.6,0,5.89-2.57,7-2.57a1.59,1.59,0,0,1,.24.05l.22-.11-2.44-3.34-.27.17a1.84,1.84,0,0,1,.05.41c0,1.34-2.35,2.71-4.63,2.65-4.33-.08-6.08-3.72-6.08-7.56s1.86-7.45,6-7.45c2.2,0,4.44,1.15,4.44,2.21a1.82,1.82,0,0,1,0,.53l.33.13Z", transform: "translate(0)" }), index.h("path", { key: 'e5ab27c608de5dca16ba12a7207e4a05ec3a9162', class: "cls-4", d: "M117.26,117.71s-2.66-.42-2.72-1.66c-2.41-54.33-7.39-52.22-111.82-54.33-2,0-2.72-2.87-2.72-2.87H117.26Z", transform: "translate(0)" }), index.h("path", { key: 'f88b5d04702af9f7baca86f3236eb17d97627be9', class: "cls-5", d: "M116.35,0s2.66.42,2.72,1.66C121.49,56,126.46,53.88,230.89,56c2,0,2.72,2.87,2.72,2.87H116.35Z", transform: "translate(0)" }))))));
|
|
630
|
+
return index.h(index.Host, { key: '559468796a8a599f194091b4920b4236765c11bc', style: { width: `${this.width}px` } }, svg);
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
CCscLogo.style = cCscLogoCss;
|
|
@@ -915,10 +915,10 @@ const CDropdown = class {
|
|
|
915
915
|
this._dialog.style.maxHeight = 42 * (this.itemsPerPage + 0.5) + 60 + 'px';
|
|
916
916
|
this._list.style.maxHeight = 42 * (this.itemsPerPage + 0.5) + 'px';
|
|
917
917
|
}
|
|
918
|
-
return (index.h(index.Host, { key: '
|
|
918
|
+
return (index.h(index.Host, { key: '92df10119e813e084e34d04b430d64e7bbf027ab' }, index.h("slot", { key: '57c0cc3863d1d898d0653418bc931e22c75322b2', name: "default" }), index.h("div", { key: 'c786bd8c35a6230a1274d68067be65b9f633f844', class: "dummy", ref: (el) => (this._dummyElement = el) }), index.h("dialog", { key: '4d0e6173342a3875b9f891af1b8997598b5865ab', tabindex: "-1", ref: (el) => (this._dialog = el), class: { mobile: this._isMobile }, onCancel: () => this.close() }, index.h("div", { key: '3566b957c7ddd6ac817a001280444c92a36433ad', onClick: (event) => event.stopPropagation() }, index.h("div", { key: '8a5cd1f5b9ad5324e6c7a06b2c0c1be1506f125e', id: 'announce-' + this.hostId, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: '888ebb8537cfca0e848cdcf8550346e2705d9889', class: "input-top-wrapper" }, index.h("slot", { key: 'bc5e880cb6232f90955bc12d92971895c55bcfc4', name: "input-top" })), index.h("ul", { key: '3285e8593a88daf4de7bde8ca24940fe150eea5f', ref: (el) => (this._list = el), id: `${this.hostId}--results`, role: "listbox", "aria-expanded": this.isOpen.toString(), class: { active: this.isOpen, mobile: this._isMobile }, tabindex: "-1" }, this.renderedList), index.h("div", { key: '1a7079dbee8a8ae2a68673bdaf3312e1a6c843b5', class: {
|
|
919
919
|
active: this._openedOnTop,
|
|
920
920
|
'input-bottom-wrapper': true,
|
|
921
|
-
} }, index.h("slot", { key: '
|
|
921
|
+
} }, index.h("slot", { key: 'e9bd11ae8c5b84962f4c0365ad674af4a6e12651', name: "input-bottom" }))))));
|
|
922
922
|
}
|
|
923
923
|
get el() { return index.getElement(this); }
|
|
924
924
|
static get watchers() { return {
|
|
@@ -941,10 +941,10 @@ const CIcon = class {
|
|
|
941
941
|
this._pathElement.setAttribute('d', this.host.dataset.path);
|
|
942
942
|
}
|
|
943
943
|
render() {
|
|
944
|
-
return (index.h(index.Host, { key: '
|
|
944
|
+
return (index.h(index.Host, { key: 'aedb1cb8be1da8bb924849f82431c080784d84a9', style: {
|
|
945
945
|
'--_c-icon-size': `${this.size}px`,
|
|
946
946
|
'--_c-icon-default-color': this.color,
|
|
947
|
-
}, "data-path": this.path }, index.h("svg", { key: '
|
|
947
|
+
}, "data-path": this.path }, index.h("svg", { key: '66ef058d96677566051d3f2057c5b83b932a74be', viewBox: "0 0 24 24" }, index.h("path", { key: '54798fa9bc0be6818bfedc1e5cbd5a5afa283c40', ref: (el) => (this._pathElement = el) }))));
|
|
948
948
|
}
|
|
949
949
|
get host() { return index.getElement(this); }
|
|
950
950
|
};
|
|
@@ -990,7 +990,7 @@ const CIconButton = class {
|
|
|
990
990
|
small: 20,
|
|
991
991
|
default: 24,
|
|
992
992
|
};
|
|
993
|
-
return (index.h(index.Host, { key: '
|
|
993
|
+
return (index.h(index.Host, { key: '7b9493a65af9c011287174ff9046eaf365d681eb', class: this._hostClasses() }, index.h("button", { key: 'bdb638941030862d65a715a97d0a9fa06bee1ca2', disabled: this.disabled, onClick: this._onClick }, index.h("div", { key: '07335d16aa5b535d65fefd8f6f411442cb24bc6e', class: "inner-container", ref: (el) => (this._container = el) }, this.loading && (index.h("c-spinner", { key: 'd9506ba5286d4acd1e7ff37797aef85ab93627b2', color: "var(--_c-icon-button-loader-color)", size: spinnerSizes[this.size] })), !this.loading && (index.h("slot", { key: '851b1bbc5424ec8c49491e63a1e3c34a6d40722f' }, this.path && (index.h("svg", { key: 'd7d20b55bd3bf581a827f482725f14081233f0a8', width: "24", height: "24", viewBox: "0 0 24 24" }, index.h("path", { key: '67ee591b7d91d79083360013b22ffcdce4357a9f', d: this.path })))))), this.badge && this._renderBadge(), index.h("c-ripple", { key: 'b2a8f77326ac01b2b5c99d66b73832ecd84171e3', ref: (el) => (this._rippleElement = el) }))));
|
|
994
994
|
}
|
|
995
995
|
};
|
|
996
996
|
CIconButton.style = cIconButtonCss;
|
|
@@ -1200,9 +1200,9 @@ const CInput = class {
|
|
|
1200
1200
|
filled: !!this.value,
|
|
1201
1201
|
[`c-input--${this.variant}`]: true,
|
|
1202
1202
|
};
|
|
1203
|
-
return (index.h(index.Host, { key: '
|
|
1203
|
+
return (index.h(index.Host, { key: 'b6624ca672771b2895324a6b23c757448a3a8ffe', disabled: this.disabled }, index.h("div", { key: '292666c02f719b0e0ac9e016de1d26c8a12c1c3b', id: 'announce-' + this.inputId, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: 'f6526adf723bfc8b6e8e70aff2f47f2a7e8739a1', class: containerClasses }, index.h("div", { key: '32f9f6a671e0de6bd1b34de2bb625fa6bc43bf97', class: "c-input__control" }, index.h("div", { key: 'e5284b34d8f4b1dadaac501cda49120447b31a64', class: "c-input__slot", onClick: () => this._onFocus() }, this._renderBorders(), index.h("div", { key: 'b60af14b1edff9dad7f627cbac6c4e23e541dab5', class: "c-input__field", style: {
|
|
1204
1204
|
'--_c-input-label-position': this.preSlotWidth + 'px',
|
|
1205
|
-
} }, index.h("slot", { key: '
|
|
1205
|
+
} }, index.h("slot", { key: '417dc75d7897a851eb599fb01e176c6962acddd3', name: "pre" }), this._renderLabel(), index.h("slot", { key: '2356ed382379fe4abae95758cc8c451d7f10d856' }))), this.variant === 'select' && index.h("slot", { key: 'b9513b7657c709ee3399577f7b46387cb1a72e49', name: "dropdown" }), !this.hideDetails && (index.h("c-message", { key: '852e7b9629c813bce34910f90dae007856b7700f', hint: this.hint, inputId: this.inputId, valid: this.valid, validation: this.validation }))))));
|
|
1206
1206
|
}
|
|
1207
1207
|
get el() { return index.getElement(this); }
|
|
1208
1208
|
static get watchers() { return {
|
|
@@ -1235,7 +1235,7 @@ const CLoader = class {
|
|
|
1235
1235
|
const styles = {
|
|
1236
1236
|
'--c-loader-size': `${this.size}px`,
|
|
1237
1237
|
};
|
|
1238
|
-
return (index.h(index.Host, { key: '
|
|
1238
|
+
return (index.h(index.Host, { key: 'bde540ceca008fe45795b63e674f1623f66c7053' }, index.h("div", { key: '04de4a4fd2e4212f78bb2619f86cb10ddc288f45', class: "c-loader", style: styles }, index.h("c-spinner", { key: '589bc501d87d05cf2b598a210435da27919e9c8a', color: "var(--_c-loader-color)", size: this.size, width: this.width }), slotHasContent && (index.h("div", { key: '274549b5385c5e6733236db4601f6e6842584632', class: "c-loader__slot", style: { 'animation-delay': `${this.contentdelay}s` } }, index.h("slot", { key: '41940b173519e8a671349ea8e9067b94beba7fb1' }))))));
|
|
1239
1239
|
}
|
|
1240
1240
|
get el() { return index.getElement(this); }
|
|
1241
1241
|
static get watchers() { return {
|
|
@@ -1252,7 +1252,7 @@ const CMain = class {
|
|
|
1252
1252
|
this.disableLayout = false;
|
|
1253
1253
|
}
|
|
1254
1254
|
render() {
|
|
1255
|
-
return (index.h("main", { key: '
|
|
1255
|
+
return (index.h("main", { key: 'f2b4cdb7aa5b0cc94a7fc6825f1a52c459a342e7', class: { dashboard: !this.disableLayout } }, index.h("slot", { key: '67f3c2e2939563d626d675b31b4b77ede223c7e6' })));
|
|
1256
1256
|
}
|
|
1257
1257
|
};
|
|
1258
1258
|
CMain.style = cMainCss;
|
|
@@ -1303,7 +1303,7 @@ const CMessage = class {
|
|
|
1303
1303
|
'c-message-item': true,
|
|
1304
1304
|
[`c-message-item--${this.messageOptions.type}`]: true,
|
|
1305
1305
|
};
|
|
1306
|
-
return (index.h(index.Host, { key: '
|
|
1306
|
+
return (index.h(index.Host, { key: '86052a6fa6d821d12df968bf3252b3950182fa0c' }, index.h("div", { key: 'abeb934d307df7d875cd3a64c0080f5f126335c7', class: classes }, index.h("div", { key: '61b573f417f7c61a746726d0602a7523757fbced', class: messageClasses }, this.messageOptions.content))));
|
|
1307
1307
|
}
|
|
1308
1308
|
static get watchers() { return {
|
|
1309
1309
|
"valid": ["onValidChange"],
|
|
@@ -1320,7 +1320,7 @@ const CNavigationButton = class {
|
|
|
1320
1320
|
index.registerInstance(this, hostRef);
|
|
1321
1321
|
}
|
|
1322
1322
|
render() {
|
|
1323
|
-
return (index.h(index.Host, { key: '
|
|
1323
|
+
return (index.h(index.Host, { key: '6fba358e0f2363145dbef730b141ff4f5c83cd24', tabindex: 0 }, index.h("c-icon-button", { key: '2f4326d59ab70b5500b98c47693d4b12638b7743', text: true }, index.h("c-icon", { key: 'f2cf26a81e9b99529c609b450c756f7b996a12b7', path: mdi.mdiMenu }))));
|
|
1324
1324
|
}
|
|
1325
1325
|
};
|
|
1326
1326
|
CNavigationButton.style = cNavigationButtonCss;
|
|
@@ -1334,7 +1334,7 @@ const COption = class {
|
|
|
1334
1334
|
this.disabled = false;
|
|
1335
1335
|
}
|
|
1336
1336
|
render() {
|
|
1337
|
-
return (index.h(index.Host, { key: '
|
|
1337
|
+
return (index.h(index.Host, { key: '592c84651a8b5cc230c8c2e2277d1a39070479be', tabindex: "-1" }, index.h("slot", { key: '6b7feda5c757028deff6089fdc700709f1040a4c' })));
|
|
1338
1338
|
}
|
|
1339
1339
|
};
|
|
1340
1340
|
COption.style = cOptionCss;
|
|
@@ -1488,9 +1488,9 @@ const COtpInput = class {
|
|
|
1488
1488
|
'c-otp-input': true,
|
|
1489
1489
|
'c-otp-input--hide-details': this.hideDetails,
|
|
1490
1490
|
};
|
|
1491
|
-
return (index.h(index.Host, { key: '
|
|
1491
|
+
return (index.h(index.Host, { key: 'c8a77d8b1eb8abf05ad1b0f0964a3cca5a9545c4', id: this.id, style: { '--_c-otp-input-count': this.length.toString() }, class: { error: !this.valid } }, index.h("div", { key: 'a235bd878dd4005b16d077bf7b00282a14965843', id: 'announce-' + this.id, class: "visuallyhidden", "aria-live": "polite", "aria-atomic": "true" }, this.statusText), index.h("div", { key: '9a5ca7da977a872c52921688b8008e0ac3402e4e', class: classes }, new Array(this.length)
|
|
1492
1492
|
.fill(0)
|
|
1493
|
-
.map((_, index) => this._renderInput(index)), index.h("c-message", { key: '
|
|
1493
|
+
.map((_, index) => this._renderInput(index)), index.h("c-message", { key: '3ace42251418e57e94e121ee7d1df8a9ff8ffc70', hint: this.hint, inputId: this.elementId, valid: this.valid, validation: this.validation }))));
|
|
1494
1494
|
}
|
|
1495
1495
|
static get formAssociated() { return true; }
|
|
1496
1496
|
static get watchers() { return {
|
|
@@ -1520,7 +1520,7 @@ const CPage = class {
|
|
|
1520
1520
|
this.el.onscroll = this._onScroll.bind(this);
|
|
1521
1521
|
}
|
|
1522
1522
|
render() {
|
|
1523
|
-
return (index.h(index.Host, { key: '
|
|
1523
|
+
return (index.h(index.Host, { key: '6d994e5d05d6834d3c43d1677fa614a4c6d19518' }, this.scrollIndicator && (index.h("div", { key: 'd569485d2708abe932f5dbf3e22ec6a50369b18c', ref: (el) => (this._scrollIndicator = el), class: "scroll-indicator" })), index.h("div", { key: '76db6dba1b8deab2474716d6cec38fbb13f0a6a7', class: "c-page__container" }, index.h("slot", { key: '3b0edc0faa788623ad2258f96c4ea5b8b212b005' })), index.h("slot", { key: '6dcd81f9cf053b674e9634130c220669e76aa774', name: "footer" })));
|
|
1524
1524
|
}
|
|
1525
1525
|
get el() { return index.getElement(this); }
|
|
1526
1526
|
};
|
|
@@ -1535,7 +1535,7 @@ const CRadio = class {
|
|
|
1535
1535
|
this.disabled = false;
|
|
1536
1536
|
}
|
|
1537
1537
|
render() {
|
|
1538
|
-
return index.h(index.Host, { key: '
|
|
1538
|
+
return index.h(index.Host, { key: '165906ee020462135e574b3eaa21b93b30b4cfbd' });
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
1541
|
CRadio.style = cRadioCss;
|
|
@@ -1645,7 +1645,7 @@ const CRadioGroup = class {
|
|
|
1645
1645
|
'c-radio-group--inline': this.inline,
|
|
1646
1646
|
'c-radio-group--error': !this.valid,
|
|
1647
1647
|
};
|
|
1648
|
-
return (index.h("div", { key: '
|
|
1648
|
+
return (index.h("div", { key: 'b9307dcda1f9a764107ec9041d485bdf6f4e25f1', class: wrapperClasses, role: "radiogroup", "aria-labelledby": "c-radio-group__label" }, (!!this.label || slotHasContent) && (index.h("label", { key: '915a272107a61a8aa44e2575f2da3fff65514fba', class: "c-radio-group__label" }, !!this.label && this.label, index.h("slot", { key: 'c434d15ddc77453ae6e663dee6a45991a4a53e8a', onSlotchange: this._handleSlotChange }), this.required && index.h("span", { key: '90958839a85e457db8596a7b283880a04fda5994', class: "required" }, "\u00A0*"))), index.h("div", { key: '9967403ca3254499104d35df5b42879ed7cf2f9e', class: "c-radio-group__items" }, this.items.map((item, index) => this._getRadioButton(item, index))), !this.hideDetails && (index.h("c-message", { key: '05055978230c1f51732bafef0c98a93669542957', hint: this.hint, inputId: this._id, valid: this.valid, validation: this.validation }))));
|
|
1649
1649
|
}
|
|
1650
1650
|
static get formAssociated() { return true; }
|
|
1651
1651
|
get el() { return index.getElement(this); }
|
|
@@ -1693,7 +1693,7 @@ const CRipple = class {
|
|
|
1693
1693
|
return radius * 2;
|
|
1694
1694
|
}
|
|
1695
1695
|
render() {
|
|
1696
|
-
return (index.h(index.Host, { key: '
|
|
1696
|
+
return (index.h(index.Host, { key: '4f19e53601d4a0cab49b706909389a7e61d047f4', "aria-hidden": "true" }, index.h("div", { key: 'b4087c248c029d3946768abed0b422e245c16441', ref: (el) => (this._rippleElement = el), class: "c-ripple" })));
|
|
1697
1697
|
}
|
|
1698
1698
|
get el() { return index.getElement(this); }
|
|
1699
1699
|
};
|
|
@@ -2016,12 +2016,12 @@ const CSelect = class {
|
|
|
2016
2016
|
}
|
|
2017
2017
|
render() {
|
|
2018
2018
|
const itemType = this.optionElementsExist ? 'option' : 'item';
|
|
2019
|
-
return (index.h(index.Host, { key: '
|
|
2019
|
+
return (index.h(index.Host, { key: 'f73f4248afc6f000880238ebf86034ebfae65839' }, index.h("c-dropdown", { key: 'edb3aeb8658f17605e66197bc3bfbfec633842f4', ref: (el) => (this._dropdownElement = el), id: `${this._id}-dropdown`, index: this.currentIndex, "items-per-page": this.itemsPerPage, "dropdown-item-type": itemType, items: this._items, parent: this.el, type: "select" }, index.h("c-input", { key: '2704b7f00ac4e6d94ef1dcafb6746a61c7db77f0', slot: "default", ref: (el) => (this._cInputElement = el), active: this.dropdownVisible, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, name: this.name, placeholder: this.placeholder, required: this.required, shadow: this.shadow, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value, variant: "select", onClick: () => !this.disabled && this._dropdownElement.open() }, index.h("slot", { key: 'bb065adf9605506f6e5c0ecad1fc9dac4e9fd431', name: "pre", slot: "pre" }), index.h("div", { key: '617b97cf925a23b884c840874312d722bea7ed82', class: "c-input__content" }, this._renderInputElement(), this.loading && this._renderLoader(), !this.loading &&
|
|
2020
2020
|
this.value &&
|
|
2021
2021
|
this.clearable &&
|
|
2022
2022
|
this._renderReset(), !this.loading &&
|
|
2023
2023
|
(!this.value || !this.clearable) &&
|
|
2024
|
-
this._renderChevron(), index.h("slot", { key: '
|
|
2024
|
+
this._renderChevron(), index.h("slot", { key: '46ea937c8ec1f4f5cd6600ecef802e350578b7e9', onSlotchange: () => this._onSlotChange() })), index.h("slot", { key: '68c8c1de215cf32088d7d83a82d3b014614c5387', name: "post", slot: "post" })))));
|
|
2025
2025
|
}
|
|
2026
2026
|
static get formAssociated() { return true; }
|
|
2027
2027
|
get el() { return index.getElement(this); }
|
|
@@ -2097,10 +2097,10 @@ const CSideNavigation = class {
|
|
|
2097
2097
|
'c-side-navigation__content--mobile': !!this.mobile,
|
|
2098
2098
|
'c-side-navigation__content--desktop': !this.mobile,
|
|
2099
2099
|
};
|
|
2100
|
-
return (index.h(index.Host, { key: '
|
|
2100
|
+
return (index.h(index.Host, { key: '6f719b58004e182f3637cbef2abb29d1450ab544', class: { desktop: !this.mobile } }, index.h("div", { key: '5fa523718f9528de3a5723dc0a99c55a570029a3', class: containerClasses }, index.h("nav", { key: '0415a159fada93ec7c254a86fc89b7aec41106e0', ref: (el) => (this._containerElement = el), class: classes, role: "menubar" }, this.mobile && (index.h("div", { key: 'a56ff0bd42b3d88ac5c775fde931519e6add5267', class: "c-side-navigation__burger" }, index.h("c-icon-button", { key: '675fc9d7a995e83af28d200b9f0b5bc65c2bec70', text: true, inverted: true, onClick: () => this._closeMenu() }, index.h("span", { key: '31058a57bf6bf278b4692d12565b8feff80deeac', class: "visuallyhidden" }, "Close sidemenu"), index.h("c-icon", { key: '9952fc4cac22b85ed98fdb97696f44a11a11c767', path: mdi.mdiArrowRight })))), index.h("div", { key: '9ef46b21f30f1b7c2ba9792efdc67bf70f12fdcd', class: {
|
|
2101
2101
|
'c-side-navigation__wrapper': true,
|
|
2102
2102
|
'c-side-navigation__wrapper--mobile': !!this.mobile,
|
|
2103
|
-
} }, index.h("slot", { key: '
|
|
2103
|
+
} }, index.h("slot", { key: 'a4cfc79fa5fc09f3c8b0b91f6a942ed22b005d08' }), index.h("div", { key: '724f2ad1d87b3ed1baa4bb1eefbb6bb447332d81', class: "vertical-spacer" }), index.h("slot", { key: 'f8f33a8c49a4538f0b03ccc2cd081667e0d5ee02', name: "bottom" })))), this.menuVisible && this.mobile && (index.h("div", { key: '8b284321900c400f71ee83b1243370dcca379e23', class: "c-overlay c-fade-in", onClick: () => this._closeMenu() }))));
|
|
2104
2104
|
}
|
|
2105
2105
|
get host() { return index.getElement(this); }
|
|
2106
2106
|
};
|
|
@@ -2205,10 +2205,10 @@ const CSideNavigationItem = class {
|
|
|
2205
2205
|
}
|
|
2206
2206
|
const Tag = !!this.href ? 'a' : 'div';
|
|
2207
2207
|
const itemParams = Object.assign({}, (!!this.href ? { href: this.href, target: this.target } : {}));
|
|
2208
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2208
|
+
return (index.h(index.Host, Object.assign({ key: '8ec57402295c8dec13625bd3c8e0e1cc91c54fe3' }, a11y, { class: classes, onClick: (e) => this._redirect(e), onKeyDown: (e) => this._redirect(e) }), index.h("div", { key: '165b6c471e28076505b01985c90ff2a1de3c6555' }, index.h(Tag, Object.assign({ key: 'cbf7e26c985262d82846786a0f9d9c7d77ce02a2' }, itemParams, { class: {
|
|
2209
2209
|
'c-side-navigation-item__header': true,
|
|
2210
2210
|
'c-side-navigation-item__header--expandable': this._slotHasContent,
|
|
2211
|
-
} }), this._slotHasContent && (index.h("c-icon", { key: '
|
|
2211
|
+
} }), this._slotHasContent && (index.h("c-icon", { key: '6cdf836deda182146b87c80dc03619609e5fdfe0', class: "svg", path: mdi.mdiChevronRight })), index.h("div", { key: '6f1a49f05a465df0a975ea34e1f1335971f84401', class: "c-side-navigation-item__slot" }, index.h("slot", { key: 'cac2ec160dd60ac388f14fe4f52b909fea9946f6' }))), this._slotHasContent && (index.h("nav", { key: '54c1b7ab4081b67da0e33a6db841cea452454f89', role: "menubar", "aria-label": this._ariaLabel, "aria-expanded": (_b = (!!this.active)) === null || _b === void 0 ? void 0 : _b.toString(), class: subNavigationClasses }, index.h("slot", { key: 'c5c87baae0cbac8f8ebb29c22ac980a25a15fe1e', name: "sub-item" }))), index.h("c-loader", { key: '5b770bef592623d98a693350a7915dae909bde0b', size: 32, hide: !this.loading, style: { pointerEvents: 'none' } }))));
|
|
2212
2212
|
}
|
|
2213
2213
|
get hostElement() { return index.getElement(this); }
|
|
2214
2214
|
static get watchers() { return {
|
|
@@ -2224,7 +2224,7 @@ const CSideNavigationTitle = class {
|
|
|
2224
2224
|
index.registerInstance(this, hostRef);
|
|
2225
2225
|
}
|
|
2226
2226
|
render() {
|
|
2227
|
-
return (index.h(index.Host, { key: '
|
|
2227
|
+
return (index.h(index.Host, { key: '1ddf26f59ca968f12df338660bb3450eb458d4c4' }, index.h("div", { key: '6af605a63997178ec4b16c5a3f573b453af74312' }, index.h("slot", { key: 'a8b277d41083c28714fd7a94cff906e7b5a9c72b' }))));
|
|
2228
2228
|
}
|
|
2229
2229
|
};
|
|
2230
2230
|
CSideNavigationTitle.style = cSideNavigationTitleCss;
|
|
@@ -2236,7 +2236,7 @@ const CSpacer = class {
|
|
|
2236
2236
|
index.registerInstance(this, hostRef);
|
|
2237
2237
|
}
|
|
2238
2238
|
render() {
|
|
2239
|
-
return index.h(index.Host, { key: '
|
|
2239
|
+
return index.h(index.Host, { key: '19da77e71789177220f47dbab3ae2df0d5afb5e4' });
|
|
2240
2240
|
}
|
|
2241
2241
|
};
|
|
2242
2242
|
CSpacer.style = cSpacerCss;
|
|
@@ -2261,7 +2261,7 @@ const CSpinner = class {
|
|
|
2261
2261
|
'--c-width': `${this.width}px`,
|
|
2262
2262
|
'--c-color': this.color,
|
|
2263
2263
|
};
|
|
2264
|
-
return (index.h(index.Host, { key: '
|
|
2264
|
+
return (index.h(index.Host, { key: '1fc2fe5eac27302e54ce40a94f5cae542fe459f4', class: "c-spinner", style: style }, index.h("svg", { key: 'f61afd9f7f53cd40e2d81487cd1837fca4d34753' }, index.h("circle", Object.assign({ key: 'c4c1911f42361376da2a41d21ab3abc5fb33b4c5' }, iconParams)))));
|
|
2265
2265
|
}
|
|
2266
2266
|
};
|
|
2267
2267
|
CSpinner.style = cSpinnerCss;
|
|
@@ -2300,7 +2300,7 @@ const CSubNavigationItem = class {
|
|
|
2300
2300
|
if (this.active) {
|
|
2301
2301
|
a11y['aria-current'] = 'page';
|
|
2302
2302
|
}
|
|
2303
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2303
|
+
return (index.h(index.Host, Object.assign({ key: '49bbf7c4ff794f8ce07efef11d70247586e1957f' }, a11y, { class: { active: this.active }, onClick: (e) => this._redirect(e), onKeyDown: (e) => this._redirect(e) }), index.h("div", { key: '2e219c281db698ffba8cd5dd42dfe989d3f5cf97', class: "c-sub-navigation-item__wrapper" }, index.h("div", { key: 'f89fb19069bb7f699b41580a9d9887f338c58e84', class: "c-sub-navigation-item" }, index.h("div", { key: '422ab135217ddfcf1b88e8a6a009b05716dad3d2', class: "c-sub-navigation-item__content" }, index.h("div", { key: '0ece0d262f8d5f44b48a35fb7cdf940facd6471f', class: "c-sub-navigation-item__slot" }, index.h("slot", { key: '2cbc3aa81b4a51384653d0b73c8885d5f52bc1df' })), this.active && (index.h("span", { key: '9e8143c4962e50f7db403a1a7bae4d5365597f53', class: "visuallyhidden" }, ", Current page"))), index.h("c-loader", { key: '40179282da35ecb51932ac7d857f1c26e290c615', size: 32, hide: !this.loading, style: { pointerEvents: 'none' } })))));
|
|
2304
2304
|
}
|
|
2305
2305
|
get element() { return index.getElement(this); }
|
|
2306
2306
|
};
|
|
@@ -2358,7 +2358,7 @@ const CSwitch = class {
|
|
|
2358
2358
|
'c-switch__slider--disabled': !!this.hostDisabled,
|
|
2359
2359
|
'c-switch__slider--loading': !!this.loading,
|
|
2360
2360
|
};
|
|
2361
|
-
return (index.h("label", { key: '
|
|
2361
|
+
return (index.h("label", { key: '158201987e2b1ceb2e2a37d40855a1ee81f1f913', class: classes, htmlFor: this.hostId }, index.h("div", { key: '5b0da0c8968d8619945ac5940f4487f31c707dcc', class: "c-switch__input" }, index.h("input", { key: '6b4d0e9d2bd48a324b94e5aac5519f7f33c83b59', id: this.hostId, "aria-checked": this.checked.toString(), type: "checkbox", role: "switch", disabled: this.hostDisabled, checked: this.checked ? true : undefined, onChange: () => this._toggleState() }), index.h("span", { key: '0efc9e37f2dcdff078190cbc63f0d63239caec1a', class: sliderClasses }, index.h("c-spinner", { key: '0876dde5277abe4513e231903226d20e5cde09a4', size: 14, width: 2, color: "#fff" }))), this.hasLabel ? (index.h("div", { class: "c-switch__label" }, index.h("slot", null), this.required && index.h("span", { class: "required" }, "\u00A0*"))) : null));
|
|
2362
2362
|
}
|
|
2363
2363
|
static get formAssociated() { return true; }
|
|
2364
2364
|
get host() { return index.getElement(this); }
|
|
@@ -2403,7 +2403,7 @@ const CTable = class {
|
|
|
2403
2403
|
});
|
|
2404
2404
|
}
|
|
2405
2405
|
render() {
|
|
2406
|
-
return (index.h(index.Host, { key: '
|
|
2406
|
+
return (index.h(index.Host, { key: 'e59e3e6363934642e686df8b968575f32d959bc5' }, index.h("slot", { key: '675fbff5d710eea45ea4e4589996fd3fb6026b49' })));
|
|
2407
2407
|
}
|
|
2408
2408
|
get el() { return index.getElement(this); }
|
|
2409
2409
|
};
|
|
@@ -2536,7 +2536,7 @@ const CTextField = class {
|
|
|
2536
2536
|
return (index.h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._togglePasswordVisibility }, index.h("path", { d: this.passwordIcon })));
|
|
2537
2537
|
}
|
|
2538
2538
|
render() {
|
|
2539
|
-
return (index.h(index.Host, { key: '
|
|
2539
|
+
return (index.h(index.Host, { key: '94acae2ed651abada766891dcf3fd4cffbc662f6' }, index.h("c-input", { key: '1191d7b80901b537424e2faeaa9f3106d4232c61', autofocus: this.automaticFocus, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, name: this.name, placeholder: this.placeholder, readonly: this.readonly, required: this.required, rows: this.rows, shadow: this.shadow, type: this.type, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value }, index.h("slot", { key: '5ce4fd49467b80ba7c92791ada92c8537e033f6d', name: "pre", slot: "pre" }), this._renderInputElement(), this._renderPasswordToggle(), this._renderDateToggle(), index.h("slot", { key: '5540ce57f5b1248c35f63602ba59f7c34e185476', name: "post" }))));
|
|
2540
2540
|
}
|
|
2541
2541
|
static get formAssociated() { return true; }
|
|
2542
2542
|
get hiddenEl() { return index.getElement(this); }
|
|
@@ -2551,7 +2551,7 @@ const CToolbar = class {
|
|
|
2551
2551
|
index.registerInstance(this, hostRef);
|
|
2552
2552
|
}
|
|
2553
2553
|
render() {
|
|
2554
|
-
return (index.h(index.Host, { key: '
|
|
2554
|
+
return (index.h(index.Host, { key: '7e7a6cb0c3365a90112537e9e358528fb90c2c0f' }, index.h("div", { key: '2dbc2e650483bab5154ee23df57ccbb36ed7c676', class: "c-toolbar" }, index.h("slot", { key: 'b8424bf3b2609f9044480649a0744eee1303f435' })), index.h("div", { key: 'd656448b719a4bcdb0bcd4e477dfcea6feaa139f', class: "spacer" })));
|
|
2555
2555
|
}
|
|
2556
2556
|
};
|
|
2557
2557
|
CToolbar.style = cToolbarCss;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BTBT6v3v.js');
|
|
4
|
+
|
|
5
|
+
const cBackdropCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-backdrop) .c-backdrop{display:block;position:fixed;inset:0;z-index:1000;background-color:rgba(0, 0, 0, 0.5);opacity:0;pointer-events:none}:host(c-backdrop) .c-backdrop.c-backdrop--blur{backdrop-filter:blur(4px)}@media (prefers-reduced-motion: no-preference){:host(c-backdrop) .c-backdrop.opening{animation:backdrop-fadein 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards}:host(c-backdrop) .c-backdrop.closing{animation:backdrop-fadeout 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards}}@keyframes backdrop-fadein{from{opacity:0}to{opacity:1}}@keyframes backdrop-fadeout{from{opacity:1}to{opacity:0}}";
|
|
6
|
+
|
|
7
|
+
const CBackdrop = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
index.registerInstance(this, hostRef);
|
|
10
|
+
this.disableBackdropBlur = false;
|
|
11
|
+
this.blur = false;
|
|
12
|
+
}
|
|
13
|
+
onValueChange(value) {
|
|
14
|
+
this.blur = !value;
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return (index.h(index.Host, { key: '14481d8c494b93fa69d60679e4ceeca01270a75a' }, index.h("div", { key: '7c856bfeb7820c37045d24d7be6fa503016e91dd', class: {
|
|
18
|
+
'c-backdrop': true,
|
|
19
|
+
'c-backdrop--blur': this.blur,
|
|
20
|
+
} })));
|
|
21
|
+
}
|
|
22
|
+
static get watchers() { return {
|
|
23
|
+
"disableBackdropBlur": ["onValueChange"]
|
|
24
|
+
}; }
|
|
25
|
+
};
|
|
26
|
+
CBackdrop.style = cBackdropCss;
|
|
27
|
+
|
|
28
|
+
exports.c_backdrop = CBackdrop;
|
|
29
|
+
//# sourceMappingURL=c-backdrop.entry.cjs.js.map
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=c-backdrop.cjs.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"c-backdrop.entry.cjs.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,mxBAAmxB;;MCU3xB,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASU,QAAA,IAAmB,CAAA,mBAAA,GAAG,KAAK;AAE1B,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAmBtB;AAhBC,IAAA,aAAa,CAAC,KAAc,EAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,GAAG,CAAC,KAAK;;IAGpB,MAAM,GAAA;QACJ,QACEA,QAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACHD,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,YAAY,EAAE,IAAI;gBAClB,kBAAkB,EAAE,IAAI,CAAC,IAAI;aAC9B,EACI,CAAA,CACF;;;;;;;;;;","names":["h","Host"],"sources":["src/components/c-backdrop/c-backdrop.scss?tag=c-backdrop&encapsulation=shadow","src/components/c-backdrop/c-backdrop.tsx"],"sourcesContent":[":host(c-backdrop) {\n .c-backdrop {\n display: block;\n position: fixed;\n inset: 0;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.5);\n opacity: 0;\n pointer-events: none;\n\n &.c-backdrop--blur {\n backdrop-filter: blur(4px);\n }\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(c-backdrop) {\n .c-backdrop {\n &.opening {\n animation: backdrop-fadein 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n }\n\n &.closing {\n animation: backdrop-fadeout 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n }\n }\n }\n}\n\n@keyframes backdrop-fadein {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes backdrop-fadeout {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","import { Component, Host, Prop, State, Watch, h } from '@stencil/core';\n\n/**\n * @parent None\n */\n@Component({\n tag: 'c-backdrop',\n styleUrl: 'c-backdrop.scss',\n shadow: true,\n})\nexport class CBackdrop {\n /**\n * Disable backdrop blur effect\n */\n @Prop() disableBackdropBlur = false;\n\n @State() blur = false;\n\n @Watch('disableBackdropBlur')\n onValueChange(value: boolean) {\n this.blur = !value;\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'c-backdrop': true,\n 'c-backdrop--blur': this.blur,\n }}\n ></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"c-backdrop.entry.cjs.js","sources":["src/components/c-backdrop/c-backdrop.scss?tag=c-backdrop&encapsulation=shadow","src/components/c-backdrop/c-backdrop.tsx"],"sourcesContent":[":host(c-backdrop) {\n .c-backdrop {\n display: block;\n position: fixed;\n inset: 0;\n z-index: 1000;\n background-color: rgba(0, 0, 0, 0.5);\n opacity: 0;\n pointer-events: none;\n\n &.c-backdrop--blur {\n backdrop-filter: blur(4px);\n }\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :host(c-backdrop) {\n .c-backdrop {\n &.opening {\n animation: backdrop-fadein 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n }\n\n &.closing {\n animation: backdrop-fadeout 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n }\n }\n }\n}\n\n@keyframes backdrop-fadein {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes backdrop-fadeout {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","import { Component, Host, Prop, State, Watch, h } from '@stencil/core';\n\n/**\n * @parent None\n */\n@Component({\n tag: 'c-backdrop',\n styleUrl: 'c-backdrop.scss',\n shadow: true,\n})\nexport class CBackdrop {\n /**\n * Disable backdrop blur effect\n */\n @Prop() disableBackdropBlur = false;\n\n @State() blur = false;\n\n @Watch('disableBackdropBlur')\n onValueChange(value: boolean) {\n this.blur = !value;\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n 'c-backdrop': true,\n 'c-backdrop--blur': this.blur,\n }}\n ></div>\n </Host>\n );\n }\n}\n"],"names":["h","Host"],"mappings":";;;;AAAA,MAAM,YAAY,GAAG,mxBAAmxB;;MCU3xB,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AASU,QAAA,IAAmB,CAAA,mBAAA,GAAG,KAAK;AAE1B,QAAA,IAAI,CAAA,IAAA,GAAG,KAAK;AAmBtB;AAhBC,IAAA,aAAa,CAAC,KAAc,EAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,GAAG,CAAC,KAAK;;IAGpB,MAAM,GAAA;QACJ,QACEA,QAACC,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACHD,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,YAAY,EAAE,IAAI;gBAClB,kBAAkB,EAAE,IAAI,CAAC,IAAI;aAC9B,EACI,CAAA,CACF;;;;;;;;;;"}
|
|
@@ -685,7 +685,7 @@ const CDataTable = class {
|
|
|
685
685
|
'c-data-table--hoverable': this.selectable || this._hasHiddenData,
|
|
686
686
|
'c-data-table--scrollable': this.horizontalScrolling,
|
|
687
687
|
};
|
|
688
|
-
return (index.h(index.Host, { key: '
|
|
688
|
+
return (index.h(index.Host, { key: '43deb28529da8dc2ab73bbc47cbb9ea01a9bbb08' }, index.h("div", { key: 'b497a269c1b9b38c1f6ad130c5e1f5dd3bcff72e', class: "c-data-table__wrapper" }, index.h("div", { key: '253cc718f30bab4e84246a6a9e0979d89dd6447d', class: "c-data-table__table-wrapper" }, index.h("table", { key: 'bd9610d8d0ba1b5a99117479a6a0344a87acec8b', class: tableClasses, ref: (el) => (this._tableElement = el) }, index.h("colgroup", { key: 'c2b18a0f5baa57e078f5c2cdfc15eb0b732799be' }, [
|
|
689
689
|
...(this.selectable ? ['_selection'] : []),
|
|
690
690
|
...(this.hiddenHeaders.length ? ['_hidden'] : []),
|
|
691
691
|
...this._headerKeys,
|
|
@@ -19,7 +19,7 @@ const CLink = class {
|
|
|
19
19
|
const style = {
|
|
20
20
|
fontWeight: this.weight.toString(),
|
|
21
21
|
};
|
|
22
|
-
return (index.h("a", { key: '
|
|
22
|
+
return (index.h("a", { key: '9742cfed25780b2e32f68e27995bc320bf14670c', class: classList, href: this.href, target: this.target, style: style }, index.h("slot", { key: '7e0889ba6a07c51353666bd31beea9441b899dcf' })));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
CLink.style = cLinkCss;
|
|
@@ -14,7 +14,7 @@ const CListItemTitle = class {
|
|
|
14
14
|
'c-list-item-title': true,
|
|
15
15
|
'c-list-item-title--active': this.active,
|
|
16
16
|
};
|
|
17
|
-
return (index.h(index.Host, { key: '
|
|
17
|
+
return (index.h(index.Host, { key: '79c093b1e5e9df19fa11218f9c9e66397604e037', class: classes }, index.h("slot", { key: 'bbdc385e1af47ba59524658495fb7056da0a775f' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
CListItemTitle.style = cListItemTitleCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BTBT6v3v.js');
|
|
4
4
|
|
|
5
|
-
const cListItemCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-list-item){--_c-list-item-text-color:var(--c-list-item-text-color, var(--c-text-system));--_c-list-item-text-color-active:var(--c-list-item-text-color-active, var(--c-primary-600));--_c-list-item-background-color:var(--c-list-item-background-color, var(--c-transparent));--_c-list-item-background-color-active:var(--c-list-item-background-color-active, rgba(var(--c-primary-rgb), 0.1));--_c-list-item-background-color-hover:var(--c-list-item-background-color-hover, rgba(var(--c-primary-rgb), 0.2));--_c-list-item-outline-color:var(--c-list-item-outline-color, var(--c-primary-600));--_c-list-item-border-radius:4px;display:block;background-color:var(--_c-list-item-background-color);border-radius:var(--_c-list-item-border-radius)}:host(c-list-item) .c-list-item__content{align-items:center;border-radius:var(--_c-list-item-border-radius);color:var(--_c-list-item-text-color);display:flex;gap:16px;min-height:42px;padding:12px;width:100%;position:relative}:host(c-list-item) .c-list-item__content slot{display:grid;gap:4px;line-height:1.5}:host(c-list-item) .c-list-item__content slot:not([name]){flex:1}:host(c-list-item) .c-list-item__content:is(a){text-decoration:none;border-radius:var(--_c-list-item-border-radius)}:host(c-list-item:focus-visible){outline:2px var(--_c-list-item-outline-color) solid;outline-offset:2px}:host(c-list-item.c-list-item--hoverable:hover){background-color:var(--_c-list-item-background-color-hover)}:host(.c-list-item--active){--_c-list-item-text-color:var(--_c-list-item-text-color-active);background-color:var(--_c-list-item-background-color-active)}:host(.c-list-item--ripple){cursor:pointer}:host(.c-list-item--disabled){background-color:rgba(var(--c-tertiary-rgb), 0.05);cursor:default;opacity:0.75;pointer-events:none}:host(.c-list-item--disabled) ::slotted(c-icon){--c-icon-color:var(--c-tertiary-400) !important}";
|
|
5
|
+
const cListItemCss = "html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-list-item){--_c-list-item-text-color:var(--c-list-item-text-color, var(--c-text-system));--_c-list-item-text-color-active:var(--c-list-item-text-color-active, var(--c-primary-600));--_c-list-item-background-color:var(--c-list-item-background-color, var(--c-transparent));--_c-list-item-background-color-active:var(--c-list-item-background-color-active, rgba(var(--c-primary-rgb), 0.1));--_c-list-item-background-color-hover:var(--c-list-item-background-color-hover, rgba(var(--c-primary-rgb), 0.2));--_c-list-item-outline-color:var(--c-list-item-outline-color, var(--c-primary-600));--_c-list-item-border-radius:4px;display:block;background-color:var(--_c-list-item-background-color);border-radius:var(--_c-list-item-border-radius)}:host(c-list-item) .c-list-item__content{align-items:center;border-radius:var(--_c-list-item-border-radius);color:var(--_c-list-item-text-color);display:flex;gap:16px;min-height:42px;padding:12px;width:100%;position:relative}:host(c-list-item) .c-list-item__content slot{display:grid;gap:4px;line-height:1.5}:host(c-list-item) .c-list-item__content slot:not([name]){flex:1}:host(c-list-item) .c-list-item__content:is(a){text-decoration:none;border-radius:var(--_c-list-item-border-radius)}:host(c-list-item:focus-visible){outline:2px var(--_c-list-item-outline-color) solid;outline-offset:2px}:host(c-list-item.c-list-item--hoverable:hover){background-color:var(--_c-list-item-background-color-hover)}:host(.c-list-item--active){--_c-list-item-text-color:var(--_c-list-item-text-color-active);--_c-list-border-color:var(--_c-list-border-color-active);background-color:var(--_c-list-item-background-color-active)}:host(.c-list-item--ripple){cursor:pointer}:host(.c-list-item--disabled){background-color:rgba(var(--c-tertiary-rgb), 0.05);cursor:default;opacity:0.75;pointer-events:none}:host(.c-list-item--disabled) ::slotted(c-icon){--c-icon-color:var(--c-tertiary-400) !important}";
|
|
6
6
|
|
|
7
7
|
const CListItem = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -64,9 +64,9 @@ const CListItem = class {
|
|
|
64
64
|
if (!!this.href) {
|
|
65
65
|
linkAttributes = { href: this.href, target: this.target };
|
|
66
66
|
}
|
|
67
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
67
|
+
return (index.h(index.Host, Object.assign({ key: 'd9bb04d68894dc079c55526b620fd43f6e2652df', role: "listitem", "aria-disabled": (!!this.disabled).toString(), onClick: this._onClick, onKeyup: this._onKeyup, class: classes }, (!!this.disabled ? { disabled: 'true' } : {}), (!!this.disabledByParent ? { 'data-disabled': 'true' } : {}), ([0, -1].includes(this._tabindex)
|
|
68
68
|
? { tabindex: this._tabindex }
|
|
69
|
-
: {})), index.h(Tag, Object.assign({ key: '
|
|
69
|
+
: {})), index.h(Tag, Object.assign({ key: '05c999e4b845563f80e87031f0c5530aafe505f5' }, linkAttributes, { class: "c-list-item__content" }), this._slots.pre && index.h("slot", { key: '5a18d84192c3c4b2a002525bd3e60b40d663c2c1', name: "pre" }), index.h("slot", { key: '120a48ac799a984b710a06be56712676fc9c95a2' }), this._slots.post && index.h("slot", { key: 'e5ae03bca09f1a2a93d44dfc43ae6b0165dcfe4c', name: "post" }), this.ripple && index.h("c-ripple", { key: '8299510748b453ee5fa39c30f2f60f9a8a937f71' }))));
|
|
70
70
|
}
|
|
71
71
|
get el() { return index.getElement(this); }
|
|
72
72
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"c-list-item.entry.cjs.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,
|
|
1
|
+
{"file":"c-list-item.entry.cjs.js","mappings":";;;;AAAA,MAAM,YAAY,GAAG,0jEAA0jE;;MCOlkE,SAAS,GAAA,MAAA;AALtB,IAAA,WAAA,CAAA,OAAA,EAAA;;AAWU,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAKd,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAMhB,QAAA,IAAgB,CAAA,gBAAA,GAAG,KAAK;AAKxB,QAAA,IAAS,CAAA,SAAA,GAAG,KAAK;AAKjB,QAAA,IAAM,CAAA,MAAA,GAAG,KAAK;AAUd,QAAA,IAAM,CAAA,MAAA,GAAG,QAAQ;QA8BjB,IAAQ,CAAA,QAAA,GAAG,CAAC,KAAiC,EAAE,MAAM,GAAG,KAAK,KAAI;AACvE,YAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;gBACjB,KAAK,CAAC,cAAc,EAAE;gBAEtB;;YAGF,IAAI,CAAC,IAAI,CAAC,MAAM;gBAAE;YAElB,IAAI,CAAC,EAAE,CAAC;iBACL,aAAa,CAAC,UAAU;iBACxB,YAAY,CAAC,KAAmB,EAAE,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC;AACvD,SAAC;AAEO,QAAA,IAAA,CAAA,QAAQ,GAAG,CAAC,KAAoB,KAAI;AAC1C,YAAA,IAAI,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;AACtC,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC;;AAE9B,SAAC;AAyCF;AAtFC,IAAA,cAAc,CAAC,MAAM,EAAA;QACnB,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,mBAAmB,CAAC;AAExD,QAAA,IAAI,CAAC,KAAK;YAAE;AAEZ,QAAA,KAAK,CAAC,MAAM,GAAG,MAAM;;AAGvB,IAAA,IAAY,MAAM,GAAA;AAChB,QAAA,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,cAAc,CAAC;AAE1D,QAAA,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,eAAe,CAAC;QAE5D,OAAO;AACL,YAAA,GAAG,EAAE,UAAU;AACf,YAAA,IAAI,EAAE,WAAW;SAClB;;AAGH,IAAA,IAAY,SAAS,GAAA;QACnB,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO,EAAE;AAE5B,QAAA,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI;AAAE,YAAA,OAAO,CAAC;AAEvC,QAAA,OAAO,IAAI;;IAuBb,MAAM,GAAA;AACJ,QAAA,MAAM,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,GAAG,KAAK;AAErC,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,aAAa,EAAE,IAAI;YACnB,qBAAqB,EAAE,IAAI,CAAC,MAAM;YAClC,uBAAuB,EAAE,IAAI,CAAC,QAAQ;AACtC,YAAA,wBAAwB,EAAE,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS;YACtE,qBAAqB,EAAE,IAAI,CAAC,MAAM;SACnC;QAED,IAAI,cAAc,GAAG,EAAE;AAEvB,QAAA,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE;AACf,YAAA,cAAc,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;;QAG3D,QACEA,OAAC,CAAAC,UAAI,mEACH,IAAI,EAAC,UAAU,EACA,eAAA,EAAA,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,QAAQ,EAAE,EAC3C,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,KAAK,EAAE,OAAO,EAAA,GACT,CAAC,CAAC,IAAI,CAAC,QAAQ,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,IAC3C,CAAC,CAAC,IAAI,CAAC,gBAAgB,GAAG,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,IAC1D,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS;AAClC,cAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS;cAC1B,EAAE,EAAC,EAEPD,OAAA,CAAC,GAAG,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EAAA,cAAc,EAAE,EAAA,KAAK,EAAC,sBAAsB,EAAA,CAAA,EAClD,IAAI,CAAC,MAAM,CAAC,GAAG,IAAIA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,KAAK,EAAQ,CAAA,EAC5CA,OAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EACZ,IAAI,CAAC,MAAM,CAAC,IAAI,IAAIA,OAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,MAAM,EAAQ,CAAA,EAC7C,IAAI,CAAC,MAAM,IAAIA,wEAAqB,CACjC,CACD;;;;;;;;;;;","names":["h","Host"],"sources":["src/components/c-list-item/c-list-item.scss?tag=c-list-item&encapsulation=shadow","src/components/c-list-item/c-list-item.tsx"],"sourcesContent":[":host(c-list-item) {\n /**\n * @prop --c-list-item-text-color: Default text color\n * @prop --c-list-item-text-color-active: Active text color\n * @prop --c-list-item-background-color: Default background color\n * @prop --c-list-item-background-color-active: Active background color\n * @prop --c-list-item-background-color-hover: Hover background color\n * @prop --c-list-item-outline-color: Outline color\n */\n --_c-list-item-text-color: var(--c-list-item-text-color, var(--c-text-system));\n --_c-list-item-text-color-active: var(--c-list-item-text-color-active, var(--c-primary-600));\n --_c-list-item-background-color: var(--c-list-item-background-color, var(--c-transparent));\n --_c-list-item-background-color-active: var(--c-list-item-background-color-active, rgba(var(--c-primary-rgb), 0.1));\n --_c-list-item-background-color-hover: var(--c-list-item-background-color-hover, rgba(var(--c-primary-rgb), 0.2));\n --_c-list-item-outline-color: var(--c-list-item-outline-color, var(--c-primary-600));\n\n // private\n --_c-list-item-border-radius: 4px;\n\n display: block;\n background-color: var(--_c-list-item-background-color);\n border-radius: var(--_c-list-item-border-radius);\n\n .c-list-item__content {\n align-items: center;\n border-radius: var(--_c-list-item-border-radius);\n color: var(--_c-list-item-text-color);\n display: flex;\n gap: 16px;\n min-height: 42px;\n padding: 12px;\n width: 100%;\n position: relative;\n\n slot {\n display: grid;\n gap: 4px;\n line-height: 1.5;\n\n &:not([name]) {\n flex: 1;\n }\n }\n\n &:is(a) {\n text-decoration: none;\n border-radius: var(--_c-list-item-border-radius);\n }\n }\n}\n\n:host(c-list-item:focus-visible) {\n outline: 2px var(--_c-list-item-outline-color) solid;\n outline-offset: 2px;\n}\n\n:host(c-list-item.c-list-item--hoverable:hover) {\n background-color: var(--_c-list-item-background-color-hover);\n}\n\n:host(.c-list-item--active) {\n --_c-list-item-text-color: var(--_c-list-item-text-color-active);\n --_c-list-border-color: var(--_c-list-border-color-active);\n\n background-color: var(--_c-list-item-background-color-active);\n}\n\n:host(.c-list-item--ripple) {\n cursor: pointer;\n}\n\n:host(.c-list-item--disabled) {\n background-color: rgba(var(--c-tertiary-rgb), 0.05);\n cursor: default;\n opacity: 0.75;\n pointer-events: none;\n}\n\n:host(.c-list-item--disabled) ::slotted(c-icon) {\n --c-icon-color: var(--c-tertiary-400) !important;\n}\n","import { Component, Element, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'c-list-item',\n styleUrl: 'c-list-item.scss',\n shadow: true,\n})\nexport class CListItem {\n @Element() el!: HTMLCListItemElement;\n\n /**\n * Set the item active\n */\n @Prop() active = false;\n\n /**\n * Disable the item\n */\n @Prop() disabled = false;\n\n /**\n * Disabled by the parent list\n * @private\n */\n @Prop() disabledByParent = false;\n\n /**\n * Display background color on hover\n */\n @Prop() hoverable = false;\n\n /**\n * Add ripple effect to the item\n */\n @Prop() ripple = false;\n\n /**\n * Hyperlink url\n */\n @Prop() href?: string;\n\n /**\n * Hyperlink target\n */\n @Prop() target = '_blank';\n\n @Watch('active')\n onActiveChange(active) {\n const title = this.el.querySelector('c-list-item-title');\n\n if (!title) return;\n\n title.active = active;\n }\n\n private get _slots() {\n const hasPreSlot = !!this.el.querySelector('[slot=\"pre\"]');\n\n const hasPostSlot = !!this.el.querySelector('[slot=\"post\"]');\n\n return {\n pre: hasPreSlot,\n post: hasPostSlot,\n };\n }\n\n private get _tabindex() {\n if (this.disabled) return -1;\n\n if (this.ripple && !this.href) return 0;\n\n return null;\n }\n\n private _onClick = (event: MouseEvent | KeyboardEvent, center = false) => {\n if (this.disabled) {\n event.preventDefault();\n\n return;\n }\n\n if (!this.ripple) return;\n\n this.el.shadowRoot\n .querySelector('c-ripple')\n .createRipple(event as MouseEvent, this.el, center);\n };\n\n private _onKeyup = (event: KeyboardEvent) => {\n if ([' ', 'Enter'].includes(event.key)) {\n this._onClick(event, true);\n }\n };\n\n render() {\n const Tag = !!this.href ? 'a' : 'div';\n\n const classes = {\n 'c-list-item': true,\n 'c-list-item--active': this.active,\n 'c-list-item--disabled': this.disabled,\n 'c-list-item--hoverable': this.ripple || !!this.href || this.hoverable,\n 'c-list-item--ripple': this.ripple,\n };\n\n let linkAttributes = {};\n\n if (!!this.href) {\n linkAttributes = { href: this.href, target: this.target };\n }\n\n return (\n <Host\n role=\"listitem\"\n aria-disabled={(!!this.disabled).toString()}\n onClick={this._onClick}\n onKeyup={this._onKeyup}\n class={classes}\n {...(!!this.disabled ? { disabled: 'true' } : {})}\n {...(!!this.disabledByParent ? { 'data-disabled': 'true' } : {})}\n {...([0, -1].includes(this._tabindex)\n ? { tabindex: this._tabindex }\n : {})}\n >\n <Tag {...linkAttributes} class=\"c-list-item__content\">\n {this._slots.pre && <slot name=\"pre\"></slot>}\n <slot></slot>\n {this._slots.post && <slot name=\"post\"></slot>}\n {this.ripple && <c-ripple></c-ripple>}\n </Tag>\n </Host>\n );\n }\n}\n"],"version":3}
|