@six-group/ui-library 3.0.0-beta.1.11
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 +201 -0
- package/dist/cjs/event-listeners-74715e62.js +43 -0
- package/dist/cjs/execution-control-46f388e0.js +43 -0
- package/dist/cjs/focus-visible-0b352c74.js +45 -0
- package/dist/cjs/form-control-866bbece.js +32 -0
- package/dist/cjs/index-341df120.js +1801 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/modal-48d42228.js +49 -0
- package/dist/cjs/popover-1d2a037c.js +1898 -0
- package/dist/cjs/scroll-76e6f5d7.js +67 -0
- package/dist/cjs/set-attributes_2.cjs.entry.js +71 -0
- package/dist/cjs/six-alert.cjs.entry.js +142 -0
- package/dist/cjs/six-avatar.cjs.entry.js +39 -0
- package/dist/cjs/six-badge.cjs.entry.js +37 -0
- package/dist/cjs/six-button.cjs.entry.js +108 -0
- package/dist/cjs/six-card.cjs.entry.js +19 -0
- package/dist/cjs/six-checkbox.cjs.entry.js +163 -0
- package/dist/cjs/six-datepicker.cjs.entry.js +1210 -0
- package/dist/cjs/six-details.cjs.entry.js +150 -0
- package/dist/cjs/six-dialog.cjs.entry.js +163 -0
- package/dist/cjs/six-drawer.cjs.entry.js +185 -0
- package/dist/cjs/six-dropdown_3.cjs.entry.js +751 -0
- package/dist/cjs/six-error-page.cjs.entry.js +105 -0
- package/dist/cjs/six-file-list-item.cjs.entry.js +49 -0
- package/dist/cjs/six-file-list.cjs.entry.js +19 -0
- package/dist/cjs/six-file-upload.cjs.entry.js +107 -0
- package/dist/cjs/six-footer.cjs.entry.js +19 -0
- package/dist/cjs/six-form.cjs.entry.js +230 -0
- package/dist/cjs/six-group-label.cjs.entry.js +57 -0
- package/dist/cjs/six-header.cjs.entry.js +160 -0
- package/dist/cjs/six-icon-button.cjs.entry.js +44 -0
- package/dist/cjs/six-icon.cjs.entry.js +35 -0
- package/dist/cjs/six-input.cjs.entry.js +241 -0
- package/dist/cjs/six-item-picker.cjs.entry.js +372 -0
- package/dist/cjs/six-language-switcher.cjs.entry.js +63 -0
- package/dist/cjs/six-layout-grid.cjs.entry.js +30 -0
- package/dist/cjs/six-main-container.cjs.entry.js +22 -0
- package/dist/cjs/six-menu-divider.cjs.entry.js +19 -0
- package/dist/cjs/six-menu-label.cjs.entry.js +19 -0
- package/dist/cjs/six-picto.cjs.entry.js +26 -0
- package/dist/cjs/six-progress-bar.cjs.entry.js +28 -0
- package/dist/cjs/six-progress-ring.cjs.entry.js +42 -0
- package/dist/cjs/six-radio.cjs.entry.js +132 -0
- package/dist/cjs/six-range.cjs.entry.js +209 -0
- package/dist/cjs/six-root.cjs.entry.js +45 -0
- package/dist/cjs/six-search-field.cjs.entry.js +54 -0
- package/dist/cjs/six-select.cjs.entry.js +458 -0
- package/dist/cjs/six-sidebar-item-group.cjs.entry.js +53 -0
- package/dist/cjs/six-sidebar-item.cjs.entry.js +29 -0
- package/dist/cjs/six-sidebar.cjs.entry.js +182 -0
- package/dist/cjs/six-spinner.cjs.entry.js +27 -0
- package/dist/cjs/six-switch.cjs.entry.js +111 -0
- package/dist/cjs/six-tab-group.cjs.entry.js +237 -0
- package/dist/cjs/six-tab-panel.cjs.entry.js +28 -0
- package/dist/cjs/six-tab.cjs.entry.js +53 -0
- package/dist/cjs/six-table-cell_4.cjs.entry.js +102 -0
- package/dist/cjs/six-table.cjs.entry.js +168 -0
- package/dist/cjs/six-tag.cjs.entry.js +51 -0
- package/dist/cjs/six-textarea.cjs.entry.js +222 -0
- package/dist/cjs/six-tile.cjs.entry.js +100 -0
- package/dist/cjs/six-timepicker.cjs.entry.js +504 -0
- package/dist/cjs/six-timepicker.types-c19ebff3.js +54 -0
- package/dist/cjs/six-tooltip.cjs.entry.js +183 -0
- package/dist/cjs/slot-ad537f24.js +50 -0
- package/dist/cjs/types-581e8ff0.js +15 -0
- package/dist/cjs/types-64878648.js +15 -0
- package/dist/cjs/ui-library.cjs.js +19 -0
- package/dist/collection/assets/TRADEMARKS.md +7 -0
- package/dist/collection/assets/commons.js +5 -0
- package/dist/collection/assets/data.json +642 -0
- package/dist/collection/collection-manifest.json +69 -0
- package/dist/collection/components/six-alert/six-alert.css +109 -0
- package/dist/collection/components/six-alert/six-alert.js +366 -0
- package/dist/collection/components/six-avatar/six-avatar.css +74 -0
- package/dist/collection/components/six-avatar/six-avatar.js +131 -0
- package/dist/collection/components/six-badge/six-badge.css +101 -0
- package/dist/collection/components/six-badge/six-badge.js +101 -0
- package/dist/collection/components/six-button/six-button.css +372 -0
- package/dist/collection/components/six-button/six-button.js +466 -0
- package/dist/collection/components/six-card/six-card.css +15 -0
- package/dist/collection/components/six-card/six-card.js +21 -0
- package/dist/collection/components/six-checkbox/six-checkbox.css +166 -0
- package/dist/collection/components/six-checkbox/six-checkbox.js +550 -0
- package/dist/collection/components/six-datepicker/components/day-selection.js +13 -0
- package/dist/collection/components/six-datepicker/components/month-selection.js +12 -0
- package/dist/collection/components/six-datepicker/components/year-selection.js +10 -0
- package/dist/collection/components/six-datepicker/six-date-formats.js +23 -0
- package/dist/collection/components/six-datepicker/six-datepicker.css +156 -0
- package/dist/collection/components/six-datepicker/six-datepicker.js +1343 -0
- package/dist/collection/components/six-datepicker/test/six-datepicker.test-helpers.js +16 -0
- package/dist/collection/components/six-details/six-details.css +118 -0
- package/dist/collection/components/six-details/six-details.js +432 -0
- package/dist/collection/components/six-dialog/six-dialog.css +123 -0
- package/dist/collection/components/six-dialog/six-dialog.js +401 -0
- package/dist/collection/components/six-drawer/six-drawer.css +166 -0
- package/dist/collection/components/six-drawer/six-drawer.js +458 -0
- package/dist/collection/components/six-dropdown/six-dropdown.css +67 -0
- package/dist/collection/components/six-dropdown/six-dropdown.js +939 -0
- package/dist/collection/components/six-error-page/six-error-page.css +17 -0
- package/dist/collection/components/six-error-page/six-error-page.js +199 -0
- package/dist/collection/components/six-file-list/six-file-list.css +6 -0
- package/dist/collection/components/six-file-list/six-file-list.js +20 -0
- package/dist/collection/components/six-file-list-item/six-file-list-item.css +36 -0
- package/dist/collection/components/six-file-list-item/six-file-list-item.js +203 -0
- package/dist/collection/components/six-file-upload/six-file-upload.css +63 -0
- package/dist/collection/components/six-file-upload/six-file-upload.js +272 -0
- package/dist/collection/components/six-footer/six-footer.css +20 -0
- package/dist/collection/components/six-footer/six-footer.js +21 -0
- package/dist/collection/components/six-form/six-form.css +11 -0
- package/dist/collection/components/six-form/six-form.js +408 -0
- package/dist/collection/components/six-group-label/six-group-label.css +88 -0
- package/dist/collection/components/six-group-label/six-group-label.js +166 -0
- package/dist/collection/components/six-header/assets/six-logo.svg +1 -0
- package/dist/collection/components/six-header/six-header.css +79 -0
- package/dist/collection/components/six-header/six-header.js +420 -0
- package/dist/collection/components/six-icon/six-icon.css +63 -0
- package/dist/collection/components/six-icon/six-icon.js +77 -0
- package/dist/collection/components/six-icon-button/six-icon-button.css +71 -0
- package/dist/collection/components/six-icon-button/six-icon-button.js +142 -0
- package/dist/collection/components/six-input/six-input.css +298 -0
- package/dist/collection/components/six-input/six-input.js +1141 -0
- package/dist/collection/components/six-item-picker/six-item-picker.css +40 -0
- package/dist/collection/components/six-item-picker/six-item-picker.js +688 -0
- package/dist/collection/components/six-item-picker/types.js +13 -0
- package/dist/collection/components/six-language-switcher/six-language-switcher.css +15 -0
- package/dist/collection/components/six-language-switcher/six-language-switcher.js +128 -0
- package/dist/collection/components/six-layout-grid/six-layout-grid.css +5 -0
- package/dist/collection/components/six-layout-grid/six-layout-grid.js +52 -0
- package/dist/collection/components/six-main-container/six-main-container.css +20 -0
- package/dist/collection/components/six-main-container/six-main-container.js +53 -0
- package/dist/collection/components/six-menu/six-menu.css +26 -0
- package/dist/collection/components/six-menu/six-menu.js +406 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.css +16 -0
- package/dist/collection/components/six-menu-divider/six-menu-divider.js +22 -0
- package/dist/collection/components/six-menu-item/six-menu-item.css +71 -0
- package/dist/collection/components/six-menu-item/six-menu-item.js +177 -0
- package/dist/collection/components/six-menu-label/six-menu-label.css +22 -0
- package/dist/collection/components/six-menu-label/six-menu-label.js +25 -0
- package/dist/collection/components/six-picto/six-picto.css +1232 -0
- package/dist/collection/components/six-picto/six-picto.js +50 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.css +60 -0
- package/dist/collection/components/six-progress-bar/six-progress-bar.js +77 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.css +52 -0
- package/dist/collection/components/six-progress-ring/six-progress-ring.js +111 -0
- package/dist/collection/components/six-radio/six-radio.css +84 -0
- package/dist/collection/components/six-radio/six-radio.js +410 -0
- package/dist/collection/components/six-range/six-range.css +231 -0
- package/dist/collection/components/six-range/six-range.js +620 -0
- package/dist/collection/components/six-root/six-root.css +48 -0
- package/dist/collection/components/six-root/six-root.js +167 -0
- package/dist/collection/components/six-search-field/six-search-field.css +18 -0
- package/dist/collection/components/six-search-field/six-search-field.js +171 -0
- package/dist/collection/components/six-select/six-select.css +348 -0
- package/dist/collection/components/six-select/six-select.js +1105 -0
- package/dist/collection/components/six-sidebar/six-sidebar.css +47 -0
- package/dist/collection/components/six-sidebar/six-sidebar.js +455 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.css +22 -0
- package/dist/collection/components/six-sidebar-item/six-sidebar-item.js +89 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.css +32 -0
- package/dist/collection/components/six-sidebar-item-group/six-sidebar-item-group.js +158 -0
- package/dist/collection/components/six-spinner/six-spinner.css +79 -0
- package/dist/collection/components/six-spinner/six-spinner.js +55 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.css +49 -0
- package/dist/collection/components/six-stage-indicator/six-stage-indicator.js +46 -0
- package/dist/collection/components/six-switch/six-switch.css +90 -0
- package/dist/collection/components/six-switch/six-switch.js +393 -0
- package/dist/collection/components/six-tab/six-tab.css +54 -0
- package/dist/collection/components/six-tab/six-tab.js +198 -0
- package/dist/collection/components/six-tab-group/six-tab-group.css +155 -0
- package/dist/collection/components/six-tab-group/six-tab-group.js +362 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.css +17 -0
- package/dist/collection/components/six-tab-panel/six-tab-panel.js +75 -0
- package/dist/collection/components/six-table/six-table.css +44 -0
- package/dist/collection/components/six-table/six-table.js +209 -0
- package/dist/collection/components/six-table/test/helpers.js +13 -0
- package/dist/collection/components/six-table/types.js +8 -0
- package/dist/collection/components/six-table/util/filter-by.js +34 -0
- package/dist/collection/components/six-table/util/from-data.js +33 -0
- package/dist/collection/components/six-table/util/is.js +3 -0
- package/dist/collection/components/six-table/util/quick-filter-by.js +13 -0
- package/dist/collection/components/six-table/util/sort-by.js +25 -0
- package/dist/collection/components/six-table-cell/six-table-cell.css +13 -0
- package/dist/collection/components/six-table-cell/six-table-cell.js +21 -0
- package/dist/collection/components/six-table-header/six-table-header.css +17 -0
- package/dist/collection/components/six-table-header/six-table-header.js +21 -0
- package/dist/collection/components/six-table-header-cell/get-next-state.js +7 -0
- package/dist/collection/components/six-table-header-cell/icons.js +12 -0
- package/dist/collection/components/six-table-header-cell/six-table-header-cell.css +37 -0
- package/dist/collection/components/six-table-header-cell/six-table-header-cell.js +174 -0
- package/dist/collection/components/six-table-header-cell/types.js +13 -0
- package/dist/collection/components/six-table-header-cell/util/create-model.js +6 -0
- package/dist/collection/components/six-table-header-cell/util/get-next-state.js +7 -0
- package/dist/collection/components/six-table-row/six-table-row.css +16 -0
- package/dist/collection/components/six-table-row/six-table-row.js +21 -0
- package/dist/collection/components/six-tag/six-tag.css +103 -0
- package/dist/collection/components/six-tag/six-tag.js +157 -0
- package/dist/collection/components/six-textarea/six-textarea.css +196 -0
- package/dist/collection/components/six-textarea/six-textarea.js +912 -0
- package/dist/collection/components/six-tile/six-tile.css +105 -0
- package/dist/collection/components/six-tile/six-tile.js +315 -0
- package/dist/collection/components/six-timepicker/six-time-format.js +14 -0
- package/dist/collection/components/six-timepicker/six-timepicker.css +94 -0
- package/dist/collection/components/six-timepicker/six-timepicker.js +980 -0
- package/dist/collection/components/six-timepicker/six-timepicker.types.js +40 -0
- package/dist/collection/components/six-tooltip/six-tooltip.css +146 -0
- package/dist/collection/components/six-tooltip/six-tooltip.js +435 -0
- package/dist/collection/files/file-list.json +308 -0
- package/dist/collection/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/collection/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/collection/functional-components/form-control/form-control.js +28 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/material-icons-outlined.woff +0 -0
- package/dist/collection/material-icons-outlined.woff2 +0 -0
- package/dist/collection/material-icons-round.woff +0 -0
- package/dist/collection/material-icons-round.woff2 +0 -0
- package/dist/collection/material-icons-sharp.woff +0 -0
- package/dist/collection/material-icons-sharp.woff2 +0 -0
- package/dist/collection/material-icons-two-tone.woff +0 -0
- package/dist/collection/material-icons-two-tone.woff2 +0 -0
- package/dist/collection/material-icons.css +124 -0
- package/dist/collection/material-icons.scss +5 -0
- package/dist/collection/material-icons.woff +0 -0
- package/dist/collection/material-icons.woff2 +0 -0
- package/dist/collection/testUtil/delay.js +3 -0
- package/dist/collection/utils/as-array.js +1 -0
- package/dist/collection/utils/date-util.js +712 -0
- package/dist/collection/utils/event-listeners.js +39 -0
- package/dist/collection/utils/execution-control.js +38 -0
- package/dist/collection/utils/focus-visible.js +41 -0
- package/dist/collection/utils/matchers.js +2 -0
- package/dist/collection/utils/modal.js +28 -0
- package/dist/collection/utils/offset.js +13 -0
- package/dist/collection/utils/popover.js +113 -0
- package/dist/collection/utils/scroll.js +47 -0
- package/dist/collection/utils/slot.js +59 -0
- package/dist/collection/utils/support.js +15 -0
- package/dist/collection/utils/tabbable.js +22 -0
- package/dist/collection/utils/testing.js +38 -0
- package/dist/collection/utils/time.util.js +74 -0
- package/dist/collection/utils/type-check.js +5 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/wrappers/set-attributes/set-attributes.js +68 -0
- package/dist/components.d.ts +121 -0
- package/dist/components.json +12649 -0
- package/dist/custom-elements/index.d.ts +387 -0
- package/dist/custom-elements/index.js +9757 -0
- package/dist/esm/event-listeners-570a24ea.js +41 -0
- package/dist/esm/execution-control-1a60d709.js +38 -0
- package/dist/esm/focus-visible-97933ea9.js +43 -0
- package/dist/esm/form-control-24f446af.js +30 -0
- package/dist/esm/index-a2605a62.js +1771 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/modal-5ebdc320.js +46 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -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/esm/popover-1c7a1139.js +1896 -0
- package/dist/esm/scroll-180b53fd.js +62 -0
- package/dist/esm/set-attributes_2.entry.js +66 -0
- package/dist/esm/six-alert.entry.js +138 -0
- package/dist/esm/six-avatar.entry.js +35 -0
- package/dist/esm/six-badge.entry.js +33 -0
- package/dist/esm/six-button.entry.js +104 -0
- package/dist/esm/six-card.entry.js +15 -0
- package/dist/esm/six-checkbox.entry.js +159 -0
- package/dist/esm/six-datepicker.entry.js +1206 -0
- package/dist/esm/six-details.entry.js +146 -0
- package/dist/esm/six-dialog.entry.js +159 -0
- package/dist/esm/six-drawer.entry.js +181 -0
- package/dist/esm/six-dropdown_3.entry.js +745 -0
- package/dist/esm/six-error-page.entry.js +101 -0
- package/dist/esm/six-file-list-item.entry.js +45 -0
- package/dist/esm/six-file-list.entry.js +15 -0
- package/dist/esm/six-file-upload.entry.js +103 -0
- package/dist/esm/six-footer.entry.js +15 -0
- package/dist/esm/six-form.entry.js +226 -0
- package/dist/esm/six-group-label.entry.js +53 -0
- package/dist/esm/six-header.entry.js +156 -0
- package/dist/esm/six-icon-button.entry.js +40 -0
- package/dist/esm/six-icon.entry.js +31 -0
- package/dist/esm/six-input.entry.js +237 -0
- package/dist/esm/six-item-picker.entry.js +368 -0
- package/dist/esm/six-language-switcher.entry.js +59 -0
- package/dist/esm/six-layout-grid.entry.js +26 -0
- package/dist/esm/six-main-container.entry.js +18 -0
- package/dist/esm/six-menu-divider.entry.js +15 -0
- package/dist/esm/six-menu-label.entry.js +15 -0
- package/dist/esm/six-picto.entry.js +22 -0
- package/dist/esm/six-progress-bar.entry.js +24 -0
- package/dist/esm/six-progress-ring.entry.js +38 -0
- package/dist/esm/six-radio.entry.js +128 -0
- package/dist/esm/six-range.entry.js +205 -0
- package/dist/esm/six-root.entry.js +41 -0
- package/dist/esm/six-search-field.entry.js +50 -0
- package/dist/esm/six-select.entry.js +454 -0
- package/dist/esm/six-sidebar-item-group.entry.js +49 -0
- package/dist/esm/six-sidebar-item.entry.js +25 -0
- package/dist/esm/six-sidebar.entry.js +178 -0
- package/dist/esm/six-spinner.entry.js +23 -0
- package/dist/esm/six-switch.entry.js +107 -0
- package/dist/esm/six-tab-group.entry.js +233 -0
- package/dist/esm/six-tab-panel.entry.js +24 -0
- package/dist/esm/six-tab.entry.js +49 -0
- package/dist/esm/six-table-cell_4.entry.js +95 -0
- package/dist/esm/six-table.entry.js +164 -0
- package/dist/esm/six-tag.entry.js +47 -0
- package/dist/esm/six-textarea.entry.js +218 -0
- package/dist/esm/six-tile.entry.js +96 -0
- package/dist/esm/six-timepicker.entry.js +500 -0
- package/dist/esm/six-timepicker.types-e161a447.js +48 -0
- package/dist/esm/six-tooltip.entry.js +179 -0
- package/dist/esm/slot-6f3984c7.js +45 -0
- package/dist/esm/types-4b10b413.js +15 -0
- package/dist/esm/types-ed860f7c.js +15 -0
- package/dist/esm/ui-library.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/six-alert/six-alert.d.ts +60 -0
- package/dist/types/components/six-avatar/six-avatar.d.ts +27 -0
- package/dist/types/components/six-badge/six-badge.d.ts +20 -0
- package/dist/types/components/six-button/six-button.d.ts +69 -0
- package/dist/types/components/six-card/six-card.d.ts +9 -0
- package/dist/types/components/six-checkbox/six-checkbox.d.ts +86 -0
- package/dist/types/components/six-datepicker/components/day-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/components/month-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/components/year-selection.d.ts +5 -0
- package/dist/types/components/six-datepicker/six-date-formats.d.ts +22 -0
- package/dist/types/components/six-datepicker/six-datepicker.d.ts +214 -0
- package/dist/types/components/six-datepicker/test/six-datepicker.test-helpers.d.ts +1 -0
- package/dist/types/components/six-details/six-details.d.ts +61 -0
- package/dist/types/components/six-dialog/six-dialog.d.ts +75 -0
- package/dist/types/components/six-drawer/six-drawer.d.ts +82 -0
- package/dist/types/components/six-dropdown/six-dropdown.d.ts +140 -0
- package/dist/types/components/six-error-page/six-error-page.d.ts +27 -0
- package/dist/types/components/six-file-list/six-file-list.d.ts +8 -0
- package/dist/types/components/six-file-list-item/six-file-list-item.d.ts +35 -0
- package/dist/types/components/six-file-upload/six-file-upload.d.ts +42 -0
- package/dist/types/components/six-footer/six-footer.d.ts +9 -0
- package/dist/types/components/six-form/six-form.d.ts +69 -0
- package/dist/types/components/six-group-label/six-group-label.d.ts +37 -0
- package/dist/types/components/six-header/six-header.d.ts +90 -0
- package/dist/types/components/six-icon/six-icon.d.ts +13 -0
- package/dist/types/components/six-icon-button/six-icon-button.d.ts +28 -0
- package/dist/types/components/six-input/six-input.d.ts +165 -0
- package/dist/types/components/six-item-picker/six-item-picker.d.ts +106 -0
- package/dist/types/components/six-item-picker/types.d.ts +11 -0
- package/dist/types/components/six-language-switcher/six-language-switcher.d.ts +25 -0
- package/dist/types/components/six-layout-grid/six-layout-grid.d.ts +14 -0
- package/dist/types/components/six-main-container/six-main-container.d.ts +16 -0
- package/dist/types/components/six-menu/six-menu.d.ts +81 -0
- package/dist/types/components/six-menu-divider/six-menu-divider.d.ts +11 -0
- package/dist/types/components/six-menu-item/six-menu-item.d.ts +36 -0
- package/dist/types/components/six-menu-label/six-menu-label.d.ts +13 -0
- package/dist/types/components/six-picto/six-picto.d.ts +14 -0
- package/dist/types/components/six-progress-bar/six-progress-bar.d.ts +19 -0
- package/dist/types/components/six-progress-ring/six-progress-ring.d.ts +24 -0
- package/dist/types/components/six-radio/six-radio.d.ts +66 -0
- package/dist/types/components/six-range/six-range.d.ts +101 -0
- package/dist/types/components/six-root/six-root.d.ts +34 -0
- package/dist/types/components/six-search-field/six-search-field.d.ts +32 -0
- package/dist/types/components/six-select/six-select.d.ts +163 -0
- package/dist/types/components/six-sidebar/six-sidebar.d.ts +55 -0
- package/dist/types/components/six-sidebar-item/six-sidebar-item.d.ts +15 -0
- package/dist/types/components/six-sidebar-item-group/six-sidebar-item-group.d.ts +26 -0
- package/dist/types/components/six-spinner/six-spinner.d.ts +15 -0
- package/dist/types/components/six-stage-indicator/six-stage-indicator.d.ts +6 -0
- package/dist/types/components/six-switch/six-switch.d.ts +62 -0
- package/dist/types/components/six-tab/six-tab.d.ts +35 -0
- package/dist/types/components/six-tab-group/six-tab-group.d.ts +62 -0
- package/dist/types/components/six-tab-panel/six-tab-panel.d.ts +19 -0
- package/dist/types/components/six-table/six-table.d.ts +30 -0
- package/dist/types/components/six-table/test/helpers.d.ts +2 -0
- package/dist/types/components/six-table/types.d.ts +33 -0
- package/dist/types/components/six-table/util/filter-by.d.ts +2 -0
- package/dist/types/components/six-table/util/from-data.d.ts +8 -0
- package/dist/types/components/six-table/util/is.d.ts +3 -0
- package/dist/types/components/six-table/util/quick-filter-by.d.ts +2 -0
- package/dist/types/components/six-table/util/sort-by.d.ts +2 -0
- package/dist/types/components/six-table-cell/six-table-cell.d.ts +9 -0
- package/dist/types/components/six-table-header/six-table-header.d.ts +9 -0
- package/dist/types/components/six-table-header-cell/get-next-state.d.ts +2 -0
- package/dist/types/components/six-table-header-cell/icons.d.ts +3 -0
- package/dist/types/components/six-table-header-cell/six-table-header-cell.d.ts +32 -0
- package/dist/types/components/six-table-header-cell/types.d.ts +11 -0
- package/dist/types/components/six-table-header-cell/util/create-model.d.ts +4 -0
- package/dist/types/components/six-table-header-cell/util/get-next-state.d.ts +3 -0
- package/dist/types/components/six-table-row/six-table-row.d.ts +9 -0
- package/dist/types/components/six-tag/six-tag.d.ts +30 -0
- package/dist/types/components/six-textarea/six-textarea.d.ts +134 -0
- package/dist/types/components/six-tile/six-tile.d.ts +40 -0
- package/dist/types/components/six-timepicker/six-time-format.d.ts +13 -0
- package/dist/types/components/six-timepicker/six-timepicker.d.ts +184 -0
- package/dist/types/components/six-timepicker/six-timepicker.types.d.ts +36 -0
- package/dist/types/components/six-tooltip/six-tooltip.d.ts +72 -0
- package/dist/types/components.d.ts +4335 -0
- package/dist/types/functional-components/form-control/form-control.d.ts +34 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/testUtil/delay.d.ts +1 -0
- package/dist/types/utils/as-array.d.ts +1 -0
- package/dist/types/utils/date-util.d.ts +194 -0
- package/dist/types/utils/event-listeners.d.ts +15 -0
- package/dist/types/utils/execution-control.d.ts +26 -0
- package/dist/types/utils/focus-visible.d.ts +6 -0
- package/dist/types/utils/matchers.d.ts +2 -0
- package/dist/types/utils/modal.d.ts +13 -0
- package/dist/types/utils/offset.d.ts +4 -0
- package/dist/types/utils/popover.d.ts +27 -0
- package/dist/types/utils/popper.d.ts +33 -0
- package/dist/types/utils/scroll.d.ts +3 -0
- package/dist/types/utils/slot.d.ts +9 -0
- package/dist/types/utils/support.d.ts +1 -0
- package/dist/types/utils/tabbable.d.ts +2 -0
- package/dist/types/utils/testing.d.ts +2 -0
- package/dist/types/utils/time.util.d.ts +10 -0
- package/dist/types/utils/type-check.d.ts +4 -0
- package/dist/types/utils/types.d.ts +4 -0
- package/dist/types/wrappers/set-attributes/set-attributes.d.ts +9 -0
- package/dist/ui-library/assets/TRADEMARKS.md +7 -0
- package/dist/ui-library/assets/commons.js +5 -0
- package/dist/ui-library/assets/data.json +642 -0
- package/dist/ui-library/assets/six-logo.svg +1 -0
- package/dist/ui-library/files/file-list.json +308 -0
- package/dist/ui-library/files/noto-sans-all-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-all-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-cyrillic-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-devanagari-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-greek-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-latin-ext-900-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-100-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-200-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-300-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-400-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-500-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-600-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-700-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-800-normal.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-italic.woff2 +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff +0 -0
- package/dist/ui-library/files/noto-sans-vietnamese-900-normal.woff2 +0 -0
- package/dist/ui-library/index.esm.js +0 -0
- package/dist/ui-library/material-icons-outlined.woff +0 -0
- package/dist/ui-library/material-icons-outlined.woff2 +0 -0
- package/dist/ui-library/material-icons-round.woff +0 -0
- package/dist/ui-library/material-icons-round.woff2 +0 -0
- package/dist/ui-library/material-icons-sharp.woff +0 -0
- package/dist/ui-library/material-icons-sharp.woff2 +0 -0
- package/dist/ui-library/material-icons-two-tone.woff +0 -0
- package/dist/ui-library/material-icons-two-tone.woff2 +0 -0
- package/dist/ui-library/material-icons.css +124 -0
- package/dist/ui-library/material-icons.scss +5 -0
- package/dist/ui-library/material-icons.woff +0 -0
- package/dist/ui-library/material-icons.woff2 +0 -0
- package/dist/ui-library/p-007bc8e8.entry.js +1 -0
- package/dist/ui-library/p-044b784e.entry.js +1 -0
- package/dist/ui-library/p-0493c926.entry.js +1 -0
- package/dist/ui-library/p-0786fa7c.js +1 -0
- package/dist/ui-library/p-07d1e830.js +1 -0
- package/dist/ui-library/p-09cb13fa.entry.js +1 -0
- package/dist/ui-library/p-0c596054.entry.js +1 -0
- package/dist/ui-library/p-1005d1a8.entry.js +1 -0
- package/dist/ui-library/p-19ff1079.entry.js +1 -0
- package/dist/ui-library/p-1b8dc7b7.entry.js +1 -0
- package/dist/ui-library/p-2053c61a.entry.js +1 -0
- package/dist/ui-library/p-25a3bf57.js +1 -0
- package/dist/ui-library/p-281e8c2d.entry.js +1 -0
- package/dist/ui-library/p-2924f82f.entry.js +1 -0
- package/dist/ui-library/p-2d7ed407.entry.js +1 -0
- package/dist/ui-library/p-30ebc1e7.js +1 -0
- package/dist/ui-library/p-354704e5.entry.js +1 -0
- package/dist/ui-library/p-376b8f30.entry.js +1 -0
- package/dist/ui-library/p-3a7daff8.entry.js +1 -0
- package/dist/ui-library/p-3f577392.entry.js +1 -0
- package/dist/ui-library/p-4162dcdd.entry.js +1 -0
- package/dist/ui-library/p-4d3a4e93.entry.js +1 -0
- package/dist/ui-library/p-4ed023b8.entry.js +1 -0
- package/dist/ui-library/p-4f8394d7.js +1 -0
- package/dist/ui-library/p-530ea6ec.entry.js +1 -0
- package/dist/ui-library/p-531ab886.entry.js +1 -0
- package/dist/ui-library/p-54c48654.entry.js +1 -0
- package/dist/ui-library/p-55c64cbc.entry.js +1 -0
- package/dist/ui-library/p-5f1c6a5f.js +1 -0
- package/dist/ui-library/p-6494e92d.entry.js +1 -0
- package/dist/ui-library/p-66601906.entry.js +1 -0
- package/dist/ui-library/p-675a8243.entry.js +1 -0
- package/dist/ui-library/p-6a4f0542.entry.js +1 -0
- package/dist/ui-library/p-6d622ed0.entry.js +1 -0
- package/dist/ui-library/p-75297ad7.js +1 -0
- package/dist/ui-library/p-76bfa55f.entry.js +1 -0
- package/dist/ui-library/p-7fe09462.entry.js +1 -0
- package/dist/ui-library/p-88e1e390.entry.js +1 -0
- package/dist/ui-library/p-8e8e922b.entry.js +1 -0
- package/dist/ui-library/p-90b26447.entry.js +1 -0
- package/dist/ui-library/p-93945629.entry.js +1 -0
- package/dist/ui-library/p-9a860acc.js +1 -0
- package/dist/ui-library/p-a98198bd.entry.js +1 -0
- package/dist/ui-library/p-aa37e45a.entry.js +1 -0
- package/dist/ui-library/p-b1e66136.js +1 -0
- package/dist/ui-library/p-b391f704.entry.js +1 -0
- package/dist/ui-library/p-b4dfb7cf.js +1 -0
- package/dist/ui-library/p-b9377445.entry.js +1 -0
- package/dist/ui-library/p-bf110ea9.entry.js +1 -0
- package/dist/ui-library/p-c24292b3.entry.js +1 -0
- package/dist/ui-library/p-c4b22513.entry.js +1 -0
- package/dist/ui-library/p-c536792e.entry.js +1 -0
- package/dist/ui-library/p-cd79de73.entry.js +1 -0
- package/dist/ui-library/p-ce02c34f.entry.js +1 -0
- package/dist/ui-library/p-d12c6092.js +1 -0
- package/dist/ui-library/p-d28ac80a.entry.js +1 -0
- package/dist/ui-library/p-d724bbc9.entry.js +1 -0
- package/dist/ui-library/p-d837e5a8.entry.js +1 -0
- package/dist/ui-library/p-dd3cae68.entry.js +1 -0
- package/dist/ui-library/p-ea781e94.entry.js +1 -0
- package/dist/ui-library/p-eae232c3.entry.js +1 -0
- package/dist/ui-library/p-eb0956d2.entry.js +1 -0
- package/dist/ui-library/p-eb8f05a9.js +1 -0
- package/dist/ui-library/p-f00c1783.entry.js +1 -0
- package/dist/ui-library/ui-library.css +10 -0
- package/dist/ui-library/ui-library.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +74 -0
- package/readme.md +154 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const types = require('./types-581e8ff0.js');
|
|
7
|
+
|
|
8
|
+
const sixTableCellCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:table-cell;padding:var(--six-spacing-medium);font-size:var(--six-font-size-small)}";
|
|
9
|
+
|
|
10
|
+
let SixTableCell = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
SixTableCell.style = sixTableCellCss;
|
|
19
|
+
|
|
20
|
+
const sixTableHeaderCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:table-header-group;cursor:pointer;font-family:var(--six-font-family);font-weight:var(--six-font-weight-bold);color:var(--six-table-header-color);border-bottom:solid 2px var(--six-table-header-border-color);padding:0.75rem}";
|
|
21
|
+
|
|
22
|
+
let SixTableHeader = class {
|
|
23
|
+
constructor(hostRef) {
|
|
24
|
+
index.registerInstance(this, hostRef);
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
SixTableHeader.style = sixTableHeaderCss;
|
|
31
|
+
|
|
32
|
+
const getNextState = (states) => (current) => {
|
|
33
|
+
const next = states.indexOf(current) + 1;
|
|
34
|
+
return states[next < states.length ? next : 0];
|
|
35
|
+
};
|
|
36
|
+
const getNextSortState = getNextState(Object.values(types.SortDirection));
|
|
37
|
+
const getNextFilterState = getNextState(Object.values(types.FilterMode));
|
|
38
|
+
|
|
39
|
+
const createSortModel = (key, value) => {
|
|
40
|
+
return { [key]: value };
|
|
41
|
+
};
|
|
42
|
+
const createFilterModel = (key, filter, value) => {
|
|
43
|
+
return { [key]: { [filter]: value } };
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
const SortIcon = {
|
|
47
|
+
[types.SortDirection.Asc]: 'arrow_drop_up',
|
|
48
|
+
[types.SortDirection.Desc]: 'arrow_drop_down',
|
|
49
|
+
[types.SortDirection.None]: 'swap_vert',
|
|
50
|
+
};
|
|
51
|
+
const FilterIcon = {
|
|
52
|
+
[types.FilterMode.Equals]: '=',
|
|
53
|
+
[types.FilterMode.NotEquals]: '≠',
|
|
54
|
+
[types.FilterMode.Includes]: '∈',
|
|
55
|
+
[types.FilterMode.NotIncludes]: '∉',
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const sixTableHeaderCellCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:table-cell;padding:var(--six-spacing-medium) var(--six-spacing-medium) var(--six-spacing-x-small);font-size:var(--six-font-size-small)}six-icon{vertical-align:text-top;width:1.5rem}.header:hover .header__trigger-icon,.header--selected .header__trigger-icon{opacity:1}.header__trigger-icon{color:var(--six-color-web-rock-600);opacity:0}.header__trigger-icon-box{float:right}[slot=prefix]{font-size:1.5em}six-dropdown::part(panel){overflow:inherit}";
|
|
59
|
+
|
|
60
|
+
let SixTableHeaderCell = class {
|
|
61
|
+
constructor(hostRef) {
|
|
62
|
+
index.registerInstance(this, hostRef);
|
|
63
|
+
this.sortUpdated = index.createEvent(this, "six-table-header-cell-sort-updated", 7);
|
|
64
|
+
this.filterUpdated = index.createEvent(this, "six-table-header-cell-filter-updated", 7);
|
|
65
|
+
this.handleSortNext = () => {
|
|
66
|
+
this.sortUpdated.emit(createSortModel(this.name, getNextSortState(this.sort)));
|
|
67
|
+
};
|
|
68
|
+
this.handleFilterNext = () => {
|
|
69
|
+
this.filterUpdated.emit(createFilterModel(this.name, getNextFilterState(this.filter), this.inputElement.value));
|
|
70
|
+
};
|
|
71
|
+
this.handleFilterChange = () => {
|
|
72
|
+
this.filterUpdated.emit(createFilterModel(this.name, this.filter, this.inputElement.value));
|
|
73
|
+
};
|
|
74
|
+
this.handleFilterClear = () => {
|
|
75
|
+
this.filterUpdated.emit(createFilterModel(this.name, this.filter, undefined));
|
|
76
|
+
this.filterRef.hide();
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
render() {
|
|
80
|
+
const sort = this.sort && (index.h("six-icon", { filled: true, class: { 'header__trigger-icon': this.sort === types.SortDirection.None }, onClick: this.handleSortNext, "data-testid": `table-sort-${this.name}` }, SortIcon[this.sort]));
|
|
81
|
+
const filter = this.filter && (index.h("six-dropdown", { ref: (el) => (this.filterRef = el), hoist: true, "data-testid": `table-filter-${this.name}` }, index.h("six-icon", { slot: "trigger", class: "header__trigger-icon" }, "filter_alt"), index.h("six-input", { ref: (el) => (this.inputElement = el), value: this.value, "onSix-input-input": this.handleFilterChange }, index.h("six-icon-button", { slot: "prefix", html: FilterIcon[this.filter], onClick: this.handleFilterNext, "data-testid": `table-filter-prefix-${this.name}` }), index.h("six-icon-button", { slot: "suffix", name: "clear", label: "Clear", onClick: this.handleFilterClear, "data-testid": `table-filter-suffix-${this.name}` }))));
|
|
82
|
+
return (index.h(index.Host, null, index.h("div", { class: { header: true, 'header--selected': this.value !== undefined } }, index.h("slot", null), index.h("div", { class: "header__trigger-icon-box" }, sort, filter))));
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
SixTableHeaderCell.style = sixTableHeaderCellCss;
|
|
86
|
+
|
|
87
|
+
const sixTableRowCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:table-row;font-family:var(--six-font-family)}:host(:hover){background-color:var(--six-table-row-background-color-hover)}";
|
|
88
|
+
|
|
89
|
+
let SixTableRow = class {
|
|
90
|
+
constructor(hostRef) {
|
|
91
|
+
index.registerInstance(this, hostRef);
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
return (index.h(index.Host, null, index.h("slot", null)));
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
SixTableRow.style = sixTableRowCss;
|
|
98
|
+
|
|
99
|
+
exports.six_table_cell = SixTableCell;
|
|
100
|
+
exports.six_table_header = SixTableHeader;
|
|
101
|
+
exports.six_table_header_cell = SixTableHeaderCell;
|
|
102
|
+
exports.six_table_row = SixTableRow;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const types = require('./types-581e8ff0.js');
|
|
7
|
+
|
|
8
|
+
const assertions = [
|
|
9
|
+
(value) => typeof value === 'object',
|
|
10
|
+
(value) => typeof value.columns === 'object',
|
|
11
|
+
(value) => Array.isArray(value.rows),
|
|
12
|
+
(value) => value.sort === undefined || typeof value.sort === 'object',
|
|
13
|
+
];
|
|
14
|
+
const apply = (value) => (f) => f(value);
|
|
15
|
+
const isData = (value) => assertions.every(apply(value));
|
|
16
|
+
|
|
17
|
+
const Invalid = {
|
|
18
|
+
Term: (value) => typeof value !== 'string' || value.length < 1,
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
const modes = {
|
|
22
|
+
[types.FilterMode.Includes]: (a, b) => a.includes(b),
|
|
23
|
+
[types.FilterMode.NotIncludes]: (a, b) => !a.includes(b),
|
|
24
|
+
[types.FilterMode.Equals]: (a, b) => a === b,
|
|
25
|
+
[types.FilterMode.NotEquals]: (a, b) => a !== b,
|
|
26
|
+
};
|
|
27
|
+
const filterBy = (filterModel = {}) => (item) => {
|
|
28
|
+
var _a;
|
|
29
|
+
const keys = Object.keys(filterModel);
|
|
30
|
+
if (keys.length === 0) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
for (const key of keys) {
|
|
34
|
+
const filter = filterModel[key];
|
|
35
|
+
if (!filter) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
for (const [mode, term] of Object.entries(filter)) {
|
|
39
|
+
if (Invalid.Term(term)) {
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
const value = String((_a = item[key]) !== null && _a !== void 0 ? _a : '');
|
|
43
|
+
if (Invalid.Term(value)) {
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
if (!modes[mode](value, term)) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return true;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const unordered = (value) => value === types.SortDirection.None;
|
|
55
|
+
const DEFAULT_COMPARATOR = (a, b) => String(a).localeCompare(String(b));
|
|
56
|
+
const sortBy = (sort = {}, compare = {}) => (items) => {
|
|
57
|
+
const values = Object.values(sort);
|
|
58
|
+
if (values.length === 0 || values.every(unordered)) {
|
|
59
|
+
return items;
|
|
60
|
+
}
|
|
61
|
+
return [...items].sort((a, b) => {
|
|
62
|
+
return Object.entries(sort).reduce((acc, [k, v], index) => {
|
|
63
|
+
if (v === types.SortDirection.None) {
|
|
64
|
+
return acc;
|
|
65
|
+
}
|
|
66
|
+
const comparator = compare[k];
|
|
67
|
+
const direction = {
|
|
68
|
+
[types.SortDirection.Asc]: +1,
|
|
69
|
+
[types.SortDirection.Desc]: -1,
|
|
70
|
+
}[v];
|
|
71
|
+
if (comparator) {
|
|
72
|
+
return acc + direction * (comparator(a, b) << index);
|
|
73
|
+
}
|
|
74
|
+
return acc + direction * (DEFAULT_COMPARATOR(a[k], b[k]) << index);
|
|
75
|
+
}, 0);
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
const quickFilterBy = (keys, value) => (item) => {
|
|
80
|
+
if (Invalid.Term(value)) {
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
const term = value.toLowerCase();
|
|
84
|
+
const source = keys
|
|
85
|
+
.map((key) => { var _a; return (_a = item[key]) !== null && _a !== void 0 ? _a : ''; })
|
|
86
|
+
.map(String)
|
|
87
|
+
.join()
|
|
88
|
+
.toLowerCase();
|
|
89
|
+
return source.includes(term);
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
const propOr = (k) => (o = {}, defaults) => o[k] || defaults;
|
|
93
|
+
const fromData = ({ data, handleRowClick, handleCellClick }) => {
|
|
94
|
+
if (!isData(data)) {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
const keys = Object.keys(data.columns);
|
|
98
|
+
const columns = keys.map((key) => {
|
|
99
|
+
const byKey = propOr(key);
|
|
100
|
+
const sort = byKey(data.sort, undefined);
|
|
101
|
+
const [[filter, value] = []] = Object.entries(byKey(data.filter, {}));
|
|
102
|
+
return (index.h("six-table-header-cell", { name: key, sort: sort, filter: filter, value: value }, data.columns[key]));
|
|
103
|
+
});
|
|
104
|
+
const quickFilter = quickFilterBy(Object.keys(data.columns), data.quickFilter);
|
|
105
|
+
const filter = filterBy(data.filter);
|
|
106
|
+
const sort = sortBy(data.sort, data.compare);
|
|
107
|
+
const rows = sort(data.rows.filter(quickFilter).filter(filter)).map((item, index$1) => {
|
|
108
|
+
const cells = keys.map((key) => {
|
|
109
|
+
const renderer = data.render && data.render[key];
|
|
110
|
+
// HTML is not escaped, responsibility lays on the caller
|
|
111
|
+
const html = typeof renderer === 'function' ? renderer(item) : String(item[key]);
|
|
112
|
+
return (index.h("six-table-cell", { onClick: handleCellClick(item, key), "data-testid": `table-cell-${key}-${index$1}`, innerHTML: html }));
|
|
113
|
+
});
|
|
114
|
+
return (index.h("six-table-row", { onClick: handleRowClick(item), "data-testid": `table-row-${index$1}` }, cells));
|
|
115
|
+
});
|
|
116
|
+
return (index.h(index.Fragment, null,
|
|
117
|
+
index.h("six-table-header", { "data-testid": "table-header" }, columns),
|
|
118
|
+
rows));
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const sixTableCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:table;border-collapse:collapse;user-select:none;border:none;width:100%;height:100%}:host([loading]){border-collapse:separate}:host([striped]) six-table-row:nth-child(odd):not(:hover),:host([striped]) ::slotted(six-table-row:nth-child(odd):not(:hover)){background-color:var(--six-table-row-background-color)}:host(:not(striped)) ::slotted(six-table-row){border-bottom:solid 1px var(--six-table-row-border-color)}.loading{position:absolute;background-color:var(--six-table-background-color);top:0;left:0;width:100%;height:100%}.loading six-spinner{top:calc(50% - 0.5em);left:50%;transform:scale(3)}";
|
|
122
|
+
|
|
123
|
+
let SixTable = class {
|
|
124
|
+
constructor(hostRef) {
|
|
125
|
+
index.registerInstance(this, hostRef);
|
|
126
|
+
this.tableReady = index.createEvent(this, "six-table-ready", 7);
|
|
127
|
+
this.tableRowClicked = index.createEvent(this, "six-table-row-clicked", 7);
|
|
128
|
+
this.tableCellClicked = index.createEvent(this, "six-table-cell-clicked", 7);
|
|
129
|
+
/** Set to true to stripe the table. */
|
|
130
|
+
this.striped = false;
|
|
131
|
+
/** Set to true to display loading indicator. */
|
|
132
|
+
this.loading = false;
|
|
133
|
+
this.data = {
|
|
134
|
+
columns: {},
|
|
135
|
+
rows: [],
|
|
136
|
+
};
|
|
137
|
+
this.handleRowClick = (item) => (event) => {
|
|
138
|
+
this.tableRowClicked.emit({ event, item });
|
|
139
|
+
};
|
|
140
|
+
this.handleCellClick = (item, key) => (event) => {
|
|
141
|
+
this.tableCellClicked.emit({ event, item, key });
|
|
142
|
+
};
|
|
143
|
+
console.warn('six-table will be removed with the next table. Use fate table instead. In case of any question contact Daniel Häusler');
|
|
144
|
+
}
|
|
145
|
+
handleData({ detail }) {
|
|
146
|
+
if (!isData(detail)) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
this.data = detail;
|
|
150
|
+
}
|
|
151
|
+
async setData(value) {
|
|
152
|
+
if (!isData(value)) {
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
this.data = value;
|
|
156
|
+
}
|
|
157
|
+
componentDidLoad() {
|
|
158
|
+
this.tableReady.emit();
|
|
159
|
+
}
|
|
160
|
+
render() {
|
|
161
|
+
const loading = this.loading && (index.h("div", { class: "loading" }, index.h("six-spinner", { "data-testid": "loading-spinner" })));
|
|
162
|
+
return (index.h(index.Host, null, index.h("slot", null, fromData(this)), loading));
|
|
163
|
+
}
|
|
164
|
+
get host() { return index.getElement(this); }
|
|
165
|
+
};
|
|
166
|
+
SixTable.style = sixTableCss;
|
|
167
|
+
|
|
168
|
+
exports.six_table = SixTable;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
|
|
7
|
+
const sixTagCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block}.tag{display:flex;align-items:center;border:solid 1px;font-family:var(--six-font-family);line-height:1;white-space:nowrap;user-select:none;cursor:default}.tag__clear::part(base){color:inherit;padding:0}.tag--info{color:var(--six-color-white);background-color:var(--six-color-web-rock-900);border-color:var(--six-color-web-rock-900)}.tag--success{color:var(--six-color-web-rock-900);border-color:var(--six-color-success-500);background-color:var(--six-color-success-500)}.tag--primary{color:var(--six-color-web-rock-900);border-color:var(--six-color-clay-50);background-color:var(--six-color-clay-50)}.tag--warning{color:var(--six-color-web-rock-900);border-color:var(--six-color-warning-700);background-color:var(--six-color-warning-700)}.tag--danger{color:var(--six-color-white);border-color:var(--six-color-danger-800);background-color:var(--six-color-danger-800)}.tag--action{color:var(--six-color-white);border-color:var(--six-color-action-500);background-color:var(--six-color-action-500)}.tag--small{font-size:var(--six-button-font-size-small);height:calc(var(--six-height-small) * 0.8);line-height:calc(var(--six-height-small) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-small);padding:0 var(--six-spacing-x-small)}.tag--small .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xxx-small))}.tag--medium{font-size:var(--six-button-font-size-medium);height:calc(var(--six-height-medium) * 0.8);line-height:calc(var(--six-height-medium) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-medium);padding:0 var(--six-spacing-small)}.tag--medium .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-xx-small))}.tag--large{font-size:var(--six-button-font-size-large);height:calc(var(--six-height-large) * 0.8);line-height:calc(var(--six-height-large) - var(--six-border-width) * 2);border-radius:var(--six-input-border-radius-large);padding:0 var(--six-spacing-medium)}.tag--large .tag__clear{margin-left:var(--six-spacing-xx-small);margin-right:calc(-1 * var(--six-spacing-x-small))}.tag--pill{border-radius:var(--six-border-radius-pill)}";
|
|
8
|
+
|
|
9
|
+
let SixTag = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.sixClear = index.createEvent(this, "six-tag-clear", 7);
|
|
13
|
+
/** The tag's type. */
|
|
14
|
+
this.type = 'primary';
|
|
15
|
+
/** The tag's size. */
|
|
16
|
+
this.size = 'medium';
|
|
17
|
+
/** Set to true to draw a pill-style tag with rounded edges. */
|
|
18
|
+
this.pill = false;
|
|
19
|
+
/** Set to true to make the tag clearable. */
|
|
20
|
+
this.clearable = false;
|
|
21
|
+
}
|
|
22
|
+
connectedCallback() {
|
|
23
|
+
this.handleClearClick = this.handleClearClick.bind(this);
|
|
24
|
+
}
|
|
25
|
+
handleClearClick() {
|
|
26
|
+
this.sixClear.emit();
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return (index.h("span", { ref: (el) => (this.tag = el), part: "base", class: {
|
|
30
|
+
tag: true,
|
|
31
|
+
// Types
|
|
32
|
+
'tag--primary': this.type === 'primary',
|
|
33
|
+
'tag--success': this.type === 'success',
|
|
34
|
+
'tag--info': this.type === 'info',
|
|
35
|
+
'tag--warning': this.type === 'warning',
|
|
36
|
+
'tag--danger': this.type === 'danger',
|
|
37
|
+
'tag--action': this.type === 'action',
|
|
38
|
+
'tag--text': this.type === 'text',
|
|
39
|
+
// Sizes
|
|
40
|
+
'tag--small': this.size === 'small',
|
|
41
|
+
'tag--medium': this.size === 'medium',
|
|
42
|
+
'tag--large': this.size === 'large',
|
|
43
|
+
// Modifers
|
|
44
|
+
'tag--pill': this.pill,
|
|
45
|
+
'tag--clear': this.clearable,
|
|
46
|
+
} }, index.h("span", { part: "content", class: "tag__content" }, index.h("slot", null)), this.clearable && (index.h("six-icon-button", { exportparts: "base:clear-button", size: "xSmall", name: "clear", class: "tag__clear", onClick: this.handleClearClick }))));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
SixTag.style = sixTagCss;
|
|
50
|
+
|
|
51
|
+
exports.six_tag = SixTag;
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const formControl = require('./form-control-866bbece.js');
|
|
7
|
+
const slot = require('./slot-ad537f24.js');
|
|
8
|
+
const eventListeners = require('./event-listeners-74715e62.js');
|
|
9
|
+
|
|
10
|
+
const sixTextareaCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}.form-control .form-control__label{display:none}.form-control .form-control__help-text{display:none}.form-control .form-control__error-text{display:none}.form-control--has-label .form-control__label{display:inline-block;color:var(--six-input-label-color);font-weight:var(--six-font-weight-bold);margin-bottom:var(--six-spacing-x-small)}.form-control--has-label .form-control__label__required::after{color:var(--six-color-danger-800);content:\"*\"}.form-control--has-label.form-control--small .form-control__label{font-size:var(--six-input-label-font-size-small)}.form-control--has-label.form-control--medium .form-control__label{font-size:var(--six-input-label-font-size-medium)}.form-control--has-label.form-control--large .form-control_label{font-size:var(--six-input-label-font-size-large)}.form-control--has-help-text .form-control__help-text{display:block;color:var(--six-input-help-text-color);margin-top:var(--six-spacing-x-small)}.form-control--has-help-text .form-control__help-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-help-text.form-control--small .form-control__help-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-help-text.form-control--medium .form-control__help-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-help-text.form-control--large .form-control__help-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--has-error-text .form-control__error-text{display:block;color:var(--six-color-danger-800);margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text .form-control__error-text ::slotted(*){margin-top:var(--six-spacing-xxx-small)}.form-control--has-error-text.form-control--small .form-control__error-text{font-size:var(--six-input-help-text-font-size-small)}.form-control--has-error-text.form-control--medium .form-control__error-text{font-size:var(--six-input-help-text-font-size-medium)}.form-control--has-error-text.form-control--large .form-control__error-text{font-size:var(--six-input-help-text-font-size-large)}.form-control--disabled .form-control__help-text{color:var(--six-input-help-text-color-disabled)}.form-control--disabled .form-control__label{color:var(--six-input-label-color-disabled)}.form-control--invalid:not(.form-control--disabled) .form-control__label{color:var(--six-input-label-color)}:host{display:block}.textarea{display:flex;align-items:center;position:relative;width:100%;font-family:var(--six-font-family);font-weight:var(--six-input-font-weight);line-height:var(--six-line-height-normal);letter-spacing:var(--six-input-letter-spacing);background-color:var(--six-input-background-color);border:solid var(--six-border-width) var(--six-input-border-color);vertical-align:middle;transition:var(--six-transition-fast) color, var(--six-transition-fast) border, var(--six-transition-fast) box-shadow;cursor:text}.textarea:hover:not(.textarea--disabled){background-color:var(--six-input-background-color-hover);border-color:var(--six-input-border-color-hover)}.textarea:hover:not(.textarea--disabled) .textarea__control{color:var(--six-input-color-hover)}.textarea.textarea--focused:not(.textarea--disabled){background-color:var(--six-input-background-color-focus);box-shadow:var(--six-input-focus-shadow);border-color:var(--six-input-border-color-focus);color:var(--six-input-color-focus)}.textarea.textarea--focused:not(.textarea--disabled) .textarea__control{color:var(--six-input-color-focus)}.textarea.textarea--disabled{background-color:var(--six-input-background-color-disabled);border-color:var(--six-input-border-color-disabled);cursor:not-allowed}.textarea.textarea--disabled .textarea__control{color:var(--six-input-color-disabled)}.textarea.textarea--disabled .textarea__control::placeholder{color:var(--six-input-placeholder-color-disabled)}.textarea__control{flex:1 1 auto;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.4;color:var(--sl-input-color);border:none;background:none;box-shadow:none;cursor:inherit;-webkit-appearance:none}.textarea__control::-webkit-search-decoration,.textarea__control::-webkit-search-cancel-button,.textarea__control::-webkit-search-results-button,.textarea__control::-webkit-search-results-decoration{-webkit-appearance:none}.textarea__control::placeholder{color:var(--six-input-placeholder-color);user-select:none}.textarea__control:focus{outline:none}.textarea--invalid:not(.textarea--disabled):not(.textarea--focused){border-color:var(--six-input-border-color-danger)}.textarea--small{border-radius:var(--six-input-border-radius-small);font-size:var(--six-input-font-size-small)}.textarea--small .textarea__control{padding:0.5em var(--six-input-spacing-small)}.textarea--medium{border-radius:var(--six-input-border-radius-medium);font-size:var(--six-input-font-size-medium)}.textarea--medium .textarea__control{padding:0.5em var(--six-input-spacing-medium)}.textarea--large{border-radius:var(--six-input-border-radius-large);font-size:var(--six-input-font-size-large)}.textarea--large .textarea__control{padding:0.5em var(--six-input-spacing-large)}.textarea--resize-none .textarea__control{resize:none}.textarea--resize-vertical .textarea__control{resize:vertical}.textarea--resize-auto .textarea__control{height:auto;resize:none}";
|
|
11
|
+
|
|
12
|
+
let id = 0;
|
|
13
|
+
let SixTextarea = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.sixChange = index.createEvent(this, "six-textarea-change", 7);
|
|
17
|
+
this.sixInput = index.createEvent(this, "six-textarea-input", 7);
|
|
18
|
+
this.sixFocus = index.createEvent(this, "six-textarea-focus", 7);
|
|
19
|
+
this.sixBlur = index.createEvent(this, "six-textarea-blur", 7);
|
|
20
|
+
this.sixValueChange = index.createEvent(this, "six-textarea-value-change", 7);
|
|
21
|
+
this.inputId = `textarea-${++id}`;
|
|
22
|
+
this.labelId = `textarea-label-${id}`;
|
|
23
|
+
this.helpTextId = `textarea-help-text-${id}`;
|
|
24
|
+
this.errorTextId = `input-error-text-${id}`;
|
|
25
|
+
this.customErrorText = '';
|
|
26
|
+
this.customValidation = false;
|
|
27
|
+
this.eventListeners = new eventListeners.EventListeners();
|
|
28
|
+
this.hasFocus = false;
|
|
29
|
+
this.hasHelpTextSlot = false;
|
|
30
|
+
this.hasErrorTextSlot = false;
|
|
31
|
+
this.hasLabelSlot = false;
|
|
32
|
+
/** The textarea's size. */
|
|
33
|
+
this.size = 'medium';
|
|
34
|
+
/** The textarea's name attribute. */
|
|
35
|
+
this.name = '';
|
|
36
|
+
/** The textarea's value attribute. */
|
|
37
|
+
this.value = '';
|
|
38
|
+
/** The textarea's label. Alternatively, you can use the label slot. */
|
|
39
|
+
this.label = '';
|
|
40
|
+
/** The textarea's help text. Alternatively, you can use the help-text slot. */
|
|
41
|
+
this.helpText = '';
|
|
42
|
+
/** The textarea's error text. Alternatively, you can use the error-text slot. */
|
|
43
|
+
this.errorText = '';
|
|
44
|
+
/** The number of rows to display by default. */
|
|
45
|
+
this.rows = 4;
|
|
46
|
+
/** Controls how the textarea can be resized. */
|
|
47
|
+
this.resize = 'vertical';
|
|
48
|
+
/** Set to true to disable the textarea. */
|
|
49
|
+
this.disabled = false;
|
|
50
|
+
/** Set to true for a readonly textarea. */
|
|
51
|
+
this.readonly = false;
|
|
52
|
+
/**
|
|
53
|
+
* This will be true when the control is in an invalid state. Validity is determined by props such as `required`,
|
|
54
|
+
* `minlength`, and `maxlength` using the browser's constraint validation API.
|
|
55
|
+
*/
|
|
56
|
+
this.invalid = false;
|
|
57
|
+
/** Set to display the error text on blur and not when typing */
|
|
58
|
+
this.errorOnBlur = false;
|
|
59
|
+
/** default value the textarea will be reverted to when reset is executed */
|
|
60
|
+
this.defaultValue = '';
|
|
61
|
+
}
|
|
62
|
+
handleLabelChange() {
|
|
63
|
+
this.handleSlotChange();
|
|
64
|
+
}
|
|
65
|
+
handleRowsChange() {
|
|
66
|
+
if (this.textarea) {
|
|
67
|
+
this.setTextareaHeight();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
handleValueChange() {
|
|
71
|
+
if (!this.textarea) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
this.textarea.value = this.value;
|
|
75
|
+
this.invalid = !this.textarea.checkValidity();
|
|
76
|
+
this.sixValueChange.emit();
|
|
77
|
+
}
|
|
78
|
+
connectedCallback() {
|
|
79
|
+
this.handleChange = this.handleChange.bind(this);
|
|
80
|
+
this.handleInput = this.handleInput.bind(this);
|
|
81
|
+
this.handleInvalid = this.handleInvalid.bind(this);
|
|
82
|
+
this.handleBlur = this.handleBlur.bind(this);
|
|
83
|
+
this.handleFocus = this.handleFocus.bind(this);
|
|
84
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
85
|
+
this.host.shadowRoot.addEventListener('slotchange', this.handleSlotChange);
|
|
86
|
+
}
|
|
87
|
+
componentWillLoad() {
|
|
88
|
+
this.defaultValue = this.value || '';
|
|
89
|
+
this.handleSlotChange();
|
|
90
|
+
}
|
|
91
|
+
componentDidLoad() {
|
|
92
|
+
this.setTextareaHeight();
|
|
93
|
+
this.resizeObserver = new ResizeObserver(() => this.setTextareaHeight());
|
|
94
|
+
this.resizeObserver.observe(this.textarea);
|
|
95
|
+
this.eventListeners.add(this.textarea, 'invalid', (event) => {
|
|
96
|
+
if (this.customValidation || (!this.hasErrorTextSlot && !this.errorText && !this.customErrorText)) {
|
|
97
|
+
this.customErrorText = this.textarea.validationMessage;
|
|
98
|
+
}
|
|
99
|
+
event.preventDefault();
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
disconnectedCallback() {
|
|
103
|
+
this.resizeObserver.unobserve(this.textarea);
|
|
104
|
+
this.host.shadowRoot.removeEventListener('slotchange', this.handleSlotChange);
|
|
105
|
+
this.eventListeners.removeAll();
|
|
106
|
+
}
|
|
107
|
+
/** Sets focus on the textarea. */
|
|
108
|
+
async setFocus(options) {
|
|
109
|
+
this.textarea.focus(options);
|
|
110
|
+
}
|
|
111
|
+
/** Removes focus fromt the textarea. */
|
|
112
|
+
async removeFocus() {
|
|
113
|
+
this.textarea.blur();
|
|
114
|
+
}
|
|
115
|
+
/** Selects all the text in the input. */
|
|
116
|
+
async select() {
|
|
117
|
+
return this.textarea.select();
|
|
118
|
+
}
|
|
119
|
+
/** Sets the start and end positions of the text selection (0-based). */
|
|
120
|
+
async setSelectionRange(selectionStart, selectionEnd, selectionDirection = 'none') {
|
|
121
|
+
return this.textarea.setSelectionRange(selectionStart, selectionEnd, selectionDirection);
|
|
122
|
+
}
|
|
123
|
+
/** Replaces a range of text with a new string. */
|
|
124
|
+
async setRangeText(replacement, start, end, selectMode = 'preserve') {
|
|
125
|
+
this.textarea.setRangeText(replacement, start, end, selectMode);
|
|
126
|
+
if (this.value !== this.textarea.value) {
|
|
127
|
+
this.value = this.textarea.value;
|
|
128
|
+
this.setTextareaHeight();
|
|
129
|
+
this.sixChange.emit();
|
|
130
|
+
this.sixInput.emit();
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
134
|
+
async reportValidity() {
|
|
135
|
+
return this.textarea.reportValidity();
|
|
136
|
+
}
|
|
137
|
+
/** Checks for validity. */
|
|
138
|
+
async checkValidity() {
|
|
139
|
+
return this.textarea.validity.valid;
|
|
140
|
+
}
|
|
141
|
+
/** Sets a custom validation message. If `message` is not empty, the field will be considered invalid. */
|
|
142
|
+
async setCustomValidity(message) {
|
|
143
|
+
this.customErrorText = '';
|
|
144
|
+
this.customValidation = message !== '';
|
|
145
|
+
this.textarea.setCustomValidity(message);
|
|
146
|
+
this.invalid = !this.textarea.checkValidity();
|
|
147
|
+
}
|
|
148
|
+
/** Resets the formcontrol */
|
|
149
|
+
async reset() {
|
|
150
|
+
this.value = this.defaultValue;
|
|
151
|
+
this.customErrorText = '';
|
|
152
|
+
this.customValidation = false;
|
|
153
|
+
this.textarea.setCustomValidity('');
|
|
154
|
+
this.invalid = false;
|
|
155
|
+
}
|
|
156
|
+
handleChange() {
|
|
157
|
+
this.sixChange.emit();
|
|
158
|
+
}
|
|
159
|
+
handleInput() {
|
|
160
|
+
this.value = this.textarea.value;
|
|
161
|
+
this.setTextareaHeight();
|
|
162
|
+
this.sixInput.emit();
|
|
163
|
+
}
|
|
164
|
+
handleInvalid() {
|
|
165
|
+
this.invalid = true;
|
|
166
|
+
}
|
|
167
|
+
handleBlur() {
|
|
168
|
+
this.hasFocus = false;
|
|
169
|
+
this.sixBlur.emit();
|
|
170
|
+
}
|
|
171
|
+
handleFocus() {
|
|
172
|
+
this.hasFocus = true;
|
|
173
|
+
this.sixFocus.emit();
|
|
174
|
+
}
|
|
175
|
+
handleSlotChange() {
|
|
176
|
+
this.hasLabelSlot = slot.hasSlot(this.host, 'label');
|
|
177
|
+
this.hasHelpTextSlot = slot.hasSlot(this.host, 'help-text');
|
|
178
|
+
this.hasErrorTextSlot = slot.hasSlot(this.host, 'error-text');
|
|
179
|
+
}
|
|
180
|
+
setTextareaHeight() {
|
|
181
|
+
if (this.resize === 'auto') {
|
|
182
|
+
this.textarea.style.height = 'auto';
|
|
183
|
+
this.textarea.style.height = this.textarea.scrollHeight + 'px';
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
this.textarea.style.height = undefined;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
displayError() {
|
|
190
|
+
return this.invalid && (!this.errorOnBlur || !this.hasFocus);
|
|
191
|
+
}
|
|
192
|
+
render() {
|
|
193
|
+
var _a;
|
|
194
|
+
return (index.h(formControl.FormControl, { inputId: this.inputId, label: this.label, labelId: this.labelId, hasLabelSlot: this.hasLabelSlot, helpTextId: this.helpTextId, helpText: this.helpText, hasHelpTextSlot: this.hasHelpTextSlot, errorTextId: this.errorTextId, errorText: this.customErrorText ? this.customErrorText : this.errorText, hasErrorTextSlot: this.hasErrorTextSlot, size: this.size, disabled: this.disabled, required: this.required, displayError: this.displayError() }, index.h("div", { part: "base", class: {
|
|
195
|
+
textarea: true,
|
|
196
|
+
// Sizes
|
|
197
|
+
'textarea--small': this.size === 'small',
|
|
198
|
+
'textarea--medium': this.size === 'medium',
|
|
199
|
+
'textarea--large': this.size === 'large',
|
|
200
|
+
// States
|
|
201
|
+
'textarea--disabled': this.disabled,
|
|
202
|
+
'textarea--focused': this.hasFocus,
|
|
203
|
+
'textarea--empty': ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) === 0,
|
|
204
|
+
'textarea--invalid': this.invalid,
|
|
205
|
+
// Modifiers
|
|
206
|
+
'textarea--resize-none': this.resize === 'none',
|
|
207
|
+
'textarea--resize-vertical': this.resize === 'vertical',
|
|
208
|
+
'textarea--resize-auto': this.resize === 'auto',
|
|
209
|
+
} }, index.h("textarea", { part: "textarea", ref: (el) => (this.textarea = el), id: this.inputId, class: "textarea__control", name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, rows: this.rows, minLength: this.minlength, maxLength: this.maxlength, value: this.value, autoCapitalize: this.autocapitalize, autoCorrect: this.autocorrect, autoFocus: this.autofocus, spellcheck: this.spellcheck, required: this.required, inputMode: this.inputmode, "aria-labelledby": this.labelId, onChange: this.handleChange, onInput: this.handleInput, onInvalid: this.handleInvalid, onFocus: this.handleFocus, onBlur: this.handleBlur }))));
|
|
210
|
+
}
|
|
211
|
+
get host() { return index.getElement(this); }
|
|
212
|
+
static get watchers() { return {
|
|
213
|
+
"helpText": ["handleLabelChange"],
|
|
214
|
+
"errorText": ["handleLabelChange"],
|
|
215
|
+
"label": ["handleLabelChange"],
|
|
216
|
+
"rows": ["handleRowsChange"],
|
|
217
|
+
"value": ["handleValueChange"]
|
|
218
|
+
}; }
|
|
219
|
+
};
|
|
220
|
+
SixTextarea.style = sixTextareaCss;
|
|
221
|
+
|
|
222
|
+
exports.six_textarea = SixTextarea;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-341df120.js');
|
|
6
|
+
const slot = require('./slot-ad537f24.js');
|
|
7
|
+
|
|
8
|
+
const sixTileCss = ":host{position:relative;box-sizing:border-box}:host *,:host *:before,:host *:after{box-sizing:inherit}:host{display:inline-block}.tile{min-height:var(--tile-size);width:var(--tile-size);background-color:var(--six-color-clay-50);display:inline-grid;grid-template-columns:100%;grid-template-areas:\"header\" \"middle\" \"footer\"}.tile--small{--tile-size:80px;--tile-padding-size:var(--six-spacing-medium)}.tile--medium{--tile-size:120px;--tile-padding-size:var(--six-spacing-large)}.tile--large{--tile-size:160px;--tile-padding-size:var(--six-spacing-x-large)}.tile:not(.tile--visible){visibility:hidden}.tile--elevated{border:0;box-shadow:var(--six-elevation-8dp)}.tile__header{grid-area:header;height:5%;justify-self:right;display:flex;justify-content:right;opacity:0;transition:var(--six-transition-fast) opacity}.tile:hover>.tile__header{opacity:1}.tile__header--hidden{visibility:hidden}.tile__header six-icon-button{margin-top:-6px;margin-right:-6px;margin-bottom:-16px}.tile__body,.tile__body--large,.tile__body--medium,.tile__body--small{grid-area:middle;display:grid;place-items:center;cursor:pointer;padding-left:var(--tile-padding-size);padding-right:var(--tile-padding-size)}.tile__body six-icon::part(base),.tile__body--large six-icon::part(base),.tile__body--medium six-icon::part(base),.tile__body--small six-icon::part(base){padding:0}.tile__body--small{--tile-padding-size:var(--six-spacing-medium)}.tile__body--medium{--tile-padding-size:var(--six-spacing-large)}.tile__body--large{--tile-padding-size:var(--six-spacing-x-large)}.tile__footer,.tile__footer--large,.tile__footer--medium,.tile__footer--small{grid-area:footer;display:flex;justify-content:center;cursor:pointer;font-weight:var(--six-font-weight-normal);color:var(--six-color-web-rock-900)}.tile__footer--small{font-size:var(--six-font-size-xxx-small)}.tile__footer--medium{font-size:var(--six-font-size-xx-small)}.tile__footer--large{font-size:var(--six-font-size-small)}.tile__footer .label__footer,.tile__footer--small .label__footer,.tile__footer--medium .label__footer,.tile__footer--large .label__footer{overflow:hidden;text-overflow:ellipsis;width:calc(var(--tile-size) - 2em);text-align:center}";
|
|
9
|
+
|
|
10
|
+
let SixTile = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.sixTileClose = index.createEvent(this, "six-tile-closed", 7);
|
|
14
|
+
this.sixTileSelected = index.createEvent(this, "six-tile-selected", 7);
|
|
15
|
+
/** The tile's label. */
|
|
16
|
+
this.label = '';
|
|
17
|
+
/** Flag, whether the tile is closeable. */
|
|
18
|
+
this.closeable = true;
|
|
19
|
+
/** Flag, whether the tile should cast a shadow. */
|
|
20
|
+
this.elevated = false;
|
|
21
|
+
/** Enables tile tooltip for tiles */
|
|
22
|
+
this.disableTooltip = true;
|
|
23
|
+
/** Set to true to disable the tile. */
|
|
24
|
+
this.disabled = false;
|
|
25
|
+
/** The tile's size. */
|
|
26
|
+
this.size = 'medium';
|
|
27
|
+
this.visible = true;
|
|
28
|
+
this.hasIconSlot = false;
|
|
29
|
+
this.hasLabelSlot = false;
|
|
30
|
+
this.handleCloseClickEvent = () => {
|
|
31
|
+
this.visible = false;
|
|
32
|
+
this.sixTileClose.emit();
|
|
33
|
+
};
|
|
34
|
+
this.handleClickEvent = () => {
|
|
35
|
+
this.sixTileSelected.emit();
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/** Hides the tile */
|
|
39
|
+
async hide() {
|
|
40
|
+
this.visible = false;
|
|
41
|
+
}
|
|
42
|
+
/** Shows the tile */
|
|
43
|
+
async show() {
|
|
44
|
+
this.visible = true;
|
|
45
|
+
}
|
|
46
|
+
connectedCallback() {
|
|
47
|
+
this.handleSlotChange = this.handleSlotChange.bind(this);
|
|
48
|
+
}
|
|
49
|
+
componentWillLoad() {
|
|
50
|
+
this.handleSlotChange();
|
|
51
|
+
}
|
|
52
|
+
handleSlotChange() {
|
|
53
|
+
this.hasIconSlot = slot.hasSlot(this.host, 'icon');
|
|
54
|
+
this.hasLabelSlot = slot.hasSlot(this.host, 'label');
|
|
55
|
+
if (this.hasIconSlot) {
|
|
56
|
+
let slot = this.host.querySelector(`[slot="icon"]`);
|
|
57
|
+
slot.addEventListener('click', this.handleClickEvent);
|
|
58
|
+
}
|
|
59
|
+
if (this.hasLabelSlot) {
|
|
60
|
+
let slot = this.host.querySelector(`[slot="label"]`);
|
|
61
|
+
slot.addEventListener('click', this.handleClickEvent);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
render() {
|
|
65
|
+
return (index.h("six-tooltip", { disabled: this.disableTooltip || this.label === '', content: this.label }, index.h("div", { part: "base", class: {
|
|
66
|
+
tile: true,
|
|
67
|
+
'tile--visible': this.visible,
|
|
68
|
+
'tile--small': this.size === 'small',
|
|
69
|
+
'tile--medium': this.size === 'medium',
|
|
70
|
+
'tile--large': this.size === 'large',
|
|
71
|
+
'tile--elevated': this.elevated,
|
|
72
|
+
} }, index.h("div", { part: "header", class: "tile__header" }, index.h("six-icon-button", { class: {
|
|
73
|
+
'tile__header--hidden': !this.closeable,
|
|
74
|
+
}, name: "close", size: closeIconSize(this.size), onClick: this.handleCloseClickEvent })), index.h("div", { part: "body", class: "tile__body" }, this.iconName && (index.h("six-icon", { onClick: this.handleClickEvent, size: iconSize(this.size) }, this.iconName)), this.hasIconSlot && index.h("slot", { name: "icon" })), index.h("div", { part: "footer", class: {
|
|
75
|
+
'tile__footer--small': this.size === 'small',
|
|
76
|
+
'tile__footer--medium': this.size === 'medium',
|
|
77
|
+
'tile__footer--large': this.size === 'large',
|
|
78
|
+
} }, this.label && (index.h("div", { class: {
|
|
79
|
+
'.label__footer': true,
|
|
80
|
+
}, onClick: this.handleClickEvent }, this.label)), this.hasLabelSlot && index.h("slot", { name: "label" })))));
|
|
81
|
+
}
|
|
82
|
+
get host() { return index.getElement(this); }
|
|
83
|
+
};
|
|
84
|
+
const closeIconSize = (size) => {
|
|
85
|
+
return {
|
|
86
|
+
small: 'xxSmall',
|
|
87
|
+
medium: 'medium',
|
|
88
|
+
large: 'medium',
|
|
89
|
+
}[size];
|
|
90
|
+
};
|
|
91
|
+
const iconSize = (size) => {
|
|
92
|
+
return {
|
|
93
|
+
small: 'xLarge',
|
|
94
|
+
medium: 'xxLarge',
|
|
95
|
+
large: 'xxxLarge',
|
|
96
|
+
}[size];
|
|
97
|
+
};
|
|
98
|
+
SixTile.style = sixTileCss;
|
|
99
|
+
|
|
100
|
+
exports.six_tile = SixTile;
|