@siemens/ix 1.3.0 → 1.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-17eb8998.js → index-f4b8e6ee.js} +54 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-application-header.cjs.entry.js +2 -2
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +1 -1
- package/dist/cjs/ix-blind.cjs.entry.js +2 -2
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-category-filter.cjs.entry.js +85 -116
- package/dist/cjs/ix-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-counter-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/ix-date-time-card.cjs.entry.js +1 -1
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +1 -1
- package/dist/cjs/ix-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-expanding-search.cjs.entry.js +1 -1
- package/dist/cjs/ix-filter-chip.cjs.entry.js +1 -1
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/ix-group_3.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/ix-icon.cjs.entry.js +1 -1
- package/dist/cjs/ix-input-group.cjs.entry.js +1 -1
- package/dist/cjs/ix-kpi.cjs.entry.js +1 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-menu_9.cjs.entry.js +3 -3
- package/dist/cjs/ix-message-bar.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js +1 -1
- package/dist/cjs/ix-modal_2.cjs.entry.js +2 -2
- package/dist/cjs/ix-pill.cjs.entry.js +1 -1
- package/dist/cjs/ix-select_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js +6 -4
- package/dist/cjs/ix-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/ix-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ix-tile.cjs.entry.js +1 -1
- package/dist/cjs/ix-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-toggle.cjs.entry.js +1 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js +1 -1
- package/dist/cjs/ix-upload.cjs.entry.js +1 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-dda2f6be.js → modal-2d0f9191.js} +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/siemens-ix.cjs.js +2 -2
- package/dist/collection/components/application-header/application-header.css +3 -1
- package/dist/collection/components/blind/blind.css +0 -1
- package/dist/collection/components/category-filter/category-filter.css +31 -44
- package/dist/collection/components/category-filter/category-filter.js +85 -131
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/event-list-item/event-list-item.css +4 -0
- package/dist/collection/components/map-navigation/map-navigation.css +2 -1
- package/dist/collection/components/menu-about-news/menu-about-news.css +10 -14
- package/dist/collection/components/menu-about-news/menu-about-news.js +1 -1
- package/dist/collection/components/split-button/split-button.css +10 -1
- package/dist/collection/components/split-button/split-button.js +4 -2
- package/dist/components/application-header.js +1 -1
- package/dist/components/date-picker.js +3 -3
- package/dist/components/ix-blind.js +1 -1
- package/dist/components/ix-category-filter.js +94 -123
- package/dist/components/ix-event-list-item.js +1 -1
- package/dist/components/ix-map-navigation.js +1 -1
- package/dist/components/ix-menu-about-news.js +2 -2
- package/dist/components/ix-split-button.js +5 -3
- package/dist/esm/{index-6f4f3582.js → index-6b660a23.js} +54 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ix-animated-tab_2.entry.js +1 -1
- package/dist/esm/ix-application-header.entry.js +2 -2
- package/dist/esm/ix-basic-navigation.entry.js +1 -1
- package/dist/esm/ix-blind.entry.js +2 -2
- package/dist/esm/ix-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ix-button.entry.js +1 -1
- package/dist/esm/ix-category-filter.entry.js +85 -116
- package/dist/esm/ix-chip.entry.js +1 -1
- package/dist/esm/ix-counter-pill.entry.js +1 -1
- package/dist/esm/ix-date-picker_2.entry.js +4 -4
- package/dist/esm/ix-date-time-card.entry.js +1 -1
- package/dist/esm/ix-datetime-picker.entry.js +1 -1
- package/dist/esm/ix-drawer.entry.js +1 -1
- package/dist/esm/ix-dropdown-button.entry.js +1 -1
- package/dist/esm/ix-dropdown_2.entry.js +1 -1
- package/dist/esm/ix-event-list_2.entry.js +2 -2
- package/dist/esm/ix-expanding-search.entry.js +1 -1
- package/dist/esm/ix-filter-chip.entry.js +1 -1
- package/dist/esm/ix-flip-tile_2.entry.js +1 -1
- package/dist/esm/ix-group-context-menu.entry.js +1 -1
- package/dist/esm/ix-group_3.entry.js +1 -1
- package/dist/esm/ix-icon-button.entry.js +1 -1
- package/dist/esm/ix-icon.entry.js +1 -1
- package/dist/esm/ix-input-group.entry.js +1 -1
- package/dist/esm/ix-kpi.entry.js +1 -1
- package/dist/esm/ix-map-navigation_2.entry.js +2 -2
- package/dist/esm/ix-menu_9.entry.js +3 -3
- package/dist/esm/ix-message-bar.entry.js +1 -1
- package/dist/esm/ix-modal-example.entry.js +1 -1
- package/dist/esm/ix-modal_2.entry.js +2 -2
- package/dist/esm/ix-pill.entry.js +1 -1
- package/dist/esm/ix-select_2.entry.js +1 -1
- package/dist/esm/ix-spinner.entry.js +1 -1
- package/dist/esm/ix-split-button_2.entry.js +6 -4
- package/dist/esm/ix-tab-item.entry.js +1 -1
- package/dist/esm/ix-tabs.entry.js +1 -1
- package/dist/esm/ix-tile.entry.js +1 -1
- package/dist/esm/ix-toast_2.entry.js +1 -1
- package/dist/esm/ix-toggle.entry.js +1 -1
- package/dist/esm/ix-tree_2.entry.js +1 -1
- package/dist/esm/ix-upload.entry.js +1 -1
- package/dist/esm/ix-validation-tooltip.entry.js +1 -1
- package/dist/esm/ix-workflow-step_2.entry.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{modal-df0a62f2.js → modal-3618eb44.js} +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/siemens-ix.js +2 -2
- package/dist/siemens-ix/index.esm.js +1 -1
- package/dist/siemens-ix/{p-4b170382.entry.js → p-082bbe13.entry.js} +1 -1
- package/dist/siemens-ix/{p-418e2d14.entry.js → p-098e22c3.entry.js} +1 -1
- package/dist/siemens-ix/{p-43616759.entry.js → p-0bc4408b.entry.js} +1 -1
- package/dist/siemens-ix/{p-7f842cdc.entry.js → p-0d619f3e.entry.js} +1 -1
- package/dist/siemens-ix/{p-2e24ae23.entry.js → p-10158414.entry.js} +1 -1
- package/dist/siemens-ix/{p-3663f989.entry.js → p-122cf38d.entry.js} +1 -1
- package/dist/siemens-ix/{p-e7621b0a.entry.js → p-1d48ce36.entry.js} +1 -1
- package/dist/siemens-ix/{p-2bd88760.entry.js → p-2c8e4dd1.entry.js} +1 -1
- package/dist/siemens-ix/{p-e2925222.entry.js → p-3624a41c.entry.js} +1 -1
- package/dist/siemens-ix/{p-218de283.entry.js → p-3c754d90.entry.js} +1 -1
- package/dist/siemens-ix/{p-ea333007.entry.js → p-3cc4df65.entry.js} +1 -1
- package/dist/siemens-ix/{p-4fcb5f2b.entry.js → p-404e81d2.entry.js} +1 -1
- package/dist/siemens-ix/p-4ac5d916.entry.js +1 -0
- package/dist/siemens-ix/{p-f7be9635.entry.js → p-50ed9d54.entry.js} +1 -1
- package/dist/siemens-ix/{p-23d79e3d.entry.js → p-55663fd5.entry.js} +1 -1
- package/dist/siemens-ix/{p-eb150313.entry.js → p-560cfce8.entry.js} +1 -1
- package/dist/siemens-ix/{p-18d02e6f.entry.js → p-5890faf9.entry.js} +1 -1
- package/dist/siemens-ix/{p-eed28e55.entry.js → p-60b90da6.entry.js} +1 -1
- package/dist/siemens-ix/p-66074788.js +2 -0
- package/dist/siemens-ix/{p-a5fa7ae5.entry.js → p-6637ae65.entry.js} +1 -1
- package/dist/siemens-ix/{p-33283dbf.entry.js → p-67cf5cd4.entry.js} +1 -1
- package/dist/siemens-ix/{p-c3e90c06.entry.js → p-6be65050.entry.js} +1 -1
- package/dist/siemens-ix/p-6df18451.entry.js +1 -0
- package/dist/siemens-ix/{p-8b4e4718.entry.js → p-70bd3dbf.entry.js} +1 -1
- package/dist/siemens-ix/{p-fecf0ade.entry.js → p-72cfbc1c.entry.js} +1 -1
- package/dist/siemens-ix/p-783ce87b.entry.js +1 -0
- package/dist/siemens-ix/{p-dec6114f.js → p-8c3bfc2f.js} +1 -1
- package/dist/siemens-ix/{p-d0bb8225.entry.js → p-8c53c142.entry.js} +1 -1
- package/dist/siemens-ix/{p-8a7141a6.entry.js → p-921da56a.entry.js} +1 -1
- package/dist/siemens-ix/{p-cc0f6f6b.entry.js → p-9299617f.entry.js} +1 -1
- package/dist/siemens-ix/{p-592f1ed3.entry.js → p-9c8c835c.entry.js} +1 -1
- package/dist/siemens-ix/{p-a88618e3.entry.js → p-a3a59238.entry.js} +1 -1
- package/dist/siemens-ix/{p-b3d00feb.entry.js → p-ab35eaee.entry.js} +1 -1
- package/dist/siemens-ix/{p-6fe3bb9c.entry.js → p-ae35c07f.entry.js} +1 -1
- package/dist/siemens-ix/{p-03d38416.entry.js → p-b46155b7.entry.js} +1 -1
- package/dist/siemens-ix/{p-b242bd39.entry.js → p-b7b753cc.entry.js} +1 -1
- package/dist/siemens-ix/{p-5631ae88.entry.js → p-b9a66b74.entry.js} +1 -1
- package/dist/siemens-ix/{p-9b5290d4.entry.js → p-c4568016.entry.js} +1 -1
- package/dist/siemens-ix/p-d7618223.entry.js +1 -0
- package/dist/siemens-ix/{p-67eb9d59.entry.js → p-e51a110f.entry.js} +1 -1
- package/dist/siemens-ix/p-e652328d.entry.js +1 -0
- package/dist/siemens-ix/{p-65e61684.entry.js → p-e82905f0.entry.js} +1 -1
- package/dist/siemens-ix/{p-a6f4cfc6.entry.js → p-f05b01a4.entry.js} +1 -1
- package/dist/siemens-ix/{p-ab7949ff.entry.js → p-f1a1e8ee.entry.js} +1 -1
- package/dist/siemens-ix/{p-72f851ae.entry.js → p-f3cde62f.entry.js} +1 -1
- package/dist/siemens-ix/{p-150d7a02.entry.js → p-fa262af7.entry.js} +1 -1
- package/dist/siemens-ix/siemens-ix.css +2045 -1789
- package/dist/siemens-ix/siemens-ix.esm.js +1 -1
- package/dist/types/components/category-filter/category-filter.d.ts +10 -15
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
- package/scss/components/_buttons.scss +1 -1
- package/scss/components/_checkboxes.scss +2 -2
- package/scss/components/_forms.scss +1 -1
- package/scss/components/_radiobuttons.scss +2 -2
- package/scss/components/_shadows.scss +12 -24
- package/scss/ix.scss +1 -2
- package/scss/theme/classic-dark/_border.scss +35 -0
- package/scss/theme/classic-dark/_borderRadius.scss +24 -0
- package/scss/theme/classic-dark/_borderWidth.scss +18 -0
- package/scss/theme/classic-dark/_boxShadow.scss +19 -0
- package/scss/theme/classic-dark/_color.scss +860 -0
- package/scss/theme/classic-dark/_fontFamilies.scss +8 -0
- package/scss/theme/classic-dark/_fontSizes.scss +13 -0
- package/scss/theme/classic-dark/_fontWeights.scss +9 -0
- package/scss/theme/classic-dark/_index.scss +16 -0
- package/scss/theme/classic-dark/_lineHeights.scss +18 -0
- package/scss/theme/classic-dark/_other.scss +16 -0
- package/scss/theme/classic-dark/_sizing.scss +16 -0
- package/scss/theme/classic-dark/_spacing.scss +9 -0
- package/scss/theme/classic-dark/_typography.scss +23 -0
- package/scss/theme/classic-light/_border.scss +35 -0
- package/scss/theme/classic-light/_borderRadius.scss +24 -0
- package/scss/theme/classic-light/_borderWidth.scss +18 -0
- package/scss/theme/classic-light/_boxShadow.scss +19 -0
- package/scss/theme/classic-light/_color.scss +860 -0
- package/scss/theme/classic-light/_fontFamilies.scss +8 -0
- package/scss/theme/classic-light/_fontSizes.scss +13 -0
- package/scss/theme/classic-light/_fontWeights.scss +9 -0
- package/scss/theme/classic-light/_index.scss +16 -0
- package/scss/theme/classic-light/_lineHeights.scss +18 -0
- package/scss/theme/classic-light/_other.scss +16 -0
- package/scss/theme/classic-light/_sizing.scss +16 -0
- package/scss/theme/classic-light/_spacing.scss +9 -0
- package/scss/theme/classic-light/_typography.scss +23 -0
- package/dist/siemens-ix/p-05c16b94.js +0 -2
- package/dist/siemens-ix/p-0e357d27.entry.js +0 -1
- package/dist/siemens-ix/p-2bc72119.entry.js +0 -1
- package/dist/siemens-ix/p-5bbe9943.entry.js +0 -1
- package/dist/siemens-ix/p-c993560f.entry.js +0 -1
- package/dist/siemens-ix/p-d20119c1.entry.js +0 -1
- package/scss/theme/_define-theme-colors.scss +0 -22
- package/scss/theme/_define-theme-variable.scss +0 -12
- package/scss/theme/_define-theme.scss +0 -36
- package/scss/theme/_static-colors.scss +0 -19
- package/scss/theme/classic-dark/_sizes.scss +0 -66
- package/scss/theme/classic-dark/_variables.scss +0 -827
- package/scss/theme/classic-dark/index.scss +0 -15
- package/scss/theme/classic-light/_sizes.scss +0 -66
- package/scss/theme/classic-light/_variables.scss +0 -829
- package/scss/theme/classic-light/index.scss +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { d as defineCustomElement$5 } from './dropdown.js';
|
|
3
3
|
import { d as defineCustomElement$4 } from './filter-chip.js';
|
|
4
4
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './icon-button.js';
|
|
@@ -36,7 +36,7 @@ var LogicalFilterOperator;
|
|
|
36
36
|
LogicalFilterOperator["NOT_EQUAL"] = "Not equal";
|
|
37
37
|
})(LogicalFilterOperator || (LogicalFilterOperator = {}));
|
|
38
38
|
|
|
39
|
-
const categoryFilterCss = ".sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus-visible{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h .category-
|
|
39
|
+
const categoryFilterCss = ".sc-ix-category-filter-h{display:block;position:relative}.sc-ix-category-filter-h .focus.sc-ix-category-filter{border-color:var(--theme-color-primary);box-shadow:0 0 0.25rem 0 var(--theme-color-primary) !important}.sc-ix-category-filter-h .reset-button.sc-ix-category-filter{position:absolute;top:0.25rem;right:0.25rem}.sc-ix-category-filter-h .reset-button.hide-reset-button.sc-ix-category-filter{display:none}.sc-ix-category-filter-h .input-container.sc-ix-category-filter{display:flex;height:100%;max-height:3.75rem;padding:1px 1.5rem 1px 2rem}.sc-ix-category-filter-h .input-container.no-icon.sc-ix-category-filter{padding-left:0.25rem}.sc-ix-category-filter-h .token-container.sc-ix-category-filter{flex-grow:1;overflow:hidden}.sc-ix-category-filter-h .text-input.sc-ix-category-filter{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;flex-grow:1;height:1.75rem}.sc-ix-category-filter-h .text-input.sc-ix-category-filter,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:hover,.sc-ix-category-filter-h .text-input.sc-ix-category-filter:focus-visible{border:none;outline:none}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::-moz-placeholder{opacity:0}.sc-ix-category-filter-h .text-input.hide-placeholder.sc-ix-category-filter::placeholder{opacity:0}.sc-ix-category-filter-h .list-unstyled.sc-ix-category-filter{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0;overflow-y:auto}.sc-ix-category-filter-h ix-icon.sc-ix-category-filter{position:absolute;top:0.5rem;left:0.5rem}.sc-ix-category-filter-h ix-filter-chip.sc-ix-category-filter{margin-right:0.5rem}.sc-ix-category-filter-h .category-preview.sc-ix-category-filter{display:flex;align-items:center;height:1.5rem;background-color:var(--theme-bg-3);border-top-left-radius:1rem;border-bottom-left-radius:1rem;padding:0.5rem;margin:2px 0}.sc-ix-category-filter-h ul.sc-ix-category-filter{height:100%}.sc-ix-category-filter-h ul.sc-ix-category-filter>li.sc-ix-category-filter,.sc-ix-category-filter-h input.sc-ix-category-filter{padding-top:2px;padding-bottom:2px}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter{min-width:10rem !important}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter{display:flex;flex-direction:column}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .dropdown-item.sc-ix-category-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.143em;color:var(--theme-color-std-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;height:2.5rem;margin:0.25rem 0.5rem;padding-inline:0.5rem;border-radius:100rem;width:auto}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item.sc-ix-category-filter{border-end-end-radius:0;border-start-end-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .dropdown-item-container.sc-ix-category-filter .category-item-value.sc-ix-category-filter{border-start-start-radius:0;border-end-start-radius:0}.sc-ix-category-filter-h ix-dropdown.sc-ix-category-filter .btn-toggle-operator.sc-ix-category-filter{margin-inline:0.5rem}";
|
|
40
40
|
|
|
41
41
|
const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
42
42
|
constructor() {
|
|
@@ -45,17 +45,12 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
45
45
|
this.inputChanged = createEvent(this, "inputChanged", 7);
|
|
46
46
|
this.filterChanged = createEvent(this, "filterChanged", 7);
|
|
47
47
|
this.ID_CUSTOM_FILTER_VALUE = 'CW_CUSTOM_FILTER_VALUE';
|
|
48
|
-
this.
|
|
48
|
+
this.textInput = undefined;
|
|
49
49
|
this.hasFocus = undefined;
|
|
50
|
-
this.showCategorySelection = undefined;
|
|
51
50
|
this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
|
|
52
51
|
this.inputValue = undefined;
|
|
53
52
|
this.category = undefined;
|
|
54
53
|
this.filterTokens = [];
|
|
55
|
-
this.offsetDropdownX = undefined;
|
|
56
|
-
this.offsetDropdownY = undefined;
|
|
57
|
-
this.maxHeightDropdown = undefined;
|
|
58
|
-
this.maxWidthDropdown = undefined;
|
|
59
54
|
this.initialState = undefined;
|
|
60
55
|
this.filterState = undefined;
|
|
61
56
|
this.placeholder = undefined;
|
|
@@ -72,25 +67,13 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
72
67
|
watchFilterState(newValue) {
|
|
73
68
|
this.setFilterState(newValue);
|
|
74
69
|
}
|
|
75
|
-
watchShowCategorySelection(newValue) {
|
|
76
|
-
if (newValue) {
|
|
77
|
-
document.addEventListener('click', this.documentClickCallback);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
document.removeEventListener('click', this.documentClickCallback);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
setDropdownOffset() {
|
|
84
|
-
const height = this.calculateDropdownHeight();
|
|
85
|
-
this.maxHeightDropdown = convertToRemString(height);
|
|
86
|
-
}
|
|
87
70
|
componentDidLoad() {
|
|
88
71
|
var _a, _b;
|
|
89
72
|
if (this.initialState !== undefined) {
|
|
90
73
|
this.setFilterState(this.initialState);
|
|
91
74
|
}
|
|
92
75
|
else if (this.filterState !== undefined) {
|
|
93
|
-
this.setFilterState(this.filterState);
|
|
76
|
+
setTimeout(() => this.setFilterState(this.filterState));
|
|
94
77
|
}
|
|
95
78
|
(_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.addEventListener('keydown', this.handleFormElementKeyDown.bind(this));
|
|
96
79
|
(_b = this.formElement) === null || _b === void 0 ? void 0 : _b.addEventListener('submit', (e) => e.preventDefault());
|
|
@@ -98,7 +81,6 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
98
81
|
console.warn('Core UI category filter - unable to add event listeners to native input element');
|
|
99
82
|
return;
|
|
100
83
|
}
|
|
101
|
-
this.textInput.addEventListener('click', () => (this.showCategorySelection = true));
|
|
102
84
|
this.textInput.addEventListener('focusin', () => {
|
|
103
85
|
this.hasFocus = true;
|
|
104
86
|
});
|
|
@@ -107,7 +89,6 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
107
89
|
this.inputValue = this.textInput.value;
|
|
108
90
|
const inputState = new InputState(this.inputValue, this.category);
|
|
109
91
|
this.inputChanged.emit(inputState);
|
|
110
|
-
this.showCategorySelection = true;
|
|
111
92
|
});
|
|
112
93
|
this.textInput.addEventListener('keydown', this.handleInputElementKeyDown.bind(this));
|
|
113
94
|
}
|
|
@@ -121,27 +102,27 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
121
102
|
}
|
|
122
103
|
this.emitFilterEvent();
|
|
123
104
|
}
|
|
124
|
-
handleDocumentClick(ev) {
|
|
125
|
-
const target = ev.target;
|
|
126
|
-
if (!this.hostElement.contains(target)) {
|
|
127
|
-
this.closeDropdown();
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
105
|
closeDropdown() {
|
|
131
|
-
this.
|
|
132
|
-
this.category = undefined;
|
|
106
|
+
this.hostElement.querySelector('ix-dropdown').show = false;
|
|
133
107
|
}
|
|
134
108
|
handleFormElementKeyDown(e) {
|
|
135
109
|
switch (e.code) {
|
|
136
110
|
case 'Enter':
|
|
137
111
|
case 'NumpadEnter':
|
|
138
|
-
if (
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
112
|
+
if (!document.activeElement.classList.contains('dropdown-item')) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
const token = document.activeElement.getAttribute('data-id');
|
|
116
|
+
if (this.hasCategorySelection()) {
|
|
117
|
+
if (this.category) {
|
|
118
|
+
this.addToken(token, this.category);
|
|
119
|
+
}
|
|
120
|
+
else if (document.activeElement.classList.contains('category-item-id')) {
|
|
121
|
+
this.selectCategory(token);
|
|
122
|
+
}
|
|
142
123
|
}
|
|
143
|
-
else
|
|
144
|
-
this.
|
|
124
|
+
else {
|
|
125
|
+
this.addToken(token);
|
|
145
126
|
}
|
|
146
127
|
e.preventDefault();
|
|
147
128
|
break;
|
|
@@ -235,6 +216,9 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
235
216
|
this.textInput.value = '';
|
|
236
217
|
this.inputValue = '';
|
|
237
218
|
this.categoryLogicalOperator = LogicalFilterOperator.EQUAL;
|
|
219
|
+
if (this.category) {
|
|
220
|
+
this.category = undefined;
|
|
221
|
+
}
|
|
238
222
|
this.isScrollStateDirty = true;
|
|
239
223
|
this.textInput.focus();
|
|
240
224
|
if (emitEvent) {
|
|
@@ -255,43 +239,17 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
255
239
|
}
|
|
256
240
|
return ids;
|
|
257
241
|
}
|
|
258
|
-
getCategoryLables() {
|
|
259
|
-
return this.getCategoryIds().map((id) => this.categories[id].label);
|
|
260
|
-
}
|
|
261
242
|
selectCategory(category) {
|
|
262
243
|
this.category = category;
|
|
263
244
|
this.textInput.value = '';
|
|
264
245
|
this.inputValue = '';
|
|
265
246
|
this.textInput.focus();
|
|
266
247
|
}
|
|
267
|
-
openCategorySelection() {
|
|
268
|
-
this.showCategorySelection = true;
|
|
269
|
-
}
|
|
270
248
|
resetFilter() {
|
|
271
249
|
this.closeDropdown();
|
|
272
250
|
this.filterTokens = [];
|
|
273
251
|
this.emitFilterEvent();
|
|
274
252
|
}
|
|
275
|
-
calculateDropdownX() {
|
|
276
|
-
var _a;
|
|
277
|
-
if (!this.textInput) {
|
|
278
|
-
return 0;
|
|
279
|
-
}
|
|
280
|
-
const xInput = this.textInput.getBoundingClientRect().x;
|
|
281
|
-
const xFrom = (_a = this.formElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().x;
|
|
282
|
-
return xInput - xFrom;
|
|
283
|
-
}
|
|
284
|
-
calculateDropdownY() {
|
|
285
|
-
if (!this.textInput) {
|
|
286
|
-
return 32;
|
|
287
|
-
}
|
|
288
|
-
return this.hostElement.getBoundingClientRect().height;
|
|
289
|
-
}
|
|
290
|
-
calculateDropdownHeight(top = 32) {
|
|
291
|
-
const hostTop = this.hostElement.getBoundingClientRect().top;
|
|
292
|
-
const offset = hostTop + top;
|
|
293
|
-
return window.innerHeight - offset;
|
|
294
|
-
}
|
|
295
253
|
filterMultiples(value) {
|
|
296
254
|
if (this.repeatCategories) {
|
|
297
255
|
return true;
|
|
@@ -328,23 +286,68 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
328
286
|
const label = (_c = (_b = (_a = this.categories[value.id]) === null || _a === void 0 ? void 0 : _a.label) !== null && _b !== void 0 ? _b : this.nonSelectableCategories[value.id]) !== null && _c !== void 0 ? _c : value.id;
|
|
329
287
|
return `${label} ${operatorString} ${value.value}`;
|
|
330
288
|
}
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
this.
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
289
|
+
getFilteredSuggestions() {
|
|
290
|
+
var _a, _b;
|
|
291
|
+
if (!((_a = this.suggestions) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
292
|
+
return [];
|
|
293
|
+
}
|
|
294
|
+
return (_b = this.suggestions) === null || _b === void 0 ? void 0 : _b.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value));
|
|
295
|
+
}
|
|
296
|
+
hasCategorySelection() {
|
|
297
|
+
return this.categories !== undefined;
|
|
298
|
+
}
|
|
299
|
+
displayDropdown() {
|
|
300
|
+
if (this.hasCategorySelection()) {
|
|
301
|
+
return true;
|
|
302
|
+
}
|
|
303
|
+
if (this.suggestions !== undefined) {
|
|
304
|
+
return this.getFilteredSuggestions().length > 0;
|
|
305
|
+
}
|
|
306
|
+
return false;
|
|
307
|
+
}
|
|
308
|
+
renderPlainSuggestions() {
|
|
309
|
+
return (h("div", { class: "dropdown-item-container" }, this.getFilteredSuggestions().map((suggestion) => (h("button", { class: "dropdown-item", "data-id": suggestion, onClick: () => this.addToken(suggestion), key: suggestion, title: suggestion }, suggestion)))));
|
|
310
|
+
}
|
|
311
|
+
renderCategoryValues() {
|
|
312
|
+
var _a, _b;
|
|
313
|
+
return (h("div", { class: "dropdown-item-container" }, h("button", { class: "btn btn-invisible-secondary btn-icon btn-toggle-operator", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
|
|
314
|
+
? '='
|
|
315
|
+
: '!='), h("div", { class: "dropdown-header" }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label), (_b = this.categories[this.category]) === null || _b === void 0 ? void 0 :
|
|
316
|
+
_b.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("button", { class: "dropdown-item category-item-value", "data-id": id, title: id, key: id, onClick: () => this.addToken(id, this.category) }, `${this.categoryLogicalOperator === LogicalFilterOperator.EQUAL
|
|
317
|
+
? '='
|
|
318
|
+
: '!='} ${id}`)))));
|
|
319
|
+
}
|
|
320
|
+
renderDropdownContent() {
|
|
321
|
+
if (this.hasCategorySelection()) {
|
|
322
|
+
if (this.category) {
|
|
323
|
+
return this.renderCategoryValues();
|
|
324
|
+
}
|
|
325
|
+
else {
|
|
326
|
+
return this.renderCategorySelection();
|
|
327
|
+
}
|
|
343
328
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
329
|
+
else
|
|
330
|
+
return this.renderPlainSuggestions();
|
|
331
|
+
}
|
|
332
|
+
renderCategorySelection() {
|
|
333
|
+
var _a;
|
|
334
|
+
return (h("div", { class: "dropdown-item-container" }, (_a = this.getCategoryIds()) === null || _a === void 0 ? void 0 : _a.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
|
|
335
|
+
var _a;
|
|
336
|
+
return (h("button", { class: "dropdown-item category-item category-item-id", "data-id": id, title: this.categories[id].label, key: id, onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
|
|
337
|
+
})));
|
|
338
|
+
}
|
|
339
|
+
getDropdownHeader() {
|
|
340
|
+
if (this.categories) {
|
|
341
|
+
if (this.category) {
|
|
342
|
+
return null;
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
return this.labelCategories;
|
|
346
|
+
}
|
|
347
347
|
}
|
|
348
|
+
return this.i18nPlainText;
|
|
349
|
+
}
|
|
350
|
+
componentDidRender() {
|
|
348
351
|
if (this.isScrollStateDirty) {
|
|
349
352
|
if (!this.tmpDisableScrollIntoView) {
|
|
350
353
|
this.textInput.scrollIntoView();
|
|
@@ -359,13 +362,13 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
359
362
|
}, variant: "Secondary", ghost: true, oval: true, icon: "clear", size: "16", tabindex: "1" }));
|
|
360
363
|
}
|
|
361
364
|
render() {
|
|
362
|
-
var _a
|
|
365
|
+
var _a;
|
|
363
366
|
return (h(Host, null, h("form", { ref: (el) => (this.formElement = el) }, h("div", { class: {
|
|
364
367
|
'form-control': true,
|
|
365
368
|
'input-container': true,
|
|
366
369
|
focus: this.hasFocus,
|
|
367
370
|
'no-icon': this.hideIcon,
|
|
368
|
-
} }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { class: {
|
|
371
|
+
} }, h("ix-icon", { class: { 'd-none': this.hideIcon }, name: this.icon, size: "16" }), h("div", { class: "token-container" }, h("ul", { class: "list-unstyled" }, this.filterTokens.map((value, index) => (h("li", { key: value.toString(), class: {
|
|
369
372
|
animate__animated: true,
|
|
370
373
|
animate__fadein: true,
|
|
371
374
|
} }, h("ix-filter-chip", { onCloseClick: () => this.removeToken(index) }, this.getFilterChipLabel(value))))), this.categories === undefined ? ('') : (h("li", { class: {
|
|
@@ -374,44 +377,11 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
374
377
|
} }, (_a = this.categories[this.category]) === null || _a === void 0 ? void 0 : _a.label)), h("input", { class: {
|
|
375
378
|
'text-input': true,
|
|
376
379
|
'hide-placeholder': this.category !== undefined,
|
|
377
|
-
}, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder
|
|
378
|
-
'category-selection-container': true,
|
|
379
|
-
'd-none': !this.showCategorySelection && this.category === undefined,
|
|
380
|
-
}, style: {
|
|
381
|
-
left: this.offsetDropdownX,
|
|
382
|
-
top: this.offsetDropdownY,
|
|
383
|
-
'max-width': this.maxWidthDropdown,
|
|
384
|
-
'max-height': this.maxHeightDropdown,
|
|
385
|
-
} }, h("div", { class: {
|
|
386
|
-
'd-none': !this.showCategorySelection || this.category !== undefined,
|
|
387
|
-
} }, h("div", { class: {
|
|
388
|
-
'category-item-header': true,
|
|
389
|
-
'd-none': this.getCategoryLables().filter((value) => this.filterByInput(value)).length === 0,
|
|
390
|
-
} }, this.labelCategories), (_b = this.getCategoryIds()) === null || _b === void 0 ? void 0 :
|
|
391
|
-
_b.filter((id) => this.filterByInput(this.categories[id].label)).filter((id) => this.filterMultiples(id)).map((id) => {
|
|
392
|
-
var _a;
|
|
393
|
-
return (h("div", { "data-id": id, title: id, class: "category-item category-item-id", onClick: () => this.selectCategory(id), tabindex: "0" }, (_a = this.categories[id]) === null || _a === void 0 ? void 0 : _a.label));
|
|
394
|
-
})), h("div", { class: {
|
|
395
|
-
'd-none': this.category === undefined,
|
|
396
|
-
} }, h("button", { class: "btn btn-invisible-secondary btn-icon", onClick: () => this.toggleCategoryOperator(), tabindex: "-1" }, this.categoryLogicalOperator === LogicalFilterOperator.NOT_EQUAL
|
|
397
|
-
? '='
|
|
398
|
-
: '!='), this.categories === undefined ? ('') : (h("div", { class: "category-item-header" }, (_c = this.categories[this.category]) === null || _c === void 0 ? void 0 : _c.label)), this.categories === undefined
|
|
399
|
-
? ''
|
|
400
|
-
: (_d = this.categories[this.category]) === null || _d === void 0 ? void 0 : _d.options.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((id) => (h("div", { "data-id": id, title: id, class: "category-item category-item-value", onClick: () => this.addToken(id, this.category), tabindex: "0" }, `${this.categoryLogicalOperator ===
|
|
401
|
-
LogicalFilterOperator.EQUAL
|
|
402
|
-
? '='
|
|
403
|
-
: '!='} ${id}`)))), h("div", { class: {
|
|
404
|
-
'category-item-header': true,
|
|
405
|
-
'd-none': this.category !== undefined ||
|
|
406
|
-
this.getCategoryIds().filter((value) => this.filterByInput(value)).length > 0,
|
|
407
|
-
} }, this.i18nPlainText), h("div", { class: {
|
|
408
|
-
'd-none': !((_e = this.suggestions) === null || _e === void 0 ? void 0 : _e.length) || this.category !== undefined,
|
|
409
|
-
} }, (_f = this.suggestions) === null || _f === void 0 ? void 0 : _f.filter((value) => this.filterByInput(value)).filter((value) => this.filterDuplicateTokens(value)).map((suggestion) => (h("div", { "data-id": suggestion, class: "category-item plain-text-suggestion", onClick: () => this.addToken(suggestion), tabindex: "0" }, suggestion)))))));
|
|
380
|
+
}, ref: (el) => (this.textInput = el), type: "text", placeholder: this.placeholder }))), this.getResetButton())), h("ix-dropdown", { closeBehavior: "outside", trigger: this.textInput, header: this.getDropdownHeader(), class: { 'd-none': !this.displayDropdown() } }, this.renderDropdownContent())));
|
|
410
381
|
}
|
|
411
382
|
get hostElement() { return this; }
|
|
412
383
|
static get watchers() { return {
|
|
413
|
-
"filterState": ["watchFilterState"]
|
|
414
|
-
"showCategorySelection": ["watchShowCategorySelection"]
|
|
384
|
+
"filterState": ["watchFilterState"]
|
|
415
385
|
}; }
|
|
416
386
|
static get style() { return categoryFilterCss; }
|
|
417
387
|
}, [2, "ix-category-filter", {
|
|
@@ -427,28 +397,29 @@ const CategoryFilter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
427
397
|
"tmpDisableScrollIntoView": [4, "tmp-disable-scroll-into-view"],
|
|
428
398
|
"labelCategories": [1, "label-categories"],
|
|
429
399
|
"i18nPlainText": [1, "i-1-8n-plain-text"],
|
|
400
|
+
"textInput": [32],
|
|
430
401
|
"hasFocus": [32],
|
|
431
|
-
"showCategorySelection": [32],
|
|
432
402
|
"categoryLogicalOperator": [32],
|
|
433
403
|
"inputValue": [32],
|
|
434
404
|
"category": [32],
|
|
435
|
-
"filterTokens": [32]
|
|
436
|
-
|
|
437
|
-
"offsetDropdownY": [32],
|
|
438
|
-
"maxHeightDropdown": [32],
|
|
439
|
-
"maxWidthDropdown": [32]
|
|
440
|
-
}, [[9, "resize", "setDropdownOffset"]]]);
|
|
405
|
+
"filterTokens": [32]
|
|
406
|
+
}]);
|
|
441
407
|
function defineCustomElement$1() {
|
|
442
408
|
if (typeof customElements === "undefined") {
|
|
443
409
|
return;
|
|
444
410
|
}
|
|
445
|
-
const components = ["ix-category-filter", "ix-filter-chip", "ix-icon", "ix-icon-button"];
|
|
411
|
+
const components = ["ix-category-filter", "ix-dropdown", "ix-filter-chip", "ix-icon", "ix-icon-button"];
|
|
446
412
|
components.forEach(tagName => { switch (tagName) {
|
|
447
413
|
case "ix-category-filter":
|
|
448
414
|
if (!customElements.get(tagName)) {
|
|
449
415
|
customElements.define(tagName, CategoryFilter);
|
|
450
416
|
}
|
|
451
417
|
break;
|
|
418
|
+
case "ix-dropdown":
|
|
419
|
+
if (!customElements.get(tagName)) {
|
|
420
|
+
defineCustomElement$5();
|
|
421
|
+
}
|
|
422
|
+
break;
|
|
452
423
|
case "ix-filter-chip":
|
|
453
424
|
if (!customElements.get(tagName)) {
|
|
454
425
|
defineCustomElement$4();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const eventListItemCss = ".ix-event-list-item{display:flex;align-items:center;position:relative;height:2.5rem;max-height:2.5rem;border-radius:0.25rem;background-color:var(--theme-event-item--background);overflow:hidden;cursor:pointer;margin-bottom:0.5rem}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):active{background-color:var(--theme-event-item--background--active)}.ix-event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem}.ix-event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}.ix-event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:0.25rem;border-bottom-left-radius:0;border-bottom-right-radius:0.25rem;border-left:none;padding-left:1rem}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):active{border-color:var(--theme-event-item--border--active)}.ix-event-list-item.selected:not(:active,.active) .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}.ix-event-list-item[disabled],.ix-event-list-item.disabled{pointer-events:none}.ix-event-list-item[disabled] .event-list-item-container,.ix-event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}.ix-event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}.ix-event-list-item .event-content{display:flex;align-items:center;width:100%;height:100%;overflow:hidden}";
|
|
3
|
+
const eventListItemCss = ".ix-event-list-item{display:flex;align-items:center;position:relative;height:2.5rem;max-height:2.5rem;border-radius:0.25rem;background-color:var(--theme-event-item--background);overflow:hidden;transition:150ms;cursor:pointer;margin-bottom:0.5rem}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):hover{background-color:var(--theme-event-item--background--hover)}.ix-event-list-item:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item:not(.disabled):not(:disabled):active{background-color:var(--theme-event-item--background--active)}.ix-event-list-item .indicator{height:100%;width:0.5rem;max-width:0.5rem;min-width:0.5rem;border-top-left-radius:0.25rem;border-bottom-left-radius:0.25rem}.ix-event-list-item .indicator-empty{border:var(--theme-weak-bdr-1);border-right:none}.ix-event-list-item .event-list-item-container{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-grow:1;width:calc(100% - (1rem + 0.5rem));height:100%;border:0.062rem solid;border-color:var(--theme-event-item--border);border-top-left-radius:0;border-top-right-radius:0.25rem;border-bottom-left-radius:0;border-bottom-right-radius:0.25rem;border-left:none;padding-left:1rem}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):hover{border-color:var(--theme-event-item--border--hover)}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled){cursor:pointer}.ix-event-list-item .event-list-item-container:not(.disabled):not(:disabled):active{border-color:var(--theme-event-item--border--active)}.ix-event-list-item.selected:not(:active,.active) .event-list-item-container{background-color:var(--theme-event-item--background--selected);border-color:var(--theme-event-item--border--selected)}.ix-event-list-item.selected:not(:active,.active) :hover{border-color:var(--theme-event-item--border--selected) !important}.ix-event-list-item[disabled],.ix-event-list-item.disabled{pointer-events:none}.ix-event-list-item[disabled] .event-list-item-container,.ix-event-list-item.disabled .event-list-item-container{background-color:var(--theme-event-item--background--disabled);border-color:var(--theme-event-item--border--disabled)}.ix-event-list-item .chevron-icon{margin-left:auto;margin-right:0.5rem;opacity:0.6;align-self:center}.ix-event-list-item .event-content{display:flex;align-items:center;width:100%;height:100%;overflow:hidden}";
|
|
4
4
|
|
|
5
5
|
const EventListItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { d as defineCustomElement$4 } from './icon.js';
|
|
|
5
5
|
import { d as defineCustomElement$3 } from './icon-button.js';
|
|
6
6
|
import { d as defineCustomElement$2 } from './map-navigation-overlay.js';
|
|
7
7
|
|
|
8
|
-
const mapNavigationCss = ".sc-ix-map-navigation-h{display:flex;position:relative;width:100%;height:100%}.sc-ix-map-navigation-h .map-nav.sc-ix-map-navigation{display:flex;margin-left:4rem;position:relative;height:100%;flex-grow:1;overflow:hidden}.sc-ix-map-navigation-h .map-nav-sidebar.sc-ix-map-navigation{display:flex;flex-direction:column;align-items:center;width:29.75rem;max-width:29.75rem;min-width:29.75rem;height:100%;left:4rem;background-color:var(--theme-map-navigation--background);-webkit-border-end:0.125rem solid var(--theme-map-navigation-separator--background);border-inline-end:0.125rem solid var(--theme-map-navigation-separator--background);z-index:99}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation{align-items:center;position:relative;overflow:auto;height:100%;width:100%}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation .map-nav-sidebar-static-content.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);display:flex;justify-content:space-between;margin-top:0.437rem;margin-bottom:0.812rem;margin-left:1rem;margin-right:1rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation{display:flex;position:relative;align-items:center;height:3.5rem;min-height:3.5rem;width:100%}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation{background-color:var(--theme-map-navigation-background);display:flex;align-items:center;height:100%;width:100%;padding:0 1rem;--theme-app-header-logo--color:var(--theme-
|
|
8
|
+
const mapNavigationCss = ".sc-ix-map-navigation-h{display:flex;position:relative;width:100%;height:100%}.sc-ix-map-navigation-h .map-nav.sc-ix-map-navigation{display:flex;margin-left:4rem;position:relative;height:100%;flex-grow:1;overflow:hidden}.sc-ix-map-navigation-h .map-nav-sidebar.sc-ix-map-navigation{display:flex;flex-direction:column;align-items:center;width:29.75rem;max-width:29.75rem;min-width:29.75rem;height:100%;left:4rem;background-color:var(--theme-map-navigation--background);-webkit-border-end:0.125rem solid var(--theme-map-navigation-separator--background);border-inline-end:0.125rem solid var(--theme-map-navigation-separator--background);z-index:99}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation{align-items:center;position:relative;overflow:auto;height:100%;width:100%}.sc-ix-map-navigation-h .map-nav-sidebar-content.sc-ix-map-navigation .map-nav-sidebar-static-content.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);display:flex;justify-content:space-between;margin-top:0.437rem;margin-bottom:0.812rem;margin-left:1rem;margin-right:1rem}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation{display:flex;position:relative;align-items:center;height:3.5rem;min-height:3.5rem;width:100%}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation{background-color:var(--theme-map-navigation-background);display:flex;align-items:center;height:100%;width:100%;padding:0 1rem;--theme-app-header--color:var(--theme-map-navigation-header--color);--theme-app-header-logo--color:var(--theme-map-navigation-logo--color)}.sc-ix-map-navigation-h .map-nav-header.sc-ix-map-navigation .map-nav-header-brand.sc-ix-map-navigation button.sc-ix-map-navigation{margin-left:1rem}.sc-ix-map-navigation-h .map-nav-header-content.sc-ix-map-navigation{display:flex;height:3.5rem;align-items:center;overflow:hidden;padding:0 1rem}.sc-ix-map-navigation-h .map-nav-header-content.sc-ix-map-navigation:empty{height:0}.sc-ix-map-navigation-h .map-nav-title.sc-ix-map-navigation{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:700;line-height:1.455em;color:var(--theme-color-std-text);display:flex;align-items:center;flex-grow:1}.sc-ix-map-navigation-h .content.sc-ix-map-navigation{display:block;flex-grow:1;position:relative;height:100%;overflow:hidden;z-index:calc(var(--theme-z-index-sticky) - 1)}";
|
|
9
9
|
|
|
10
10
|
const MapNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
11
11
|
constructor() {
|
|
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { d as defineCustomElement$3 } from './icon.js';
|
|
3
3
|
import { d as defineCustomElement$2 } from './icon-button.js';
|
|
4
4
|
|
|
5
|
-
const menuAboutNewsCss = ".sc-ix-menu-about-news-h{display:block;position:fixed;width:20rem;height:auto;background-color:var(--theme-color-1);border:var(--theme-weak-bdr-1);border-radius:0.25rem;padding:1rem;left:4rem;z-index:10000;transition:left var(--animate-duration);margin-left:
|
|
5
|
+
const menuAboutNewsCss = ".sc-ix-menu-about-news-h{--margin:0.5rem;display:block;position:fixed;width:20rem;height:auto;background-color:var(--theme-color-1);border:var(--theme-weak-bdr-1);border-radius:0.25rem;padding:1rem;left:4rem;z-index:10000;transition:left var(--animate-duration);margin-left:var(--margin) !important;box-shadow:var(--theme-box-shadow-level-4)}.expanded.sc-ix-menu-about-news-h{left:calc(4rem + 12rem)}.show.sc-ix-menu-about-news-h{display:none}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news{position:absolute;top:0.0625rem;left:1rem}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news svg.sc-ix-menu-about-news{position:absolute;height:3.625rem;width:3rem}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news svg.sc-ix-menu-about-news polygon.sc-ix-menu-about-news{fill:var(--theme-color-primary)}.sc-ix-menu-about-news-h .banner-container.sc-ix-menu-about-news ix-icon.sc-ix-menu-about-news{margin:0.5rem;position:absolute;z-index:1}.sc-ix-menu-about-news-h .cui-popover-news-header.sc-ix-menu-about-news{margin-bottom:2rem;margin-left:4rem;margin-top:-0.25rem}.sc-ix-menu-about-news-h .popover-body.sc-ix-menu-about-news{color:var(--theme-color-std-text)}.sc-ix-menu-about-news-h .cui-popover-news-footer.sc-ix-menu-about-news{display:flex;justify-content:flex-end;margin-top:1rem}.sc-ix-menu-about-news-h ix-icon-button.sc-ix-menu-about-news{top:0.5rem;right:0.5rem;position:absolute}.sc-ix-menu-about-news-h #arrow.sc-ix-menu-about-news{position:absolute;width:0.5rem;height:0.5rem;background-color:var(--theme-color-1);border-left:var(--theme-weak-bdr-1);border-bottom:var(--theme-weak-bdr-1);transform:translateX(calc(var(--margin) * -1 - 0.8rem)) rotateZ(45deg)}";
|
|
6
6
|
|
|
7
7
|
const MenuAboutNews = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
8
|
constructor() {
|
|
@@ -27,7 +27,7 @@ const MenuAboutNews = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
|
27
27
|
} }), h("slot", null), this.aboutItemLabel ? (h("div", { class: "cui-popover-news-footer" }, h("button", { class: "btn btn-primary", onClick: (e) => {
|
|
28
28
|
this.show = false;
|
|
29
29
|
this.showMore.emit(e);
|
|
30
|
-
} }, this.i18nShowMore))) : null, h("
|
|
30
|
+
} }, this.i18nShowMore))) : null, h("div", { id: "arrow" })));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return menuAboutNewsCss; }
|
|
33
33
|
}, [6, "ix-menu-about-news", {
|
|
@@ -3,7 +3,7 @@ import { g as getButtonClasses } from './base-button.js';
|
|
|
3
3
|
import { d as defineCustomElement$3 } from './dropdown.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
5
|
|
|
6
|
-
const splitButtonCss = ".sc-ix-split-button-h{display:block}";
|
|
6
|
+
const splitButtonCss = ".sc-ix-split-button-h{display:inline-block}.sc-ix-split-button-h .middle-gap.sc-ix-split-button{gap:0.125rem}.sc-ix-split-button-h .left-button-border.sc-ix-split-button{border-top-width:0.125rem;border-right-width:0;border-left-width:0.125rem;border-bottom-width:0.125rem}";
|
|
7
7
|
|
|
8
8
|
const SplitButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -33,9 +33,11 @@ const SplitButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
33
33
|
this.linkTriggerRef();
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h(Host,
|
|
36
|
+
return (h(Host, null, h("div", { class: { 'btn-group': true, 'middle-gap': !this.outline } }, h("button", { class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, !this.label, false, false, this.disabled)), {
|
|
37
|
+
'left-button-border': !this.outline,
|
|
38
|
+
}), onClick: (e) => this.buttonClick.emit(e) }, this.icon ? h("ix-icon", { name: this.icon }) : null, " ", this.label), h("button", { ref: (r) => (this.triggerElement = r), class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, false, false, this.disabled)), {
|
|
37
39
|
anchor: true,
|
|
38
|
-
}) }, h("ix-icon", { name: this.splitIcon }), h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, h("slot", null))))
|
|
40
|
+
}) }, h("ix-icon", { name: this.splitIcon }))), h("ix-dropdown", { ref: (r) => (this.dropdownElement = r) }, h("slot", null))));
|
|
39
41
|
}
|
|
40
42
|
get hostElement() { return this; }
|
|
41
43
|
static get style() { return splitButtonCss; }
|
|
@@ -63,6 +63,7 @@ const isComplexType = (o) => {
|
|
|
63
63
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
64
64
|
const h = (nodeName, vnodeData, ...children) => {
|
|
65
65
|
let child = null;
|
|
66
|
+
let key = null;
|
|
66
67
|
let slotName = null;
|
|
67
68
|
let simple = false;
|
|
68
69
|
let lastSimple = false;
|
|
@@ -91,6 +92,10 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
91
92
|
};
|
|
92
93
|
walk(children);
|
|
93
94
|
if (vnodeData) {
|
|
95
|
+
// normalize class / classname attributes
|
|
96
|
+
if (vnodeData.key) {
|
|
97
|
+
key = vnodeData.key;
|
|
98
|
+
}
|
|
94
99
|
if (vnodeData.name) {
|
|
95
100
|
slotName = vnodeData.name;
|
|
96
101
|
}
|
|
@@ -115,6 +120,9 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
115
120
|
if (vNodeChildren.length > 0) {
|
|
116
121
|
vnode.$children$ = vNodeChildren;
|
|
117
122
|
}
|
|
123
|
+
{
|
|
124
|
+
vnode.$key$ = key;
|
|
125
|
+
}
|
|
118
126
|
{
|
|
119
127
|
vnode.$name$ = slotName;
|
|
120
128
|
}
|
|
@@ -131,6 +139,9 @@ const newVNode = (tag, text) => {
|
|
|
131
139
|
{
|
|
132
140
|
vnode.$attrs$ = null;
|
|
133
141
|
}
|
|
142
|
+
{
|
|
143
|
+
vnode.$key$ = null;
|
|
144
|
+
}
|
|
134
145
|
{
|
|
135
146
|
vnode.$name$ = null;
|
|
136
147
|
}
|
|
@@ -358,6 +369,8 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
358
369
|
}
|
|
359
370
|
}
|
|
360
371
|
}
|
|
372
|
+
else if (memberName === 'key')
|
|
373
|
+
;
|
|
361
374
|
else if (memberName === 'ref') {
|
|
362
375
|
// minifier will clean this up
|
|
363
376
|
if (newValue) {
|
|
@@ -703,6 +716,8 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
703
716
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
704
717
|
let oldStartIdx = 0;
|
|
705
718
|
let newStartIdx = 0;
|
|
719
|
+
let idxInOld = 0;
|
|
720
|
+
let i = 0;
|
|
706
721
|
let oldEndIdx = oldCh.length - 1;
|
|
707
722
|
let oldStartVnode = oldCh[0];
|
|
708
723
|
let oldEndVnode = oldCh[oldEndIdx];
|
|
@@ -710,6 +725,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
710
725
|
let newStartVnode = newCh[0];
|
|
711
726
|
let newEndVnode = newCh[newEndIdx];
|
|
712
727
|
let node;
|
|
728
|
+
let elmToMove;
|
|
713
729
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
714
730
|
if (oldStartVnode == null) {
|
|
715
731
|
// VNode might have been moved left
|
|
@@ -811,7 +827,41 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
811
827
|
newStartVnode = newCh[++newStartIdx];
|
|
812
828
|
}
|
|
813
829
|
else {
|
|
830
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
831
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
832
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
833
|
+
// component.
|
|
834
|
+
//
|
|
835
|
+
// First we check to see if there are any nodes in the array of old
|
|
836
|
+
// children which have the same key as the first node in the new
|
|
837
|
+
// children.
|
|
838
|
+
idxInOld = -1;
|
|
814
839
|
{
|
|
840
|
+
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
841
|
+
if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
|
|
842
|
+
idxInOld = i;
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
if (idxInOld >= 0) {
|
|
848
|
+
// We found a node in the old children which matches up with the first
|
|
849
|
+
// node in the new children! So let's deal with that
|
|
850
|
+
elmToMove = oldCh[idxInOld];
|
|
851
|
+
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
852
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
853
|
+
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
854
|
+
}
|
|
855
|
+
else {
|
|
856
|
+
patch(elmToMove, newStartVnode);
|
|
857
|
+
// invalidate the matching old node so that we won't try to update it
|
|
858
|
+
// again later on
|
|
859
|
+
oldCh[idxInOld] = undefined;
|
|
860
|
+
node = elmToMove.$elm$;
|
|
861
|
+
}
|
|
862
|
+
newStartVnode = newCh[++newStartIdx];
|
|
863
|
+
}
|
|
864
|
+
else {
|
|
815
865
|
// We either didn't find an element in the old children that matches
|
|
816
866
|
// the key of the first new child OR the build is not using `key`
|
|
817
867
|
// attributes at all. In either case we need to create a new element
|
|
@@ -862,7 +912,10 @@ const isSameVnode = (leftVNode, rightVNode) => {
|
|
|
862
912
|
if (leftVNode.$tag$ === 'slot') {
|
|
863
913
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
864
914
|
}
|
|
865
|
-
|
|
915
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
916
|
+
{
|
|
917
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
918
|
+
}
|
|
866
919
|
}
|
|
867
920
|
return false;
|
|
868
921
|
};
|
package/dist/esm/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { I as InputState, L as LogicalFilterOperator } from './logical-filter-operator-1bf83315.js';
|
|
2
2
|
export { F as FlipTileState } from './flip-tile-state-28a1f8ce.js';
|
|
3
|
-
export { a as Modal, M as ModalContainer } from './modal-
|
|
3
|
+
export { a as Modal, M as ModalContainer } from './modal-3618eb44.js';
|
|
4
4
|
export { c as convertToAbbreviationString, a as convertToRemString } from './rwd.util-4a61a4b8.js';
|
|
5
5
|
export { c as closeModal, d as dismissModal, m as modal } from './modal-utils-df50b35a.js';
|
|
6
6
|
export { r as renderDefaultItem } from './default-tree-item-638c435a.js';
|
|
7
7
|
export { U as UploadFileState } from './upload-file-state-631bb8a2.js';
|
|
8
8
|
export { T as ThemeSwitcher, t as themeSwitcher } from './theme-switcher-9ecc9b69.js';
|
|
9
|
-
import './index-
|
|
9
|
+
import './index-6b660a23.js';
|
|
10
10
|
import './typed-event-ab58c27e.js';
|
|
11
11
|
import './anime.es-185e9087.js';
|
|
12
12
|
import './animation-b667a4c4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-6b660a23.js';
|
|
2
2
|
import { a as anime } from './anime.es-185e9087.js';
|
|
3
3
|
import { A as Animation } from './animation-b667a4c4.js';
|
|
4
4
|
import { c as convertToAbbreviationString } from './rwd.util-4a61a4b8.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-6b660a23.js';
|
|
2
2
|
|
|
3
|
-
const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header
|
|
3
|
+
const applicationHeaderCss = ":host{display:flex;align-items:center;position:relative;width:100%;height:2.75rem;padding-left:1rem;color:var(--theme-app-header--color);background-color:var(--theme-app-header--background);border-bottom:var(--theme-app-header--border-width) solid var(--theme-app-header--border-color)}:host .name{margin-left:2.5rem;margin-right:2.5rem;color:var(--theme-app-header--color)}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden;line-height:0rem;color:var(--theme-app-header-logo--color)}";
|
|
4
4
|
|
|
5
5
|
const ApplicationHeader = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-6b660a23.js';
|
|
2
2
|
|
|
3
3
|
const basicNavigationCss = ".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}";
|
|
4
4
|
|