@cscfi/csc-ui 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +54 -0
- package/dist/cjs/c-accordion-item.cjs.entry.js +118 -0
- package/dist/cjs/c-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-accordion.cjs.entry.js +68 -0
- package/dist/cjs/c-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/c-alert.cjs.entry.js +30 -0
- package/dist/cjs/c-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/c-autocomplete.cjs.entry.js +263 -0
- package/dist/cjs/c-autocomplete.cjs.entry.js.map +1 -0
- package/dist/cjs/c-badge_12.cjs.entry.js +442 -0
- package/dist/cjs/c-badge_12.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-actions.cjs.entry.js +28 -0
- package/dist/cjs/c-card-actions.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-content.cjs.entry.js +21 -0
- package/dist/cjs/c-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/c-card-title.cjs.entry.js +21 -0
- package/dist/cjs/c-card-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-checkbox_2.cjs.entry.js +342 -0
- package/dist/cjs/c-checkbox_2.cjs.entry.js.map +1 -0
- package/dist/cjs/c-data-table.cjs.entry.js +701 -0
- package/dist/cjs/c-data-table.cjs.entry.js.map +1 -0
- package/dist/cjs/c-dropdown_4.cjs.entry.js +837 -0
- package/dist/cjs/c-dropdown_4.cjs.entry.js.map +1 -0
- package/dist/cjs/c-link.cjs.entry.js +31 -0
- package/dist/cjs/c-link.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list-item-title.cjs.entry.js +26 -0
- package/dist/cjs/c-list-item-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list-item.cjs.entry.js +83 -0
- package/dist/cjs/c-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-list.cjs.entry.js +45 -0
- package/dist/cjs/c-list.cjs.entry.js.map +1 -0
- package/dist/cjs/c-loader.cjs.entry.js +39 -0
- package/dist/cjs/c-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-button.cjs.entry.js +25 -0
- package/dist/cjs/c-login-button.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-buttons.cjs.entry.js +21 -0
- package/dist/cjs/c-login-buttons.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-actions.cjs.entry.js +20 -0
- package/dist/cjs/c-login-card-actions.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-content.cjs.entry.js +21 -0
- package/dist/cjs/c-login-card-content.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card-title.cjs.entry.js +21 -0
- package/dist/cjs/c-login-card-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-login-card.cjs.entry.js +66 -0
- package/dist/cjs/c-login-card.cjs.entry.js.map +1 -0
- package/dist/cjs/c-menu_2.cjs.entry.js +354 -0
- package/dist/cjs/c-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/c-modal.cjs.entry.js +108 -0
- package/dist/cjs/c-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/c-navigation-button.cjs.entry.js +22 -0
- package/dist/cjs/c-navigation-button.cjs.entry.js.map +1 -0
- package/dist/cjs/c-option-value.cjs.entry.js +21 -0
- package/dist/cjs/c-option-value.cjs.entry.js.map +1 -0
- package/dist/cjs/c-option.cjs.entry.js +25 -0
- package/dist/cjs/c-option.cjs.entry.js.map +1 -0
- package/dist/cjs/c-otp-input.cjs.entry.js +154 -0
- package/dist/cjs/c-otp-input.cjs.entry.js.map +1 -0
- package/dist/cjs/c-page.cjs.entry.js +31 -0
- package/dist/cjs/c-page.cjs.entry.js.map +1 -0
- package/dist/cjs/c-progress-bar.cjs.entry.js +59 -0
- package/dist/cjs/c-progress-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/c-radio-group.cjs.entry.js +154 -0
- package/dist/cjs/c-radio-group.cjs.entry.js.map +1 -0
- package/dist/cjs/c-radio.cjs.entry.js +24 -0
- package/dist/cjs/c-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/c-select.cjs.entry.js +331 -0
- package/dist/cjs/c-select.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation-item.cjs.entry.js +121 -0
- package/dist/cjs/c-side-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation-title.cjs.entry.js +21 -0
- package/dist/cjs/c-side-navigation-title.cjs.entry.js.map +1 -0
- package/dist/cjs/c-side-navigation.cjs.entry.js +71 -0
- package/dist/cjs/c-side-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/c-status.cjs.entry.js +23 -0
- package/dist/cjs/c-status.cjs.entry.js.map +1 -0
- package/dist/cjs/c-step.cjs.entry.js +27 -0
- package/dist/cjs/c-step.cjs.entry.js.map +1 -0
- package/dist/cjs/c-steps.cjs.entry.js +78 -0
- package/dist/cjs/c-steps.cjs.entry.js.map +1 -0
- package/dist/cjs/c-sub-navigation-item.cjs.entry.js +51 -0
- package/dist/cjs/c-sub-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-swiper-tab.cjs.entry.js +47 -0
- package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/c-swiper.cjs.entry.js +4187 -0
- package/dist/cjs/c-swiper.cjs.entry.js.map +1 -0
- package/dist/cjs/c-switch.cjs.entry.js +71 -0
- package/dist/cjs/c-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-buttons.cjs.entry.js +133 -0
- package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-item.cjs.entry.js +40 -0
- package/dist/cjs/c-tab-item.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab-items.cjs.entry.js +81 -0
- package/dist/cjs/c-tab-items.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tab.cjs.entry.js +59 -0
- package/dist/cjs/c-tab.cjs.entry.js.map +1 -0
- package/dist/cjs/c-table.cjs.entry.js +47 -0
- package/dist/cjs/c-table.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tabs.cjs.entry.js +423 -0
- package/dist/cjs/c-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tag.cjs.entry.js +45 -0
- package/dist/cjs/c-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/c-tags.cjs.entry.js +21 -0
- package/dist/cjs/c-tags.cjs.entry.js.map +1 -0
- package/dist/cjs/c-text-field.cjs.entry.js +151 -0
- package/dist/cjs/c-text-field.cjs.entry.js.map +1 -0
- package/dist/cjs/c-toast.cjs.entry.js +73 -0
- package/dist/cjs/c-toast.cjs.entry.js.map +1 -0
- package/dist/cjs/c-toasts.cjs.entry.js +80 -0
- package/dist/cjs/c-toasts.cjs.entry.js.map +1 -0
- package/dist/cjs/csc-ui.cjs.js +25 -0
- package/dist/cjs/csc-ui.cjs.js.map +1 -0
- package/dist/cjs/index-3cad12b5.js +2605 -0
- package/dist/cjs/index-3cad12b5.js.map +1 -0
- package/dist/cjs/index-72dca436.js +23 -0
- package/dist/cjs/index-72dca436.js.map +1 -0
- package/dist/cjs/index.cjs.js +28 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/mdi-16842afc.js +46 -0
- package/dist/cjs/mdi-16842afc.js.map +1 -0
- package/dist/collection/collection-manifest.json +81 -0
- package/dist/collection/components/c-accordion/c-accordion.css +26 -0
- package/dist/collection/components/c-accordion/c-accordion.js +172 -0
- package/dist/collection/components/c-accordion/c-accordion.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js +140 -0
- package/dist/collection/components/c-accordion/test/c-accordion.e2e.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js +72 -0
- package/dist/collection/components/c-accordion/test/c-accordion.spec.js.map +1 -0
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js +52 -0
- package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +1 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.css +130 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.js +251 -0
- package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +1 -0
- package/dist/collection/components/c-alert/c-alert.css +62 -0
- package/dist/collection/components/c-alert/c-alert.js +57 -0
- package/dist/collection/components/c-alert/c-alert.js.map +1 -0
- package/dist/collection/components/c-alert/test/c-alert.spec.js +54 -0
- package/dist/collection/components/c-alert/test/c-alert.spec.js.map +1 -0
- package/dist/collection/components/c-alert/test/c-alert.visual.js +24 -0
- package/dist/collection/components/c-alert/test/c-alert.visual.js.map +1 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.css +207 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.js +808 -0
- package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js +35 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js.map +1 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +31 -0
- package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +1 -0
- package/dist/collection/components/c-badge/c-badge.css +46 -0
- package/dist/collection/components/c-badge/c-badge.js +19 -0
- package/dist/collection/components/c-badge/c-badge.js.map +1 -0
- package/dist/collection/components/c-badge/test/c-badge.e2e.js +10 -0
- package/dist/collection/components/c-badge/test/c-badge.e2e.js.map +1 -0
- package/dist/collection/components/c-badge/test/c-badge.spec.js +18 -0
- package/dist/collection/components/c-badge/test/c-badge.spec.js.map +1 -0
- package/dist/collection/components/c-button/c-button.css +565 -0
- package/dist/collection/components/c-button/c-button.js +511 -0
- package/dist/collection/components/c-button/c-button.js.map +1 -0
- package/dist/collection/components/c-button/test/c-button.spec.js +207 -0
- package/dist/collection/components/c-button/test/c-button.spec.js.map +1 -0
- package/dist/collection/components/c-button/test/c-button.visual.js +98 -0
- package/dist/collection/components/c-button/test/c-button.visual.js.map +1 -0
- package/dist/collection/components/c-card/assets/puhti.gif +0 -0
- package/dist/collection/components/c-card/c-card.css +47 -0
- package/dist/collection/components/c-card/c-card.js +138 -0
- package/dist/collection/components/c-card/c-card.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.e2e.js +17 -0
- package/dist/collection/components/c-card/test/c-card.e2e.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.spec.js +142 -0
- package/dist/collection/components/c-card/test/c-card.spec.js.map +1 -0
- package/dist/collection/components/c-card/test/c-card.visual.js +18 -0
- package/dist/collection/components/c-card/test/c-card.visual.js.map +1 -0
- package/dist/collection/components/c-card-actions/c-card-actions.css +65 -0
- package/dist/collection/components/c-card-actions/c-card-actions.js +68 -0
- package/dist/collection/components/c-card-actions/c-card-actions.js.map +1 -0
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js +115 -0
- package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js.map +1 -0
- package/dist/collection/components/c-card-content/c-card-content.css +31 -0
- package/dist/collection/components/c-card-content/c-card-content.js +19 -0
- package/dist/collection/components/c-card-content/c-card-content.js.map +1 -0
- package/dist/collection/components/c-card-title/c-card-title.css +41 -0
- package/dist/collection/components/c-card-title/c-card-title.js +19 -0
- package/dist/collection/components/c-card-title/c-card-title.js.map +1 -0
- package/dist/collection/components/c-checkbox/c-checkbox.css +178 -0
- package/dist/collection/components/c-checkbox/c-checkbox.js +391 -0
- package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js +60 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js +40 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js.map +1 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +22 -0
- package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +1 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.css +38 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.js +45 -0
- package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +1 -0
- package/dist/collection/components/c-data-table/c-data-table.css +379 -0
- package/dist/collection/components/c-data-table/c-data-table.js +1163 -0
- package/dist/collection/components/c-data-table/c-data-table.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js +125 -0
- package/dist/collection/components/c-data-table/test/c-data-table.e2e.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js +107 -0
- package/dist/collection/components/c-data-table/test/c-data-table.spec.js.map +1 -0
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js +31 -0
- package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +1 -0
- package/dist/collection/components/c-data-table/test/data/index.js +104 -0
- package/dist/collection/components/c-data-table/test/data/index.js.map +1 -0
- package/dist/collection/components/c-dropdown/c-dropdown.css +99 -0
- package/dist/collection/components/c-dropdown/c-dropdown.js +778 -0
- package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.css +24 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.js +66 -0
- package/dist/collection/components/c-dropdowns/c-dropdowns.js.map +1 -0
- package/dist/collection/components/c-icon/c-icon.css +29 -0
- package/dist/collection/components/c-icon/c-icon.js +85 -0
- package/dist/collection/components/c-icon/c-icon.js.map +1 -0
- package/dist/collection/components/c-icon/test/c-icon.spec.js +12 -0
- package/dist/collection/components/c-icon/test/c-icon.spec.js.map +1 -0
- package/dist/collection/components/c-icon-button/c-icon-button.css +685 -0
- package/dist/collection/components/c-icon-button/c-icon-button.js +238 -0
- package/dist/collection/components/c-icon-button/c-icon-button.js.map +1 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js +82 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js.map +1 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +22 -0
- package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +1 -0
- package/dist/collection/components/c-input/c-input.css +287 -0
- package/dist/collection/components/c-input/c-input.js +960 -0
- package/dist/collection/components/c-input/c-input.js.map +1 -0
- package/dist/collection/components/c-link/c-link.css +54 -0
- package/dist/collection/components/c-link/c-link.js +107 -0
- package/dist/collection/components/c-link/c-link.js.map +1 -0
- package/dist/collection/components/c-link/test/c-link.spec.js +75 -0
- package/dist/collection/components/c-link/test/c-link.spec.js.map +1 -0
- package/dist/collection/components/c-link/test/c-link.visual.js +14 -0
- package/dist/collection/components/c-link/test/c-link.visual.js.map +1 -0
- package/dist/collection/components/c-list/c-list.css +22 -0
- package/dist/collection/components/c-list/c-list.js +69 -0
- package/dist/collection/components/c-list/c-list.js.map +1 -0
- package/dist/collection/components/c-list-item/c-list-item.css +90 -0
- package/dist/collection/components/c-list-item/c-list-item.js +218 -0
- package/dist/collection/components/c-list-item/c-list-item.js.map +1 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.css +33 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.js +48 -0
- package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +1 -0
- package/dist/collection/components/c-loader/c-loader.css +101 -0
- package/dist/collection/components/c-loader/c-loader.js +118 -0
- package/dist/collection/components/c-loader/c-loader.js.map +1 -0
- package/dist/collection/components/c-loader/test/c-loader.e2e.js +16 -0
- package/dist/collection/components/c-loader/test/c-loader.e2e.js.map +1 -0
- package/dist/collection/components/c-loader/test/c-loader.spec.js +28 -0
- package/dist/collection/components/c-loader/test/c-loader.spec.js.map +1 -0
- package/dist/collection/components/c-login-button/c-login-button.css +79 -0
- package/dist/collection/components/c-login-button/c-login-button.js +82 -0
- package/dist/collection/components/c-login-button/c-login-button.js.map +1 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.css +23 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.js +19 -0
- package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +1 -0
- package/dist/collection/components/c-login-card/c-login-card.css +88 -0
- package/dist/collection/components/c-login-card/c-login-card.js +171 -0
- package/dist/collection/components/c-login-card/c-login-card.js.map +1 -0
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js +151 -0
- package/dist/collection/components/c-login-card/test/c-login-card.spec.js.map +1 -0
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js +18 -0
- package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +1 -0
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +53 -0
- package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +1 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.css +26 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.js +19 -0
- package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +1 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.css +31 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.js +19 -0
- package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +1 -0
- package/dist/collection/components/c-main/c-main.css +34 -0
- package/dist/collection/components/c-main/c-main.js +19 -0
- package/dist/collection/components/c-main/c-main.js.map +1 -0
- package/dist/collection/components/c-main/test/c-main.spec.js +19 -0
- package/dist/collection/components/c-main/test/c-main.spec.js.map +1 -0
- package/dist/collection/components/c-menu/c-menu.css +117 -0
- package/dist/collection/components/c-menu/c-menu.js +284 -0
- package/dist/collection/components/c-menu/c-menu.js.map +1 -0
- package/dist/collection/components/c-menu/test/c-menu.spec.js +46 -0
- package/dist/collection/components/c-menu/test/c-menu.spec.js.map +1 -0
- package/dist/collection/components/c-menu/test/c-menu.visual.js +43 -0
- package/dist/collection/components/c-menu/test/c-menu.visual.js.map +1 -0
- package/dist/collection/components/c-menu-items/c-menu-items.css +97 -0
- package/dist/collection/components/c-menu-items/c-menu-items.js +445 -0
- package/dist/collection/components/c-menu-items/c-menu-items.js.map +1 -0
- package/dist/collection/components/c-message/c-message.css +68 -0
- package/dist/collection/components/c-message/c-message.js +154 -0
- package/dist/collection/components/c-message/c-message.js.map +1 -0
- package/dist/collection/components/c-modal/c-modal.css +94 -0
- package/dist/collection/components/c-modal/c-modal.js +210 -0
- package/dist/collection/components/c-modal/c-modal.js.map +1 -0
- package/dist/collection/components/c-modal/test/c-modal.spec.js +75 -0
- package/dist/collection/components/c-modal/test/c-modal.spec.js.map +1 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.css +33 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.js +20 -0
- package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +1 -0
- package/dist/collection/components/c-option/c-option.css +23 -0
- package/dist/collection/components/c-option/c-option.js +99 -0
- package/dist/collection/components/c-option/c-option.js.map +1 -0
- package/dist/collection/components/c-option-value/c-option-value.css +21 -0
- package/dist/collection/components/c-option-value/c-option-value.js +19 -0
- package/dist/collection/components/c-option-value/c-option-value.js.map +1 -0
- package/dist/collection/components/c-otp-input/c-otp-input.css +87 -0
- package/dist/collection/components/c-otp-input/c-otp-input.js +298 -0
- package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js +10 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js.map +1 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js +18 -0
- package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js.map +1 -0
- package/dist/collection/components/c-page/c-page.css +46 -0
- package/dist/collection/components/c-page/c-page.js +29 -0
- package/dist/collection/components/c-page/c-page.js.map +1 -0
- package/dist/collection/components/c-pagination/c-pagination.css +121 -0
- package/dist/collection/components/c-pagination/c-pagination.js +375 -0
- package/dist/collection/components/c-pagination/c-pagination.js.map +1 -0
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js +47 -0
- package/dist/collection/components/c-pagination/test/c-pagination.e2e.js.map +1 -0
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js +42 -0
- package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +1 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.css +137 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.js +153 -0
- package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +1 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js +54 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js.map +1 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +22 -0
- package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +1 -0
- package/dist/collection/components/c-radio/c-radio.css +21 -0
- package/dist/collection/components/c-radio/c-radio.js +81 -0
- package/dist/collection/components/c-radio/c-radio.js.map +1 -0
- package/dist/collection/components/c-radio-group/c-radio-group.css +199 -0
- package/dist/collection/components/c-radio-group/c-radio-group.js +403 -0
- package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js +39 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js +28 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +24 -0
- package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +1 -0
- package/dist/collection/components/c-radio-group/test/items.js +6 -0
- package/dist/collection/components/c-radio-group/test/items.js.map +1 -0
- package/dist/collection/components/c-ripple/c-ripple.css +48 -0
- package/dist/collection/components/c-ripple/c-ripple.js +91 -0
- package/dist/collection/components/c-ripple/c-ripple.js.map +1 -0
- package/dist/collection/components/c-row/c-row.css +66 -0
- package/dist/collection/components/c-row/c-row.js +121 -0
- package/dist/collection/components/c-row/c-row.js.map +1 -0
- package/dist/collection/components/c-row/test/c-row.spec.js +137 -0
- package/dist/collection/components/c-row/test/c-row.spec.js.map +1 -0
- package/dist/collection/components/c-select/c-select.css +200 -0
- package/dist/collection/components/c-select/c-select.js +786 -0
- package/dist/collection/components/c-select/c-select.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.e2e.js +66 -0
- package/dist/collection/components/c-select/test/c-select.e2e.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.spec.js +38 -0
- package/dist/collection/components/c-select/test/c-select.spec.js.map +1 -0
- package/dist/collection/components/c-select/test/c-select.visual.js +36 -0
- package/dist/collection/components/c-select/test/c-select.visual.js.map +1 -0
- package/dist/collection/components/c-select/test/items.js +10 -0
- package/dist/collection/components/c-select/test/items.js.map +1 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.css +147 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.js +119 -0
- package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +1 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js +21 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js.map +1 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +16 -0
- package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +1 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.css +168 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +227 -0
- package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +1 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.css +33 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +19 -0
- package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +1 -0
- package/dist/collection/components/c-spacer/c-spacer.css +21 -0
- package/dist/collection/components/c-spacer/c-spacer.js +19 -0
- package/dist/collection/components/c-spacer/c-spacer.js.map +1 -0
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js +12 -0
- package/dist/collection/components/c-spacer/test/c-spacer.spec.js.map +1 -0
- package/dist/collection/components/c-spinner/c-spinner.css +59 -0
- package/dist/collection/components/c-spinner/c-spinner.js +92 -0
- package/dist/collection/components/c-spinner/c-spinner.js.map +1 -0
- package/dist/collection/components/c-status/c-status.css +74 -0
- package/dist/collection/components/c-status/c-status.js +44 -0
- package/dist/collection/components/c-status/c-status.js.map +1 -0
- package/dist/collection/components/c-status/test/c-status.spec.js +40 -0
- package/dist/collection/components/c-status/test/c-status.spec.js.map +1 -0
- package/dist/collection/components/c-status/test/c-status.visual.js +10 -0
- package/dist/collection/components/c-status/test/c-status.visual.js.map +1 -0
- package/dist/collection/components/c-step/c-step.css +104 -0
- package/dist/collection/components/c-step/c-step.js +73 -0
- package/dist/collection/components/c-step/c-step.js.map +1 -0
- package/dist/collection/components/c-steps/c-steps.css +81 -0
- package/dist/collection/components/c-steps/c-steps.js +125 -0
- package/dist/collection/components/c-steps/c-steps.js.map +1 -0
- package/dist/collection/components/c-steps/test/c-steps.e2e.js +35 -0
- package/dist/collection/components/c-steps/test/c-steps.e2e.js.map +1 -0
- package/dist/collection/components/c-steps/test/c-steps.visual.js +19 -0
- package/dist/collection/components/c-steps/test/c-steps.visual.js.map +1 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.css +184 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +143 -0
- package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +1 -0
- package/dist/collection/components/c-swiper/c-swiper.css +317 -0
- package/dist/collection/components/c-swiper/c-swiper.js +214 -0
- package/dist/collection/components/c-swiper/c-swiper.js.map +1 -0
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js +83 -0
- package/dist/collection/components/c-swiper/test/c-swiper.e2e.js.map +1 -0
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js +20 -0
- package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +1 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.css +115 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +207 -0
- package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -0
- package/dist/collection/components/c-switch/c-switch.css +138 -0
- package/dist/collection/components/c-switch/c-switch.js +216 -0
- package/dist/collection/components/c-switch/c-switch.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.e2e.js +51 -0
- package/dist/collection/components/c-switch/test/c-switch.e2e.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.spec.js +40 -0
- package/dist/collection/components/c-switch/test/c-switch.spec.js.map +1 -0
- package/dist/collection/components/c-switch/test/c-switch.visual.js +28 -0
- package/dist/collection/components/c-switch/test/c-switch.visual.js.map +1 -0
- package/dist/collection/components/c-tab/c-tab.css +101 -0
- package/dist/collection/components/c-tab/c-tab.js +230 -0
- package/dist/collection/components/c-tab/c-tab.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.css +108 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +271 -0
- package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js +91 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js +42 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js.map +1 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +47 -0
- package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +1 -0
- package/dist/collection/components/c-tab-item/c-tab-item.css +41 -0
- package/dist/collection/components/c-tab-item/c-tab-item.js +99 -0
- package/dist/collection/components/c-tab-item/c-tab-item.js.map +1 -0
- package/dist/collection/components/c-tab-items/c-tab-items.css +34 -0
- package/dist/collection/components/c-tab-items/c-tab-items.js +140 -0
- package/dist/collection/components/c-tab-items/c-tab-items.js.map +1 -0
- package/dist/collection/components/c-table/c-table.css +143 -0
- package/dist/collection/components/c-table/c-table.js +86 -0
- package/dist/collection/components/c-table/c-table.js.map +1 -0
- package/dist/collection/components/c-tabs/c-tabs.css +167 -0
- package/dist/collection/components/c-tabs/c-tabs.js +598 -0
- package/dist/collection/components/c-tabs/c-tabs.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js +74 -0
- package/dist/collection/components/c-tabs/test/c-tabs.e2e.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js +85 -0
- package/dist/collection/components/c-tabs/test/c-tabs.spec.js.map +1 -0
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js +16 -0
- package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +1 -0
- package/dist/collection/components/c-tag/c-tag.css +146 -0
- package/dist/collection/components/c-tag/c-tag.js +174 -0
- package/dist/collection/components/c-tag/c-tag.js.map +1 -0
- package/dist/collection/components/c-tag/test/c-tag.spec.js +50 -0
- package/dist/collection/components/c-tag/test/c-tag.spec.js.map +1 -0
- package/dist/collection/components/c-tag/test/c-tag.visual.js +26 -0
- package/dist/collection/components/c-tag/test/c-tag.visual.js.map +1 -0
- package/dist/collection/components/c-tags/c-tags.css +25 -0
- package/dist/collection/components/c-tags/c-tags.js +19 -0
- package/dist/collection/components/c-tags/c-tags.js.map +1 -0
- package/dist/collection/components/c-text-field/c-text-field.css +73 -0
- package/dist/collection/components/c-text-field/c-text-field.js +639 -0
- package/dist/collection/components/c-text-field/c-text-field.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js +12 -0
- package/dist/collection/components/c-text-field/test/c-text-field.e2e.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js +33 -0
- package/dist/collection/components/c-text-field/test/c-text-field.spec.js.map +1 -0
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js +41 -0
- package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +1 -0
- package/dist/collection/components/c-toast/c-toast.css +156 -0
- package/dist/collection/components/c-toast/c-toast.js +145 -0
- package/dist/collection/components/c-toast/c-toast.js.map +1 -0
- package/dist/collection/components/c-toasts/c-toasts.css +61 -0
- package/dist/collection/components/c-toasts/c-toasts.js +196 -0
- package/dist/collection/components/c-toasts/c-toasts.js.map +1 -0
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js +61 -0
- package/dist/collection/components/c-toasts/test/c-toasts.spec.js.map +1 -0
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js +27 -0
- package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +1 -0
- package/dist/collection/components/c-toolbar/c-toolbar.css +49 -0
- package/dist/collection/components/c-toolbar/c-toolbar.js +19 -0
- package/dist/collection/components/c-toolbar/c-toolbar.js.map +1 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js +12 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js.map +1 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +10 -0
- package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +1 -0
- package/dist/collection/dist/styles/css/c-data-table.css +10 -0
- package/dist/collection/dist/styles/css/theme.css +100 -0
- package/dist/collection/dist/styles/css/typography.css +10 -0
- package/dist/collection/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/collection/dist/styles/scss/_theme.scss +97 -0
- package/dist/collection/dist/styles/scss/_typography.scss +7 -0
- package/dist/collection/dist/styles/tailwind/theme.js +117 -0
- package/dist/collection/dist/styles/variables.css +111 -0
- package/dist/collection/dist/styles/variables.scss +108 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/styles/tailwind/theme.js +117 -0
- package/dist/collection/types/index.js +20 -0
- package/dist/collection/types/index.js.map +1 -0
- package/dist/collection/utils/test/sleep.js +2 -0
- package/dist/collection/utils/test/sleep.js.map +1 -0
- package/dist/collection/utils/test/takeScreenshot.js +11 -0
- package/dist/collection/utils/test/takeScreenshot.js.map +1 -0
- package/dist/components/c-accordion-item.d.ts +11 -0
- package/dist/components/c-accordion-item.js +144 -0
- package/dist/components/c-accordion-item.js.map +1 -0
- package/dist/components/c-accordion.d.ts +11 -0
- package/dist/components/c-accordion.js +89 -0
- package/dist/components/c-accordion.js.map +1 -0
- package/dist/components/c-alert.d.ts +11 -0
- package/dist/components/c-alert.js +46 -0
- package/dist/components/c-alert.js.map +1 -0
- package/dist/components/c-autocomplete.d.ts +11 -0
- package/dist/components/c-autocomplete.js +335 -0
- package/dist/components/c-autocomplete.js.map +1 -0
- package/dist/components/c-badge.d.ts +11 -0
- package/dist/components/c-badge.js +8 -0
- package/dist/components/c-badge.js.map +1 -0
- package/dist/components/c-badge2.js +32 -0
- package/dist/components/c-badge2.js.map +1 -0
- package/dist/components/c-button.d.ts +11 -0
- package/dist/components/c-button.js +191 -0
- package/dist/components/c-button.js.map +1 -0
- package/dist/components/c-card-actions.d.ts +11 -0
- package/dist/components/c-card-actions.js +8 -0
- package/dist/components/c-card-actions.js.map +1 -0
- package/dist/components/c-card-actions2.js +42 -0
- package/dist/components/c-card-actions2.js.map +1 -0
- package/dist/components/c-card-content.d.ts +11 -0
- package/dist/components/c-card-content.js +35 -0
- package/dist/components/c-card-content.js.map +1 -0
- package/dist/components/c-card-title.d.ts +11 -0
- package/dist/components/c-card-title.js +35 -0
- package/dist/components/c-card-title.js.map +1 -0
- package/dist/components/c-card.d.ts +11 -0
- package/dist/components/c-card.js +118 -0
- package/dist/components/c-card.js.map +1 -0
- package/dist/components/c-checkbox.d.ts +11 -0
- package/dist/components/c-checkbox.js +8 -0
- package/dist/components/c-checkbox.js.map +1 -0
- package/dist/components/c-checkbox2.js +153 -0
- package/dist/components/c-checkbox2.js.map +1 -0
- package/dist/components/c-csc-logo.d.ts +11 -0
- package/dist/components/c-csc-logo.js +39 -0
- package/dist/components/c-csc-logo.js.map +1 -0
- package/dist/components/c-data-table.d.ts +11 -0
- package/dist/components/c-data-table.js +815 -0
- package/dist/components/c-data-table.js.map +1 -0
- package/dist/components/c-dropdown.d.ts +11 -0
- package/dist/components/c-dropdown.js +8 -0
- package/dist/components/c-dropdown.js.map +1 -0
- package/dist/components/c-dropdown2.js +504 -0
- package/dist/components/c-dropdown2.js.map +1 -0
- package/dist/components/c-dropdowns.d.ts +11 -0
- package/dist/components/c-dropdowns.js +8 -0
- package/dist/components/c-dropdowns.js.map +1 -0
- package/dist/components/c-dropdowns2.js +60 -0
- package/dist/components/c-dropdowns2.js.map +1 -0
- package/dist/components/c-icon-button.d.ts +11 -0
- package/dist/components/c-icon-button.js +8 -0
- package/dist/components/c-icon-button.js.map +1 -0
- package/dist/components/c-icon-button2.js +95 -0
- package/dist/components/c-icon-button2.js.map +1 -0
- package/dist/components/c-icon.d.ts +11 -0
- package/dist/components/c-icon.js +8 -0
- package/dist/components/c-icon.js.map +1 -0
- package/dist/components/c-icon2.js +43 -0
- package/dist/components/c-icon2.js.map +1 -0
- package/dist/components/c-input.d.ts +11 -0
- package/dist/components/c-input.js +8 -0
- package/dist/components/c-input.js.map +1 -0
- package/dist/components/c-input2.js +373 -0
- package/dist/components/c-input2.js.map +1 -0
- package/dist/components/c-link.d.ts +11 -0
- package/dist/components/c-link.js +50 -0
- package/dist/components/c-link.js.map +1 -0
- package/dist/components/c-list-item-title.d.ts +11 -0
- package/dist/components/c-list-item-title.js +42 -0
- package/dist/components/c-list-item-title.js.map +1 -0
- package/dist/components/c-list-item.d.ts +11 -0
- package/dist/components/c-list-item.js +113 -0
- package/dist/components/c-list-item.js.map +1 -0
- package/dist/components/c-list.d.ts +11 -0
- package/dist/components/c-list.js +62 -0
- package/dist/components/c-list.js.map +1 -0
- package/dist/components/c-loader.d.ts +11 -0
- package/dist/components/c-loader.js +8 -0
- package/dist/components/c-loader.js.map +1 -0
- package/dist/components/c-loader2.js +63 -0
- package/dist/components/c-loader2.js.map +1 -0
- package/dist/components/c-login-button.d.ts +11 -0
- package/dist/components/c-login-button.js +43 -0
- package/dist/components/c-login-button.js.map +1 -0
- package/dist/components/c-login-buttons.d.ts +11 -0
- package/dist/components/c-login-buttons.js +35 -0
- package/dist/components/c-login-buttons.js.map +1 -0
- package/dist/components/c-login-card-actions.d.ts +11 -0
- package/dist/components/c-login-card-actions.js +43 -0
- package/dist/components/c-login-card-actions.js.map +1 -0
- package/dist/components/c-login-card-content.d.ts +11 -0
- package/dist/components/c-login-card-content.js +35 -0
- package/dist/components/c-login-card-content.js.map +1 -0
- package/dist/components/c-login-card-title.d.ts +11 -0
- package/dist/components/c-login-card-title.js +35 -0
- package/dist/components/c-login-card-title.js.map +1 -0
- package/dist/components/c-login-card.d.ts +11 -0
- package/dist/components/c-login-card.js +87 -0
- package/dist/components/c-login-card.js.map +1 -0
- package/dist/components/c-main.d.ts +11 -0
- package/dist/components/c-main.js +35 -0
- package/dist/components/c-main.js.map +1 -0
- package/dist/components/c-menu-items.d.ts +11 -0
- package/dist/components/c-menu-items.js +8 -0
- package/dist/components/c-menu-items.js.map +1 -0
- package/dist/components/c-menu-items2.js +236 -0
- package/dist/components/c-menu-items2.js.map +1 -0
- package/dist/components/c-menu.d.ts +11 -0
- package/dist/components/c-menu.js +8 -0
- package/dist/components/c-menu.js.map +1 -0
- package/dist/components/c-menu2.js +185 -0
- package/dist/components/c-menu2.js.map +1 -0
- package/dist/components/c-message.d.ts +11 -0
- package/dist/components/c-message.js +8 -0
- package/dist/components/c-message.js.map +1 -0
- package/dist/components/c-message2.js +88 -0
- package/dist/components/c-message2.js.map +1 -0
- package/dist/components/c-modal.d.ts +11 -0
- package/dist/components/c-modal.js +131 -0
- package/dist/components/c-modal.js.map +1 -0
- package/dist/components/c-navigation-button.d.ts +11 -0
- package/dist/components/c-navigation-button.js +66 -0
- package/dist/components/c-navigation-button.js.map +1 -0
- package/dist/components/c-option-value.d.ts +11 -0
- package/dist/components/c-option-value.js +35 -0
- package/dist/components/c-option-value.js.map +1 -0
- package/dist/components/c-option.d.ts +11 -0
- package/dist/components/c-option.js +44 -0
- package/dist/components/c-option.js.map +1 -0
- package/dist/components/c-otp-input.d.ts +11 -0
- package/dist/components/c-otp-input.js +178 -0
- package/dist/components/c-otp-input.js.map +1 -0
- package/dist/components/c-page.d.ts +11 -0
- package/dist/components/c-page.js +45 -0
- package/dist/components/c-page.js.map +1 -0
- package/dist/components/c-pagination.d.ts +11 -0
- package/dist/components/c-pagination.js +8 -0
- package/dist/components/c-pagination.js.map +1 -0
- package/dist/components/c-pagination2.js +293 -0
- package/dist/components/c-pagination2.js.map +1 -0
- package/dist/components/c-progress-bar.d.ts +11 -0
- package/dist/components/c-progress-bar.js +79 -0
- package/dist/components/c-progress-bar.js.map +1 -0
- package/dist/components/c-radio-group.d.ts +11 -0
- package/dist/components/c-radio-group.js +185 -0
- package/dist/components/c-radio-group.js.map +1 -0
- package/dist/components/c-radio.d.ts +11 -0
- package/dist/components/c-radio.js +42 -0
- package/dist/components/c-radio.js.map +1 -0
- package/dist/components/c-ripple.d.ts +11 -0
- package/dist/components/c-ripple.js +8 -0
- package/dist/components/c-ripple.js.map +1 -0
- package/dist/components/c-ripple2.js +68 -0
- package/dist/components/c-ripple2.js.map +1 -0
- package/dist/components/c-row.d.ts +11 -0
- package/dist/components/c-row.js +54 -0
- package/dist/components/c-row.js.map +1 -0
- package/dist/components/c-select.d.ts +11 -0
- package/dist/components/c-select.js +402 -0
- package/dist/components/c-select.js.map +1 -0
- package/dist/components/c-side-navigation-item.d.ts +11 -0
- package/dist/components/c-side-navigation-item.js +154 -0
- package/dist/components/c-side-navigation-item.js.map +1 -0
- package/dist/components/c-side-navigation-title.d.ts +11 -0
- package/dist/components/c-side-navigation-title.js +35 -0
- package/dist/components/c-side-navigation-title.js.map +1 -0
- package/dist/components/c-side-navigation.d.ts +11 -0
- package/dist/components/c-side-navigation.js +118 -0
- package/dist/components/c-side-navigation.js.map +1 -0
- package/dist/components/c-spacer.d.ts +11 -0
- package/dist/components/c-spacer.js +8 -0
- package/dist/components/c-spacer.js.map +1 -0
- package/dist/components/c-spacer2.js +32 -0
- package/dist/components/c-spacer2.js.map +1 -0
- package/dist/components/c-spinner.d.ts +11 -0
- package/dist/components/c-spinner.js +8 -0
- package/dist/components/c-spinner.js.map +1 -0
- package/dist/components/c-spinner2.js +49 -0
- package/dist/components/c-spinner2.js.map +1 -0
- package/dist/components/c-status.d.ts +11 -0
- package/dist/components/c-status.js +39 -0
- package/dist/components/c-status.js.map +1 -0
- package/dist/components/c-step.d.ts +11 -0
- package/dist/components/c-step.js +44 -0
- package/dist/components/c-step.js.map +1 -0
- package/dist/components/c-steps.d.ts +11 -0
- package/dist/components/c-steps.js +98 -0
- package/dist/components/c-steps.js.map +1 -0
- package/dist/components/c-sub-navigation-item.d.ts +11 -0
- package/dist/components/c-sub-navigation-item.js +83 -0
- package/dist/components/c-sub-navigation-item.js.map +1 -0
- package/dist/components/c-swiper-tab.d.ts +11 -0
- package/dist/components/c-swiper-tab.js +75 -0
- package/dist/components/c-swiper-tab.js.map +1 -0
- package/dist/components/c-swiper.d.ts +11 -0
- package/dist/components/c-swiper.js +4230 -0
- package/dist/components/c-swiper.js.map +1 -0
- package/dist/components/c-switch.d.ts +11 -0
- package/dist/components/c-switch.js +88 -0
- package/dist/components/c-switch.js.map +1 -0
- package/dist/components/c-tab-buttons.d.ts +11 -0
- package/dist/components/c-tab-buttons.js +155 -0
- package/dist/components/c-tab-buttons.js.map +1 -0
- package/dist/components/c-tab-item.d.ts +11 -0
- package/dist/components/c-tab-item.js +57 -0
- package/dist/components/c-tab-item.js.map +1 -0
- package/dist/components/c-tab-items.d.ts +11 -0
- package/dist/components/c-tab-items.js +101 -0
- package/dist/components/c-tab-items.js.map +1 -0
- package/dist/components/c-tab.d.ts +11 -0
- package/dist/components/c-tab.js +86 -0
- package/dist/components/c-tab.js.map +1 -0
- package/dist/components/c-table.d.ts +11 -0
- package/dist/components/c-table.js +63 -0
- package/dist/components/c-table.js.map +1 -0
- package/dist/components/c-tabs.d.ts +11 -0
- package/dist/components/c-tabs.js +481 -0
- package/dist/components/c-tabs.js.map +1 -0
- package/dist/components/c-tag.d.ts +11 -0
- package/dist/components/c-tag.js +96 -0
- package/dist/components/c-tag.js.map +1 -0
- package/dist/components/c-tags.d.ts +11 -0
- package/dist/components/c-tags.js +35 -0
- package/dist/components/c-tags.js.map +1 -0
- package/dist/components/c-text-field.d.ts +11 -0
- package/dist/components/c-text-field.js +220 -0
- package/dist/components/c-text-field.js.map +1 -0
- package/dist/components/c-toast.d.ts +11 -0
- package/dist/components/c-toast.js +8 -0
- package/dist/components/c-toast.js.map +1 -0
- package/dist/components/c-toast2.js +93 -0
- package/dist/components/c-toast2.js.map +1 -0
- package/dist/components/c-toasts.d.ts +11 -0
- package/dist/components/c-toasts.js +113 -0
- package/dist/components/c-toasts.js.map +1 -0
- package/dist/components/c-toolbar.d.ts +11 -0
- package/dist/components/c-toolbar.js +35 -0
- package/dist/components/c-toolbar.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +23 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/mdi.js +25 -0
- package/dist/components/mdi.js.map +1 -0
- package/dist/csc-ui/assets/puhti.gif +0 -0
- package/dist/csc-ui/csc-ui.esm.js +2 -0
- package/dist/csc-ui/csc-ui.esm.js.map +1 -0
- package/dist/csc-ui/dist/styles/css/c-data-table.css +10 -0
- package/dist/csc-ui/dist/styles/css/theme.css +100 -0
- package/dist/csc-ui/dist/styles/css/typography.css +10 -0
- package/dist/csc-ui/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/csc-ui/dist/styles/scss/_theme.scss +97 -0
- package/dist/csc-ui/dist/styles/scss/_typography.scss +7 -0
- package/dist/csc-ui/dist/styles/tailwind/theme.js +117 -0
- package/dist/csc-ui/dist/styles/variables.css +111 -0
- package/dist/csc-ui/dist/styles/variables.scss +108 -0
- package/dist/csc-ui/index.esm.js +2 -0
- package/dist/csc-ui/index.esm.js.map +1 -0
- package/dist/csc-ui/p-0355c094.entry.js +2 -0
- package/dist/csc-ui/p-0355c094.entry.js.map +1 -0
- package/dist/csc-ui/p-0c7c2bbd.entry.js +2 -0
- package/dist/csc-ui/p-0c7c2bbd.entry.js.map +1 -0
- package/dist/csc-ui/p-177f7d7d.entry.js +2 -0
- package/dist/csc-ui/p-177f7d7d.entry.js.map +1 -0
- package/dist/csc-ui/p-20282d86.entry.js +2 -0
- package/dist/csc-ui/p-20282d86.entry.js.map +1 -0
- package/dist/csc-ui/p-21f39647.entry.js +2 -0
- package/dist/csc-ui/p-21f39647.entry.js.map +1 -0
- package/dist/csc-ui/p-2318ba6b.entry.js +2 -0
- package/dist/csc-ui/p-2318ba6b.entry.js.map +1 -0
- package/dist/csc-ui/p-2bf78691.entry.js +2 -0
- package/dist/csc-ui/p-2bf78691.entry.js.map +1 -0
- package/dist/csc-ui/p-319fba28.entry.js +2 -0
- package/dist/csc-ui/p-319fba28.entry.js.map +1 -0
- package/dist/csc-ui/p-33e42eb8.entry.js +2 -0
- package/dist/csc-ui/p-33e42eb8.entry.js.map +1 -0
- package/dist/csc-ui/p-3c11dfb2.entry.js +2 -0
- package/dist/csc-ui/p-3c11dfb2.entry.js.map +1 -0
- package/dist/csc-ui/p-3e4869bf.entry.js +2 -0
- package/dist/csc-ui/p-3e4869bf.entry.js.map +1 -0
- package/dist/csc-ui/p-3ec3f184.entry.js +2 -0
- package/dist/csc-ui/p-3ec3f184.entry.js.map +1 -0
- package/dist/csc-ui/p-3f35766b.entry.js +2 -0
- package/dist/csc-ui/p-3f35766b.entry.js.map +1 -0
- package/dist/csc-ui/p-425ca7aa.entry.js +2 -0
- package/dist/csc-ui/p-425ca7aa.entry.js.map +1 -0
- package/dist/csc-ui/p-49726bd5.entry.js +2 -0
- package/dist/csc-ui/p-49726bd5.entry.js.map +1 -0
- package/dist/csc-ui/p-540e681a.entry.js +2 -0
- package/dist/csc-ui/p-540e681a.entry.js.map +1 -0
- package/dist/csc-ui/p-593b6720.entry.js +2 -0
- package/dist/csc-ui/p-593b6720.entry.js.map +1 -0
- package/dist/csc-ui/p-626c6afe.entry.js +2 -0
- package/dist/csc-ui/p-626c6afe.entry.js.map +1 -0
- package/dist/csc-ui/p-6e90cdfb.entry.js +2 -0
- package/dist/csc-ui/p-6e90cdfb.entry.js.map +1 -0
- package/dist/csc-ui/p-7092cd6c.entry.js +2 -0
- package/dist/csc-ui/p-7092cd6c.entry.js.map +1 -0
- package/dist/csc-ui/p-771adfde.entry.js +2 -0
- package/dist/csc-ui/p-771adfde.entry.js.map +1 -0
- package/dist/csc-ui/p-7d76025c.entry.js +2 -0
- package/dist/csc-ui/p-7d76025c.entry.js.map +1 -0
- package/dist/csc-ui/p-816f84b2.entry.js +2 -0
- package/dist/csc-ui/p-816f84b2.entry.js.map +1 -0
- package/dist/csc-ui/p-86a96319.entry.js +2 -0
- package/dist/csc-ui/p-86a96319.entry.js.map +1 -0
- package/dist/csc-ui/p-87c39c69.entry.js +2 -0
- package/dist/csc-ui/p-87c39c69.entry.js.map +1 -0
- package/dist/csc-ui/p-89d6e4c6.entry.js +2 -0
- package/dist/csc-ui/p-89d6e4c6.entry.js.map +1 -0
- package/dist/csc-ui/p-8d3a455f.entry.js +2 -0
- package/dist/csc-ui/p-8d3a455f.entry.js.map +1 -0
- package/dist/csc-ui/p-8e08df79.entry.js +2 -0
- package/dist/csc-ui/p-8e08df79.entry.js.map +1 -0
- package/dist/csc-ui/p-982b94a7.entry.js +2 -0
- package/dist/csc-ui/p-982b94a7.entry.js.map +1 -0
- package/dist/csc-ui/p-993583f1.entry.js +2 -0
- package/dist/csc-ui/p-993583f1.entry.js.map +1 -0
- package/dist/csc-ui/p-9936c5e9.entry.js +2 -0
- package/dist/csc-ui/p-9936c5e9.entry.js.map +1 -0
- package/dist/csc-ui/p-9ad61903.entry.js +2 -0
- package/dist/csc-ui/p-9ad61903.entry.js.map +1 -0
- package/dist/csc-ui/p-9bda8e49.entry.js +2 -0
- package/dist/csc-ui/p-9bda8e49.entry.js.map +1 -0
- package/dist/csc-ui/p-9d54e9a4.js +3 -0
- package/dist/csc-ui/p-9d54e9a4.js.map +1 -0
- package/dist/csc-ui/p-a7a7f6ab.entry.js +2 -0
- package/dist/csc-ui/p-a7a7f6ab.entry.js.map +1 -0
- package/dist/csc-ui/p-a9441233.entry.js +2 -0
- package/dist/csc-ui/p-a9441233.entry.js.map +1 -0
- package/dist/csc-ui/p-b7dcfced.entry.js +2 -0
- package/dist/csc-ui/p-b7dcfced.entry.js.map +1 -0
- package/dist/csc-ui/p-bc1000f3.entry.js +2 -0
- package/dist/csc-ui/p-bc1000f3.entry.js.map +1 -0
- package/dist/csc-ui/p-bf6d76df.entry.js +2 -0
- package/dist/csc-ui/p-bf6d76df.entry.js.map +1 -0
- package/dist/csc-ui/p-bf8bc8d7.entry.js +2 -0
- package/dist/csc-ui/p-bf8bc8d7.entry.js.map +1 -0
- package/dist/csc-ui/p-c101d987.entry.js +2 -0
- package/dist/csc-ui/p-c101d987.entry.js.map +1 -0
- package/dist/csc-ui/p-c4122519.entry.js +2 -0
- package/dist/csc-ui/p-c4122519.entry.js.map +1 -0
- package/dist/csc-ui/p-c5847170.entry.js +2 -0
- package/dist/csc-ui/p-c5847170.entry.js.map +1 -0
- package/dist/csc-ui/p-d18578fc.entry.js +2 -0
- package/dist/csc-ui/p-d18578fc.entry.js.map +1 -0
- package/dist/csc-ui/p-d3659ea8.entry.js +2 -0
- package/dist/csc-ui/p-d3659ea8.entry.js.map +1 -0
- package/dist/csc-ui/p-dffa1f9f.js +2 -0
- package/dist/csc-ui/p-dffa1f9f.js.map +1 -0
- package/dist/csc-ui/p-e81aa4e4.entry.js +2 -0
- package/dist/csc-ui/p-e81aa4e4.entry.js.map +1 -0
- package/dist/csc-ui/p-e8cddda8.entry.js +2 -0
- package/dist/csc-ui/p-e8cddda8.entry.js.map +1 -0
- package/dist/csc-ui/p-e970fa68.entry.js +2 -0
- package/dist/csc-ui/p-e970fa68.entry.js.map +1 -0
- package/dist/csc-ui/p-edb164fa.entry.js +2 -0
- package/dist/csc-ui/p-edb164fa.entry.js.map +1 -0
- package/dist/csc-ui/p-f327adbb.entry.js +2 -0
- package/dist/csc-ui/p-f327adbb.entry.js.map +1 -0
- package/dist/csc-ui/p-f32832e3.entry.js +2 -0
- package/dist/csc-ui/p-f32832e3.entry.js.map +1 -0
- package/dist/csc-ui/p-f65ed4bf.entry.js +2 -0
- package/dist/csc-ui/p-f65ed4bf.entry.js.map +1 -0
- package/dist/csc-ui/p-fa86088a.entry.js +2 -0
- package/dist/csc-ui/p-fa86088a.entry.js.map +1 -0
- package/dist/csc-ui/p-fafac729.js +2 -0
- package/dist/csc-ui/p-fafac729.js.map +1 -0
- package/dist/csc-ui/p-fc284e52.entry.js +2 -0
- package/dist/csc-ui/p-fc284e52.entry.js.map +1 -0
- package/dist/csc-ui/p-fe217f6c.entry.js +2 -0
- package/dist/csc-ui/p-fe217f6c.entry.js.map +1 -0
- package/dist/esm/c-accordion-item.entry.js +114 -0
- package/dist/esm/c-accordion-item.entry.js.map +1 -0
- package/dist/esm/c-accordion.entry.js +64 -0
- package/dist/esm/c-accordion.entry.js.map +1 -0
- package/dist/esm/c-alert.entry.js +26 -0
- package/dist/esm/c-alert.entry.js.map +1 -0
- package/dist/esm/c-autocomplete.entry.js +259 -0
- package/dist/esm/c-autocomplete.entry.js.map +1 -0
- package/dist/esm/c-badge_12.entry.js +427 -0
- package/dist/esm/c-badge_12.entry.js.map +1 -0
- package/dist/esm/c-card-actions.entry.js +24 -0
- package/dist/esm/c-card-actions.entry.js.map +1 -0
- package/dist/esm/c-card-content.entry.js +17 -0
- package/dist/esm/c-card-content.entry.js.map +1 -0
- package/dist/esm/c-card-title.entry.js +17 -0
- package/dist/esm/c-card-title.entry.js.map +1 -0
- package/dist/esm/c-checkbox_2.entry.js +337 -0
- package/dist/esm/c-checkbox_2.entry.js.map +1 -0
- package/dist/esm/c-data-table.entry.js +697 -0
- package/dist/esm/c-data-table.entry.js.map +1 -0
- package/dist/esm/c-dropdown_4.entry.js +830 -0
- package/dist/esm/c-dropdown_4.entry.js.map +1 -0
- package/dist/esm/c-link.entry.js +27 -0
- package/dist/esm/c-link.entry.js.map +1 -0
- package/dist/esm/c-list-item-title.entry.js +22 -0
- package/dist/esm/c-list-item-title.entry.js.map +1 -0
- package/dist/esm/c-list-item.entry.js +79 -0
- package/dist/esm/c-list-item.entry.js.map +1 -0
- package/dist/esm/c-list.entry.js +41 -0
- package/dist/esm/c-list.entry.js.map +1 -0
- package/dist/esm/c-loader.entry.js +35 -0
- package/dist/esm/c-loader.entry.js.map +1 -0
- package/dist/esm/c-login-button.entry.js +21 -0
- package/dist/esm/c-login-button.entry.js.map +1 -0
- package/dist/esm/c-login-buttons.entry.js +17 -0
- package/dist/esm/c-login-buttons.entry.js.map +1 -0
- package/dist/esm/c-login-card-actions.entry.js +16 -0
- package/dist/esm/c-login-card-actions.entry.js.map +1 -0
- package/dist/esm/c-login-card-content.entry.js +17 -0
- package/dist/esm/c-login-card-content.entry.js.map +1 -0
- package/dist/esm/c-login-card-title.entry.js +17 -0
- package/dist/esm/c-login-card-title.entry.js.map +1 -0
- package/dist/esm/c-login-card.entry.js +62 -0
- package/dist/esm/c-login-card.entry.js.map +1 -0
- package/dist/esm/c-menu_2.entry.js +349 -0
- package/dist/esm/c-menu_2.entry.js.map +1 -0
- package/dist/esm/c-modal.entry.js +104 -0
- package/dist/esm/c-modal.entry.js.map +1 -0
- package/dist/esm/c-navigation-button.entry.js +18 -0
- package/dist/esm/c-navigation-button.entry.js.map +1 -0
- package/dist/esm/c-option-value.entry.js +17 -0
- package/dist/esm/c-option-value.entry.js.map +1 -0
- package/dist/esm/c-option.entry.js +21 -0
- package/dist/esm/c-option.entry.js.map +1 -0
- package/dist/esm/c-otp-input.entry.js +150 -0
- package/dist/esm/c-otp-input.entry.js.map +1 -0
- package/dist/esm/c-page.entry.js +27 -0
- package/dist/esm/c-page.entry.js.map +1 -0
- package/dist/esm/c-progress-bar.entry.js +55 -0
- package/dist/esm/c-progress-bar.entry.js.map +1 -0
- package/dist/esm/c-radio-group.entry.js +150 -0
- package/dist/esm/c-radio-group.entry.js.map +1 -0
- package/dist/esm/c-radio.entry.js +20 -0
- package/dist/esm/c-radio.entry.js.map +1 -0
- package/dist/esm/c-select.entry.js +327 -0
- package/dist/esm/c-select.entry.js.map +1 -0
- package/dist/esm/c-side-navigation-item.entry.js +117 -0
- package/dist/esm/c-side-navigation-item.entry.js.map +1 -0
- package/dist/esm/c-side-navigation-title.entry.js +17 -0
- package/dist/esm/c-side-navigation-title.entry.js.map +1 -0
- package/dist/esm/c-side-navigation.entry.js +67 -0
- package/dist/esm/c-side-navigation.entry.js.map +1 -0
- package/dist/esm/c-status.entry.js +19 -0
- package/dist/esm/c-status.entry.js.map +1 -0
- package/dist/esm/c-step.entry.js +23 -0
- package/dist/esm/c-step.entry.js.map +1 -0
- package/dist/esm/c-steps.entry.js +74 -0
- package/dist/esm/c-steps.entry.js.map +1 -0
- package/dist/esm/c-sub-navigation-item.entry.js +47 -0
- package/dist/esm/c-sub-navigation-item.entry.js.map +1 -0
- package/dist/esm/c-swiper-tab.entry.js +43 -0
- package/dist/esm/c-swiper-tab.entry.js.map +1 -0
- package/dist/esm/c-swiper.entry.js +4183 -0
- package/dist/esm/c-swiper.entry.js.map +1 -0
- package/dist/esm/c-switch.entry.js +67 -0
- package/dist/esm/c-switch.entry.js.map +1 -0
- package/dist/esm/c-tab-buttons.entry.js +129 -0
- package/dist/esm/c-tab-buttons.entry.js.map +1 -0
- package/dist/esm/c-tab-item.entry.js +36 -0
- package/dist/esm/c-tab-item.entry.js.map +1 -0
- package/dist/esm/c-tab-items.entry.js +77 -0
- package/dist/esm/c-tab-items.entry.js.map +1 -0
- package/dist/esm/c-tab.entry.js +55 -0
- package/dist/esm/c-tab.entry.js.map +1 -0
- package/dist/esm/c-table.entry.js +43 -0
- package/dist/esm/c-table.entry.js.map +1 -0
- package/dist/esm/c-tabs.entry.js +419 -0
- package/dist/esm/c-tabs.entry.js.map +1 -0
- package/dist/esm/c-tag.entry.js +41 -0
- package/dist/esm/c-tag.entry.js.map +1 -0
- package/dist/esm/c-tags.entry.js +17 -0
- package/dist/esm/c-tags.entry.js.map +1 -0
- package/dist/esm/c-text-field.entry.js +147 -0
- package/dist/esm/c-text-field.entry.js.map +1 -0
- package/dist/esm/c-toast.entry.js +69 -0
- package/dist/esm/c-toast.entry.js.map +1 -0
- package/dist/esm/c-toasts.entry.js +76 -0
- package/dist/esm/c-toasts.entry.js.map +1 -0
- package/dist/esm/csc-ui.js +20 -0
- package/dist/esm/csc-ui.js.map +1 -0
- package/dist/esm/index-cdf029b7.js +2575 -0
- package/dist/esm/index-cdf029b7.js.map +1 -0
- package/dist/esm/index-dfaed2a4.js +23 -0
- package/dist/esm/index-dfaed2a4.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/mdi-a4a63b40.js +25 -0
- package/dist/esm/mdi-a4a63b40.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +3 -0
- package/dist/loader/index.cjs.js +3 -0
- package/dist/loader/index.d.ts +21 -0
- package/dist/loader/index.es2017.js +3 -0
- package/dist/loader/index.js +4 -0
- package/dist/loader/package.json +11 -0
- package/dist/playwright.config.js +46 -0
- package/dist/playwright.config.js.map +1 -0
- package/dist/stencil.config.js +41 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/styles/css/c-data-table.css +10 -0
- package/dist/styles/css/theme.css +100 -0
- package/dist/styles/css/typography.css +10 -0
- package/dist/styles/scss/_c-data-table.scss +7 -0
- package/dist/styles/scss/_theme.scss +97 -0
- package/dist/styles/scss/_typography.scss +7 -0
- package/dist/styles/tailwind/theme.js +117 -0
- package/dist/styles/variables.css +111 -0
- package/dist/styles/variables.scss +108 -0
- package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/playwright.config.d.ts +2 -0
- package/dist/types/Users/veriksso/Documents/code/ui/packages/csc-ui/.stencil/stencil.config.d.ts +2 -0
- package/dist/types/components/c-accordion/c-accordion.d.ts +18 -0
- package/dist/types/components/c-accordion/test/c-accordion.visual.d.ts +1 -0
- package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +27 -0
- package/dist/types/components/c-alert/c-alert.d.ts +6 -0
- package/dist/types/components/c-alert/test/c-alert.visual.d.ts +1 -0
- package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +65 -0
- package/dist/types/components/c-autocomplete/test/c-autocomplete.visual.d.ts +1 -0
- package/dist/types/components/c-badge/c-badge.d.ts +3 -0
- package/dist/types/components/c-button/c-button.d.ts +36 -0
- package/dist/types/components/c-button/test/c-button.visual.d.ts +1 -0
- package/dist/types/components/c-card/c-card.d.ts +12 -0
- package/dist/types/components/c-card/test/c-card.visual.d.ts +1 -0
- package/dist/types/components/c-card-actions/c-card-actions.d.ts +5 -0
- package/dist/types/components/c-card-content/c-card-content.d.ts +3 -0
- package/dist/types/components/c-card-title/c-card-title.d.ts +3 -0
- package/dist/types/components/c-checkbox/c-checkbox.d.ts +37 -0
- package/dist/types/components/c-checkbox/test/c-checkbox.visual.d.ts +1 -0
- package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +4 -0
- package/dist/types/components/c-data-table/c-data-table.d.ts +116 -0
- package/dist/types/components/c-data-table/test/c-data-table.visual.d.ts +1 -0
- package/dist/types/components/c-data-table/test/data/index.d.ts +3 -0
- package/dist/types/components/c-dropdown/c-dropdown.d.ts +66 -0
- package/dist/types/components/c-dropdowns/c-dropdowns.d.ts +29 -0
- package/dist/types/components/c-icon/c-icon.d.ts +7 -0
- package/dist/types/components/c-icon-button/c-icon-button.d.ts +18 -0
- package/dist/types/components/c-icon-button/test/c-icon-button.visual.d.ts +1 -0
- package/dist/types/components/c-input/c-input.d.ts +75 -0
- package/dist/types/components/c-link/c-link.d.ts +7 -0
- package/dist/types/components/c-link/test/c-link.visual.d.ts +1 -0
- package/dist/types/components/c-list/c-list.d.ts +8 -0
- package/dist/types/components/c-list-item/c-list-item.d.ts +16 -0
- package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +4 -0
- package/dist/types/components/c-loader/c-loader.d.ts +10 -0
- package/dist/types/components/c-login-button/c-login-button.d.ts +6 -0
- package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +3 -0
- package/dist/types/components/c-login-card/c-login-card.d.ts +19 -0
- package/dist/types/components/c-login-card/test/c-login-card.visual.d.ts +1 -0
- package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +5 -0
- package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +3 -0
- package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +3 -0
- package/dist/types/components/c-main/c-main.d.ts +3 -0
- package/dist/types/components/c-menu/c-menu.d.ts +26 -0
- package/dist/types/components/c-menu/test/c-menu.visual.d.ts +1 -0
- package/dist/types/components/c-menu-items/c-menu-items.d.ts +44 -0
- package/dist/types/components/c-message/c-message.d.ts +18 -0
- package/dist/types/components/c-modal/c-modal.d.ts +23 -0
- package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +3 -0
- package/dist/types/components/c-option/c-option.d.ts +7 -0
- package/dist/types/components/c-option-value/c-option-value.d.ts +3 -0
- package/dist/types/components/c-otp-input/c-otp-input.d.ts +31 -0
- package/dist/types/components/c-page/c-page.d.ts +7 -0
- package/dist/types/components/c-pagination/c-pagination.d.ts +38 -0
- package/dist/types/components/c-pagination/test/c-pagination.visual.d.ts +1 -0
- package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +9 -0
- package/dist/types/components/c-progress-bar/test/c-progress-bar.visual.d.ts +1 -0
- package/dist/types/components/c-radio/c-radio.d.ts +6 -0
- package/dist/types/components/c-radio-group/c-radio-group.d.ts +40 -0
- package/dist/types/components/c-radio-group/test/c-radio-group.visual.d.ts +1 -0
- package/dist/types/components/c-radio-group/test/items.d.ts +2 -0
- package/dist/types/components/c-ripple/c-ripple.d.ts +7 -0
- package/dist/types/components/c-row/c-row.d.ts +10 -0
- package/dist/types/components/c-select/c-select.d.ts +73 -0
- package/dist/types/components/c-select/test/c-select.visual.d.ts +1 -0
- package/dist/types/components/c-select/test/items.d.ts +2 -0
- package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +9 -0
- package/dist/types/components/c-side-navigation/test/c-side-navigation.visual.d.ts +1 -0
- package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +20 -0
- package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +3 -0
- package/dist/types/components/c-spacer/c-spacer.d.ts +3 -0
- package/dist/types/components/c-spinner/c-spinner.d.ts +6 -0
- package/dist/types/components/c-status/c-status.d.ts +4 -0
- package/dist/types/components/c-status/test/c-status.visual.d.ts +1 -0
- package/dist/types/components/c-step/c-step.d.ts +5 -0
- package/dist/types/components/c-steps/c-steps.d.ts +16 -0
- package/dist/types/components/c-steps/test/c-steps.visual.d.ts +1 -0
- package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +10 -0
- package/dist/types/components/c-swiper/c-swiper.d.ts +25 -0
- package/dist/types/components/c-swiper/test/c-swiper.visual.d.ts +1 -0
- package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +16 -0
- package/dist/types/components/c-switch/c-switch.d.ts +18 -0
- package/dist/types/components/c-switch/test/c-switch.visual.d.ts +1 -0
- package/dist/types/components/c-tab/c-tab.d.ts +20 -0
- package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +24 -0
- package/dist/types/components/c-tab-buttons/test/c-tab-buttons.visual.d.ts +1 -0
- package/dist/types/components/c-tab-item/c-tab-item.d.ts +12 -0
- package/dist/types/components/c-tab-items/c-tab-items.d.ts +18 -0
- package/dist/types/components/c-table/c-table.d.ts +12 -0
- package/dist/types/components/c-tabs/c-tabs.d.ts +67 -0
- package/dist/types/components/c-tabs/test/c-tabs.visual.d.ts +1 -0
- package/dist/types/components/c-tag/c-tag.d.ts +12 -0
- package/dist/types/components/c-tag/test/c-tag.visual.d.ts +1 -0
- package/dist/types/components/c-tags/c-tags.d.ts +3 -0
- package/dist/types/components/c-text-field/c-text-field.d.ts +56 -0
- package/dist/types/components/c-text-field/test/c-text-field.visual.d.ts +1 -0
- package/dist/types/components/c-toast/c-toast.d.ts +19 -0
- package/dist/types/components/c-toasts/c-toasts.d.ts +17 -0
- package/dist/types/components/c-toasts/test/c-toasts.visual.d.ts +1 -0
- package/dist/types/components/c-toolbar/c-toolbar.d.ts +3 -0
- package/dist/types/components/c-toolbar/test/c-toolbar.visual.d.ts +1 -0
- package/dist/types/components.d.ts +5143 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/stencil-public-runtime.d.ts +1673 -0
- package/dist/types/types/global.d.ts +13 -0
- package/dist/types/types/index.d.ts +145 -0
- package/dist/types/utils/test/sleep.d.ts +1 -0
- package/dist/types/utils/test/takeScreenshot.d.ts +2 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +13 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +95 -0
- package/vscode-data.json +2135 -0
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-cdf029b7.js';
|
|
2
|
+
import { q as mdiEye, r as mdiEyeOff, s as mdiCalendar } from './mdi-a4a63b40.js';
|
|
3
|
+
|
|
4
|
+
const cTextFieldCss = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:root,:host{--_c-text-field-active-color:var(--c-text-field-active-color, var(--c-primary-600));--_c-text-field-inactive-color:var(--c-text-field-inactive-color, var(--c-tertiary-600));--_c-text-field-background-color:var(--c-text-field-background-color, var(--c-transparent));--_c-text-field-text-color:var(--c-text-field-text-color, var(--c-text-body));--_c-text-field-placeholder-color:var(--c-text-field-placeholder-color, var(--c-tertiary-500));--_c-text-field-shadow-active-color:var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));--_c-text-field-shadow-background-color:var(--c-text-field-shadow-background-color, var(--c-white));--_c-text-field-shadow-text-color:var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));--_c-text-field-shadow-placeholder-color:var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color))}.c-input{--_c-input-active-color:var(--_c-text-field-active-color);--_c-input-inactive-color:var(--_c-text-field-inactive-color);--_c-input-background-color:var(--_c-text-field-background-color);--_c-input-text-color:var(--_c-text-field-text-color);--_c-input-placeholder-color:var(--_c-text-field-placeholder-color);--_c-input-shadow-active-color:var(--_c-text-field-shadow-active-color);--_c-input-shadow-background-color:var(--_c-text-field-shadow-background-color);--_c-input-shadow-text-color:var(--_c-text-field-shadow-text-color);--_c-input-shadow-placeholder-color:var(--_c-text-field-shadow-placeholder-color)}.c-input__password-toggle,.c-input__date-toggle{cursor:pointer;fill:currentColor;height:22px;width:22px}.c-input__password-toggle--disabled,.c-input__date-toggle--disabled{cursor:not-allowed;fill:var(--c-tertiary-500)}.c-input input[type=date]{opacity:0}.c-input input[type=date]::-webkit-calendar-picker-indicator,.c-input input[type=date]::-webkit-inner-spin-button{display:none;appearance:none}.c-input input[type=date]:focus,.c-input input[type=date].c-input__input--filled{opacity:1}";
|
|
5
|
+
|
|
6
|
+
const CTextField = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.changeValue = createEvent(this, "changeValue", 3);
|
|
10
|
+
if (hostRef.$hostElement$["s-ei"]) {
|
|
11
|
+
this.internals = hostRef.$hostElement$["s-ei"];
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
this.internals = hostRef.$hostElement$.attachInternals();
|
|
15
|
+
hostRef.$hostElement$["s-ei"] = this.internals;
|
|
16
|
+
}
|
|
17
|
+
this._originalType = '';
|
|
18
|
+
this._handleChange = (event) => {
|
|
19
|
+
this.value = this.trimWhitespace
|
|
20
|
+
? event.target.value.trim()
|
|
21
|
+
: event.target.value;
|
|
22
|
+
this.changeValue.emit(this.value);
|
|
23
|
+
this.internals.setFormValue(this.value);
|
|
24
|
+
};
|
|
25
|
+
this._handleBlur = (event) => {
|
|
26
|
+
if (this.trimWhitespace) {
|
|
27
|
+
const trimmedValue = event.target.value.trim();
|
|
28
|
+
event.target.value = trimmedValue;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
this._togglePasswordVisibility = () => {
|
|
32
|
+
if (this.disabled)
|
|
33
|
+
return;
|
|
34
|
+
this.type = this.type === 'password' ? 'text' : 'password';
|
|
35
|
+
};
|
|
36
|
+
this.autofocus = false;
|
|
37
|
+
this.autocapitalize = '';
|
|
38
|
+
this.autocorrect = '';
|
|
39
|
+
this.autocomplete = '';
|
|
40
|
+
this.disabled = false;
|
|
41
|
+
this.hideDetails = false;
|
|
42
|
+
this.hint = '';
|
|
43
|
+
this.hostId = undefined;
|
|
44
|
+
this.trimWhitespace = false;
|
|
45
|
+
this.label = undefined;
|
|
46
|
+
this.max = null;
|
|
47
|
+
this.min = null;
|
|
48
|
+
this.name = undefined;
|
|
49
|
+
this.number = false;
|
|
50
|
+
this.placeholder = undefined;
|
|
51
|
+
this.readonly = false;
|
|
52
|
+
this.required = false;
|
|
53
|
+
this.rows = 1;
|
|
54
|
+
this.shadow = false;
|
|
55
|
+
this.step = null;
|
|
56
|
+
this.type = undefined;
|
|
57
|
+
this.valid = true;
|
|
58
|
+
this.validate = false;
|
|
59
|
+
this.validateOnBlur = false;
|
|
60
|
+
this.validation = 'Required field';
|
|
61
|
+
this.value = undefined;
|
|
62
|
+
this.isFocused = false;
|
|
63
|
+
this.labelWidth = 0;
|
|
64
|
+
this.preSlotWidth = 0;
|
|
65
|
+
this.messageOptions = {
|
|
66
|
+
show: true,
|
|
67
|
+
type: 'hint',
|
|
68
|
+
content: '',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
componentWillLoad() {
|
|
72
|
+
CTextField._uniqueId += 1;
|
|
73
|
+
this._originalType = this.type;
|
|
74
|
+
this._inputId = `${(this.hostId ||
|
|
75
|
+
this.label ||
|
|
76
|
+
this.placeholder ||
|
|
77
|
+
'').replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextField._uniqueId}`;
|
|
78
|
+
this.internals.setFormValue(this.value);
|
|
79
|
+
}
|
|
80
|
+
get isActive() {
|
|
81
|
+
return !!this.value || this.isFocused;
|
|
82
|
+
}
|
|
83
|
+
get passwordIcon() {
|
|
84
|
+
return this.type === 'password' ? mdiEye : mdiEyeOff;
|
|
85
|
+
}
|
|
86
|
+
_renderInputElement() {
|
|
87
|
+
const props = {
|
|
88
|
+
classes: {
|
|
89
|
+
'c-input__input': true,
|
|
90
|
+
'c-input__input--filled': !!this.value,
|
|
91
|
+
},
|
|
92
|
+
shared: {
|
|
93
|
+
id: this._inputId,
|
|
94
|
+
name: this.name,
|
|
95
|
+
disabled: this.disabled,
|
|
96
|
+
readonly: this.readonly,
|
|
97
|
+
value: this.value,
|
|
98
|
+
onInput: this._handleChange,
|
|
99
|
+
onChange: this._handleChange,
|
|
100
|
+
onBlur: this._handleBlur,
|
|
101
|
+
},
|
|
102
|
+
input: Object.assign(Object.assign(Object.assign({ type: this.number ? 'number' : this.type || 'text', min: this.min, max: this.max, step: this.step }, (!!this.autocomplete && { autocomplete: this.autocomplete })), (!!this.autocapitalize && { autocapitalize: this.autocapitalize })), (!!this.autocorrect && { autocorrect: this.autocorrect })),
|
|
103
|
+
textArea: {
|
|
104
|
+
rows: this.rows,
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
const textInput = (h("input", Object.assign({ class: props.classes }, props.input, props.shared, { ref: (el) => (this._inputElement = el) })));
|
|
108
|
+
const textArea = (h("textarea", Object.assign({ class: props.classes }, props.shared, props.textArea)));
|
|
109
|
+
return this.rows > 1 ? textArea : textInput;
|
|
110
|
+
}
|
|
111
|
+
_isFirefox() {
|
|
112
|
+
return !!navigator.userAgent.match(/firefox|fxios/i);
|
|
113
|
+
}
|
|
114
|
+
_renderDateToggle() {
|
|
115
|
+
if (this._originalType !== 'date' || this._isFirefox())
|
|
116
|
+
return;
|
|
117
|
+
const classes = {
|
|
118
|
+
'c-input__date-toggle': true,
|
|
119
|
+
'c-input__date-toggle--disabled': this.disabled,
|
|
120
|
+
};
|
|
121
|
+
return (h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._toggleDatepicker.bind(this) }, h("path", { d: mdiCalendar })));
|
|
122
|
+
}
|
|
123
|
+
_toggleDatepicker() {
|
|
124
|
+
var _a;
|
|
125
|
+
(_a = this._inputElement) === null || _a === void 0 ? void 0 : _a.showPicker();
|
|
126
|
+
}
|
|
127
|
+
_renderPasswordToggle() {
|
|
128
|
+
if (this._originalType !== 'password')
|
|
129
|
+
return;
|
|
130
|
+
const classes = {
|
|
131
|
+
'c-input__password-toggle': true,
|
|
132
|
+
'c-input__password-toggle--disabled': this.disabled,
|
|
133
|
+
};
|
|
134
|
+
return (h("svg", { class: classes, viewBox: "0 0 24 24", onClick: this._togglePasswordVisibility }, h("path", { d: this.passwordIcon })));
|
|
135
|
+
}
|
|
136
|
+
render() {
|
|
137
|
+
return (h(Host, null, h("c-input", { autofocus: this.autofocus, 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 }, h("slot", { name: "pre", slot: "pre" }), this._renderInputElement(), this._renderPasswordToggle(), this._renderDateToggle(), h("slot", { name: "post" }))));
|
|
138
|
+
}
|
|
139
|
+
static get formAssociated() { return true; }
|
|
140
|
+
get hiddenEl() { return getElement(this); }
|
|
141
|
+
};
|
|
142
|
+
CTextField._uniqueId = 0;
|
|
143
|
+
CTextField.style = cTextFieldCss;
|
|
144
|
+
|
|
145
|
+
export { CTextField as c_text_field };
|
|
146
|
+
|
|
147
|
+
//# sourceMappingURL=c-text-field.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"c-text-field.entry.js","mappings":"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","names":[],"sources":["src/components/c-text-field/c-text-field.scss?tag=c-text-field&encapsulation=shadow","src/components/c-text-field/c-text-field.tsx"],"sourcesContent":[":root,\n:host {\n /**\n * @prop --c-text-field-active-color: Active text field color\n * @prop --c-text-field-inactive-color: Inactive text field color\n * @prop --c-text-field-background-color: Inactive text field background color\n * @prop --c-text-field-text-color: Text field text color\n * @prop --c-text-field-placeholder-color:Text field placeholder color\n * @prop --c-text-field-shadow-active-color: Shadow text field active color\n * @prop --c-text-field-shadow-background-color: Shadow text field background color\n * @prop --c-text-field-shadow-text-color: Shadow text field text color\n * @prop --c-text-field-shadow-placeholder-color: Shadow text field placeholder color\n */\n --_c-text-field-active-color: var(--c-text-field-active-color, var(--c-primary-600));\n --_c-text-field-inactive-color: var(--c-text-field-inactive-color, var(--c-tertiary-600));\n --_c-text-field-background-color: var(--c-text-field-background-color, var(--c-transparent));\n --_c-text-field-text-color: var(--c-text-field-text-color, var(--c-text-body));\n --_c-text-field-placeholder-color: var(--c-text-field-placeholder-color, var(--c-tertiary-500));\n --_c-text-field-shadow-active-color: var(--c-text-field-shadow-active-color, var(--_c-text-field-active-color));\n --_c-text-field-shadow-background-color: var(--c-text-field-shadow-background-color, var(--c-white));\n --_c-text-field-shadow-text-color: var(--c-text-field-shadow-text-color, var(--_c-text-field-text-color));\n --_c-text-field-shadow-placeholder-color: var(--c-text-field-shadow-placeholder-color, var(--_c-text-field-placeholder-color));\n}\n\n.c-input {\n --_c-input-active-color: var(--_c-text-field-active-color);\n --_c-input-inactive-color: var(--_c-text-field-inactive-color);\n --_c-input-background-color: var(--_c-text-field-background-color);\n --_c-input-text-color: var(--_c-text-field-text-color);\n --_c-input-placeholder-color: var(--_c-text-field-placeholder-color);\n --_c-input-shadow-active-color: var(--_c-text-field-shadow-active-color);\n --_c-input-shadow-background-color: var(--_c-text-field-shadow-background-color);\n --_c-input-shadow-text-color: var(--_c-text-field-shadow-text-color);\n --_c-input-shadow-placeholder-color: var(--_c-text-field-shadow-placeholder-color);\n\n &__password-toggle,\n &__date-toggle {\n cursor: pointer;\n fill: currentColor;\n height: 22px;\n width: 22px;\n\n &--disabled {\n cursor: not-allowed;\n fill: var(--c-tertiary-500);\n }\n }\n\n input {\n &[type=\"date\"] {\n opacity: 0;\n\n &::-webkit-calendar-picker-indicator,\n &::-webkit-inner-spin-button {\n display: none;\n appearance: none;\n }\n\n &:focus,\n &.c-input__input--filled {\n opacity: 1;\n }\n }\n }\n}\n","import {\n AttachInternals,\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { mdiCalendar, mdiEye, mdiEyeOff } from '@mdi/js';\n\n/**\n * @group Form\n * @slot pre - Content added before the input\n * @slot post - Content added after the input\n */\n@Component({\n tag: 'c-text-field',\n styleUrl: 'c-text-field.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class CTextField {\n // eslint-disable-next-line\n @AttachInternals() internals: ElementInternals;\n\n /**\n * Auto focus the input\n */\n @Prop() autofocus = false;\n\n /**\n * HTML input autocapitalize\n */\n @Prop() autocapitalize = '';\n\n /**\n * HTML input autocorrect\n */\n @Prop() autocorrect = '';\n\n /**\n * HTML input autocomplete\n */\n @Prop() autocomplete = '';\n\n /**\n * Disable the input\n */\n @Prop() disabled = false;\n\n /**\n * Hide the hint and error messages\n */\n @Prop() hideDetails = false;\n\n /**\n * Hint text for the input\n */\n @Prop() hint = '';\n\n /**\n * Id of the input\n */\n @Prop({ attribute: 'id' }) hostId: string;\n\n /**\n * Trim whitespace from the return value\n */\n @Prop() trimWhitespace = false;\n\n /**\n * Label of the input\n */\n @Prop() label: string;\n\n /**\n * Maximum value on a numeric input\n */\n @Prop() max: number = null;\n\n /**\n * Minimum value on a numeric input\n */\n @Prop() min: number = null;\n\n /**\n * Name of the input\n */\n @Prop() name: string;\n\n /**\n * Numeric input\n *\n * @deprecated Use type=\"number\" instead\n */\n @Prop() number = false;\n\n /**\n * Placeholder of the input\n */\n @Prop() placeholder: string;\n\n /**\n * Mark as readonly\n */\n @Prop() readonly = false;\n\n /**\n * Set the input as required\n */\n @Prop() required = false;\n\n /**\n * Rows on the input\n */\n @Prop() rows = 1;\n\n /**\n * Shadow variant of the input\n */\n @Prop() shadow = false;\n\n /**\n * Step size on a numeric input\n */\n @Prop() step: number = null;\n\n /**\n * Type of the input\n */\n @Prop() type: string;\n\n /**\n * Set the validity of the input\n */\n @Prop() valid = true;\n\n /**\n * Manual validation\n */\n @Prop() validate = false;\n\n /**\n * Validate the input on blur\n */\n @Prop() validateOnBlur = false;\n\n /**\n * Custom validation message\n */\n @Prop() validation = 'Required field';\n\n /**\n * Value of the input\n */\n @Prop({ mutable: true }) value: string;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false }) changeValue: EventEmitter;\n\n @State() isFocused = false;\n\n @State() labelWidth = 0;\n\n @State() preSlotWidth = 0;\n\n @State() messageOptions = {\n show: true,\n type: 'hint',\n content: '',\n };\n\n @Element() hiddenEl!: HTMLCTextFieldElement;\n\n private _inputElement: HTMLInputElement;\n\n private _originalType = '';\n\n private _inputId: string;\n\n private static _uniqueId = 0;\n\n componentWillLoad() {\n CTextField._uniqueId += 1;\n\n this._originalType = this.type;\n\n this._inputId = `${(\n this.hostId ||\n this.label ||\n this.placeholder ||\n ''\n ).replace(/[^a-zA-Z0-9-_]/g, '')}_${CTextField._uniqueId}`;\n\n this.internals.setFormValue(this.value);\n }\n\n get isActive() {\n return !!this.value || this.isFocused;\n }\n\n get passwordIcon() {\n return this.type === 'password' ? mdiEye : mdiEyeOff;\n }\n\n private _handleChange = (event) => {\n this.value = this.trimWhitespace\n ? event.target.value.trim()\n : event.target.value;\n\n this.changeValue.emit(this.value);\n this.internals.setFormValue(this.value);\n };\n\n private _handleBlur = (event) => {\n if (this.trimWhitespace) {\n const trimmedValue = event.target.value.trim();\n\n event.target.value = trimmedValue;\n }\n };\n\n private _renderInputElement() {\n const props = {\n classes: {\n 'c-input__input': true,\n 'c-input__input--filled': !!this.value,\n },\n shared: {\n id: this._inputId,\n name: this.name,\n disabled: this.disabled,\n readonly: this.readonly,\n value: this.value,\n onInput: this._handleChange,\n onChange: this._handleChange,\n onBlur: this._handleBlur,\n },\n input: {\n type: this.number ? 'number' : this.type || 'text',\n min: this.min,\n max: this.max,\n step: this.step,\n ...(!!this.autocomplete && { autocomplete: this.autocomplete }),\n ...(!!this.autocapitalize && { autocapitalize: this.autocapitalize }),\n ...(!!this.autocorrect && { autocorrect: this.autocorrect }),\n },\n textArea: {\n rows: this.rows,\n },\n };\n\n const textInput = (\n <input\n class={props.classes}\n {...props.input}\n {...props.shared}\n ref={(el) => (this._inputElement = el)}\n />\n );\n\n const textArea = (\n <textarea\n class={props.classes}\n {...props.shared}\n {...props.textArea}\n ></textarea>\n );\n\n return this.rows > 1 ? textArea : textInput;\n }\n\n private _isFirefox() {\n return !!navigator.userAgent.match(/firefox|fxios/i);\n }\n\n private _renderDateToggle() {\n if (this._originalType !== 'date' || this._isFirefox()) return;\n\n const classes = {\n 'c-input__date-toggle': true,\n 'c-input__date-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._toggleDatepicker.bind(this)}\n >\n <path d={mdiCalendar} />\n </svg>\n );\n }\n\n private _toggleDatepicker() {\n this._inputElement?.showPicker();\n }\n\n private _renderPasswordToggle() {\n if (this._originalType !== 'password') return;\n\n const classes = {\n 'c-input__password-toggle': true,\n 'c-input__password-toggle--disabled': this.disabled,\n };\n\n return (\n <svg\n class={classes}\n viewBox=\"0 0 24 24\"\n onClick={this._togglePasswordVisibility}\n >\n <path d={this.passwordIcon} />\n </svg>\n );\n }\n\n private _togglePasswordVisibility = () => {\n if (this.disabled) return;\n\n this.type = this.type === 'password' ? 'text' : 'password';\n };\n\n render() {\n return (\n <Host>\n <c-input\n autofocus={this.autofocus}\n disabled={this.disabled}\n hide-details={this.hideDetails}\n hint={this.hint}\n id={this.hostId}\n input-id={this._inputId}\n label={this.label}\n name={this.name}\n placeholder={this.placeholder}\n readonly={this.readonly}\n required={this.required}\n rows={this.rows}\n shadow={this.shadow}\n type={this.type}\n valid={this.valid}\n validate={this.validate}\n validate-on-blur={this.validateOnBlur}\n validation={this.validation}\n value={this.value}\n >\n <slot name=\"pre\" slot=\"pre\"></slot>\n\n {this._renderInputElement()}\n\n {this._renderPasswordToggle()}\n\n {this._renderDateToggle()}\n\n <slot name=\"post\"></slot>\n </c-input>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-cdf029b7.js';
|
|
2
|
+
import { p as mdiClose, c as mdiAlert, d as mdiCloseCircle, e as mdiCheckCircle, f as mdiInformation } from './mdi-a4a63b40.js';
|
|
3
|
+
|
|
4
|
+
const cToastCss = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-toast){--_c-toast-background-color:var(--c-toast-background-color, var(--c-white));--_c-toast-text-color:var(--c-toast-text-color, var(--c-text-system));--_c-toast-animation-state:running;align-items:center;background-color:var(--_c-toast-background-color);border-radius:6px;border:2px solid var(--_c-toast-color);border-left-width:12px;box-shadow:rgba(0, 0, 0, 0.07) 0 1px 1px, rgba(0, 0, 0, 0.07) 0 2px 2px, rgba(0, 0, 0, 0.07) 0 4px 4px, rgba(0, 0, 0, 0.07) 0 8px 8px, rgba(0, 0, 0, 0.07) 0 16px 16px;box-sizing:border-box;color:var(--_c-toast-text-color);display:grid;min-height:52px;opacity:0;padding:8px 12px;pointer-events:all;text-align:left;transform:translateY(20px);transition:opacity 0.5s ease, transform 0.5s ease;width:100%;will-change:opacity, transform;z-index:10001;position:relative}:host(.show){opacity:1;transform:translateY(0)}:host(.info){--_c-toast-color:var(--c-info-600)}:host(.error){--_c-toast-color:var(--c-error-600)}:host(.warning){--_c-toast-color:var(--c-warning-600)}:host(.success){--_c-toast-color:var(--c-success-600)}.c-toast__content p{margin:0;font-weight:600}.c-toast__item{align-items:center;display:grid;gap:12px;grid-auto-columns:auto;grid-auto-flow:column;grid-template-columns:24px 1fr;font-weight:300}.c-toast__item>svg{fill:var(--_c-toast-color)}.c-toast__item svg{height:24px;width:24px}.c-toast__progress{background-color:var(--c-tertiary-200);border-radius:8px;height:6px;margin-top:8px;overflow:hidden;transform:translateZ(0)}:host(:hover){--_c-toast-animation-state:paused}.c-toast__progress__bar{animation-duration:var(--_c-toast-duration);animation-fill-mode:forwards;animation-iteration-count:1;animation-name:timer;animation-play-state:var(--_c-toast-animation-state);animation-timing-function:linear;background-color:var(--_c-toast-color);border-radius:8px;height:6px;width:100%}.c-toast__progress__bar.indeterminate{animation:indeterminate 2s infinite linear;left:-100%;width:50%;position:relative;transform-origin:0% 50%}.visuallyhidden{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes timer{100%{transform:translateX(-100%)}}@keyframes indeterminate{0%{transform:translateX(100%) scaleX(1)}30%{transform:translateX(170%) scaleX(1.75)}70%{transform:translateX(500%) scaleX(0.1)}100%{transform:translateX(500%) scaleX(0.1)}}";
|
|
5
|
+
|
|
6
|
+
const CToast = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.close = createEvent(this, "close", 7);
|
|
10
|
+
this._closed = false;
|
|
11
|
+
this._icons = {
|
|
12
|
+
close: mdiClose,
|
|
13
|
+
warning: mdiAlert,
|
|
14
|
+
error: mdiCloseCircle,
|
|
15
|
+
success: mdiCheckCircle,
|
|
16
|
+
info: mdiInformation,
|
|
17
|
+
};
|
|
18
|
+
this.message = undefined;
|
|
19
|
+
}
|
|
20
|
+
async closeToast() {
|
|
21
|
+
if (this._closed)
|
|
22
|
+
return;
|
|
23
|
+
this._closed = true;
|
|
24
|
+
this.el.classList.remove('show');
|
|
25
|
+
this.el.ontransitionend = () => this.close.emit(this.message);
|
|
26
|
+
}
|
|
27
|
+
componentDidLoad() {
|
|
28
|
+
window.requestAnimationFrame(() => {
|
|
29
|
+
this.el.classList.add('show');
|
|
30
|
+
});
|
|
31
|
+
if (this.message.persistent || this.message.indeterminate)
|
|
32
|
+
return;
|
|
33
|
+
this._startTime = Date.now();
|
|
34
|
+
this._remainingTime = this.message.duration;
|
|
35
|
+
this._timeout = window.setTimeout(() => this.closeToast(), +this.message.duration);
|
|
36
|
+
}
|
|
37
|
+
disconnectedCallback() {
|
|
38
|
+
window.clearTimeout(this._timeout);
|
|
39
|
+
}
|
|
40
|
+
_onMouseEnter() {
|
|
41
|
+
if (this.message.persistent || this.message.indeterminate)
|
|
42
|
+
return;
|
|
43
|
+
this._remainingTime = this._remainingTime - (Date.now() - this._startTime);
|
|
44
|
+
window.clearTimeout(this._timeout);
|
|
45
|
+
}
|
|
46
|
+
_onMouseLeave() {
|
|
47
|
+
if (this.message.persistent || this.message.indeterminate)
|
|
48
|
+
return;
|
|
49
|
+
this._startTime = Date.now();
|
|
50
|
+
this._timeout = window.setTimeout(() => this.closeToast(), this._remainingTime);
|
|
51
|
+
}
|
|
52
|
+
_renderCloseButton() {
|
|
53
|
+
const Tag = !!this.message.closeText ? 'c-button' : 'c-icon-button';
|
|
54
|
+
return (h(Tag, { "aria-label": "close", size: "small", text: true, onClick: () => this.closeToast() }, h("c-icon", Object.assign({}, (!!this.message.closeText && { slot: 'icon' }), { color: "var(--_c-toast-color)", path: this._icons.close })), this.message.closeText));
|
|
55
|
+
}
|
|
56
|
+
render() {
|
|
57
|
+
const showProgressBar = !this.message.persistent && this.message.progress;
|
|
58
|
+
return (h(Host, { id: `c-toast--${this.message.id}`, class: { [this.message.type]: true }, role: "alert", "aria-atomic": "true", "aria-live": "assertive", onMouseEnter: () => this._onMouseEnter(), onMouseLeave: () => this._onMouseLeave() }, h("span", { class: "visuallyhidden" }, this.message.type, " notification"), this.message.custom ? (h("div", { class: "c-toast__custom-item" }, h("div", { class: "c-toast__content" }, h("slot", null)))) : (h("div", { class: "c-toast__item" }, h("svg", { viewBox: "0 0 24 24" }, h("path", { d: this._icons[this.message.type] })), h("div", { class: "c-toast__content" }, !!this.message.title && h("p", null, this.message.title), this.message.message), !this.message.indeterminate && this._renderCloseButton())), showProgressBar && (h("div", { class: "c-toast__progress", style: { '--_c-toast-duration': `${this.message.duration}ms` } }, h("div", { class: {
|
|
59
|
+
'c-toast__progress__bar': true,
|
|
60
|
+
indeterminate: this.message.indeterminate,
|
|
61
|
+
} })))));
|
|
62
|
+
}
|
|
63
|
+
get el() { return getElement(this); }
|
|
64
|
+
};
|
|
65
|
+
CToast.style = cToastCss;
|
|
66
|
+
|
|
67
|
+
export { CToast as c_toast };
|
|
68
|
+
|
|
69
|
+
//# sourceMappingURL=c-toast.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"c-toast.entry.js","mappings":"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","names":[],"sources":["src/components/c-toast/c-toast.scss?tag=c-toast&encapsulation=shadow","src/components/c-toast/c-toast.tsx"],"sourcesContent":[":host(c-toast) {\n /**\n * @prop --c-toast-background-color: Toast background color\n * @prop --c-toast-text-color: Toast text color\n */\n --_c-toast-background-color: var(--c-toast-background-color, var(--c-white));\n --_c-toast-text-color: var(--c-toast-text-color, var(--c-text-system));\n\n // private\n --_c-toast-animation-state: running;\n\n align-items: center;\n background-color: var(--_c-toast-background-color);\n border-radius: 6px;\n border: 2px solid var(--_c-toast-color);\n border-left-width: 12px;\n box-shadow:\n rgba(0, 0, 0, 0.07) 0 1px 1px, rgba(0, 0, 0, 0.07) 0 2px 2px,\n rgba(0, 0, 0, 0.07) 0 4px 4px, rgba(0, 0, 0, 0.07) 0 8px 8px,\n rgba(0, 0, 0, 0.07) 0 16px 16px;\n box-sizing: border-box;\n color: var(--_c-toast-text-color);\n display: grid;\n min-height: 52px;\n opacity: 0;\n padding: 8px 12px;\n pointer-events: all;\n text-align: left;\n transform: translateY(20px);\n transition: opacity 0.5s ease, transform 0.5s ease;\n width: 100%;\n will-change: opacity, transform;\n z-index: 10001;\n position: relative;\n}\n\n:host(.show) {\n opacity: 1;\n transform: translateY(0);\n}\n\n:host(.info) {\n --_c-toast-color: var(--c-info-600);\n}\n\n:host(.error) {\n --_c-toast-color: var(--c-error-600);\n}\n\n:host(.warning) {\n --_c-toast-color: var(--c-warning-600);\n}\n\n:host(.success) {\n --_c-toast-color: var(--c-success-600);\n}\n\n.c-toast__content p {\n margin: 0;\n font-weight: 600;\n}\n\n.c-toast__item {\n align-items: center;\n display: grid;\n gap: 12px;\n grid-auto-columns: auto;\n grid-auto-flow: column;\n grid-template-columns: 24px 1fr;\n font-weight: 300;\n}\n\n.c-toast__item > svg {\n fill: var(--_c-toast-color);\n}\n\n.c-toast__item svg {\n height: 24px;\n width: 24px;\n}\n\n.c-toast__progress {\n background-color: var(--c-tertiary-200);\n border-radius: 8px;\n height: 6px;\n margin-top: 8px;\n overflow: hidden;\n transform: translateZ(0);\n}\n\n:host(:hover) {\n --_c-toast-animation-state: paused;\n}\n\n.c-toast__progress__bar {\n animation-duration: var(--_c-toast-duration);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-name: timer;\n animation-play-state: var(--_c-toast-animation-state);\n animation-timing-function: linear;\n background-color: var(--_c-toast-color);\n border-radius: 8px;\n height: 6px;\n width: 100%;\n}\n\n.c-toast__progress__bar.indeterminate {\n animation: indeterminate 2s infinite linear;\n left: -100%;\n width: 50%;\n position: relative;\n transform-origin: 0% 50%;\n}\n\n.visuallyhidden {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n@keyframes timer {\n 100% {\n transform: translateX(-100%);\n }\n}\n\n@keyframes indeterminate {\n 0% {\n transform: translateX(100%) scaleX(1);\n }\n\n 30% {\n transform: translateX(170%) scaleX(1.75);\n }\n\n 70% {\n transform: translateX(500%) scaleX(0.1);\n }\n\n 100% {\n transform: translateX(500%) scaleX(0.1);\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n EventEmitter,\n Event,\n Element,\n Method,\n} from '@stencil/core';\n\nimport {\n mdiClose,\n mdiAlert,\n mdiCloseCircle,\n mdiCheckCircle,\n mdiInformation,\n} from '@mdi/js';\n\nimport { CToastMessage } from '../../types';\n\n/**\n * @parent none\n */\n@Component({\n tag: 'c-toast',\n styleUrl: 'c-toast.scss',\n shadow: true,\n})\nexport class CToast {\n @Element() el: HTMLCToastElement;\n\n /**\n * Messages\n */\n @Prop() message: CToastMessage;\n\n /**\n * Emit inner value change to parent\n */\n @Event() close: EventEmitter<CToastMessage>;\n\n private _closed = false;\n\n private _startTime: number;\n\n private _remainingTime: number;\n\n private _icons = {\n close: mdiClose,\n warning: mdiAlert,\n error: mdiCloseCircle,\n success: mdiCheckCircle,\n info: mdiInformation,\n };\n\n private _timeout;\n\n /**\n * Close toast\n *\n * @emits close\n */\n @Method()\n async closeToast() {\n if (this._closed) return;\n\n this._closed = true;\n\n this.el.classList.remove('show');\n this.el.ontransitionend = () => this.close.emit(this.message);\n }\n\n componentDidLoad() {\n window.requestAnimationFrame(() => {\n this.el.classList.add('show');\n });\n\n if (this.message.persistent || this.message.indeterminate) return;\n\n this._startTime = Date.now();\n this._remainingTime = this.message.duration;\n\n this._timeout = window.setTimeout(\n () => this.closeToast(),\n +this.message.duration,\n );\n }\n\n disconnectedCallback() {\n window.clearTimeout(this._timeout);\n }\n\n private _onMouseEnter() {\n if (this.message.persistent || this.message.indeterminate) return;\n\n this._remainingTime = this._remainingTime - (Date.now() - this._startTime);\n\n window.clearTimeout(this._timeout);\n }\n\n private _onMouseLeave() {\n if (this.message.persistent || this.message.indeterminate) return;\n\n this._startTime = Date.now();\n this._timeout = window.setTimeout(\n () => this.closeToast(),\n this._remainingTime,\n );\n }\n\n private _renderCloseButton() {\n const Tag = !!this.message.closeText ? 'c-button' : 'c-icon-button';\n\n return (\n <Tag\n aria-label=\"close\"\n size=\"small\"\n text\n onClick={() => this.closeToast()}\n >\n <c-icon\n {...{ ...(!!this.message.closeText && { slot: 'icon' }) }}\n color=\"var(--_c-toast-color)\"\n path={this._icons.close}\n />\n\n {this.message.closeText}\n </Tag>\n );\n }\n\n render() {\n const showProgressBar = !this.message.persistent && this.message.progress;\n\n return (\n <Host\n id={`c-toast--${this.message.id}`}\n class={{ [this.message.type]: true }}\n role=\"alert\"\n aria-atomic=\"true\"\n aria-live=\"assertive\"\n onMouseEnter={() => this._onMouseEnter()}\n onMouseLeave={() => this._onMouseLeave()}\n >\n <span class=\"visuallyhidden\">{this.message.type} notification</span>\n\n {this.message.custom ? (\n <div class=\"c-toast__custom-item\">\n <div class=\"c-toast__content\">\n <slot></slot>\n </div>\n </div>\n ) : (\n <div class=\"c-toast__item\">\n <svg viewBox=\"0 0 24 24\">\n <path d={this._icons[this.message.type]}></path>\n </svg>\n\n <div class=\"c-toast__content\">\n {!!this.message.title && <p>{this.message.title}</p>}\n\n {this.message.message}\n </div>\n\n {!this.message.indeterminate && this._renderCloseButton()}\n </div>\n )}\n\n {showProgressBar && (\n <div\n class=\"c-toast__progress\"\n style={{ '--_c-toast-duration': `${this.message.duration}ms` }}\n >\n <div\n class={{\n 'c-toast__progress__bar': true,\n indeterminate: this.message.indeterminate,\n }}\n ></div>\n </div>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-cdf029b7.js';
|
|
2
|
+
import { C as CToastType, a as CToastPosition } from './index-dfaed2a4.js';
|
|
3
|
+
|
|
4
|
+
const cToastsCss = "html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{display:grid;gap:12px;grid-template-columns:1fr;left:0;max-width:100%;min-width:30vw;padding:12px;pointer-events:none;position:fixed;right:0;width:640px;z-index:10000}:host(.absolute){position:absolute}:host(.bottom){bottom:0}:host(.top){top:0}:host(.right){justify-content:end;left:auto;right:0}:host(.left){justify-content:start;left:0;right:auto}:host(.center){justify-content:center;margin:0 auto}";
|
|
5
|
+
|
|
6
|
+
const CToasts = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this._getDefaultOptions = () => ({
|
|
10
|
+
type: CToastType.Info,
|
|
11
|
+
duration: 6000,
|
|
12
|
+
persistent: false,
|
|
13
|
+
indeterminate: false,
|
|
14
|
+
position: CToastPosition.Fixed,
|
|
15
|
+
progress: false,
|
|
16
|
+
id: `c-toast-item-${CToasts._uniqueId}`,
|
|
17
|
+
});
|
|
18
|
+
this.absolute = false;
|
|
19
|
+
this.horizontal = 'center';
|
|
20
|
+
this.vertical = 'bottom';
|
|
21
|
+
this.messages = [];
|
|
22
|
+
}
|
|
23
|
+
async addToast(message) {
|
|
24
|
+
const customMessages = this.messages.filter((message) => message.custom);
|
|
25
|
+
if (message.custom && customMessages.length > 0) {
|
|
26
|
+
console.warn(`Custom toast messages are restricted to 1 visible message due to slot reflection limitations.`);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
CToasts._uniqueId += 1;
|
|
30
|
+
requestAnimationFrame(() => {
|
|
31
|
+
const defaultOptions = this._getDefaultOptions();
|
|
32
|
+
this.messages = [
|
|
33
|
+
...this.messages,
|
|
34
|
+
Object.assign(Object.assign(Object.assign({}, defaultOptions), message), { duration: +(message === null || message === void 0 ? void 0 : message.duration) > 0
|
|
35
|
+
? +message.duration
|
|
36
|
+
: defaultOptions.duration }),
|
|
37
|
+
];
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
async removeToast(id) {
|
|
42
|
+
const toast = this.el.shadowRoot.querySelector(`#c-toast--${id}`);
|
|
43
|
+
toast === null || toast === void 0 ? void 0 : toast.closeToast();
|
|
44
|
+
}
|
|
45
|
+
_onMessageClose(event) {
|
|
46
|
+
this._removeMessage(event.detail.id);
|
|
47
|
+
}
|
|
48
|
+
_removeMessage(id) {
|
|
49
|
+
const toast = this.el.shadowRoot.querySelector(`#c-toast--${id}`);
|
|
50
|
+
toast === null || toast === void 0 ? void 0 : toast.remove();
|
|
51
|
+
const messageCount = this.el.shadowRoot.querySelectorAll('c-toast').length;
|
|
52
|
+
if (messageCount === 0) {
|
|
53
|
+
this.messages = [].slice();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
_renderMessage(message) {
|
|
57
|
+
return (h("c-toast", { message: message, onClose: (e) => this._onMessageClose(e) }, message.custom && h("slot", null)));
|
|
58
|
+
}
|
|
59
|
+
componentWillLoad() {
|
|
60
|
+
CToasts._uniqueId += 1;
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
return (h(Host, { class: {
|
|
64
|
+
absolute: this.absolute,
|
|
65
|
+
[this.vertical]: true,
|
|
66
|
+
[this.horizontal]: true,
|
|
67
|
+
} }, this.messages.map((message) => this._renderMessage(message))));
|
|
68
|
+
}
|
|
69
|
+
get el() { return getElement(this); }
|
|
70
|
+
};
|
|
71
|
+
CToasts._uniqueId = 0;
|
|
72
|
+
CToasts.style = cToastsCss;
|
|
73
|
+
|
|
74
|
+
export { CToasts as c_toasts };
|
|
75
|
+
|
|
76
|
+
//# sourceMappingURL=c-toasts.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"c-toasts.entry.js","mappings":";;;AAAA,MAAM,UAAU,GAAG,2hBAA2hB;;MCmBjiB,OAAO;;;IAsBV,uBAAkB,GAAG,OAAO;MAClC,IAAI,EAAE,UAAU,CAAC,IAAI;MACrB,QAAQ,EAAE,IAAI;MACd,UAAU,EAAE,KAAK;MACjB,aAAa,EAAE,KAAK;MACpB,QAAQ,EAAE,cAAc,CAAC,KAAK;MAC9B,QAAQ,EAAE,KAAK;MACf,EAAE,EAAE,gBAAgB,OAAO,CAAC,SAAS,EAAE;KACxC,CAAC,CAAC;oBAxBgB,KAAK;sBAK0B,QAAQ;oBAKrB,QAAQ;oBAER,EAAE;;EAkBvC,MAAM,QAAQ,CAAC,OAAsB;IACnC,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAEzE,IAAI,OAAO,CAAC,MAAM,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE;MAC/C,OAAO,CAAC,IAAI,CACV,+FAA+F,CAChG,CAAC;KACH;SAAM;MACL,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;MAEvB,qBAAqB,CAAC;QACpB,MAAM,cAAc,GAAG,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAEjD,IAAI,CAAC,QAAQ,GAAG;UACd,GAAG,IAAI,CAAC,QAAQ;wDAEX,cAAc,GACd,OAAO,KACV,QAAQ,EACN,EAAC,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,CAAA,GAAG,CAAC;gBAClB,CAAC,OAAO,CAAC,QAAQ;gBACjB,cAAc,CAAC,QAAQ;SAEhC,CAAC;OACH,CAAC,CAAC;KACJ;GACF;EAMD,MAAM,WAAW,CAAC,EAAU;IAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAC5C,aAAa,EAAE,EAAE,CACG,CAAC;IAEvB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,UAAU,EAAE,CAAC;GACrB;EAEO,eAAe,CAAC,KAAkB;IACxC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;GACtC;EAEO,cAAc,CAAC,EAAU;IAC/B,MAAM,KAAK,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,aAAa,CAC5C,aAAa,EAAE,EAAE,CACG,CAAC;IAEvB,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,MAAM,EAAE,CAAC;IAEhB,MAAM,YAAY,GAAG,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC;IAE3E,IAAI,YAAY,KAAK,CAAC,EAAE;MACtB,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC;KAC5B;GACF;EAEO,cAAc,CAAC,OAAsB;IAC3C,QACE,eAAS,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,IAC/D,OAAO,CAAC,MAAM,IAAI,eAAQ,CACnB,EACV;GACH;EAED,iBAAiB;IACf,OAAO,CAAC,SAAS,IAAI,CAAC,CAAC;GACxB;EAED,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI;QACrB,CAAC,IAAI,CAAC,UAAU,GAAG,IAAI;OACxB,IAEA,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,KAAK,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CACxD,EACP;GACH;;;AAlGc,iBAAS,GAAG,CAAH,CAAK;;;;;","names":[],"sources":["src/components/c-toasts/c-toasts.scss?tag=c-toasts&encapsulation=shadow","src/components/c-toasts/c-toasts.tsx"],"sourcesContent":[":host {\n display: grid;\n gap: 12px;\n grid-template-columns: 1fr;\n left: 0;\n max-width: 100%;\n min-width: 30vw;\n padding: 12px;\n pointer-events: none;\n position: fixed;\n right: 0;\n width: 640px;\n z-index: 10000;\n}\n\n:host(.absolute) {\n position: absolute;\n}\n\n:host(.bottom) {\n bottom: 0;\n}\n\n:host(.top) {\n top: 0;\n}\n\n:host(.right) {\n justify-content: end;\n left: auto;\n right: 0;\n}\n\n:host(.left) {\n justify-content: start;\n left: 0;\n right: auto;\n}\n\n:host(.center) {\n justify-content: center;\n margin: 0 auto;\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n Element,\n Method,\n State,\n} from '@stencil/core';\nimport { CToastMessage, CToastPosition, CToastType } from '../../types';\n\n/**\n * @group Popups\n */\n@Component({\n tag: 'c-toasts',\n styleUrl: 'c-toasts.scss',\n shadow: true,\n})\nexport class CToasts {\n @Element() el: HTMLCToastsElement;\n\n /**\n * Use absolute positioning\n */\n @Prop() absolute = false;\n\n /**\n * Horizontal position\n */\n @Prop() horizontal: 'left' | 'center' | 'right' = 'center';\n\n /**\n * Vertical position\n */\n @Prop() vertical: 'top' | 'bottom' = 'bottom';\n\n @State() messages: CToastMessage[] = [];\n\n private static _uniqueId = 0;\n\n private _getDefaultOptions = () => ({\n type: CToastType.Info,\n duration: 6000,\n persistent: false,\n indeterminate: false,\n position: CToastPosition.Fixed,\n progress: false,\n id: `c-toast-item-${CToasts._uniqueId}`,\n });\n\n /**\n * Add a new message\n */\n @Method()\n async addToast(message: CToastMessage) {\n const customMessages = this.messages.filter((message) => message.custom);\n\n if (message.custom && customMessages.length > 0) {\n console.warn(\n `Custom toast messages are restricted to 1 visible message due to slot reflection limitations.`,\n );\n } else {\n CToasts._uniqueId += 1;\n\n requestAnimationFrame(() => {\n const defaultOptions = this._getDefaultOptions();\n\n this.messages = [\n ...this.messages,\n {\n ...defaultOptions,\n ...message,\n duration:\n +message?.duration > 0\n ? +message.duration\n : defaultOptions.duration,\n },\n ];\n });\n }\n }\n\n /**\n * Remove a message by id (id should be specified in the addToast params)\n */\n @Method()\n async removeToast(id: string) {\n const toast = this.el.shadowRoot.querySelector(\n `#c-toast--${id}`,\n ) as HTMLCToastElement;\n\n toast?.closeToast();\n }\n\n private _onMessageClose(event: CustomEvent) {\n this._removeMessage(event.detail.id);\n }\n\n private _removeMessage(id: string) {\n const toast = this.el.shadowRoot.querySelector(\n `#c-toast--${id}`,\n ) as HTMLCToastElement;\n\n toast?.remove();\n\n const messageCount = this.el.shadowRoot.querySelectorAll('c-toast').length;\n\n if (messageCount === 0) {\n this.messages = [].slice();\n }\n }\n\n private _renderMessage(message: CToastMessage) {\n return (\n <c-toast message={message} onClose={(e) => this._onMessageClose(e)}>\n {message.custom && <slot />}\n </c-toast>\n );\n }\n\n componentWillLoad() {\n CToasts._uniqueId += 1;\n }\n\n render() {\n return (\n <Host\n class={{\n absolute: this.absolute,\n [this.vertical]: true,\n [this.horizontal]: true,\n }}\n >\n {this.messages.map((message) => this._renderMessage(message))}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-cdf029b7.js';
|
|
2
|
+
export { s as setNonce } from './index-cdf029b7.js';
|
|
3
|
+
|
|
4
|
+
/*
|
|
5
|
+
Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com
|
|
6
|
+
*/
|
|
7
|
+
const patchBrowser = () => {
|
|
8
|
+
const importMeta = import.meta.url;
|
|
9
|
+
const opts = {};
|
|
10
|
+
if (importMeta !== '') {
|
|
11
|
+
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
12
|
+
}
|
|
13
|
+
return promiseResolve(opts);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
patchBrowser().then(options => {
|
|
17
|
+
return bootstrapLazy(JSON.parse("[[\"c-data-table\",[[1,\"c-data-table\",{\"data\":[16],\"externalData\":[4,\"external-data\"],\"headers\":[16],\"hideFooter\":[4,\"hide-footer\"],\"footerOptions\":[16],\"loading\":[4],\"loadingText\":[1,\"loading-text\"],\"noDataText\":[1,\"no-data-text\"],\"pagination\":[1040],\"selectable\":[4],\"singleSelection\":[4,\"single-selection\"],\"selectionProperty\":[1,\"selection-property\"],\"singleExpansion\":[4,\"single-expansion\"],\"sortBy\":[1032,\"sort-by\"],\"sortDirection\":[1025,\"sort-direction\"],\"stickyHeader\":[4,\"sticky-header\"],\"horizontalScrolling\":[4,\"horizontal-scrolling\"],\"_activeRows\":[32],\"_data\":[32],\"_isIndeterminate\":[32],\"_isPaginationSimple\":[32],\"_selections\":[32],\"hasOverflow\":[32],\"hiddenHeaders\":[32],\"initiallyHiddenHeaders\":[32],\"forceRender\":[32],\"breakpoints\":[32],\"markedFooterWidth\":[32],\"parentWidth\":[32],\"firstCellHidden\":[32],\"lastCellHidden\":[32],\"clearSelections\":[64],\"getData\":[64]},null,{\"hiddenHeaders\":[\"onHiddenHeaderChange\"],\"data\":[\"onDataChange\"],\"headers\":[\"onHeaderChange\"],\"singleSelection\":[\"onSingleSelectionChange\"],\"loading\":[\"onLoadingChange\"]}]]],[\"c-autocomplete\",[[65,\"c-autocomplete\",{\"autofocus\":[4],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"shadow\":[4],\"name\":[1],\"label\":[1],\"query\":[1025],\"value\":[1032],\"dense\":[4],\"required\":[4],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"placeholder\":[1],\"returnValue\":[4,\"return-value\"],\"items\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"optionAsSelection\":[4,\"option-as-selection\"],\"menuVisible\":[32],\"currentIndex\":[32],\"hasOptionItems\":[32],\"options\":[32],\"setValue\":[64],\"onHideMenu\":[64],\"setActiveDescendant\":[64],\"updateQuery\":[64],\"onItemSelection\":[64]},[[1,\"keydown\",\"handleKeyDown\"]],{\"items\":[\"watchHandler\"],\"value\":[\"onValueChange\"]}]]],[\"c-navigation-button\",[[1,\"c-navigation-button\"]]],[\"c-select\",[[65,\"c-select\",{\"autofocus\":[4],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"label\":[1],\"shadow\":[4],\"name\":[1],\"required\":[4],\"returnValue\":[4,\"return-value\"],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"itemsPerPage\":[2,\"items-per-page\"],\"placeholder\":[1],\"value\":[1032],\"items\":[16],\"optionAsSelection\":[4,\"option-as-selection\"],\"menuVisible\":[32],\"currentIndex\":[32],\"activeListItemId\":[32],\"statusText\":[32],\"hasOptionItems\":[32],\"previousValue\":[32],\"onItemSelection\":[64],\"onHideMenu\":[64],\"setActiveDescendant\":[64]},[[2,\"keydown\",\"handleKeyDown\"]],{\"value\":[\"onValueChange\"],\"validate\":[\"validateChange\"],\"currentIndex\":[\"onCurrentIndexChange\"]}]]],[\"c-side-navigation\",[[1,\"c-side-navigation\",{\"mobile\":[4],\"menuVisible\":[1028,\"menu-visible\"]},[[0,\"itemChange\",\"handleChange\"]]]]],[\"c-tabs\",[[1,\"c-tabs\",{\"value\":[1032],\"borderless\":[4],\"disableAnimation\":[4,\"disable-animation\"],\"justify\":[1],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"vertical\":[4],\"isOverflowing\":[32],\"isMobile\":[32],\"scrollOffset\":[32]},[[1,\"tabFocus\",\"tabFocusHandler\"],[1,\"tabChange\",\"tabChangeHandler\"],[2,\"keydown\",\"handleKeyDown\"],[2,\"keyup\",\"handleKeyUp\"]],{\"justify\":[\"onJustificationChange\"],\"value\":[\"onExternalValueChange\"],\"scrollOffset\":[\"onScrollOffsetChange\"]}]]],[\"c-tag\",[[1,\"c-tag\",{\"active\":[4],\"block\":[4],\"fit\":[4],\"flat\":[4],\"closeable\":[4],\"badge\":[8]}]]],[\"c-text-field\",[[65,\"c-text-field\",{\"autofocus\":[4],\"autocapitalize\":[1],\"autocorrect\":[1],\"autocomplete\":[1],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"trimWhitespace\":[4,\"trim-whitespace\"],\"label\":[1],\"max\":[2],\"min\":[2],\"name\":[1],\"number\":[4],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[1025],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"messageOptions\":[32]}]]],[\"c-swiper\",[[4,\"c-swiper\",{\"value\":[1544],\"elementId\":[1,\"id\"],\"isBeginning\":[32],\"isEnd\":[32],\"statusText\":[32]},[[0,\"changeValue\",\"onTabClick\"],[2,\"keyup\",\"handleKeyUp\"]]]]],[\"c-side-navigation-item\",[[1,\"c-side-navigation-item\",{\"active\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]},[[0,\"itemChange\",\"handleChange\"]],{\"active\":[\"onActiveChange\"]}]]],[\"c-sub-navigation-item\",[[1,\"c-sub-navigation-item\",{\"active\":[4],\"focusable\":[4],\"href\":[1],\"target\":[1],\"loading\":[4]}]]],[\"c-toasts\",[[1,\"c-toasts\",{\"absolute\":[4],\"horizontal\":[1],\"vertical\":[1],\"messages\":[32],\"addToast\":[64],\"removeToast\":[64]}]]],[\"c-accordion-item\",[[1,\"c-accordion-item\",{\"collapsable\":[4],\"heading\":[1],\"value\":[8],\"expanded\":[4],\"outlined\":[4]},[[2,\"keydown\",\"handleKeyDown\"],[0,\"changeValue\",\"stop\"]]]]],[\"c-list-item\",[[1,\"c-list-item\",{\"active\":[4],\"disabled\":[4],\"disabledByParent\":[4,\"disabled-by-parent\"],\"hoverable\":[4],\"ripple\":[4],\"href\":[1],\"target\":[1]},null,{\"active\":[\"onActiveChange\"]}]]],[\"c-login-card-actions\",[[1,\"c-login-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-otp-input\",[[65,\"c-otp-input\",{\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"elementId\":[1,\"id\"],\"length\":[2],\"valid\":[4],\"validation\":[1],\"statusText\":[32]},null,{\"validation\":[\"onValidationMessageChange\"]}]]],[\"c-radio-group\",[[65,\"c-radio-group\",{\"value\":[1032],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"inline\":[4],\"label\":[1],\"color\":[1],\"items\":[16],\"disabled\":[4],\"returnValue\":[4,\"return-value\"],\"required\":[4],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"validation\":[\"onValidationMessageChange\"],\"valid\":[\"onValidChange\"]}]]],[\"c-swiper-tab\",[[1,\"c-swiper-tab\",{\"disabled\":[4],\"active\":[4],\"label\":[1],\"hostId\":[1,\"id\"],\"setsize\":[2],\"position\":[2],\"value\":[8]},[[1,\"click\",\"onTabClick\"]]]]],[\"c-tab\",[[1,\"c-tab\",{\"active\":[4],\"disabled\":[4],\"hostId\":[1,\"id\"],\"position\":[2],\"setsize\":[2],\"value\":[8]},[[1,\"focus\",\"onTabFocus\"],[1,\"keydown\",\"handleKeydown\"]]]]],[\"c-accordion\",[[1,\"c-accordion\",{\"value\":[1032],\"mandatory\":[4],\"multiple\":[4],\"outlined\":[4]},[[1,\"itemChange\",\"onAccordionItemChange\"]],{\"value\":[\"watchPropHandler\"]}]]],[\"c-alert\",[[1,\"c-alert\",{\"type\":[1]}]]],[\"c-card-content\",[[1,\"c-card-content\"]]],[\"c-card-title\",[[1,\"c-card-title\"]]],[\"c-link\",[[1,\"c-link\",{\"href\":[1],\"underline\":[4],\"target\":[1],\"weight\":[1]}]]],[\"c-list\",[[0,\"c-list\",{\"disabled\":[4]},null,{\"disabled\":[\"onDisabledChange\"]}]]],[\"c-list-item-title\",[[1,\"c-list-item-title\",{\"active\":[4]}]]],[\"c-login-button\",[[1,\"c-login-button\",{\"href\":[1],\"src\":[1],\"alt\":[1]}]]],[\"c-login-buttons\",[[1,\"c-login-buttons\"]]],[\"c-login-card\",[[4,\"c-login-card\",{\"backgroundPosition\":[1,\"background-position\"],\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"overlay\":[4],\"overlayBlendMode\":[1,\"overlay-blend-mode\"],\"src\":[1],\"path\":[32],\"imageHeight\":[32]}]]],[\"c-login-card-content\",[[1,\"c-login-card-content\"]]],[\"c-login-card-title\",[[1,\"c-login-card-title\"]]],[\"c-modal\",[[1,\"c-modal\",{\"value\":[4],\"dismissable\":[4],\"width\":[8],\"zIndex\":[2,\"z-index\"],\"innerValue\":[32],\"animateModal\":[32]},null,{\"value\":[\"onValueChange\"]}]]],[\"c-option\",[[1,\"c-option\",{\"selected\":[4],\"disabled\":[4],\"name\":[1],\"value\":[8]}]]],[\"c-option-value\",[[1,\"c-option-value\"]]],[\"c-page\",[[1,\"c-page\"]]],[\"c-progress-bar\",[[1,\"c-progress-bar\",{\"value\":[2],\"hideDetails\":[4,\"hide-details\"],\"singleLine\":[4,\"single-line\"],\"label\":[1],\"indeterminate\":[4]}]]],[\"c-radio\",[[1,\"c-radio\",{\"checked\":[4],\"disabled\":[4],\"value\":[1]}]]],[\"c-side-navigation-title\",[[1,\"c-side-navigation-title\"]]],[\"c-status\",[[1,\"c-status\",{\"type\":[1]}]]],[\"c-step\",[[1,\"c-step\",{\"complete\":[4],\"current\":[4]}]]],[\"c-steps\",[[1,\"c-steps\",{\"value\":[8],\"isMobile\":[32],\"label\":[32]},null,{\"value\":[\"watchPropHandler\"]}]]],[\"c-switch\",[[65,\"c-switch\",{\"checked\":[1028],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostDisabled\":[4,\"disabled\"],\"hostId\":[1,\"id\"],\"required\":[4],\"hasLabel\":[32]}]]],[\"c-tab-buttons\",[[1,\"c-tab-buttons\",{\"value\":[1032],\"mandatory\":[4],\"tabs\":[4],\"size\":[1],\"hostDisabled\":[4,\"disabled\"]},[[1,\"tabFocus\",\"tabFocusHandler\"],[2,\"keyup\",\"handleKeyUp\"],[1,\"tabChange\",\"onTabChange\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-tab-item\",[[1,\"c-tab-item\",{\"value\":[8],\"active\":[4]}]]],[\"c-tab-items\",[[1,\"c-tab-items\",{\"value\":[8],\"disableAnimation\":[4,\"disable-animation\"],\"activeTab\":[32]},[[1,\"contentChange\",\"tabContentChangeHandler\"]],{\"value\":[\"onValueChange\"]}]]],[\"c-table\",[[4,\"c-table\",{\"mobileBreakpoint\":[2,\"mobile-breakpoint\"],\"responsive\":[4]}]]],[\"c-tags\",[[1,\"c-tags\"]]],[\"c-toast\",[[1,\"c-toast\",{\"message\":[16],\"closeToast\":[64]}]]],[\"c-card-actions\",[[1,\"c-card-actions\",{\"align\":[1],\"justify\":[1]}]]],[\"c-badge_12\",[[1,\"c-card\",{\"fullscreen\":[4],\"isFullscreen\":[32],\"exitFullscreen\":[64],\"enterFullscreen\":[64]}],[1,\"c-button\",{\"inverted\":[4],\"outlined\":[4],\"ghost\":[4],\"danger\":[4],\"grouped\":[4],\"text\":[4],\"loading\":[4],\"fit\":[4],\"noRadius\":[4,\"no-radius\"],\"type\":[1],\"disabled\":[516],\"value\":[8],\"hostId\":[1,\"id\"],\"size\":[1],\"href\":[1],\"target\":[1],\"tabs\":[4]},[[1,\"focus\",\"onTabFocus\"]]],[1,\"c-csc-logo\",{\"width\":[2]}],[1,\"c-main\"],[1,\"c-row\",{\"gap\":[2],\"nowrap\":[4],\"align\":[1],\"justify\":[1]}],[1,\"c-toolbar\"],[1,\"c-spacer\"],[1,\"c-icon-button\",{\"badge\":[1],\"danger\":[4],\"loading\":[4],\"text\":[4],\"inverted\":[4],\"outlined\":[4],\"path\":[1],\"ghost\":[4],\"disabled\":[4],\"size\":[1]}],[1,\"c-badge\"],[1,\"c-spinner\",{\"color\":[1],\"size\":[2],\"width\":[2]}],[1,\"c-ripple\",{\"createRipple\":[64]}],[1,\"c-icon\",{\"path\":[1],\"size\":[2],\"color\":[1]}]]],[\"c-checkbox_2\",[[1,\"c-pagination\",{\"value\":[16],\"hideDetails\":[4,\"hide-details\"],\"simple\":[4],\"size\":[1],\"hideRange\":[4,\"hide-range\"],\"itemsPerPageOptions\":[16],\"_currentPage\":[32],\"_itemsPerPage\":[32],\"_totalVisible\":[32],\"tick\":[32]},null,{\"value\":[\"valueHandler\"]}],[65,\"c-checkbox\",{\"checked\":[1028],\"disabled\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"indeterminate\":[4],\"label\":[1],\"required\":[4],\"valid\":[4],\"validation\":[1],\"value\":[8],\"trueValue\":[8,\"true-value\"],\"falseValue\":[8,\"false-value\"],\"hostName\":[1,\"name\"],\"messageOptions\":[32]},[[1,\"keydown\",\"handleKeyDown\"]],{\"validation\":[\"onValidationMessageChange\"],\"valid\":[\"onValidChange\"]}]]],[\"c-loader\",[[1,\"c-loader\",{\"contentdelay\":[2],\"hide\":[4],\"size\":[2],\"width\":[2]},null,{\"hide\":[\"onElementHide\"]}]]],[\"c-menu_2\",[[1,\"c-menu\",{\"items\":[16],\"contentClass\":[1,\"content-class\"],\"custom\":[4],\"small\":[4],\"flat\":[4],\"itemsPerPage\":[2,\"items-per-page\"],\"menuItemsComponent\":[32],\"menuWrapperComponent\":[32],\"currentIndex\":[32],\"active\":[32]},[[2,\"keydown\",\"handleKeyDown\"]]],[1,\"c-menu-items\",{\"items\":[16],\"small\":[4],\"active\":[4],\"parentType\":[1,\"parent-type\"],\"parent\":[16],\"top\":[2],\"index\":[2],\"itemsPerPage\":[2,\"items-per-page\"],\"scrollingParent\":[32],\"isInView\":[32],\"currentIndex\":[32]},[[2,\"keydown\",\"handleKeyDown\"]],{\"currentIndex\":[\"onIndexChange\"]}]]],[\"c-dropdown_4\",[[4,\"c-input\",{\"autofocus\":[4],\"disabled\":[4],\"form\":[4],\"hideDetails\":[4,\"hide-details\"],\"hint\":[1],\"hostId\":[1,\"id\"],\"inputId\":[1,\"input-id\"],\"itemsPerPage\":[2,\"items-per-page\"],\"label\":[1],\"max\":[2],\"min\":[2],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"shadow\":[4],\"step\":[2],\"type\":[1],\"valid\":[4],\"validate\":[4],\"validateOnBlur\":[4,\"validate-on-blur\"],\"validation\":[1],\"value\":[8],\"variant\":[1],\"isFocused\":[32],\"labelWidth\":[32],\"preSlotWidth\":[32],\"statusText\":[32],\"currentIndex\":[32],\"focusDropdown\":[64],\"focusItem\":[64],\"createDropdown\":[64],\"openDropdown\":[64],\"closeDropdown\":[64],\"updateDropdown\":[64]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"value\":[\"onValueChange\"],\"placeholder\":[\"onPlaceholderChange\"]}],[1,\"c-dropdowns\",{\"createDropdown\":[64]}],[1,\"c-dropdown\",{\"items\":[16],\"options\":[16],\"itemsPerPage\":[2,\"items-per-page\"],\"parent\":[16],\"wrapper\":[16],\"index\":[2],\"isOpen\":[4,\"is-open\"],\"focusList\":[4,\"focus-list\"],\"inputId\":[1,\"input-id\"],\"type\":[1],\"wasClicked\":[4,\"was-clicked\"],\"currentIndex\":[32],\"isVisible\":[32],\"topPosition\":[32],\"bottomTranslate\":[32],\"scrollingParent\":[32],\"statusText\":[32],\"updateDropdown\":[64],\"focusDropdown\":[64],\"focusItem\":[64]},null,{\"isOpen\":[\"onOpenStateChange\"],\"currentIndex\":[\"onCurrentIndexChange\"]}],[1,\"c-message\",{\"hint\":[1],\"inputId\":[1,\"input-id\"],\"valid\":[4],\"validation\":[1],\"messageOptions\":[32]},null,{\"valid\":[\"onValidChange\"],\"validation\":[\"onValidationMessageChange\"],\"hint\":[\"onHintMessageChange\"]}]]]]"), options);
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=csc-ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"csc-ui.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|