@siemens/ix 1.1.0-beta.0 → 1.1.0-beta.2
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/package.json +1 -1
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +0 -23
- package/dist/cjs/animation-dfe01edc.js +0 -19
- package/dist/cjs/anime.es-8822f296.js +0 -1311
- package/dist/cjs/base-button-eb1d47db.js +0 -33
- package/dist/cjs/default-tree-item-4597cd84.js +0 -22
- package/dist/cjs/flip-tile-state-c95639e5.js +0 -18
- package/dist/cjs/index-1e4a348f.js +0 -1849
- package/dist/cjs/index.cjs.js +0 -96
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +0 -217
- package/dist/cjs/ix-application-header.cjs.entry.js +0 -30
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +0 -44
- package/dist/cjs/ix-blind.cjs.entry.js +0 -89
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +0 -155
- package/dist/cjs/ix-button.cjs.entry.js +0 -50
- package/dist/cjs/ix-category-filter.cjs.entry.js +0 -399
- package/dist/cjs/ix-chip.cjs.entry.js +0 -47
- package/dist/cjs/ix-counter-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +0 -9039
- package/dist/cjs/ix-date-time-card.cjs.entry.js +0 -36
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +0 -113
- package/dist/cjs/ix-drawer.cjs.entry.js +0 -122
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +0 -203
- package/dist/cjs/ix-event-list_2.cjs.entry.js +0 -151
- package/dist/cjs/ix-expanding-search.cjs.entry.js +0 -92
- package/dist/cjs/ix-filter-chip.cjs.entry.js +0 -30
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +0 -79
- package/dist/cjs/ix-group_3.cjs.entry.js +0 -174
- package/dist/cjs/ix-icon-button.cjs.entry.js +0 -40
- package/dist/cjs/ix-icon.cjs.entry.js +0 -33
- package/dist/cjs/ix-input-group.cjs.entry.js +0 -40
- package/dist/cjs/ix-kpi.cjs.entry.js +0 -50
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +0 -165
- package/dist/cjs/ix-menu_9.cjs.entry.js +0 -888
- package/dist/cjs/ix-message-bar.cjs.entry.js +0 -58
- package/dist/cjs/ix-modal-example.cjs.entry.js +0 -24
- package/dist/cjs/ix-modal_2.cjs.entry.js +0 -14
- package/dist/cjs/ix-pill.cjs.entry.js +0 -40
- package/dist/cjs/ix-select_2.cjs.entry.js +0 -309
- package/dist/cjs/ix-spinner.cjs.entry.js +0 -30
- package/dist/cjs/ix-split-button_2.cjs.entry.js +0 -114
- package/dist/cjs/ix-tab-item.cjs.entry.js +0 -67
- package/dist/cjs/ix-tabs.cjs.entry.js +0 -187
- package/dist/cjs/ix-tile.cjs.entry.js +0 -27
- package/dist/cjs/ix-toast_2.cjs.entry.js +0 -159
- package/dist/cjs/ix-toggle.cjs.entry.js +0 -82
- package/dist/cjs/ix-tree_2.cjs.entry.js +0 -690
- package/dist/cjs/ix-upload.cjs.entry.js +0 -139
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +0 -107
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +0 -191
- package/dist/cjs/loader.cjs.js +0 -21
- package/dist/cjs/logical-filter-operator-467e2faf.js +0 -35
- package/dist/cjs/modal-5be2b1a3.js +0 -221
- package/dist/cjs/modal-utils-5d7bb217.js +0 -42
- package/dist/cjs/mutation-observer-29bedada.js +0 -13
- package/dist/cjs/my-component.cjs.entry.js +0 -19
- package/dist/cjs/popper-d7a0f999.js +0 -1801
- package/dist/cjs/rwd.util-482d41d4.js +0 -42
- package/dist/cjs/siemens-ix.cjs.js +0 -19
- package/dist/cjs/typed-event-8f5a32a2.js +0 -46
- package/dist/cjs/upload-file-state-923b2c65.js +0 -17
- package/dist/collection/collection-manifest.json +0 -264
- package/dist/collection/components/animated-tab/animated-tab.css +0 -14
- package/dist/collection/components/animated-tab/animated-tab.js +0 -59
- package/dist/collection/components/animated-tabs/animated-tabs.css +0 -158
- package/dist/collection/components/animated-tabs/animated-tabs.js +0 -303
- package/dist/collection/components/application-header/application-header.css +0 -30
- package/dist/collection/components/application-header/application-header.js +0 -56
- package/dist/collection/components/basic-navigation/basic-navigation.css +0 -29
- package/dist/collection/components/basic-navigation/basic-navigation.js +0 -91
- package/dist/collection/components/blind/blind.css +0 -146
- package/dist/collection/components/blind/blind.js +0 -152
- package/dist/collection/components/breadcrumb/breadcrumb.css +0 -228
- package/dist/collection/components/breadcrumb/breadcrumb.js +0 -252
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +0 -11
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +0 -59
- package/dist/collection/components/button/base-button.js +0 -29
- package/dist/collection/components/button/button.css +0 -15
- package/dist/collection/components/button/button.js +0 -192
- package/dist/collection/components/category-filter/category-filter.css +0 -188
- package/dist/collection/components/category-filter/category-filter.js +0 -704
- package/dist/collection/components/category-filter/filter-state.js +0 -10
- package/dist/collection/components/category-filter/input-state.js +0 -17
- package/dist/collection/components/category-filter/logical-filter-operator.js +0 -13
- package/dist/collection/components/chip/chip.css +0 -475
- package/dist/collection/components/chip/chip.js +0 -197
- package/dist/collection/components/counter-pill/counter-pill.css +0 -313
- package/dist/collection/components/counter-pill/counter-pill.js +0 -137
- package/dist/collection/components/date-picker/date-picker.css +0 -224
- package/dist/collection/components/date-picker/date-picker.js +0 -679
- package/dist/collection/components/date-picker/events.js +0 -1
- package/dist/collection/components/date-time-card/date-time-card.css +0 -51
- package/dist/collection/components/date-time-card/date-time-card.js +0 -89
- package/dist/collection/components/datetime-picker/datetime-picker.css +0 -44
- package/dist/collection/components/datetime-picker/datetime-picker.js +0 -501
- package/dist/collection/components/datetime-picker/event.js +0 -9
- package/dist/collection/components/drawer/drawer.css +0 -78
- package/dist/collection/components/drawer/drawer.js +0 -300
- package/dist/collection/components/dropdown/dropdown.css +0 -536
- package/dist/collection/components/dropdown/dropdown.js +0 -392
- package/dist/collection/components/dropdown-item/dropdown-item.css +0 -61
- package/dist/collection/components/dropdown-item/dropdown-item.js +0 -187
- package/dist/collection/components/event-list/event-list.css +0 -58
- package/dist/collection/components/event-list/event-list.js +0 -197
- package/dist/collection/components/event-list-item/event-list-item.css +0 -126
- package/dist/collection/components/event-list-item/event-list-item.js +0 -162
- package/dist/collection/components/expanding-search/expanding-search.css +0 -127
- package/dist/collection/components/expanding-search/expanding-search.js +0 -178
- package/dist/collection/components/filter-chip/filter-chip.css +0 -82
- package/dist/collection/components/filter-chip/filter-chip.js +0 -74
- package/dist/collection/components/flip-tile/flip-tile-state.js +0 -16
- package/dist/collection/components/flip-tile/flip-tile.css +0 -143
- package/dist/collection/components/flip-tile/flip-tile.js +0 -125
- package/dist/collection/components/flip-tile-content/flip-tile-content.css +0 -12
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +0 -23
- package/dist/collection/components/group/group.css +0 -170
- package/dist/collection/components/group/group.js +0 -329
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +0 -11
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +0 -60
- package/dist/collection/components/group-item/group-item.css +0 -116
- package/dist/collection/components/group-item/group-item.js +0 -200
- package/dist/collection/components/icon/icon.css +0 -45
- package/dist/collection/components/icon/icon.js +0 -91
- package/dist/collection/components/icon-button/icon-button.js +0 -242
- package/dist/collection/components/input-group/input-group.css +0 -27
- package/dist/collection/components/input-group/input-group.js +0 -48
- package/dist/collection/components/kpi/kpi.css +0 -131
- package/dist/collection/components/kpi/kpi.js +0 -151
- package/dist/collection/components/map-navigation/map-navigation.css +0 -161
- package/dist/collection/components/map-navigation/map-navigation.js +0 -328
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +0 -237
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +0 -105
- package/dist/collection/components/menu/menu.css +0 -128
- package/dist/collection/components/menu/menu.js +0 -988
- package/dist/collection/components/menu-about/menu-about.css +0 -207
- package/dist/collection/components/menu-about/menu-about.js +0 -167
- package/dist/collection/components/menu-about-item/menu-about-item.css +0 -12
- package/dist/collection/components/menu-about-item/menu-about-item.js +0 -42
- package/dist/collection/components/menu-about-news/menu-about-news.css +0 -99
- package/dist/collection/components/menu-about-news/menu-about-news.js +0 -204
- package/dist/collection/components/menu-avatar/menu-avatar.css +0 -91
- package/dist/collection/components/menu-avatar/menu-avatar.js +0 -136
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +0 -12
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +0 -79
- package/dist/collection/components/menu-item/menu-item.css +0 -143
- package/dist/collection/components/menu-item/menu-item.js +0 -166
- package/dist/collection/components/menu-settings/menu-settings.css +0 -204
- package/dist/collection/components/menu-settings/menu-settings.js +0 -151
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +0 -13
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +0 -42
- package/dist/collection/components/message-bar/message-bar.css +0 -68
- package/dist/collection/components/message-bar/message-bar.js +0 -125
- package/dist/collection/components/modal/modal-utils.js +0 -36
- package/dist/collection/components/modal/modal.css +0 -96
- package/dist/collection/components/modal/modal.js +0 -540
- package/dist/collection/components/modal-container/modal-container.css +0 -14
- package/dist/collection/components/modal-container/modal-container.js +0 -107
- package/dist/collection/components/my-component/example-modal.js +0 -31
- package/dist/collection/components/my-component/my-component.css +0 -34
- package/dist/collection/components/my-component/my-component.js +0 -22
- package/dist/collection/components/pill/pill.css +0 -269
- package/dist/collection/components/pill/pill.js +0 -155
- package/dist/collection/components/select/select.css +0 -176
- package/dist/collection/components/select/select.js +0 -509
- package/dist/collection/components/select-item/select-item.css +0 -14
- package/dist/collection/components/select-item/select-item.js +0 -169
- package/dist/collection/components/spinner/spinner.css +0 -42
- package/dist/collection/components/spinner/spinner.js +0 -137
- package/dist/collection/components/split-button/split-button.css +0 -11
- package/dist/collection/components/split-button/split-button.js +0 -310
- package/dist/collection/components/split-button-item/split-button-item.css +0 -12
- package/dist/collection/components/split-button-item/split-button-item.js +0 -79
- package/dist/collection/components/tab-item/tab-item.css +0 -195
- package/dist/collection/components/tab-item/tab-item.js +0 -219
- package/dist/collection/components/tabs/tabs.css +0 -84
- package/dist/collection/components/tabs/tabs.js +0 -305
- package/dist/collection/components/tile/tile.css +0 -92
- package/dist/collection/components/tile/tile.js +0 -60
- package/dist/collection/components/time-picker/time-picker.css +0 -94
- package/dist/collection/components/time-picker/time-picker.js +0 -431
- package/dist/collection/components/toast/toast-container.js +0 -170
- package/dist/collection/components/toast/toast-utils.js +0 -40
- package/dist/collection/components/toast/toast.css +0 -110
- package/dist/collection/components/toast/toast.js +0 -237
- package/dist/collection/components/toggle/toggle.css +0 -226
- package/dist/collection/components/toggle/toggle.js +0 -263
- package/dist/collection/components/tree/tree-model.js +0 -9
- package/dist/collection/components/tree/tree.css +0 -12
- package/dist/collection/components/tree/tree.js +0 -296
- package/dist/collection/components/tree-item/default-tree-item.js +0 -18
- package/dist/collection/components/tree-item/tree-item.css +0 -86
- package/dist/collection/components/tree-item/tree-item.js +0 -124
- package/dist/collection/components/upload/upload-file-state.js +0 -15
- package/dist/collection/components/upload/upload.css +0 -120
- package/dist/collection/components/upload/upload.js +0 -413
- package/dist/collection/components/utils/animation.js +0 -15
- package/dist/collection/components/utils/button-variants.js +0 -9
- package/dist/collection/components/utils/mutation-observer.js +0 -9
- package/dist/collection/components/utils/notification-color.js +0 -9
- package/dist/collection/components/utils/popover.util.js +0 -33
- package/dist/collection/components/utils/rwd.util.js +0 -37
- package/dist/collection/components/utils/toggle-theme.js +0 -24
- package/dist/collection/components/utils/typed-event.js +0 -42
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +0 -236
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +0 -167
- package/dist/collection/components/workflow-step/workflow-step.css +0 -131
- package/dist/collection/components/workflow-step/workflow-step.js +0 -249
- package/dist/collection/components/workflow-steps/workflow-steps.css +0 -29
- package/dist/collection/components/workflow-steps/workflow-steps.js +0 -182
- package/dist/collection/env.js +0 -9
- package/dist/collection/exports.js +0 -15
- package/dist/collection/index.js +0 -16
- package/dist/collection/utils/test/index.js +0 -9
- package/dist/collection/utils/test/page.js +0 -29
- package/dist/components/_commonjsHelpers.js +0 -19
- package/dist/components/animation.js +0 -17
- package/dist/components/anime.es.js +0 -1309
- package/dist/components/application-header.js +0 -43
- package/dist/components/base-button.js +0 -31
- package/dist/components/button.js +0 -68
- package/dist/components/date-picker.js +0 -385
- package/dist/components/date-time-card.js +0 -49
- package/dist/components/default-tree-item.js +0 -20
- package/dist/components/dropdown-item.js +0 -73
- package/dist/components/dropdown.js +0 -181
- package/dist/components/filter-chip.js +0 -48
- package/dist/components/flip-tile-state.js +0 -18
- package/dist/components/group-item.js +0 -63
- package/dist/components/icon-button.js +0 -68
- package/dist/components/icon.js +0 -47
- package/dist/components/index.d.ts +0 -26
- package/dist/components/index.js +0 -62
- package/dist/components/ix-animated-tab.d.ts +0 -11
- package/dist/components/ix-animated-tab.js +0 -35
- package/dist/components/ix-animated-tabs.d.ts +0 -11
- package/dist/components/ix-animated-tabs.js +0 -229
- package/dist/components/ix-application-header.d.ts +0 -11
- package/dist/components/ix-application-header.js +0 -6
- package/dist/components/ix-basic-navigation.d.ts +0 -11
- package/dist/components/ix-basic-navigation.js +0 -66
- package/dist/components/ix-blind.d.ts +0 -11
- package/dist/components/ix-blind.js +0 -105
- package/dist/components/ix-breadcrumb-item.d.ts +0 -11
- package/dist/components/ix-breadcrumb-item.js +0 -35
- package/dist/components/ix-breadcrumb.d.ts +0 -11
- package/dist/components/ix-breadcrumb.js +0 -180
- package/dist/components/ix-button.d.ts +0 -11
- package/dist/components/ix-button.js +0 -6
- package/dist/components/ix-category-filter.d.ts +0 -11
- package/dist/components/ix-category-filter.js +0 -447
- package/dist/components/ix-chip.d.ts +0 -11
- package/dist/components/ix-chip.js +0 -74
- package/dist/components/ix-counter-pill.d.ts +0 -11
- package/dist/components/ix-counter-pill.js +0 -59
- package/dist/components/ix-date-picker.d.ts +0 -11
- package/dist/components/ix-date-picker.js +0 -6
- package/dist/components/ix-date-time-card.d.ts +0 -11
- package/dist/components/ix-date-time-card.js +0 -6
- package/dist/components/ix-datetime-picker.d.ts +0 -11
- package/dist/components/ix-datetime-picker.js +0 -184
- package/dist/components/ix-drawer.d.ts +0 -11
- package/dist/components/ix-drawer.js +0 -155
- package/dist/components/ix-dropdown-item.d.ts +0 -11
- package/dist/components/ix-dropdown-item.js +0 -6
- package/dist/components/ix-dropdown.d.ts +0 -11
- package/dist/components/ix-dropdown.js +0 -6
- package/dist/components/ix-event-list-item.d.ts +0 -11
- package/dist/components/ix-event-list-item.js +0 -59
- package/dist/components/ix-event-list.d.ts +0 -11
- package/dist/components/ix-event-list.js +0 -135
- package/dist/components/ix-expanding-search.d.ts +0 -11
- package/dist/components/ix-expanding-search.js +0 -124
- package/dist/components/ix-filter-chip.d.ts +0 -11
- package/dist/components/ix-filter-chip.js +0 -6
- package/dist/components/ix-flip-tile-content.d.ts +0 -11
- package/dist/components/ix-flip-tile-content.js +0 -33
- package/dist/components/ix-flip-tile.d.ts +0 -11
- package/dist/components/ix-flip-tile.js +0 -96
- package/dist/components/ix-group-dropdown-item.d.ts +0 -11
- package/dist/components/ix-group-dropdown-item.js +0 -47
- package/dist/components/ix-group-item.d.ts +0 -11
- package/dist/components/ix-group-item.js +0 -6
- package/dist/components/ix-group.d.ts +0 -11
- package/dist/components/ix-group.js +0 -174
- package/dist/components/ix-icon-button.d.ts +0 -11
- package/dist/components/ix-icon-button.js +0 -6
- package/dist/components/ix-icon.d.ts +0 -11
- package/dist/components/ix-icon.js +0 -6
- package/dist/components/ix-input-group.d.ts +0 -11
- package/dist/components/ix-input-group.js +0 -53
- package/dist/components/ix-kpi.d.ts +0 -11
- package/dist/components/ix-kpi.js +0 -75
- package/dist/components/ix-map-navigation-overlay.d.ts +0 -11
- package/dist/components/ix-map-navigation-overlay.js +0 -6
- package/dist/components/ix-map-navigation.d.ts +0 -11
- package/dist/components/ix-map-navigation.js +0 -182
- package/dist/components/ix-menu-about-item.d.ts +0 -11
- package/dist/components/ix-menu-about-item.js +0 -34
- package/dist/components/ix-menu-about-news.d.ts +0 -11
- package/dist/components/ix-menu-about-news.js +0 -78
- package/dist/components/ix-menu-about.d.ts +0 -11
- package/dist/components/ix-menu-about.js +0 -120
- package/dist/components/ix-menu-avatar-item.d.ts +0 -11
- package/dist/components/ix-menu-avatar-item.js +0 -6
- package/dist/components/ix-menu-avatar.d.ts +0 -11
- package/dist/components/ix-menu-avatar.js +0 -83
- package/dist/components/ix-menu-item.d.ts +0 -11
- package/dist/components/ix-menu-item.js +0 -6
- package/dist/components/ix-menu-settings-item.d.ts +0 -11
- package/dist/components/ix-menu-settings-item.js +0 -34
- package/dist/components/ix-menu-settings.d.ts +0 -11
- package/dist/components/ix-menu-settings.js +0 -107
- package/dist/components/ix-menu.d.ts +0 -11
- package/dist/components/ix-menu.js +0 -619
- package/dist/components/ix-message-bar.d.ts +0 -11
- package/dist/components/ix-message-bar.js +0 -88
- package/dist/components/ix-modal-container.d.ts +0 -11
- package/dist/components/ix-modal-container.js +0 -6
- package/dist/components/ix-modal-example.d.ts +0 -11
- package/dist/components/ix-modal-example.js +0 -67
- package/dist/components/ix-modal.d.ts +0 -11
- package/dist/components/ix-modal.js +0 -6
- package/dist/components/ix-pill.d.ts +0 -11
- package/dist/components/ix-pill.js +0 -66
- package/dist/components/ix-select-item.d.ts +0 -11
- package/dist/components/ix-select-item.js +0 -6
- package/dist/components/ix-select.d.ts +0 -11
- package/dist/components/ix-select.js +0 -339
- package/dist/components/ix-spinner.d.ts +0 -11
- package/dist/components/ix-spinner.js +0 -6
- package/dist/components/ix-split-button-item.d.ts +0 -11
- package/dist/components/ix-split-button-item.js +0 -49
- package/dist/components/ix-split-button.d.ts +0 -11
- package/dist/components/ix-split-button.js +0 -135
- package/dist/components/ix-tab-item.d.ts +0 -11
- package/dist/components/ix-tab-item.js +0 -6
- package/dist/components/ix-tabs.d.ts +0 -11
- package/dist/components/ix-tabs.js +0 -6
- package/dist/components/ix-tile.d.ts +0 -11
- package/dist/components/ix-tile.js +0 -42
- package/dist/components/ix-time-picker.d.ts +0 -11
- package/dist/components/ix-time-picker.js +0 -6
- package/dist/components/ix-toast-container.d.ts +0 -11
- package/dist/components/ix-toast-container.js +0 -110
- package/dist/components/ix-toast.d.ts +0 -11
- package/dist/components/ix-toast.js +0 -6
- package/dist/components/ix-toggle.d.ts +0 -11
- package/dist/components/ix-toggle.js +0 -104
- package/dist/components/ix-tree-item.d.ts +0 -11
- package/dist/components/ix-tree-item.js +0 -6
- package/dist/components/ix-tree.d.ts +0 -11
- package/dist/components/ix-tree.js +0 -694
- package/dist/components/ix-upload.d.ts +0 -11
- package/dist/components/ix-upload.js +0 -178
- package/dist/components/ix-validation-tooltip.d.ts +0 -11
- package/dist/components/ix-validation-tooltip.js +0 -124
- package/dist/components/ix-workflow-step.d.ts +0 -11
- package/dist/components/ix-workflow-step.js +0 -142
- package/dist/components/ix-workflow-steps.d.ts +0 -11
- package/dist/components/ix-workflow-steps.js +0 -101
- package/dist/components/logical-filter-operator.js +0 -33
- package/dist/components/luxon.js +0 -8584
- package/dist/components/map-navigation-overlay.js +0 -53
- package/dist/components/menu-avatar-item.js +0 -46
- package/dist/components/menu-item.js +0 -65
- package/dist/components/modal-container.js +0 -99
- package/dist/components/modal-utils.js +0 -38
- package/dist/components/modal.js +0 -189
- package/dist/components/mutation-observer.js +0 -11
- package/dist/components/my-component.d.ts +0 -11
- package/dist/components/my-component.js +0 -32
- package/dist/components/popover.util.js +0 -36
- package/dist/components/popper.js +0 -1799
- package/dist/components/rwd.util.js +0 -39
- package/dist/components/select-item.js +0 -71
- package/dist/components/spinner.js +0 -43
- package/dist/components/tab-item.js +0 -86
- package/dist/components/tabs.js +0 -207
- package/dist/components/time-picker.js +0 -193
- package/dist/components/toast.js +0 -123
- package/dist/components/tree-item.js +0 -52
- package/dist/components/typed-event.js +0 -44
- package/dist/components/upload-file-state.js +0 -17
- package/dist/esm/_commonjsHelpers-4bc7200a.js +0 -19
- package/dist/esm/animation-b667a4c4.js +0 -17
- package/dist/esm/anime.es-185e9087.js +0 -1309
- package/dist/esm/base-button-7bfb747f.js +0 -31
- package/dist/esm/default-tree-item-638c435a.js +0 -20
- package/dist/esm/flip-tile-state-28a1f8ce.js +0 -18
- package/dist/esm/index-55cfd20d.js +0 -1819
- package/dist/esm/index.js +0 -64
- package/dist/esm/ix-animated-tab_2.entry.js +0 -212
- package/dist/esm/ix-application-header.entry.js +0 -26
- package/dist/esm/ix-basic-navigation.entry.js +0 -40
- package/dist/esm/ix-blind.entry.js +0 -85
- package/dist/esm/ix-breadcrumb_2.entry.js +0 -150
- package/dist/esm/ix-button.entry.js +0 -46
- package/dist/esm/ix-category-filter.entry.js +0 -395
- package/dist/esm/ix-chip.entry.js +0 -43
- package/dist/esm/ix-counter-pill.entry.js +0 -36
- package/dist/esm/ix-date-picker_2.entry.js +0 -9034
- package/dist/esm/ix-date-time-card.entry.js +0 -32
- package/dist/esm/ix-datetime-picker.entry.js +0 -109
- package/dist/esm/ix-drawer.entry.js +0 -118
- package/dist/esm/ix-dropdown_2.entry.js +0 -198
- package/dist/esm/ix-event-list_2.entry.js +0 -146
- package/dist/esm/ix-expanding-search.entry.js +0 -88
- package/dist/esm/ix-filter-chip.entry.js +0 -26
- package/dist/esm/ix-flip-tile_2.entry.js +0 -74
- package/dist/esm/ix-group_3.entry.js +0 -168
- package/dist/esm/ix-icon-button.entry.js +0 -36
- package/dist/esm/ix-icon.entry.js +0 -29
- package/dist/esm/ix-input-group.entry.js +0 -36
- package/dist/esm/ix-kpi.entry.js +0 -46
- package/dist/esm/ix-map-navigation_2.entry.js +0 -160
- package/dist/esm/ix-menu_9.entry.js +0 -876
- package/dist/esm/ix-message-bar.entry.js +0 -54
- package/dist/esm/ix-modal-example.entry.js +0 -20
- package/dist/esm/ix-modal_2.entry.js +0 -5
- package/dist/esm/ix-pill.entry.js +0 -36
- package/dist/esm/ix-select_2.entry.js +0 -304
- package/dist/esm/ix-spinner.entry.js +0 -26
- package/dist/esm/ix-split-button_2.entry.js +0 -109
- package/dist/esm/ix-tab-item.entry.js +0 -63
- package/dist/esm/ix-tabs.entry.js +0 -183
- package/dist/esm/ix-tile.entry.js +0 -23
- package/dist/esm/ix-toast_2.entry.js +0 -154
- package/dist/esm/ix-toggle.entry.js +0 -78
- package/dist/esm/ix-tree_2.entry.js +0 -685
- package/dist/esm/ix-upload.entry.js +0 -135
- package/dist/esm/ix-validation-tooltip.entry.js +0 -103
- package/dist/esm/ix-workflow-step_2.entry.js +0 -186
- package/dist/esm/loader.js +0 -17
- package/dist/esm/logical-filter-operator-1bf83315.js +0 -33
- package/dist/esm/modal-8ed87a6c.js +0 -218
- package/dist/esm/modal-utils-ec39c1bc.js +0 -38
- package/dist/esm/mutation-observer-379959bb.js +0 -11
- package/dist/esm/my-component.entry.js +0 -15
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/popper-42db9fbd.js +0 -1799
- package/dist/esm/rwd.util-33a69d24.js +0 -39
- package/dist/esm/siemens-ix.js +0 -17
- package/dist/esm/typed-event-dd6c83dd.js +0 -44
- package/dist/esm/upload-file-state-631bb8a2.js +0 -17
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/siemens-ix/index.esm.js +0 -1
- package/dist/siemens-ix/p-02501b64.entry.js +0 -1
- package/dist/siemens-ix/p-03ef9fe5.entry.js +0 -1
- package/dist/siemens-ix/p-0a12b3df.js +0 -1
- package/dist/siemens-ix/p-0bf04780.js +0 -1
- package/dist/siemens-ix/p-0e315bd7.entry.js +0 -1
- package/dist/siemens-ix/p-1c82637e.js +0 -1
- package/dist/siemens-ix/p-1d30454e.js +0 -1
- package/dist/siemens-ix/p-1d56d9b6.entry.js +0 -1
- package/dist/siemens-ix/p-235606b2.entry.js +0 -1
- package/dist/siemens-ix/p-2b7ed5d4.entry.js +0 -1
- package/dist/siemens-ix/p-301ddeb7.js +0 -1
- package/dist/siemens-ix/p-334b7d5c.entry.js +0 -1
- package/dist/siemens-ix/p-37417714.js +0 -1
- package/dist/siemens-ix/p-3f809fb3.entry.js +0 -1
- package/dist/siemens-ix/p-4287bd7e.entry.js +0 -1
- package/dist/siemens-ix/p-47ea9884.js +0 -1
- package/dist/siemens-ix/p-52d99490.entry.js +0 -1
- package/dist/siemens-ix/p-5a1dcc74.js +0 -1
- package/dist/siemens-ix/p-5f9f25ef.entry.js +0 -1
- package/dist/siemens-ix/p-5fed62f8.entry.js +0 -1
- package/dist/siemens-ix/p-6726f740.entry.js +0 -1
- package/dist/siemens-ix/p-67c2bca6.entry.js +0 -1
- package/dist/siemens-ix/p-6f625f0e.js +0 -1
- package/dist/siemens-ix/p-71de6498.entry.js +0 -1
- package/dist/siemens-ix/p-77823732.entry.js +0 -1
- package/dist/siemens-ix/p-78df1e46.entry.js +0 -1
- package/dist/siemens-ix/p-7d667916.entry.js +0 -1
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +0 -1
- package/dist/siemens-ix/p-810b5232.js +0 -1
- package/dist/siemens-ix/p-81e46337.entry.js +0 -1
- package/dist/siemens-ix/p-8239c3a1.entry.js +0 -1
- package/dist/siemens-ix/p-893b7bf6.entry.js +0 -1
- package/dist/siemens-ix/p-94b86dec.entry.js +0 -1
- package/dist/siemens-ix/p-a49005f3.entry.js +0 -1
- package/dist/siemens-ix/p-a8396077.entry.js +0 -1
- package/dist/siemens-ix/p-ab715295.entry.js +0 -1
- package/dist/siemens-ix/p-b4003026.entry.js +0 -1
- package/dist/siemens-ix/p-b93c2fab.entry.js +0 -1
- package/dist/siemens-ix/p-bd15d8ca.entry.js +0 -1
- package/dist/siemens-ix/p-bdd294d2.js +0 -1
- package/dist/siemens-ix/p-be1ec062.entry.js +0 -1
- package/dist/siemens-ix/p-bf5513a0.entry.js +0 -1
- package/dist/siemens-ix/p-c0c9fb81.entry.js +0 -1
- package/dist/siemens-ix/p-c3738ffc.entry.js +0 -1
- package/dist/siemens-ix/p-c792adb4.entry.js +0 -1
- package/dist/siemens-ix/p-c9a5d942.entry.js +0 -1
- package/dist/siemens-ix/p-cb6e62ff.entry.js +0 -1
- package/dist/siemens-ix/p-cbd0f8a7.entry.js +0 -1
- package/dist/siemens-ix/p-d23706a7.js +0 -1
- package/dist/siemens-ix/p-d2fc562a.entry.js +0 -1
- package/dist/siemens-ix/p-da2cae32.js +0 -1
- package/dist/siemens-ix/p-df43662b.entry.js +0 -1
- package/dist/siemens-ix/p-f2636faf.entry.js +0 -1
- package/dist/siemens-ix/p-f86fcdf4.js +0 -1
- package/dist/siemens-ix/p-fa44655a.entry.js +0 -1
- package/dist/siemens-ix/p-fbe40498.js +0 -1
- package/dist/siemens-ix/p-fe5db4d1.entry.js +0 -1
- package/dist/siemens-ix/siemens-ix.css +0 -19249
- package/dist/siemens-ix/siemens-ix.esm.js +0 -1
- package/dist/types/components/animated-tab/animated-tab.d.ts +0 -11
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +0 -44
- package/dist/types/components/application-header/application-header.d.ts +0 -10
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +0 -16
- package/dist/types/components/blind/blind.d.ts +0 -26
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +0 -48
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +0 -11
- package/dist/types/components/button/base-button.d.ts +0 -13
- package/dist/types/components/button/button.d.ts +0 -34
- package/dist/types/components/category-filter/category-filter.d.ts +0 -129
- package/dist/types/components/category-filter/filter-state.d.ts +0 -9
- package/dist/types/components/category-filter/input-state.d.ts +0 -6
- package/dist/types/components/category-filter/logical-filter-operator.d.ts +0 -4
- package/dist/types/components/chip/chip.d.ts +0 -38
- package/dist/types/components/counter-pill/counter-pill.d.ts +0 -24
- package/dist/types/components/date-picker/date-picker.d.ts +0 -136
- package/dist/types/components/date-picker/events.d.ts +0 -5
- package/dist/types/components/date-time-card/date-time-card.d.ts +0 -14
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +0 -128
- package/dist/types/components/datetime-picker/event.d.ts +0 -5
- package/dist/types/components/drawer/drawer.d.ts +0 -49
- package/dist/types/components/dropdown/dropdown.d.ts +0 -70
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -33
- package/dist/types/components/event-list/event-list.d.ts +0 -31
- package/dist/types/components/event-list-item/event-list-item.d.ts +0 -34
- package/dist/types/components/expanding-search/expanding-search.d.ts +0 -31
- package/dist/types/components/filter-chip/filter-chip.d.ts +0 -14
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +0 -7
- package/dist/types/components/flip-tile/flip-tile.d.ts +0 -22
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +0 -3
- package/dist/types/components/group/group.d.ts +0 -59
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +0 -11
- package/dist/types/components/group-item/group-item.d.ts +0 -39
- package/dist/types/components/icon/icon.d.ts +0 -15
- package/dist/types/components/icon-button/icon-button.d.ts +0 -51
- package/dist/types/components/input-group/input-group.d.ts +0 -5
- package/dist/types/components/kpi/kpi.d.ts +0 -25
- package/dist/types/components/map-navigation/map-navigation.d.ts +0 -51
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +0 -20
- package/dist/types/components/menu/menu.d.ts +0 -145
- package/dist/types/components/menu-about/menu-about.d.ts +0 -31
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +0 -7
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +0 -36
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +0 -26
- package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +0 -17
- package/dist/types/components/menu-item/menu-item.d.ts +0 -31
- package/dist/types/components/menu-settings/menu-settings.d.ts +0 -27
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +0 -7
- package/dist/types/components/message-bar/message-bar.d.ts +0 -23
- package/dist/types/components/modal/modal-utils.d.ts +0 -26
- package/dist/types/components/modal/modal.d.ts +0 -99
- package/dist/types/components/modal-container/modal-container.d.ts +0 -15
- package/dist/types/components/my-component/example-modal.d.ts +0 -6
- package/dist/types/components/my-component/my-component.d.ts +0 -3
- package/dist/types/components/pill/pill.d.ts +0 -28
- package/dist/types/components/select/select.d.ts +0 -83
- package/dist/types/components/select-item/select-item.d.ts +0 -31
- package/dist/types/components/spinner/spinner.d.ts +0 -11
- package/dist/types/components/split-button/split-button.d.ts +0 -57
- package/dist/types/components/split-button-item/split-button-item.d.ts +0 -17
- package/dist/types/components/tab-item/tab-item.d.ts +0 -36
- package/dist/types/components/tabs/tabs.d.ts +0 -46
- package/dist/types/components/tile/tile.d.ts +0 -7
- package/dist/types/components/time-picker/time-picker.d.ts +0 -80
- package/dist/types/components/toast/toast-container.d.ts +0 -25
- package/dist/types/components/toast/toast-utils.d.ts +0 -33
- package/dist/types/components/toast/toast.d.ts +0 -39
- package/dist/types/components/toggle/toggle.d.ts +0 -45
- package/dist/types/components/tree/tree-model.d.ts +0 -17
- package/dist/types/components/tree/tree.d.ts +0 -44
- package/dist/types/components/tree-item/default-tree-item.d.ts +0 -6
- package/dist/types/components/tree-item/tree-item.d.ts +0 -25
- package/dist/types/components/upload/upload-file-state.d.ts +0 -6
- package/dist/types/components/upload/upload.d.ts +0 -70
- package/dist/types/components/utils/animation.d.ts +0 -7
- package/dist/types/components/utils/button-variants.d.ts +0 -1
- package/dist/types/components/utils/mutation-observer.d.ts +0 -1
- package/dist/types/components/utils/notification-color.d.ts +0 -4
- package/dist/types/components/utils/popover.util.d.ts +0 -9
- package/dist/types/components/utils/rwd.util.d.ts +0 -2
- package/dist/types/components/utils/toggle-theme.d.ts +0 -1
- package/dist/types/components/utils/typed-event.d.ts +0 -15
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +0 -31
- package/dist/types/components/workflow-step/workflow-step.d.ts +0 -35
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +0 -29
- package/dist/types/components.d.ts +0 -3689
- package/dist/types/env.d.ts +0 -1
- package/dist/types/exports.d.ts +0 -7
- package/dist/types/index.d.ts +0 -11
- package/dist/types/stencil-public-runtime.d.ts +0 -1565
- package/dist/types/utils/test/index.d.ts +0 -1
- package/dist/types/utils/test/page.d.ts +0 -3
- package/loader/cdn.js +0 -3
- package/loader/index.cjs.js +0 -3
- package/loader/index.d.ts +0 -12
- package/loader/index.es2017.js +0 -3
- package/loader/index.js +0 -4
- package/loader/package.json +0 -10
|
@@ -1,619 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { P as Popover } from './popover.util.js';
|
|
3
|
-
import { a as convertToRemString } from './rwd.util.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './dropdown.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './menu-item.js';
|
|
6
|
-
|
|
7
|
-
/*
|
|
8
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
9
|
-
*
|
|
10
|
-
* SPDX-License-Identifier: MIT
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the MIT license found in the
|
|
13
|
-
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
const toggleVariant = () => {
|
|
16
|
-
let currentTheme = Array.from(document.body.classList).find((className) => className.includes('theme-'));
|
|
17
|
-
if (!currentTheme) {
|
|
18
|
-
currentTheme = 'theme-classic-dark';
|
|
19
|
-
}
|
|
20
|
-
const isDark = currentTheme.endsWith('-dark');
|
|
21
|
-
let newTheme = currentTheme;
|
|
22
|
-
if (isDark) {
|
|
23
|
-
newTheme = currentTheme.replace(/-dark$/g, '-light');
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
newTheme = currentTheme.replace(/-light$/g, '-dark');
|
|
27
|
-
}
|
|
28
|
-
document.body.classList.remove(currentTheme);
|
|
29
|
-
document.body.classList.add(newTheme);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const menuCss = "ix-menu{display:flex;flex-direction:row;position:absolute;height:100%;min-height:22.75rem;z-index:var(--theme-z-index-sticky);width:auto}ix-menu .menu{display:flex;flex-direction:column;position:relative;width:4rem;height:100%;background-color:var(--theme-nav--background);transition:width var(--animate-duration)}ix-menu .menu.expanded{box-shadow:var(--theme-navigation--box-shadow)}ix-menu .menu .burger-menu-button{display:flex;justify-content:center;margin-top:0.75rem;margin-left:0.75rem;margin-bottom:1rem;height:2rem;width:2.5rem;border-radius:0.25rem}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).hover,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):hover{background-color:var(--theme-ghost--background--hover)}ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled).active,ix-menu .menu .burger-menu-button:not(.disabled):not(:disabled):active{background-color:var(--theme-ghost--background--active)}ix-menu .menu .burger-menu-button svg{display:inline-block;fill:var(--theme-menu-btn--color);position:relative}ix-menu .menu .burger-menu-button svg .line{opacity:1;transform:rotate(0) translateY(0) translateX(0);transition:transform 0.3s ease-in-out, opacity 0.2s ease-in-out}ix-menu .menu .burger-menu-button.expanded svg .line-1{transform:translate(0.6875rem, -0.05rem) rotate(45deg)}ix-menu .menu .burger-menu-button.expanded svg .line-2{opacity:0}ix-menu .menu .burger-menu-button.expanded svg .line-3{transform:translate(-0.75625rem, 0.8125rem) rotate(-45deg)}ix-menu .menu-overlay{display:block;position:absolute;width:calc(100vw - 4rem);height:100%;left:4rem;z-index:-1;-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem);background-color:var(--theme-sidebar-overlay-blur);transition:all 150ms ease-out}ix-menu .menu-overlay-invisible{display:none}ix-menu :not(.active-more-tab)>.internal-tab:last-child{margin-bottom:1rem}ix-menu .menu.expanded{width:16rem}ix-menu .menu-overlay.expanded{width:calc(100vw - 16rem);left:16rem}ix-menu #avatar-tab-placeholder{max-height:3rem}ix-menu .avatar{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-product-name{margin-bottom:1rem}ix-menu #cui-imprint .cui-imprint-product-description{margin-bottom:2rem}ix-menu #cui-imprint .cui-imprint-link-container{display:flex;align-items:center}ix-menu .bottom-tab-divider{margin-top:auto}";
|
|
33
|
-
|
|
34
|
-
const Menu = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
35
|
-
constructor() {
|
|
36
|
-
super();
|
|
37
|
-
this.__registerHost();
|
|
38
|
-
this.expandChange = createEvent(this, "expandChange", 7);
|
|
39
|
-
this.mapExpandChange = createEvent(this, "mapExpandChange", 7);
|
|
40
|
-
/**
|
|
41
|
-
* Is settings tab visible
|
|
42
|
-
*/
|
|
43
|
-
this.showSettings = false;
|
|
44
|
-
/**
|
|
45
|
-
* Is about tab visible
|
|
46
|
-
*/
|
|
47
|
-
this.showAbout = false;
|
|
48
|
-
/**
|
|
49
|
-
* Show toggle between light and dark variant. Only if the provided theme have implemented both!
|
|
50
|
-
*/
|
|
51
|
-
this.enableToggleTheme = false;
|
|
52
|
-
/**
|
|
53
|
-
* Is settings tab is visible
|
|
54
|
-
*/
|
|
55
|
-
this.enableSettings = true;
|
|
56
|
-
/**
|
|
57
|
-
* Internal
|
|
58
|
-
*/
|
|
59
|
-
this.enableMapExpand = false;
|
|
60
|
-
/**
|
|
61
|
-
* Should only be set if you use ix-menu standalone
|
|
62
|
-
*/
|
|
63
|
-
this.applicationDescription = '';
|
|
64
|
-
/**
|
|
65
|
-
* Maximum number of menu items to show in case enough vertical space is available.
|
|
66
|
-
* Extra menu items will be collapsed to 'show more' menu item.
|
|
67
|
-
*/
|
|
68
|
-
this.maxVisibleMenuItems = 9;
|
|
69
|
-
/**
|
|
70
|
-
*/
|
|
71
|
-
this.i18nLegal = 'About & legal information';
|
|
72
|
-
/**
|
|
73
|
-
*/
|
|
74
|
-
this.i18nSettings = 'Settings';
|
|
75
|
-
/**
|
|
76
|
-
*/
|
|
77
|
-
this.i18nToggleTheme = 'Toggle theme';
|
|
78
|
-
/**
|
|
79
|
-
*/
|
|
80
|
-
this.i18nExpand = ' Expand';
|
|
81
|
-
/**
|
|
82
|
-
*/
|
|
83
|
-
this.i18nCollapse = 'Collapse';
|
|
84
|
-
/**
|
|
85
|
-
*/
|
|
86
|
-
this.i18nMore = 'More…';
|
|
87
|
-
/**
|
|
88
|
-
* Expand menu
|
|
89
|
-
*/
|
|
90
|
-
this.expand = false;
|
|
91
|
-
this.showMoreItems = false;
|
|
92
|
-
this.visibleMenuItems = 0;
|
|
93
|
-
this.countMoreNotifications = 0;
|
|
94
|
-
this.mapExpand = true;
|
|
95
|
-
this.isMoreTabEmpty = false;
|
|
96
|
-
this.domObserver = new MutationObserver(this.onDomChange.bind(this));
|
|
97
|
-
// FBC IAM workaround #488
|
|
98
|
-
this.isVisible = (elm) => {
|
|
99
|
-
var _a, _b;
|
|
100
|
-
return (elm.style.display !== 'none' &&
|
|
101
|
-
((_b = (_a = elm.parentElement) === null || _a === void 0 ? void 0 : _a.parentElement) === null || _b === void 0 ? void 0 : _b.style.display) !== 'none');
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
onWindowResize() {
|
|
105
|
-
this.visibleMenuItems = this.getMaxTabCount();
|
|
106
|
-
}
|
|
107
|
-
handleNodeMutation(node) {
|
|
108
|
-
if (!(node instanceof HTMLElement)) {
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
if (node.matches('.tab')) {
|
|
112
|
-
this.onWindowResize();
|
|
113
|
-
}
|
|
114
|
-
if (node.matches('ix-menu-about') && this.menu.contains(node)) {
|
|
115
|
-
this.appendAbout();
|
|
116
|
-
}
|
|
117
|
-
if (node.matches('ix-menu-settings') && this.menu.contains(node)) {
|
|
118
|
-
this.appendSettings();
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
onDomChange(mutations) {
|
|
122
|
-
mutations.forEach((mutationRecord) => {
|
|
123
|
-
mutationRecord.addedNodes.forEach(this.handleNodeMutation.bind(this));
|
|
124
|
-
mutationRecord.removedNodes.forEach(this.handleNodeMutation.bind(this));
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
get popoverArea() {
|
|
128
|
-
return this.hostElement.querySelector('#popover-area');
|
|
129
|
-
}
|
|
130
|
-
get overlayContainer() {
|
|
131
|
-
return this.hostElement.querySelector('.menu-overlay');
|
|
132
|
-
}
|
|
133
|
-
get invisibleContainer() {
|
|
134
|
-
return this.hostElement.querySelector('.menu-overlay-invisible');
|
|
135
|
-
}
|
|
136
|
-
get menu() {
|
|
137
|
-
return this.hostElement.querySelector('.menu');
|
|
138
|
-
}
|
|
139
|
-
get menuItems() {
|
|
140
|
-
return Array.from(this.hostElement.querySelectorAll('ix-menu-item:not(.internal-tab):not(.home-tab):not(.bottom-tab)')).filter(this.isVisible);
|
|
141
|
-
}
|
|
142
|
-
get menuBottomItems() {
|
|
143
|
-
return Array.from(this.hostElement.querySelectorAll('ix-menu-item.bottom-tab:not(.internal-tab):not(.home-tab)')).filter(this.isVisible);
|
|
144
|
-
}
|
|
145
|
-
get homeTab() {
|
|
146
|
-
return this.hostElement.querySelector('ix-menu-item.home-tab');
|
|
147
|
-
}
|
|
148
|
-
get moreItemsDropdown() {
|
|
149
|
-
return this.hostElement.querySelector('.internal-tab ix-dropdown');
|
|
150
|
-
}
|
|
151
|
-
get isMoreItemsDropdownEmpty() {
|
|
152
|
-
return (this.hostElement.querySelectorAll('.internal-tab ix-dropdown .appended')
|
|
153
|
-
.length === 0);
|
|
154
|
-
}
|
|
155
|
-
get moreItemsDropdownItems() {
|
|
156
|
-
return this.hostElement.querySelectorAll('.internal-tab ix-dropdown ix-menu-item');
|
|
157
|
-
}
|
|
158
|
-
get activeMoreTabContainer() {
|
|
159
|
-
return this.hostElement.querySelector('.active-more-tab');
|
|
160
|
-
}
|
|
161
|
-
get activeMoreTab() {
|
|
162
|
-
return this.hostElement.querySelector('.active-more-tab ix-menu-item');
|
|
163
|
-
}
|
|
164
|
-
get aboutPopoverContainer() {
|
|
165
|
-
return this.hostElement.querySelector('.about-news');
|
|
166
|
-
}
|
|
167
|
-
get aboutPopover() {
|
|
168
|
-
return document.querySelector('ix-menu-about-news');
|
|
169
|
-
}
|
|
170
|
-
get aboutTab() {
|
|
171
|
-
return this.hostElement.querySelector('#aboutAndLegal');
|
|
172
|
-
}
|
|
173
|
-
get about() {
|
|
174
|
-
return this.hostElement.querySelector('ix-menu-about');
|
|
175
|
-
}
|
|
176
|
-
get settings() {
|
|
177
|
-
return this.hostElement.querySelector('ix-menu-settings');
|
|
178
|
-
}
|
|
179
|
-
get isSettingsEmpty() {
|
|
180
|
-
return (Array.from(this.hostElement.querySelectorAll('ix-menu-settings-item'))
|
|
181
|
-
.length === 0);
|
|
182
|
-
}
|
|
183
|
-
get avatarItem() {
|
|
184
|
-
return this.hostElement.querySelector('ix-menu-avatar');
|
|
185
|
-
}
|
|
186
|
-
get tabsContainer() {
|
|
187
|
-
return this.hostElement.querySelector('#menu-tabs');
|
|
188
|
-
}
|
|
189
|
-
showTab(index) {
|
|
190
|
-
return index + 1 <= this.visibleMenuItems;
|
|
191
|
-
}
|
|
192
|
-
componentDidLoad() {
|
|
193
|
-
var _a, _b, _c, _d;
|
|
194
|
-
const anchor = this.hostElement.querySelector('#more-tab');
|
|
195
|
-
this.popoverListener = new Popover(anchor, this.moreItemsDropdown, () => {
|
|
196
|
-
this.showMoreItems = false;
|
|
197
|
-
});
|
|
198
|
-
(_a = this.settings) === null || _a === void 0 ? void 0 : _a.addEventListener('close', () => {
|
|
199
|
-
this.showSettings = false;
|
|
200
|
-
this.settings.show = this.showSettings;
|
|
201
|
-
});
|
|
202
|
-
(_b = this.settings) === null || _b === void 0 ? void 0 : _b.addEventListener('animationend', () => {
|
|
203
|
-
if (!this.showSettings) {
|
|
204
|
-
this.settings.classList.add('d-none');
|
|
205
|
-
this.overlayContainer.classList.add('d-none');
|
|
206
|
-
}
|
|
207
|
-
});
|
|
208
|
-
(_c = this.about) === null || _c === void 0 ? void 0 : _c.addEventListener('close', () => {
|
|
209
|
-
this.showAbout = false;
|
|
210
|
-
this.about.show = this.showAbout;
|
|
211
|
-
});
|
|
212
|
-
(_d = this.about) === null || _d === void 0 ? void 0 : _d.addEventListener('animationend', () => {
|
|
213
|
-
if (!this.showAbout) {
|
|
214
|
-
this.about.classList.add('d-none');
|
|
215
|
-
this.overlayContainer.classList.add('d-none');
|
|
216
|
-
}
|
|
217
|
-
});
|
|
218
|
-
this.overlayContainer.classList.add('d-none');
|
|
219
|
-
this.onWindowResize();
|
|
220
|
-
this.domObserver.observe(this.hostElement, {
|
|
221
|
-
attributes: false,
|
|
222
|
-
childList: true,
|
|
223
|
-
subtree: true,
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
disconnectedCallback() {
|
|
227
|
-
var _a;
|
|
228
|
-
(_a = this.popoverListener) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
229
|
-
}
|
|
230
|
-
componentWillRender() {
|
|
231
|
-
this.appendTabs();
|
|
232
|
-
}
|
|
233
|
-
componentDidRender() {
|
|
234
|
-
this.visibleMenuItems = this.getMaxTabCount();
|
|
235
|
-
this.appendFragments();
|
|
236
|
-
}
|
|
237
|
-
appendFragments() {
|
|
238
|
-
this.appendAvatar();
|
|
239
|
-
this.appendAbout();
|
|
240
|
-
this.appendSettings();
|
|
241
|
-
this.appendAboutNewsPopover();
|
|
242
|
-
// This lead to none infinite-loops and other bugs.
|
|
243
|
-
this.isMoreTabEmpty = this.isMoreItemsDropdownEmpty;
|
|
244
|
-
this.countMoreNotifications = this.getMoreNotificationsCount();
|
|
245
|
-
}
|
|
246
|
-
resetActiveTab() {
|
|
247
|
-
this.activeTab = null;
|
|
248
|
-
}
|
|
249
|
-
isMenuItemActive(item) {
|
|
250
|
-
return item.active || item.classList.contains('active');
|
|
251
|
-
}
|
|
252
|
-
appendTabs() {
|
|
253
|
-
this.activeTab = null;
|
|
254
|
-
if (this.homeTab) {
|
|
255
|
-
this.hostElement.querySelector('.tabs-top').appendChild(this.homeTab);
|
|
256
|
-
this.homeTab.addEventListener('click', this.resetOverlay);
|
|
257
|
-
}
|
|
258
|
-
this.menuItems.forEach((item, index) => {
|
|
259
|
-
var _a;
|
|
260
|
-
if (this.showTab(index)) {
|
|
261
|
-
item.classList.remove('d-none');
|
|
262
|
-
}
|
|
263
|
-
else {
|
|
264
|
-
item.classList.add('d-none');
|
|
265
|
-
if (this.isMenuItemActive(item)) {
|
|
266
|
-
this.activeTab = item;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
// TODO: Find better solution to handle home tab
|
|
270
|
-
(_a = this.homeTab) === null || _a === void 0 ? void 0 : _a.classList.remove('d-none');
|
|
271
|
-
item.addEventListener('click', this.resetOverlay);
|
|
272
|
-
});
|
|
273
|
-
}
|
|
274
|
-
appendAvatar() {
|
|
275
|
-
var _a;
|
|
276
|
-
const avatar = this.avatarItem;
|
|
277
|
-
if (avatar) {
|
|
278
|
-
avatar.style.marginBottom = '1rem';
|
|
279
|
-
(_a = this.hostElement
|
|
280
|
-
.querySelector('#avatar-tab-placeholder')) === null || _a === void 0 ? void 0 : _a.appendChild(avatar);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
getAboutPopoverVerticalPosition() {
|
|
284
|
-
const heightArrow = 12;
|
|
285
|
-
const offsetArrow = 6;
|
|
286
|
-
const rectAbout = this.aboutTab.getBoundingClientRect();
|
|
287
|
-
const offset = window.innerHeight -
|
|
288
|
-
(rectAbout.bottom - rectAbout.height / 2 + heightArrow / 2 + offsetArrow);
|
|
289
|
-
return convertToRemString(offset);
|
|
290
|
-
}
|
|
291
|
-
appendAboutNewsPopover() {
|
|
292
|
-
var _a;
|
|
293
|
-
if (!this.aboutPopover) {
|
|
294
|
-
return;
|
|
295
|
-
}
|
|
296
|
-
this.aboutPopover.style.bottom = this.getAboutPopoverVerticalPosition();
|
|
297
|
-
if (!((_a = this.popoverArea) === null || _a === void 0 ? void 0 : _a.contains(this.aboutPopover))) {
|
|
298
|
-
const showMore = () => {
|
|
299
|
-
var _a;
|
|
300
|
-
if ((_a = this.aboutPopover) === null || _a === void 0 ? void 0 : _a.aboutItemLabel) {
|
|
301
|
-
this.about.activeTabLabel = this.aboutPopover.aboutItemLabel;
|
|
302
|
-
this.toggleAbout(true);
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
this.aboutPopover.addEventListener('showMore', showMore.bind(this));
|
|
306
|
-
document.body.appendChild(this.aboutPopover);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
appendSettings() {
|
|
310
|
-
if (this.settings) {
|
|
311
|
-
this.overlayContainer.appendChild(this.settings);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
appendAbout() {
|
|
315
|
-
if (this.about) {
|
|
316
|
-
this.overlayContainer.appendChild(this.about);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
getMoreNotificationsCount() {
|
|
320
|
-
var _a;
|
|
321
|
-
const moreTabs = (_a = this.moreItemsDropdown) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.appended');
|
|
322
|
-
let count = 0;
|
|
323
|
-
moreTabs === null || moreTabs === void 0 ? void 0 : moreTabs.forEach((tab) => {
|
|
324
|
-
if (tab['notifications']) {
|
|
325
|
-
count += tab['notifications'];
|
|
326
|
-
}
|
|
327
|
-
});
|
|
328
|
-
return count;
|
|
329
|
-
}
|
|
330
|
-
getAvailableHeight() {
|
|
331
|
-
const heightBurgerMenu = 60;
|
|
332
|
-
const heightHome = 72;
|
|
333
|
-
const heightAvatar = 56;
|
|
334
|
-
const heightBottomTab = 36;
|
|
335
|
-
let availableHeight = this.hostElement.clientHeight;
|
|
336
|
-
availableHeight -= heightBurgerMenu;
|
|
337
|
-
if (this.avatarItem) {
|
|
338
|
-
availableHeight -= heightAvatar;
|
|
339
|
-
}
|
|
340
|
-
if (this.homeTab) {
|
|
341
|
-
availableHeight -= heightHome;
|
|
342
|
-
}
|
|
343
|
-
if (this.showAbout) {
|
|
344
|
-
availableHeight -= heightBottomTab;
|
|
345
|
-
}
|
|
346
|
-
if (this.showSettings) {
|
|
347
|
-
availableHeight -= heightBottomTab;
|
|
348
|
-
}
|
|
349
|
-
if (this.menuBottomItems.length) {
|
|
350
|
-
availableHeight -= this.menuBottomItems.length * heightBottomTab;
|
|
351
|
-
}
|
|
352
|
-
if (this.enableMapExpand) {
|
|
353
|
-
availableHeight -= heightBottomTab;
|
|
354
|
-
}
|
|
355
|
-
// Subtract height of imprint and theme toggle tabs
|
|
356
|
-
availableHeight -= 2 * heightBottomTab;
|
|
357
|
-
// Subtract bottom margin of bottom tabs
|
|
358
|
-
availableHeight -= 16;
|
|
359
|
-
return availableHeight;
|
|
360
|
-
}
|
|
361
|
-
getMaxTabCount() {
|
|
362
|
-
const heightTab = 48;
|
|
363
|
-
const availableHeight = this.getAvailableHeight();
|
|
364
|
-
const visibleCount = Math.floor(availableHeight / heightTab);
|
|
365
|
-
const menuItemCount = this.menuItems.length;
|
|
366
|
-
if (menuItemCount === 1) {
|
|
367
|
-
return 1;
|
|
368
|
-
}
|
|
369
|
-
if (menuItemCount < this.maxVisibleMenuItems) {
|
|
370
|
-
if (visibleCount > menuItemCount) {
|
|
371
|
-
return menuItemCount;
|
|
372
|
-
}
|
|
373
|
-
return Math.min(visibleCount - 2, menuItemCount);
|
|
374
|
-
}
|
|
375
|
-
if (menuItemCount === this.maxVisibleMenuItems) {
|
|
376
|
-
if (visibleCount < this.maxVisibleMenuItems) {
|
|
377
|
-
return visibleCount - 2;
|
|
378
|
-
}
|
|
379
|
-
if (visibleCount === this.maxVisibleMenuItems) {
|
|
380
|
-
return this.maxVisibleMenuItems - 2;
|
|
381
|
-
}
|
|
382
|
-
return Math.min(visibleCount, this.maxVisibleMenuItems);
|
|
383
|
-
}
|
|
384
|
-
if (visibleCount === this.maxVisibleMenuItems) {
|
|
385
|
-
return this.maxVisibleMenuItems - 2;
|
|
386
|
-
}
|
|
387
|
-
if (visibleCount >= this.maxVisibleMenuItems) {
|
|
388
|
-
return this.maxVisibleMenuItems - 1;
|
|
389
|
-
}
|
|
390
|
-
return Math.min(visibleCount - 2, this.maxVisibleMenuItems);
|
|
391
|
-
}
|
|
392
|
-
toggleShowMoreDropdown() {
|
|
393
|
-
if (this.moreItemsDropdown.querySelectorAll('.appended').length === 0) {
|
|
394
|
-
return;
|
|
395
|
-
}
|
|
396
|
-
this.popoverListener.open();
|
|
397
|
-
this.showMoreItems = !this.showMoreItems;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Toggle map sidebar expand
|
|
401
|
-
* @param show
|
|
402
|
-
*/
|
|
403
|
-
async toggleMapExpand(show) {
|
|
404
|
-
this.skipAllOverlayAnimations();
|
|
405
|
-
if (show !== undefined) {
|
|
406
|
-
this.mapExpand = show;
|
|
407
|
-
}
|
|
408
|
-
else {
|
|
409
|
-
this.mapExpand = !this.mapExpand;
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
skipAllOverlayAnimations() {
|
|
413
|
-
if (this.about) {
|
|
414
|
-
this.skipOverlayAnimationFor(this.about);
|
|
415
|
-
}
|
|
416
|
-
if (this.settings) {
|
|
417
|
-
this.skipOverlayAnimationFor(this.settings);
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
skipOverlayAnimationFor(element) {
|
|
421
|
-
const animateClass = 'animate__animated';
|
|
422
|
-
element === null || element === void 0 ? void 0 : element.classList.remove(animateClass);
|
|
423
|
-
setTimeout(() => {
|
|
424
|
-
element === null || element === void 0 ? void 0 : element.classList.add(animateClass);
|
|
425
|
-
}, 300);
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
* Toggle menu
|
|
429
|
-
* @param show
|
|
430
|
-
*/
|
|
431
|
-
async toggleMenu(show) {
|
|
432
|
-
this.skipAllOverlayAnimations();
|
|
433
|
-
if (show !== undefined) {
|
|
434
|
-
this.expand = show;
|
|
435
|
-
}
|
|
436
|
-
else {
|
|
437
|
-
this.expand = !this.expand;
|
|
438
|
-
}
|
|
439
|
-
if (this.aboutPopover) {
|
|
440
|
-
this.aboutPopover.expanded = this.expand;
|
|
441
|
-
}
|
|
442
|
-
this.expandChange.emit(this.expand);
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Toggle Settings tabs
|
|
446
|
-
* @param show
|
|
447
|
-
*/
|
|
448
|
-
async toggleSettings(show) {
|
|
449
|
-
var _a;
|
|
450
|
-
if (this.showAbout) {
|
|
451
|
-
this.skipAllOverlayAnimations();
|
|
452
|
-
}
|
|
453
|
-
else {
|
|
454
|
-
this.skipOverlayAnimationFor(this.about);
|
|
455
|
-
}
|
|
456
|
-
(_a = this.about) === null || _a === void 0 ? void 0 : _a.classList.add('d-none');
|
|
457
|
-
this.resetOverlay();
|
|
458
|
-
this.showSettings = show;
|
|
459
|
-
this.settings.show = this.showSettings;
|
|
460
|
-
this.settings.classList.remove('d-none');
|
|
461
|
-
this.overlayContainer.classList.remove('d-none');
|
|
462
|
-
}
|
|
463
|
-
/**
|
|
464
|
-
* Toggle About tabs
|
|
465
|
-
* @param show
|
|
466
|
-
*/
|
|
467
|
-
async toggleAbout(show) {
|
|
468
|
-
var _a;
|
|
469
|
-
if (this.showSettings) {
|
|
470
|
-
this.skipAllOverlayAnimations();
|
|
471
|
-
}
|
|
472
|
-
else {
|
|
473
|
-
this.skipOverlayAnimationFor(this.settings);
|
|
474
|
-
}
|
|
475
|
-
(_a = this.settings) === null || _a === void 0 ? void 0 : _a.classList.add('d-none');
|
|
476
|
-
this.resetOverlay();
|
|
477
|
-
this.showAbout = show;
|
|
478
|
-
this.about.show = this.showAbout;
|
|
479
|
-
this.about.classList.remove('d-none');
|
|
480
|
-
this.overlayContainer.classList.remove('d-none');
|
|
481
|
-
}
|
|
482
|
-
resetOverlay() {
|
|
483
|
-
this.showSettings = false;
|
|
484
|
-
this.showAbout = false;
|
|
485
|
-
if (this.settings) {
|
|
486
|
-
this.settings.show = this.showSettings;
|
|
487
|
-
}
|
|
488
|
-
if (this.about) {
|
|
489
|
-
this.about.show = this.showAbout;
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
showMoreButton() {
|
|
493
|
-
const menuItemCount = this.menuItems.length;
|
|
494
|
-
if (menuItemCount === 1) {
|
|
495
|
-
return false;
|
|
496
|
-
}
|
|
497
|
-
if (menuItemCount < this.maxVisibleMenuItems) {
|
|
498
|
-
return this.visibleMenuItems < menuItemCount;
|
|
499
|
-
}
|
|
500
|
-
if (menuItemCount > this.maxVisibleMenuItems) {
|
|
501
|
-
return this.visibleMenuItems < this.maxVisibleMenuItems;
|
|
502
|
-
}
|
|
503
|
-
return this.visibleMenuItems <= this.maxVisibleMenuItems - 2;
|
|
504
|
-
}
|
|
505
|
-
getCollapseText() {
|
|
506
|
-
return this.mapExpand ? this.i18nCollapse : this.i18nExpand;
|
|
507
|
-
}
|
|
508
|
-
getCollapseIcon() {
|
|
509
|
-
return this.mapExpand ? 'double-chevron-left' : 'double-chevron-right';
|
|
510
|
-
}
|
|
511
|
-
isMenuItemClicked(event) {
|
|
512
|
-
const path = event.composedPath();
|
|
513
|
-
const menuItems = path
|
|
514
|
-
.filter((element) => element.id !== 'more-tab')
|
|
515
|
-
.filter((element) => {
|
|
516
|
-
return element.tagName === 'IX-MENU-ITEM';
|
|
517
|
-
});
|
|
518
|
-
return menuItems.some((menu) => this.tabsContainer.contains(menu));
|
|
519
|
-
}
|
|
520
|
-
render() {
|
|
521
|
-
return (h(Host, { class: {
|
|
522
|
-
expanded: this.expand,
|
|
523
|
-
} }, h("div", { class: {
|
|
524
|
-
menu: true,
|
|
525
|
-
expanded: this.expand,
|
|
526
|
-
}, onClick: () => {
|
|
527
|
-
this.resetActiveTab();
|
|
528
|
-
} }, h("div", { onClick: async () => this.toggleMenu(), class: {
|
|
529
|
-
'burger-menu-button': true,
|
|
530
|
-
expanded: this.expand,
|
|
531
|
-
} }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 32 32", width: "32", height: "32" }, h("rect", { class: "line line-1", x: "5", y: "9.5", width: "22", height: "2" }), h("rect", { class: "line line-2", x: "5", y: "15.5", width: "22", height: "2" }), h("rect", { class: "line line-3", x: "5", y: "21.5", width: "22", height: "2" }))), h("div", { id: "avatar-tab-placeholder" }), h("div", { id: "menu-tabs", style: {
|
|
532
|
-
display: 'contents',
|
|
533
|
-
}, onClick: (event) => {
|
|
534
|
-
if (this.isMenuItemClicked(event)) {
|
|
535
|
-
this.resetOverlay();
|
|
536
|
-
}
|
|
537
|
-
} }, h("div", { class: "tabs-top" }), h("slot", null), h("div", { class: "active-more-tab" }, this.activeTab ? (h("ix-menu-item", { class: "internal-tab", active: true, tabIcon: this.activeTab.tabIcon }, this.activeTab.innerText)) : null), h("ix-menu-item", { id: "more-tab", tabIcon: "more-menu", class: {
|
|
538
|
-
'internal-tab': true,
|
|
539
|
-
}, style: {
|
|
540
|
-
display: this.showMoreButton() ? 'block' : 'none',
|
|
541
|
-
}, title: "Show more", notifications: this.countMoreNotifications, onClick: () => this.toggleShowMoreDropdown() }, this.i18nMore, h("ix-dropdown", { show: this.showMoreItems }, this.menuItems
|
|
542
|
-
.filter((elm, index) => !this.showTab(index) &&
|
|
543
|
-
!this.isMenuItemActive(elm) &&
|
|
544
|
-
this.isVisible(elm))
|
|
545
|
-
.map((e) => {
|
|
546
|
-
return (h("ix-menu-item", { tabIcon: e.tabIcon, active: e.active, class: "internal-tab appended", onClick: () => e.dispatchEvent(new CustomEvent('click')) }, e.innerText));
|
|
547
|
-
})))), h("div", { class: "bottom-tab-divider" }), this.enableSettings && !this.isSettingsEmpty ? (h("ix-menu-item", { id: "settings", class: {
|
|
548
|
-
'internal-tab': true,
|
|
549
|
-
'bottom-tab': true,
|
|
550
|
-
active: this.showSettings,
|
|
551
|
-
}, tabIcon: "cogwheel", onClick: async () => this.toggleSettings(!this.showSettings) }, this.i18nSettings)) : null, h("slot", { name: "bottom" }), h("div", { id: "popover-area" }), this.about ? (h("ix-menu-item", { id: "aboutAndLegal", class: {
|
|
552
|
-
'internal-tab': true,
|
|
553
|
-
'bottom-tab': true,
|
|
554
|
-
active: this.showAbout,
|
|
555
|
-
}, tabIcon: "info", onClick: async () => this.toggleAbout(!this.showAbout) }, this.i18nLegal)) : null, this.enableToggleTheme ? (h("ix-menu-item", { id: "toggleTheme", onClick: () => toggleVariant(), class: "internal-tab bottom-tab", tabIcon: "bulb" }, this.i18nToggleTheme)) : null, this.enableMapExpand ? (h("ix-menu-item", { id: "menu-collapse", onClick: () => this.mapExpandChange.emit(this.mapExpand), class: "internal-tab bottom-tab", tabIcon: `${this.getCollapseIcon()}` }, this.getCollapseText())) : null), h("div", { class: {
|
|
556
|
-
'menu-overlay': true,
|
|
557
|
-
expanded: this.expand,
|
|
558
|
-
'd-block': this.showAbout || this.showSettings,
|
|
559
|
-
}, style: {
|
|
560
|
-
opacity: this.showAbout || this.showSettings ? '1' : '0',
|
|
561
|
-
} }), h("div", { class: "menu-overlay-invisible" })));
|
|
562
|
-
}
|
|
563
|
-
get hostElement() { return this; }
|
|
564
|
-
static get style() { return menuCss; }
|
|
565
|
-
}, [4, "ix-menu", {
|
|
566
|
-
"showSettings": [1028, "show-settings"],
|
|
567
|
-
"showAbout": [1028, "show-about"],
|
|
568
|
-
"enableToggleTheme": [4, "enable-toggle-theme"],
|
|
569
|
-
"enableSettings": [4, "enable-settings"],
|
|
570
|
-
"enableMapExpand": [4, "enable-map-expand"],
|
|
571
|
-
"applicationName": [1, "application-name"],
|
|
572
|
-
"applicationDescription": [1, "application-description"],
|
|
573
|
-
"maxVisibleMenuItems": [2, "max-visible-menu-items"],
|
|
574
|
-
"i18nLegal": [1, "i-1-8n-legal"],
|
|
575
|
-
"i18nSettings": [1, "i-1-8n-settings"],
|
|
576
|
-
"i18nToggleTheme": [1, "i-1-8n-toggle-theme"],
|
|
577
|
-
"i18nExpand": [1, "i-1-8n-expand"],
|
|
578
|
-
"i18nCollapse": [1, "i-1-8n-collapse"],
|
|
579
|
-
"i18nMore": [1, "i-1-8n-more"],
|
|
580
|
-
"expand": [1540],
|
|
581
|
-
"showMoreItems": [32],
|
|
582
|
-
"visibleMenuItems": [32],
|
|
583
|
-
"countMoreNotifications": [32],
|
|
584
|
-
"mapExpand": [32],
|
|
585
|
-
"activeTab": [32],
|
|
586
|
-
"isMoreTabEmpty": [32],
|
|
587
|
-
"toggleMapExpand": [64],
|
|
588
|
-
"toggleMenu": [64],
|
|
589
|
-
"toggleSettings": [64],
|
|
590
|
-
"toggleAbout": [64]
|
|
591
|
-
}, [[9, "resize", "onWindowResize"]]]);
|
|
592
|
-
function defineCustomElement$1() {
|
|
593
|
-
if (typeof customElements === "undefined") {
|
|
594
|
-
return;
|
|
595
|
-
}
|
|
596
|
-
const components = ["ix-menu", "ix-dropdown", "ix-menu-item"];
|
|
597
|
-
components.forEach(tagName => { switch (tagName) {
|
|
598
|
-
case "ix-menu":
|
|
599
|
-
if (!customElements.get(tagName)) {
|
|
600
|
-
customElements.define(tagName, Menu);
|
|
601
|
-
}
|
|
602
|
-
break;
|
|
603
|
-
case "ix-dropdown":
|
|
604
|
-
if (!customElements.get(tagName)) {
|
|
605
|
-
defineCustomElement$3();
|
|
606
|
-
}
|
|
607
|
-
break;
|
|
608
|
-
case "ix-menu-item":
|
|
609
|
-
if (!customElements.get(tagName)) {
|
|
610
|
-
defineCustomElement$2();
|
|
611
|
-
}
|
|
612
|
-
break;
|
|
613
|
-
} });
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
const IxMenu = Menu;
|
|
617
|
-
const defineCustomElement = defineCustomElement$1;
|
|
618
|
-
|
|
619
|
-
export { IxMenu, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxMessageBar extends Components.IxMessageBar, HTMLElement {}
|
|
4
|
-
export const IxMessageBar: {
|
|
5
|
-
prototype: IxMessageBar;
|
|
6
|
-
new (): IxMessageBar;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|