@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
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxSpinner extends Components.IxSpinner, HTMLElement {}
|
|
4
|
-
export const IxSpinner: {
|
|
5
|
-
prototype: IxSpinner;
|
|
6
|
-
new (): IxSpinner;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxSplitButtonItem extends Components.IxSplitButtonItem, HTMLElement {}
|
|
4
|
-
export const IxSplitButtonItem: {
|
|
5
|
-
prototype: IxSplitButtonItem;
|
|
6
|
-
new (): IxSplitButtonItem;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$3 } from './dropdown-item.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './icon.js';
|
|
4
|
-
|
|
5
|
-
const splitButtonItemCss = ".sc-ix-split-button-item-h{display:block}";
|
|
6
|
-
|
|
7
|
-
const SplitButtonItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
-
constructor() {
|
|
9
|
-
super();
|
|
10
|
-
this.__registerHost();
|
|
11
|
-
this.itemClick = createEvent(this, "itemClick", 7);
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (h("ix-dropdown-item", { icon: this.icon, label: this.label, onClick: (e) => this.itemClick.emit(e) }));
|
|
15
|
-
}
|
|
16
|
-
get hostElement() { return this; }
|
|
17
|
-
static get style() { return splitButtonItemCss; }
|
|
18
|
-
}, [2, "ix-split-button-item", {
|
|
19
|
-
"icon": [1],
|
|
20
|
-
"label": [1]
|
|
21
|
-
}]);
|
|
22
|
-
function defineCustomElement$1() {
|
|
23
|
-
if (typeof customElements === "undefined") {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
const components = ["ix-split-button-item", "ix-dropdown-item", "ix-icon"];
|
|
27
|
-
components.forEach(tagName => { switch (tagName) {
|
|
28
|
-
case "ix-split-button-item":
|
|
29
|
-
if (!customElements.get(tagName)) {
|
|
30
|
-
customElements.define(tagName, SplitButtonItem);
|
|
31
|
-
}
|
|
32
|
-
break;
|
|
33
|
-
case "ix-dropdown-item":
|
|
34
|
-
if (!customElements.get(tagName)) {
|
|
35
|
-
defineCustomElement$3();
|
|
36
|
-
}
|
|
37
|
-
break;
|
|
38
|
-
case "ix-icon":
|
|
39
|
-
if (!customElements.get(tagName)) {
|
|
40
|
-
defineCustomElement$2();
|
|
41
|
-
}
|
|
42
|
-
break;
|
|
43
|
-
} });
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const IxSplitButtonItem = SplitButtonItem;
|
|
47
|
-
const defineCustomElement = defineCustomElement$1;
|
|
48
|
-
|
|
49
|
-
export { IxSplitButtonItem, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxSplitButton extends Components.IxSplitButton, HTMLElement {}
|
|
4
|
-
export const IxSplitButton: {
|
|
5
|
-
prototype: IxSplitButton;
|
|
6
|
-
new (): IxSplitButton;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { g as getButtonClasses } from './base-button.js';
|
|
3
|
-
import { d as defineCustomElement$3 } from './dropdown.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './icon.js';
|
|
5
|
-
import { c as createPopper } from './popper.js';
|
|
6
|
-
|
|
7
|
-
const splitButtonCss = ".sc-ix-split-button-h{display:block}";
|
|
8
|
-
|
|
9
|
-
const SplitButton = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.buttonClick = createEvent(this, "buttonClick", 7);
|
|
14
|
-
/**
|
|
15
|
-
* Color variant of button
|
|
16
|
-
*/
|
|
17
|
-
this.variant = 'Primary';
|
|
18
|
-
/**
|
|
19
|
-
* Button outline variant
|
|
20
|
-
*/
|
|
21
|
-
this.outline = false;
|
|
22
|
-
/**
|
|
23
|
-
* Button invisible
|
|
24
|
-
*
|
|
25
|
-
* @deprecated use ghost property
|
|
26
|
-
*/
|
|
27
|
-
this.invisible = false;
|
|
28
|
-
/**
|
|
29
|
-
* Button invisible
|
|
30
|
-
*/
|
|
31
|
-
this.ghost = false;
|
|
32
|
-
/**
|
|
33
|
-
* Button icon
|
|
34
|
-
*/
|
|
35
|
-
this.icon = '';
|
|
36
|
-
/**
|
|
37
|
-
* Splitbutton icon
|
|
38
|
-
*/
|
|
39
|
-
this.splitIcon = 'context-menu';
|
|
40
|
-
/**
|
|
41
|
-
* Disabled
|
|
42
|
-
*/
|
|
43
|
-
this.disabled = false;
|
|
44
|
-
/**
|
|
45
|
-
* Placement of the dropdown
|
|
46
|
-
*/
|
|
47
|
-
this.placement = 'bottom-start';
|
|
48
|
-
this.toggle = false;
|
|
49
|
-
}
|
|
50
|
-
get splitItems() {
|
|
51
|
-
return Array.from(this.hostElement.querySelectorAll('ix-split-button-item'));
|
|
52
|
-
}
|
|
53
|
-
clickOutside(e) {
|
|
54
|
-
if (!this.hostElement.contains(e.target)) {
|
|
55
|
-
this.toggle = false;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
componentDidLoad() {
|
|
59
|
-
const element = this.hostElement.querySelector('.anchor');
|
|
60
|
-
this.popover = this.hostElement.querySelector('ix-dropdown');
|
|
61
|
-
this.popperInstance = createPopper(element, this.popover, {
|
|
62
|
-
strategy: 'fixed',
|
|
63
|
-
placement: this.placement,
|
|
64
|
-
modifiers: [
|
|
65
|
-
{
|
|
66
|
-
name: 'offset',
|
|
67
|
-
options: {
|
|
68
|
-
offset: [0, 0],
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'flip',
|
|
73
|
-
options: {
|
|
74
|
-
padding: 8,
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
});
|
|
79
|
-
window.addEventListener('click', this.clickOutside.bind(this));
|
|
80
|
-
}
|
|
81
|
-
disconnectedCallback() {
|
|
82
|
-
var _a;
|
|
83
|
-
(_a = this.popperInstance) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
84
|
-
window.removeEventListener('click', this.clickOutside.bind(this));
|
|
85
|
-
}
|
|
86
|
-
toggleDropdown() {
|
|
87
|
-
this.toggle = !this.toggle;
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
return (h(Host, { class: "btn-group" }, h("button", { class: getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, !this.label, false, false, this.disabled), onClick: (e) => this.buttonClick.emit(e) }, this.icon ? h("ix-icon", { name: this.icon }) : null, " ", this.label), h("button", { class: Object.assign(Object.assign({}, getButtonClasses(this.variant, this.outline, this.ghost || this.invisible, true, false, false, this.disabled)), {
|
|
91
|
-
anchor: true,
|
|
92
|
-
}), onClick: () => this.toggleDropdown() }, h("ix-icon", { name: this.splitIcon }), h("ix-dropdown", { show: this.toggle }, h("slot", null)))));
|
|
93
|
-
}
|
|
94
|
-
get hostElement() { return this; }
|
|
95
|
-
static get style() { return splitButtonCss; }
|
|
96
|
-
}, [6, "ix-split-button", {
|
|
97
|
-
"variant": [1],
|
|
98
|
-
"outline": [4],
|
|
99
|
-
"invisible": [4],
|
|
100
|
-
"ghost": [4],
|
|
101
|
-
"label": [1],
|
|
102
|
-
"icon": [1],
|
|
103
|
-
"splitIcon": [1, "split-icon"],
|
|
104
|
-
"disabled": [4],
|
|
105
|
-
"placement": [1],
|
|
106
|
-
"toggle": [32]
|
|
107
|
-
}]);
|
|
108
|
-
function defineCustomElement$1() {
|
|
109
|
-
if (typeof customElements === "undefined") {
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
const components = ["ix-split-button", "ix-dropdown", "ix-icon"];
|
|
113
|
-
components.forEach(tagName => { switch (tagName) {
|
|
114
|
-
case "ix-split-button":
|
|
115
|
-
if (!customElements.get(tagName)) {
|
|
116
|
-
customElements.define(tagName, SplitButton);
|
|
117
|
-
}
|
|
118
|
-
break;
|
|
119
|
-
case "ix-dropdown":
|
|
120
|
-
if (!customElements.get(tagName)) {
|
|
121
|
-
defineCustomElement$3();
|
|
122
|
-
}
|
|
123
|
-
break;
|
|
124
|
-
case "ix-icon":
|
|
125
|
-
if (!customElements.get(tagName)) {
|
|
126
|
-
defineCustomElement$2();
|
|
127
|
-
}
|
|
128
|
-
break;
|
|
129
|
-
} });
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
const IxSplitButton = SplitButton;
|
|
133
|
-
const defineCustomElement = defineCustomElement$1;
|
|
134
|
-
|
|
135
|
-
export { IxSplitButton, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTabItem extends Components.IxTabItem, HTMLElement {}
|
|
4
|
-
export const IxTabItem: {
|
|
5
|
-
prototype: IxTabItem;
|
|
6
|
-
new (): IxTabItem;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTabs extends Components.IxTabs, HTMLElement {}
|
|
4
|
-
export const IxTabs: {
|
|
5
|
-
prototype: IxTabs;
|
|
6
|
-
new (): IxTabs;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTile extends Components.IxTile, HTMLElement {}
|
|
4
|
-
export const IxTile: {
|
|
5
|
-
prototype: IxTile;
|
|
6
|
-
new (): IxTile;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const tileCss = ".sc-ix-tile-h{min-width:11.937rem;max-width:11.937rem;width:11.937rem;display:flex;flex-direction:column;border:1px solid var(--theme-tile--border);border-radius:var(--theme-tile--border-radius);background-color:var(--theme-color-2);color:var(--theme-color-std-text);box-shadow:var(--theme-tile--box-shadow)}.tile-small.sc-ix-tile-h{height:2.5rem;min-height:2.5rem;max-height:2.5rem}.tile-medium.sc-ix-tile-h{height:5rem;min-height:5rem;max-height:5rem}.tile-big.sc-ix-tile-h{height:10rem;min-height:10rem;max-height:10rem}.sc-ix-tile-h:active,.sc-ix-tile-h:focus-visible,.sc-ix-tile-h:visited{outline:none}.sc-ix-tile-h .tile-header.sc-ix-tile{display:flex;align-items:center}.sc-ix-tile-h .tile-header.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-subheader.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-content.sc-ix-tile:not(:empty),.sc-ix-tile-h .tile-footer.sc-ix-tile:not(:empty){padding:0 1rem}.sc-ix-tile-h .tile-header.sc-ix-tile,.sc-ix-tile-h .tile-subheader.sc-ix-tile,.sc-ix-tile-h .tile-content.sc-ix-tile{flex-grow:1}.sc-ix-tile-h .tile-header.sc-ix-tile:not(:empty){display:flex;height:2.5rem;max-height:2.5rem;-webkit-padding-end:0.5rem;padding-inline-end:0.5rem}.sc-ix-tile-h .tile-subheader.sc-ix-tile{color:var(--theme-btn-invisible-secondary--color);flex-grow:0}.sc-ix-tile-h .tile-content.sc-ix-tile{flex-grow:1}.sc-ix-tile-h .tile-footer.sc-ix-tile:not(:empty){-webkit-border-before:1px solid var(--theme-color-1);border-block-start:1px solid var(--theme-color-1);height:2.5rem}";
|
|
4
|
-
|
|
5
|
-
const Tile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
/**
|
|
10
|
-
* Size of the tile - one of 'small', 'medium' or 'large'
|
|
11
|
-
*/
|
|
12
|
-
this.size = 'medium';
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (h(Host, { class: {
|
|
16
|
-
'tile-small': this.size === 'small',
|
|
17
|
-
'tile-medium': this.size === 'medium',
|
|
18
|
-
'tile-big': this.size === 'big',
|
|
19
|
-
} }, h("div", { class: "tile-header text-l-title" }, h("slot", { name: "header" })), h("div", { class: "tile-subheader" }, h("slot", { name: "subheader" })), h("div", { class: "tile-content" }, h("slot", null)), h("div", { class: "tile-footer" }, h("slot", { name: "footer" }))));
|
|
20
|
-
}
|
|
21
|
-
static get style() { return tileCss; }
|
|
22
|
-
}, [6, "ix-tile", {
|
|
23
|
-
"size": [1]
|
|
24
|
-
}]);
|
|
25
|
-
function defineCustomElement$1() {
|
|
26
|
-
if (typeof customElements === "undefined") {
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
const components = ["ix-tile"];
|
|
30
|
-
components.forEach(tagName => { switch (tagName) {
|
|
31
|
-
case "ix-tile":
|
|
32
|
-
if (!customElements.get(tagName)) {
|
|
33
|
-
customElements.define(tagName, Tile);
|
|
34
|
-
}
|
|
35
|
-
break;
|
|
36
|
-
} });
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const IxTile = Tile;
|
|
40
|
-
const defineCustomElement = defineCustomElement$1;
|
|
41
|
-
|
|
42
|
-
export { IxTile, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTimePicker extends Components.IxTimePicker, HTMLElement {}
|
|
4
|
-
export const IxTimePicker: {
|
|
5
|
-
prototype: IxTimePicker;
|
|
6
|
-
new (): IxTimePicker;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxToastContainer extends Components.IxToastContainer, HTMLElement {}
|
|
4
|
-
export const IxToastContainer: {
|
|
5
|
-
prototype: IxToastContainer;
|
|
6
|
-
new (): IxToastContainer;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { T as TypedEvent } from './typed-event.js';
|
|
3
|
-
import { d as defineCustomElement$4 } from './icon.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './icon-button.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './toast.js';
|
|
6
|
-
|
|
7
|
-
const ToastContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
-
constructor() {
|
|
9
|
-
super();
|
|
10
|
-
this.__registerHost();
|
|
11
|
-
/**
|
|
12
|
-
*/
|
|
13
|
-
this.containerId = 'toast-container';
|
|
14
|
-
/**
|
|
15
|
-
*/
|
|
16
|
-
this.containerClass = 'toast-container';
|
|
17
|
-
/**
|
|
18
|
-
*/
|
|
19
|
-
this.position = 'bottom-right';
|
|
20
|
-
}
|
|
21
|
-
get hostContainer() {
|
|
22
|
-
return document.getElementById(this.containerId);
|
|
23
|
-
}
|
|
24
|
-
componentDidLoad() {
|
|
25
|
-
if (!document.getElementById(this.containerId)) {
|
|
26
|
-
const toastContainer = document.createElement('div');
|
|
27
|
-
toastContainer.id = this.containerId;
|
|
28
|
-
toastContainer.classList.add(this.containerClass);
|
|
29
|
-
toastContainer.classList.add(`toast-container--${this.position}`);
|
|
30
|
-
document.body.appendChild(toastContainer);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Display a toast message
|
|
35
|
-
* @param config
|
|
36
|
-
*/
|
|
37
|
-
async showToast(config) {
|
|
38
|
-
const toast = document.createElement('ix-toast');
|
|
39
|
-
const onClose = new TypedEvent();
|
|
40
|
-
function removeToast(result) {
|
|
41
|
-
toast.remove();
|
|
42
|
-
onClose.emit(result);
|
|
43
|
-
}
|
|
44
|
-
toast.toastTitle = config.title;
|
|
45
|
-
toast.type = config.type;
|
|
46
|
-
toast.autoClose = config.autoClose;
|
|
47
|
-
toast.autoCloseDelay = config.autoCloseDelay;
|
|
48
|
-
toast.icon = config.icon;
|
|
49
|
-
toast.iconColor = config.iconColor;
|
|
50
|
-
toast.addEventListener('closeToast', (event) => {
|
|
51
|
-
const { detail } = event;
|
|
52
|
-
removeToast(detail);
|
|
53
|
-
});
|
|
54
|
-
if (typeof config.message === 'string') {
|
|
55
|
-
toast.innerText = config.message;
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
toast.appendChild(config.message);
|
|
59
|
-
}
|
|
60
|
-
this.hostContainer.appendChild(toast);
|
|
61
|
-
return {
|
|
62
|
-
onClose,
|
|
63
|
-
close: (result) => {
|
|
64
|
-
removeToast(result);
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
render() {
|
|
69
|
-
return h(Host, null);
|
|
70
|
-
}
|
|
71
|
-
get host() { return this; }
|
|
72
|
-
}, [2, "ix-toast-container", {
|
|
73
|
-
"containerId": [1, "container-id"],
|
|
74
|
-
"containerClass": [1, "container-class"],
|
|
75
|
-
"position": [1],
|
|
76
|
-
"showToast": [64]
|
|
77
|
-
}]);
|
|
78
|
-
function defineCustomElement$1() {
|
|
79
|
-
if (typeof customElements === "undefined") {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
const components = ["ix-toast-container", "ix-icon", "ix-icon-button", "ix-toast"];
|
|
83
|
-
components.forEach(tagName => { switch (tagName) {
|
|
84
|
-
case "ix-toast-container":
|
|
85
|
-
if (!customElements.get(tagName)) {
|
|
86
|
-
customElements.define(tagName, ToastContainer);
|
|
87
|
-
}
|
|
88
|
-
break;
|
|
89
|
-
case "ix-icon":
|
|
90
|
-
if (!customElements.get(tagName)) {
|
|
91
|
-
defineCustomElement$4();
|
|
92
|
-
}
|
|
93
|
-
break;
|
|
94
|
-
case "ix-icon-button":
|
|
95
|
-
if (!customElements.get(tagName)) {
|
|
96
|
-
defineCustomElement$3();
|
|
97
|
-
}
|
|
98
|
-
break;
|
|
99
|
-
case "ix-toast":
|
|
100
|
-
if (!customElements.get(tagName)) {
|
|
101
|
-
defineCustomElement$2();
|
|
102
|
-
}
|
|
103
|
-
break;
|
|
104
|
-
} });
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
const IxToastContainer = ToastContainer;
|
|
108
|
-
const defineCustomElement = defineCustomElement$1;
|
|
109
|
-
|
|
110
|
-
export { IxToastContainer, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxToast extends Components.IxToast, HTMLElement {}
|
|
4
|
-
export const IxToast: {
|
|
5
|
-
prototype: IxToast;
|
|
6
|
-
new (): IxToast;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxToggle extends Components.IxToggle, HTMLElement {}
|
|
4
|
-
export const IxToggle: {
|
|
5
|
-
prototype: IxToggle;
|
|
6
|
-
new (): IxToggle;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const toggleCss = ".sc-ix-toggle-h{display:flex;align-items:center;outline:none}.sc-ix-toggle-h .switch.sc-ix-toggle{position:relative;display:inline-flex;align-items:center;min-width:3rem;height:2rem}.sc-ix-toggle-h .switch.sc-ix-toggle:not(.disabled):not(:disabled):focus-visible{outline-color:var(--focus--border-color);outline-style:solid;outline-width:1px}.sc-ix-toggle-h .switch.sc-ix-toggle input.sc-ix-toggle{opacity:0;width:0;height:0}.sc-ix-toggle-h .slider.sc-ix-toggle{display:flex;align-items:center;justify-content:center;position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0}.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background);border-radius:2.125rem;border:1px solid var(--theme-switch-off--border-color);width:2.5rem;height:1rem}.sc-ix-toggle-h .slider.sc-ix-toggle:before{position:absolute;content:\"\";height:1.5rem;width:1.5rem;left:0.125rem;background-color:var(--theme-switch-thumb-off--background);transition:transform 150ms;border-radius:50%;border:1px solid var(--theme-switch-thumb-off--border-color);box-shadow:var(--theme-switch-thumb--box-shadow)}.sc-ix-toggle-h input.sc-ix-toggle:checked+.slider.sc-ix-toggle:before{transform:translateX(1.125rem);left:0.25rem}.sc-ix-toggle-h .text.sc-ix-toggle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--theme-switch--color);padding:0 0.5rem;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--hover);border-color:var(--theme-switch-thumb-off--border-color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--hover);border-color:var(--theme-switch-off--border-color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--active);border-color:var(--theme-switch-thumb-off--border-color--active)}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--active);border-color:var(--theme-switch-off--border-color--active)}.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.checked.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background);border-color:var(--theme-switch-thumb-on--border-color)}.checked.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background);border-color:var(--theme-switch-on--border-color)}.checked.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--hover);border-color:var(--theme-switch-thumb-on--border-color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background--hover);border-color:var(--theme-switch-on--border-color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-on--background--active);border-color:var(--theme-switch-thumb-on--border-color--active)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-on--background--active);border-color:var(--theme-switch-on--border-color--active)}.checked.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background);border-color:var(--theme-switch-thumb-mixed--border-color)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background);border-color:var(--theme-switch-mixed--border-color)}.indeterminate.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background--hover);border-color:var(--theme-switch-thumb-mixed--border-color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background--hover);border-color:var(--theme-switch-mixed--border-color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):hover .text.sc-ix-toggle{color:var(--theme-switch--color--hover)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled){cursor:pointer}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-mixed--background--active);border-color:var(--theme-switch-thumb-mixed--border-color--active)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .slider-track.sc-ix-toggle{background-color:var(--theme-switch-mixed--background--active);border-color:var(--theme-switch-mixed--border-color--active)}.indeterminate.sc-ix-toggle-h:not(.disabled):not(:disabled):active .text.sc-ix-toggle{color:var(--theme-switch--color--active)}.indeterminate.sc-ix-toggle-h .slider.sc-ix-toggle:before{transform:translateX(0.625rem)}[disabled].sc-ix-toggle-h .slider.sc-ix-toggle,.disabled.sc-ix-toggle-h .slider.sc-ix-toggle{cursor:initial}[disabled].sc-ix-toggle-h .slider.sc-ix-toggle:before,.disabled.sc-ix-toggle-h .slider.sc-ix-toggle:before{background-color:var(--theme-switch-thumb-off--background--disabled);border-color:var(--theme-switch-thumb-off--border-color--disabled)}[disabled].sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle,.disabled.sc-ix-toggle-h .slider.sc-ix-toggle .slider-track.sc-ix-toggle{background-color:var(--theme-switch-off--background--disabled);border-color:var(--theme-switch-off--border-color--disabled)}[disabled].sc-ix-toggle-h .text.sc-ix-toggle,.disabled.sc-ix-toggle-h .text.sc-ix-toggle{color:var(--theme-switch--color--disabled)}";
|
|
4
|
-
|
|
5
|
-
const CuiToggle = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.checkedChange = createEvent(this, "checkedChange", 7);
|
|
10
|
-
/**
|
|
11
|
-
* Whether the slide-toggle element is checked or not.
|
|
12
|
-
*/
|
|
13
|
-
this.checked = false;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the slide-toggle element is disabled or not.
|
|
16
|
-
*/
|
|
17
|
-
this.disabled = false;
|
|
18
|
-
/**
|
|
19
|
-
* If true the control is in indeterminate state
|
|
20
|
-
*/
|
|
21
|
-
this.indeterminate = false;
|
|
22
|
-
/**
|
|
23
|
-
* Basic and status colors from color palette
|
|
24
|
-
* @deprecated - Has no effect on the rendered control
|
|
25
|
-
*/
|
|
26
|
-
this.color = 'accent';
|
|
27
|
-
/**
|
|
28
|
-
* Text for on state
|
|
29
|
-
*/
|
|
30
|
-
this.textOn = 'On';
|
|
31
|
-
/**
|
|
32
|
-
* Text for off state
|
|
33
|
-
*/
|
|
34
|
-
this.textOff = 'Off';
|
|
35
|
-
/**
|
|
36
|
-
* Text for indeterminate state
|
|
37
|
-
*/
|
|
38
|
-
this.textIndeterminate = 'Mixed';
|
|
39
|
-
/**
|
|
40
|
-
* Hide `on` and `off` text
|
|
41
|
-
*/
|
|
42
|
-
this.hideText = false;
|
|
43
|
-
}
|
|
44
|
-
async onKeyDown(event) {
|
|
45
|
-
const targetElement = event.target;
|
|
46
|
-
if (!this.hostElement.contains(targetElement)) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
50
|
-
this.emitChange(event);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
emitChange(event) {
|
|
54
|
-
if (this.disabled || this.indeterminate) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
event.stopPropagation();
|
|
58
|
-
event.preventDefault();
|
|
59
|
-
this.checked = !this.checked;
|
|
60
|
-
this.checkedChange.emit(this.checked);
|
|
61
|
-
}
|
|
62
|
-
getText() {
|
|
63
|
-
if (this.indeterminate || this.checked === undefined) {
|
|
64
|
-
return this.textIndeterminate;
|
|
65
|
-
}
|
|
66
|
-
return this.checked ? this.textOn : this.textOff;
|
|
67
|
-
}
|
|
68
|
-
render() {
|
|
69
|
-
return (h(Host, { class: {
|
|
70
|
-
disabled: this.disabled,
|
|
71
|
-
checked: this.checked,
|
|
72
|
-
indeterminate: this.indeterminate || this.checked === undefined,
|
|
73
|
-
} }, h("label", { class: "switch", tabindex: this.disabled ? -1 : 0 }, h("input", { tabindex: "-1", type: "checkbox", checked: this.checked, disabled: this.disabled, indeterminate: this.indeterminate || this.checked === undefined, id: this.hostElement.id, onChange: (e) => this.emitChange(e) }), h("span", { class: "slider" }, h("span", { class: "slider-track" }))), !this.hideText ? (h("span", { title: this.getText(), class: "text", onClick: (e) => this.emitChange(e) }, this.getText())) : null));
|
|
74
|
-
}
|
|
75
|
-
get hostElement() { return this; }
|
|
76
|
-
static get style() { return toggleCss; }
|
|
77
|
-
}, [2, "ix-toggle", {
|
|
78
|
-
"checked": [1540],
|
|
79
|
-
"disabled": [4],
|
|
80
|
-
"indeterminate": [4],
|
|
81
|
-
"color": [1],
|
|
82
|
-
"textOn": [1, "text-on"],
|
|
83
|
-
"textOff": [1, "text-off"],
|
|
84
|
-
"textIndeterminate": [1, "text-indeterminate"],
|
|
85
|
-
"hideText": [4, "hide-text"]
|
|
86
|
-
}, [[8, "keydown", "onKeyDown"]]]);
|
|
87
|
-
function defineCustomElement$1() {
|
|
88
|
-
if (typeof customElements === "undefined") {
|
|
89
|
-
return;
|
|
90
|
-
}
|
|
91
|
-
const components = ["ix-toggle"];
|
|
92
|
-
components.forEach(tagName => { switch (tagName) {
|
|
93
|
-
case "ix-toggle":
|
|
94
|
-
if (!customElements.get(tagName)) {
|
|
95
|
-
customElements.define(tagName, CuiToggle);
|
|
96
|
-
}
|
|
97
|
-
break;
|
|
98
|
-
} });
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
const IxToggle = CuiToggle;
|
|
102
|
-
const defineCustomElement = defineCustomElement$1;
|
|
103
|
-
|
|
104
|
-
export { IxToggle, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTreeItem extends Components.IxTreeItem, HTMLElement {}
|
|
4
|
-
export const IxTreeItem: {
|
|
5
|
-
prototype: IxTreeItem;
|
|
6
|
-
new (): IxTreeItem;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface IxTree extends Components.IxTree, HTMLElement {}
|
|
4
|
-
export const IxTree: {
|
|
5
|
-
prototype: IxTree;
|
|
6
|
-
new (): IxTree;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|