@limetech/lime-elements 36.4.0 → 37.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_arrayIncludesWith-29083f83.js +2 -0
- package/dist/cjs/_arrayIncludesWith-29083f83.js.map +1 -0
- package/dist/cjs/_assignValue-7c18d8d6.js +2 -0
- package/dist/cjs/_assignValue-7c18d8d6.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js +2 -0
- package/dist/cjs/_commonjsHelpers-0c557e26.js.map +1 -0
- package/dist/cjs/_defineProperty-8f56146d.js +2 -0
- package/dist/cjs/_defineProperty-8f56146d.js.map +1 -0
- package/dist/cjs/_getNative-60328036.js +2 -0
- package/dist/cjs/_getNative-60328036.js.map +1 -0
- package/dist/cjs/animationframe-e4c1798e.js +2 -0
- package/dist/cjs/animationframe-e4c1798e.js.map +1 -0
- package/dist/cjs/{checkbox.template-60ed3ee2.js → checkbox.template-234f4813.js} +3 -1
- package/dist/cjs/checkbox.template-234f4813.js.map +1 -0
- package/dist/cjs/component-66df95e7.js +2 -0
- package/dist/cjs/component-66df95e7.js.map +1 -0
- package/dist/cjs/component-67144c1c.js +2 -0
- package/dist/cjs/component-67144c1c.js.map +1 -0
- package/dist/cjs/component-ae3bfacf.js +2 -0
- package/dist/cjs/component-ae3bfacf.js.map +1 -0
- package/dist/cjs/component-cf490570.js +2 -0
- package/dist/cjs/component-cf490570.js.map +1 -0
- package/dist/cjs/component-dd795ff0.js +2 -0
- package/dist/cjs/component-dd795ff0.js.map +1 -0
- package/dist/cjs/config-c6520559.js +2 -0
- package/dist/cjs/config-c6520559.js.map +1 -0
- package/dist/cjs/device-c5841113.js +2 -0
- package/dist/cjs/device-c5841113.js.map +1 -0
- package/dist/cjs/dispatch-resize-event-4462d78f.js +2 -0
- package/dist/cjs/dispatch-resize-event-4462d78f.js.map +1 -0
- package/dist/cjs/dom-eb080f70.js +2 -0
- package/dist/cjs/dom-eb080f70.js.map +1 -0
- package/dist/cjs/eq-9a943b00.js +2 -0
- package/dist/cjs/eq-9a943b00.js.map +1 -0
- package/dist/cjs/format-5b928cf3.js +2 -0
- package/dist/cjs/format-5b928cf3.js.map +1 -0
- package/dist/cjs/identity-6dc34885.js +2 -0
- package/dist/cjs/identity-6dc34885.js.map +1 -0
- package/dist/cjs/{index-287e25e0.js → index-aafa56ee.js} +209 -23
- package/dist/cjs/index-aafa56ee.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/isArray-d188a04f.js +2 -0
- package/dist/cjs/isArray-d188a04f.js.map +1 -0
- package/dist/cjs/isArrayLike-ac53bdac.js +2 -0
- package/dist/cjs/isArrayLike-ac53bdac.js.map +1 -0
- package/dist/cjs/isEqual-d2a13a24.js +2 -0
- package/dist/cjs/isEqual-d2a13a24.js.map +1 -0
- package/dist/cjs/isObject-e28b7997.js +2 -0
- package/dist/cjs/isObject-e28b7997.js.map +1 -0
- package/dist/cjs/isObjectLike-3e3f0cba.js +2 -0
- package/dist/cjs/isObjectLike-3e3f0cba.js.map +1 -0
- package/dist/cjs/isSymbol-d22b2798.js +2 -0
- package/dist/cjs/isSymbol-d22b2798.js.map +1 -0
- package/dist/cjs/keyboard-9477d3a8.js +2 -0
- package/dist/cjs/keyboard-9477d3a8.js.map +1 -0
- package/dist/cjs/keycodes-3949f425.js +2 -0
- package/dist/cjs/keycodes-3949f425.js.map +1 -0
- package/dist/cjs/lime-elements.cjs.js +12 -3
- package/dist/cjs/lime-elements.cjs.js.map +1 -0
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-action-bar-item_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-action-bar.cjs.entry.js +3 -1
- package/dist/cjs/limel-action-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-badge.cjs.entry.js +3 -1
- package/dist/cjs/limel-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-banner.cjs.entry.js +3 -1
- package/dist/cjs/limel-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -1
- package/dist/cjs/limel-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-callout.cjs.entry.js +3 -1
- package/dist/cjs/limel-callout.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-checkbox.cjs.entry.js +4 -2
- package/dist/cjs/limel-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-chip-set.cjs.entry.js +3 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-circular-progress_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-circular-progress_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-code-editor.cjs.entry.js +3 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -1
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-color-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-config.cjs.entry.js +3 -1
- package/dist/cjs/limel-config.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-date-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -1
- package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dock-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-dock-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-dock.cjs.entry.js +3 -1
- package/dist/cjs/limel-dock.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-file.cjs.entry.js +3 -1
- package/dist/cjs/limel-file.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-flex-container.cjs.entry.js +3 -1
- package/dist/cjs/limel-flex-container.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-form.cjs.entry.js +3 -1
- package/dist/cjs/limel-form.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-grid.cjs.entry.js +3 -1
- package/dist/cjs/limel-grid.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-header.cjs.entry.js +3 -1
- package/dist/cjs/limel-header.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-helper-line.cjs.entry.js +3 -1
- package/dist/cjs/limel-helper-line.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-icon-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-icon-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-icon.cjs.entry.js +3 -1
- package/dist/cjs/limel-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-info-tile.cjs.entry.js +3 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-input-field.cjs.entry.js +3 -1
- package/dist/cjs/limel-input-field.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-list_2.cjs.entry.js +4 -2
- package/dist/cjs/limel-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-menu_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-picker.cjs.entry.js +3 -1
- package/dist/cjs/limel-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-popover_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-portal.cjs.entry.js +15 -13
- package/dist/cjs/limel-portal.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +3 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-progress-flow.cjs.entry.js +3 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-select.cjs.entry.js +3 -1
- package/dist/cjs/limel-select.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-shortcut.cjs.entry.js +3 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-slider.cjs.entry.js +3 -1
- package/dist/cjs/limel-slider.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-spinner.cjs.entry.js +3 -1
- package/dist/cjs/limel-spinner.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-split-button.cjs.entry.js +3 -1
- package/dist/cjs/limel-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-switch.cjs.entry.js +3 -1
- package/dist/cjs/limel-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tab-bar.cjs.entry.js +3 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tab-panel.cjs.entry.js +3 -1
- package/dist/cjs/limel-tab-panel.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-table.cjs.entry.js +3 -1
- package/dist/cjs/limel-table.cjs.entry.js.map +1 -0
- package/dist/cjs/limel-tooltip_2.cjs.entry.js +3 -1
- package/dist/cjs/limel-tooltip_2.cjs.entry.js.map +1 -0
- package/dist/cjs/link-helper-4f75d41d.js +2 -0
- package/dist/cjs/link-helper-4f75d41d.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/moment-d1e35cdc.js +2 -0
- package/dist/cjs/moment-d1e35cdc.js.map +1 -0
- package/dist/cjs/multiple-2af83b6d.js +2 -0
- package/dist/cjs/multiple-2af83b6d.js.map +1 -0
- package/dist/cjs/pickBy-3ef47bf2.js +2 -0
- package/dist/cjs/pickBy-3ef47bf2.js.map +1 -0
- package/dist/cjs/ponyfill-98ca4766.js +2 -0
- package/dist/cjs/ponyfill-98ca4766.js.map +1 -0
- package/dist/cjs/random-string-4c3b7f1c.js +2 -0
- package/dist/cjs/random-string-4c3b7f1c.js.map +1 -0
- package/dist/cjs/sv-dffe48b5.js +2 -0
- package/dist/cjs/sv-dffe48b5.js.map +1 -0
- package/dist/cjs/toNumber-062ea29c.js +2 -0
- package/dist/cjs/toNumber-062ea29c.js.map +1 -0
- package/dist/cjs/translations-f8080c48.js +2 -0
- package/dist/cjs/translations-f8080c48.js.map +1 -0
- package/dist/cjs/util-b0f5741e.js +2 -0
- package/dist/cjs/util-b0f5741e.js.map +1 -0
- package/dist/cjs/zipObject-93a471fa.js +2 -0
- package/dist/cjs/zipObject-93a471fa.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js +1 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-item.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +2 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar.js +1 -0
- package/dist/collection/components/action-bar/action-bar.js.map +1 -0
- package/dist/collection/components/action-bar/action-bar.types.js +1 -0
- package/dist/collection/components/action-bar/action-bar.types.js.map +1 -0
- package/dist/collection/components/action-bar/isItem.js +1 -0
- package/dist/collection/components/action-bar/isItem.js.map +1 -0
- package/dist/collection/components/badge/badge.js +1 -0
- package/dist/collection/components/badge/badge.js.map +1 -0
- package/dist/collection/components/badge/format.js +1 -0
- package/dist/collection/components/badge/format.js.map +1 -0
- package/dist/collection/components/banner/banner.js +1 -0
- package/dist/collection/components/banner/banner.js.map +1 -0
- package/dist/collection/components/button/button.js +1 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/button/button.types.js +1 -0
- package/dist/collection/components/button/button.types.js.map +1 -0
- package/dist/collection/components/button-group/button-group.js +1 -0
- package/dist/collection/components/button-group/button-group.js.map +1 -0
- package/dist/collection/components/callout/callout.helpers.js +1 -0
- package/dist/collection/components/callout/callout.helpers.js.map +1 -0
- package/dist/collection/components/callout/callout.js +3 -2
- package/dist/collection/components/callout/callout.js.map +1 -0
- package/dist/collection/components/callout/callout.types.js +1 -0
- package/dist/collection/components/callout/callout.types.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.template.js +1 -0
- package/dist/collection/components/checkbox/checkbox.template.js.map +1 -0
- package/dist/collection/components/chip-set/chip-set-input-helpers.js +1 -0
- package/dist/collection/components/chip-set/chip-set-input-helpers.js.map +1 -0
- package/dist/collection/components/chip-set/chip-set.js +6 -5
- package/dist/collection/components/chip-set/chip-set.js.map +1 -0
- package/dist/collection/components/chip-set/chip.types.js +1 -0
- package/dist/collection/components/chip-set/chip.types.js.map +1 -0
- package/dist/collection/components/circular-progress/circular-progress.js +1 -0
- package/dist/collection/components/circular-progress/circular-progress.js.map +1 -0
- package/dist/collection/components/circular-progress/circular-progress.types.js +1 -0
- package/dist/collection/components/circular-progress/circular-progress.types.js.map +1 -0
- package/dist/collection/components/code-editor/code-editor.js +1 -0
- package/dist/collection/components/code-editor/code-editor.js.map +1 -0
- package/dist/collection/components/code-editor/code-editor.types.js +1 -0
- package/dist/collection/components/code-editor/code-editor.types.js.map +1 -0
- package/dist/collection/components/collapsible-section/action.js +1 -0
- package/dist/collection/components/collapsible-section/action.js.map +1 -0
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -0
- package/dist/collection/components/collapsible-section/collapsible-section.js.map +1 -0
- package/dist/collection/components/color-picker/color-picker-palette.js +1 -0
- package/dist/collection/components/color-picker/color-picker-palette.js.map +1 -0
- package/dist/collection/components/color-picker/color-picker.js +1 -0
- package/dist/collection/components/color-picker/color-picker.js.map +1 -0
- package/dist/collection/components/color-picker/swatches.js +1 -0
- package/dist/collection/components/color-picker/swatches.js.map +1 -0
- package/dist/collection/components/config/config.js +1 -0
- package/dist/collection/components/config/config.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +5 -4
- package/dist/collection/components/date-picker/date-picker.js.map +1 -0
- package/dist/collection/components/date-picker/date.types.js +1 -0
- package/dist/collection/components/date-picker/date.types.js.map +1 -0
- package/dist/collection/components/date-picker/dateFormatter.js +1 -0
- package/dist/collection/components/date-picker/dateFormatter.js.map +1 -0
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +5 -4
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/DatePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/DatePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/DatetimePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/DatetimePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/MonthPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/MonthPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/Picker.js +1 -0
- package/dist/collection/components/date-picker/pickers/Picker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/QuarterPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/TimePicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/TimePicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/WeekPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/WeekPicker.js.map +1 -0
- package/dist/collection/components/date-picker/pickers/YearPicker.js +1 -0
- package/dist/collection/components/date-picker/pickers/YearPicker.js.map +1 -0
- package/dist/collection/components/dialog/dialog.js +6 -3
- package/dist/collection/components/dialog/dialog.js.map +1 -0
- package/dist/collection/components/dialog/dialog.types.js +1 -0
- package/dist/collection/components/dialog/dialog.types.js.map +1 -0
- package/dist/collection/components/dock/dock-button/dock-button.js +1 -0
- package/dist/collection/components/dock/dock-button/dock-button.js.map +1 -0
- package/dist/collection/components/dock/dock.js +1 -0
- package/dist/collection/components/dock/dock.js.map +1 -0
- package/dist/collection/components/dock/dock.types.js +1 -0
- package/dist/collection/components/dock/dock.types.js.map +1 -0
- package/dist/collection/components/file/file-metadata.js +1 -0
- package/dist/collection/components/file/file-metadata.js.map +1 -0
- package/dist/collection/components/file/file.js +7 -4
- package/dist/collection/components/file/file.js.map +1 -0
- package/dist/collection/components/file/file.types.js +1 -0
- package/dist/collection/components/file/file.types.js.map +1 -0
- package/dist/collection/components/file/icon-background-colors.js +1 -0
- package/dist/collection/components/file/icon-background-colors.js.map +1 -0
- package/dist/collection/components/file/icon-fill-colors.js +1 -0
- package/dist/collection/components/file/icon-fill-colors.js.map +1 -0
- package/dist/collection/components/file/icons.js +1 -0
- package/dist/collection/components/file/icons.js.map +1 -0
- package/dist/collection/components/flex-container/flex-container.js +7 -6
- package/dist/collection/components/flex-container/flex-container.js.map +1 -0
- package/dist/collection/components/flex-container/flex-container.types.js +1 -0
- package/dist/collection/components/flex-container/flex-container.types.js.map +1 -0
- package/dist/collection/components/form/adapters/base-adapter.js +3 -1
- package/dist/collection/components/form/adapters/base-adapter.js.map +1 -0
- package/dist/collection/components/form/adapters/index.js +1 -0
- package/dist/collection/components/form/adapters/index.js.map +1 -0
- package/dist/collection/components/form/adapters/widget-adapter.js +1 -0
- package/dist/collection/components/form/adapters/widget-adapter.js.map +1 -0
- package/dist/collection/components/form/fields/array-field.js +1 -0
- package/dist/collection/components/form/fields/array-field.js.map +1 -0
- package/dist/collection/components/form/fields/field-helpers.js +1 -0
- package/dist/collection/components/form/fields/field-helpers.js.map +1 -0
- package/dist/collection/components/form/fields/object-field.js +1 -0
- package/dist/collection/components/form/fields/object-field.js.map +1 -0
- package/dist/collection/components/form/fields/schema-field.js +1 -0
- package/dist/collection/components/form/fields/schema-field.js.map +1 -0
- package/dist/collection/components/form/fields/types.js +1 -0
- package/dist/collection/components/form/fields/types.js.map +1 -0
- package/dist/collection/components/form/form.js +1 -0
- package/dist/collection/components/form/form.js.map +1 -0
- package/dist/collection/components/form/form.types.js +1 -0
- package/dist/collection/components/form/form.types.js.map +1 -0
- package/dist/collection/components/form/internal.types.js +1 -0
- package/dist/collection/components/form/internal.types.js.map +1 -0
- package/dist/collection/components/form/row/row.js +1 -0
- package/dist/collection/components/form/row/row.js.map +1 -0
- package/dist/collection/components/form/schema.js +1 -0
- package/dist/collection/components/form/schema.js.map +1 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js +1 -0
- package/dist/collection/components/form/templates/array-field-collapsible-item.js.map +1 -0
- package/dist/collection/components/form/templates/array-field-simple-item.js +1 -0
- package/dist/collection/components/form/templates/array-field-simple-item.js.map +1 -0
- package/dist/collection/components/form/templates/array-field.js +1 -0
- package/dist/collection/components/form/templates/array-field.js.map +1 -0
- package/dist/collection/components/form/templates/common.js +1 -0
- package/dist/collection/components/form/templates/common.js.map +1 -0
- package/dist/collection/components/form/templates/field.js +1 -0
- package/dist/collection/components/form/templates/field.js.map +1 -0
- package/dist/collection/components/form/templates/grid-layout.js +1 -0
- package/dist/collection/components/form/templates/grid-layout.js.map +1 -0
- package/dist/collection/components/form/templates/index.js +1 -0
- package/dist/collection/components/form/templates/index.js.map +1 -0
- package/dist/collection/components/form/templates/object-field.js +1 -0
- package/dist/collection/components/form/templates/object-field.js.map +1 -0
- package/dist/collection/components/form/templates/row-layout.js +1 -0
- package/dist/collection/components/form/templates/row-layout.js.map +1 -0
- package/dist/collection/components/form/templates/types.js +1 -0
- package/dist/collection/components/form/templates/types.js.map +1 -0
- package/dist/collection/components/form/validators/format.js +1 -0
- package/dist/collection/components/form/validators/format.js.map +1 -0
- package/dist/collection/components/form/validators/index.js +1 -0
- package/dist/collection/components/form/validators/index.js.map +1 -0
- package/dist/collection/components/form/widgets/checkbox.js +1 -0
- package/dist/collection/components/form/widgets/checkbox.js.map +1 -0
- package/dist/collection/components/form/widgets/code-editor.js +1 -0
- package/dist/collection/components/form/widgets/code-editor.js.map +1 -0
- package/dist/collection/components/form/widgets/date-picker.js +1 -0
- package/dist/collection/components/form/widgets/date-picker.js.map +1 -0
- package/dist/collection/components/form/widgets/index.js +1 -0
- package/dist/collection/components/form/widgets/index.js.map +1 -0
- package/dist/collection/components/form/widgets/input-field.js +1 -0
- package/dist/collection/components/form/widgets/input-field.js.map +1 -0
- package/dist/collection/components/form/widgets/select.js +1 -0
- package/dist/collection/components/form/widgets/select.js.map +1 -0
- package/dist/collection/components/form/widgets/slider.js +1 -0
- package/dist/collection/components/form/widgets/slider.js.map +1 -0
- package/dist/collection/components/form/widgets/types.js +1 -0
- package/dist/collection/components/form/widgets/types.js.map +1 -0
- package/dist/collection/components/grid/grid.js +1 -0
- package/dist/collection/components/grid/grid.js.map +1 -0
- package/dist/collection/components/header/header.js +1 -0
- package/dist/collection/components/header/header.js.map +1 -0
- package/dist/collection/components/helper-line/helper-line.js +1 -0
- package/dist/collection/components/helper-line/helper-line.js.map +1 -0
- package/dist/collection/components/icon/icon.js +1 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon/icon.types.js +1 -0
- package/dist/collection/components/icon/icon.types.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.js +1 -0
- package/dist/collection/components/icon-button/icon-button.js.map +1 -0
- package/dist/collection/components/info-tile/info-tile.js +5 -2
- package/dist/collection/components/info-tile/info-tile.js.map +1 -0
- package/dist/collection/components/info-tile/info-tile.types.js +1 -0
- package/dist/collection/components/info-tile/info-tile.types.js.map +1 -0
- package/dist/collection/components/input-field/input-field.js +1 -0
- package/dist/collection/components/input-field/input-field.js.map +1 -0
- package/dist/collection/components/input-field/input-field.types.js +1 -0
- package/dist/collection/components/input-field/input-field.types.js.map +1 -0
- package/dist/collection/components/linear-progress/linear-progress.js +1 -0
- package/dist/collection/components/linear-progress/linear-progress.js.map +1 -0
- package/dist/collection/components/list/list-item.types.js +1 -0
- package/dist/collection/components/list/list-item.types.js.map +1 -0
- package/dist/collection/components/list/list-renderer-config.js +1 -0
- package/dist/collection/components/list/list-renderer-config.js.map +1 -0
- package/dist/collection/components/list/list-renderer.js +1 -0
- package/dist/collection/components/list/list-renderer.js.map +1 -0
- package/dist/collection/components/list/list.js +6 -5
- package/dist/collection/components/list/list.js.map +1 -0
- package/dist/collection/components/list/list.types.js +1 -0
- package/dist/collection/components/list/list.types.js.map +1 -0
- package/dist/collection/components/list/radio-button/radio-button.template.js +1 -0
- package/dist/collection/components/list/radio-button/radio-button.template.js.map +1 -0
- package/dist/collection/components/menu/menu.js +3 -2
- package/dist/collection/components/menu/menu.js.map +1 -0
- package/dist/collection/components/menu/menu.types.js +1 -0
- package/dist/collection/components/menu/menu.types.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer-config.js +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer-config.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer.js +1 -0
- package/dist/collection/components/menu-list/menu-list-renderer.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list.js +5 -4
- package/dist/collection/components/menu-list/menu-list.js.map +1 -0
- package/dist/collection/components/menu-list/menu-list.types.js +1 -0
- package/dist/collection/components/menu-list/menu-list.types.js.map +1 -0
- package/dist/collection/components/menu-surface/menu-surface.js +1 -0
- package/dist/collection/components/menu-surface/menu-surface.js.map +1 -0
- package/dist/collection/components/picker/actions.types.js +1 -0
- package/dist/collection/components/picker/actions.types.js.map +1 -0
- package/dist/collection/components/picker/picker.js +12 -7
- package/dist/collection/components/picker/picker.js.map +1 -0
- package/dist/collection/components/picker/searcher.types.js +1 -0
- package/dist/collection/components/picker/searcher.types.js.map +1 -0
- package/dist/collection/components/popover/popover.js +1 -0
- package/dist/collection/components/popover/popover.js.map +1 -0
- package/dist/collection/components/popover-surface/popover-surface.js +1 -0
- package/dist/collection/components/popover-surface/popover-surface.js.map +1 -0
- package/dist/collection/components/portal/contains.js +1 -0
- package/dist/collection/components/portal/contains.js.map +1 -0
- package/dist/collection/components/portal/portal.js +12 -11
- package/dist/collection/components/portal/portal.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow-item/progress-flow-item.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow.js.map +1 -0
- package/dist/collection/components/progress-flow/progress-flow.types.js +1 -0
- package/dist/collection/components/progress-flow/progress-flow.types.js.map +1 -0
- package/dist/collection/components/select/option.types.js +1 -0
- package/dist/collection/components/select/option.types.js.map +1 -0
- package/dist/collection/components/select/select.js +8 -5
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/select/select.template.js +1 -0
- package/dist/collection/components/select/select.template.js.map +1 -0
- package/dist/collection/components/shortcut/shortcut.js +5 -2
- package/dist/collection/components/shortcut/shortcut.js.map +1 -0
- package/dist/collection/components/slider/getPercentageClass.js +1 -0
- package/dist/collection/components/slider/getPercentageClass.js.map +1 -0
- package/dist/collection/components/slider/slider.js +1 -0
- package/dist/collection/components/slider/slider.js.map +1 -0
- package/dist/collection/components/snackbar/snackbar.js +3 -2
- package/dist/collection/components/snackbar/snackbar.js.map +1 -0
- package/dist/collection/components/spinner/spinner.js +3 -2
- package/dist/collection/components/spinner/spinner.js.map +1 -0
- package/dist/collection/components/spinner/spinner.types.js +1 -0
- package/dist/collection/components/spinner/spinner.types.js.map +1 -0
- package/dist/collection/components/split-button/split-button.js +3 -2
- package/dist/collection/components/split-button/split-button.js.map +1 -0
- package/dist/collection/components/switch/switch.js +1 -0
- package/dist/collection/components/switch/switch.js.map +1 -0
- package/dist/collection/components/tab-bar/tab-bar.js +1 -0
- package/dist/collection/components/tab-bar/tab-bar.js.map +1 -0
- package/dist/collection/components/tab-bar/tab.types.js +1 -0
- package/dist/collection/components/tab-bar/tab.types.js.map +1 -0
- package/dist/collection/components/tab-bar/tabs.js +1 -0
- package/dist/collection/components/tab-bar/tabs.js.map +1 -0
- package/dist/collection/components/tab-panel/tab-panel.js +1 -0
- package/dist/collection/components/tab-panel/tab-panel.js.map +1 -0
- package/dist/collection/components/tab-panel/tab-panel.types.js +1 -0
- package/dist/collection/components/tab-panel/tab-panel.types.js.map +1 -0
- package/dist/collection/components/table/columns.js +1 -0
- package/dist/collection/components/table/columns.js.map +1 -0
- package/dist/collection/components/table/element-pool.js +1 -0
- package/dist/collection/components/table/element-pool.js.map +1 -0
- package/dist/collection/components/table/layout.js +1 -0
- package/dist/collection/components/table/layout.js.map +1 -0
- package/dist/collection/components/table/selection.js +1 -0
- package/dist/collection/components/table/selection.js.map +1 -0
- package/dist/collection/components/table/table-selection.js +1 -0
- package/dist/collection/components/table/table-selection.js.map +1 -0
- package/dist/collection/components/table/table.js +1 -0
- package/dist/collection/components/table/table.js.map +1 -0
- package/dist/collection/components/table/table.types.js +1 -0
- package/dist/collection/components/table/table.types.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip-content.js +1 -0
- package/dist/collection/components/tooltip/tooltip-content.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js.map +1 -0
- package/dist/collection/global/config.js +1 -0
- package/dist/collection/global/config.js.map +1 -0
- package/dist/collection/global/icon-cache.js +1 -0
- package/dist/collection/global/icon-cache.js.map +1 -0
- package/dist/collection/global/shared-types/link.types.js +1 -0
- package/dist/collection/global/shared-types/link.types.js.map +1 -0
- package/dist/collection/global/translations.js +1 -0
- package/dist/collection/global/translations.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/translations/da.js +1 -0
- package/dist/collection/translations/da.js.map +1 -0
- package/dist/collection/translations/en.js +1 -0
- package/dist/collection/translations/en.js.map +1 -0
- package/dist/collection/translations/fi.js +1 -0
- package/dist/collection/translations/fi.js.map +1 -0
- package/dist/collection/translations/nl.js +1 -0
- package/dist/collection/translations/nl.js.map +1 -0
- package/dist/collection/translations/no.js +1 -0
- package/dist/collection/translations/no.js.map +1 -0
- package/dist/collection/translations/sv.js +1 -0
- package/dist/collection/translations/sv.js.map +1 -0
- package/dist/collection/util/device.js +1 -0
- package/dist/collection/util/device.js.map +1 -0
- package/dist/collection/util/dispatch-resize-event.js +1 -0
- package/dist/collection/util/dispatch-resize-event.js.map +1 -0
- package/dist/collection/util/dom.js +1 -0
- package/dist/collection/util/dom.js.map +1 -0
- package/dist/collection/util/keycodes.js +1 -0
- package/dist/collection/util/keycodes.js.map +1 -0
- package/dist/collection/util/link-helper.js +1 -0
- package/dist/collection/util/link-helper.js.map +1 -0
- package/dist/collection/util/multiple.js +1 -0
- package/dist/collection/util/multiple.js.map +1 -0
- package/dist/collection/util/random-string.js +1 -0
- package/dist/collection/util/random-string.js.map +1 -0
- package/dist/esm/_arrayIncludesWith-969bccda.js +2 -0
- package/dist/esm/_arrayIncludesWith-969bccda.js.map +1 -0
- package/dist/esm/_assignValue-fb2bf80a.js +2 -0
- package/dist/esm/_assignValue-fb2bf80a.js.map +1 -0
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js +2 -0
- package/dist/esm/_commonjsHelpers-5ec8f9b7.js.map +1 -0
- package/dist/esm/_defineProperty-2105cb48.js +2 -0
- package/dist/esm/_defineProperty-2105cb48.js.map +1 -0
- package/dist/esm/_getNative-93d6bfe9.js +2 -0
- package/dist/esm/_getNative-93d6bfe9.js.map +1 -0
- package/dist/esm/animationframe-b52af02d.js +2 -0
- package/dist/esm/animationframe-b52af02d.js.map +1 -0
- package/dist/esm/{checkbox.template-4ce8d92f.js → checkbox.template-c838ee7b.js} +3 -1
- package/dist/esm/checkbox.template-c838ee7b.js.map +1 -0
- package/dist/esm/component-19eb6e2b.js +2 -0
- package/dist/esm/component-19eb6e2b.js.map +1 -0
- package/dist/esm/component-288691f3.js +2 -0
- package/dist/esm/component-288691f3.js.map +1 -0
- package/dist/esm/component-410aad5a.js +2 -0
- package/dist/esm/component-410aad5a.js.map +1 -0
- package/dist/esm/component-5b4ac85a.js +2 -0
- package/dist/esm/component-5b4ac85a.js.map +1 -0
- package/dist/esm/component-fffa3419.js +2 -0
- package/dist/esm/component-fffa3419.js.map +1 -0
- package/dist/esm/config-f7362aeb.js +2 -0
- package/dist/esm/config-f7362aeb.js.map +1 -0
- package/dist/esm/device-39db3b5f.js +2 -0
- package/dist/esm/device-39db3b5f.js.map +1 -0
- package/dist/esm/dispatch-resize-event-cd1d230c.js +2 -0
- package/dist/esm/dispatch-resize-event-cd1d230c.js.map +1 -0
- package/dist/esm/dom-2fe617e7.js +2 -0
- package/dist/esm/dom-2fe617e7.js.map +1 -0
- package/dist/esm/eq-c1c7f528.js +2 -0
- package/dist/esm/eq-c1c7f528.js.map +1 -0
- package/dist/esm/format-c76733cb.js +2 -0
- package/dist/esm/format-c76733cb.js.map +1 -0
- package/dist/esm/identity-87aa3962.js +2 -0
- package/dist/esm/identity-87aa3962.js.map +1 -0
- package/dist/esm/{index-cdfd351d.js → index-9bd6d7c6.js} +209 -24
- package/dist/esm/index-9bd6d7c6.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isArray-80298bc7.js +2 -0
- package/dist/esm/isArray-80298bc7.js.map +1 -0
- package/dist/esm/isArrayLike-385e0f31.js +2 -0
- package/dist/esm/isArrayLike-385e0f31.js.map +1 -0
- package/dist/esm/isEqual-c5a636a4.js +2 -0
- package/dist/esm/isEqual-c5a636a4.js.map +1 -0
- package/dist/esm/isObject-c74e273c.js +2 -0
- package/dist/esm/isObject-c74e273c.js.map +1 -0
- package/dist/esm/isObjectLike-38996507.js +2 -0
- package/dist/esm/isObjectLike-38996507.js.map +1 -0
- package/dist/esm/isSymbol-5bf20921.js +2 -0
- package/dist/esm/isSymbol-5bf20921.js.map +1 -0
- package/dist/esm/keyboard-4b9e12e3.js +2 -0
- package/dist/esm/keyboard-4b9e12e3.js.map +1 -0
- package/dist/esm/keycodes-44c01beb.js +2 -0
- package/dist/esm/keycodes-44c01beb.js.map +1 -0
- package/dist/esm/lime-elements.js +9 -3
- package/dist/esm/lime-elements.js.map +1 -0
- package/dist/esm/limel-action-bar-item_2.entry.js +3 -1
- package/dist/esm/limel-action-bar-item_2.entry.js.map +1 -0
- package/dist/esm/limel-action-bar.entry.js +3 -1
- package/dist/esm/limel-action-bar.entry.js.map +1 -0
- package/dist/esm/limel-badge.entry.js +3 -1
- package/dist/esm/limel-badge.entry.js.map +1 -0
- package/dist/esm/limel-banner.entry.js +3 -1
- package/dist/esm/limel-banner.entry.js.map +1 -0
- package/dist/esm/limel-button-group.entry.js +3 -1
- package/dist/esm/limel-button-group.entry.js.map +1 -0
- package/dist/esm/limel-button.entry.js +3 -1
- package/dist/esm/limel-button.entry.js.map +1 -0
- package/dist/esm/limel-callout.entry.js +3 -1
- package/dist/esm/limel-callout.entry.js.map +1 -0
- package/dist/esm/limel-checkbox.entry.js +4 -2
- package/dist/esm/limel-checkbox.entry.js.map +1 -0
- package/dist/esm/limel-chip-set.entry.js +3 -1
- package/dist/esm/limel-chip-set.entry.js.map +1 -0
- package/dist/esm/limel-circular-progress_2.entry.js +3 -1
- package/dist/esm/limel-circular-progress_2.entry.js.map +1 -0
- package/dist/esm/limel-code-editor.entry.js +3 -1
- package/dist/esm/limel-code-editor.entry.js.map +1 -0
- package/dist/esm/limel-collapsible-section.entry.js +3 -1
- package/dist/esm/limel-collapsible-section.entry.js.map +1 -0
- package/dist/esm/limel-color-picker-palette.entry.js +3 -1
- package/dist/esm/limel-color-picker-palette.entry.js.map +1 -0
- package/dist/esm/limel-color-picker.entry.js +3 -1
- package/dist/esm/limel-color-picker.entry.js.map +1 -0
- package/dist/esm/limel-config.entry.js +3 -1
- package/dist/esm/limel-config.entry.js.map +1 -0
- package/dist/esm/limel-date-picker.entry.js +3 -1
- package/dist/esm/limel-date-picker.entry.js.map +1 -0
- package/dist/esm/limel-dialog.entry.js +3 -1
- package/dist/esm/limel-dialog.entry.js.map +1 -0
- package/dist/esm/limel-dock-button.entry.js +3 -1
- package/dist/esm/limel-dock-button.entry.js.map +1 -0
- package/dist/esm/limel-dock.entry.js +3 -1
- package/dist/esm/limel-dock.entry.js.map +1 -0
- package/dist/esm/limel-file.entry.js +3 -1
- package/dist/esm/limel-file.entry.js.map +1 -0
- package/dist/esm/limel-flatpickr-adapter.entry.js +3 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js.map +1 -0
- package/dist/esm/limel-flex-container.entry.js +3 -1
- package/dist/esm/limel-flex-container.entry.js.map +1 -0
- package/dist/esm/limel-form.entry.js +3 -1
- package/dist/esm/limel-form.entry.js.map +1 -0
- package/dist/esm/limel-grid.entry.js +3 -1
- package/dist/esm/limel-grid.entry.js.map +1 -0
- package/dist/esm/limel-header.entry.js +3 -1
- package/dist/esm/limel-header.entry.js.map +1 -0
- package/dist/esm/limel-helper-line.entry.js +3 -1
- package/dist/esm/limel-helper-line.entry.js.map +1 -0
- package/dist/esm/limel-icon-button.entry.js +3 -1
- package/dist/esm/limel-icon-button.entry.js.map +1 -0
- package/dist/esm/limel-icon.entry.js +3 -1
- package/dist/esm/limel-icon.entry.js.map +1 -0
- package/dist/esm/limel-info-tile.entry.js +3 -1
- package/dist/esm/limel-info-tile.entry.js.map +1 -0
- package/dist/esm/limel-input-field.entry.js +3 -1
- package/dist/esm/limel-input-field.entry.js.map +1 -0
- package/dist/esm/limel-list_2.entry.js +4 -2
- package/dist/esm/limel-list_2.entry.js.map +1 -0
- package/dist/esm/limel-menu_2.entry.js +3 -1
- package/dist/esm/limel-menu_2.entry.js.map +1 -0
- package/dist/esm/limel-picker.entry.js +3 -1
- package/dist/esm/limel-picker.entry.js.map +1 -0
- package/dist/esm/limel-popover_2.entry.js +3 -1
- package/dist/esm/limel-popover_2.entry.js.map +1 -0
- package/dist/esm/limel-portal.entry.js +15 -13
- package/dist/esm/limel-portal.entry.js.map +1 -0
- package/dist/esm/limel-progress-flow-item.entry.js +3 -1
- package/dist/esm/limel-progress-flow-item.entry.js.map +1 -0
- package/dist/esm/limel-progress-flow.entry.js +3 -1
- package/dist/esm/limel-progress-flow.entry.js.map +1 -0
- package/dist/esm/limel-select.entry.js +3 -1
- package/dist/esm/limel-select.entry.js.map +1 -0
- package/dist/esm/limel-shortcut.entry.js +3 -1
- package/dist/esm/limel-shortcut.entry.js.map +1 -0
- package/dist/esm/limel-slider.entry.js +3 -1
- package/dist/esm/limel-slider.entry.js.map +1 -0
- package/dist/esm/limel-snackbar.entry.js +3 -1
- package/dist/esm/limel-snackbar.entry.js.map +1 -0
- package/dist/esm/limel-spinner.entry.js +3 -1
- package/dist/esm/limel-spinner.entry.js.map +1 -0
- package/dist/esm/limel-split-button.entry.js +3 -1
- package/dist/esm/limel-split-button.entry.js.map +1 -0
- package/dist/esm/limel-switch.entry.js +3 -1
- package/dist/esm/limel-switch.entry.js.map +1 -0
- package/dist/esm/limel-tab-bar.entry.js +3 -1
- package/dist/esm/limel-tab-bar.entry.js.map +1 -0
- package/dist/esm/limel-tab-panel.entry.js +3 -1
- package/dist/esm/limel-tab-panel.entry.js.map +1 -0
- package/dist/esm/limel-table.entry.js +3 -1
- package/dist/esm/limel-table.entry.js.map +1 -0
- package/dist/esm/limel-tooltip_2.entry.js +3 -1
- package/dist/esm/limel-tooltip_2.entry.js.map +1 -0
- package/dist/esm/link-helper-b08fe56c.js +2 -0
- package/dist/esm/link-helper-b08fe56c.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/moment-faa8a4a8.js +2 -0
- package/dist/esm/moment-faa8a4a8.js.map +1 -0
- package/dist/esm/multiple-0bd62427.js +2 -0
- package/dist/esm/multiple-0bd62427.js.map +1 -0
- package/dist/esm/pickBy-d359eb12.js +2 -0
- package/dist/esm/pickBy-d359eb12.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/ponyfill-30263d5e.js +2 -0
- package/dist/esm/ponyfill-30263d5e.js.map +1 -0
- package/dist/esm/random-string-2246b81e.js +2 -0
- package/dist/esm/random-string-2246b81e.js.map +1 -0
- package/dist/esm/sv-336c4576.js +2 -0
- package/dist/esm/sv-336c4576.js.map +1 -0
- package/dist/esm/toNumber-a6ed64f0.js +2 -0
- package/dist/esm/toNumber-a6ed64f0.js.map +1 -0
- package/dist/esm/translations-f88bb584.js +2 -0
- package/dist/esm/translations-f88bb584.js.map +1 -0
- package/dist/esm/util-f1bde91c.js +2 -0
- package/dist/esm/util-f1bde91c.js.map +1 -0
- package/dist/esm/zipObject-2bb1968e.js +2 -0
- package/dist/esm/zipObject-2bb1968e.js.map +1 -0
- package/dist/lime-elements/index.esm.js +2 -0
- package/dist/lime-elements/index.esm.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +2 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -0
- package/dist/lime-elements/p-0137d2fb.entry.js +2 -0
- package/dist/lime-elements/p-0137d2fb.entry.js.map +1 -0
- package/dist/lime-elements/p-0b1af919.js +2 -1
- package/dist/lime-elements/p-0b1af919.js.map +1 -0
- package/dist/lime-elements/p-0eabb204.js +2 -1
- package/dist/lime-elements/p-0eabb204.js.map +1 -0
- package/dist/lime-elements/p-13ed01eb.entry.js +236 -0
- package/dist/lime-elements/p-13ed01eb.entry.js.map +1 -0
- package/dist/lime-elements/p-17ac8cca.entry.js +2 -0
- package/dist/lime-elements/p-17ac8cca.entry.js.map +1 -0
- package/dist/lime-elements/p-1a80da5e.entry.js +104 -0
- package/dist/lime-elements/p-1a80da5e.entry.js.map +1 -0
- package/dist/lime-elements/p-1c284626.js +372 -5
- package/dist/lime-elements/p-1c284626.js.map +1 -0
- package/dist/lime-elements/p-1dc042e5.entry.js +2 -0
- package/dist/lime-elements/p-1dc042e5.entry.js.map +1 -0
- package/dist/lime-elements/p-2118b9ae.entry.js +2 -0
- package/dist/lime-elements/p-2118b9ae.entry.js.map +1 -0
- package/dist/lime-elements/p-2359d139.entry.js +82 -0
- package/dist/lime-elements/p-2359d139.entry.js.map +1 -0
- package/dist/lime-elements/p-240fda3b.js +2 -1
- package/dist/lime-elements/p-240fda3b.js.map +1 -0
- package/dist/lime-elements/p-2565927b.entry.js +21 -0
- package/dist/lime-elements/p-2565927b.entry.js.map +1 -0
- package/dist/lime-elements/p-28da3c47.entry.js +2 -0
- package/dist/lime-elements/p-28da3c47.entry.js.map +1 -0
- package/dist/lime-elements/p-2b0c6ccd.entry.js +17 -0
- package/dist/lime-elements/p-2b0c6ccd.entry.js.map +1 -0
- package/dist/lime-elements/p-2f71d4d4.js +2 -1
- package/dist/lime-elements/p-2f71d4d4.js.map +1 -0
- package/dist/lime-elements/p-30df2bb6.entry.js +2 -0
- package/dist/lime-elements/p-30df2bb6.entry.js.map +1 -0
- package/dist/lime-elements/p-365098fe.js +2 -1
- package/dist/lime-elements/p-365098fe.js.map +1 -0
- package/dist/lime-elements/p-3670f018.entry.js +2 -0
- package/dist/lime-elements/p-3670f018.entry.js.map +1 -0
- package/dist/lime-elements/p-40b7d717.entry.js +2 -0
- package/dist/lime-elements/p-40b7d717.entry.js.map +1 -0
- package/dist/lime-elements/p-4114c214.entry.js +82 -0
- package/dist/lime-elements/p-4114c214.entry.js.map +1 -0
- package/dist/lime-elements/p-42a24572.entry.js +2 -0
- package/dist/lime-elements/p-42a24572.entry.js.map +1 -0
- package/dist/lime-elements/p-48105d44.js +2 -1
- package/dist/lime-elements/p-48105d44.js.map +1 -0
- package/dist/lime-elements/p-48d4ef20.js +4 -3
- package/dist/lime-elements/p-48d4ef20.js.map +1 -0
- package/dist/lime-elements/p-4c3358cb.js +2 -1
- package/dist/lime-elements/p-4c3358cb.js.map +1 -0
- package/dist/lime-elements/p-4dd9a5a5.js +12 -5
- package/dist/lime-elements/p-4dd9a5a5.js.map +1 -0
- package/dist/lime-elements/p-4ed75a11.entry.js +162 -0
- package/dist/lime-elements/p-4ed75a11.entry.js.map +1 -0
- package/dist/lime-elements/p-4ef9aa7d.entry.js +104 -0
- package/dist/lime-elements/p-4ef9aa7d.entry.js.map +1 -0
- package/dist/lime-elements/p-55a09930.entry.js +126 -0
- package/dist/lime-elements/p-55a09930.entry.js.map +1 -0
- package/dist/lime-elements/p-5b374246.entry.js +476 -0
- package/dist/lime-elements/p-5b374246.entry.js.map +1 -0
- package/dist/lime-elements/p-5b6d2d55.js +2 -0
- package/dist/lime-elements/p-5b6d2d55.js.map +1 -0
- package/dist/lime-elements/p-5f020b3c.js +2 -1
- package/dist/lime-elements/p-5f020b3c.js.map +1 -0
- package/dist/lime-elements/p-5fdb83c9.js +2 -1
- package/dist/lime-elements/p-5fdb83c9.js.map +1 -0
- package/dist/lime-elements/p-623d09d9.entry.js +2 -0
- package/dist/lime-elements/p-623d09d9.entry.js.map +1 -0
- package/dist/lime-elements/p-63111b62.entry.js +2 -0
- package/dist/lime-elements/p-63111b62.entry.js.map +1 -0
- package/dist/lime-elements/p-648d9057.entry.js +2 -0
- package/dist/lime-elements/p-648d9057.entry.js.map +1 -0
- package/dist/lime-elements/p-669626e5.js +2 -1
- package/dist/lime-elements/p-669626e5.js.map +1 -0
- package/dist/lime-elements/p-6b952164.entry.js +2 -0
- package/dist/lime-elements/p-6b952164.entry.js.map +1 -0
- package/dist/lime-elements/p-6c094f3f.js +2 -1
- package/dist/lime-elements/p-6c094f3f.js.map +1 -0
- package/dist/lime-elements/p-6e219bb4.js +2 -1
- package/dist/lime-elements/p-6e219bb4.js.map +1 -0
- package/dist/lime-elements/p-715d3252.entry.js +2 -0
- package/dist/lime-elements/p-715d3252.entry.js.map +1 -0
- package/dist/lime-elements/p-753f500b.entry.js +82 -0
- package/dist/lime-elements/p-753f500b.entry.js.map +1 -0
- package/dist/lime-elements/p-795079c9.entry.js +2 -0
- package/dist/lime-elements/p-795079c9.entry.js.map +1 -0
- package/dist/lime-elements/p-7a3f58cd.entry.js +2 -0
- package/dist/lime-elements/p-7a3f58cd.entry.js.map +1 -0
- package/dist/lime-elements/p-7cda574b.js +2 -1
- package/dist/lime-elements/p-7cda574b.js.map +1 -0
- package/dist/lime-elements/p-848437f8.entry.js +2 -0
- package/dist/lime-elements/p-848437f8.entry.js.map +1 -0
- package/dist/lime-elements/p-858c6b82.js +2 -1
- package/dist/lime-elements/p-858c6b82.js.map +1 -0
- package/dist/lime-elements/p-896043d6.entry.js +2 -0
- package/dist/lime-elements/p-896043d6.entry.js.map +1 -0
- package/dist/lime-elements/p-8b339748.entry.js +2 -0
- package/dist/lime-elements/p-8b339748.entry.js.map +1 -0
- package/dist/lime-elements/p-945afca2.js +3 -2
- package/dist/lime-elements/p-945afca2.js.map +1 -0
- package/dist/lime-elements/p-9aab2892.entry.js +2 -0
- package/dist/lime-elements/p-9aab2892.entry.js.map +1 -0
- package/dist/lime-elements/p-9acf7b5d.js +2 -1
- package/dist/lime-elements/p-9acf7b5d.js.map +1 -0
- package/dist/lime-elements/p-9e78a21c.entry.js +16 -0
- package/dist/lime-elements/p-9e78a21c.entry.js.map +1 -0
- package/dist/lime-elements/p-9faad6eb.js +2 -1
- package/dist/lime-elements/p-9faad6eb.js.map +1 -0
- package/dist/lime-elements/p-9fe3bc64.entry.js +2 -0
- package/dist/lime-elements/p-9fe3bc64.entry.js.map +1 -0
- package/dist/lime-elements/p-a11a971e.entry.js +2 -0
- package/dist/lime-elements/p-a11a971e.entry.js.map +1 -0
- package/dist/lime-elements/p-a3bea367.entry.js +2 -0
- package/dist/lime-elements/p-a3bea367.entry.js.map +1 -0
- package/dist/lime-elements/p-a40e05c3.entry.js +2 -0
- package/dist/lime-elements/p-a40e05c3.entry.js.map +1 -0
- package/dist/lime-elements/p-a8714655.entry.js +2 -0
- package/dist/lime-elements/p-a8714655.entry.js.map +1 -0
- package/dist/lime-elements/p-acf307d9.js +2 -1
- package/dist/lime-elements/p-acf307d9.js.map +1 -0
- package/dist/lime-elements/p-ad8cb388.js +2 -1
- package/dist/lime-elements/p-ad8cb388.js.map +1 -0
- package/dist/lime-elements/p-ade76f1d.js +2 -1
- package/dist/lime-elements/p-ade76f1d.js.map +1 -0
- package/dist/lime-elements/p-b28128d2.js +2 -1
- package/dist/lime-elements/p-b28128d2.js.map +1 -0
- package/dist/lime-elements/p-b59e4287.js +2 -1
- package/dist/lime-elements/p-b59e4287.js.map +1 -0
- package/dist/lime-elements/p-b8ed25b3.entry.js +2 -0
- package/dist/lime-elements/p-b8ed25b3.entry.js.map +1 -0
- package/dist/lime-elements/p-c647b197.entry.js +2 -0
- package/dist/lime-elements/p-c647b197.entry.js.map +1 -0
- package/dist/lime-elements/p-c70b1ea3.js +2 -1
- package/dist/lime-elements/p-c70b1ea3.js.map +1 -0
- package/dist/lime-elements/p-c8818b66.js +3 -0
- package/dist/lime-elements/p-c8818b66.js.map +1 -0
- package/dist/lime-elements/p-c93050d6.js +2 -1
- package/dist/lime-elements/p-c93050d6.js.map +1 -0
- package/dist/lime-elements/p-ca9b383b.entry.js +2 -0
- package/dist/lime-elements/p-ca9b383b.entry.js.map +1 -0
- package/dist/lime-elements/p-cbc43682.js +27 -4
- package/dist/lime-elements/p-cbc43682.js.map +1 -0
- package/dist/lime-elements/p-cc9ebbef.js +2 -1
- package/dist/lime-elements/p-cc9ebbef.js.map +1 -0
- package/dist/lime-elements/p-d07f1a1f.entry.js +2 -0
- package/dist/lime-elements/p-d07f1a1f.entry.js.map +1 -0
- package/dist/lime-elements/p-d0a7de87.js +48 -3
- package/dist/lime-elements/p-d0a7de87.js.map +1 -0
- package/dist/lime-elements/p-d228fd62.entry.js +2 -0
- package/dist/lime-elements/p-d228fd62.entry.js.map +1 -0
- package/dist/lime-elements/p-d529bb7d.js +2 -1
- package/dist/lime-elements/p-d529bb7d.js.map +1 -0
- package/dist/lime-elements/p-d7801e00.js +2 -1
- package/dist/lime-elements/p-d7801e00.js.map +1 -0
- package/dist/lime-elements/p-d7c39d02.entry.js +126 -0
- package/dist/lime-elements/p-d7c39d02.entry.js.map +1 -0
- package/dist/lime-elements/p-da25e94d.entry.js +2 -0
- package/dist/lime-elements/p-da25e94d.entry.js.map +1 -0
- package/dist/lime-elements/p-dcc97cc2.js +2 -1
- package/dist/lime-elements/p-dcc97cc2.js.map +1 -0
- package/dist/lime-elements/p-dfba92de.js +88 -8
- package/dist/lime-elements/p-dfba92de.js.map +1 -0
- package/dist/lime-elements/p-e0fa49ca.entry.js +2 -0
- package/dist/lime-elements/p-e0fa49ca.entry.js.map +1 -0
- package/dist/lime-elements/p-e59e0040.entry.js +2 -0
- package/dist/lime-elements/p-e59e0040.entry.js.map +1 -0
- package/dist/lime-elements/p-eab67c09.js +2 -1
- package/dist/lime-elements/p-eab67c09.js.map +1 -0
- package/dist/lime-elements/p-eda23c05.js +2 -1
- package/dist/lime-elements/p-eda23c05.js.map +1 -0
- package/dist/lime-elements/p-f1d9723a.entry.js +2 -0
- package/dist/lime-elements/p-f1d9723a.entry.js.map +1 -0
- package/dist/lime-elements/p-fa607ed3.js +2 -1
- package/dist/lime-elements/p-fa607ed3.js.map +1 -0
- package/dist/lime-elements/p-fb799569.entry.js +2 -0
- package/dist/lime-elements/p-fb799569.entry.js.map +1 -0
- package/dist/loader/index.d.ts +9 -0
- package/dist/types/components/callout/callout.types.d.ts +1 -1
- package/dist/types/components/circular-progress/circular-progress.types.d.ts +1 -1
- package/dist/types/components/code-editor/code-editor.types.d.ts +2 -2
- package/dist/types/components/date-picker/date.types.d.ts +2 -2
- package/dist/types/components/file/file-metadata.d.ts +5 -5
- package/dist/types/components/flex-container/flex-container.types.d.ts +3 -3
- package/dist/types/components/form/form.types.d.ts +1 -1
- package/dist/types/components/form/templates/types.d.ts +3 -3
- package/dist/types/components/form/widgets/index.d.ts +1 -1
- package/dist/types/components/icon/icon.types.d.ts +1 -1
- package/dist/types/components/input-field/input-field.types.d.ts +1 -1
- package/dist/types/components/list/list.types.d.ts +1 -1
- package/dist/types/components/menu/menu.types.d.ts +1 -1
- package/dist/types/components/menu-list/menu-list.types.d.ts +1 -1
- package/dist/types/components/picker/actions.types.d.ts +2 -2
- package/dist/types/components/picker/searcher.types.d.ts +1 -1
- package/dist/types/components/spinner/spinner.types.d.ts +1 -1
- package/dist/types/components/table/layout.d.ts +1 -1
- package/dist/types/components/table/table.types.d.ts +2 -2
- package/dist/types/components.d.ts +2848 -0
- package/dist/types/interface.d.ts +5 -14
- package/dist/types/stencil-public-runtime.d.ts +74 -15
- package/package.json +2 -2
- package/dist/lime-elements/p-076de623.entry.js +0 -1
- package/dist/lime-elements/p-07dd6729.entry.js +0 -1
- package/dist/lime-elements/p-094dd76a.entry.js +0 -126
- package/dist/lime-elements/p-10e259de.entry.js +0 -1
- package/dist/lime-elements/p-123f5fbb.entry.js +0 -1
- package/dist/lime-elements/p-29350441.entry.js +0 -37
- package/dist/lime-elements/p-30f5cc4d.entry.js +0 -1
- package/dist/lime-elements/p-35a6ab13.entry.js +0 -1
- package/dist/lime-elements/p-3618f8be.entry.js +0 -1
- package/dist/lime-elements/p-3be2dfc7.entry.js +0 -1
- package/dist/lime-elements/p-3cdc210b.entry.js +0 -1
- package/dist/lime-elements/p-3fda3473.entry.js +0 -1
- package/dist/lime-elements/p-46a76d55.entry.js +0 -1
- package/dist/lime-elements/p-4a62273c.entry.js +0 -1
- package/dist/lime-elements/p-4eeabc1f.entry.js +0 -1
- package/dist/lime-elements/p-5338663b.entry.js +0 -1
- package/dist/lime-elements/p-55900379.entry.js +0 -59
- package/dist/lime-elements/p-55c8cb64.entry.js +0 -131
- package/dist/lime-elements/p-6b8142ba.entry.js +0 -73
- package/dist/lime-elements/p-6c38b505.entry.js +0 -1
- package/dist/lime-elements/p-727fd4ea.entry.js +0 -38
- package/dist/lime-elements/p-7719a91d.entry.js +0 -1
- package/dist/lime-elements/p-79049482.entry.js +0 -1
- package/dist/lime-elements/p-7d7d19de.entry.js +0 -1
- package/dist/lime-elements/p-803cc4b7.entry.js +0 -1
- package/dist/lime-elements/p-82cd7bb6.entry.js +0 -1
- package/dist/lime-elements/p-8a2d1761.entry.js +0 -11
- package/dist/lime-elements/p-8acabe02.entry.js +0 -59
- package/dist/lime-elements/p-9336fd7f.entry.js +0 -1
- package/dist/lime-elements/p-95cefb5f.entry.js +0 -1
- package/dist/lime-elements/p-a3acc38f.entry.js +0 -83
- package/dist/lime-elements/p-a5d5efc4.entry.js +0 -1
- package/dist/lime-elements/p-b0bfec52.entry.js +0 -1
- package/dist/lime-elements/p-b40f37d7.entry.js +0 -1
- package/dist/lime-elements/p-b526ebd4.entry.js +0 -1
- package/dist/lime-elements/p-b80de0ea.entry.js +0 -1
- package/dist/lime-elements/p-bf3d6097.entry.js +0 -1
- package/dist/lime-elements/p-c6e913a4.entry.js +0 -82
- package/dist/lime-elements/p-cb2c9562.entry.js +0 -16
- package/dist/lime-elements/p-cc3529bb.entry.js +0 -82
- package/dist/lime-elements/p-cfaa685f.entry.js +0 -1
- package/dist/lime-elements/p-d2a3d50b.js +0 -1
- package/dist/lime-elements/p-d4e788e1.js +0 -2
- package/dist/lime-elements/p-d55d88a5.entry.js +0 -1
- package/dist/lime-elements/p-da4d1bc1.entry.js +0 -16
- package/dist/lime-elements/p-eda87f8c.entry.js +0 -1
- package/dist/lime-elements/p-edbd8d62.entry.js +0 -1
- package/dist/lime-elements/p-ef93fd3e.entry.js +0 -1
- package/dist/lime-elements/p-f11e7ce1.entry.js +0 -1
- package/dist/lime-elements/p-f979c0f2.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s,H as e,g as r}from"./p-d4e788e1.js";const a=class{constructor(e){i(this,e),this.itemSelected=t(this,"itemSelected",7),this.firstRender=!0,this.actionBarItems=[],this.renderActionBarItem=(i,t)=>s("limel-action-bar-item",{item:i,onSelect:this.handleSelect,isVisible:this.isVisible(t)}),this.renderOverflowMenu=i=>{if(this.actions.length-this.overflowCutoff)return s("limel-action-bar-overflow-menu",{openDirection:this.openDirection,items:i,onSelect:this.handleSelect})},this.handleSelect=i=>{i.stopPropagation(),"separator"in i.detail||this.itemSelected.emit(i.detail)},this.handleIntersection=i=>{const t=i.filter((i=>i.isIntersecting)),s=i.filter((i=>!i.isIntersecting));this.overflowCutoff=this.firstRender?t.length:this.overflowCutoff+t.length-s.length,this.firstRender=!1},this.actions=[],this.accessibleLabel=void 0,this.layout=void 0,this.openDirection=void 0,this.overflowCutoff=this.actions.length}render(){let i=[];return this.actions.length&&(i=this.actions.slice(this.overflowCutoff)),s(e,{"aria-label":this.accessibleLabel,class:{"is-full-width":"fullWidth"===this.layout,"is-floating":"floating"===this.layout}},s("div",{class:"items"},this.actions.map(this.renderActionBarItem)),this.renderOverflowMenu(i))}connectedCallback(){}componentDidRender(){var i;this.haveItemsChanged()&&(null===(i=this.intersectionObserver)||void 0===i||i.disconnect(),this.createIntersectionObserver())}disconnectedCallback(){var i;null===(i=this.intersectionObserver)||void 0===i||i.disconnect(),this.intersectionObserver=void 0,this.actionBarItems=[],this.connectedCallback=()=>this.createIntersectionObserver()}isVisible(i){return i<this.overflowCutoff}createIntersectionObserver(){const i={root:this.host.shadowRoot.querySelector(".items"),rootMargin:"0px",threshold:1};this.overflowCutoff=this.actions.length,this.firstRender=!0,this.actionBarItems=[],this.intersectionObserver=new IntersectionObserver(this.handleIntersection,i),this.host.shadowRoot.querySelectorAll("limel-action-bar-item").forEach((i=>{this.observe(i)}))}observe(i){this.intersectionObserver.observe(i),this.actionBarItems.push(i)}haveItemsChanged(){const i=this.actionBarItems.some((i=>!this.host.shadowRoot.contains(i))),t=Array.from(this.host.shadowRoot.querySelectorAll("limel-action-bar-item")).some((i=>!this.actionBarItems.includes(i)));return i||t}get host(){return r(this)}};a.style=":host(limel-action-bar){--action-bar-item-height:2rem;--limel-action-bar-item-text-color:var(\n --action-bar-item-text-color,\n rgb(var(--contrast-1100))\n );box-sizing:border-box;display:inline-flex;align-items:center;padding:0.125rem 0.25rem;max-width:100%;border-radius:var(--action-bar-border-radius);background-color:var(--action-bar-background-color, rgb(var(--contrast-100)))}:host(limel-action-bar),.items{gap:0.25rem}@media (pointer: coarse){:host(limel-action-bar),.items{gap:0.5rem}}.items{display:inline-flex;max-width:100%;min-width:0}:host(limel-action-bar.is-full-width){width:100%}:host(limel-action-bar.is-floating){--action-bar-border-radius:100vw;padding-right:0.125rem;padding-left:0.125rem;max-width:calc(100% - 2rem);box-shadow:var(--shadow-depth-16)}";export{a as limel_action_bar}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,g as i}from"./p-d4e788e1.js";const o=class{constructor(i){t(this,i),this.change=e(this,"change",7),this.renderRegularFlowItem=(t,e,i)=>s("limel-progress-flow-item",{class:{"flow-item":!0,first:0===e,last:e===i.length-1,passed:e<this.selectedItemIndex,selected:t.selected},style:this.getItemStyle(t),disabled:this.disabled||this.readonly,readonly:this.readonly,item:t,onInteract:this.handleFlowItemClick(t),"data-tracking-value":t.value}),this.renderEndPhaseItem=(t,e,i)=>s("limel-progress-flow-item",{class:{"flow-item":!0,"off-progress-item":!0,selected:t.selected,"first-off-progress-item":0===e,"last-off-progress-item":e===i.length-1},style:this.getItemStyle(t),disabled:this.disabled||this.readonly,readonly:this.readonly,item:t,onInteract:this.handleFlowItemClick(t),"data-tracking-value":t.value}),this.handleFlowItemClick=t=>()=>{t.selected||t.disabled||this.disabled||this.change.emit(t)},this.flowItems=[],this.disabled=!1,this.readonly=!1}componentDidRender(){this.scrollToSelectedItem()}render(){const t=this.flowItems.filter((t=>!t.isOffProgress)),e=this.flowItems.filter((t=>t.isOffProgress));return this.selectedItemIndex=t.findIndex((t=>t.selected)),[t.map(this.renderRegularFlowItem),e.map(this.renderEndPhaseItem)]}getItemStyle(t){const e={};return(null==t?void 0:t.selectedColor)&&(e["--progress-flow-step-background-color--selected"]=t.selectedColor),(null==t?void 0:t.passedColor)&&(e["--progress-flow-step-background-color--passed"]=t.passedColor),(null==t?void 0:t.iconColor)&&(e["--progress-flow-icon-color--inactive"]=t.iconColor),e}scrollToSelectedItem(){const t=this.getElementForSelectedItem();t&&this.element.scrollTo({behavior:"smooth",left:t.offsetLeft-this.element.offsetLeft-this.element.offsetWidth/2+t.offsetWidth/2})}getElementForSelectedItem(){return this.element.shadowRoot.querySelector(".flow-item.selected")}get element(){return i(this)}};o.style=":host{--step-height:2.5rem;--selected-indicator-right:-0.5rem;--max-text-width:10rem;isolation:isolate;box-sizing:border-box;width:100%;display:flex;flex-direction:row;align-items:flex-start;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;padding:0.25rem}:host::-webkit-scrollbar{display:none}:host(.is-narrow){--step-height:1.5rem;--selected-indicator-right:0}";export{o as limel_progress_flow}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as o,h as t,H as i}from"./p-d4e788e1.js";const a=class{constructor(i){e(this,i),this.itemSelected=o(this,"itemSelected",7),this.menuOpen=o(this,"menuOpen",7),this.close=o(this,"close",7),this.dockExpanded=o(this,"dockExpanded",7),this.renderSeparator=()=>this.useMobileLayout?null:t("span",{class:"footer-separator"}),this.renderDockItem=e=>t("limel-dock-button",{class:{"dock-item":!0,selected:e.selected},item:e,expanded:this.expanded&&!this.useMobileLayout,useMobileLayout:this.useMobileLayout}),this.handleResize=()=>{this.useMobileLayout=window.innerWidth<=this.mobileBreakPoint},this.toggleDockWidth=()=>{this.expanded=!this.expanded,this.dockExpanded.emit(this.expanded)},this.dockItems=[],this.dockFooterItems=[],this.accessibleLabel=void 0,this.expanded=!1,this.allowResize=!0,this.mobileBreakPoint=700,this.useMobileLayout=!1}componentDidLoad(){this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(document.body)}disconnectedCallback(){this.resizeObserver.disconnect()}render(){return t(i,{class:{dock:!0,expanded:this.expanded,"has-mobile-layout":this.useMobileLayout}},t("nav",{"aria-label":this.accessibleLabel},this.dockItems.map(this.renderDockItem),this.renderSeparator(),this.dockFooterItems.map(this.renderDockItem)),this.renderExpandShrinkToggle())}renderExpandShrinkToggle(){if(!this.useMobileLayout&&this.allowResize)return t("button",{class:{"expand-shrink":!0,expanded:this.expanded},onClick:this.toggleDockWidth},t("limel-icon",{name:"angle_right"}))}};a.style=":host(limel-dock){--badge-background-color:rgb(var(--color-red-default));--badge-text-color:rgb(var(--color-white));--dock-item-height:2.75rem;--dock-padding:0.25rem;--dock-expand-shrink-button-height:1rem;--limel-dock-item-text-color:var(\n --dock-item-text-color,\n rgb(var(--contrast-1100))\n );--limel-dock-item-text-color--selected:var(\n --dock-item-text-color--selected,\n rgb(var(--contrast-1300))\n );isolation:isolate;position:relative;display:inline-flex;flex-direction:column;background-color:var(--dock-background-color, rgb(var(--contrast-100)));box-shadow:var(--shadow-depth-8);padding-top:var(--dock-padding-top);padding-right:var(--dock-padding-right);padding-bottom:var(--dock-padding-bottom);padding-left:var(--dock-padding-left)}:host(limel-dock:not(.has-mobile-layout)){height:100%;width:calc(var(--dock-padding) * 2 + var(--dock-item-height))}:host(limel-dock.expanded){width:var(--dock-expanded-max-width, max-content)}.footer-separator{margin-top:auto;justify-self:flex-end}nav{box-sizing:border-box;display:inline-flex;flex-direction:column;gap:0.375rem;flex-grow:1;padding:var(--dock-padding);overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}nav::-webkit-scrollbar{display:none}:host(limel-dock.has-mobile-layout) nav{justify-content:space-between;flex-direction:row}limel-dock-button:first-of-type{--limel-custom-home-icon-enabler:var(--crm-custom-home-icon-enabler);--limel-custom-home-icon:var(--crm-custom-home-icon)}.expand-shrink{all:unset;box-sizing:border-box;transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:transparent;display:flex;justify-content:center;align-items:center;height:var(--dock-expand-shrink-button-height);padding:0 0.5rem;margin:var(--dock-padding);border-radius:0.375rem}.expand-shrink:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}.expand-shrink:active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.expand-shrink:focus{outline:none}.expand-shrink:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.expand-shrink.expanded{justify-content:flex-end}.expand-shrink.expanded limel-icon{transform:rotateY(180deg)}.expand-shrink limel-icon{width:calc(var(--dock-expand-shrink-button-height) - 0.25rem);color:var(--dock-item-icon-color, var(--limel-dock-item-text-color))}";export{a as limel_dock}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as n,g as e}from"./p-d4e788e1.js";var r="top",i="bottom",o="right",a="left",u=[r,i,o,a],f=u.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),s=[].concat(u,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),c=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function l(t){return t?(t.nodeName||"").toLowerCase():null}function d(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function p(t){return t instanceof d(t).Element||t instanceof Element}function h(t){return t instanceof d(t).HTMLElement||t instanceof HTMLElement}function v(t){return"undefined"!=typeof ShadowRoot&&(t instanceof d(t).ShadowRoot||t instanceof ShadowRoot)}function b(t){return t.split("-")[0]}var m=Math.max,y=Math.min,g=Math.round;function w(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function x(){return!/^((?!chrome|android).)*safari/i.test(w())}function O(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&h(t)&&(i=t.offsetWidth>0&&g(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&g(r.height)/t.offsetHeight||1);var a=(p(t)?d(t):window).visualViewport,u=!x()&&e,f=(r.left+(u&&a?a.offsetLeft:0))/i,s=(r.top+(u&&a?a.offsetTop:0))/o,c=r.width/i,l=r.height/o;return{width:c,height:l,top:s,right:f+c,bottom:s+l,left:f,x:f,y:s}}function j(t){var n=O(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function M(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&v(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function k(t){return d(t).getComputedStyle(t)}function P(t){return["table","td","th"].indexOf(l(t))>=0}function C(t){return((p(t)?t.ownerDocument:t.document)||window.document).documentElement}function A(t){return"html"===l(t)?t:t.assignedSlot||t.parentNode||(v(t)?t.host:null)||C(t)}function q(t){return h(t)&&"fixed"!==k(t).position?t.offsetParent:null}function E(t){for(var n=d(t),e=q(t);e&&P(e)&&"static"===k(e).position;)e=q(e);return e&&("html"===l(e)||"body"===l(e)&&"static"===k(e).position)?n:e||function(t){var n=/firefox/i.test(w());if(/Trident/i.test(w())&&h(t)&&"fixed"===k(t).position)return null;var e=A(t);for(v(e)&&(e=e.host);h(e)&&["html","body"].indexOf(l(e))<0;){var r=k(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function R(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function W(t,n,e){return m(t,y(n,e))}function B(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function S(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function L(t){return t.split("-")[1]}var I={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var n,e=t.popper,u=t.popperRect,f=t.placement,s=t.variation,c=t.offsets,l=t.position,p=t.gpuAcceleration,h=t.adaptive,v=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,w=c.y,x=void 0===w?0:w,O="function"==typeof v?v({x:y,y:x}):{x:y,y:x};y=O.x,x=O.y;var j=c.hasOwnProperty("x"),M=c.hasOwnProperty("y"),P=a,A=r,q=window;if(h){var R=E(e),W="clientHeight",B="clientWidth";R===d(e)&&"static"!==k(R=C(e)).position&&"absolute"===l&&(W="scrollHeight",B="scrollWidth"),R=R,(f===r||(f===a||f===o)&&"end"===s)&&(A=i,x-=(b&&R===q&&q.visualViewport?q.visualViewport.height:R[W])-u.height,x*=p?1:-1),f!==a&&(f!==r&&f!==i||"end"!==s)||(P=o,y-=(b&&R===q&&q.visualViewport?q.visualViewport.width:R[B])-u.width,y*=p?1:-1)}var S,L=Object.assign({position:l},h&&I),T=!0===v?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:g(t.x*r)/r||0,y:g(e*r)/r||0}}({x:y,y:x},d(e)):{x:y,y:x};return y=T.x,x=T.y,Object.assign({},L,p?((S={})[A]=M?"0":"",S[P]=j?"0":"",S.transform=(q.devicePixelRatio||1)<=1?"translate("+y+"px, "+x+"px)":"translate3d("+y+"px, "+x+"px, 0)",S):((n={})[A]=M?x+"px":"",n[P]=j?y+"px":"",n.transform="",n))}var z={passive:!0},F={left:"right",right:"left",bottom:"top",top:"bottom"};function H(t){return t.replace(/left|right|bottom|top/g,(function(t){return F[t]}))}var V={start:"end",end:"start"};function D(t){return t.replace(/start|end/g,(function(t){return V[t]}))}function $(t){var n=d(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function _(t){return O(C(t)).left+$(t).scrollLeft}function U(t){var n=k(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function G(t){return["html","body","#document"].indexOf(l(t))>=0?t.ownerDocument.body:h(t)&&U(t)?t:G(A(t))}function J(t,n){var e;void 0===n&&(n=[]);var r=G(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=d(r),a=i?[o].concat(o.visualViewport||[],U(r)?r:[]):r,u=n.concat(a);return i?u:u.concat(J(A(a)))}function K(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function N(t,n,e){return"viewport"===n?K(function(t,n){var e=d(t),r=C(t),i=e.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,f=0;if(i){o=i.width,a=i.height;var s=x();(s||!s&&"fixed"===n)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:u+_(t),y:f}}(t,e)):p(n)?function(t,n){var e=O(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):K(function(t){var n,e=C(t),r=$(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=m(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=m(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+_(t),f=-r.scrollTop;return"rtl"===k(i||e).direction&&(u+=m(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:f}}(C(t)))}function Q(t){var n,e=t.reference,u=t.element,f=t.placement,s=f?b(f):null,c=f?L(f):null,l=e.x+e.width/2-u.width/2,d=e.y+e.height/2-u.height/2;switch(s){case r:n={x:l,y:e.y-u.height};break;case i:n={x:l,y:e.y+e.height};break;case o:n={x:e.x+e.width,y:d};break;case a:n={x:e.x-u.width,y:d};break;default:n={x:e.x,y:e.y}}var p=s?R(s):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case"start":n[p]=n[p]-(e[h]/2-u[h]/2);break;case"end":n[p]=n[p]+(e[h]/2-u[h]/2)}}return n}function X(t,n){void 0===n&&(n={});var e=n.placement,a=void 0===e?t.placement:e,f=n.strategy,s=void 0===f?t.strategy:f,c=n.boundary,d=void 0===c?"clippingParents":c,v=n.rootBoundary,b=void 0===v?"viewport":v,g=n.elementContext,w=void 0===g?"popper":g,x=n.altBoundary,j=void 0!==x&&x,P=n.padding,q=void 0===P?0:P,R=B("number"!=typeof q?q:S(q,u)),W=t.rects.popper,L=t.elements[j?"popper"===w?"reference":"popper":w],I=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=J(A(t)),e=["absolute","fixed"].indexOf(k(t).position)>=0&&h(t)?E(t):t;return p(e)?n.filter((function(t){return p(t)&&M(t,e)&&"body"!==l(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),a=o.reduce((function(n,e){var i=N(t,e,r);return n.top=m(i.top,n.top),n.right=y(i.right,n.right),n.bottom=y(i.bottom,n.bottom),n.left=m(i.left,n.left),n}),N(t,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(p(L)?L:L.contextElement||C(t.elements.popper),d,b,s),T=O(t.elements.reference),z=Q({reference:T,element:W,strategy:"absolute",placement:a}),F=K(Object.assign({},W,z)),H="popper"===w?F:T,V={top:I.top-H.top+R.top,bottom:H.bottom-I.bottom+R.bottom,left:I.left-H.left+R.left,right:H.right-I.right+R.right},D=t.modifiersData.offset;if("popper"===w&&D){var $=D[a];Object.keys(V).forEach((function(t){var n=[o,i].indexOf(t)>=0?1:-1,e=[r,i].indexOf(t)>=0?"y":"x";V[t]+=$[e]*n}))}return V}function Y(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,i=n.padding,o=n.flipVariations,a=n.allowedAutoPlacements,c=void 0===a?s:a,l=L(n.placement),d=l?o?f:f.filter((function(t){return L(t)===l})):u,p=d.filter((function(t){return c.indexOf(t)>=0}));0===p.length&&(p=d);var h=p.reduce((function(n,o){return n[o]=X(t,{placement:o,boundary:e,rootBoundary:r,padding:i})[b(o)],n}),{});return Object.keys(h).sort((function(t,n){return h[t]-h[n]}))}function Z(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function tt(t){return[r,o,i,a].some((function(n){return t[n]>=0}))}function nt(t,n,e){void 0===e&&(e=!1);var r,i,o=h(n),a=h(n)&&function(t){var n=t.getBoundingClientRect(),e=g(n.width)/t.offsetWidth||1,r=g(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=C(n),f=O(t,a,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!e)&&(("body"!==l(n)||U(u))&&(s=(r=n)!==d(r)&&h(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:$(r)),h(n)?((c=O(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):u&&(c.x=_(u))),{x:f.left+s.scrollLeft-c.x,y:f.top+s.scrollTop-c.y,width:f.width,height:f.height}}function et(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function it(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function ot(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?rt:r;return function(t,n,r){void 0===r&&(r=i);var o,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],s=!1,l={state:u,setOptions:function(r){var o="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},i,u.options,o),u.scrollParents={reference:p(t)?J(t):t.contextElement?J(t.contextElement):[],popper:J(n)};var a,s,h=function(t){var n=et(t);return c.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=h.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:l,options:void 0===n?{}:n});f.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(it(n,e)){u.rects={reference:nt(n,E(e),"fixed"===u.options.strategy),popper:j(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options;"function"==typeof o&&(u=o({state:u,options:void 0===a?{}:a,name:i.name,instance:l})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){d(),s=!0}};if(!it(t,n))return l;function d(){f.forEach((function(t){return t()})),f=[]}return l.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),l}}var at=ot({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,f=d(n.elements.popper),s=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&s.forEach((function(t){t.addEventListener("scroll",e.update,z)})),u&&f.addEventListener("resize",e.update,z),function(){o&&s.forEach((function(t){t.removeEventListener("scroll",e.update,z)})),u&&f.removeEventListener("resize",e.update,z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=Q({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,a=void 0===o||o,u=e.roundOffsets,f=void 0===u||u,s={placement:b(n.placement),variation:L(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},s,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},s,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];h(i)&&l(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});h(r)&&l(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,i=t.options.offset,u=void 0===i?[0,0]:i,f=s.reduce((function(t,e){return t[e]=function(t,n,e){var i=b(t),u=[a,r].indexOf(i)>=0?-1:1,f="function"==typeof e?e(Object.assign({},n,{placement:t})):e,s=f[0],c=f[1];return s=s||0,c=(c||0)*u,[a,o].indexOf(i)>=0?{x:c,y:s}:{x:s,y:c}}(e,n.rects,u),t}),{}),c=f[n.placement],l=c.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c.x,n.modifiersData.popperOffsets.y+=l),n.modifiersData[e]=f}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,u=t.name;if(!n.modifiersData[u]._skip){for(var f=e.mainAxis,s=void 0===f||f,c=e.altAxis,l=void 0===c||c,d=e.fallbackPlacements,p=e.padding,h=e.boundary,v=e.rootBoundary,m=e.altBoundary,y=e.flipVariations,g=void 0===y||y,w=e.allowedAutoPlacements,x=n.options.placement,O=b(x),j=d||(O!==x&&g?function(t){if("auto"===b(t))return[];var n=H(t);return[D(t),n,D(n)]}(x):[H(x)]),M=[x].concat(j).reduce((function(t,e){return t.concat("auto"===b(e)?Y(n,{placement:e,boundary:h,rootBoundary:v,padding:p,flipVariations:g,allowedAutoPlacements:w}):e)}),[]),k=n.rects.reference,P=n.rects.popper,C=new Map,A=!0,q=M[0],E=0;E<M.length;E++){var R=M[E],W=b(R),B="start"===L(R),S=[r,i].indexOf(W)>=0,I=S?"width":"height",T=X(n,{placement:R,boundary:h,rootBoundary:v,altBoundary:m,padding:p}),z=S?B?o:a:B?i:r;k[I]>P[I]&&(z=H(z));var F=H(z),V=[];if(s&&V.push(T[W]<=0),l&&V.push(T[z]<=0,T[F]<=0),V.every((function(t){return t}))){q=R,A=!1;break}C.set(R,V)}if(A)for(var $=function(t){var n=M.find((function(n){var e=C.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},_=g?3:1;_>0&&"break"!==$(_);_--);n.placement!==q&&(n.modifiersData[u]._skip=!0,n.placement=q,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,u=t.name,f=e.mainAxis,s=void 0===f||f,c=e.altAxis,l=void 0!==c&&c,d=e.tether,p=void 0===d||d,h=e.tetherOffset,v=void 0===h?0:h,g=X(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),w=b(n.placement),x=L(n.placement),O=!x,M=R(w),k="x"===M?"y":"x",P=n.modifiersData.popperOffsets,C=n.rects.reference,A=n.rects.popper,q="function"==typeof v?v(Object.assign({},n.rects,{placement:n.placement})):v,B="number"==typeof q?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),S=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,I={x:0,y:0};if(P){if(s){var T,z="y"===M?r:a,F="y"===M?i:o,H="y"===M?"height":"width",V=P[M],D=V+g[z],$=V-g[F],_=p?-A[H]/2:0,U="start"===x?C[H]:A[H],G="start"===x?-A[H]:-C[H],J=n.elements.arrow,K=p&&J?j(J):{width:0,height:0},N=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=N[z],Y=N[F],Z=W(0,C[H],K[H]),tt=O?C[H]/2-_-Z-Q-B.mainAxis:U-Z-Q-B.mainAxis,nt=O?-C[H]/2+_+Z+Y+B.mainAxis:G+Z+Y+B.mainAxis,et=n.elements.arrow&&E(n.elements.arrow),rt=null!=(T=null==S?void 0:S[M])?T:0,it=V+nt-rt,ot=W(p?y(D,V+tt-rt-(et?"y"===M?et.clientTop||0:et.clientLeft||0:0)):D,V,p?m($,it):$);P[M]=ot,I[M]=ot-V}if(l){var at,ut=P[k],ft="y"===k?"height":"width",st=ut+g["x"===M?r:a],ct=ut-g["x"===M?i:o],lt=-1!==[r,a].indexOf(w),dt=null!=(at=null==S?void 0:S[k])?at:0,pt=lt?st:ut-C[ft]-A[ft]-dt+B.altAxis,ht=lt?ut+C[ft]+A[ft]-dt-B.altAxis:ct,vt=p&<?function(t,n,e){var r=W(t,n,e);return r>e?e:r}(pt,ut,ht):W(p?pt:st,ut,p?ht:ct);P[k]=vt,I[k]=vt-ut}n.modifiersData[u]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,f=t.name,s=t.options,c=e.elements.arrow,l=e.modifiersData.popperOffsets,d=b(e.placement),p=R(d),h=[a,o].indexOf(d)>=0?"height":"width";if(c&&l){var v=function(t,n){return B("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:S(t,u))}(s.padding,e),m=j(c),y="y"===p?r:a,g="y"===p?i:o,w=e.rects.reference[h]+e.rects.reference[p]-l[p]-e.rects.popper[h],x=l[p]-e.rects.reference[p],O=E(c),M=O?"y"===p?O.clientHeight||0:O.clientWidth||0:0,k=M/2-m[h]/2+(w/2-x/2),P=W(v[y],k,M-m[h]-v[g]);e.modifiersData[f]=((n={})[p]=P,n.centerOffset=P-k,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&M(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,a=X(n,{elementContext:"reference"}),u=X(n,{altBoundary:!0}),f=Z(a,r),s=Z(u,i,o),c=tt(f),l=tt(s);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:l},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]});const ut=class{constructor(n){t(this,n),this.loaded=!1,this.openDirection="bottom",this.position="absolute",this.containerId=void 0,this.containerStyle={},this.parent=document.body,this.inheritParentWidth=!1,this.visible=!1,this.parents=new WeakMap}onVisible(){if(!this.visible)return this.hideContainer(),this.styleContainer(),void this.destroyPopper();this.styleContainer(),this.createPopper(),requestAnimationFrame((()=>{this.showContainer()}))}disconnectedCallback(){this.removeContainer(),this.destroyPopper(),this.observer&&this.observer.unobserve(this.container)}connectedCallback(){this.loaded&&(this.createContainer(),this.hideContainer(),this.attachContainer(),this.styleContainer(),this.visible&&(this.createPopper(),this.showContainer()),"ResizeObserver"in window)&&new ResizeObserver((()=>{this.popperInstance&&(this.styleContainer(),this.popperInstance.update())})).observe(this.container)}componentDidLoad(){this.loaded=!0,this.connectedCallback()}render(){return n("slot",null)}createContainer(){const t=this.host.shadowRoot.querySelector("slot"),n=t.assignedElements&&t.assignedElements()||[];this.container=document.createElement("div"),this.container.setAttribute("id",this.containerId),this.container.setAttribute("class","limel-portal--container"),Object.assign(this.container,{portalSource:this.host}),n.forEach((t=>{this.parents.set(t,t.parentElement),this.container.appendChild(t)}))}attachContainer(){this.parent.appendChild(this.container)}removeContainer(){this.container&&(Array.from(this.container.children).forEach((t=>{const n=this.parents.get(t);n&&n.appendChild(t)})),this.hideContainer(),this.container.parentElement.removeChild(this.container))}hideContainer(){this.container.style.opacity="0"}showContainer(){this.container.style.opacity="1"}styleContainer(){const t=this.host.getBoundingClientRect().width;if(this.container.style.display=this.visible?"block":"none",this.inheritParentWidth){let n=this.getContentWidth(this.container);t>0&&(n=t),this.container.style.width=`${n}px`}this.ensureContainerFitsInViewPort(),Object.keys(this.containerStyle).forEach((t=>{this.container.style[t]=this.containerStyle[t]}))}getContentWidth(t){if(!t)return null;const n=t.getBoundingClientRect().width;if(0!==n)return n;const e=t.querySelector("*");return this.getContentWidth(e)}createPopper(){const t=this.createPopperConfig();this.popperInstance=at(this.host,this.container,t)}destroyPopper(){var t;null===(t=this.popperInstance)||void 0===t||t.destroy(),this.popperInstance=null}createPopperConfig(){const t=this.getPlacement(this.openDirection),n=this.getFlipPlacement(this.openDirection);return{strategy:this.position,placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:[n]}}]}}getPlacement(t){return{"left-start":"left-start",left:"left","left-end":"left-end","right-start":"right-start",right:"right","right-end":"right-end","top-start":"top-start",top:"top","top-end":"top-end","bottom-start":"bottom-start",bottom:"bottom","bottom-end":"bottom-end"}[t]}getFlipPlacement(t){return{"left-start":"right-start",left:"right","left-end":"right-end","right-start":"left-start",right:"left","right-end":"left-end","top-start":"bottom-start",top:"bottom","top-end":"bottom-end","bottom-start":"top-start",bottom:"top","bottom-end":"top-end"}[t]}ensureContainerFitsInViewPort(){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),{top:n,bottom:e}=this.host.getBoundingClientRect(),r=Math.max(n,0),i=Math.max(t-e,0),o=Math.max(r,i)-16;this.container.style.maxHeight=`${o}px`}get host(){return e(this)}static get watchers(){return{visible:["onVisible"]}}};ut.style=":host(limel-portal){display:block;position:absolute;top:0;bottom:0;width:100%;pointer-events:none}:host([hidden]){display:none}";export{ut as limel_portal}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,g as e}from"./p-d4e788e1.js";import{c as s}from"./p-6c094f3f.js";const o=class{constructor(i){t(this,i),this.showTooltip=()=>{this.showTooltipTimeoutHandle=window.setTimeout((()=>{this.open=!0}),500)},this.hideTooltip=()=>{clearTimeout(this.showTooltipTimeoutHandle),this.open=!1},this.elementId=void 0,this.label=void 0,this.helperLabel=void 0,this.maxlength=50,this.open=void 0,this.portalId=s(),this.tooltipId=s()}connectedCallback(){this.setOwnerAriaLabel(),this.addListeners()}disconnectedCallback(){this.removeListeners()}render(){const t=getComputedStyle(this.host).getPropertyValue("--tooltip-z-index");return i("div",{class:"trigger-anchor"},i("limel-portal",{openDirection:"bottom-start",visible:this.open,containerId:this.portalId,containerStyle:{"z-index":t,"pointer-events":"none"}},i("limel-tooltip-content",{label:this.label,helperLabel:this.helperLabel,maxlength:this.maxlength,role:"tooltip","aria-hidden":!this.open,id:this.tooltipId})))}setOwnerAriaLabel(){const t=this.getOwnerElement();null==t||t.setAttribute("aria-describedby",this.tooltipId)}addListeners(){const t=this.getOwnerElement();null==t||t.addEventListener("mouseover",this.showTooltip),null==t||t.addEventListener("mouseout",this.hideTooltip),null==t||t.addEventListener("click",this.hideTooltip)}removeListeners(){const t=this.getOwnerElement();null==t||t.removeEventListener("mouseover",this.showTooltip),null==t||t.removeEventListener("mouseout",this.hideTooltip),null==t||t.removeEventListener("click",this.hideTooltip)}getOwnerElement(){let t=this.host;do{t=t.parentNode}while(t&&t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&t.nodeType!==Node.DOCUMENT_NODE);return null==t?void 0:t.getElementById(this.elementId)}get host(){return e(this)}};o.style=".trigger-anchor{position:relative}";const l=class{constructor(i){t(this,i),this.label=void 0,this.helperLabel=void 0,this.maxlength=void 0}render(){let t=!1;this.helperLabel&&this.maxlength&&(t=this.label.length+this.helperLabel.length>this.maxlength);const e={};return this.maxlength&&(e.style={"--tooltip-max-width-of-text":`${this.maxlength}ch`}),[i("text",Object.assign({class:{"has-column-layout":t}},e),i("div",{class:"label"},this.label),i("div",{class:"helper-label"},this.helperLabel))]}};l.style=":host{animation:display-tooltip 0.2s ease;display:flex;border-radius:0.25rem;padding:0.25rem 0.5rem;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16)}text{font-size:0.875rem;line-height:1.25;display:flex;column-gap:1rem}text.has-column-layout{display:table-cell;width:fit-content;max-width:min(var(--tooltip-max-width-of-text), 80vw)}text.has-column-layout .label{padding-bottom:0.5rem}text.has-column-layout .helper-label{padding-bottom:0.25rem}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}.helper-label:empty{display:none}@keyframes display-tooltip{0%{opacity:0;transform:translate3d(0, 0, 0) scale(0.94)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}";export{o as limel_tooltip,l as limel_tooltip_content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,H as a,g as e}from"./p-d4e788e1.js";import{d as h}from"./p-c70b1ea3.js";const o=class{constructor(i){t(this,i),this.changeTab=s(this,"changeTab",7),this.slotElements=[],this.tabs=[],this.handleChangeTabs=this.handleChangeTabs.bind(this),this.setSlotElements=this.setSlotElements.bind(this),this.setTabStatus=this.setTabStatus.bind(this)}connectedCallback(){this.initialize()}componentDidLoad(){this.initialize()}initialize(){const t=this.getSlot();t&&(t.addEventListener("slotchange",this.setSlotElements),this.setSlotElements(),this.tabs.forEach(this.setTabStatus))}disconnectedCallback(){this.getSlot().removeEventListener("slotchange",this.setSlotElements)}tabsChanged(){this.hidePanels(),this.tabs.forEach(this.setTabStatus)}render(){return i(a,{onChangeTab:this.handleChangeTabs},i("div",{class:"tab-panel"},i("limel-tab-bar",{tabs:this.tabs}),i("div",{class:"tab-content"},i("slot",null))))}setSlotElements(){const t=this.getSlot();this.hidePanels(),this.slotElements=[].slice.call(t.assignedElements()),this.tabs.forEach(this.setTabStatus)}setTabStatus(t){const s=this.slotElements.find((s=>s.id===t.id));s&&(s.style.display=t.active?"":"none",s.tab=t)}handleChangeTabs(t){this.tabs=this.tabs.map((s=>s.id===t.detail.id?t.detail:s)),this.setTabStatus(t.detail),setTimeout(h)}getSlot(){return this.host.shadowRoot.querySelector("slot")}hidePanels(){this.slotElements.forEach((t=>{t.style.display="none"}))}get host(){return e(this)}static get watchers(){return{tabs:["tabsChanged"]}}};o.style=":host(limel-tab-panel){--tab-panel-background-color:rgb(var(--contrast-100));display:block;height:100%}.tab-panel{height:100%;position:relative;display:flex;flex-direction:column}.tab-content{height:100%;flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;background-color:var(--tab-panel-background-color)}";export{o as limel_tab_panel}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as o,H as r}from"./p-d4e788e1.js";const i=class{constructor(r){e(this,r),this.select=t(this,"select",7),this.renderMenu=()=>{if(this.items.length)return o("limel-menu",{class:{primary:this.primary},disabled:this.disabled,items:this.items,openDirection:"bottom"},o("button",{class:"menu-trigger",slot:"trigger",disabled:this.disabled},"⋮"))},this.label=void 0,this.primary=!1,this.icon=void 0,this.disabled=!1,this.items=[]}render(){return o(r,{class:{"has-menu":!!this.items.length}},o("limel-button",{label:this.label,primary:this.primary,icon:this.icon,disabled:this.disabled}),this.renderMenu())}};i.style=':host(limel-split-button.has-menu){--button-padding-right:2rem}:host(limel-split-button){display:inline-flex;isolation:isolate}:host(limel-split-button) *{box-sizing:border-box}:host([disabled]){pointer-events:none}limel-button{width:100%}limel-menu{display:flex;justify-content:flex-end;position:relative;z-index:1;padding:0.125rem;margin-left:calc(var(--button-padding-right) * -1);width:var(--button-padding-right)}limel-menu:before{transition:background-color 0.5s ease;content:"";position:absolute;inset:0.375rem auto 0.375rem 0.6875rem;width:1px;background-color:currentColor;opacity:0.2}limel-menu:not([disabled]){color:var(--mdc-theme-primary, rgb(var(--color-teal-default)))}limel-menu:not([disabled]).primary{color:var(--mdc-theme-on-primary, rgb(var(--color-white)))}limel-menu[disabled]{color:rgba(var(--contrast-1600), 0.37)}limel-menu:hover:before,limel-menu:focus-within:before{background-color:transparent}.menu-trigger{all:unset;text-align:center;font-weight:bold;border-radius:0.125rem;height:100%;width:1rem}.menu-trigger:not(:disabled){transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:transparent;cursor:pointer}.menu-trigger:not(:disabled):hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}.menu-trigger:not(:disabled):active{box-shadow:var(--button-shadow-pressed);transform:translate3d(0, 0.08rem, 0)}.menu-trigger:not(:disabled):focus{outline:none}.menu-trigger:not(:disabled):focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}.menu-trigger:not(:disabled):focus-visible,.menu-trigger:not(:disabled):hover{background-color:rgb(var(--color-white), 0.1)}.menu-trigger:before{content:"";position:absolute;inset:-0.25rem;z-index:-1}';export{i as limel_split_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c,h as e}from"./p-d4e788e1.js";import{c as r}from"./p-6c094f3f.js";const t=class{constructor(e){i(this,e),this.change=c(this,"change",7),this.radioGroupName=r(),this.setSelectedButton=()=>{var i;this.selectedButtonId=null===(i=this.value.find((i=>i.selected)))||void 0===i?void 0:i.id},this.value=[],this.disabled=!1,this.selectedButtonId=void 0,this.renderButton=this.renderButton.bind(this),this.onChange=this.onChange.bind(this),this.renderContent=this.renderContent.bind(this)}componentWillLoad(){this.setSelectedButton()}render(){return e("div",{class:{"mdc-chip-set":!0,disabled:this.disabled,"mdc-chip-set--choice":!0},role:"grid"},this.value.map(this.renderButton))}renderButton(i){const c=`b${i.id}`,r={"mdc-chip":!0,"mdc-chip--selected":this.isButtonChecked(i)};return e("div",{class:r,role:"row"},e("span",{role:"gridcell"},e("input",{type:"radio",name:this.radioGroupName,checked:this.isButtonChecked(i),id:c,onChange:this.onChange}),e("label",{htmlFor:c},this.renderContent(i),this.renderBadge(i))))}renderContent(i){return i.icon?this.renderIcon(i):this.renderLabel(i)}isButtonChecked(i){return i.id===this.selectedButtonId}renderLabel(i){return e("span",{class:"mdc-chip__text"},i.title)}renderIcon(i){const c=`i${i.id}`;return[e("limel-icon",{id:c,class:"mdc-chip__icon","aria-label":i.title,name:i.icon,size:"small",badge:!0}),e("limel-tooltip",{elementId:c,label:i.title})]}renderBadge(i){if(i.badge)return e("limel-badge",{label:i.badge})}onChange(i){i.stopPropagation(),this.selectedButtonId=i.target.id.substr(1);const c=this.value.find((i=>i.id===this.selectedButtonId));this.change.emit(c)}valueChanged(){this.setSelectedButton()}static get watchers(){return{value:["valueChanged"]}}};t.style=':host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-touch-target-wrapper{display:inline}.mdc-deprecated-chip-trailing-action__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-deprecated-chip-trailing-action{border:none;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;padding:0;outline:none;cursor:pointer;-webkit-appearance:none;background:none}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__icon{height:18px;width:18px;font-size:18px}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__touch{width:26px}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__icon{fill:currentColor;color:inherit}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-deprecated-chip-trailing-action{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--unbounded .mdc-deprecated-chip-trailing-action__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--foreground-activation .mdc-deprecated-chip-trailing-action__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--foreground-deactivation .mdc-deprecated-chip-trailing-action__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{top:calc(50% - 50%);left:calc(50% - 50%);width:100%;height:100%}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{top:var(--mdc-ripple-top, calc(50% - 50%));left:var(--mdc-ripple-left, calc(50% - 50%));width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded .mdc-deprecated-chip-trailing-action__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple::after{background-color:#000;background-color:var(--mdc-ripple-color, var(--mdc-theme-on-surface, #000))}.mdc-deprecated-chip-trailing-action:hover .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action.mdc-ripple-surface--hover .mdc-deprecated-chip-trailing-action__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded--background-focused .mdc-deprecated-chip-trailing-action__ripple::before,.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded):focus .mdc-deprecated-chip-trailing-action__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded) .mdc-deprecated-chip-trailing-action__ripple::after{transition:opacity 150ms linear}.mdc-deprecated-chip-trailing-action:not(.mdc-ripple-upgraded):active .mdc-deprecated-chip-trailing-action__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-deprecated-chip-trailing-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-deprecated-chip-trailing-action .mdc-deprecated-chip-trailing-action__ripple{position:absolute;box-sizing:content-box;width:100%;height:100%;overflow:hidden}.mdc-chip__icon--leading{color:rgba(0, 0, 0, 0.54)}.mdc-deprecated-chip-trailing-action{color:#000}.mdc-chip__icon--trailing{color:rgba(0, 0, 0, 0.54)}.mdc-chip__icon--trailing:hover{color:rgba(0, 0, 0, 0.62)}.mdc-chip__icon--trailing:focus{color:rgba(0, 0, 0, 0.87)}.mdc-chip__icon.mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){width:20px;height:20px;font-size:20px}.mdc-deprecated-chip-trailing-action__icon{height:18px;width:18px;font-size:18px}.mdc-chip__icon.mdc-chip__icon--trailing{width:18px;height:18px;font-size:18px}.mdc-deprecated-chip-trailing-action{margin-left:4px;margin-right:-4px}[dir=rtl] .mdc-deprecated-chip-trailing-action,.mdc-deprecated-chip-trailing-action[dir=rtl]{margin-left:-4px;margin-right:4px;}.mdc-chip__icon--trailing{margin-left:4px;margin-right:-4px}[dir=rtl] .mdc-chip__icon--trailing,.mdc-chip__icon--trailing[dir=rtl]{margin-left:-4px;margin-right:4px;}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-chip{border-radius:16px;background-color:#e0e0e0;color:rgba(0, 0, 0, 0.87);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);height:32px;position:relative;display:inline-flex;align-items:center;box-sizing:border-box;padding:0 12px;border-width:0;outline:none;cursor:pointer;-webkit-appearance:none}.mdc-chip .mdc-chip__ripple{border-radius:16px}.mdc-chip:hover{color:rgba(0, 0, 0, 0.87)}.mdc-chip.mdc-chip--selected .mdc-chip__checkmark,.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden){margin-left:-4px;margin-right:4px}[dir=rtl] .mdc-chip.mdc-chip--selected .mdc-chip__checkmark,[dir=rtl] .mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden),.mdc-chip.mdc-chip--selected .mdc-chip__checkmark[dir=rtl],.mdc-chip .mdc-chip__icon--leading:not(.mdc-chip__icon--leading-hidden)[dir=rtl]{margin-left:4px;margin-right:-4px;}.mdc-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-chip::-moz-focus-inner{padding:0;border:0}.mdc-chip:hover{color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-chip .mdc-chip__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-chip--exit{transition:opacity 75ms cubic-bezier(0.4, 0, 0.2, 1), width 150ms cubic-bezier(0, 0, 0.2, 1), padding 100ms linear, margin 100ms linear;opacity:0}.mdc-chip__overflow{text-overflow:ellipsis;overflow:hidden}.mdc-chip__text{white-space:nowrap}.mdc-chip__icon{border-radius:50%;outline:none;vertical-align:middle}.mdc-chip__checkmark{height:20px}.mdc-chip__checkmark-path{transition:stroke-dashoffset 150ms 50ms cubic-bezier(0.4, 0, 0.6, 1);stroke-width:2px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-chip__primary-action:focus{outline:none}.mdc-chip--selected .mdc-chip__checkmark-path{stroke-dashoffset:0}.mdc-chip__icon--leading,.mdc-chip__icon--trailing{position:relative}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__icon--leading{color:rgba(38, 166, 154, 0.54)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-chip-set--choice .mdc-chip .mdc-chip__checkmark-path{stroke:#26a69a;stroke:var(--mdc-theme-primary, #26a69a)}.mdc-chip-set--choice .mdc-chip--selected{background-color:#fff;background-color:var(--mdc-theme-surface, #fff)}.mdc-chip__checkmark-svg{width:0;height:20px;transition:width 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-chip--selected .mdc-chip__checkmark-svg{width:20px}.mdc-chip-set--filter .mdc-chip__icon--leading{transition:opacity 75ms linear;transition-delay:-50ms;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark{transition:opacity 75ms linear;transition-delay:80ms;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading+.mdc-chip__checkmark .mdc-chip__checkmark-svg{transition:width 0ms}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading{opacity:0}.mdc-chip-set--filter .mdc-chip--selected .mdc-chip__icon--leading+.mdc-chip__checkmark{width:0;opacity:1}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading{width:0;opacity:0}.mdc-chip-set--filter .mdc-chip__icon--leading-hidden.mdc-chip__icon--leading+.mdc-chip__checkmark{width:20px}.mdc-chip{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);will-change:transform, opacity}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-chip .mdc-chip__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-chip .mdc-chip__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-chip.mdc-ripple-upgraded--unbounded .mdc-chip__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-chip.mdc-ripple-upgraded--foreground-activation .mdc-chip__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-chip.mdc-ripple-upgraded--foreground-deactivation .mdc-chip__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-chip.mdc-ripple-upgraded .mdc-chip__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-chip .mdc-chip__ripple::before,.mdc-chip .mdc-chip__ripple::after{background-color:rgba(0, 0, 0, 0.87);background-color:var(--mdc-ripple-color, rgba(0, 0, 0, 0.87))}.mdc-chip:hover .mdc-chip__ripple::before,.mdc-chip.mdc-ripple-surface--hover .mdc-chip__ripple::before{opacity:0.04;opacity:var(--mdc-ripple-hover-opacity, 0.04)}.mdc-chip.mdc-ripple-upgraded--background-focused .mdc-chip__ripple::before,.mdc-chip.mdc-ripple-upgraded:focus-within .mdc-chip__ripple::before,.mdc-chip:not(.mdc-ripple-upgraded):focus .mdc-chip__ripple::before,.mdc-chip:not(.mdc-ripple-upgraded):focus-within .mdc-chip__ripple::before{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-focus-opacity, 0.12)}.mdc-chip:not(.mdc-ripple-upgraded) .mdc-chip__ripple::after{transition:opacity 150ms linear}.mdc-chip:not(.mdc-ripple-upgraded):active .mdc-chip__ripple::after{transition-duration:75ms;opacity:0.12;opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-chip.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.12)}.mdc-chip .mdc-chip__ripple{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::before{opacity:0.16;opacity:var(--mdc-ripple-selected-opacity, 0.16)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected .mdc-chip__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:hover .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-surface--hover .mdc-chip__ripple::before{opacity:0.24;opacity:var(--mdc-ripple-hover-opacity, 0.24)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded--background-focused .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded:focus-within .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):focus .mdc-chip__ripple::before,.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):focus-within .mdc-chip__ripple::before{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-focus-opacity, 0.4)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded) .mdc-chip__ripple::after{transition:opacity 150ms linear}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected:not(.mdc-ripple-upgraded):active .mdc-chip__ripple::after{transition-duration:75ms;opacity:0.4;opacity:var(--mdc-ripple-press-opacity, 0.4)}.mdc-chip-set--choice .mdc-chip.mdc-chip--selected.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.4)}@keyframes mdc-chip-entry{from{transform:scale(0.8);opacity:0.4}to{transform:scale(1);opacity:1}}.mdc-chip-set{padding:4px;display:flex;flex-wrap:wrap;box-sizing:border-box}.mdc-chip-set .mdc-chip{margin:4px}.mdc-chip-set .mdc-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-chip-set--input .mdc-chip{animation:mdc-chip-entry 100ms cubic-bezier(0, 0, 0.2, 1)}.mdc-chip{transition:color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease-out;cursor:pointer;color:var(--mdc-theme-on-surface);background-color:transparent;max-width:100%;min-width:2rem;padding:0 0.0625rem;display:inline-grid;grid-auto-flow:column;margin:0.125rem !important;font-size:0.875rem}.mdc-chip:hover{color:var(--mdc-theme-on-surface);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}.mdc-chip:active{background-color:var(--mdc-theme-surface);box-shadow:var(--button-shadow-inset-pressed);transform:translate3d(0, 0.05rem, 0)}.mdc-chip:not(:last-child):after{content:"";display:block;height:1rem;width:0.125rem;border-radius:0.25rem;background-color:var(--button-group-text-color, rgb(var(--contrast-1200)));opacity:0.1;position:absolute;right:-0.1875rem;top:0;bottom:0;margin:auto}.mdc-chip label{cursor:pointer;transition:color 0.2s ease;display:flex;align-items:center}.mdc-chip label:has(>limel-badge) .mdc-chip__text{padding-right:0.25rem}.mdc-chip input[type=radio]{width:0;position:absolute;opacity:0}.mdc-chip input[type=radio]:focus-visible+label:after{content:"";display:block;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:3.75rem;box-shadow:var(--shadow-depth-8-focused);z-index:1}.mdc-chip span[role=gridcell]{min-width:0}.mdc-chip span[role=gridcell]:focus-within{outline:none;color:var(--mdc-theme-primary)}.mdc-chip span[role=gridcell]:only-child .mdc-chip__text{padding-left:0.75rem}.mdc-chip span[role=gridcell]:first-child .mdc-chip__text{padding-left:0.75rem}.mdc-chip.mdc-chip--selected{background-color:var(--mdc-theme-surface);box-shadow:var(--button-shadow-inset)}.mdc-chip.mdc-chip--selected:active{box-shadow:var(--button-shadow-inset-pressed)}.mdc-chip__text{font-size:0.8125rem;overflow:hidden;text-overflow:ellipsis;display:block;padding:0 0.75rem 0 0.25rem}.mdc-chip-set{align-items:center;border-radius:3.75rem;background-color:var(--button-group-background-color, rgb(var(--contrast-400)));padding:0;width:max-content;max-width:100%;flex-wrap:nowrap}.mdc-chip-set.disabled{cursor:not-allowed;pointer-events:none;opacity:0.4}limel-badge{margin-right:0.25rem;pointer-events:none}.mdc-chip:not(.mdc-chip--selected){--badge-background-color:rgb(var(--contrast-200))}';export{t as limel_button_group}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as o,h as a,g as e}from"./p-d4e788e1.js";import{t as l}from"./p-b59e4287.js";import{c as t}from"./p-6c094f3f.js";import{M as i}from"./p-1c284626.js";import"./p-48d4ef20.js";import"./p-cbc43682.js";import"./p-dcc97cc2.js";import"./p-d0a7de87.js";const g="ms_word_copyrighted",c="ms_powerpoint_copyrighted",s={msg:"ms_outlook_copyrighted",ics:"tear_off_calendar",ical:"tear_off_calendar",icalendar:"tear_off_calendar",ifb:"tear_off_calendar",email:"email",eml:"email",oft:"email",ost:"email",emlx:"email",html:"internet",xml:"internet",txt:"text_box",rtf:"text_box",dot:g,doc:g,docx:g,dotx:g,docm:g,dotm:g,odt:"overview_pages_2",pages:"overview_pages_2",pdf:"PDF_2",ppt:c,pot:c,pps:c,pptx:c,pptm:c,potx:c,potm:c,ppam:c,ppsx:c,ppsm:c,sldx:c,sldm:c,odp:"presentation_filled",key:"presentation_filled",xls:"ms_excel_copyrighted",xlsx:"ms_excel_copyrighted",csv:"data_sheet",numbers:"data_sheet",jpg:"camera",jpeg:"camera",heic:"camera",bmp:"picture",png:"picture",gif:"picture",psd:"adobe_photoshop_copyrighted",ai:"adobe_illustrator_copyrighted",svg:"vector",svgz:"vector",ep:"vector",eps:"vector",sketch:"vector",mp3:"audio_wave",wav:"audio_wave",wma:"audio_wave",ogg:"audio_wave",avi:"video_file",flv:"video_file",h264:"video_file",mov:"video_file",mp4:"video_file",mwv:"video_file",zip:"condom_package","7z":"condom_package",rar:"condom_package",json:"json",yaml:"database",sql:"database",db:"database",dbf:"database"},d="rgb(var(--color-glaucous-dark))",h={msg:"rgb(var(--color-yellow-dark))",ics:"rgb(var(--color-cyan-dark))",ical:"rgb(var(--color-cyan-dark))",icalendar:"rgb(var(--color-cyan-dark))",ifb:"rgb(var(--color-cyan-dark))",email:"rgb(var(--color-gray-dark))",eml:"rgb(var(--color-gray-dark))",oft:"rgb(var(--color-gray-dark))",ost:"rgb(var(--color-gray-dark))",emlx:"rgb(var(--color-gray-dark))",html:"rgb(var(--color-blue-dark))",xml:"rgb(var(--color-blue-dark))",txt:"rgb(var(--color-yellow-darker))",rtf:"rgb(var(--color-yellow-darker))",dot:"rgb(var(--color-sky-dark))",doc:"rgb(var(--color-sky-dark))",docx:"rgb(var(--color-sky-dark))",dotx:"rgb(var(--color-sky-dark))",docm:"rgb(var(--color-sky-dark))",dotm:"rgb(var(--color-sky-dark))",odt:"rgb(var(--color-orange-dark))",pages:"rgb(var(--color-orange-dark))",pdf:"rgb(var(--color-red-dark))",ppt:"rgb(var(--color-coral-dark))",pot:"rgb(var(--color-coral-dark))",pps:"rgb(var(--color-coral-dark))",pptx:"rgb(var(--color-coral-dark))",pptm:"rgb(var(--color-coral-dark))",potx:"rgb(var(--color-coral-dark))",potm:"rgb(var(--color-coral-dark))",ppam:"rgb(var(--color-coral-dark))",ppsx:"rgb(var(--color-coral-dark))",ppsm:"rgb(var(--color-coral-dark))",sldx:"rgb(var(--color-coral-dark))",sldm:"rgb(var(--color-coral-dark))",odp:"rgb(var(--color-blue-dark))",key:"rgb(var(--color-blue-dark))",xls:"rgb(var(--color-green-dark))",xlsx:"rgb(var(--color-green-dark))",csv:"rgb(var(--color-gray-dark))",numbers:"rgb(var(--color-green-dark))",bmp:"rgb(var(--color-lime-dark))",jpg:"rgb(var(--color-lime-dark))",jpeg:"rgb(var(--color-lime-dark))",heic:"rgb(var(--color-lime-dark))",png:"rgb(var(--color-lime-dark))",gif:"rgb(var(--color-lime-dark))",psd:"rgb(var(--color-blue-dark))",ai:"rgb(var(--color-orange-dark))",svg:"rgb(var(--color-magenta-dark))",svgz:"rgb(var(--color-magenta-dark))",ep:"rgb(var(--color-magenta-dark))",eps:"rgb(var(--color-magenta-dark))",sketch:"rgb(var(--color-magenta-dark))",mp3:"rgb(var(--color-indigo-dark))",wav:"rgb(var(--color-indigo-dark))",wma:"rgb(var(--color-indigo-dark))",ogg:"rgb(var(--color-indigo-dark))",flv:"rgb(var(--color-red-dark))",h264:"rgb(var(--color-red-dark))",mov:"rgb(var(--color-red-dark))",mp4:"rgb(var(--color-red-dark))",mwv:"rgb(var(--color-red-dark))",zip:"rgb(var(--color-brown-default))","7z":"rgb(var(--color-brown-default))",rar:"rgb(var(--color-brown-default))",json:d,yaml:d,sql:d,db:d,dbf:d},n="rgba(var(--color-coral-lighter), 0.4)",v="rgba(var(--color-sky-lighter), 0.4)",b="rgba(var(--color-glaucous-lighter), 0.4)",p={msg:"rgba(var(--color-yellow-lighter), 0.4)",ics:"rgba(var(--color-cyan-lighter), 0.4)",ical:"rgba(var(--color-cyan-lighter), 0.4)",icalendar:"rgba(var(--color-cyan-lighter), 0.4)",ifb:"rgba(var(--color-cyan-lighter), 0.4)",email:"rgba(var(--color-gray-lighter), 0.4)",eml:"rgba(var(--color-gray-lighter), 0.4)",oft:"rgba(var(--color-gray-lighter), 0.4)",ost:"rgba(var(--color-gray-lighter), 0.4)",emlx:"rgba(var(--color-gray-lighter), 0.4)",html:"rgba(var(--color-blue-lighter), 0.4)",xml:"rgba(var(--color-blue-lighter), 0.4)",txt:"rgba(var(--color-yellow-lighter), 0.4)",rtf:"rgba(var(--color-yellow-lighter), 0.4)",dot:v,doc:v,docx:v,dotx:v,docm:v,dotm:v,odt:"rgba(var(--color-orange-lighter), 0.4)",pages:"rgba(var(--color-orange-lighter), 0.4)",pdf:"rgba(var(--color-red-lighter), 0.4)",ppt:n,pot:n,pps:n,pptx:n,pptm:n,potx:n,potm:n,ppam:n,ppsx:n,ppsm:n,sldx:n,sldm:n,odp:"rgba(var(--color-blue-lighter), 0.4)",key:"rgba(var(--color-blue-lighter), 0.4)",xls:"rgba(var(--color-green-lighter), 0.4)",xlsx:"rgba(var(--color-green-lighter), 0.4)",csv:"rgba(var(--color-gray-lighter), 0.4)",numbers:"rgba(var(--color-green-lighter), 0.4)",bmp:"rgba(var(--color-lime-lighter), 0.4)",jpg:"rgba(var(--color-lime-lighter), 0.4)",jpeg:"rgba(var(--color-lime-lighter), 0.4)",heic:"rgba(var(--color-lime-lighter), 0.4)",png:"rgba(var(--color-lime-lighter), 0.4)",gif:"rgba(var(--color-lime-lighter), 0.4)",psd:"rgba(var(--color-blue-lighter), 0.4)",ai:"rgba(var(--color-orange-lighter), 0.4)",svg:"rgba(var(--color-magenta-lighter), 0.4)",svgz:"rgba(var(--color-magenta-lighter), 0.4)",ep:"rgba(var(--color-magenta-lighter), 0.4)",eps:"rgba(var(--color-magenta-lighter), 0.4)",sketch:"rgba(var(--color-magenta-lighter), 0.4)",mp3:"rgba(var(--color-indigo-lighter), 0.4)",wav:"rgba(var(--color-indigo-lighter), 0.4)",wma:"rgba(var(--color-indigo-lighter), 0.4)",ogg:"rgba(var(--color-indigo-lighter), 0.4)",flv:"rgba(var(--color-red-lighter), 0.4)",h264:"rgba(var(--color-red-lighter), 0.4)",mov:"rgba(var(--color-red-lighter), 0.4)",mp4:"rgba(var(--color-red-lighter), 0.4)",mwv:"rgba(var(--color-red-lighter), 0.4)",zip:"rgba(var(--color-orange-lighter), 0.4)","7z":"rgba(var(--color-orange-lighter), 0.4)",rar:"rgba(var(--color-orange-lighter), 0.4)",json:b,yaml:b,sql:b,db:b,dbf:b};function m(r){if(null==r?void 0:r.icon)return r.icon;const o=u(r);return o?function(r){return s[r.toLowerCase()]||"file"}(o):void 0}function k(r){if(null==r?void 0:r.iconColor)return r.iconColor;const o=u(r);return o?function(r){return h[r.toLowerCase()]||"rgb(var(--color-gray-dark))"}(o):void 0}function f(r){if(null==r?void 0:r.iconBackgroundColor)return r.iconBackgroundColor;const o=u(r);return o?function(r){return p[r.toLowerCase()]||"rgba(var(--color-gray-lighter), 0.4)"}(o):void 0}function u(r){if(r)return r.filename.split(".").pop()}const y={id:null,text:null,removable:!0},_=class{constructor(a){r(this,a),this.change=o(this,"change",7),this.interact=o(this,"interact",7),this.fileInputId=t(),this.handleDragEnter=r=>{this.isDraggingOverDropZone=!0,this.preventAndStop(r)},this.handleDragLeave=()=>{this.isDraggingOverDropZone=!1},this.handleFileDrop=r=>{this.preventAndStop(r),this.isDraggingOverDropZone=!1,this.handleFile(r.dataTransfer.files[0])},this.value=void 0,this.label=void 0,this.required=!1,this.disabled=!1,this.readonly=!1,this.accept="*",this.language="en",this.isDraggingOverDropZone=!1,this.handleFileSelection=this.handleFileSelection.bind(this),this.handleFileChange=this.handleFileChange.bind(this),this.handleChipSetChange=this.handleChipSetChange.bind(this),this.handleFileDrop=this.handleFileDrop.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.handleChipInteract=this.handleChipInteract.bind(this)}connectedCallback(){this.initialize()}componentDidLoad(){this.fileInput=this.element.shadowRoot.getElementById(this.fileInputId),this.chipSet=this.element.shadowRoot.querySelector("limel-chip-set"),this.initialize()}initialize(){this.chipSet&&(this.mdcTextField=new i(this.chipSet.shadowRoot.querySelector(".mdc-text-field")))}disconnectedCallback(){this.mdcTextField&&this.mdcTextField.destroy()}render(){return[a("input",{hidden:!0,id:this.fileInputId,onChange:this.handleFileChange,type:"file",accept:this.accept,disabled:this.disabled||this.readonly}),a("limel-chip-set",{class:{"is-file-picker":!0,"shows-dropzone":!0,"highlight-dropzone":this.isDraggingOverDropZone},disabled:this.disabled,readonly:this.readonly,label:this.label,leadingIcon:"upload_to_cloud",language:this.language,onChange:this.handleChipSetChange,onClick:this.handleFileSelection,onInteract:this.handleChipInteract,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,required:this.required,type:"input",value:this.chipArray,title:this.getTranslation("drag-and-drop-tips"),onDragEnter:this.handleDragEnter,onDragOver:this.preventAndStop,onDragLeave:this.handleDragLeave,onDrop:this.handleFileDrop})]}get chipArray(){return this.value?[Object.assign(Object.assign({},y),{text:this.value.filename,id:this.value.id,icon:m(this.value),iconFillColor:k(this.value),iconBackgroundColor:f(this.value),href:this.value.href,iconTitle:(r=this.value,(null==r?void 0:r.icon)?r.icon:u(r))})]:[];var r}handleKeyDown(r){"Tab"!==r.code&&"Backspace"!==r.code&&"Enter"!==r.code&&(r.preventDefault(),r.stopPropagation())}handleKeyUp(r){"Enter"!==r.code||this.value||this.fileInput.click()}handleFileSelection(r){r.stopPropagation(),r.preventDefault(),this.value||this.fileInput.click()}handleFileChange(r){this.fileInput.files.length>0&&(r.stopPropagation(),this.handleFile(this.fileInput.files[0]))}handleFile(r){const o={id:t(),filename:r.name,contentType:r.type,size:r.size,fileContent:r};this.change.emit(o),this.chipSet.blur(),this.mdcTextField.valid=!0}handleChipSetChange(r){r.stopPropagation();const o=r.detail.length?null:r.detail[0];this.chipSet.blur(),o||(this.fileInput.value="",this.change.emit(o),this.required&&(this.mdcTextField.valid=!1))}handleChipInteract(r){r.stopPropagation(),r.preventDefault(),this.interact.emit(r.detail.id)}preventAndStop(r){r.stopPropagation(),r.preventDefault()}getTranslation(r){return l.get(`file.${r}`,this.language)}get element(){return e(this)}};_.style=":host{--icon-background-color:rgb(var(--contrast-400));--icon-color:rgb(var(--contrast-1100))}";export{_ as limel_file}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-d4e788e1.js";const n=class{constructor(t){e(this,t),this.direction="horizontal",this.justify="space-between",this.align="center",this.reverse=!1}componentWillLoad(){console.warn("limel-flex-container is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox")}render(){return t("slot",null)}};n.style=":host(limel-flex-container){display:flex}:host(limel-flex-container[hidden]){display:none}:host(limel-flex-container[direction=horizontal]){flex-direction:row}:host(limel-flex-container[direction=horizontal][reverse]){flex-direction:row-reverse}:host(limel-flex-container[direction=vertical]){flex-direction:column}:host(limel-flex-container[direction=vertical][reverse]){flex-direction:column-reverse}:host(limel-flex-container[align=start]){align-items:flex-start}:host(limel-flex-container[align=end]){align-items:flex-end}:host(limel-flex-container[align=center]){align-items:center}:host(limel-flex-container[align=stretch]){align-items:stretch}:host(limel-flex-container[justify=start]){justify-content:flex-start}:host(limel-flex-container[justify=end]){justify-content:flex-end}:host(limel-flex-container[justify=center]){justify-content:center}:host(limel-flex-container[justify=space-between]){justify-content:space-between}:host(limel-flex-container[justify=space-around]){justify-content:space-around}:host(limel-flex-container[justify=space-evenly]){justify-content:space-evenly}:host(limel-flex-container[slot=button]){gap:0.5rem;width:100%;justify-content:flex-end}:host(limel-flex-container[slot=button][direction=horizontal][reverse]){justify-content:flex-start}";export{n as limel_flex_container}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import{r as t,c as n,h as i,g as a}from"./p-d4e788e1.js";import{t as r}from"./p-b59e4287.js";import{M as c,a as s}from"./p-48d4ef20.js";import{c as e}from"./p-dcc97cc2.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license
|
|
4
|
-
* Copyright 2018 Google Inc.
|
|
5
|
-
*
|
|
6
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
* in the Software without restriction, including without limitation the rights
|
|
9
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
* furnished to do so, subject to the following conditions:
|
|
12
|
-
*
|
|
13
|
-
* The above copyright notice and this permission notice shall be included in
|
|
14
|
-
* all copies or substantial portions of the Software.
|
|
15
|
-
*
|
|
16
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
22
|
-
* THE SOFTWARE.
|
|
23
|
-
*/var o={CLOSING:"mdc-snackbar--closing",OPEN:"mdc-snackbar--open",OPENING:"mdc-snackbar--opening"},d={ACTION_SELECTOR:".mdc-snackbar__action",ARIA_LIVE_LABEL_TEXT_ATTR:"data-mdc-snackbar-label-text",CLOSED_EVENT:"MDCSnackbar:closed",CLOSING_EVENT:"MDCSnackbar:closing",DISMISS_SELECTOR:".mdc-snackbar__dismiss",LABEL_SELECTOR:".mdc-snackbar__label",OPENED_EVENT:"MDCSnackbar:opened",OPENING_EVENT:"MDCSnackbar:opening",REASON_ACTION:"action",REASON_DISMISS:"dismiss",SURFACE_SELECTOR:".mdc-snackbar__surface"},m={DEFAULT_AUTO_DISMISS_TIMEOUT_MS:5e3,INDETERMINATE:-1,MAX_AUTO_DISMISS_TIMEOUT_MS:1e4,MIN_AUTO_DISMISS_TIMEOUT_MS:4e3,SNACKBAR_ANIMATION_CLOSE_TIME_MS:75,SNACKBAR_ANIMATION_OPEN_TIME_MS:150,ARIA_LIVE_DELAY_MS:1e3},l=m.ARIA_LIVE_DELAY_MS,b=d.ARIA_LIVE_LABEL_TEXT_ATTR;function u(t,n){void 0===n&&(n=t);var i=t.getAttribute("aria-live"),a=n.textContent.trim();a&&i&&(t.setAttribute("aria-live","off"),n.textContent="",n.innerHTML='<span style="display: inline-block; width: 0; height: 1px;"> </span>',n.setAttribute(b,a),setTimeout((function(){t.setAttribute("aria-live",i),n.removeAttribute(b),n.textContent=a}),l))}
|
|
24
|
-
/*! *****************************************************************************
|
|
25
|
-
Copyright (c) Microsoft Corporation.
|
|
26
|
-
|
|
27
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
28
|
-
purpose with or without fee is hereby granted.
|
|
29
|
-
|
|
30
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
31
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
32
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
33
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
34
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
35
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
36
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
37
|
-
***************************************************************************** */var p=function(t,n){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])})(t,n)};function f(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}p(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var h=function(){return(h=Object.assign||function(t){for(var n,i=1,a=arguments.length;i<a;i++)for(var r in n=arguments[i])Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);return t}).apply(this,arguments)},_=o.OPENING,g=o.OPEN,k=o.CLOSING,v=d.REASON_ACTION,y=d.REASON_DISMISS,x=function(t){function n(i){var a=t.call(this,h(h({},n.defaultAdapter),i))||this;return a.opened=!1,a.animationFrame=0,a.animationTimer=0,a.autoDismissTimer=0,a.autoDismissTimeoutMs=m.DEFAULT_AUTO_DISMISS_TIMEOUT_MS,a.closeOnEscape=!0,a}return f(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return o},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return d},enumerable:!1,configurable:!0}),Object.defineProperty(n,"numbers",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{addClass:function(){},announce:function(){},notifyClosed:function(){},notifyClosing:function(){},notifyOpened:function(){},notifyOpening:function(){},removeClass:function(){}}},enumerable:!1,configurable:!0}),n.prototype.destroy=function(){this.clearAutoDismissTimer(),cancelAnimationFrame(this.animationFrame),this.animationFrame=0,clearTimeout(this.animationTimer),this.animationTimer=0,this.adapter.removeClass(_),this.adapter.removeClass(g),this.adapter.removeClass(k)},n.prototype.open=function(){var t=this;this.clearAutoDismissTimer(),this.opened=!0,this.adapter.notifyOpening(),this.adapter.removeClass(k),this.adapter.addClass(_),this.adapter.announce(),this.runNextAnimationFrame((function(){t.adapter.addClass(g),t.animationTimer=setTimeout((function(){var n=t.getTimeoutMs();t.handleAnimationTimerEnd(),t.adapter.notifyOpened(),n!==m.INDETERMINATE&&(t.autoDismissTimer=setTimeout((function(){t.close(y)}),n))}),m.SNACKBAR_ANIMATION_OPEN_TIME_MS)}))},n.prototype.close=function(t){var n=this;void 0===t&&(t=""),this.opened&&(cancelAnimationFrame(this.animationFrame),this.animationFrame=0,this.clearAutoDismissTimer(),this.opened=!1,this.adapter.notifyClosing(t),this.adapter.addClass(o.CLOSING),this.adapter.removeClass(o.OPEN),this.adapter.removeClass(o.OPENING),clearTimeout(this.animationTimer),this.animationTimer=setTimeout((function(){n.handleAnimationTimerEnd(),n.adapter.notifyClosed(t)}),m.SNACKBAR_ANIMATION_CLOSE_TIME_MS))},n.prototype.isOpen=function(){return this.opened},n.prototype.getTimeoutMs=function(){return this.autoDismissTimeoutMs},n.prototype.setTimeoutMs=function(t){var n=m.MIN_AUTO_DISMISS_TIMEOUT_MS,i=m.MAX_AUTO_DISMISS_TIMEOUT_MS;if(!(t===m.INDETERMINATE||t<=i&&t>=n))throw new Error("\n timeoutMs must be an integer in the range "+n+"–"+i+"\n (or "+m.INDETERMINATE+" to disable), but got '"+t+"'");this.autoDismissTimeoutMs=t},n.prototype.getCloseOnEscape=function(){return this.closeOnEscape},n.prototype.setCloseOnEscape=function(t){this.closeOnEscape=t},n.prototype.handleKeyDown=function(t){("Escape"===t.key||27===t.keyCode)&&this.getCloseOnEscape()&&this.close(y)},n.prototype.handleActionButtonClick=function(){this.close(v)},n.prototype.handleActionIconClick=function(){this.close(y)},n.prototype.clearAutoDismissTimer=function(){clearTimeout(this.autoDismissTimer),this.autoDismissTimer=0},n.prototype.handleAnimationTimerEnd=function(){this.animationTimer=0,this.adapter.removeClass(o.OPENING),this.adapter.removeClass(o.CLOSING)},n.prototype.runNextAnimationFrame=function(t){var n=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame((function(){n.animationFrame=0,clearTimeout(n.animationTimer),n.animationTimer=setTimeout(t,0)}))},n}(c),E=d.SURFACE_SELECTOR,O=d.LABEL_SELECTOR,T=d.ACTION_SELECTOR,S=d.DISMISS_SELECTOR,w=d.OPENING_EVENT,A=d.OPENED_EVENT,C=d.CLOSING_EVENT,I=d.CLOSED_EVENT,M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return f(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(t){void 0===t&&(t=function(){return u}),this.announce=t()},n.prototype.initialSyncWithDOM=function(){var t=this;this.surfaceEl=this.root.querySelector(E),this.labelEl=this.root.querySelector(O),this.actionEl=this.root.querySelector(T),this.handleKeyDown=function(n){t.foundation.handleKeyDown(n)},this.handleSurfaceClick=function(n){var i=n.target;t.isActionButton(i)?t.foundation.handleActionButtonClick(n):t.isActionIcon(i)&&t.foundation.handleActionIconClick(n)},this.registerKeyDownHandler(this.handleKeyDown),this.registerSurfaceClickHandler(this.handleSurfaceClick)},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.deregisterKeyDownHandler(this.handleKeyDown),this.deregisterSurfaceClickHandler(this.handleSurfaceClick)},n.prototype.open=function(){this.foundation.open()},n.prototype.close=function(t){void 0===t&&(t=""),this.foundation.close(t)},n.prototype.getDefaultFoundation=function(){var t=this;return new x({addClass:function(n){t.root.classList.add(n)},announce:function(){t.announce(t.labelEl)},notifyClosed:function(n){return t.emit(I,n?{reason:n}:{})},notifyClosing:function(n){return t.emit(C,n?{reason:n}:{})},notifyOpened:function(){return t.emit(A,{})},notifyOpening:function(){return t.emit(w,{})},removeClass:function(n){return t.root.classList.remove(n)}})},Object.defineProperty(n.prototype,"timeoutMs",{get:function(){return this.foundation.getTimeoutMs()},set:function(t){this.foundation.setTimeoutMs(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnEscape",{get:function(){return this.foundation.getCloseOnEscape()},set:function(t){this.foundation.setCloseOnEscape(t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.foundation.isOpen()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelText",{get:function(){return this.labelEl.textContent},set:function(t){this.labelEl.textContent=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actionButtonText",{get:function(){return this.actionEl.textContent},set:function(t){this.actionEl.textContent=t},enumerable:!1,configurable:!0}),n.prototype.registerKeyDownHandler=function(t){this.listen("keydown",t)},n.prototype.deregisterKeyDownHandler=function(t){this.unlisten("keydown",t)},n.prototype.registerSurfaceClickHandler=function(t){this.surfaceEl.addEventListener("click",t)},n.prototype.deregisterSurfaceClickHandler=function(t){this.surfaceEl.removeEventListener("click",t)},n.prototype.isActionButton=function(t){return Boolean(e(t,T))},n.prototype.isActionIcon=function(t){return Boolean(e(t,S))},n}(s);
|
|
38
|
-
/**
|
|
39
|
-
* @license
|
|
40
|
-
* Copyright 2018 Google Inc.
|
|
41
|
-
*
|
|
42
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
43
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
44
|
-
* in the Software without restriction, including without limitation the rights
|
|
45
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
46
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
47
|
-
* furnished to do so, subject to the following conditions:
|
|
48
|
-
*
|
|
49
|
-
* The above copyright notice and this permission notice shall be included in
|
|
50
|
-
* all copies or substantial portions of the Software.
|
|
51
|
-
*
|
|
52
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
53
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
54
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
55
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
56
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
57
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
58
|
-
* THE SOFTWARE.
|
|
59
|
-
*/const N=class{constructor(i){t(this,i),this.action=n(this,"action",7),this.hide=n(this,"hide",7),this.message=void 0,this.timeout=5e3,this.actionText=void 0,this.dismissible=!0,this.multiline=void 0,this.language="en",this.handleMdcClosing=this.handleMdcClosing.bind(this)}connectedCallback(){this.initialize()}componentDidLoad(){this.initialize()}initialize(){const t=this.host.shadowRoot.querySelector(".mdc-snackbar");t&&(this.mdcSnackbar=new M(t),this.mdcSnackbar.listen("MDCSnackbar:closing",this.handleMdcClosing))}disconnectedCallback(){this.mdcSnackbar.unlisten("MDCSnackbar:closing",this.handleMdcClosing),this.mdcSnackbar.destroy()}async show(){this.timeout&&(this.mdcSnackbar.timeoutMs=this.timeout),this.mdcSnackbar.labelText=this.message,this.mdcSnackbar.open()}render(){return i("aside",{class:`\n mdc-snackbar\n ${this.multiline?"mdc-snackbar--stacked":""}\n `,style:{"--snackbar-timeout":`${this.timeout}ms`}},i("div",{class:"mdc-snackbar__surface",role:"status","aria-relevant":"additions"},i("div",{class:"mdc-snackbar__label","aria-atomic":"false"}),this.renderActions(this.actionText,this.dismissible)))}handleMdcClosing(t){"action"===t.detail.reason?this.action.emit():this.hide.emit()}renderActions(t,n){if(t||n)return i("div",{class:"mdc-snackbar__actions","aria-atomic":"true"},this.renderActionButton(t),this.renderDismissButton(n))}renderActionButton(t){if(t)return i("limel-button",{class:"mdc-button mdc-snackbar__action",label:t})}renderDismissButton(t){if(!t)return;const n=r.get("snackbar.dismiss",this.language);return i("div",{class:"dismiss"},this.renderTimeoutVisualization(),i("limel-icon-button",{class:"mdc-icon-button mdc-snackbar__dismiss",icon:"multiply",label:n}))}renderTimeoutVisualization(){return i("svg",{width:"36",height:"36",viewBox:"0 0 36 36"},i("circle",{r:"18",cx:"18",cy:"18",fill:"var(--track-color)"}),i("path",{class:"track",d:"M 18,18 m -16,0 a 16,16 0 1,0 32,0 a 16,16 0 1,0 -32,0",stroke:"var(--fill-color)"}))}get host(){return a(this)}};N.style=':host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-snackbar{z-index:8;margin:8px;display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.mdc-snackbar__surface{background-color:#333333}.mdc-snackbar__label{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__surface{min-width:344px}@media (max-width: 480px), (max-width: 344px){.mdc-snackbar__surface{min-width:100%}}.mdc-snackbar__surface{max-width:672px}.mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mdc-snackbar__surface{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar--leading{justify-content:flex-start}.mdc-snackbar--stacked .mdc-snackbar__label{padding-left:16px;padding-right:8px;padding-bottom:12px}[dir=rtl] .mdc-snackbar--stacked .mdc-snackbar__label,.mdc-snackbar--stacked .mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px;}.mdc-snackbar--stacked .mdc-snackbar__surface{flex-direction:column;align-items:flex-start}.mdc-snackbar--stacked .mdc-snackbar__actions{align-self:flex-end;margin-bottom:8px}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0;}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto;transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1);transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-snackbar__label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.8125rem;font-size:var(--mdc-typography-body2-font-size, 0.8125rem);line-height:1.625rem;line-height:var(--mdc-typography-body2-line-height, 1.625rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px;}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action:not(:disabled){color:#bb86fc}.mdc-snackbar__action::before,.mdc-snackbar__action::after{background-color:#bb86fc;background-color:var(--mdc-ripple-color, #bb86fc)}.mdc-snackbar__action:hover::before,.mdc-snackbar__action.mdc-ripple-surface--hover::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__action.mdc-ripple-upgraded--background-focused::before,.mdc-snackbar__action:not(.mdc-ripple-upgraded):focus::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__action:not(.mdc-ripple-upgraded)::after{transition:opacity 150ms linear}.mdc-snackbar__action:not(.mdc-ripple-upgraded):active::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss{color:rgba(255, 255, 255, 0.87)}.mdc-snackbar__dismiss .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss .mdc-icon-button__ripple::after{background-color:rgba(255, 255, 255, 0.87);background-color:var(--mdc-ripple-color, rgba(255, 255, 255, 0.87))}.mdc-snackbar__dismiss:hover .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss.mdc-ripple-surface--hover .mdc-icon-button__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused .mdc-icon-button__ripple::before,.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus .mdc-icon-button__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded) .mdc-icon-button__ripple::after{transition:opacity 150ms linear}.mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):active .mdc-icon-button__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-snackbar__dismiss.mdc-snackbar__dismiss{width:36px;height:36px;padding:6px;font-size:18px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size{width:36px;height:36px;padding:6px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss.mdc-icon-button--reduced-size.mdc-icon-button--touch{margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-snackbar__dismiss.mdc-snackbar__dismiss .mdc-icon-button__touch{position:absolute;top:50%;height:36px;left:50%;width:36px;transform:translate(-50%, -50%)}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px;}.mdc-snackbar{top:var(--snackbar-top, auto);right:var(--snackbar-right, 0);bottom:var(--snackbar-bottom, 0);left:var(--snackbar-left, 0)}.mdc-snackbar__surface{min-width:unset;max-width:42rem;background-color:rgb(var(--contrast-1400));box-shadow:var(--shadow-depth-8), var(--shadow-depth-16);gap:0.75rem}.mdc-snackbar__label{color:rgb(var(--contrast-100))}.mdc-snackbar__actions{gap:0.5rem}.mdc-snackbar__actions{--lime-elevated-surface-background-color:rgb(\n var(--contrast-1300)\n )}.mdc-snackbar__actions limel-icon-button.mdc-snackbar__dismiss{transform:scale(0.8);margin:0;padding:0}.dismiss{--mdc-theme-on-surface:rgb(var(--contrast-100));--icon-background-color:var(--lime-elevated-surface-background-color);--fill-color:var(--mdc-theme-primary);--track-color:rgb(var(--contrast-800), 0.2);position:relative;display:flex;align-items:center;justify-content:center}.dismiss svg{position:absolute;transform:rotate(90deg);fill:transparent;stroke-dasharray:100;stroke-linecap:round}.mdc-snackbar--open .dismiss svg{animation:timeout var(--snackbar-timeout) linear forwards}@keyframes timeout{0%{stroke-width:4;stroke-dashoffset:0;opacity:1}100%{stroke-width:1;stroke-dashoffset:-100;opacity:0.7}}';export{N as limel_snackbar}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import{r as t,c as n,h as r,g as i}from"./p-d4e788e1.js";import{u as e,f as o,h as a,i as c}from"./p-ade76f1d.js";import{M as s,a as l}from"./p-48d4ef20.js";import{a as u,b as d,M as f}from"./p-cbc43682.js";import{m as h}from"./p-dcc97cc2.js";import{a as m,b,c as p,i as g,d as v}from"./p-fa607ed3.js";import{a as _}from"./p-669626e5.js";import"./p-eda23c05.js";import"./p-c93050d6.js";import"./p-4c3358cb.js";import"./p-0b1af919.js";import"./p-858c6b82.js";import"./p-9acf7b5d.js";import"./p-5fdb83c9.js";var y=p((function(t,n){return g(t)?function(t,n,r,i){var e=-1,c=m,s=!0,l=t.length,u=[],d=n.length;if(!l)return u;n.length>=200&&(c=a,s=!1,n=new o(n));t:for(;++e<l;){var f=t[e],h=f;if(f=0!==f?f:0,s&&h==h){for(var b=d;b--;)if(n[b]===h)continue t;u.push(f)}else c(n,h,i)||u.push(f)}return u}(t,v(n,1,g,!0)):[]})),x=function(t,n){return(x=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])})(t,n)};
|
|
2
|
-
/*! *****************************************************************************
|
|
3
|
-
Copyright (c) Microsoft Corporation.
|
|
4
|
-
|
|
5
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
-
purpose with or without fee is hereby granted.
|
|
7
|
-
|
|
8
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function w(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}x(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var C=function(){return(C=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var e in n=arguments[r])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}).apply(this,arguments)};function O(t){var n="function"==typeof Symbol&&Symbol.iterator,r=n&&t[n],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}
|
|
16
|
-
/*! *****************************************************************************
|
|
17
|
-
Copyright (c) Microsoft Corporation.
|
|
18
|
-
|
|
19
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
20
|
-
purpose with or without fee is hereby granted.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
23
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
24
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
25
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
26
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
27
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
28
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
29
|
-
***************************************************************************** */var T=function(t,n){return(T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])})(t,n)};function S(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}T(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var E,A=function(){return(A=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var e in n=arguments[r])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}).apply(this,arguments)},k={ANIMATING:"mdc-tab-scroller--animating",SCROLL_AREA_SCROLL:"mdc-tab-scroller__scroll-area--scroll",SCROLL_TEST:"mdc-tab-scroller__test"},j={AREA_SELECTOR:".mdc-tab-scroller__scroll-area",CONTENT_SELECTOR:".mdc-tab-scroller__scroll-content"},R=function(t){this.adapter=t},I=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return S(n,t),n.prototype.getScrollPositionRTL=function(){var t=this.adapter.getScrollAreaScrollLeft(),n=this.calculateScrollEdges().right;return Math.round(n-t)},n.prototype.scrollToRTL=function(t){var n=this.calculateScrollEdges(),r=this.adapter.getScrollAreaScrollLeft(),i=this.clampScrollValue(n.right-t);return{finalScrollPosition:i,scrollDelta:i-r}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(n-t);return{finalScrollPosition:r,scrollDelta:r-n}},n.prototype.getAnimatingScrollPosition=function(t){return t},n.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},n.prototype.clampScrollValue=function(t){var n=this.calculateScrollEdges();return Math.min(Math.max(n.left,t),n.right)},n}(R),L=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return S(n,t),n.prototype.getScrollPositionRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft();return Math.round(t-n)},n.prototype.scrollToRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(-t);return{finalScrollPosition:r,scrollDelta:r-n}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(n-t);return{finalScrollPosition:r,scrollDelta:r-n}},n.prototype.getAnimatingScrollPosition=function(t,n){return t-n},n.prototype.calculateScrollEdges=function(){var t=this.adapter.getScrollContentOffsetWidth();return{left:this.adapter.getScrollAreaOffsetWidth()-t,right:0}},n.prototype.clampScrollValue=function(t){var n=this.calculateScrollEdges();return Math.max(Math.min(n.right,t),n.left)},n}(R),z=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return S(n,t),n.prototype.getScrollPositionRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft();return Math.round(n-t)},n.prototype.scrollToRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(t);return{finalScrollPosition:r,scrollDelta:n-r}},n.prototype.incrementScrollRTL=function(t){var n=this.adapter.getScrollAreaScrollLeft(),r=this.clampScrollValue(n+t);return{finalScrollPosition:r,scrollDelta:n-r}},n.prototype.getAnimatingScrollPosition=function(t,n){return t+n},n.prototype.calculateScrollEdges=function(){return{left:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth(),right:0}},n.prototype.clampScrollValue=function(t){var n=this.calculateScrollEdges();return Math.min(Math.max(n.right,t),n.left)},n}(R),D=function(t){function n(r){var i=t.call(this,A(A({},n.defaultAdapter),r))||this;return i.isAnimating=!1,i}return S(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return k},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return j},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{eventTargetMatchesSelector:function(){return!1},addClass:function(){},removeClass:function(){},addScrollAreaClass:function(){},setScrollAreaStyleProperty:function(){},setScrollContentStyleProperty:function(){},getScrollContentStyleValue:function(){return""},setScrollAreaScrollLeft:function(){},getScrollAreaScrollLeft:function(){return 0},getScrollContentOffsetWidth:function(){return 0},getScrollAreaOffsetWidth:function(){return 0},computeScrollAreaClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeScrollContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},computeHorizontalScrollbarHeight:function(){return 0}}},enumerable:!1,configurable:!0}),n.prototype.init=function(){var t=this.adapter.computeHorizontalScrollbarHeight();this.adapter.setScrollAreaStyleProperty("margin-bottom",-t+"px"),this.adapter.addScrollAreaClass(n.cssClasses.SCROLL_AREA_SCROLL)},n.prototype.getScrollPosition=function(){if(this.isRTL())return this.computeCurrentScrollPositionRTL();var t=this.calculateCurrentTranslateX();return this.adapter.getScrollAreaScrollLeft()-t},n.prototype.handleInteraction=function(){this.isAnimating&&this.stopScrollAnimation()},n.prototype.handleTransitionEnd=function(t){this.isAnimating&&this.adapter.eventTargetMatchesSelector(t.target,n.strings.CONTENT_SELECTOR)&&(this.isAnimating=!1,this.adapter.removeClass(n.cssClasses.ANIMATING))},n.prototype.incrementScroll=function(t){0!==t&&this.animate(this.getIncrementScrollOperation(t))},n.prototype.incrementScrollImmediate=function(t){if(0!==t){var n=this.getIncrementScrollOperation(t);0!==n.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(n.finalScrollPosition))}},n.prototype.scrollTo=function(t){this.isRTL()?this.scrollToImplRTL(t):this.scrollToImpl(t)},n.prototype.getRTLScroller=function(){return this.rtlScrollerInstance||(this.rtlScrollerInstance=this.rtlScrollerFactory()),this.rtlScrollerInstance},n.prototype.calculateCurrentTranslateX=function(){var t=this.adapter.getScrollContentStyleValue("transform");if("none"===t)return 0;var n=/\((.+?)\)/.exec(t);if(!n)return 0;var r=function(t,n){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var i,e,o=r.call(t),a=[];try{for(;(void 0===n||n-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return a}
|
|
30
|
-
/**
|
|
31
|
-
* @license
|
|
32
|
-
* Copyright 2018 Google Inc.
|
|
33
|
-
*
|
|
34
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
35
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
36
|
-
* in the Software without restriction, including without limitation the rights
|
|
37
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
38
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
39
|
-
* furnished to do so, subject to the following conditions:
|
|
40
|
-
*
|
|
41
|
-
* The above copyright notice and this permission notice shall be included in
|
|
42
|
-
* all copies or substantial portions of the Software.
|
|
43
|
-
*
|
|
44
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
45
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
46
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
47
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
48
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
49
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
50
|
-
* THE SOFTWARE.
|
|
51
|
-
*/(n[1].split(","),6);return parseFloat(r[4])},n.prototype.clampScrollValue=function(t){var n=this.calculateScrollEdges();return Math.min(Math.max(n.left,t),n.right)},n.prototype.computeCurrentScrollPositionRTL=function(){var t=this.calculateCurrentTranslateX();return this.getRTLScroller().getScrollPositionRTL(t)},n.prototype.calculateScrollEdges=function(){return{left:0,right:this.adapter.getScrollContentOffsetWidth()-this.adapter.getScrollAreaOffsetWidth()}},n.prototype.scrollToImpl=function(t){var n=this.getScrollPosition(),r=this.clampScrollValue(t);this.animate({finalScrollPosition:r,scrollDelta:r-n})},n.prototype.scrollToImplRTL=function(t){var n=this.getRTLScroller().scrollToRTL(t);this.animate(n)},n.prototype.getIncrementScrollOperation=function(t){if(this.isRTL())return this.getRTLScroller().incrementScrollRTL(t);var n=this.getScrollPosition(),r=this.clampScrollValue(t+n);return{finalScrollPosition:r,scrollDelta:r-n}},n.prototype.animate=function(t){var r=this;0!==t.scrollDelta&&(this.stopScrollAnimation(),this.adapter.setScrollAreaScrollLeft(t.finalScrollPosition),this.adapter.setScrollContentStyleProperty("transform","translateX("+t.scrollDelta+"px)"),this.adapter.computeScrollAreaClientRect(),requestAnimationFrame((function(){r.adapter.addClass(n.cssClasses.ANIMATING),r.adapter.setScrollContentStyleProperty("transform","none")})),this.isAnimating=!0)},n.prototype.stopScrollAnimation=function(){this.isAnimating=!1;var t=this.getAnimatingScrollPosition();this.adapter.removeClass(n.cssClasses.ANIMATING),this.adapter.setScrollContentStyleProperty("transform","translateX(0px)"),this.adapter.setScrollAreaScrollLeft(t)},n.prototype.getAnimatingScrollPosition=function(){var t=this.calculateCurrentTranslateX(),n=this.adapter.getScrollAreaScrollLeft();return this.isRTL()?this.getRTLScroller().getAnimatingScrollPosition(n,t):n-t},n.prototype.rtlScrollerFactory=function(){var t=this.adapter.getScrollAreaScrollLeft();this.adapter.setScrollAreaScrollLeft(t-1);var n=this.adapter.getScrollAreaScrollLeft();if(n<0)return this.adapter.setScrollAreaScrollLeft(t),new L(this.adapter);var r=this.adapter.computeScrollAreaClientRect(),i=this.adapter.computeScrollContentClientRect(),e=Math.round(i.right-r.right);return this.adapter.setScrollAreaScrollLeft(t),e===n?new z(this.adapter):new I(this.adapter)},n.prototype.isRTL=function(){return"rtl"===this.adapter.getScrollContentStyleValue("direction")},n}(s),M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return S(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.area=this.root.querySelector(D.strings.AREA_SELECTOR),this.content=this.root.querySelector(D.strings.CONTENT_SELECTOR)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleInteraction=function(){t.foundation.handleInteraction()},this.handleTransitionEnd=function(n){t.foundation.handleTransitionEnd(n)},this.area.addEventListener("wheel",this.handleInteraction,u()),this.area.addEventListener("touchstart",this.handleInteraction,u()),this.area.addEventListener("pointerdown",this.handleInteraction,u()),this.area.addEventListener("mousedown",this.handleInteraction,u()),this.area.addEventListener("keydown",this.handleInteraction,u()),this.content.addEventListener("transitionend",this.handleTransitionEnd)},n.prototype.destroy=function(){t.prototype.destroy.call(this),this.area.removeEventListener("wheel",this.handleInteraction,u()),this.area.removeEventListener("touchstart",this.handleInteraction,u()),this.area.removeEventListener("pointerdown",this.handleInteraction,u()),this.area.removeEventListener("mousedown",this.handleInteraction,u()),this.area.removeEventListener("keydown",this.handleInteraction,u()),this.content.removeEventListener("transitionend",this.handleTransitionEnd)},n.prototype.getDefaultFoundation=function(){var t=this;return new D({eventTargetMatchesSelector:function(t,n){return h(t,n)},addClass:function(n){t.root.classList.add(n)},removeClass:function(n){t.root.classList.remove(n)},addScrollAreaClass:function(n){t.area.classList.add(n)},setScrollAreaStyleProperty:function(n,r){t.area.style.setProperty(n,r)},setScrollContentStyleProperty:function(n,r){t.content.style.setProperty(n,r)},getScrollContentStyleValue:function(n){return window.getComputedStyle(t.content).getPropertyValue(n)},setScrollAreaScrollLeft:function(n){return t.area.scrollLeft=n},getScrollAreaScrollLeft:function(){return t.area.scrollLeft},getScrollContentOffsetWidth:function(){return t.content.offsetWidth},getScrollAreaOffsetWidth:function(){return t.area.offsetWidth},computeScrollAreaClientRect:function(){return t.area.getBoundingClientRect()},computeScrollContentClientRect:function(){return t.content.getBoundingClientRect()},computeHorizontalScrollbarHeight:function(){return function(t,n){if(void 0===n&&(n=!0),n&&void 0!==E)return E;var r=t.createElement("div");r.classList.add(k.SCROLL_TEST),t.body.appendChild(r);var i=r.offsetHeight-r.clientHeight;return t.body.removeChild(r),n&&(E=i),i}
|
|
52
|
-
/**
|
|
53
|
-
* @license
|
|
54
|
-
* Copyright 2018 Google Inc.
|
|
55
|
-
*
|
|
56
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
57
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
58
|
-
* in the Software without restriction, including without limitation the rights
|
|
59
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
60
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
61
|
-
* furnished to do so, subject to the following conditions:
|
|
62
|
-
*
|
|
63
|
-
* The above copyright notice and this permission notice shall be included in
|
|
64
|
-
* all copies or substantial portions of the Software.
|
|
65
|
-
*
|
|
66
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
67
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
68
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
69
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
70
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
71
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
72
|
-
* THE SOFTWARE.
|
|
73
|
-
*/(document)}})},n.prototype.getScrollPosition=function(){return this.foundation.getScrollPosition()},n.prototype.getScrollContentWidth=function(){return this.content.offsetWidth},n.prototype.incrementScroll=function(t){this.foundation.incrementScroll(t)},n.prototype.scrollTo=function(t){this.foundation.scrollTo(t)},n}(l),N=function(t,n){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])})(t,n)};function P(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}N(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var W=function(){return(W=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var e in n=arguments[r])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}).apply(this,arguments)},Y=function(t,n){return(Y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])})(t,n)};
|
|
74
|
-
/*! *****************************************************************************
|
|
75
|
-
Copyright (c) Microsoft Corporation.
|
|
76
|
-
|
|
77
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
78
|
-
purpose with or without fee is hereby granted.
|
|
79
|
-
|
|
80
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
81
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
82
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
83
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
84
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
85
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
86
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
87
|
-
***************************************************************************** */function B(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}Y(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var K=function(){return(K=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var e in n=arguments[r])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}).apply(this,arguments)},H={ACTIVE:"mdc-tab-indicator--active",FADE:"mdc-tab-indicator--fade",NO_TRANSITION:"mdc-tab-indicator--no-transition"},V={CONTENT_SELECTOR:".mdc-tab-indicator__content"},F=function(t){function n(r){return t.call(this,K(K({},n.defaultAdapter),r))||this}return B(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return H},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return V},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},computeContentClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},setContentStyleProperty:function(){}}},enumerable:!1,configurable:!0}),n.prototype.computeContentClientRect=function(){return this.adapter.computeContentClientRect()},n}(s),X=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return B(n,t),n.prototype.activate=function(){this.adapter.addClass(F.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter.removeClass(F.cssClasses.ACTIVE)},n}(F),G=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return B(n,t),n.prototype.activate=function(t){if(t){var n=this.computeContentClientRect(),r=t.width/n.width,i=t.left-n.left;this.adapter.addClass(F.cssClasses.NO_TRANSITION),this.adapter.setContentStyleProperty("transform","translateX("+i+"px) scaleX("+r+")"),this.computeContentClientRect(),this.adapter.removeClass(F.cssClasses.NO_TRANSITION),this.adapter.addClass(F.cssClasses.ACTIVE),this.adapter.setContentStyleProperty("transform","")}else this.adapter.addClass(F.cssClasses.ACTIVE)},n.prototype.deactivate=function(){this.adapter.removeClass(F.cssClasses.ACTIVE)},n}(F),q=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return B(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(){this.content=this.root.querySelector(F.strings.CONTENT_SELECTOR)},n.prototype.computeContentClientRect=function(){return this.foundation.computeContentClientRect()},n.prototype.getDefaultFoundation=function(){var t=this,n={addClass:function(n){return t.root.classList.add(n)},removeClass:function(n){return t.root.classList.remove(n)},computeContentClientRect:function(){return t.content.getBoundingClientRect()},setContentStyleProperty:function(n,r){t.content.style.setProperty(n,r)}};return this.root.classList.contains(F.cssClasses.FADE)?new X(n):new G(n)},n.prototype.activate=function(t){this.foundation.activate(t)},n.prototype.deactivate=function(){this.foundation.deactivate()},n}(l),U={ACTIVE:"mdc-tab--active"},J={ARIA_SELECTED:"aria-selected",CONTENT_SELECTOR:".mdc-tab__content",INTERACTED_EVENT:"MDCTab:interacted",RIPPLE_SELECTOR:".mdc-tab__ripple",TABINDEX:"tabIndex",TAB_INDICATOR_SELECTOR:".mdc-tab-indicator"},Q=function(t){function n(r){var i=t.call(this,W(W({},n.defaultAdapter),r))||this;return i.focusOnActivate=!0,i}return P(n,t),Object.defineProperty(n,"cssClasses",{get:function(){return U},enumerable:!1,configurable:!0}),Object.defineProperty(n,"strings",{get:function(){return J},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},activateIndicator:function(){},deactivateIndicator:function(){},notifyInteracted:function(){},getOffsetLeft:function(){return 0},getOffsetWidth:function(){return 0},getContentOffsetLeft:function(){return 0},getContentOffsetWidth:function(){return 0},focus:function(){}}},enumerable:!1,configurable:!0}),n.prototype.handleClick=function(){this.adapter.notifyInteracted()},n.prototype.isActive=function(){return this.adapter.hasClass(U.ACTIVE)},n.prototype.setFocusOnActivate=function(t){this.focusOnActivate=t},n.prototype.activate=function(t){this.adapter.addClass(U.ACTIVE),this.adapter.setAttr(J.ARIA_SELECTED,"true"),this.adapter.setAttr(J.TABINDEX,"0"),this.adapter.activateIndicator(t),this.focusOnActivate&&this.adapter.focus()},n.prototype.deactivate=function(){this.isActive()&&(this.adapter.removeClass(U.ACTIVE),this.adapter.setAttr(J.ARIA_SELECTED,"false"),this.adapter.setAttr(J.TABINDEX,"-1"),this.adapter.deactivateIndicator())},n.prototype.computeDimensions=function(){var t=this.adapter.getOffsetWidth(),n=this.adapter.getOffsetLeft(),r=this.adapter.getContentOffsetWidth(),i=this.adapter.getContentOffsetLeft();return{contentLeft:n+i,contentRight:n+i+r,rootLeft:n,rootRight:n+t}},n}(s),Z=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return P(n,t),n.attachTo=function(t){return new n(t)},n.prototype.initialize=function(t,n){void 0===t&&(t=function(t,n){return new f(t,n)}),void 0===n&&(n=function(t){return new q(t)}),this.id=this.root.id;var r=new d(f.createAdapter(this));this.ripple=t(this.root,r);var i=this.root.querySelector(Q.strings.TAB_INDICATOR_SELECTOR);this.tabIndicator=n(i),this.content=this.root.querySelector(Q.strings.CONTENT_SELECTOR)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleClick=function(){t.foundation.handleClick()},this.listen("click",this.handleClick)},n.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),t.prototype.destroy.call(this)},n.prototype.getDefaultFoundation=function(){var t=this;return new Q({setAttr:function(n,r){return t.root.setAttribute(n,r)},addClass:function(n){return t.root.classList.add(n)},removeClass:function(n){return t.root.classList.remove(n)},hasClass:function(n){return t.root.classList.contains(n)},activateIndicator:function(n){t.tabIndicator.activate(n)},deactivateIndicator:function(){t.tabIndicator.deactivate()},notifyInteracted:function(){return t.emit(Q.strings.INTERACTED_EVENT,{tabId:t.id},!0)},getOffsetLeft:function(){return t.root.offsetLeft},getOffsetWidth:function(){return t.root.offsetWidth},getContentOffsetLeft:function(){return t.content.offsetLeft},getContentOffsetWidth:function(){return t.content.offsetWidth},focus:function(){return t.root.focus()}})},Object.defineProperty(n.prototype,"active",{get:function(){return this.foundation.isActive()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"focusOnActivate",{set:function(t){this.foundation.setFocusOnActivate(t)},enumerable:!1,configurable:!0}),n.prototype.activate=function(t){this.foundation.activate(t)},n.prototype.deactivate=function(){this.foundation.deactivate()},n.prototype.computeIndicatorClientRect=function(){return this.tabIndicator.computeContentClientRect()},n.prototype.computeDimensions=function(){return this.foundation.computeDimensions()},n.prototype.focus=function(){this.root.focus()},n}(l),$={ARROW_LEFT_KEY:"ArrowLeft",ARROW_RIGHT_KEY:"ArrowRight",END_KEY:"End",ENTER_KEY:"Enter",HOME_KEY:"Home",SPACE_KEY:"Space",TAB_ACTIVATED_EVENT:"MDCTabBar:activated",TAB_SCROLLER_SELECTOR:".mdc-tab-scroller",TAB_SELECTOR:".mdc-tab"},tt={ARROW_LEFT_KEYCODE:37,ARROW_RIGHT_KEYCODE:39,END_KEYCODE:35,ENTER_KEYCODE:13,EXTRA_SCROLL_AMOUNT:20,HOME_KEYCODE:36,SPACE_KEYCODE:32},nt=new Set;
|
|
88
|
-
/**
|
|
89
|
-
* @license
|
|
90
|
-
* Copyright 2018 Google Inc.
|
|
91
|
-
*
|
|
92
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
93
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
94
|
-
* in the Software without restriction, including without limitation the rights
|
|
95
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
96
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
97
|
-
* furnished to do so, subject to the following conditions:
|
|
98
|
-
*
|
|
99
|
-
* The above copyright notice and this permission notice shall be included in
|
|
100
|
-
* all copies or substantial portions of the Software.
|
|
101
|
-
*
|
|
102
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
103
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
104
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
105
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
106
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
107
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
108
|
-
* THE SOFTWARE.
|
|
109
|
-
*/nt.add($.ARROW_LEFT_KEY),nt.add($.ARROW_RIGHT_KEY),nt.add($.END_KEY),nt.add($.HOME_KEY),nt.add($.ENTER_KEY),nt.add($.SPACE_KEY);var rt=new Map;rt.set(tt.ARROW_LEFT_KEYCODE,$.ARROW_LEFT_KEY),rt.set(tt.ARROW_RIGHT_KEYCODE,$.ARROW_RIGHT_KEY),rt.set(tt.END_KEYCODE,$.END_KEY),rt.set(tt.HOME_KEYCODE,$.HOME_KEY),rt.set(tt.ENTER_KEYCODE,$.ENTER_KEY),rt.set(tt.SPACE_KEYCODE,$.SPACE_KEY);var it=function(t){function n(r){var i=t.call(this,C(C({},n.defaultAdapter),r))||this;return i.useAutomaticActivation=!1,i}return w(n,t),Object.defineProperty(n,"strings",{get:function(){return $},enumerable:!1,configurable:!0}),Object.defineProperty(n,"numbers",{get:function(){return tt},enumerable:!1,configurable:!0}),Object.defineProperty(n,"defaultAdapter",{get:function(){return{scrollTo:function(){},incrementScroll:function(){},getScrollPosition:function(){return 0},getScrollContentWidth:function(){return 0},getOffsetWidth:function(){return 0},isRTL:function(){return!1},setActiveTab:function(){},activateTabAtIndex:function(){},deactivateTabAtIndex:function(){},focusTabAtIndex:function(){},getTabIndicatorClientRectAtIndex:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getTabDimensionsAtIndex:function(){return{rootLeft:0,rootRight:0,contentLeft:0,contentRight:0}},getPreviousActiveTabIndex:function(){return-1},getFocusedTabIndex:function(){return-1},getIndexOfTabById:function(){return-1},getTabListLength:function(){return 0},notifyTabActivated:function(){}}},enumerable:!1,configurable:!0}),n.prototype.setUseAutomaticActivation=function(t){this.useAutomaticActivation=t},n.prototype.activateTab=function(t){var n,r=this.adapter.getPreviousActiveTabIndex();this.indexIsInRange(t)&&t!==r&&(-1!==r&&(this.adapter.deactivateTabAtIndex(r),n=this.adapter.getTabIndicatorClientRectAtIndex(r)),this.adapter.activateTabAtIndex(t,n),this.scrollIntoView(t),this.adapter.notifyTabActivated(t))},n.prototype.handleKeyDown=function(t){var n=this.getKeyFromEvent(t);if(void 0!==n)if(this.isActivationKey(n)||t.preventDefault(),this.useAutomaticActivation){if(this.isActivationKey(n))return;var r=this.determineTargetFromKey(this.adapter.getPreviousActiveTabIndex(),n);this.adapter.setActiveTab(r),this.scrollIntoView(r)}else{var i=this.adapter.getFocusedTabIndex();this.isActivationKey(n)?this.adapter.setActiveTab(i):(r=this.determineTargetFromKey(i,n),this.adapter.focusTabAtIndex(r),this.scrollIntoView(r))}},n.prototype.handleTabInteraction=function(t){this.adapter.setActiveTab(this.adapter.getIndexOfTabById(t.detail.tabId))},n.prototype.scrollIntoView=function(t){this.indexIsInRange(t)&&(0!==t?t!==this.adapter.getTabListLength()-1?this.isRTL()?this.scrollIntoViewImplRTL(t):this.scrollIntoViewImpl(t):this.adapter.scrollTo(this.adapter.getScrollContentWidth()):this.adapter.scrollTo(0))},n.prototype.determineTargetFromKey=function(t,n){var r=this.isRTL(),i=this.adapter.getTabListLength()-1,e=t;return n===$.END_KEY?e=i:n===$.ARROW_LEFT_KEY&&!r||n===$.ARROW_RIGHT_KEY&&r?e-=1:n===$.ARROW_RIGHT_KEY&&!r||n===$.ARROW_LEFT_KEY&&r?e+=1:e=0,e<0?e=i:e>i&&(e=0),e},n.prototype.calculateScrollIncrement=function(t,n,r,i){var e=this.adapter.getTabDimensionsAtIndex(n),o=e.contentLeft-r-i+tt.EXTRA_SCROLL_AMOUNT;return n<t?Math.min(e.contentRight-r-tt.EXTRA_SCROLL_AMOUNT,0):Math.max(o,0)},n.prototype.calculateScrollIncrementRTL=function(t,n,r,i,e){var o=this.adapter.getTabDimensionsAtIndex(n),a=e-o.contentLeft-r-tt.EXTRA_SCROLL_AMOUNT;return n>t?Math.max(e-o.contentRight-r-i+tt.EXTRA_SCROLL_AMOUNT,0):Math.min(a,0)},n.prototype.findAdjacentTabIndexClosestToEdge=function(t,n,r,i){var e=n.rootLeft-r,o=n.rootRight-r-i,a=e+o;return e<0||a<0?t-1:o>0||a>0?t+1:-1},n.prototype.findAdjacentTabIndexClosestToEdgeRTL=function(t,n,r,i,e){var o=e-n.rootLeft-i-r,a=e-n.rootRight-r,c=o+a;return o>0||c>0?t+1:a<0||c<0?t-1:-1},n.prototype.getKeyFromEvent=function(t){return nt.has(t.key)?t.key:rt.get(t.keyCode)},n.prototype.isActivationKey=function(t){return t===$.SPACE_KEY||t===$.ENTER_KEY},n.prototype.indexIsInRange=function(t){return t>=0&&t<this.adapter.getTabListLength()},n.prototype.isRTL=function(){return this.adapter.isRTL()},n.prototype.scrollIntoViewImpl=function(t){var n=this.adapter.getScrollPosition(),r=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),e=this.findAdjacentTabIndexClosestToEdge(t,i,n,r);if(this.indexIsInRange(e)){var o=this.calculateScrollIncrement(t,e,n,r);this.adapter.incrementScroll(o)}},n.prototype.scrollIntoViewImplRTL=function(t){var n=this.adapter.getScrollPosition(),r=this.adapter.getOffsetWidth(),i=this.adapter.getTabDimensionsAtIndex(t),e=this.adapter.getScrollContentWidth(),o=this.findAdjacentTabIndexClosestToEdgeRTL(t,i,n,r,e);if(this.indexIsInRange(o)){var a=this.calculateScrollIncrementRTL(t,o,n,r,e);this.adapter.incrementScroll(a)}},n}(s),et=it.strings,ot=0,at=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return w(n,t),n.attachTo=function(t){return new n(t)},Object.defineProperty(n.prototype,"focusOnActivate",{set:function(t){var n,r;try{for(var i=O(this.tabList),e=i.next();!e.done;e=i.next())e.value.focusOnActivate=t}catch(t){n={error:t}}finally{try{e&&!e.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useAutomaticActivation",{set:function(t){this.foundation.setUseAutomaticActivation(t)},enumerable:!1,configurable:!0}),n.prototype.initialize=function(t,n){void 0===t&&(t=function(t){return new Z(t)}),void 0===n&&(n=function(t){return new M(t)}),this.tabList=this.instantiateTabs(t),this.tabScroller=this.instantiatetabScroller(n)},n.prototype.initialSyncWithDOM=function(){var t=this;this.handleTabInteraction=function(n){t.foundation.handleTabInteraction(n)},this.handleKeyDown=function(n){t.foundation.handleKeyDown(n)},this.listen(Q.strings.INTERACTED_EVENT,this.handleTabInteraction),this.listen("keydown",this.handleKeyDown);for(var n=0;n<this.tabList.length;n++)if(this.tabList[n].active){this.scrollIntoView(n);break}},n.prototype.destroy=function(){var n,r;t.prototype.destroy.call(this),this.unlisten(Q.strings.INTERACTED_EVENT,this.handleTabInteraction),this.unlisten("keydown",this.handleKeyDown);try{for(var i=O(this.tabList),e=i.next();!e.done;e=i.next())e.value.destroy()}catch(t){n={error:t}}finally{try{e&&!e.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}this.tabScroller&&this.tabScroller.destroy()},n.prototype.getDefaultFoundation=function(){var t=this;return new it({scrollTo:function(n){t.tabScroller.scrollTo(n)},incrementScroll:function(n){t.tabScroller.incrementScroll(n)},getScrollPosition:function(){return t.tabScroller.getScrollPosition()},getScrollContentWidth:function(){return t.tabScroller.getScrollContentWidth()},getOffsetWidth:function(){return t.root.offsetWidth},isRTL:function(){return"rtl"===window.getComputedStyle(t.root).getPropertyValue("direction")},setActiveTab:function(n){t.foundation.activateTab(n)},activateTabAtIndex:function(n,r){t.tabList[n].activate(r)},deactivateTabAtIndex:function(n){t.tabList[n].deactivate()},focusTabAtIndex:function(n){t.tabList[n].focus()},getTabIndicatorClientRectAtIndex:function(n){return t.tabList[n].computeIndicatorClientRect()},getTabDimensionsAtIndex:function(n){return t.tabList[n].computeDimensions()},getPreviousActiveTabIndex:function(){for(var n=0;n<t.tabList.length;n++)if(t.tabList[n].active)return n;return-1},getFocusedTabIndex:function(){var n=t.getTabElements(),r=document.activeElement;return n.indexOf(r)},getIndexOfTabById:function(n){for(var r=0;r<t.tabList.length;r++)if(t.tabList[r].id===n)return r;return-1},getTabListLength:function(){return t.tabList.length},notifyTabActivated:function(n){return t.emit(et.TAB_ACTIVATED_EVENT,{index:n},!0)}})},n.prototype.activateTab=function(t){this.foundation.activateTab(t)},n.prototype.scrollIntoView=function(t){this.foundation.scrollIntoView(t)},n.prototype.getTabElements=function(){return[].slice.call(this.root.querySelectorAll(et.TAB_SELECTOR))},n.prototype.instantiateTabs=function(t){return this.getTabElements().map((function(n){return n.id=n.id||"mdc-tab-"+ ++ot,t(n)}))},n.prototype.instantiatetabScroller=function(t){var n=this.root.querySelector(et.TAB_SCROLLER_SELECTOR);return n?t(n):null},n}(l);
|
|
110
|
-
/**
|
|
111
|
-
* @license
|
|
112
|
-
* Copyright 2018 Google Inc.
|
|
113
|
-
*
|
|
114
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
115
|
-
* of this software and associated documentation files (the "Software"), to deal
|
|
116
|
-
* in the Software without restriction, including without limitation the rights
|
|
117
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
118
|
-
* copies of the Software, and to permit persons to whom the Software is
|
|
119
|
-
* furnished to do so, subject to the following conditions:
|
|
120
|
-
*
|
|
121
|
-
* The above copyright notice and this permission notice shall be included in
|
|
122
|
-
* all copies or substantial portions of the Software.
|
|
123
|
-
*
|
|
124
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
125
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
126
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
127
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
128
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
129
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
130
|
-
* THE SOFTWARE.
|
|
131
|
-
*/const{TAB_ACTIVATED_EVENT:ct}=$,st=class{constructor(r){t(this,r),this.changeTab=n(this,"changeTab",7),this.setupMdc=!1,this.tabs=[],this.canScrollLeft=!1,this.canScrollRight=!1,this.handleTabActivated=this.handleTabActivated.bind(this),this.handleScroll=this.handleScroll.bind(this),this.handleLeftScrollClick=this.handleLeftScrollClick.bind(this),this.handleRightScrollClick=this.handleRightScrollClick.bind(this),this.renderTab=this.renderTab.bind(this)}connectedCallback(){this.setup()}componentDidLoad(){this.setup()}componentDidUpdate(){this.setupMdc&&(this.setup(),this.setupMdc=!1)}disconnectedCallback(){this.tearDown()}render(){return r("div",{class:"mdc-tab-bar",role:"tablist"},r("div",{class:{"mdc-tab-scroller":!0,"can-scroll-left":this.canScrollLeft,"can-scroll-right":this.canScrollRight}},r("div",{class:"mdc-tab-scroller__scroll-area lime-hide-scrollbars"},r("div",{class:"mdc-tab-scroller__scroll-content"},this.tabs.map(this.renderTab))),r("div",{class:"scroll-fade left"}),r("div",{class:"scroll-button left"},r("limel-icon-button",{icon:"angle_left",elevated:!0,tabindex:"-1","aria-hidden":"true",disabled:!this.canScrollLeft,onClick:this.handleLeftScrollClick})),r("div",{class:"scroll-fade right"}),r("div",{class:"scroll-button right"},r("limel-icon-button",{icon:"angle_right",elevated:!0,tabindex:"-1","aria-hidden":"true",disabled:!this.canScrollRight,onClick:this.handleRightScrollClick}))))}tabsChanged(t=[],n=[]){const r=t.map((t=>t.id)),i=n.map((t=>t.id));c(r,i)||(this.setupMdc=!0,this.tearDown())}handleWindowResize(){this.handleScroll()}setup(){const t=this.host.shadowRoot.querySelector(".mdc-tab-bar");t&&(this.mdcTabBar=new at(t),this.mdcTabBar.focusOnActivate=!0,this.mdcTabBar.useAutomaticActivation=!0,this.scrollArea=t.querySelector(".mdc-tab-scroller__scroll-area"),this.scrollContent=t.querySelector(".mdc-tab-scroller__scroll-content"),this.setupListeners(),setTimeout(this.handleScroll,0))}tearDown(){this.scrollArea&&this.scrollArea.removeEventListener("scroll",this.handleScroll),this.mdcTabBar&&(this.mdcTabBar.unlisten(ct,this.handleTabActivated),this.mdcTabBar.destroy())}setupListeners(){this.mdcTabBar.listen(ct,this.handleTabActivated),this.scrollArea.addEventListener("scroll",this.handleScroll,{passive:!0})}handleTabActivated(t){const n=function(t,n){const r=t.findIndex((t=>!0===t.active)),i=[...t];return-1!==r&&(i[r]=Object.assign(Object.assign({},t[r]),{active:!1})),i[n]=Object.assign(Object.assign({},t[n]),{active:!0}),i}(this.tabs,t.detail.index);y(n,this.tabs).sort(this.sortByInactive).forEach((t=>{this.changeTab.emit(t)})),this.tabs=n}sortByInactive(t,n){return Number(t.active)-Number(n.active)}handleScroll(){const t=this.scrollArea.scrollLeft,n=Math.floor(this.scrollContent.getBoundingClientRect().width-this.scrollArea.getBoundingClientRect().width-t);this.canScrollLeft=t>40,this.canScrollRight=n>40}handleLeftScrollClick(){this.scrollArea.scroll({left:this.scrollArea.scrollLeft-150,behavior:"smooth"})}handleRightScrollClick(){this.scrollArea.scroll({left:this.scrollArea.scrollLeft+150,behavior:"smooth"})}renderIcon(t){if(!t.icon)return;const n={color:""};return t.iconColor&&(n.color=t.iconColor),r("limel-icon",{class:"mdc-tab__icon",name:t.icon,style:n,size:"small","aria-hidden":"true"})}renderTab(t){return r("button",{class:{"mdc-tab":!0,"mdc-tab--active":!!t.active},role:"tab","aria-selected":t.active?"true":"false",tabindex:t.active?0:-1},r("span",{class:"mdc-tab__content"},this.renderIcon(t),r("span",{class:"mdc-tab__text-label"},t.text),t.badge?r("limel-badge",{label:t.badge}):""),r("span",{class:{"mdc-tab-indicator":!0,"mdc-tab-indicator--active":!!t.active}},r("span",{class:"mdc-tab-indicator__content mdc-tab-indicator__content--underline"})),r("span",{class:"mdc-tab__ripple"}))}get host(){return i(this)}static get watchers(){return{tabs:["tabsChanged"]}}};st.style=":host{--mdc-theme-primary:var(\n --lime-primary-color,\n rgb(var(--color-teal-default))\n );--mdc-theme-secondary:var(\n --lime-secondary-color,\n rgb(var(--contrast-1100))\n );--mdc-theme-on-primary:var(\n --lime-on-primary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-secondary:var(\n --lime-on-secondary-color,\n rgb(var(--contrast-100))\n );--mdc-theme-text-disabled-on-background:var(\n --lime-text-disabled-on-background-color,\n rgba(var(--contrast-1700), 0.38)\n );--mdc-theme-text-primary-on-background:var(\n --lime-text-primary-on-background-color,\n rgba(var(--contrast-1700), 0.87)\n );--mdc-theme-text-secondary-on-background:var(\n --lime-text-secondary-on-background-color,\n rgba(var(--contrast-1700), 0.54)\n );--mdc-theme-error:var(\n --lime-error-background-color,\n rgb(var(--color-red-dark))\n );--lime-error-text-color:rgb(var(--color-red-darker));--mdc-theme-surface:var(\n --lime-surface-background-color,\n rgb(var(--contrast-100))\n );--mdc-theme-on-surface:var(\n --lime-on-surface-color,\n rgb(var(--contrast-1500))\n )}.mdc-tab-bar{width:100%}.mdc-tab{height:48px}.mdc-tab--stacked{height:72px}.mdc-tab-scroller{overflow-y:hidden}.mdc-tab-scroller.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-scroller__test{position:absolute;top:-9999px;width:100px;height:100px;overflow-x:scroll}.mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:touch;display:flex;overflow-x:hidden}.mdc-tab-scroller__scroll-area::-webkit-scrollbar,.mdc-tab-scroller__test::-webkit-scrollbar{display:none}.mdc-tab-scroller__scroll-area--scroll{overflow-x:scroll}.mdc-tab-scroller__scroll-content{position:relative;display:flex;flex:1 0 auto;transform:none;will-change:transform}.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content{justify-content:flex-start}.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content{justify-content:flex-end}.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content{justify-content:center}.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area{-webkit-overflow-scrolling:auto}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-color:#26a69a;border-color:var(--mdc-theme-primary, #26a69a)}.mdc-tab-indicator .mdc-tab-indicator__content--icon{color:#575756;color:var(--mdc-theme-secondary, #575756)}.mdc-tab-indicator .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mdc-tab{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-button-font-size, 0.875rem);line-height:2.25rem;line-height:var(--mdc-typography-button-line-height, 2.25rem);font-weight:500;font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:0.0892857143em;letter-spacing:var(--mdc-typography-button-letter-spacing, 0.0892857143em);text-decoration:none;text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:none;text-transform:var(--mdc-typography-button-text-transform, none);position:relative}.mdc-tab .mdc-tab__text-label{color:rgba(0, 0, 0, 0.6)}.mdc-tab .mdc-tab__icon{color:rgba(0, 0, 0, 0.54);fill:currentColor}.mdc-tab__content{position:relative}.mdc-tab__icon{width:24px;height:24px;font-size:24px}.mdc-tab--active .mdc-tab__text-label{color:#26a69a;color:var(--mdc-theme-primary, #26a69a)}.mdc-tab--active .mdc-tab__icon{color:#26a69a;color:var(--mdc-theme-primary, #26a69a);fill:currentColor}.mdc-tab{background:none}.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px;}@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-tab{--mdc-ripple-fg-size:0;--mdc-ripple-left:0;--mdc-ripple-top:0;--mdc-ripple-fg-scale:1;--mdc-ripple-fg-translate-end:0;--mdc-ripple-fg-translate-start:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:\"\"}.mdc-tab .mdc-tab__ripple::before{transition:opacity 15ms linear, background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-tab .mdc-tab__ripple::after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-tab.mdc-ripple-upgraded--unbounded .mdc-tab__ripple::after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-tab.mdc-ripple-upgraded--foreground-activation .mdc-tab__ripple::after{animation:mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards}.mdc-tab.mdc-ripple-upgraded--foreground-deactivation .mdc-tab__ripple::after{animation:mdc-ripple-fg-opacity-out 150ms;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{top:calc(50% - 100%);left:calc(50% - 100%);width:200%;height:200%}.mdc-tab.mdc-ripple-upgraded .mdc-tab__ripple::after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-tab .mdc-tab__ripple::before,.mdc-tab .mdc-tab__ripple::after{background-color:#26a69a;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #26a69a))}.mdc-tab:hover .mdc-tab__ripple::before,.mdc-tab.mdc-ripple-surface--hover .mdc-tab__ripple::before{opacity:0.08;opacity:var(--mdc-ripple-hover-opacity, 0.08)}.mdc-tab.mdc-ripple-upgraded--background-focused .mdc-tab__ripple::before,.mdc-tab:not(.mdc-ripple-upgraded):focus .mdc-tab__ripple::before{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-focus-opacity, 0.24)}.mdc-tab:not(.mdc-ripple-upgraded) .mdc-tab__ripple::after{transition:opacity 150ms linear}.mdc-tab:not(.mdc-ripple-upgraded):active .mdc-tab__ripple::after{transition-duration:75ms;opacity:0.24;opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity, 0.24)}.mdc-tab__ripple{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;will-change:transform, opacity}.scroll-fade,.scroll-button{position:absolute;transition-property:transform;transition-duration:0.3s;transition-timing-function:ease-out}.scroll-fade{top:0;height:100%;width:4.0625rem;pointer-events:none}.scroll-fade.left{transform:translate3d(-4.0625rem, 0, 0);left:0;background:linear-gradient(270deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-fade.right{transform:translate3d(4.0625rem, 0, 0);right:0;background:linear-gradient(90deg, rgba(var(--contrast-300), 0) 0%, rgba(var(--contrast-300), 0.8) 40%, rgba(var(--contrast-300), 0.8) 100%)}.scroll-button{--icon-background-color:rgb(var(--contrast-100));display:flex;align-items:center;top:0;bottom:0}.scroll-button.left{transform:translate3d(-4.0625rem, 0, 0);left:0.25rem}.scroll-button.right{transform:translate3d(4.0625rem, 0, 0);right:0.25rem}.scroll-button:hover{transform:translate3d(0, 0, 0)}.mdc-tab-scroller{position:relative;overflow:hidden}.mdc-tab-scroller.can-scroll-left .scroll-fade.left,.mdc-tab-scroller.can-scroll-left .scroll-button.left,.mdc-tab-scroller.can-scroll-right .scroll-fade.right,.mdc-tab-scroller.can-scroll-right .scroll-button.right{transform:translate3d(0, 0, 0)}.mdc-tab-scroller.can-scroll-left:not(.can-scroll-right) .scroll-button.right,.mdc-tab-scroller.can-scroll-right:not(.can-scroll-left) .scroll-button.left{opacity:0.5;transition-delay:0.5s}.lime-hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.mdc-tab-scroller__scroll-content{padding:0.25rem 0.75rem 0 0.75rem;background-color:rgb(var(--contrast-300))}:host(limel-tab-bar){--limel-active-tab-background-color:var(\n --tab-panel-background-color,\n rgb(var(--contrast-100))\n );isolation:isolate;display:block;position:relative}:host(.has-tabs-with-equal-width) .mdc-tab{flex:1 0 auto}.mdc-tab-indicator .mdc-tab-indicator__content{border:none}.mdc-tab__ripple{box-sizing:border-box;border-radius:0.625rem;border-style:solid;border-color:transparent;border-width:0.25rem;opacity:0.7}.mdc-tab__ripple:before,.mdc-tab__ripple:after{transition:background-color 0.5s ease}.mdc-tab{border-radius:0;letter-spacing:normal;padding-right:1.25rem;padding-left:1.25rem;min-width:2.5rem;background-color:transparent;flex:0 0 auto}.mdc-tab:not(.mdc-tab--active){--badge-background-color:rgb(var(--contrast-600))}.mdc-tab:not(.mdc-tab--active):after{content:\"\";display:block;background-color:rgb(var(--contrast-600));width:0.125rem;height:1rem;margin:auto;position:absolute;top:0;bottom:0;border-radius:1rem;right:-0.125rem}.mdc-tab:not(.mdc-tab--active):last-of-type:after{display:none}.mdc-tab--active{border-radius:0.625rem 0.625rem 0 0;background-color:var(--limel-active-tab-background-color);z-index:2}.mdc-tab--active:before,.mdc-tab--active:after{content:\"\";display:block;width:0.75rem;height:0.75rem;position:absolute;bottom:0;background-color:var(--limel-active-tab-background-color);-webkit-mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\");mask-image:url(\"data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' stroke-linejoin='round' stroke-miterlimit='2' clip-rule='evenodd' viewBox='0 0 50 50'><defs/><path d='M0 0c0 27.594 22.406 50 50 50H0V0z'/></svg>\")}.mdc-tab--active:before{left:-0.75rem;transform:rotateY(180deg)}.mdc-tab--active:after{right:-0.75rem}.mdc-tab--active .mdc-ripple-upgraded--background-focused:before{background-color:transparent;transition:background-color 1s ease}.mdc-tab__content{gap:0.375rem}.mdc-tab .mdc-tab__text-label{transition:color 0.2s ease;padding-left:0 !important;color:var(--mdc-theme-on-surface)}.mdc-tab:hover .mdc-tab__text-label{color:var(--mdc-theme-text-primary-on-background)}.mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mdc-theme-primary)}";export{st as limel_tab_bar}
|