@siemens/ix 1.1.0-beta.1 → 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
package/dist/esm/index.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
export { I as InputState, L as LogicalFilterOperator } from './logical-filter-operator-1bf83315.js';
|
|
2
|
-
export { F as FlipTileState } from './flip-tile-state-28a1f8ce.js';
|
|
3
|
-
export { a as Modal, M as ModalContainer } from './modal-8ed87a6c.js';
|
|
4
|
-
export { c as convertToAbbreviationString, a as convertToRemString } from './rwd.util-33a69d24.js';
|
|
5
|
-
export { c as closeModal, d as dismissModal, m as modal } from './modal-utils-ec39c1bc.js';
|
|
6
|
-
export { r as renderDefaultItem } from './default-tree-item-638c435a.js';
|
|
7
|
-
export { U as UploadFileState } from './upload-file-state-631bb8a2.js';
|
|
8
|
-
import './index-55cfd20d.js';
|
|
9
|
-
import './typed-event-dd6c83dd.js';
|
|
10
|
-
import './anime.es-185e9087.js';
|
|
11
|
-
import './animation-b667a4c4.js';
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
15
|
-
*
|
|
16
|
-
* SPDX-License-Identifier: MIT
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the MIT license found in the
|
|
19
|
-
* LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
class FilterState {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/*
|
|
25
|
-
* SPDX-FileCopyrightText: 2022 Siemens AG
|
|
26
|
-
*
|
|
27
|
-
* SPDX-License-Identifier: MIT
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the MIT license found in the
|
|
30
|
-
* LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/
|
|
32
|
-
function getToastContainer() {
|
|
33
|
-
const containerList = Array.from(document.querySelectorAll('ix-toast-container'));
|
|
34
|
-
const [container] = containerList;
|
|
35
|
-
if (containerList.length > 1) {
|
|
36
|
-
console.warn('Multiple toast container are found. Only there first is used.');
|
|
37
|
-
return container;
|
|
38
|
-
}
|
|
39
|
-
if (!container) {
|
|
40
|
-
const toastContainer = document.createElement('ix-toast-container');
|
|
41
|
-
document.body.appendChild(toastContainer);
|
|
42
|
-
return toastContainer;
|
|
43
|
-
}
|
|
44
|
-
return container;
|
|
45
|
-
}
|
|
46
|
-
async function toast(config) {
|
|
47
|
-
const context = getToastContainer();
|
|
48
|
-
const toast = await context.showToast(config);
|
|
49
|
-
return toast;
|
|
50
|
-
}
|
|
51
|
-
toast.info = (config) => {
|
|
52
|
-
return toast(Object.assign(Object.assign({}, config), { type: 'info' }));
|
|
53
|
-
};
|
|
54
|
-
toast.error = (config) => {
|
|
55
|
-
return toast(Object.assign(Object.assign({}, config), { type: 'error' }));
|
|
56
|
-
};
|
|
57
|
-
toast.success = (config) => {
|
|
58
|
-
return toast(Object.assign(Object.assign({}, config), { type: 'success' }));
|
|
59
|
-
};
|
|
60
|
-
toast.warning = (config) => {
|
|
61
|
-
return toast(Object.assign(Object.assign({}, config), { type: 'warning' }));
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export { FilterState, toast };
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-55cfd20d.js';
|
|
2
|
-
import { a as anime } from './anime.es-185e9087.js';
|
|
3
|
-
import { A as Animation } from './animation-b667a4c4.js';
|
|
4
|
-
import { c as convertToAbbreviationString } from './rwd.util-33a69d24.js';
|
|
5
|
-
|
|
6
|
-
const animatedTabCss = ".sc-ix-animated-tab-h{display:block;height:100%;width:100%;position:absolute}";
|
|
7
|
-
|
|
8
|
-
const AnimatedTab = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
return (h(Host, null, h("slot", null)));
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
AnimatedTab.style = animatedTabCss;
|
|
17
|
-
|
|
18
|
-
const animatedTabsCss = ".sc-ix-animated-tabs-h{--animate-duration:300ms;display:flex;flex-direction:column;align-items:center;height:100%;width:100%;position:relative}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs{display:flex;padding:0;margin:0;position:relative}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs{display:flex;justify-content:center;width:5rem;height:4.5rem;cursor:pointer;padding-top:0.625rem}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.bottom.sc-ix-animated-tabs{padding-top:0.875rem}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs{background:var(--theme-animated-tab-circle--background);border:solid 1px var(--theme-animated-tab-circle--border-color);display:flex;align-items:center;justify-content:center;border-radius:6.25rem;width:3rem;height:3rem;position:relative;transition:150ms}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):hover{background:var(--theme-animated-tab-circle--background--hover);border-color:var(--theme-animated-tab-circle--border-color--hover)}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):hover ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--hover) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):active{background:var(--theme-animated-tab-circle--background--active);border-color:var(--theme-animated-tab-circle--border-color--active)}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):active ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--active) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs{background:var(--theme-animated-tab-circle--background--selected);border-color:var(--theme-animated-tab-circle--border-color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs .count.sc-ix-animated-tabs{border-color:var(--theme-tab-pill--border-color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.disabled.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs,.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:disabled ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--disabled) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs .count.sc-ix-animated-tabs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text);display:flex;align-items:center;height:1rem;position:absolute;background-color:var(--theme-pill-outline--background);bottom:-0.55rem;border:1px solid var(--theme-tab-pill--border-color);border-radius:6.25rem;color:var(--theme-pill-outline--color);padding:0 0.25rem;background:var(--theme-color-1);transition:150ms}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs .count.bottom.sc-ix-animated-tabs{top:-0.55rem}.sc-ix-animated-tabs-h .content-container.sc-ix-animated-tabs{display:flex;flex-direction:row;height:calc(100% - 4.5rem);width:100%;overflow-y:auto;overflow-x:hidden}.sc-ix-animated-tabs-h .tab-active-underline.sc-ix-animated-tabs{background-color:var(--theme-animated-tab-indicator--background--selected);height:0.125rem;width:5rem;margin-top:-0.125rem;transition:150ms;position:absolute;top:4.5rem}.sc-ix-animated-tabs-h .tab-active-underline.bottom.sc-ix-animated-tabs{top:0;margin-top:0}";
|
|
19
|
-
|
|
20
|
-
const AnimatedTabs = class {
|
|
21
|
-
constructor(hostRef) {
|
|
22
|
-
registerInstance(this, hostRef);
|
|
23
|
-
this.tabClick = createEvent(this, "tabClick", 7);
|
|
24
|
-
/**
|
|
25
|
-
* @deprecated - For debugging purposes only
|
|
26
|
-
*/
|
|
27
|
-
this.disableAnimations = false;
|
|
28
|
-
/**
|
|
29
|
-
* Current selected tab index
|
|
30
|
-
*/
|
|
31
|
-
this.selectedIndex = 0;
|
|
32
|
-
/**
|
|
33
|
-
* Placement of the tabs
|
|
34
|
-
*/
|
|
35
|
-
this.tabPlacement = 'top';
|
|
36
|
-
this.easing = 'easeInOutSine';
|
|
37
|
-
this.firstRender = true;
|
|
38
|
-
}
|
|
39
|
-
onTabSelectionChange(newSelectionIndex, oldSelectionIndex) {
|
|
40
|
-
this.updateTabAnimation(oldSelectionIndex, newSelectionIndex);
|
|
41
|
-
}
|
|
42
|
-
onMouseDown() {
|
|
43
|
-
this.activeIndex = undefined;
|
|
44
|
-
}
|
|
45
|
-
get animatedTabs() {
|
|
46
|
-
return Array.from(this.hostElement.querySelectorAll('ix-animated-tab'));
|
|
47
|
-
}
|
|
48
|
-
get tabsContainer() {
|
|
49
|
-
return this.hostElement.querySelector('.tabs-container');
|
|
50
|
-
}
|
|
51
|
-
get contentContainer() {
|
|
52
|
-
return this.hostElement.querySelector('.content-container');
|
|
53
|
-
}
|
|
54
|
-
componentWillLoad() {
|
|
55
|
-
this.tabs = this.animatedTabs;
|
|
56
|
-
}
|
|
57
|
-
componentDidLoad() {
|
|
58
|
-
this.onTabSelectionChange(this.selectedIndex, -1);
|
|
59
|
-
this.observer = new MutationObserver(() => {
|
|
60
|
-
// Will trigger a re-render even if only the count attribute of a child tab changed
|
|
61
|
-
this.tabs = this.animatedTabs;
|
|
62
|
-
});
|
|
63
|
-
this.observer.observe(this.contentContainer, {
|
|
64
|
-
childList: true,
|
|
65
|
-
subtree: true,
|
|
66
|
-
attributes: true,
|
|
67
|
-
attributeFilter: ['count'],
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
//@ts-expect-error
|
|
71
|
-
disconnectCallback() {
|
|
72
|
-
var _a;
|
|
73
|
-
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
74
|
-
}
|
|
75
|
-
isSelected(tab) {
|
|
76
|
-
return this.tabs.indexOf(tab) === this.selectedIndex;
|
|
77
|
-
}
|
|
78
|
-
showTab(tab) {
|
|
79
|
-
if (this.isSelected(tab)) {
|
|
80
|
-
tab.classList.remove('d-none');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
hideTab(tab) {
|
|
84
|
-
if (!this.isSelected(tab)) {
|
|
85
|
-
tab.classList.add('d-none');
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
slideOutLeft(tab) {
|
|
89
|
-
if (this.disableAnimations) {
|
|
90
|
-
this.hideTab(tab);
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
anime({
|
|
94
|
-
targets: tab,
|
|
95
|
-
duration: Animation.mediumTime,
|
|
96
|
-
opacity: [1, 0],
|
|
97
|
-
translateX: [0, '-100%'],
|
|
98
|
-
easing: this.easing,
|
|
99
|
-
complete: () => {
|
|
100
|
-
this.hideTab(tab);
|
|
101
|
-
},
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
slideOutRight(tab) {
|
|
105
|
-
if (this.disableAnimations) {
|
|
106
|
-
this.hideTab(tab);
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
anime({
|
|
110
|
-
targets: tab,
|
|
111
|
-
duration: Animation.mediumTime,
|
|
112
|
-
opacity: [1, 0],
|
|
113
|
-
translateX: [0, '100%'],
|
|
114
|
-
easing: this.easing,
|
|
115
|
-
complete: () => {
|
|
116
|
-
this.hideTab(tab);
|
|
117
|
-
},
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
slideInLeft(tab) {
|
|
121
|
-
if (this.firstRender) {
|
|
122
|
-
tab.classList.remove('d-none');
|
|
123
|
-
this.firstRender = false;
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
if (this.disableAnimations) {
|
|
127
|
-
this.showTab(tab);
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
anime({
|
|
131
|
-
targets: tab,
|
|
132
|
-
duration: Animation.mediumTime,
|
|
133
|
-
opacity: [0, 1],
|
|
134
|
-
translateX: ['-100%', 0],
|
|
135
|
-
easing: this.easing,
|
|
136
|
-
begin: () => {
|
|
137
|
-
this.showTab(tab);
|
|
138
|
-
},
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
slideInRight(tab) {
|
|
142
|
-
if (this.firstRender) {
|
|
143
|
-
tab.classList.remove('d-none');
|
|
144
|
-
this.firstRender = false;
|
|
145
|
-
return;
|
|
146
|
-
}
|
|
147
|
-
if (this.disableAnimations) {
|
|
148
|
-
this.showTab(tab);
|
|
149
|
-
return;
|
|
150
|
-
}
|
|
151
|
-
anime({
|
|
152
|
-
targets: tab,
|
|
153
|
-
duration: Animation.mediumTime,
|
|
154
|
-
opacity: [0, 1],
|
|
155
|
-
translateX: ['100%', 0],
|
|
156
|
-
easing: this.easing,
|
|
157
|
-
begin: () => {
|
|
158
|
-
this.showTab(tab);
|
|
159
|
-
},
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
updateTabAnimation(oldIndex, newIndex) {
|
|
163
|
-
var _a;
|
|
164
|
-
(_a = this.tabs) === null || _a === void 0 ? void 0 : _a.forEach((tab, tabIndex) => {
|
|
165
|
-
if (tabIndex === oldIndex) {
|
|
166
|
-
if (tabIndex < newIndex) {
|
|
167
|
-
this.slideOutLeft(tab);
|
|
168
|
-
}
|
|
169
|
-
else if (tabIndex > newIndex) {
|
|
170
|
-
this.slideOutRight(tab);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
else if (tabIndex === newIndex) {
|
|
174
|
-
if (tabIndex < oldIndex) {
|
|
175
|
-
this.slideInLeft(tab);
|
|
176
|
-
}
|
|
177
|
-
else if (tabIndex > oldIndex) {
|
|
178
|
-
this.slideInRight(tab);
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
tab.classList.add('d-none');
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
onTabClick(index) {
|
|
187
|
-
this.selectedIndex = index;
|
|
188
|
-
this.tabClick.emit(index);
|
|
189
|
-
}
|
|
190
|
-
onTabMouseDown(index) {
|
|
191
|
-
this.activeIndex = index;
|
|
192
|
-
}
|
|
193
|
-
render() {
|
|
194
|
-
return (h(Host, { class: { 'flex-column-reverse': this.tabPlacement === 'bottom' } }, h("ul", { class: "tabs-container" }, this.animatedTabs.map((element, index) => (h("li", { class: { bottom: this.tabPlacement === 'bottom' }, onClick: () => this.onTabClick(index), onMouseDown: () => this.onTabMouseDown(index) }, h("div", { class: {
|
|
195
|
-
'tab-container': true,
|
|
196
|
-
selected: this.selectedIndex === index,
|
|
197
|
-
} }, h("ix-icon", { name: element.icon }), element.count ? (h("span", { class: {
|
|
198
|
-
count: true,
|
|
199
|
-
bottom: this.tabPlacement === 'bottom',
|
|
200
|
-
} }, convertToAbbreviationString(element.count))) : (''))))), h("div", { class: {
|
|
201
|
-
'tab-active-underline': true,
|
|
202
|
-
bottom: this.tabPlacement === 'bottom',
|
|
203
|
-
}, style: { 'margin-left': `calc(${this.selectedIndex} * 5rem)` } })), h("div", { class: "content-container" }, h("slot", null))));
|
|
204
|
-
}
|
|
205
|
-
get hostElement() { return getElement(this); }
|
|
206
|
-
static get watchers() { return {
|
|
207
|
-
"selectedIndex": ["onTabSelectionChange"]
|
|
208
|
-
}; }
|
|
209
|
-
};
|
|
210
|
-
AnimatedTabs.style = animatedTabsCss;
|
|
211
|
-
|
|
212
|
-
export { AnimatedTab as ix_animated_tab, AnimatedTabs as ix_animated_tabs };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-55cfd20d.js';
|
|
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-logo--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}:host .logo{display:inline-flex;align-items:center;position:relative;height:32px;overflow:hidden}";
|
|
4
|
-
|
|
5
|
-
const ApplicationHeader = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
}
|
|
9
|
-
componentDidLoad() {
|
|
10
|
-
this.attachSiemensLogoIfLoaded();
|
|
11
|
-
}
|
|
12
|
-
async attachSiemensLogoIfLoaded() {
|
|
13
|
-
await window.customElements.whenDefined('ix-siemens-logo');
|
|
14
|
-
const logoElement = document.createElement('ix-siemens-logo');
|
|
15
|
-
if (!this.host.querySelector('[slot="logo"]')) {
|
|
16
|
-
this.host.shadowRoot.querySelector('.logo').appendChild(logoElement);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return (h(Host, null, h("div", { class: "logo" }, h("slot", { name: "logo" })), h("span", { class: "name" }, this.name), h("slot", null)));
|
|
21
|
-
}
|
|
22
|
-
get host() { return getElement(this); }
|
|
23
|
-
};
|
|
24
|
-
ApplicationHeader.style = applicationHeaderCss;
|
|
25
|
-
|
|
26
|
-
export { ApplicationHeader as ix_application_header };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, g as getElement } from './index-55cfd20d.js';
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
const BasicNavigation = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
/**
|
|
9
|
-
* Hide application header
|
|
10
|
-
*/
|
|
11
|
-
this.hideHeader = false;
|
|
12
|
-
}
|
|
13
|
-
get menu() {
|
|
14
|
-
return this.hostElement.querySelector('ix-menu');
|
|
15
|
-
}
|
|
16
|
-
componentDidRender() {
|
|
17
|
-
if (this.menu) {
|
|
18
|
-
this.appendMenu();
|
|
19
|
-
this.adjustMenuHeight();
|
|
20
|
-
this.menu.applicationName = this.applicationName;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
appendMenu() {
|
|
24
|
-
this.hostElement.querySelector('#menu-placeholder').appendChild(this.menu);
|
|
25
|
-
}
|
|
26
|
-
adjustMenuHeight() {
|
|
27
|
-
if (!this.hideHeader) {
|
|
28
|
-
this.menu.style.height = 'calc(100% - 2.75rem)';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
render() {
|
|
32
|
-
return (h(Host, { class: {
|
|
33
|
-
'hide-header': this.hideHeader,
|
|
34
|
-
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo" }))) : null, h("div", { id: "menu-placeholder" }), h("div", { class: "content", onClick: () => this.menu.toggleMenu(false) }, h("slot", null))));
|
|
35
|
-
}
|
|
36
|
-
get hostElement() { return getElement(this); }
|
|
37
|
-
};
|
|
38
|
-
BasicNavigation.style = basicNavigationCss;
|
|
39
|
-
|
|
40
|
-
export { BasicNavigation as ix_basic_navigation };
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-55cfd20d.js';
|
|
2
|
-
import { a as anime } from './anime.es-185e9087.js';
|
|
3
|
-
|
|
4
|
-
const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;max-height:1;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
|
|
5
|
-
|
|
6
|
-
const Blind = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.collapsedChange = createEvent(this, "collapsedChange", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Collapsed state
|
|
12
|
-
*/
|
|
13
|
-
this.collapsed = false;
|
|
14
|
-
}
|
|
15
|
-
onHeaderClick(e) {
|
|
16
|
-
e.preventDefault();
|
|
17
|
-
e.stopImmediatePropagation();
|
|
18
|
-
this.collapsed = !this.collapsed;
|
|
19
|
-
this.collapsedChange.emit(this.collapsed);
|
|
20
|
-
}
|
|
21
|
-
componentDidLoad() {
|
|
22
|
-
this.animateCollapse(this.collapsed);
|
|
23
|
-
}
|
|
24
|
-
get content() {
|
|
25
|
-
return this.hostElement.querySelector('.blind-content');
|
|
26
|
-
}
|
|
27
|
-
animation(isCollapsed) {
|
|
28
|
-
this.animateCollapse(isCollapsed);
|
|
29
|
-
}
|
|
30
|
-
animateCollapse(isCollapsed) {
|
|
31
|
-
if (isCollapsed) {
|
|
32
|
-
this.rotateChevronRight();
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
this.rotateChevronDown();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
rotateChevronDown() {
|
|
39
|
-
anime({
|
|
40
|
-
targets: this.chevronRef,
|
|
41
|
-
duration: 150,
|
|
42
|
-
easing: 'easeInOutSine',
|
|
43
|
-
rotateZ: 90,
|
|
44
|
-
});
|
|
45
|
-
anime({
|
|
46
|
-
targets: this.content,
|
|
47
|
-
duration: 150,
|
|
48
|
-
easing: 'easeInOutSine',
|
|
49
|
-
opacity: 1,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
rotateChevronRight() {
|
|
53
|
-
anime({
|
|
54
|
-
targets: this.chevronRef,
|
|
55
|
-
duration: 150,
|
|
56
|
-
easing: 'easeInOutSine',
|
|
57
|
-
rotateZ: 0,
|
|
58
|
-
});
|
|
59
|
-
anime({
|
|
60
|
-
targets: this.content,
|
|
61
|
-
duration: 150,
|
|
62
|
-
easing: 'easeInOutSine',
|
|
63
|
-
opacity: 0,
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
render() {
|
|
67
|
-
return (h(Host, null, h("div", { class: {
|
|
68
|
-
'blind-header': true,
|
|
69
|
-
closed: this.collapsed,
|
|
70
|
-
}, onClick: (e) => this.onHeaderClick(e) }, h("span", { ref: (ref) => (this.chevronRef = ref), class: {
|
|
71
|
-
glyph: true,
|
|
72
|
-
'glyph-chevron-right-small': true,
|
|
73
|
-
} }), h("div", { class: "blind-header-title" }, this.label !== undefined ? (h("span", { class: "blind-header-title-default" }, this.label)) : (h("slot", { name: "custom-header" })))), h("div", { class: {
|
|
74
|
-
'blind-content': true,
|
|
75
|
-
hide: this.collapsed,
|
|
76
|
-
} }, h("slot", null))));
|
|
77
|
-
}
|
|
78
|
-
get hostElement() { return getElement(this); }
|
|
79
|
-
static get watchers() { return {
|
|
80
|
-
"collapsed": ["animation"]
|
|
81
|
-
}; }
|
|
82
|
-
};
|
|
83
|
-
Blind.style = blindCss;
|
|
84
|
-
|
|
85
|
-
export { Blind as ix_blind };
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-55cfd20d.js';
|
|
2
|
-
import { a as anime } from './anime.es-185e9087.js';
|
|
3
|
-
import { c as createMutationObserver } from './mutation-observer-379959bb.js';
|
|
4
|
-
|
|
5
|
-
const breadcrumbCss = ".sc-ix-breadcrumb-h{display:flex;height:2.5rem;justify-content:flex-start;align-items:center;background-color:transparent;overflow:hidden}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb{position:relative;display:flex;justify-content:flex-start;align-items:center;white-space:nowrap;border-radius:var(--theme-breadcrumb--border-radius);height:2rem;max-height:2rem;min-width:0;-webkit-margin-end:0.25rem;margin-inline-end:0.25rem;padding:0.5rem 0 0.5rem 0.25rem;outline:none;cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-btn--background--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-btn--background--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--active)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-width:0;font-weight:700}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb ix-icon.sc-ix-breadcrumb{-webkit-margin-end:0.25rem;margin-inline-end:0.25rem}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem;-webkit-margin-end:0;margin-inline-end:0}.sc-ix-breadcrumb-h .crumb.last.sc-ix-breadcrumb{background-color:transparent !important;cursor:default;-webkit-padding-end:0.25rem;padding-inline-end:0.25rem}.sc-ix-breadcrumb-h .crumb.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-breadcrumb-h .crumb.sc-ix-breadcrumb:not(:last-of-type){flex-shrink:0;max-width:14rem}.sc-ix-breadcrumb-h .crumb-dropdown.sc-ix-breadcrumb{overflow:visible}.sc-ix-breadcrumb-h .crumb-dropdown.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb::after{display:none}.sc-ix-breadcrumb-h .remove-anchor.sc-ix-breadcrumb::after{display:none}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb{display:flex}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb .more-text-ellipsis.sc-ix-breadcrumb{width:1rem;display:inline-block;font-weight:700}.sc-ix-breadcrumb-h .more-text.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{line-height:unset}.sc-ix-breadcrumb-h .crumb-items.sc-ix-breadcrumb{display:contents}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb{background-color:var(--theme-breadcrumb-btn--background);border:var(--theme-btn--btn-thickness) solid transparent;transition:150ms}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color)}.sc-ix-breadcrumb-h .crumb.btn.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color)}.sc-ix-breadcrumb-h .crumb.btn.last.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-last--color)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-btn--background--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-btn--background--active)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn--color--active)}.sc-ix-breadcrumb-h .crumb.btn.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-btn-arrow--color--active)}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb{background-color:var(--theme-breadcrumb-ghost--background);border:var(--theme-btn--ghost-thickness) solid transparent;transition:150ms}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color)}.sc-ix-breadcrumb-h .crumb.ghost.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color)}.sc-ix-breadcrumb-h .crumb.ghost.last.sc-ix-breadcrumb .crumb-text.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-last--color)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover{background-color:var(--theme-breadcrumb-ghost--background--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):hover .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color--hover)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled){cursor:pointer}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active{background-color:var(--theme-breadcrumb-ghost--background--active)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb,.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .glyph.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost--color--active)}.sc-ix-breadcrumb-h .crumb.ghost.clickable.sc-ix-breadcrumb:not(.remove-hover):not(.disabled):not(:disabled):active .crumb-text.sc-ix-breadcrumb+.glyph-chevron-right-small.sc-ix-breadcrumb{color:var(--theme-breadcrumb-ghost-arrow--color--active)}.dropdown-overflow.sc-ix-breadcrumb .dropdown-menu.sc-ix-breadcrumb{max-height:25rem;overflow-y:auto}";
|
|
6
|
-
|
|
7
|
-
const Breadcrumb = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.itemClick = createEvent(this, "itemClick", 7);
|
|
11
|
-
this.nextClick = createEvent(this, "nextClick", 7);
|
|
12
|
-
/**
|
|
13
|
-
* Excess items will get hidden inside of dropdown
|
|
14
|
-
*/
|
|
15
|
-
this.visibleItemCount = 9;
|
|
16
|
-
/**
|
|
17
|
-
* Items will be accessible through a dropdown
|
|
18
|
-
*/
|
|
19
|
-
this.nextItems = [];
|
|
20
|
-
/**
|
|
21
|
-
* Ghost breadcrumbs will not show solid backgrounds on individual crumbs unless there is a mouse event (e.g. hover)
|
|
22
|
-
*/
|
|
23
|
-
this.ghost = false;
|
|
24
|
-
this.items = [];
|
|
25
|
-
}
|
|
26
|
-
get breadcrumbItems() {
|
|
27
|
-
return Array.from(this.hostElement.querySelectorAll('ix-breadcrumb-item'));
|
|
28
|
-
}
|
|
29
|
-
get crumbItems() {
|
|
30
|
-
return Array.from(this.hostElement.querySelectorAll('.crumb-items .crumb'));
|
|
31
|
-
}
|
|
32
|
-
onItemClick(item) {
|
|
33
|
-
this.itemClick.emit(item);
|
|
34
|
-
}
|
|
35
|
-
componentDidLoad() {
|
|
36
|
-
this.mutationObserver = createMutationObserver(() => {
|
|
37
|
-
const updatedItems = this.getItems();
|
|
38
|
-
const update = () => {
|
|
39
|
-
this.items = updatedItems;
|
|
40
|
-
};
|
|
41
|
-
if (updatedItems.length >= this.items.length) {
|
|
42
|
-
update();
|
|
43
|
-
}
|
|
44
|
-
else if (updatedItems.length < this.items.length) {
|
|
45
|
-
const last = this.crumbItems[this.crumbItems.length - 1];
|
|
46
|
-
this.animationFadeOut(last, () => update());
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
this.mutationObserver.observe(this.hostElement.querySelector('.crumb-items'), {
|
|
50
|
-
subtree: true,
|
|
51
|
-
childList: true,
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
componentWillLoad() {
|
|
55
|
-
this.items = this.getItems();
|
|
56
|
-
}
|
|
57
|
-
getItems() {
|
|
58
|
-
return this.breadcrumbItems.map((item) => {
|
|
59
|
-
return { label: item.label, icon: item.icon };
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
disconnectedCallback() {
|
|
63
|
-
var _a;
|
|
64
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
65
|
-
}
|
|
66
|
-
animationFadeOut(ref, complete) {
|
|
67
|
-
anime({
|
|
68
|
-
targets: ref,
|
|
69
|
-
translateX: '-100%',
|
|
70
|
-
duration: 150,
|
|
71
|
-
opacity: [1, 0],
|
|
72
|
-
easing: 'linear',
|
|
73
|
-
complete: () => complete(),
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
animationFadeIn(ref) {
|
|
77
|
-
anime({
|
|
78
|
-
targets: ref,
|
|
79
|
-
duration: 150,
|
|
80
|
-
opacity: [0, 1],
|
|
81
|
-
translateX: ['-100%', '0%'],
|
|
82
|
-
easing: 'linear',
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
handleLastButtonRef(ref, last) {
|
|
86
|
-
var _a;
|
|
87
|
-
if (last) {
|
|
88
|
-
this.animationFadeIn(ref);
|
|
89
|
-
}
|
|
90
|
-
if (last && ((_a = this.nextItems) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
91
|
-
this.nextButtonRef = ref;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
sliceHiddenItems() {
|
|
95
|
-
let sliceIndex = 0;
|
|
96
|
-
if (this.items.length > this.visibleItemCount) {
|
|
97
|
-
sliceIndex = this.items.length - this.visibleItemCount;
|
|
98
|
-
}
|
|
99
|
-
return this.items.slice(sliceIndex);
|
|
100
|
-
}
|
|
101
|
-
clickItem(item, last) {
|
|
102
|
-
if (!last) {
|
|
103
|
-
this.onItemClick(item);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
renderBreadcrumbItems() {
|
|
107
|
-
return this.sliceHiddenItems().map((item, index, array) => {
|
|
108
|
-
var _a;
|
|
109
|
-
const last = index === array.length - 1;
|
|
110
|
-
const isLastItem = last && !((_a = this.nextItems) === null || _a === void 0 ? void 0 : _a.length);
|
|
111
|
-
return (h("div", { ref: (ref) => this.handleLastButtonRef(ref, last), "data-breadcrumb": index, class: {
|
|
112
|
-
crumb: true,
|
|
113
|
-
clickable: true,
|
|
114
|
-
ghost: this.ghost,
|
|
115
|
-
btn: !this.ghost,
|
|
116
|
-
last: isLastItem,
|
|
117
|
-
'remove-hover': isLastItem,
|
|
118
|
-
}, onClick: () => this.clickItem(item.label, last), "data-testid": "item" }, h("span", { class: "crumb-text remove-anchor" }, item.icon ? h("ix-icon", { name: item.icon, size: "16" }) : '', item.label), !isLastItem ? (h("span", { class: "glyph glyph-18 glyph-chevron-right-small text-default-text" })) : null));
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
render() {
|
|
122
|
-
var _a, _b, _c;
|
|
123
|
-
return (h(Host, null, h("ix-dropdown", { trigger: ((_a = this.items) === null || _a === void 0 ? void 0 : _a.length) > this.visibleItemCount
|
|
124
|
-
? this.previousButtonRef
|
|
125
|
-
: null }, this.items
|
|
126
|
-
.slice(0, this.items.length - this.visibleItemCount)
|
|
127
|
-
.map((item) => (h("ix-dropdown-item", { label: item.label, onClick: () => this.onItemClick(item.label) })))), ((_b = this.items) === null || _b === void 0 ? void 0 : _b.length) > this.visibleItemCount ? (h("div", { class: "crumb crumb-dropdown", ref: (ref) => (this.previousButtonRef = ref) }, h("span", { class: "remove-anchor more-text" }, h("span", { class: "more-text-ellipsis" }, "..."), h("span", { class: "glyph glyph-16 glyph-chevron-right" })))) : null, h("div", { class: "crumb-items" }, this.renderBreadcrumbItems(), h("slot", null)), h("ix-dropdown", { trigger: this.nextButtonRef }, (_c = this.nextItems) === null || _c === void 0 ? void 0 : _c.map((item) => (h("ix-dropdown-item", { label: item, onClick: (e) => {
|
|
128
|
-
this.nextClick.emit({
|
|
129
|
-
event: e,
|
|
130
|
-
item,
|
|
131
|
-
});
|
|
132
|
-
} }))))));
|
|
133
|
-
}
|
|
134
|
-
get hostElement() { return getElement(this); }
|
|
135
|
-
};
|
|
136
|
-
Breadcrumb.style = breadcrumbCss;
|
|
137
|
-
|
|
138
|
-
const breadcrumbItemCss = ".sc-ix-breadcrumb-item-h{display:block}";
|
|
139
|
-
|
|
140
|
-
const BreadcrumbItem = class {
|
|
141
|
-
constructor(hostRef) {
|
|
142
|
-
registerInstance(this, hostRef);
|
|
143
|
-
}
|
|
144
|
-
render() {
|
|
145
|
-
return (h(Host, null, h("slot", null)));
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
BreadcrumbItem.style = breadcrumbItemCss;
|
|
149
|
-
|
|
150
|
-
export { Breadcrumb as ix_breadcrumb, BreadcrumbItem as ix_breadcrumb_item };
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-55cfd20d.js';
|
|
2
|
-
import { g as getButtonClasses } from './base-button-7bfb747f.js';
|
|
3
|
-
|
|
4
|
-
const buttonCss = ".sc-ix-button-h{display:inline-block;height:2rem}[disabled].sc-ix-button-h{pointer-events:none}";
|
|
5
|
-
|
|
6
|
-
const Button = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
/**
|
|
10
|
-
* Button varaint
|
|
11
|
-
*/
|
|
12
|
-
this.variant = 'Primary';
|
|
13
|
-
/**
|
|
14
|
-
* Outline button
|
|
15
|
-
*/
|
|
16
|
-
this.outline = false;
|
|
17
|
-
/**
|
|
18
|
-
* Invisible button
|
|
19
|
-
*
|
|
20
|
-
* @deprecated use ghost property
|
|
21
|
-
*/
|
|
22
|
-
this.invisible = false;
|
|
23
|
-
/**
|
|
24
|
-
* Button with no background or outline
|
|
25
|
-
*/
|
|
26
|
-
this.ghost = false;
|
|
27
|
-
/**
|
|
28
|
-
* Show button as selected. Should be used with outline or invisible
|
|
29
|
-
*/
|
|
30
|
-
this.selected = false;
|
|
31
|
-
/**
|
|
32
|
-
* Disable the button
|
|
33
|
-
*/
|
|
34
|
-
this.disabled = false;
|
|
35
|
-
/**
|
|
36
|
-
* Type of the button
|
|
37
|
-
*/
|
|
38
|
-
this.type = 'button';
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
return (h("button", { type: this.type, class: getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, false, false, this.selected, this.disabled) }, h("slot", null)));
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
Button.style = buttonCss;
|
|
45
|
-
|
|
46
|
-
export { Button as ix_button };
|