@siemens/ix 1.4.2 → 1.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +2 -0
- package/dist/cjs/_commonjsHelpers-1a0c346f.js.map +1 -0
- package/dist/cjs/animation-d5cc0bec.js +2 -0
- package/dist/cjs/animation-d5cc0bec.js.map +1 -0
- package/dist/cjs/anime.es-8822f296.js +2 -0
- package/dist/cjs/anime.es-8822f296.js.map +1 -0
- package/dist/cjs/base-button-497db257.js +2 -0
- package/dist/cjs/base-button-497db257.js.map +1 -0
- package/dist/cjs/context-a0900b95.js +2 -0
- package/dist/cjs/context-a0900b95.js.map +1 -0
- package/dist/cjs/default-tree-item-89cd1f3f.js +2 -0
- package/dist/cjs/default-tree-item-89cd1f3f.js.map +1 -0
- package/dist/cjs/flip-tile-state-b5ff5ea0.js +2 -0
- package/dist/cjs/flip-tile-state-b5ff5ea0.js.map +1 -0
- package/dist/cjs/floating-ui.dom.esm-01fe5abe.js +2 -0
- package/dist/cjs/floating-ui.dom.esm-01fe5abe.js.map +1 -0
- package/dist/cjs/{index-f4b8e6ee.js → index-478a4b66.js} +133 -3
- package/dist/cjs/index-478a4b66.js.map +1 -0
- package/dist/cjs/index.cjs.js +12 -11
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-application-header.cjs.entry.js +3 -1
- package/dist/cjs/ix-application-header.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +3 -1
- package/dist/cjs/ix-basic-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-blind.cjs.entry.js +9 -4
- package/dist/cjs/ix-blind.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +4 -2
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-burger-menu.cjs.entry.js +3 -1
- package/dist/cjs/ix-burger-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-button.cjs.entry.js +3 -1
- package/dist/cjs/ix-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-category-filter.cjs.entry.js +6 -4
- package/dist/cjs/ix-category-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-chip.cjs.entry.js +9 -2
- package/dist/cjs/ix-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-counter-pill.cjs.entry.js +3 -1
- package/dist/cjs/ix-counter-pill.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-date-picker_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-date-time-card.cjs.entry.js +3 -1
- package/dist/cjs/ix-date-time-card.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +6 -4
- package/dist/cjs/ix-datetime-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-divider.cjs.entry.js +3 -1
- package/dist/cjs/ix-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-drawer.cjs.entry.js +3 -1
- package/dist/cjs/ix-drawer.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown-button.cjs.entry.js +3 -1
- package/dist/cjs/ix-dropdown-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js +3 -1
- package/dist/cjs/ix-dropdown-quick-actions.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-dropdown_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-event-list_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-event-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-expanding-search.cjs.entry.js +14 -12
- package/dist/cjs/ix-expanding-search.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-filter-chip.cjs.entry.js +5 -3
- package/dist/cjs/ix-filter-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +14 -3
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group-context-menu.cjs.entry.js +3 -1
- package/dist/cjs/ix-group-context-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-group_3.cjs.entry.js +4 -2
- package/dist/cjs/ix-group_3.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon-button.cjs.entry.js +3 -1
- package/dist/cjs/ix-icon-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-icon.cjs.entry.js +3 -1
- package/dist/cjs/ix-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-index-button.cjs.entry.js +28 -0
- package/dist/cjs/ix-index-button.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-input-group.cjs.entry.js +4 -2
- package/dist/cjs/ix-input-group.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-kpi.cjs.entry.js +3 -1
- package/dist/cjs/ix-kpi.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-menu_9.cjs.entry.js +4 -2
- package/dist/cjs/ix-menu_9.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-message-bar.cjs.entry.js +3 -1
- package/dist/cjs/ix-message-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal-example.cjs.entry.js +3 -1
- package/dist/cjs/ix-modal-example.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-modal_2.cjs.entry.js +208 -7
- package/dist/cjs/ix-modal_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-pagination.cjs.entry.js +115 -0
- package/dist/cjs/ix-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-pill.cjs.entry.js +3 -1
- package/dist/cjs/ix-pill.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-select_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-select_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-spinner.cjs.entry.js +3 -1
- package/dist/cjs/ix-spinner.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-split-button_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-split-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tab-item.cjs.entry.js +3 -1
- package/dist/cjs/ix-tab-item.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tabs.cjs.entry.js +3 -1
- package/dist/cjs/ix-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tile.cjs.entry.js +3 -1
- package/dist/cjs/ix-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toast_2.cjs.entry.js +13 -2
- package/dist/cjs/ix-toast_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-toggle.cjs.entry.js +3 -1
- package/dist/cjs/ix-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tooltip.cjs.entry.js +3 -1
- package/dist/cjs/ix-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-tree_2.cjs.entry.js +7 -1
- package/dist/cjs/ix-tree_2.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-typography.cjs.entry.js +3 -1
- package/dist/cjs/ix-typography.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-upload.cjs.entry.js +4 -2
- package/dist/cjs/ix-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +3 -1
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js +3 -1
- package/dist/cjs/ix-workflow-step_2.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/{logical-filter-operator-0faf70b8.js → logical-filter-operator-20233f71.js} +5 -3
- package/dist/cjs/logical-filter-operator-20233f71.js.map +1 -0
- package/dist/cjs/modal-utils-b645989b.js +2 -0
- package/dist/cjs/modal-utils-b645989b.js.map +1 -0
- package/dist/cjs/mutation-observer-eaaa5399.js +2 -0
- package/dist/cjs/mutation-observer-eaaa5399.js.map +1 -0
- package/dist/cjs/my-component.cjs.entry.js +3 -1
- package/dist/cjs/my-component.cjs.entry.js.map +1 -0
- package/dist/cjs/rwd.util-9480f0b5.js +2 -0
- package/dist/cjs/rwd.util-9480f0b5.js.map +1 -0
- package/dist/cjs/service-18dc5907.js +2 -0
- package/dist/cjs/service-18dc5907.js.map +1 -0
- package/dist/cjs/siemens-ix.cjs.js +12 -3
- package/dist/cjs/siemens-ix.cjs.js.map +1 -0
- package/dist/cjs/{theme-switcher-67669a35.js → theme-switcher-bdbd0d30.js} +10 -8
- package/dist/cjs/theme-switcher-bdbd0d30.js.map +1 -0
- package/dist/cjs/typed-event-f0f051da.js +2 -0
- package/dist/cjs/typed-event-f0f051da.js.map +1 -0
- package/dist/cjs/upload-file-state-a79acf2b.js +2 -0
- package/dist/cjs/upload-file-state-a79acf2b.js.map +1 -0
- package/dist/collection/collection-manifest.json +14 -12
- package/dist/collection/components/animated-tab/animated-tab.js +1 -0
- package/dist/collection/components/animated-tab/animated-tab.js.map +1 -0
- package/dist/collection/components/animated-tabs/animated-tabs.js +1 -0
- package/dist/collection/components/animated-tabs/animated-tabs.js.map +1 -0
- package/dist/collection/components/application-header/application-header.js +1 -0
- package/dist/collection/components/application-header/application-header.js.map +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.js +1 -0
- package/dist/collection/components/basic-navigation/basic-navigation.js.map +1 -0
- package/dist/collection/components/blind/blind.css +12 -6
- package/dist/collection/components/blind/blind.js +26 -2
- package/dist/collection/components/blind/blind.js.map +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +1 -2
- package/dist/collection/components/breadcrumb/breadcrumb.js +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +1 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js.map +1 -0
- package/dist/collection/components/button/base-button.js +1 -0
- package/dist/collection/components/button/base-button.js.map +1 -0
- package/dist/collection/components/button/button.js +5 -4
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/category-filter/category-filter.js +3 -2
- package/dist/collection/components/category-filter/category-filter.js.map +1 -0
- package/dist/collection/components/category-filter/filter-state.js +1 -0
- package/dist/collection/components/category-filter/filter-state.js.map +1 -0
- package/dist/collection/components/category-filter/input-state.js +4 -3
- package/dist/collection/components/category-filter/input-state.js.map +1 -0
- package/dist/collection/components/category-filter/logical-filter-operator.js +1 -0
- package/dist/collection/components/category-filter/logical-filter-operator.js.map +1 -0
- package/dist/collection/components/chip/chip.js +28 -2
- package/dist/collection/components/chip/chip.js.map +1 -0
- package/dist/collection/components/counter-pill/counter-pill.js +1 -0
- package/dist/collection/components/counter-pill/counter-pill.js.map +1 -0
- package/dist/collection/components/date-picker/date-picker.js +10 -9
- package/dist/collection/components/date-picker/date-picker.js.map +1 -0
- package/dist/collection/components/date-time-card/date-time-card.js +6 -1
- package/dist/collection/components/date-time-card/date-time-card.js.map +1 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +9 -11
- package/dist/collection/components/datetime-picker/datetime-picker.js.map +1 -0
- package/dist/collection/components/divider/divider.js +1 -0
- package/dist/collection/components/divider/divider.js.map +1 -0
- package/dist/collection/components/drawer/drawer.js +1 -0
- package/dist/collection/components/drawer/drawer.js.map +1 -0
- package/dist/collection/components/dropdown/alignment.js +1 -0
- package/dist/collection/components/dropdown/alignment.js.map +1 -0
- package/dist/collection/components/dropdown/dropdown.css +0 -5
- package/dist/collection/components/dropdown/dropdown.js +3 -2
- package/dist/collection/components/dropdown/dropdown.js.map +1 -0
- package/dist/collection/components/dropdown/placement.js +1 -0
- package/dist/collection/components/dropdown/placement.js.map +1 -0
- package/dist/collection/components/dropdown-button/dropdown-button.js +5 -4
- package/dist/collection/components/dropdown-button/dropdown-button.js.map +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js.map +1 -0
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js +1 -0
- package/dist/collection/components/dropdown-quick-actions/dropdown-quick-actions.js.map +1 -0
- package/dist/collection/components/event-list/event-list.js +1 -0
- package/dist/collection/components/event-list/event-list.js.map +1 -0
- package/dist/collection/components/event-list-item/event-list-item.js +1 -0
- package/dist/collection/components/event-list-item/event-list-item.js.map +1 -0
- package/dist/collection/components/expanding-search/expanding-search.js +10 -9
- package/dist/collection/components/expanding-search/expanding-search.js.map +1 -0
- package/dist/collection/components/filter-chip/filter-chip.css +14 -7
- package/dist/collection/components/filter-chip/filter-chip.js +2 -1
- package/dist/collection/components/filter-chip/filter-chip.js.map +1 -0
- package/dist/collection/components/flip-tile/flip-tile-state.js +1 -0
- package/dist/collection/components/flip-tile/flip-tile-state.js.map +1 -0
- package/dist/collection/components/flip-tile/flip-tile.css +0 -4
- package/dist/collection/components/flip-tile/flip-tile.js +57 -2
- package/dist/collection/components/flip-tile/flip-tile.js.map +1 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +1 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.js.map +1 -0
- package/dist/collection/components/group/group-context-menu.js +1 -0
- package/dist/collection/components/group/group-context-menu.js.map +1 -0
- package/dist/collection/components/group/group.js +2 -1
- package/dist/collection/components/group/group.js.map +1 -0
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +1 -0
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js.map +1 -0
- package/dist/collection/components/group-item/group-item.js +1 -0
- package/dist/collection/components/group-item/group-item.js.map +1 -0
- package/dist/collection/components/icon/icon.js +1 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon-button/icon-button.js +8 -2
- package/dist/collection/components/icon-button/icon-button.js.map +1 -0
- package/dist/collection/components/index-button/index-button.css +31 -0
- package/dist/collection/components/index-button/index-button.js +83 -0
- package/dist/collection/components/index-button/index-button.js.map +1 -0
- package/dist/collection/components/input-group/input-group.css +3 -0
- package/dist/collection/components/input-group/input-group.js +1 -0
- package/dist/collection/components/input-group/input-group.js.map +1 -0
- package/dist/collection/components/kpi/kpi.js +1 -0
- package/dist/collection/components/kpi/kpi.js.map +1 -0
- package/dist/collection/components/map-navigation/map-navigation.js +1 -0
- package/dist/collection/components/map-navigation/map-navigation.js.map +1 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +1 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js.map +1 -0
- package/dist/collection/components/menu/burger-menu.js +1 -0
- package/dist/collection/components/menu/burger-menu.js.map +1 -0
- package/dist/collection/components/menu/menu.js +1 -0
- package/dist/collection/components/menu/menu.js.map +1 -0
- package/dist/collection/components/menu-about/menu-about.js +1 -0
- package/dist/collection/components/menu-about/menu-about.js.map +1 -0
- package/dist/collection/components/menu-about-item/menu-about-item.js +1 -0
- package/dist/collection/components/menu-about-item/menu-about-item.js.map +1 -0
- package/dist/collection/components/menu-about-news/menu-about-news.js +1 -0
- package/dist/collection/components/menu-about-news/menu-about-news.js.map +1 -0
- package/dist/collection/components/menu-avatar/menu-avatar.js +1 -0
- package/dist/collection/components/menu-avatar/menu-avatar.js.map +1 -0
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +1 -0
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js.map +1 -0
- package/dist/collection/components/menu-item/menu-item.js +1 -0
- package/dist/collection/components/menu-item/menu-item.js.map +1 -0
- package/dist/collection/components/menu-settings/menu-settings.js +1 -0
- package/dist/collection/components/menu-settings/menu-settings.js.map +1 -0
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +1 -0
- package/dist/collection/components/menu-settings-item/menu-settings-item.js.map +1 -0
- package/dist/collection/components/message-bar/message-bar.js +1 -0
- package/dist/collection/components/message-bar/message-bar.js.map +1 -0
- package/dist/collection/components/modal/modal-utils.js +1 -0
- package/dist/collection/components/modal/modal-utils.js.map +1 -0
- package/dist/collection/components/modal/modal.js +1 -0
- package/dist/collection/components/modal/modal.js.map +1 -0
- package/dist/collection/components/modal-container/modal-container.js +6 -2
- package/dist/collection/components/modal-container/modal-container.js.map +1 -0
- package/dist/collection/components/my-component/example-modal.js +1 -0
- package/dist/collection/components/my-component/example-modal.js.map +1 -0
- package/dist/collection/components/my-component/my-component.js +1 -0
- package/dist/collection/components/my-component/my-component.js.map +1 -0
- package/dist/collection/components/pagination/pagination.css +58 -0
- package/dist/collection/components/pagination/pagination.js +303 -0
- package/dist/collection/components/pagination/pagination.js.map +1 -0
- package/dist/collection/components/pill/pill.js +1 -0
- package/dist/collection/components/pill/pill.js.map +1 -0
- package/dist/collection/components/select/select.js +1 -0
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/select-item/events.js +1 -0
- package/dist/collection/components/select-item/events.js.map +1 -0
- package/dist/collection/components/select-item/select-item.js +1 -0
- package/dist/collection/components/select-item/select-item.js.map +1 -0
- package/dist/collection/components/spinner/spinner.js +1 -0
- package/dist/collection/components/spinner/spinner.js.map +1 -0
- package/dist/collection/components/split-button/split-button.js +5 -4
- package/dist/collection/components/split-button/split-button.js.map +1 -0
- package/dist/collection/components/split-button-item/split-button-item.js +1 -0
- package/dist/collection/components/split-button-item/split-button-item.js.map +1 -0
- package/dist/collection/components/tab-item/tab-item.js +1 -0
- package/dist/collection/components/tab-item/tab-item.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +1 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- package/dist/collection/components/tile/tile.js +1 -0
- package/dist/collection/components/tile/tile.js.map +1 -0
- package/dist/collection/components/time-picker/time-picker.js +5 -4
- package/dist/collection/components/time-picker/time-picker.js.map +1 -0
- package/dist/collection/components/toast/toast-container.js +17 -4
- package/dist/collection/components/toast/toast-container.js.map +1 -0
- package/dist/collection/components/toast/toast-utils.js +5 -1
- package/dist/collection/components/toast/toast-utils.js.map +1 -0
- package/dist/collection/components/toast/toast.js +1 -0
- package/dist/collection/components/toast/toast.js.map +1 -0
- package/dist/collection/components/toggle/toggle.js +1 -0
- package/dist/collection/components/toggle/toggle.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +1 -0
- package/dist/collection/components/tooltip/tooltip.js.map +1 -0
- package/dist/collection/components/tree/tree-model.js +1 -0
- package/dist/collection/components/tree/tree-model.js.map +1 -0
- package/dist/collection/components/tree/tree.js +39 -0
- package/dist/collection/components/tree/tree.js.map +1 -0
- package/dist/collection/components/tree-item/default-tree-item.js +1 -0
- package/dist/collection/components/tree-item/default-tree-item.js.map +1 -0
- package/dist/collection/components/tree-item/tree-item.js +1 -0
- package/dist/collection/components/tree-item/tree-item.js.map +1 -0
- package/dist/collection/components/typography/types.js +1 -0
- package/dist/collection/components/typography/types.js.map +1 -0
- package/dist/collection/components/typography/typography.js +1 -0
- package/dist/collection/components/typography/typography.js.map +1 -0
- package/dist/collection/components/upload/upload-file-state.js +1 -0
- package/dist/collection/components/upload/upload-file-state.js.map +1 -0
- package/dist/collection/components/upload/upload.js +2 -1
- package/dist/collection/components/upload/upload.js.map +1 -0
- package/dist/collection/components/utils/animation.js +1 -0
- package/dist/collection/components/utils/animation.js.map +1 -0
- package/dist/collection/components/utils/menu-service/menu-service.js +1 -0
- package/dist/collection/components/utils/menu-service/menu-service.js.map +1 -0
- package/dist/collection/components/utils/mutation-observer.js +1 -0
- package/dist/collection/components/utils/mutation-observer.js.map +1 -0
- package/dist/collection/components/utils/notification-color.js +1 -0
- package/dist/collection/components/utils/notification-color.js.map +1 -0
- package/dist/collection/components/utils/rwd.util.js +1 -0
- package/dist/collection/components/utils/rwd.util.js.map +1 -0
- package/dist/collection/components/utils/screen/context.js +1 -0
- package/dist/collection/components/utils/screen/context.js.map +1 -0
- package/dist/collection/components/utils/screen/index.js +1 -0
- package/dist/collection/components/utils/screen/index.js.map +1 -0
- package/dist/collection/components/utils/screen/mode.js +1 -0
- package/dist/collection/components/utils/screen/mode.js.map +1 -0
- package/dist/collection/components/utils/screen/service.js +1 -0
- package/dist/collection/components/utils/screen/service.js.map +1 -0
- package/dist/collection/components/utils/theme-switcher.js +9 -8
- package/dist/collection/components/utils/theme-switcher.js.map +1 -0
- package/dist/collection/components/utils/typed-event.js +1 -0
- package/dist/collection/components/utils/typed-event.js.map +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +1 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js.map +1 -0
- package/dist/collection/components/workflow-step/workflow-step.js +1 -0
- package/dist/collection/components/workflow-step/workflow-step.js.map +1 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +1 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js.map +1 -0
- package/dist/collection/index.js +11 -6
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/tests/utils/test/index.js +1 -0
- package/dist/collection/tests/utils/test/index.js.map +1 -0
- package/dist/collection/tests/utils/test/page.js +1 -0
- package/dist/collection/tests/utils/test/page.js.map +1 -0
- package/dist/collection/utils/test/index.js +1 -0
- package/dist/collection/utils/test/index.js.map +1 -0
- package/dist/collection/utils/test/page.js +1 -0
- package/dist/collection/utils/test/page.js.map +1 -0
- package/dist/components/_commonjsHelpers.js +2 -0
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/animation.js +2 -0
- package/dist/components/animation.js.map +1 -0
- package/dist/components/anime.es.js +2 -0
- package/dist/components/anime.es.js.map +1 -0
- package/dist/components/application-header.js +2 -0
- package/dist/components/application-header.js.map +1 -0
- package/dist/components/base-button.js +2 -0
- package/dist/components/base-button.js.map +1 -0
- package/dist/components/burger-menu.js +2 -0
- package/dist/components/burger-menu.js.map +1 -0
- package/dist/components/button.js +2 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/date-picker.js +2 -0
- package/dist/components/date-picker.js.map +1 -0
- package/dist/components/date-time-card.js +2 -0
- package/dist/components/date-time-card.js.map +1 -0
- package/dist/components/default-tree-item.js +22 -0
- package/dist/components/default-tree-item.js.map +1 -0
- package/dist/components/dropdown-item.js +2 -0
- package/dist/components/dropdown-item.js.map +1 -0
- package/dist/components/dropdown.js +2 -0
- package/dist/components/dropdown.js.map +1 -0
- package/dist/components/filter-chip.js +4 -2
- package/dist/components/filter-chip.js.map +1 -0
- package/dist/components/flip-tile-state.js +20 -0
- package/dist/components/flip-tile-state.js.map +1 -0
- package/dist/components/floating-ui.dom.esm.js +2 -0
- package/dist/components/floating-ui.dom.esm.js.map +1 -0
- package/dist/components/group-context-menu.js +2 -0
- package/dist/components/group-context-menu.js.map +1 -0
- package/dist/components/group-item.js +2 -0
- package/dist/components/group-item.js.map +1 -0
- package/dist/components/icon-button.js +2 -0
- package/dist/components/icon-button.js.map +1 -0
- package/dist/components/icon.js +2 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/index-button.js +41 -0
- package/dist/components/index-button.js.map +1 -0
- package/dist/components/index.d.ts +9 -75
- package/dist/components/index.js +13 -76
- package/dist/components/index.js.map +1 -0
- package/dist/components/ix-animated-tab.js +2 -0
- package/dist/components/ix-animated-tab.js.map +1 -0
- package/dist/components/ix-animated-tabs.js +2 -0
- package/dist/components/ix-animated-tabs.js.map +1 -0
- package/dist/components/ix-application-header.js +2 -0
- package/dist/components/ix-application-header.js.map +1 -0
- package/dist/components/ix-basic-navigation.js +2 -0
- package/dist/components/ix-basic-navigation.js.map +1 -0
- package/dist/components/ix-blind.js +17 -5
- package/dist/components/ix-blind.js.map +1 -0
- package/dist/components/ix-breadcrumb-item.js +2 -0
- package/dist/components/ix-breadcrumb-item.js.map +1 -0
- package/dist/components/ix-breadcrumb.js +3 -1
- package/dist/components/ix-breadcrumb.js.map +1 -0
- package/dist/components/ix-burger-menu.js +2 -0
- package/dist/components/ix-burger-menu.js.map +1 -0
- package/dist/components/ix-button.js +2 -0
- package/dist/components/ix-button.js.map +1 -0
- package/dist/components/ix-category-filter.js +6 -35
- package/dist/components/ix-category-filter.js.map +1 -0
- package/dist/components/ix-chip.js +8 -1
- package/dist/components/ix-chip.js.map +1 -0
- package/dist/components/ix-counter-pill.js +2 -0
- package/dist/components/ix-counter-pill.js.map +1 -0
- package/dist/components/ix-date-picker.js +2 -0
- package/dist/components/ix-date-picker.js.map +1 -0
- package/dist/components/ix-date-time-card.js +2 -0
- package/dist/components/ix-date-time-card.js.map +1 -0
- package/dist/components/ix-datetime-picker.js +5 -3
- package/dist/components/ix-datetime-picker.js.map +1 -0
- package/dist/components/ix-divider.js +2 -0
- package/dist/components/ix-divider.js.map +1 -0
- package/dist/components/ix-drawer.js +2 -0
- package/dist/components/ix-drawer.js.map +1 -0
- package/dist/components/ix-dropdown-button.js +2 -0
- package/dist/components/ix-dropdown-button.js.map +1 -0
- package/dist/components/ix-dropdown-item.js +2 -0
- package/dist/components/ix-dropdown-item.js.map +1 -0
- package/dist/components/ix-dropdown-quick-actions.js +2 -0
- package/dist/components/ix-dropdown-quick-actions.js.map +1 -0
- package/dist/components/ix-dropdown.js +2 -0
- package/dist/components/ix-dropdown.js.map +1 -0
- package/dist/components/ix-event-list-item.js +2 -0
- package/dist/components/ix-event-list-item.js.map +1 -0
- package/dist/components/ix-event-list.js +2 -0
- package/dist/components/ix-event-list.js.map +1 -0
- package/dist/components/ix-expanding-search.js +14 -12
- package/dist/components/ix-expanding-search.js.map +1 -0
- package/dist/components/ix-filter-chip.js +2 -0
- package/dist/components/ix-filter-chip.js.map +1 -0
- package/dist/components/ix-flip-tile-content.js +2 -0
- package/dist/components/ix-flip-tile-content.js.map +1 -0
- package/dist/components/ix-flip-tile.js +17 -20
- package/dist/components/ix-flip-tile.js.map +1 -0
- package/dist/components/ix-group-context-menu.js +2 -0
- package/dist/components/ix-group-context-menu.js.map +1 -0
- package/dist/components/ix-group-dropdown-item.js +2 -0
- package/dist/components/ix-group-dropdown-item.js.map +1 -0
- package/dist/components/ix-group-item.js +2 -0
- package/dist/components/ix-group-item.js.map +1 -0
- package/dist/components/ix-group.js +3 -1
- package/dist/components/ix-group.js.map +1 -0
- package/dist/components/ix-icon-button.js +2 -0
- package/dist/components/ix-icon-button.js.map +1 -0
- package/dist/components/ix-icon.js +2 -0
- package/dist/components/ix-icon.js.map +1 -0
- package/dist/components/ix-index-button.d.ts +11 -0
- package/dist/components/ix-index-button.js +8 -0
- package/dist/components/ix-index-button.js.map +1 -0
- package/dist/components/ix-input-group.js +3 -1
- package/dist/components/ix-input-group.js.map +1 -0
- package/dist/components/ix-kpi.js +2 -0
- package/dist/components/ix-kpi.js.map +1 -0
- package/dist/components/ix-map-navigation-overlay.js +2 -0
- package/dist/components/ix-map-navigation-overlay.js.map +1 -0
- package/dist/components/ix-map-navigation.js +2 -0
- package/dist/components/ix-map-navigation.js.map +1 -0
- package/dist/components/ix-menu-about-item.js +2 -0
- package/dist/components/ix-menu-about-item.js.map +1 -0
- package/dist/components/ix-menu-about-news.js +2 -0
- package/dist/components/ix-menu-about-news.js.map +1 -0
- package/dist/components/ix-menu-about.js +2 -0
- package/dist/components/ix-menu-about.js.map +1 -0
- package/dist/components/ix-menu-avatar-item.js +2 -0
- package/dist/components/ix-menu-avatar-item.js.map +1 -0
- package/dist/components/ix-menu-avatar.js +2 -0
- package/dist/components/ix-menu-avatar.js.map +1 -0
- package/dist/components/ix-menu-item.js +2 -0
- package/dist/components/ix-menu-item.js.map +1 -0
- package/dist/components/ix-menu-settings-item.js +2 -0
- package/dist/components/ix-menu-settings-item.js.map +1 -0
- package/dist/components/ix-menu-settings.js +2 -0
- package/dist/components/ix-menu-settings.js.map +1 -0
- package/dist/components/ix-menu.js +4 -88
- package/dist/components/ix-menu.js.map +1 -0
- package/dist/components/ix-message-bar.js +2 -0
- package/dist/components/ix-message-bar.js.map +1 -0
- package/dist/components/ix-modal-container.js +2 -0
- package/dist/components/ix-modal-container.js.map +1 -0
- package/dist/components/ix-modal-example.js +4 -38
- package/dist/components/ix-modal-example.js.map +1 -0
- package/dist/components/ix-modal.js +2 -0
- package/dist/components/ix-modal.js.map +1 -0
- package/dist/components/ix-pagination.d.ts +11 -0
- package/dist/components/ix-pagination.js +185 -0
- package/dist/components/ix-pagination.js.map +1 -0
- package/dist/components/ix-pill.js +2 -0
- package/dist/components/ix-pill.js.map +1 -0
- package/dist/components/ix-select-item.js +2 -0
- package/dist/components/ix-select-item.js.map +1 -0
- package/dist/components/ix-select.js +3 -341
- package/dist/components/ix-select.js.map +1 -0
- package/dist/components/ix-spinner.js +2 -0
- package/dist/components/ix-spinner.js.map +1 -0
- package/dist/components/ix-split-button-item.js +2 -0
- package/dist/components/ix-split-button-item.js.map +1 -0
- package/dist/components/ix-split-button.js +2 -0
- package/dist/components/ix-split-button.js.map +1 -0
- package/dist/components/ix-tab-item.js +2 -0
- package/dist/components/ix-tab-item.js.map +1 -0
- package/dist/components/ix-tabs.js +2 -0
- package/dist/components/ix-tabs.js.map +1 -0
- package/dist/components/ix-tile.js +2 -0
- package/dist/components/ix-tile.js.map +1 -0
- package/dist/components/ix-time-picker.js +2 -0
- package/dist/components/ix-time-picker.js.map +1 -0
- package/dist/components/ix-toast-container.js +12 -1
- package/dist/components/ix-toast-container.js.map +1 -0
- package/dist/components/ix-toast.js +2 -0
- package/dist/components/ix-toast.js.map +1 -0
- package/dist/components/ix-toggle.js +2 -0
- package/dist/components/ix-toggle.js.map +1 -0
- package/dist/components/ix-tooltip.js +2 -0
- package/dist/components/ix-tooltip.js.map +1 -0
- package/dist/components/ix-tree-item.js +2 -0
- package/dist/components/ix-tree-item.js.map +1 -0
- package/dist/components/ix-tree.js +8 -20
- package/dist/components/ix-tree.js.map +1 -0
- package/dist/components/ix-typography.js +2 -0
- package/dist/components/ix-typography.js.map +1 -0
- package/dist/components/ix-upload.js +5 -18
- package/dist/components/ix-upload.js.map +1 -0
- package/dist/components/ix-validation-tooltip.js +2 -0
- package/dist/components/ix-validation-tooltip.js.map +1 -0
- package/dist/components/ix-workflow-step.js +2 -0
- package/dist/components/ix-workflow-step.js.map +1 -0
- package/dist/components/ix-workflow-steps.js +2 -0
- package/dist/components/ix-workflow-steps.js.map +1 -0
- package/dist/{esm/logical-filter-operator-15696001.js → components/logical-filter-operator.js} +5 -3
- package/dist/components/logical-filter-operator.js.map +1 -0
- package/dist/components/luxon.js +2 -0
- package/dist/components/luxon.js.map +1 -0
- package/dist/components/map-navigation-overlay.js +2 -0
- package/dist/components/map-navigation-overlay.js.map +1 -0
- package/dist/components/menu-avatar-item.js +2 -0
- package/dist/components/menu-avatar-item.js.map +1 -0
- package/dist/components/menu-item.js +2 -0
- package/dist/components/menu-item.js.map +1 -0
- package/dist/components/modal-container.js +2 -0
- package/dist/components/modal-container.js.map +1 -0
- package/dist/components/modal-utils.js +40 -0
- package/dist/components/modal-utils.js.map +1 -0
- package/dist/components/modal.js +2 -0
- package/dist/components/modal.js.map +1 -0
- package/dist/components/mutation-observer.js +2 -0
- package/dist/components/mutation-observer.js.map +1 -0
- package/dist/components/my-component.js +2 -0
- package/dist/components/my-component.js.map +1 -0
- package/dist/components/rwd.util.js +2 -0
- package/dist/components/rwd.util.js.map +1 -0
- package/dist/components/select-item.js +2 -0
- package/dist/components/select-item.js.map +1 -0
- package/dist/components/select.js +345 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/service.js +2 -0
- package/dist/components/service.js.map +1 -0
- package/dist/components/spinner.js +2 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/tab-item.js +2 -0
- package/dist/components/tab-item.js.map +1 -0
- package/dist/components/tabs.js +2 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/theme-switcher.js +91 -0
- package/dist/components/theme-switcher.js.map +1 -0
- package/dist/components/time-picker.js +2 -0
- package/dist/components/time-picker.js.map +1 -0
- package/dist/components/toast.js +2 -0
- package/dist/components/toast.js.map +1 -0
- package/dist/components/tree-item.js +2 -0
- package/dist/components/tree-item.js.map +1 -0
- package/dist/components/typed-event.js +2 -0
- package/dist/components/typed-event.js.map +1 -0
- package/dist/components/typography.js +2 -0
- package/dist/components/typography.js.map +1 -0
- package/dist/components/upload-file-state.js +19 -0
- package/dist/components/upload-file-state.js.map +1 -0
- package/dist/esm/_commonjsHelpers-4bc7200a.js +2 -0
- package/dist/esm/_commonjsHelpers-4bc7200a.js.map +1 -0
- package/dist/esm/animation-268dce50.js +2 -0
- package/dist/esm/animation-268dce50.js.map +1 -0
- package/dist/esm/anime.es-185e9087.js +2 -0
- package/dist/esm/anime.es-185e9087.js.map +1 -0
- package/dist/esm/base-button-5bfeb71c.js +2 -0
- package/dist/esm/base-button-5bfeb71c.js.map +1 -0
- package/dist/esm/context-f6a2b727.js +2 -0
- package/dist/esm/context-f6a2b727.js.map +1 -0
- package/dist/esm/default-tree-item-91ff2c08.js +2 -0
- package/dist/esm/default-tree-item-91ff2c08.js.map +1 -0
- package/dist/esm/flip-tile-state-051bb2fd.js +2 -0
- package/dist/esm/flip-tile-state-051bb2fd.js.map +1 -0
- package/dist/esm/floating-ui.dom.esm-3130eda0.js +2 -0
- package/dist/esm/floating-ui.dom.esm-3130eda0.js.map +1 -0
- package/dist/esm/{index-6b660a23.js → index-3d163acd.js} +133 -4
- package/dist/esm/index-3d163acd.js.map +1 -0
- package/dist/esm/index.js +9 -8
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/ix-animated-tab_2.entry.js +3 -1
- package/dist/esm/ix-animated-tab_2.entry.js.map +1 -0
- package/dist/esm/ix-application-header.entry.js +3 -1
- package/dist/esm/ix-application-header.entry.js.map +1 -0
- package/dist/esm/ix-basic-navigation.entry.js +3 -1
- package/dist/esm/ix-basic-navigation.entry.js.map +1 -0
- package/dist/esm/ix-blind.entry.js +9 -4
- package/dist/esm/ix-blind.entry.js.map +1 -0
- package/dist/esm/ix-breadcrumb_2.entry.js +4 -2
- package/dist/esm/ix-breadcrumb_2.entry.js.map +1 -0
- package/dist/esm/ix-burger-menu.entry.js +3 -1
- package/dist/esm/ix-burger-menu.entry.js.map +1 -0
- package/dist/esm/ix-button.entry.js +3 -1
- package/dist/esm/ix-button.entry.js.map +1 -0
- package/dist/esm/ix-category-filter.entry.js +6 -4
- package/dist/esm/ix-category-filter.entry.js.map +1 -0
- package/dist/esm/ix-chip.entry.js +9 -2
- package/dist/esm/ix-chip.entry.js.map +1 -0
- package/dist/esm/ix-counter-pill.entry.js +3 -1
- package/dist/esm/ix-counter-pill.entry.js.map +1 -0
- package/dist/esm/ix-date-picker_2.entry.js +3 -1
- package/dist/esm/ix-date-picker_2.entry.js.map +1 -0
- package/dist/esm/ix-date-time-card.entry.js +3 -1
- package/dist/esm/ix-date-time-card.entry.js.map +1 -0
- package/dist/esm/ix-datetime-picker.entry.js +6 -4
- package/dist/esm/ix-datetime-picker.entry.js.map +1 -0
- package/dist/esm/ix-divider.entry.js +3 -1
- package/dist/esm/ix-divider.entry.js.map +1 -0
- package/dist/esm/ix-drawer.entry.js +3 -1
- package/dist/esm/ix-drawer.entry.js.map +1 -0
- package/dist/esm/ix-dropdown-button.entry.js +3 -1
- package/dist/esm/ix-dropdown-button.entry.js.map +1 -0
- package/dist/esm/ix-dropdown-quick-actions.entry.js +3 -1
- package/dist/esm/ix-dropdown-quick-actions.entry.js.map +1 -0
- package/dist/esm/ix-dropdown_2.entry.js +3 -1
- package/dist/esm/ix-dropdown_2.entry.js.map +1 -0
- package/dist/esm/ix-event-list_2.entry.js +3 -1
- package/dist/esm/ix-event-list_2.entry.js.map +1 -0
- package/dist/esm/ix-expanding-search.entry.js +14 -12
- package/dist/esm/ix-expanding-search.entry.js.map +1 -0
- package/dist/esm/ix-filter-chip.entry.js +5 -3
- package/dist/esm/ix-filter-chip.entry.js.map +1 -0
- package/dist/esm/ix-flip-tile_2.entry.js +14 -3
- package/dist/esm/ix-flip-tile_2.entry.js.map +1 -0
- package/dist/esm/ix-group-context-menu.entry.js +3 -1
- package/dist/esm/ix-group-context-menu.entry.js.map +1 -0
- package/dist/esm/ix-group_3.entry.js +4 -2
- package/dist/esm/ix-group_3.entry.js.map +1 -0
- package/dist/esm/ix-icon-button.entry.js +3 -1
- package/dist/esm/ix-icon-button.entry.js.map +1 -0
- package/dist/esm/ix-icon.entry.js +3 -1
- package/dist/esm/ix-icon.entry.js.map +1 -0
- package/dist/esm/ix-index-button.entry.js +24 -0
- package/dist/esm/ix-index-button.entry.js.map +1 -0
- package/dist/esm/ix-input-group.entry.js +4 -2
- package/dist/esm/ix-input-group.entry.js.map +1 -0
- package/dist/esm/ix-kpi.entry.js +3 -1
- package/dist/esm/ix-kpi.entry.js.map +1 -0
- package/dist/esm/ix-map-navigation_2.entry.js +3 -1
- package/dist/esm/ix-map-navigation_2.entry.js.map +1 -0
- package/dist/esm/ix-menu_9.entry.js +4 -2
- package/dist/esm/ix-menu_9.entry.js.map +1 -0
- package/dist/esm/ix-message-bar.entry.js +3 -1
- package/dist/esm/ix-message-bar.entry.js.map +1 -0
- package/dist/esm/ix-modal-example.entry.js +3 -1
- package/dist/esm/ix-modal-example.entry.js.map +1 -0
- package/dist/esm/ix-modal_2.entry.js +210 -5
- package/dist/esm/ix-modal_2.entry.js.map +1 -0
- package/dist/esm/ix-pagination.entry.js +111 -0
- package/dist/esm/ix-pagination.entry.js.map +1 -0
- package/dist/esm/ix-pill.entry.js +3 -1
- package/dist/esm/ix-pill.entry.js.map +1 -0
- package/dist/esm/ix-select_2.entry.js +3 -1
- package/dist/esm/ix-select_2.entry.js.map +1 -0
- package/dist/esm/ix-spinner.entry.js +3 -1
- package/dist/esm/ix-spinner.entry.js.map +1 -0
- package/dist/esm/ix-split-button_2.entry.js +3 -1
- package/dist/esm/ix-split-button_2.entry.js.map +1 -0
- package/dist/esm/ix-tab-item.entry.js +3 -1
- package/dist/esm/ix-tab-item.entry.js.map +1 -0
- package/dist/esm/ix-tabs.entry.js +3 -1
- package/dist/esm/ix-tabs.entry.js.map +1 -0
- package/dist/esm/ix-tile.entry.js +3 -1
- package/dist/esm/ix-tile.entry.js.map +1 -0
- package/dist/esm/ix-toast_2.entry.js +13 -2
- package/dist/esm/ix-toast_2.entry.js.map +1 -0
- package/dist/esm/ix-toggle.entry.js +3 -1
- package/dist/esm/ix-toggle.entry.js.map +1 -0
- package/dist/esm/ix-tooltip.entry.js +3 -1
- package/dist/esm/ix-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-tree_2.entry.js +7 -1
- package/dist/esm/ix-tree_2.entry.js.map +1 -0
- package/dist/esm/ix-typography.entry.js +3 -1
- package/dist/esm/ix-typography.entry.js.map +1 -0
- package/dist/esm/ix-upload.entry.js +4 -2
- package/dist/esm/ix-upload.entry.js.map +1 -0
- package/dist/esm/ix-validation-tooltip.entry.js +3 -1
- package/dist/esm/ix-validation-tooltip.entry.js.map +1 -0
- package/dist/esm/ix-workflow-step_2.entry.js +3 -1
- package/dist/esm/ix-workflow-step_2.entry.js.map +1 -0
- package/dist/esm/loader.js +6 -3
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/logical-filter-operator-92531263.js +35 -0
- package/dist/esm/logical-filter-operator-92531263.js.map +1 -0
- package/dist/esm/modal-utils-aecbcba5.js +2 -0
- package/dist/esm/modal-utils-aecbcba5.js.map +1 -0
- package/dist/esm/mutation-observer-7d01bbea.js +2 -0
- package/dist/esm/mutation-observer-7d01bbea.js.map +1 -0
- package/dist/esm/my-component.entry.js +3 -1
- package/dist/esm/my-component.entry.js.map +1 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/rwd.util-cfc2ea72.js +2 -0
- package/dist/esm/rwd.util-cfc2ea72.js.map +1 -0
- package/dist/esm/service-fc436c5b.js +2 -0
- package/dist/esm/service-fc436c5b.js.map +1 -0
- package/dist/esm/siemens-ix.js +9 -3
- package/dist/esm/siemens-ix.js.map +1 -0
- package/dist/esm/{theme-switcher-4b9e5cc2.js → theme-switcher-7498e4f2.js} +10 -8
- package/dist/esm/theme-switcher-7498e4f2.js.map +1 -0
- package/dist/esm/typed-event-a230184a.js +2 -0
- package/dist/esm/typed-event-a230184a.js.map +1 -0
- package/dist/esm/upload-file-state-532a36d3.js +2 -0
- package/dist/esm/upload-file-state-532a36d3.js.map +1 -0
- package/dist/siemens-ix/index.esm.js +2 -1
- package/dist/siemens-ix/index.esm.js.map +1 -0
- package/dist/siemens-ix/p-01f9f803.entry.js +2 -0
- package/dist/siemens-ix/p-01f9f803.entry.js.map +1 -0
- package/dist/siemens-ix/p-030078b4.entry.js +2 -0
- package/dist/siemens-ix/p-030078b4.entry.js.map +1 -0
- package/dist/siemens-ix/p-042b490c.entry.js +2 -0
- package/dist/siemens-ix/p-042b490c.entry.js.map +1 -0
- package/dist/siemens-ix/p-076c29d1.js +2 -1
- package/dist/siemens-ix/p-076c29d1.js.map +1 -0
- package/dist/siemens-ix/p-07fd8298.entry.js +2 -0
- package/dist/siemens-ix/p-07fd8298.entry.js.map +1 -0
- package/dist/siemens-ix/p-0e8a6997.entry.js +2 -0
- package/dist/siemens-ix/p-0e8a6997.entry.js.map +1 -0
- package/dist/siemens-ix/p-0f864265.entry.js +2 -0
- package/dist/siemens-ix/p-0f864265.entry.js.map +1 -0
- package/dist/siemens-ix/p-13adcf62.entry.js +2 -0
- package/dist/siemens-ix/p-13adcf62.entry.js.map +1 -0
- package/dist/siemens-ix/p-1572aab3.js +2 -1
- package/dist/siemens-ix/p-1572aab3.js.map +1 -0
- package/dist/siemens-ix/p-15bebd8a.js +2 -1
- package/dist/siemens-ix/p-15bebd8a.js.map +1 -0
- package/dist/siemens-ix/p-1666b0e2.entry.js +2 -0
- package/dist/siemens-ix/p-1666b0e2.entry.js.map +1 -0
- package/dist/siemens-ix/p-16ec6f50.entry.js +2 -0
- package/dist/siemens-ix/p-16ec6f50.entry.js.map +1 -0
- package/dist/siemens-ix/p-1701b127.entry.js +2 -0
- package/dist/siemens-ix/p-1701b127.entry.js.map +1 -0
- package/dist/siemens-ix/p-1a87eb66.entry.js +2 -0
- package/dist/siemens-ix/p-1a87eb66.entry.js.map +1 -0
- package/dist/siemens-ix/p-20bed29f.entry.js +2 -0
- package/dist/siemens-ix/p-20bed29f.entry.js.map +1 -0
- package/dist/siemens-ix/p-21aa3602.js +2 -1
- package/dist/siemens-ix/p-21aa3602.js.map +1 -0
- package/dist/siemens-ix/p-24d2d95e.entry.js +2 -0
- package/dist/siemens-ix/p-24d2d95e.entry.js.map +1 -0
- package/dist/siemens-ix/p-283686d7.entry.js +2 -0
- package/dist/siemens-ix/p-283686d7.entry.js.map +1 -0
- package/dist/siemens-ix/p-28f50519.entry.js +2 -0
- package/dist/siemens-ix/p-28f50519.entry.js.map +1 -0
- package/dist/siemens-ix/p-2dafa048.entry.js +2 -0
- package/dist/siemens-ix/p-2dafa048.entry.js.map +1 -0
- package/dist/siemens-ix/p-323d5529.js +2 -0
- package/dist/siemens-ix/p-323d5529.js.map +1 -0
- package/dist/siemens-ix/p-34e3a10e.entry.js +2 -0
- package/dist/siemens-ix/p-34e3a10e.entry.js.map +1 -0
- package/dist/siemens-ix/p-37417714.js +2 -1
- package/dist/siemens-ix/p-37417714.js.map +1 -0
- package/dist/siemens-ix/p-3776a37f.entry.js +2 -0
- package/dist/siemens-ix/p-3776a37f.entry.js.map +1 -0
- package/dist/siemens-ix/p-3b97bb69.js +2 -1
- package/dist/siemens-ix/p-3b97bb69.js.map +1 -0
- package/dist/siemens-ix/p-41f0a2b2.entry.js +2 -0
- package/dist/siemens-ix/p-41f0a2b2.entry.js.map +1 -0
- package/dist/siemens-ix/p-43965bd0.entry.js +2 -0
- package/dist/siemens-ix/p-43965bd0.entry.js.map +1 -0
- package/dist/siemens-ix/p-446a0a3f.entry.js +2 -0
- package/dist/siemens-ix/p-446a0a3f.entry.js.map +1 -0
- package/dist/siemens-ix/p-4ec66090.entry.js +2 -0
- package/dist/siemens-ix/p-4ec66090.entry.js.map +1 -0
- package/dist/siemens-ix/p-529d7530.js +2 -1
- package/dist/siemens-ix/p-529d7530.js.map +1 -0
- package/dist/siemens-ix/p-55d0fabf.entry.js +2 -0
- package/dist/siemens-ix/p-55d0fabf.entry.js.map +1 -0
- package/dist/siemens-ix/p-56ed024b.js +2 -1
- package/dist/siemens-ix/p-56ed024b.js.map +1 -0
- package/dist/siemens-ix/p-58ef1328.entry.js +2 -0
- package/dist/siemens-ix/p-58ef1328.entry.js.map +1 -0
- package/dist/siemens-ix/p-5b39e04e.js +2 -1
- package/dist/siemens-ix/p-5b39e04e.js.map +1 -0
- package/dist/siemens-ix/p-5d7e1440.entry.js +2 -0
- package/dist/siemens-ix/p-5d7e1440.entry.js.map +1 -0
- package/dist/siemens-ix/p-62b4d696.entry.js +2 -0
- package/dist/siemens-ix/p-62b4d696.entry.js.map +1 -0
- package/dist/siemens-ix/p-63666529.entry.js +2 -0
- package/dist/siemens-ix/p-63666529.entry.js.map +1 -0
- package/dist/siemens-ix/p-63e1264b.entry.js +2 -0
- package/dist/siemens-ix/p-63e1264b.entry.js.map +1 -0
- package/dist/siemens-ix/p-65b6330a.entry.js +2 -0
- package/dist/siemens-ix/p-65b6330a.entry.js.map +1 -0
- package/dist/siemens-ix/p-6bdfaf91.entry.js +2 -0
- package/dist/siemens-ix/p-6bdfaf91.entry.js.map +1 -0
- package/dist/siemens-ix/p-6f819085.js +2 -0
- package/dist/siemens-ix/p-6f819085.js.map +1 -0
- package/dist/siemens-ix/p-6facc3cc.entry.js +2 -0
- package/dist/siemens-ix/p-6facc3cc.entry.js.map +1 -0
- package/dist/siemens-ix/p-73f7ef87.entry.js +2 -0
- package/dist/siemens-ix/p-73f7ef87.entry.js.map +1 -0
- package/dist/siemens-ix/p-7d4a7388.entry.js +2 -0
- package/dist/siemens-ix/p-7d4a7388.entry.js.map +1 -0
- package/dist/siemens-ix/p-810b5232.js +2 -1
- package/dist/siemens-ix/p-810b5232.js.map +1 -0
- package/dist/siemens-ix/p-88a47c9b.entry.js +2 -0
- package/dist/siemens-ix/p-88a47c9b.entry.js.map +1 -0
- package/dist/siemens-ix/p-8fcd6f85.js +3 -0
- package/dist/siemens-ix/p-8fcd6f85.js.map +1 -0
- package/dist/siemens-ix/p-909ccf09.entry.js +2 -0
- package/dist/siemens-ix/p-909ccf09.entry.js.map +1 -0
- package/dist/siemens-ix/p-9546cbdd.entry.js +2 -0
- package/dist/siemens-ix/p-9546cbdd.entry.js.map +1 -0
- package/dist/siemens-ix/p-9ee41861.js +2 -1
- package/dist/siemens-ix/p-9ee41861.js.map +1 -0
- package/dist/siemens-ix/p-a30c7b5a.entry.js +2 -0
- package/dist/siemens-ix/p-a30c7b5a.entry.js.map +1 -0
- package/dist/siemens-ix/p-a4178e26.entry.js +2 -0
- package/dist/siemens-ix/p-a4178e26.entry.js.map +1 -0
- package/dist/siemens-ix/p-a4a16daa.entry.js +2 -0
- package/dist/siemens-ix/p-a4a16daa.entry.js.map +1 -0
- package/dist/siemens-ix/p-a92126b5.entry.js +2 -0
- package/dist/siemens-ix/p-a92126b5.entry.js.map +1 -0
- package/dist/siemens-ix/p-aa4141e4.entry.js +2 -0
- package/dist/siemens-ix/p-aa4141e4.entry.js.map +1 -0
- package/dist/siemens-ix/p-afd1f351.entry.js +2 -0
- package/dist/siemens-ix/p-afd1f351.entry.js.map +1 -0
- package/dist/siemens-ix/p-b14308ed.js +2 -1
- package/dist/siemens-ix/p-b14308ed.js.map +1 -0
- package/dist/siemens-ix/p-b64e82ce.entry.js +2 -0
- package/dist/siemens-ix/p-b64e82ce.entry.js.map +1 -0
- package/dist/siemens-ix/p-b9fbd029.entry.js +2 -0
- package/dist/siemens-ix/p-b9fbd029.entry.js.map +1 -0
- package/dist/siemens-ix/p-c0454c9a.js +2 -1
- package/dist/siemens-ix/p-c0454c9a.js.map +1 -0
- package/dist/siemens-ix/p-c19c2492.entry.js +2 -0
- package/dist/siemens-ix/p-c19c2492.entry.js.map +1 -0
- package/dist/siemens-ix/p-d7a3acce.entry.js +2 -0
- package/dist/siemens-ix/p-d7a3acce.entry.js.map +1 -0
- package/dist/siemens-ix/p-d7cf7a1a.entry.js +2 -0
- package/dist/siemens-ix/p-d7cf7a1a.entry.js.map +1 -0
- package/dist/siemens-ix/p-eb301ea2.entry.js +2 -0
- package/dist/siemens-ix/p-eb301ea2.entry.js.map +1 -0
- package/dist/siemens-ix/p-f34a16c6.js +2 -1
- package/dist/siemens-ix/p-f34a16c6.js.map +1 -0
- package/dist/siemens-ix/p-f6509805.entry.js +2 -0
- package/dist/siemens-ix/p-f6509805.entry.js.map +1 -0
- package/dist/siemens-ix/p-f6c54047.entry.js +2 -0
- package/dist/siemens-ix/p-f6c54047.entry.js.map +1 -0
- package/dist/siemens-ix/p-fef2f9e0.entry.js +2 -0
- package/dist/siemens-ix/p-fef2f9e0.entry.js.map +1 -0
- package/dist/siemens-ix/siemens-ix.css +79 -1092
- package/dist/siemens-ix/siemens-ix.esm.js +2 -1
- package/dist/siemens-ix/siemens-ix.esm.js.map +1 -0
- package/dist/types/components/blind/blind.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +2 -2
- package/dist/types/components/chip/chip.d.ts +8 -0
- package/dist/types/components/date-picker/date-picker.d.ts +6 -1
- package/dist/types/components/date-time-card/date-time-card.d.ts +4 -1
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +8 -3
- package/dist/types/components/dropdown/alignment.d.ts +1 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -1
- package/dist/types/components/dropdown-button/dropdown-button.d.ts +3 -2
- package/dist/types/components/flip-tile/flip-tile.d.ts +11 -0
- package/dist/types/components/icon-button/icon-button.d.ts +3 -2
- package/dist/types/components/index-button/index-button.d.ts +16 -0
- package/dist/types/components/modal/modal-utils.d.ts +1 -1
- package/dist/types/components/modal-container/modal-container.d.ts +1 -1
- package/dist/types/components/pagination/pagination.d.ts +55 -0
- package/dist/types/components/split-button/split-button.d.ts +3 -2
- package/dist/types/components/time-picker/time-picker.d.ts +2 -1
- package/dist/types/components/toast/toast-container.d.ts +3 -1
- package/dist/types/components/toast/toast-utils.d.ts +9 -6
- package/dist/types/components/tree/tree-model.d.ts +4 -4
- package/dist/types/components/tree/tree.d.ts +13 -0
- package/dist/types/components/tree-item/default-tree-item.d.ts +1 -1
- package/dist/types/components/typography/types.d.ts +1 -1
- package/dist/types/components/utils/notification-color.d.ts +1 -1
- package/dist/types/components/utils/screen/mode.d.ts +2 -2
- package/dist/types/components/utils/typed-event.d.ts +2 -2
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +1 -1
- package/dist/types/components.d.ts +273 -20
- package/dist/types/index.d.ts +10 -9
- package/dist/types/stencil-public-runtime.d.ts +71 -15
- package/loader/index.d.ts +9 -0
- package/package.json +19 -18
- package/scss/components/_forms.scss +1 -1
- package/dist/cjs/modal-a93045dd.js +0 -211
- package/dist/collection/components/button/button-variants.js +0 -1
- package/dist/collection/components/date-picker/events.js +0 -1
- package/dist/collection/components/datetime-picker/event.js +0 -1
- package/dist/collection/components/dropdown/dropdown-trigger-event.js +0 -1
- package/dist/collection/env.js +0 -9
- package/dist/collection/exports.js +0 -17
- package/dist/esm/modal-64e18970.js +0 -208
- package/dist/siemens-ix/p-06d5ab35.entry.js +0 -1
- package/dist/siemens-ix/p-098e22c3.entry.js +0 -1
- package/dist/siemens-ix/p-0bc4408b.entry.js +0 -1
- package/dist/siemens-ix/p-0d619f3e.entry.js +0 -1
- package/dist/siemens-ix/p-0dfe994b.entry.js +0 -1
- package/dist/siemens-ix/p-122c7f57.entry.js +0 -1
- package/dist/siemens-ix/p-122cf38d.entry.js +0 -1
- package/dist/siemens-ix/p-165c6a82.entry.js +0 -1
- package/dist/siemens-ix/p-1d48ce36.entry.js +0 -1
- package/dist/siemens-ix/p-20c88582.entry.js +0 -1
- package/dist/siemens-ix/p-22e84c7c.entry.js +0 -1
- package/dist/siemens-ix/p-2b33ead4.js +0 -1
- package/dist/siemens-ix/p-346c6c2f.entry.js +0 -1
- package/dist/siemens-ix/p-3624a41c.entry.js +0 -1
- package/dist/siemens-ix/p-3cc4df65.entry.js +0 -1
- package/dist/siemens-ix/p-4b2265fd.entry.js +0 -1
- package/dist/siemens-ix/p-4da15801.entry.js +0 -1
- package/dist/siemens-ix/p-560cfce8.entry.js +0 -1
- package/dist/siemens-ix/p-5890faf9.entry.js +0 -1
- package/dist/siemens-ix/p-5b47360e.entry.js +0 -1
- package/dist/siemens-ix/p-5ca7b937.entry.js +0 -1
- package/dist/siemens-ix/p-5feec7a4.entry.js +0 -1
- package/dist/siemens-ix/p-622fb593.entry.js +0 -1
- package/dist/siemens-ix/p-63776469.entry.js +0 -1
- package/dist/siemens-ix/p-66074788.js +0 -2
- package/dist/siemens-ix/p-67cf5cd4.entry.js +0 -1
- package/dist/siemens-ix/p-68ec0b51.entry.js +0 -1
- package/dist/siemens-ix/p-6b463b40.entry.js +0 -1
- package/dist/siemens-ix/p-6be65050.entry.js +0 -1
- package/dist/siemens-ix/p-71c91a11.entry.js +0 -1
- package/dist/siemens-ix/p-72cc8632.entry.js +0 -1
- package/dist/siemens-ix/p-75abd144.js +0 -1
- package/dist/siemens-ix/p-80fe33d1.entry.js +0 -1
- package/dist/siemens-ix/p-8778ba75.entry.js +0 -1
- package/dist/siemens-ix/p-94b440bc.entry.js +0 -1
- package/dist/siemens-ix/p-9c8c835c.entry.js +0 -1
- package/dist/siemens-ix/p-9eb8347c.entry.js +0 -1
- package/dist/siemens-ix/p-9fa6a59b.entry.js +0 -1
- package/dist/siemens-ix/p-ac1d6617.entry.js +0 -1
- package/dist/siemens-ix/p-ae35c07f.entry.js +0 -1
- package/dist/siemens-ix/p-affb60fb.js +0 -1
- package/dist/siemens-ix/p-b0573cc6.entry.js +0 -1
- package/dist/siemens-ix/p-b85458fb.entry.js +0 -1
- package/dist/siemens-ix/p-c2b50878.entry.js +0 -1
- package/dist/siemens-ix/p-c4568016.entry.js +0 -1
- package/dist/siemens-ix/p-c92ee533.entry.js +0 -1
- package/dist/siemens-ix/p-d1a16c62.entry.js +0 -1
- package/dist/siemens-ix/p-d1a8d791.entry.js +0 -1
- package/dist/siemens-ix/p-d7618223.entry.js +0 -1
- package/dist/siemens-ix/p-e5fd4b34.entry.js +0 -1
- package/dist/siemens-ix/p-f3cde62f.entry.js +0 -1
- package/dist/siemens-ix/p-fa262af7.entry.js +0 -1
- package/dist/siemens-ix/p-feefa8c7.entry.js +0 -1
- package/dist/types/components/button/button-variants.d.ts +0 -1
- package/dist/types/components/date-picker/events.d.ts +0 -5
- package/dist/types/components/datetime-picker/event.d.ts +0 -5
- package/dist/types/components/dropdown/dropdown-trigger-event.d.ts +0 -4
- package/dist/types/env.d.ts +0 -1
- package/dist/types/exports.d.ts +0 -9
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$9 } from './dropdown.js';
|
|
3
|
+
import { d as defineCustomElement$8 } from './dropdown-item.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './filter-chip.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './icon.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './icon-button.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './index-button.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './select.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './select-item.js';
|
|
10
|
+
|
|
11
|
+
const paginationCss = ".sc-ix-pagination-h,.sc-ix-pagination-h .advanced-pagination.sc-ix-pagination,.sc-ix-pagination-h .item-count.sc-ix-pagination{display:inline-flex;align-items:center}.sc-ix-pagination-h .basic-pagination.sc-ix-pagination{padding:0 0.125rem}.sc-ix-pagination-h .advanced-pagination.sc-ix-pagination{padding:0 0.75rem}.sc-ix-pagination-h input.sc-ix-pagination{width:4.125rem;text-align:center;margin:0 0.5rem}.sc-ix-pagination-h .page-buttons.sc-ix-pagination{white-space:nowrap}.sc-ix-pagination-h .total-count.sc-ix-pagination{white-space:nowrap}.sc-ix-pagination-h .item-count.sc-ix-pagination{flex-grow:1;justify-content:flex-end;-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}.sc-ix-pagination-h .item-count.sc-ix-pagination ix-select.sc-ix-pagination{width:4.125rem;-webkit-margin-start:1.5rem;margin-inline-start:1.5rem}.sc-ix-pagination-h ix-index-button.sc-ix-pagination+ix-index-button.sc-ix-pagination{-webkit-margin-start:0.125rem;margin-inline-start:0.125rem}";
|
|
12
|
+
|
|
13
|
+
const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.__registerHost();
|
|
17
|
+
this.pageSelected = createEvent(this, "pageSelected", 7);
|
|
18
|
+
this.itemCountChanged = createEvent(this, "itemCountChanged", 7);
|
|
19
|
+
this.maxCountPages = 7;
|
|
20
|
+
this.advanced = undefined;
|
|
21
|
+
this.itemCount = 15;
|
|
22
|
+
this.showItemCount = true;
|
|
23
|
+
this.count = undefined;
|
|
24
|
+
this.selectedPage = 0;
|
|
25
|
+
this.i18nPage = 'Page';
|
|
26
|
+
this.i18nOf = 'of';
|
|
27
|
+
this.i18nItems = 'Items';
|
|
28
|
+
}
|
|
29
|
+
selectPage(index) {
|
|
30
|
+
if (index < 0 || index >= this.count) {
|
|
31
|
+
console.warn(`ix-pagination - invalid index ${index}`);
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
this.selectedPage = index;
|
|
35
|
+
this.pageSelected.emit(index);
|
|
36
|
+
}
|
|
37
|
+
increase() {
|
|
38
|
+
if (this.selectedPage === this.count - 1) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
this.selectPage(this.selectedPage + 1);
|
|
42
|
+
}
|
|
43
|
+
decrease() {
|
|
44
|
+
if (this.selectedPage === 0) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
this.selectPage(this.selectedPage - 1);
|
|
48
|
+
}
|
|
49
|
+
getPageButton(index) {
|
|
50
|
+
return (h("ix-index-button", { variant: "Primary", onClick: () => {
|
|
51
|
+
this.selectPage(index);
|
|
52
|
+
}, selected: this.selectedPage === index }, index + 1));
|
|
53
|
+
}
|
|
54
|
+
renderPageButtons() {
|
|
55
|
+
const pagesBeforeOverflow = Math.floor(this.maxCountPages / 2);
|
|
56
|
+
const hasOverflow = this.count > this.maxCountPages;
|
|
57
|
+
const hasOverflowStart = hasOverflow && this.selectedPage > pagesBeforeOverflow;
|
|
58
|
+
const hasOverflowEnd = hasOverflow && this.selectedPage < this.count - pagesBeforeOverflow - 1;
|
|
59
|
+
const pageButtons = [];
|
|
60
|
+
let start = 0;
|
|
61
|
+
let end = Math.min(this.count, this.maxCountPages);
|
|
62
|
+
let pageCount = Math.floor((this.maxCountPages - 4) / 2);
|
|
63
|
+
if (hasOverflowStart) {
|
|
64
|
+
pageButtons.push(this.getPageButton(0));
|
|
65
|
+
pageButtons.push(h("ix-index-button", { variant: "Secondary", onClick: () => {
|
|
66
|
+
if (hasOverflowEnd) {
|
|
67
|
+
this.selectPage(this.selectedPage - Math.max(0, 2 * pageCount + 1));
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
this.selectPage(this.count - this.maxCountPages);
|
|
71
|
+
}
|
|
72
|
+
} }, "..."));
|
|
73
|
+
if (hasOverflowEnd) {
|
|
74
|
+
start = this.count - this.maxCountPages + 2;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
start = this.count - this.maxCountPages + 2;
|
|
78
|
+
end = this.count;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
if (hasOverflowEnd) {
|
|
82
|
+
if (hasOverflowStart) {
|
|
83
|
+
start = this.selectedPage - pageCount;
|
|
84
|
+
end = this.selectedPage + pageCount + 1;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
end = this.maxCountPages - 2;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
for (let i = start; i < end; i++) {
|
|
91
|
+
pageButtons.push(this.getPageButton(i));
|
|
92
|
+
}
|
|
93
|
+
if (hasOverflowEnd) {
|
|
94
|
+
pageButtons.push(h("ix-index-button", { variant: "Secondary", onClick: () => {
|
|
95
|
+
if (hasOverflowStart) {
|
|
96
|
+
this.selectPage(this.selectedPage + Math.max(0, 2 * pageCount + 1));
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
this.selectPage(this.maxCountPages - 1);
|
|
100
|
+
}
|
|
101
|
+
} }, "..."));
|
|
102
|
+
pageButtons.push(this.getPageButton(this.count - 1));
|
|
103
|
+
}
|
|
104
|
+
return h("span", { class: "page-buttons" }, pageButtons);
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
return (h(Host, null, h("ix-icon-button", { disabled: this.selectedPage === 0, ghost: true, icon: "chevron-left-small", onClick: () => this.decrease() }), this.advanced ? (h("div", { class: "advanced-pagination" }, this.i18nPage, h("input", { class: "form-control", type: "number", value: this.selectedPage, onChange: (e) => {
|
|
108
|
+
const index = Number.parseInt(e.target['value']);
|
|
109
|
+
this.selectPage(index);
|
|
110
|
+
} }), h("span", { class: "total-count" }, this.i18nOf, " ", this.count))) : (h("span", { class: "basic-pagination" }, this.renderPageButtons(), " ")), h("ix-icon-button", { disabled: this.selectedPage === this.count - 1, ghost: true, icon: "chevron-right-small", onClick: () => this.increase() }), this.advanced && this.showItemCount ? (h("span", { class: "item-count" }, this.i18nItems, h("ix-select", { i18nPlaceholder: "", i18nSelectListHeader: "", "selected-indices": this.itemCount, onItemSelectionChange: (e) => {
|
|
111
|
+
const count = Number.parseInt(e.detail[0]);
|
|
112
|
+
this.itemCountChanged.emit(count);
|
|
113
|
+
} }, h("ix-select-item", { label: "10", value: "10" }), h("ix-select-item", { label: "15", value: "15" }), h("ix-select-item", { label: "20", value: "20" }), h("ix-select-item", { label: "40", value: "40" }), h("ix-select-item", { label: "100", value: "100" })))) : ('')));
|
|
114
|
+
}
|
|
115
|
+
static get style() { return paginationCss; }
|
|
116
|
+
}, [2, "ix-pagination", {
|
|
117
|
+
"advanced": [4],
|
|
118
|
+
"itemCount": [2, "item-count"],
|
|
119
|
+
"showItemCount": [4, "show-item-count"],
|
|
120
|
+
"count": [2],
|
|
121
|
+
"selectedPage": [1026, "selected-page"],
|
|
122
|
+
"i18nPage": [1, "i-1-8n-page"],
|
|
123
|
+
"i18nOf": [1, "i-1-8n-of"],
|
|
124
|
+
"i18nItems": [1, "i-1-8n-items"]
|
|
125
|
+
}]);
|
|
126
|
+
function defineCustomElement$1() {
|
|
127
|
+
if (typeof customElements === "undefined") {
|
|
128
|
+
return;
|
|
129
|
+
}
|
|
130
|
+
const components = ["ix-pagination", "ix-dropdown", "ix-dropdown-item", "ix-filter-chip", "ix-icon", "ix-icon-button", "ix-index-button", "ix-select", "ix-select-item"];
|
|
131
|
+
components.forEach(tagName => { switch (tagName) {
|
|
132
|
+
case "ix-pagination":
|
|
133
|
+
if (!customElements.get(tagName)) {
|
|
134
|
+
customElements.define(tagName, Pagination);
|
|
135
|
+
}
|
|
136
|
+
break;
|
|
137
|
+
case "ix-dropdown":
|
|
138
|
+
if (!customElements.get(tagName)) {
|
|
139
|
+
defineCustomElement$9();
|
|
140
|
+
}
|
|
141
|
+
break;
|
|
142
|
+
case "ix-dropdown-item":
|
|
143
|
+
if (!customElements.get(tagName)) {
|
|
144
|
+
defineCustomElement$8();
|
|
145
|
+
}
|
|
146
|
+
break;
|
|
147
|
+
case "ix-filter-chip":
|
|
148
|
+
if (!customElements.get(tagName)) {
|
|
149
|
+
defineCustomElement$7();
|
|
150
|
+
}
|
|
151
|
+
break;
|
|
152
|
+
case "ix-icon":
|
|
153
|
+
if (!customElements.get(tagName)) {
|
|
154
|
+
defineCustomElement$6();
|
|
155
|
+
}
|
|
156
|
+
break;
|
|
157
|
+
case "ix-icon-button":
|
|
158
|
+
if (!customElements.get(tagName)) {
|
|
159
|
+
defineCustomElement$5();
|
|
160
|
+
}
|
|
161
|
+
break;
|
|
162
|
+
case "ix-index-button":
|
|
163
|
+
if (!customElements.get(tagName)) {
|
|
164
|
+
defineCustomElement$4();
|
|
165
|
+
}
|
|
166
|
+
break;
|
|
167
|
+
case "ix-select":
|
|
168
|
+
if (!customElements.get(tagName)) {
|
|
169
|
+
defineCustomElement$3();
|
|
170
|
+
}
|
|
171
|
+
break;
|
|
172
|
+
case "ix-select-item":
|
|
173
|
+
if (!customElements.get(tagName)) {
|
|
174
|
+
defineCustomElement$2();
|
|
175
|
+
}
|
|
176
|
+
break;
|
|
177
|
+
} });
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
const IxPagination = Pagination;
|
|
181
|
+
const defineCustomElement = defineCustomElement$1;
|
|
182
|
+
|
|
183
|
+
export { IxPagination, defineCustomElement };
|
|
184
|
+
|
|
185
|
+
//# sourceMappingURL=ix-pagination.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-pagination.js","mappings":"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","names":[],"sources":["./src/components/pagination/pagination.scss?tag=ix-pagination&encapsulation=scoped","./src/components/pagination/pagination.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2022 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import 'common-variables';\n\n:host {\n &,\n .advanced-pagination,\n .item-count {\n display: inline-flex;\n align-items: center;\n }\n\n .basic-pagination {\n padding: 0 0.125rem;\n }\n\n .advanced-pagination {\n padding: 0 $medium-space;\n }\n\n input {\n width: 4.125rem;\n text-align: center;\n margin: 0 $small-space;\n }\n\n .page-buttons {\n white-space: nowrap;\n }\n\n .total-count {\n white-space: nowrap;\n }\n\n .item-count {\n flex-grow: 1;\n justify-content: flex-end;\n margin-inline-start: $large-space;\n\n ix-select {\n width: 4.125rem;\n margin-inline-start: $large-space;\n }\n }\n\n ix-index-button + ix-index-button {\n margin-inline-start: 0.125rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2022 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n/**\n * @since 1.5.0\n */\n@Component({\n tag: 'ix-pagination',\n styleUrl: 'pagination.scss',\n scoped: true,\n})\nexport class Pagination {\n private readonly maxCountPages = 7;\n\n /**\n * Advanced mode\n */\n @Prop() advanced: boolean;\n\n /**\n * Number of items shown at once.\n * Can only be changed in advaced mode.\n */\n @Prop() itemCount = 15;\n\n /**\n * Show item count in advanced mode\n */\n @Prop() showItemCount = true;\n\n /**\n * Total number of pages\n */\n @Prop() count: number;\n\n /**\n * Zero based index of currently selected page\n */\n @Prop({ mutable: true }) selectedPage = 0;\n\n /**\n * i18n\n */\n @Prop() i18nPage = 'Page';\n\n /**\n * i18n\n */\n @Prop() i18nOf = 'of';\n\n /**\n /**\n * i18n\n */\n @Prop() i18nItems = 'Items';\n\n /**\n * Page selection event\n */\n @Event() pageSelected: EventEmitter<number>;\n\n /**\n * Item count change event\n */\n @Event() itemCountChanged: EventEmitter<number>;\n\n private selectPage(index: number) {\n if (index < 0 || index >= this.count) {\n console.warn(`ix-pagination - invalid index ${index}`);\n return;\n }\n\n this.selectedPage = index;\n this.pageSelected.emit(index);\n }\n\n private increase() {\n if (this.selectedPage === this.count - 1) {\n return;\n }\n\n this.selectPage(this.selectedPage + 1);\n }\n\n private decrease() {\n if (this.selectedPage === 0) {\n return;\n }\n\n this.selectPage(this.selectedPage - 1);\n }\n\n private getPageButton(index: number) {\n return (\n <ix-index-button\n variant=\"Primary\"\n onClick={() => {\n this.selectPage(index);\n }}\n selected={this.selectedPage === index}\n >\n {index + 1}\n </ix-index-button>\n );\n }\n\n private renderPageButtons() {\n const pagesBeforeOverflow = Math.floor(this.maxCountPages / 2);\n const hasOverflow = this.count > this.maxCountPages;\n const hasOverflowStart =\n hasOverflow && this.selectedPage > pagesBeforeOverflow;\n const hasOverflowEnd =\n hasOverflow && this.selectedPage < this.count - pagesBeforeOverflow - 1;\n const pageButtons = [];\n\n let start = 0;\n let end = Math.min(this.count, this.maxCountPages);\n let pageCount = Math.floor((this.maxCountPages - 4) / 2);\n\n if (hasOverflowStart) {\n pageButtons.push(this.getPageButton(0));\n pageButtons.push(\n <ix-index-button\n variant=\"Secondary\"\n onClick={() => {\n if (hasOverflowEnd) {\n this.selectPage(\n this.selectedPage - Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.count - this.maxCountPages);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n\n if (hasOverflowEnd) {\n start = this.count - this.maxCountPages + 2;\n } else {\n start = this.count - this.maxCountPages + 2;\n end = this.count;\n }\n }\n\n if (hasOverflowEnd) {\n if (hasOverflowStart) {\n start = this.selectedPage - pageCount;\n end = this.selectedPage + pageCount + 1;\n } else {\n end = this.maxCountPages - 2;\n }\n }\n\n for (let i = start; i < end; i++) {\n pageButtons.push(this.getPageButton(i));\n }\n\n if (hasOverflowEnd) {\n pageButtons.push(\n <ix-index-button\n variant=\"Secondary\"\n onClick={() => {\n if (hasOverflowStart) {\n this.selectPage(\n this.selectedPage + Math.max(0, 2 * pageCount + 1)\n );\n } else {\n this.selectPage(this.maxCountPages - 1);\n }\n }}\n >\n ...\n </ix-index-button>\n );\n pageButtons.push(this.getPageButton(this.count - 1));\n }\n\n return <span class=\"page-buttons\">{pageButtons}</span>;\n }\n\n render() {\n return (\n <Host>\n <ix-icon-button\n disabled={this.selectedPage === 0}\n ghost\n icon=\"chevron-left-small\"\n onClick={() => this.decrease()}\n ></ix-icon-button>\n\n {this.advanced ? (\n <div class=\"advanced-pagination\">\n {this.i18nPage}\n <input\n class=\"form-control\"\n type=\"number\"\n value={this.selectedPage}\n onChange={(e) => {\n const index = Number.parseInt(e.target['value']);\n this.selectPage(index);\n }}\n />\n <span class=\"total-count\">\n {this.i18nOf} {this.count}\n </span>\n </div>\n ) : (\n <span class=\"basic-pagination\">{this.renderPageButtons()} </span>\n )}\n\n <ix-icon-button\n disabled={this.selectedPage === this.count - 1}\n ghost\n icon=\"chevron-right-small\"\n onClick={() => this.increase()}\n ></ix-icon-button>\n\n {this.advanced && this.showItemCount ? (\n <span class=\"item-count\">\n {this.i18nItems}\n <ix-select\n i18nPlaceholder=\"\"\n i18nSelectListHeader=\"\"\n selected-indices={this.itemCount}\n onItemSelectionChange={(e) => {\n const count = Number.parseInt(e.detail[0]);\n this.itemCountChanged.emit(count);\n }}\n >\n <ix-select-item label=\"10\" value=\"10\"></ix-select-item>\n <ix-select-item label=\"15\" value=\"15\"></ix-select-item>\n <ix-select-item label=\"20\" value=\"20\"></ix-select-item>\n <ix-select-item label=\"40\" value=\"40\"></ix-select-item>\n <ix-select-item label=\"100\" value=\"100\"></ix-select-item>\n </ix-select>\n </span>\n ) : (\n ''\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-pill.js","mappings":";;;AAAA,MAAM,OAAO,GAAG,qiPAAqiP;;MCgBxiP,IAAI;;;;mBAcA,SAAS;mBAKN,KAAK;;;;qBAoBH,KAAK;;EAEzB,MAAM;IACJ,QACE,EAAC,IAAI,IACH,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,YAAY,EAAE,IAAI,CAAC,SAAS;OAC7B,EACD,KAAK,EACH,IAAI,CAAC,OAAO,KAAK,QAAQ;UACrB;UACE,KAAK,EAAE,IAAI,CAAC,KAAK;UACjB,eAAe,EAAE,IAAI,CAAC,UAAU;SACjC;UACD,EAAE,EAER,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,WAAW,IAE1B,eACE,KAAK,EAAE;QACL,WAAW,EAAE,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI,KAAK,SAAS,IAAI,IAAI,CAAC,IAAI,KAAK,EAAE;OACpD,EACD,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,IAAI,EAAE,IAAI,GACV,EACF,WAAK,KAAK,EAAC,MAAM,IACf,eAAa,CACT,CACD,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/pill/pill.scss?tag=ix-pill&encapsulation=scoped","./src/components/pill/pill.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n@import './../chip/chip-mixin';\n@import 'common-variables';\n@import 'mixins/text-truncation';\n\n$border-radius: 100px;\n$chip-height: 1.25rem;\n\n:host {\n display: inline-flex;\n width: fit-content;\n position: relative;\n align-items: center;\n justify-content: center;\n\n border-radius: $border-radius;\n padding: 0px 6px;\n margin-left: 0.25rem;\n min-width: $large-space;\n height: $chip-height;\n min-height: $chip-height;\n max-height: $chip-height;\n cursor: auto;\n\n .with-icon {\n margin-right: $tiny-space;\n }\n\n &.align-left {\n justify-content: flex-start;\n }\n\n @include chip($interaction: false);\n\n .slot {\n @include ellipsis;\n }\n\n .hidden {\n width: 0px;\n margin-right: 0px;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-pill',\n styleUrl: 'pill.scss',\n scoped: true,\n})\nexport class Pill {\n @Element() el: HTMLIxPillElement;\n\n /**\n * Pill variant\n */\n @Prop({ reflect: true }) variant:\n | 'primary'\n | 'alarm'\n | 'critical'\n | 'warning'\n | 'info'\n | 'neutral'\n | 'success'\n | 'custom' = 'primary';\n\n /**\n * Show pill as outline\n */\n @Prop() outline = false;\n\n /**\n * Show icon\n */\n @Prop() icon: string | undefined;\n\n /**\n * Custom color for pill. Only working for `variant='custom'`\n */\n @Prop() background: string | undefined;\n\n /**\n * Custom font color for pill. Only working for `variant='custom'`\n */\n @Prop() color: string | undefined;\n\n /**\n * Align pill content left\n */\n @Prop() alignLeft = false;\n\n render() {\n return (\n <Host\n class={{\n outline: this.outline,\n 'align-left': this.alignLeft,\n }}\n style={\n this.variant === 'custom'\n ? {\n color: this.color,\n backgroundColor: this.background,\n }\n : {}\n }\n title={this.el.textContent}\n >\n <ix-icon\n class={{\n 'with-icon': true,\n hidden: this.icon === undefined || this.icon === '',\n }}\n name={this.icon}\n size={'16'}\n />\n <div class=\"slot\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-select-item.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,346 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defineCustomElement$7 } from './dropdown.js';
|
|
3
|
-
import { d as defineCustomElement$6 } from './dropdown-item.js';
|
|
4
|
-
import { d as defineCustomElement$5 } from './filter-chip.js';
|
|
5
|
-
import { d as defineCustomElement$4 } from './icon.js';
|
|
6
|
-
import { d as defineCustomElement$3 } from './icon-button.js';
|
|
7
|
-
import { d as defineCustomElement$2 } from './select-item.js';
|
|
8
|
-
|
|
9
|
-
const selectCss = ".sc-ix-select-h{display:inline-block;position:relative;height:auto;width:100%}.sc-ix-select-h .select.sc-ix-select{position:relative;display:flex;align-items:center;height:auto;background-color:var(--theme-input--background);border:var(--theme-input--border-thickness) solid var(--theme-input--border-color);border-radius:var(--theme-input--border-radius);padding:0 0 0 0.5rem}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .select.sc-ix-select:not(.disabled):not(:disabled):hover{background-color:var(--theme-input--background--hover);border-color:var(--theme-input--border-color--hover)}.sc-ix-select-h .select.sc-ix-select:focus-within{background-color:var(--theme-input--background--focus);border-color:var(--theme-input--border-color--focus);outline:1px solid #119fff !important;outline-offset:var(--theme-input--focus--outline-offset)}.sc-ix-select-h .trigger.sc-ix-select{display:flex;align-items:center;flex-grow:1;height:100%}.sc-ix-select-h .input-container.sc-ix-select{display:flex;position:relative;align-items:flex-start;width:100%}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select{position:relative;display:flex;align-items:center;flex-wrap:wrap;height:100%;max-height:3.5rem;flex-grow:1;overflow-y:auto}.sc-ix-select-h .input-container.sc-ix-select .chips.sc-ix-select>ix-filter-chip.sc-ix-select{margin:0 0.1rem}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.875rem;font-weight:400;line-height:1.429em;color:var(--theme-color-std-text);background:transparent;height:1.75rem;width:100%}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:hover,.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select:focus-visible{border:none;outline:none}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::-moz-placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.sc-ix-select::placeholder{color:var(--theme-input-select-icon--color)}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::-moz-placeholder{opacity:0}.sc-ix-select-h .input-container.sc-ix-select input.hide-placeholder.sc-ix-select::placeholder{opacity:0}.sc-ix-select-h .chevron-down-container.sc-ix-select{display:flex;align-items:center;justify-content:center;width:2rem;min-width:2rem;height:100%}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):hover{background-color:var(--theme-btn-invisible-secondary--background--hover)}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-select-h .editable.sc-ix-select .chevron-down-container.sc-ix-select:not(.disabled):not(:disabled):active{background-color:var(--theme-btn-invisible-secondary--background--active)}.sc-ix-select-h .add-item.sc-ix-select{display:flex;justify-content:flex-start;align-items:center;position:relative;width:100%}.sc-ix-select-h .select-list-header.sc-ix-select{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;height:2rem;color:var(--theme-select-list-item-hint--color);margin:0 0.5rem 0 2rem}";
|
|
10
|
-
|
|
11
|
-
const Select = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super();
|
|
14
|
-
this.__registerHost();
|
|
15
|
-
this.itemSelectionChange = createEvent(this, "itemSelectionChange", 7);
|
|
16
|
-
this.addItem = createEvent(this, "addItem", 7);
|
|
17
|
-
this.selectedIndices = [];
|
|
18
|
-
this.allowClear = false;
|
|
19
|
-
this.mode = 'single';
|
|
20
|
-
this.editable = false;
|
|
21
|
-
this.disabled = false;
|
|
22
|
-
this.readonly = false;
|
|
23
|
-
this.i18nPlaceholder = 'Select an option';
|
|
24
|
-
this.i18nPlaceholderEditable = 'Type of select option';
|
|
25
|
-
this.i18nSelectListHeader = 'Please select an option';
|
|
26
|
-
this.dropdownShow = false;
|
|
27
|
-
this.value = undefined;
|
|
28
|
-
this.dropdownWrapperRef = undefined;
|
|
29
|
-
this.dropdownAnchor = undefined;
|
|
30
|
-
this.isDropdownEmpty = false;
|
|
31
|
-
this.hasFocus = false;
|
|
32
|
-
this.navigationItem = undefined;
|
|
33
|
-
this.inputFilterText = undefined;
|
|
34
|
-
this.inputValue = undefined;
|
|
35
|
-
}
|
|
36
|
-
get items() {
|
|
37
|
-
return Array.from(this.hostElement.querySelectorAll('ix-select-item'));
|
|
38
|
-
}
|
|
39
|
-
get selectedItems() {
|
|
40
|
-
return this.items.filter((item) => item.selected);
|
|
41
|
-
}
|
|
42
|
-
get addItemButton() {
|
|
43
|
-
return this.hostElement.querySelector('.add-item');
|
|
44
|
-
}
|
|
45
|
-
get isSingleMode() {
|
|
46
|
-
return this.mode === 'single';
|
|
47
|
-
}
|
|
48
|
-
get isMultipleMode() {
|
|
49
|
-
return this.mode === 'multiple';
|
|
50
|
-
}
|
|
51
|
-
watchSelectedIndices(newId) {
|
|
52
|
-
if (!newId) {
|
|
53
|
-
this.selectValue([]);
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
if (Array.isArray(newId)) {
|
|
57
|
-
this.selectValue([...newId]);
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
|
-
this.selectValue([newId]);
|
|
61
|
-
}
|
|
62
|
-
onItemClicked(event) {
|
|
63
|
-
const newId = event.detail;
|
|
64
|
-
this.emitItemClick(newId);
|
|
65
|
-
}
|
|
66
|
-
watchInputText(newValue) {
|
|
67
|
-
if (!this.editable) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (this.itemExists(newValue)) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
emitItemClick(newId) {
|
|
75
|
-
if (this.isMultipleMode && Array.isArray(this.selectedIndices)) {
|
|
76
|
-
if (this.selectedIndices.includes(newId)) {
|
|
77
|
-
this.selectedIndices = this.selectedIndices.filter((i) => i !== newId);
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
this.selectedIndices = [...this.selectedIndices, newId];
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
this.selectedIndices = [newId];
|
|
85
|
-
}
|
|
86
|
-
this.selectValue(this.selectedIndices);
|
|
87
|
-
this.itemSelectionChange.emit(this.selectedIndices);
|
|
88
|
-
}
|
|
89
|
-
emitAddItem(value) {
|
|
90
|
-
if (value.trim() === '') {
|
|
91
|
-
return;
|
|
92
|
-
}
|
|
93
|
-
const test = document.createElement('ix-select-item');
|
|
94
|
-
test.value = value;
|
|
95
|
-
test.label = value;
|
|
96
|
-
this.addItemRef.appendChild(test);
|
|
97
|
-
this.clearInput();
|
|
98
|
-
this.emitItemClick(value);
|
|
99
|
-
this.addItem.emit(value);
|
|
100
|
-
}
|
|
101
|
-
selectValue(ids) {
|
|
102
|
-
var _a;
|
|
103
|
-
this.items.forEach((item) => {
|
|
104
|
-
item.selected = ids.some((i) => i === item.value);
|
|
105
|
-
});
|
|
106
|
-
this.value = this.selectedItems.map((item) => item.label);
|
|
107
|
-
if (this.isSingleMode) {
|
|
108
|
-
this.inputValue = ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) ? this.value[0] : null;
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
this.inputValue = null;
|
|
112
|
-
}
|
|
113
|
-
componentWillLoad() {
|
|
114
|
-
if (this.selectedIndices) {
|
|
115
|
-
this.selectValue(Array.isArray(this.selectedIndices)
|
|
116
|
-
? this.selectedIndices
|
|
117
|
-
: [this.selectedIndices]);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
onLabelChange(event) {
|
|
121
|
-
event.preventDefault();
|
|
122
|
-
event.stopImmediatePropagation();
|
|
123
|
-
this.selectValue(Array.isArray(this.selectedIndices)
|
|
124
|
-
? this.selectedIndices
|
|
125
|
-
: [this.selectedIndices]);
|
|
126
|
-
}
|
|
127
|
-
disconnectedCallback() {
|
|
128
|
-
if (this.labelMutationObserver) {
|
|
129
|
-
this.labelMutationObserver.disconnect();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
itemExists(item) {
|
|
133
|
-
return this.items.find((i) => i.label === item);
|
|
134
|
-
}
|
|
135
|
-
dropdownVisibilityChanged(event) {
|
|
136
|
-
this.dropdownShow = event.detail;
|
|
137
|
-
if (event.detail) {
|
|
138
|
-
this.inputRef.focus();
|
|
139
|
-
this.inputRef.select();
|
|
140
|
-
this.navigationItem = this.items[0];
|
|
141
|
-
this.setHoverEffectForNavigatedSelectItem();
|
|
142
|
-
this.removeHiddenFromItems();
|
|
143
|
-
}
|
|
144
|
-
this.hasFocus = event.detail;
|
|
145
|
-
}
|
|
146
|
-
async onKeyDown(event) {
|
|
147
|
-
if (!this.dropdownShow) {
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
if (event.code === 'ArrowDown' || event.code === 'ArrowUp') {
|
|
151
|
-
this.onArrowNavigation(event);
|
|
152
|
-
}
|
|
153
|
-
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
154
|
-
await this.onEnterNavigation();
|
|
155
|
-
}
|
|
156
|
-
if (event.code === 'Escape') {
|
|
157
|
-
this.dropdownShow = false;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
async onEnterNavigation() {
|
|
161
|
-
var _a, _b;
|
|
162
|
-
if (this.isMultipleMode) {
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
if (this.editable && !this.itemExists(this.inputFilterText)) {
|
|
166
|
-
this.emitAddItem(this.inputFilterText);
|
|
167
|
-
this.navigationItem = this.items[this.items.length - 1];
|
|
168
|
-
}
|
|
169
|
-
(_a = this.navigationItem) === null || _a === void 0 ? void 0 : _a.onItemClick();
|
|
170
|
-
await ((_b = this.dropdownRef) === null || _b === void 0 ? void 0 : _b.updatePosition());
|
|
171
|
-
if (this.isSingleMode && !this.editable) {
|
|
172
|
-
this.dropdownShow = false;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
onArrowNavigation(event) {
|
|
176
|
-
event.stopPropagation();
|
|
177
|
-
event.preventDefault();
|
|
178
|
-
const selectItems = this.items.filter((i) => !i.classList.contains('d-none'));
|
|
179
|
-
const index = selectItems.indexOf(this.navigationItem);
|
|
180
|
-
if (event.code === 'ArrowDown' && index < selectItems.length - 1) {
|
|
181
|
-
this.navigationItem = selectItems[index + 1];
|
|
182
|
-
}
|
|
183
|
-
else if (event.code === 'ArrowUp' && index > 0) {
|
|
184
|
-
this.navigationItem = selectItems[index - 1];
|
|
185
|
-
}
|
|
186
|
-
this.setHoverEffectForNavigatedSelectItem();
|
|
187
|
-
}
|
|
188
|
-
setHoverEffectForNavigatedSelectItem() {
|
|
189
|
-
this.items.forEach((item) => {
|
|
190
|
-
item.hover = item === this.navigationItem;
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
filterItemsWithTypeahead() {
|
|
194
|
-
this.inputFilterText = this.inputRef.value;
|
|
195
|
-
if (this.inputFilterText) {
|
|
196
|
-
this.items.forEach((item) => {
|
|
197
|
-
item.classList.remove('d-none');
|
|
198
|
-
if (!item.label.toLowerCase().includes(this.inputFilterText.toLowerCase())) {
|
|
199
|
-
item.classList.add('d-none');
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
this.removeHiddenFromItems();
|
|
205
|
-
}
|
|
206
|
-
this.isDropdownEmpty = this.items.every((item) => item.classList.contains('d-none'));
|
|
207
|
-
}
|
|
208
|
-
removeHiddenFromItems() {
|
|
209
|
-
this.items.forEach((item) => {
|
|
210
|
-
item.classList.remove('d-none');
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
clearInput() {
|
|
214
|
-
this.inputRef.value = '';
|
|
215
|
-
this.inputFilterText = '';
|
|
216
|
-
}
|
|
217
|
-
clear() {
|
|
218
|
-
this.clearInput();
|
|
219
|
-
this.value = [];
|
|
220
|
-
this.selectedIndices = [];
|
|
221
|
-
this.itemSelectionChange.emit(null);
|
|
222
|
-
this.dropdownShow = false;
|
|
223
|
-
}
|
|
224
|
-
render() {
|
|
225
|
-
var _a, _b, _c;
|
|
226
|
-
return (h(Host, null, h("div", { class: {
|
|
227
|
-
'form-control': true,
|
|
228
|
-
select: true,
|
|
229
|
-
focus: this.hasFocus,
|
|
230
|
-
editable: this.editable,
|
|
231
|
-
disabled: this.disabled,
|
|
232
|
-
readonly: this.readonly,
|
|
233
|
-
}, ref: (ref) => {
|
|
234
|
-
this.dropdownAnchor = ref;
|
|
235
|
-
if (!this.editable)
|
|
236
|
-
this.dropdownWrapperRef = ref;
|
|
237
|
-
} }, h("div", { class: "input-container" }, h("div", { class: "chips" }, this.isMultipleMode
|
|
238
|
-
? (_a = this.selectedItems) === null || _a === void 0 ? void 0 : _a.map((item) => (h("ix-filter-chip", { disabled: this.disabled || this.readonly, key: item.value, onCloseClick: (e) => {
|
|
239
|
-
e.preventDefault();
|
|
240
|
-
e.stopPropagation();
|
|
241
|
-
this.emitItemClick(item.value);
|
|
242
|
-
} }, item.label)))
|
|
243
|
-
: '', h("div", { class: "trigger" }, h("input", { "data-testid": "input", disabled: this.disabled, readOnly: this.readonly, type: "text", class: {
|
|
244
|
-
'allow-clear': this.allowClear && !!((_b = this.value) === null || _b === void 0 ? void 0 : _b.length),
|
|
245
|
-
}, placeholder: this.editable
|
|
246
|
-
? this.i18nPlaceholderEditable
|
|
247
|
-
: this.i18nPlaceholder, value: this.inputValue, ref: (ref) => (this.inputRef = ref), onInput: () => this.filterItemsWithTypeahead() }), this.isMultipleMode &&
|
|
248
|
-
this.allowClear &&
|
|
249
|
-
(((_c = this.value) === null || _c === void 0 ? void 0 : _c.length) || this.inputFilterText) ? (h("ix-icon-button", { class: "clear", icon: "clear", ghost: true, oval: true, size: "24", onClick: (e) => {
|
|
250
|
-
e.preventDefault();
|
|
251
|
-
e.stopPropagation();
|
|
252
|
-
this.clear();
|
|
253
|
-
} })) : null, this.disabled || this.readonly ? null : (h("div", { class: "chevron-down-container", ref: (ref) => {
|
|
254
|
-
if (this.editable)
|
|
255
|
-
this.dropdownWrapperRef = ref;
|
|
256
|
-
} }, h("ix-icon", { class: "chevron", name: "chevron-down-small" }))))))), h("ix-dropdown", { ref: (ref) => (this.dropdownRef = ref), show: this.dropdownShow, class: {
|
|
257
|
-
'd-none': this.disabled ||
|
|
258
|
-
this.readonly ||
|
|
259
|
-
(this.isDropdownEmpty && !this.editable),
|
|
260
|
-
}, anchor: this.dropdownAnchor, trigger: this.dropdownWrapperRef, onShowChanged: (e) => this.dropdownVisibilityChanged(e), placement: "auto-start", overwriteDropdownStyle: async () => {
|
|
261
|
-
return {
|
|
262
|
-
width: `${this.hostElement.clientWidth}px`,
|
|
263
|
-
};
|
|
264
|
-
} }, h("div", { class: "select-list-header", title: this.i18nSelectListHeader }, this.i18nSelectListHeader), h("slot", null), h("div", { ref: (ref) => (this.addItemRef = ref), class: "d-contents" }), this.itemExists(this.inputFilterText) ? ('') : (h("ix-dropdown-item", { "data-testid": "add-item", icon: "plus", class: {
|
|
265
|
-
'add-item': true,
|
|
266
|
-
'd-none': !(this.editable && this.inputFilterText),
|
|
267
|
-
}, label: this.inputFilterText, onItemClick: (e) => {
|
|
268
|
-
e.preventDefault();
|
|
269
|
-
e.stopPropagation();
|
|
270
|
-
this.emitAddItem(this.inputFilterText);
|
|
271
|
-
} })))));
|
|
272
|
-
}
|
|
273
|
-
get hostElement() { return this; }
|
|
274
|
-
static get watchers() { return {
|
|
275
|
-
"selectedIndices": ["watchSelectedIndices"],
|
|
276
|
-
"inputFilterText": ["watchInputText"]
|
|
277
|
-
}; }
|
|
278
|
-
static get style() { return selectCss; }
|
|
279
|
-
}, [6, "ix-select", {
|
|
280
|
-
"selectedIndices": [1025, "selected-indices"],
|
|
281
|
-
"allowClear": [4, "allow-clear"],
|
|
282
|
-
"mode": [1],
|
|
283
|
-
"editable": [4],
|
|
284
|
-
"disabled": [4],
|
|
285
|
-
"readonly": [4],
|
|
286
|
-
"i18nPlaceholder": [1, "i-1-8n-placeholder"],
|
|
287
|
-
"i18nPlaceholderEditable": [1, "i-1-8n-placeholder-editable"],
|
|
288
|
-
"i18nSelectListHeader": [1, "i-1-8n-select-list-header"],
|
|
289
|
-
"dropdownShow": [32],
|
|
290
|
-
"value": [32],
|
|
291
|
-
"dropdownWrapperRef": [32],
|
|
292
|
-
"dropdownAnchor": [32],
|
|
293
|
-
"isDropdownEmpty": [32],
|
|
294
|
-
"hasFocus": [32],
|
|
295
|
-
"navigationItem": [32],
|
|
296
|
-
"inputFilterText": [32],
|
|
297
|
-
"inputValue": [32]
|
|
298
|
-
}, [[0, "itemClick", "onItemClicked"], [0, "ix-select-item:labelChange", "onLabelChange"], [8, "keydown", "onKeyDown"]]]);
|
|
299
|
-
function defineCustomElement$1() {
|
|
300
|
-
if (typeof customElements === "undefined") {
|
|
301
|
-
return;
|
|
302
|
-
}
|
|
303
|
-
const components = ["ix-select", "ix-dropdown", "ix-dropdown-item", "ix-filter-chip", "ix-icon", "ix-icon-button", "ix-select-item"];
|
|
304
|
-
components.forEach(tagName => { switch (tagName) {
|
|
305
|
-
case "ix-select":
|
|
306
|
-
if (!customElements.get(tagName)) {
|
|
307
|
-
customElements.define(tagName, Select);
|
|
308
|
-
}
|
|
309
|
-
break;
|
|
310
|
-
case "ix-dropdown":
|
|
311
|
-
if (!customElements.get(tagName)) {
|
|
312
|
-
defineCustomElement$7();
|
|
313
|
-
}
|
|
314
|
-
break;
|
|
315
|
-
case "ix-dropdown-item":
|
|
316
|
-
if (!customElements.get(tagName)) {
|
|
317
|
-
defineCustomElement$6();
|
|
318
|
-
}
|
|
319
|
-
break;
|
|
320
|
-
case "ix-filter-chip":
|
|
321
|
-
if (!customElements.get(tagName)) {
|
|
322
|
-
defineCustomElement$5();
|
|
323
|
-
}
|
|
324
|
-
break;
|
|
325
|
-
case "ix-icon":
|
|
326
|
-
if (!customElements.get(tagName)) {
|
|
327
|
-
defineCustomElement$4();
|
|
328
|
-
}
|
|
329
|
-
break;
|
|
330
|
-
case "ix-icon-button":
|
|
331
|
-
if (!customElements.get(tagName)) {
|
|
332
|
-
defineCustomElement$3();
|
|
333
|
-
}
|
|
334
|
-
break;
|
|
335
|
-
case "ix-select-item":
|
|
336
|
-
if (!customElements.get(tagName)) {
|
|
337
|
-
defineCustomElement$2();
|
|
338
|
-
}
|
|
339
|
-
break;
|
|
340
|
-
} });
|
|
341
|
-
}
|
|
1
|
+
import { S as Select, d as defineCustomElement$1 } from './select.js';
|
|
342
2
|
|
|
343
3
|
const IxSelect = Select;
|
|
344
4
|
const defineCustomElement = defineCustomElement$1;
|
|
345
5
|
|
|
346
6
|
export { IxSelect, defineCustomElement };
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=ix-select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-select.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-spinner.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-split-button-item.js","mappings":";;;;AAAA,MAAM,kBAAkB,GAAG,2CAA2C;;MCuBzD,eAAe;;;;;;;;EAkB1B,MAAM;IACJ,QACE,wBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,GACpB,EACpB;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/split-button-item/split-button-item.css?tag=ix-split-button-item&encapsulation=scoped","./src/components/split-button-item/split-button-item.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: block;\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'ix-split-button-item',\n styleUrl: 'split-button-item.css',\n scoped: true,\n})\nexport class SplitButtonItem {\n /**\n * Dropdown icon\n */\n @Prop() icon: string;\n\n /**\n * Dropdown label\n */\n @Prop() label: string;\n\n /**\n * Dropdown item clicked\n */\n @Event() itemClick: EventEmitter<MouseEvent>;\n\n @Element() hostElement: HTMLIxSplitButtonItemElement;\n\n render() {\n return (\n <ix-dropdown-item\n icon={this.icon}\n label={this.label}\n onClick={(e) => this.itemClick.emit(e)}\n ></ix-dropdown-item>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-split-button.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,2iBAA2iB;;MC8BrjB,WAAW;;;;;mBAMgB,SAAS;mBAK7B,KAAK;qBAOH,KAAK;iBAKT,KAAK;;gBAUN,EAAE;qBAKG,cAAc;oBAKf,KAAK;qBAKO,cAAc;kBAE3B,KAAK;;EAUvB,IAAI,UAAU;IACZ,OAAO,KAAK,CAAC,IAAI,CACf,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAC1D,CAAC;GACH;EAEO,cAAc;IACpB,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,eAAe,EAAE;MAC/C,IAAI,CAAC,eAAe,CAAC,OAAO,GAAG,IAAI,CAAC,cAAc,CAAC;KACpD;GACF;EAED,gBAAgB;IACd,IAAI,CAAC,cAAc,EAAE,CAAC;GACvB;EAED,MAAM;IACJ,QACE,EAAC,IAAI,QACH,WAAK,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,IAC5D,cACE,KAAK,kCACA,gBAAgB,CACjB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,EAC5B,CAAC,IAAI,CAAC,KAAK,EACX,KAAK,EACL,KAAK,EACL,IAAI,CAAC,QAAQ,CACd,GACE;QACD,oBAAoB,EAAE,CAAC,IAAI,CAAC,OAAO;OACpC,GAEH,OAAO,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,IAEvC,IAAI,CAAC,IAAI,GAAG,eAAS,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,GAAG,IAAI,OAAG,IAAI,CAAC,KAAK,CACtD,EACT,cACE,GAAG,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,EACrC,KAAK,kCACA,gBAAgB,CACjB,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,SAAS,EAC5B,IAAI,EACJ,KAAK,EACL,KAAK,EACL,IAAI,CAAC,QAAQ,CACd,GACE;QACD,MAAM,EAAE,IAAI;OACb,KAGH,eAAS,IAAI,EAAE,IAAI,CAAC,SAAS,GAAI,CAC1B,CACL,EAEN,mBAAa,GAAG,EAAE,CAAC,CAAC,MAAM,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC,IACjD,eAAa,CACD,CACT,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/split-button/split-button.scss?tag=ix-split-button&encapsulation=scoped","./src/components/split-button/split-button.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n:host {\n display: inline-block;\n\n .btn-group {\n // Overwrite styling from bootstrap button group\n width: 100%;\n\n > button:nth-child(1) {\n width: calc(100% - 2rem);\n }\n\n > button:nth-child(2) {\n width: 2rem;\n }\n }\n\n .middle-gap {\n gap: 0.125rem;\n }\n\n .left-button-border {\n border-top-width: 0.125rem;\n border-right-width: 0;\n border-left-width: 0.125rem;\n border-bottom-width: 0.125rem;\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\nimport { getButtonClasses } from '../button/base-button';\nimport { ButtonVariant } from '../button/button';\nimport { Placement } from '../dropdown/placement';\n\nexport type SplitButtonVariant = ButtonVariant;\n\n@Component({\n tag: 'ix-split-button',\n styleUrl: 'split-button.scss',\n scoped: true,\n})\nexport class SplitButton {\n @Element() hostElement!: HTMLIxSplitButtonElement;\n\n /**\n * Color variant of button\n */\n @Prop() variant: SplitButtonVariant = 'Primary';\n\n /**\n * Button outline variant\n */\n @Prop() outline = false;\n\n /**\n * Button invisible\n *\n * @deprecated Will be removed in 2.0.0. Use ghost property\n */\n @Prop() invisible = false;\n\n /**\n * Button invisible\n */\n @Prop() ghost = false;\n\n /**\n * Button label\n */\n @Prop() label: string;\n\n /**\n * Button icon\n */\n @Prop() icon = '';\n\n /**\n * Splitbutton icon\n */\n @Prop() splitIcon = 'context-menu';\n\n /**\n * Disabled\n */\n @Prop() disabled = false;\n\n /**\n * Placement of the dropdown\n */\n @Prop() placement: Placement = 'bottom-start';\n\n @State() toggle = false;\n\n /**\n * Button clicked\n */\n @Event() buttonClick: EventEmitter<MouseEvent>;\n\n private triggerElement: HTMLElement;\n private dropdownElement: HTMLIxDropdownElement;\n\n get splitItems() {\n return Array.from(\n this.hostElement.querySelectorAll('ix-split-button-item')\n );\n }\n\n private linkTriggerRef() {\n if (this.triggerElement && this.dropdownElement) {\n this.dropdownElement.trigger = this.triggerElement;\n }\n }\n\n componentDidLoad() {\n this.linkTriggerRef();\n }\n\n render() {\n return (\n <Host>\n <div class={{ 'btn-group': true, 'middle-gap': !this.outline }}>\n <button\n class={{\n ...getButtonClasses(\n this.variant,\n this.outline,\n this.ghost || this.invisible,\n !this.label,\n false,\n false,\n this.disabled\n ),\n ...{\n 'left-button-border': !this.outline,\n },\n }}\n onClick={(e) => this.buttonClick.emit(e)}\n >\n {this.icon ? <ix-icon name={this.icon} /> : null} {this.label}\n </button>\n <button\n ref={(r) => (this.triggerElement = r)}\n class={{\n ...getButtonClasses(\n this.variant,\n this.outline,\n this.ghost || this.invisible,\n true,\n false,\n false,\n this.disabled\n ),\n ...{\n anchor: true,\n },\n }}\n >\n <ix-icon name={this.splitIcon} />\n </button>\n </div>\n\n <ix-dropdown ref={(r) => (this.dropdownElement = r)}>\n <slot></slot>\n </ix-dropdown>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-tab-item.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|