@siemens/ix 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/_commonjsHelpers-1a0c346f.js +23 -0
- package/dist/cjs/animation-dfe01edc.js +19 -0
- package/dist/cjs/anime.es-8822f296.js +1311 -0
- package/dist/cjs/base-button-eb1d47db.js +33 -0
- package/dist/cjs/default-tree-item-4597cd84.js +22 -0
- package/dist/cjs/flip-tile-state-c95639e5.js +18 -0
- package/dist/cjs/index-1e4a348f.js +1849 -0
- package/dist/cjs/index.cjs.js +96 -0
- package/dist/cjs/ix-animated-tab_2.cjs.entry.js +217 -0
- package/dist/cjs/ix-application-header.cjs.entry.js +19 -0
- package/dist/cjs/ix-basic-navigation.cjs.entry.js +44 -0
- package/dist/cjs/ix-blind.cjs.entry.js +89 -0
- package/dist/cjs/ix-breadcrumb_2.cjs.entry.js +155 -0
- package/dist/cjs/ix-button.cjs.entry.js +50 -0
- package/dist/cjs/ix-category-filter.cjs.entry.js +399 -0
- package/dist/cjs/ix-chip.cjs.entry.js +47 -0
- package/dist/cjs/ix-counter-pill.cjs.entry.js +40 -0
- package/dist/cjs/ix-date-picker_2.cjs.entry.js +8881 -0
- package/dist/cjs/ix-date-time-card.cjs.entry.js +36 -0
- package/dist/cjs/ix-datetime-picker.cjs.entry.js +44 -0
- package/dist/cjs/ix-drawer.cjs.entry.js +122 -0
- package/dist/cjs/ix-dropdown_2.cjs.entry.js +203 -0
- package/dist/cjs/ix-event-list_2.cjs.entry.js +151 -0
- package/dist/cjs/ix-expanding-search.cjs.entry.js +91 -0
- package/dist/cjs/ix-filter-chip.cjs.entry.js +30 -0
- package/dist/cjs/ix-flip-tile_2.cjs.entry.js +79 -0
- package/dist/cjs/ix-group_3.cjs.entry.js +174 -0
- package/dist/cjs/ix-icon-button.cjs.entry.js +40 -0
- package/dist/cjs/ix-icon.cjs.entry.js +33 -0
- package/dist/cjs/ix-input-group.cjs.entry.js +40 -0
- package/dist/cjs/ix-kpi.cjs.entry.js +50 -0
- package/dist/cjs/ix-map-navigation_2.cjs.entry.js +190 -0
- package/dist/cjs/ix-menu_9.cjs.entry.js +872 -0
- package/dist/cjs/ix-message-bar.cjs.entry.js +58 -0
- package/dist/cjs/ix-modal-example.cjs.entry.js +24 -0
- package/dist/cjs/ix-modal_2.cjs.entry.js +14 -0
- package/dist/cjs/ix-pill.cjs.entry.js +40 -0
- package/dist/cjs/ix-select_2.cjs.entry.js +309 -0
- package/dist/cjs/ix-spinner.cjs.entry.js +30 -0
- package/dist/cjs/ix-split-button_2.cjs.entry.js +114 -0
- package/dist/cjs/ix-tab-item.cjs.entry.js +67 -0
- package/dist/cjs/ix-tabs.cjs.entry.js +187 -0
- package/dist/cjs/ix-tile.cjs.entry.js +27 -0
- package/dist/cjs/ix-toast_2.cjs.entry.js +155 -0
- package/dist/cjs/ix-toggle.cjs.entry.js +82 -0
- package/dist/cjs/ix-tree_2.cjs.entry.js +690 -0
- package/dist/cjs/ix-upload.cjs.entry.js +139 -0
- package/dist/cjs/ix-validation-tooltip.cjs.entry.js +107 -0
- package/dist/cjs/ix-workflow-step.cjs.entry.js +114 -0
- package/dist/cjs/ix-workflow-steps.cjs.entry.js +83 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/logical-filter-operator-467e2faf.js +35 -0
- package/dist/cjs/modal-5be2b1a3.js +221 -0
- package/dist/cjs/modal-utils-5d7bb217.js +42 -0
- package/dist/cjs/mutation-observer-29bedada.js +13 -0
- package/dist/cjs/my-component.cjs.entry.js +19 -0
- package/dist/cjs/popper-d7a0f999.js +1801 -0
- package/dist/cjs/rwd.util-482d41d4.js +42 -0
- package/dist/cjs/siemens-ix.cjs.js +19 -0
- package/dist/cjs/typed-event-8f5a32a2.js +46 -0
- package/dist/cjs/upload-file-state-923b2c65.js +17 -0
- package/dist/collection/collection-manifest.json +258 -0
- package/dist/collection/components/animated-tab/animated-tab.css +14 -0
- package/dist/collection/components/animated-tab/animated-tab.js +59 -0
- package/dist/collection/components/animated-tabs/animated-tabs.css +158 -0
- package/dist/collection/components/animated-tabs/animated-tabs.js +303 -0
- package/dist/collection/components/application-header/application-header.css +29 -0
- package/dist/collection/components/application-header/application-header.js +45 -0
- package/dist/collection/components/basic-navigation/basic-navigation.css +29 -0
- package/dist/collection/components/basic-navigation/basic-navigation.js +91 -0
- package/dist/collection/components/blind/blind.css +146 -0
- package/dist/collection/components/blind/blind.js +152 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +228 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +252 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.css +11 -0
- package/dist/collection/components/breadcrumb-item/breadcrumb-item.js +59 -0
- package/dist/collection/components/button/base-button.js +29 -0
- package/dist/collection/components/button/button.css +12 -0
- package/dist/collection/components/button/button.js +192 -0
- package/dist/collection/components/category-filter/category-filter.css +189 -0
- package/dist/collection/components/category-filter/category-filter.js +704 -0
- package/dist/collection/components/category-filter/filter-state.js +10 -0
- package/dist/collection/components/category-filter/input-state.js +17 -0
- package/dist/collection/components/category-filter/logical-filter-operator.js +13 -0
- package/dist/collection/components/chip/chip.css +475 -0
- package/dist/collection/components/chip/chip.js +197 -0
- package/dist/collection/components/counter-pill/counter-pill.css +313 -0
- package/dist/collection/components/counter-pill/counter-pill.js +137 -0
- package/dist/collection/components/date-picker/date-picker.css +222 -0
- package/dist/collection/components/date-picker/date-picker.js +365 -0
- package/dist/collection/components/date-time-card/date-time-card.css +49 -0
- package/dist/collection/components/date-time-card/date-time-card.js +89 -0
- package/dist/collection/components/datetime-picker/datetime-picker.css +35 -0
- package/dist/collection/components/datetime-picker/datetime-picker.js +161 -0
- package/dist/collection/components/drawer/drawer.css +78 -0
- package/dist/collection/components/drawer/drawer.js +300 -0
- package/dist/collection/components/dropdown/dropdown.css +536 -0
- package/dist/collection/components/dropdown/dropdown.js +392 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +61 -0
- package/dist/collection/components/dropdown-item/dropdown-item.js +187 -0
- package/dist/collection/components/event-list/event-list.css +58 -0
- package/dist/collection/components/event-list/event-list.js +197 -0
- package/dist/collection/components/event-list-item/event-list-item.css +109 -0
- package/dist/collection/components/event-list-item/event-list-item.js +162 -0
- package/dist/collection/components/expanding-search/expanding-search.css +124 -0
- package/dist/collection/components/expanding-search/expanding-search.js +177 -0
- package/dist/collection/components/filter-chip/filter-chip.css +82 -0
- package/dist/collection/components/filter-chip/filter-chip.js +74 -0
- package/dist/collection/components/flip-tile/flip-tile-state.js +16 -0
- package/dist/collection/components/flip-tile/flip-tile.css +143 -0
- package/dist/collection/components/flip-tile/flip-tile.js +125 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.css +12 -0
- package/dist/collection/components/flip-tile-content/flip-tile-content.js +23 -0
- package/dist/collection/components/group/group.css +170 -0
- package/dist/collection/components/group/group.js +329 -0
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.css +11 -0
- package/dist/collection/components/group-dropdown-item/group-dropdown-item.js +60 -0
- package/dist/collection/components/group-item/group-item.css +116 -0
- package/dist/collection/components/group-item/group-item.js +200 -0
- package/dist/collection/components/icon/icon.css +45 -0
- package/dist/collection/components/icon/icon.js +91 -0
- package/dist/collection/components/icon-button/icon-button.js +242 -0
- package/dist/collection/components/input-group/input-group.css +27 -0
- package/dist/collection/components/input-group/input-group.js +48 -0
- package/dist/collection/components/kpi/kpi.css +131 -0
- package/dist/collection/components/kpi/kpi.js +151 -0
- package/dist/collection/components/map-navigation/map-navigation.css +161 -0
- package/dist/collection/components/map-navigation/map-navigation.js +355 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.css +237 -0
- package/dist/collection/components/map-navigation-overlay/map-navigation-overlay.js +105 -0
- package/dist/collection/components/menu/menu.css +128 -0
- package/dist/collection/components/menu/menu.js +969 -0
- package/dist/collection/components/menu-about/menu-about.css +207 -0
- package/dist/collection/components/menu-about/menu-about.js +188 -0
- package/dist/collection/components/menu-about-item/menu-about-item.css +12 -0
- package/dist/collection/components/menu-about-item/menu-about-item.js +42 -0
- package/dist/collection/components/menu-about-news/menu-about-news.css +99 -0
- package/dist/collection/components/menu-about-news/menu-about-news.js +204 -0
- package/dist/collection/components/menu-avatar/menu-avatar.css +91 -0
- package/dist/collection/components/menu-avatar/menu-avatar.js +136 -0
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.css +12 -0
- package/dist/collection/components/menu-avatar-item/menu-avatar-item.js +79 -0
- package/dist/collection/components/menu-item/menu-item.css +140 -0
- package/dist/collection/components/menu-item/menu-item.js +166 -0
- package/dist/collection/components/menu-settings/menu-settings.css +204 -0
- package/dist/collection/components/menu-settings/menu-settings.js +151 -0
- package/dist/collection/components/menu-settings-item/menu-settings-item.css +13 -0
- package/dist/collection/components/menu-settings-item/menu-settings-item.js +42 -0
- package/dist/collection/components/message-bar/message-bar.css +68 -0
- package/dist/collection/components/message-bar/message-bar.js +125 -0
- package/dist/collection/components/modal/modal-utils.js +36 -0
- package/dist/collection/components/modal/modal.css +96 -0
- package/dist/collection/components/modal/modal.js +540 -0
- package/dist/collection/components/modal-container/modal-container.css +14 -0
- package/dist/collection/components/modal-container/modal-container.js +107 -0
- package/dist/collection/components/my-component/example-modal.js +31 -0
- package/dist/collection/components/my-component/my-component.css +34 -0
- package/dist/collection/components/my-component/my-component.js +22 -0
- package/dist/collection/components/pill/pill.css +269 -0
- package/dist/collection/components/pill/pill.js +155 -0
- package/dist/collection/components/select/select.css +176 -0
- package/dist/collection/components/select/select.js +509 -0
- package/dist/collection/components/select-item/select-item.css +14 -0
- package/dist/collection/components/select-item/select-item.js +169 -0
- package/dist/collection/components/spinner/spinner.css +42 -0
- package/dist/collection/components/spinner/spinner.js +137 -0
- package/dist/collection/components/split-button/split-button.css +11 -0
- package/dist/collection/components/split-button/split-button.js +310 -0
- package/dist/collection/components/split-button-item/split-button-item.css +12 -0
- package/dist/collection/components/split-button-item/split-button-item.js +79 -0
- package/dist/collection/components/tab-item/tab-item.css +195 -0
- package/dist/collection/components/tab-item/tab-item.js +219 -0
- package/dist/collection/components/tabs/tabs.css +84 -0
- package/dist/collection/components/tabs/tabs.js +305 -0
- package/dist/collection/components/tile/tile.css +92 -0
- package/dist/collection/components/tile/tile.js +60 -0
- package/dist/collection/components/time-picker/time-picker.css +94 -0
- package/dist/collection/components/time-picker/time-picker.js +274 -0
- package/dist/collection/components/toast/toast-container.js +170 -0
- package/dist/collection/components/toast/toast-utils.js +40 -0
- package/dist/collection/components/toast/toast.css +110 -0
- package/dist/collection/components/toast/toast.js +232 -0
- package/dist/collection/components/toggle/toggle.css +226 -0
- package/dist/collection/components/toggle/toggle.js +263 -0
- package/dist/collection/components/tree/tree-model.js +9 -0
- package/dist/collection/components/tree/tree.css +12 -0
- package/dist/collection/components/tree/tree.js +296 -0
- package/dist/collection/components/tree-item/default-tree-item.js +18 -0
- package/dist/collection/components/tree-item/tree-item.css +80 -0
- package/dist/collection/components/tree-item/tree-item.js +124 -0
- package/dist/collection/components/upload/upload-file-state.js +15 -0
- package/dist/collection/components/upload/upload.css +120 -0
- package/dist/collection/components/upload/upload.js +413 -0
- package/dist/collection/components/utils/animation.js +15 -0
- package/dist/collection/components/utils/button-variants.js +9 -0
- package/dist/collection/components/utils/mutation-observer.js +9 -0
- package/dist/collection/components/utils/notification-color.js +9 -0
- package/dist/collection/components/utils/popover.util.js +33 -0
- package/dist/collection/components/utils/rwd.util.js +37 -0
- package/dist/collection/components/utils/toggle-theme.js +24 -0
- package/dist/collection/components/utils/typed-event.js +42 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.css +235 -0
- package/dist/collection/components/validation-tooltip/validation-tooltip.js +167 -0
- package/dist/collection/components/workflow-step/workflow-step.css +131 -0
- package/dist/collection/components/workflow-step/workflow-step.js +249 -0
- package/dist/collection/components/workflow-steps/workflow-steps.css +29 -0
- package/dist/collection/components/workflow-steps/workflow-steps.js +182 -0
- package/dist/collection/env.js +9 -0
- package/dist/collection/exports.js +13 -0
- package/dist/collection/index.js +16 -0
- package/dist/collection/utils/test/index.js +9 -0
- package/dist/collection/utils/test/page.js +29 -0
- package/dist/components/_commonjsHelpers.js +19 -0
- package/dist/components/animation.js +17 -0
- package/dist/components/anime.es.js +1309 -0
- package/dist/components/application-header.js +32 -0
- package/dist/components/base-button.js +31 -0
- package/dist/components/button.js +68 -0
- package/dist/components/date-picker.js +268 -0
- package/dist/components/date-time-card.js +49 -0
- package/dist/components/default-tree-item.js +20 -0
- package/dist/components/dropdown-item.js +73 -0
- package/dist/components/dropdown.js +181 -0
- package/dist/components/filter-chip.js +48 -0
- package/dist/components/flip-tile-state.js +18 -0
- package/dist/components/group-item.js +63 -0
- package/dist/components/icon-button.js +68 -0
- package/dist/components/icon.js +47 -0
- package/dist/components/index.d.ts +26 -0
- package/dist/components/index.js +62 -0
- package/dist/components/ix-animated-tab.d.ts +11 -0
- package/dist/components/ix-animated-tab.js +35 -0
- package/dist/components/ix-animated-tabs.d.ts +11 -0
- package/dist/components/ix-animated-tabs.js +229 -0
- package/dist/components/ix-application-header.d.ts +11 -0
- package/dist/components/ix-application-header.js +6 -0
- package/dist/components/ix-basic-navigation.d.ts +11 -0
- package/dist/components/ix-basic-navigation.js +66 -0
- package/dist/components/ix-blind.d.ts +11 -0
- package/dist/components/ix-blind.js +105 -0
- package/dist/components/ix-breadcrumb-item.d.ts +11 -0
- package/dist/components/ix-breadcrumb-item.js +35 -0
- package/dist/components/ix-breadcrumb.d.ts +11 -0
- package/dist/components/ix-breadcrumb.js +180 -0
- package/dist/components/ix-button.d.ts +11 -0
- package/dist/components/ix-button.js +6 -0
- package/dist/components/ix-category-filter.d.ts +11 -0
- package/dist/components/ix-category-filter.js +447 -0
- package/dist/components/ix-chip.d.ts +11 -0
- package/dist/components/ix-chip.js +74 -0
- package/dist/components/ix-counter-pill.d.ts +11 -0
- package/dist/components/ix-counter-pill.js +59 -0
- package/dist/components/ix-date-picker.d.ts +11 -0
- package/dist/components/ix-date-picker.js +6 -0
- package/dist/components/ix-date-time-card.d.ts +11 -0
- package/dist/components/ix-date-time-card.js +6 -0
- package/dist/components/ix-datetime-picker.d.ts +11 -0
- package/dist/components/ix-datetime-picker.js +105 -0
- package/dist/components/ix-drawer.d.ts +11 -0
- package/dist/components/ix-drawer.js +155 -0
- package/dist/components/ix-dropdown-item.d.ts +11 -0
- package/dist/components/ix-dropdown-item.js +6 -0
- package/dist/components/ix-dropdown.d.ts +11 -0
- package/dist/components/ix-dropdown.js +6 -0
- package/dist/components/ix-event-list-item.d.ts +11 -0
- package/dist/components/ix-event-list-item.js +59 -0
- package/dist/components/ix-event-list.d.ts +11 -0
- package/dist/components/ix-event-list.js +135 -0
- package/dist/components/ix-expanding-search.d.ts +11 -0
- package/dist/components/ix-expanding-search.js +123 -0
- package/dist/components/ix-filter-chip.d.ts +11 -0
- package/dist/components/ix-filter-chip.js +6 -0
- package/dist/components/ix-flip-tile-content.d.ts +11 -0
- package/dist/components/ix-flip-tile-content.js +33 -0
- package/dist/components/ix-flip-tile.d.ts +11 -0
- package/dist/components/ix-flip-tile.js +96 -0
- package/dist/components/ix-group-dropdown-item.d.ts +11 -0
- package/dist/components/ix-group-dropdown-item.js +47 -0
- package/dist/components/ix-group-item.d.ts +11 -0
- package/dist/components/ix-group-item.js +6 -0
- package/dist/components/ix-group.d.ts +11 -0
- package/dist/components/ix-group.js +174 -0
- package/dist/components/ix-icon-button.d.ts +11 -0
- package/dist/components/ix-icon-button.js +6 -0
- package/dist/components/ix-icon.d.ts +11 -0
- package/dist/components/ix-icon.js +6 -0
- package/dist/components/ix-input-group.d.ts +11 -0
- package/dist/components/ix-input-group.js +53 -0
- package/dist/components/ix-kpi.d.ts +11 -0
- package/dist/components/ix-kpi.js +75 -0
- package/dist/components/ix-map-navigation-overlay.d.ts +11 -0
- package/dist/components/ix-map-navigation-overlay.js +6 -0
- package/dist/components/ix-map-navigation.d.ts +11 -0
- package/dist/components/ix-map-navigation.js +227 -0
- package/dist/components/ix-menu-about-item.d.ts +11 -0
- package/dist/components/ix-menu-about-item.js +34 -0
- package/dist/components/ix-menu-about-news.d.ts +11 -0
- package/dist/components/ix-menu-about-news.js +78 -0
- package/dist/components/ix-menu-about.d.ts +11 -0
- package/dist/components/ix-menu-about.js +6 -0
- package/dist/components/ix-menu-avatar-item.d.ts +11 -0
- package/dist/components/ix-menu-avatar-item.js +6 -0
- package/dist/components/ix-menu-avatar.d.ts +11 -0
- package/dist/components/ix-menu-avatar.js +83 -0
- package/dist/components/ix-menu-item.d.ts +11 -0
- package/dist/components/ix-menu-item.js +6 -0
- package/dist/components/ix-menu-settings-item.d.ts +11 -0
- package/dist/components/ix-menu-settings-item.js +34 -0
- package/dist/components/ix-menu-settings.d.ts +11 -0
- package/dist/components/ix-menu-settings.js +107 -0
- package/dist/components/ix-menu.d.ts +11 -0
- package/dist/components/ix-menu.js +601 -0
- package/dist/components/ix-message-bar.d.ts +11 -0
- package/dist/components/ix-message-bar.js +88 -0
- package/dist/components/ix-modal-container.d.ts +11 -0
- package/dist/components/ix-modal-container.js +6 -0
- package/dist/components/ix-modal-example.d.ts +11 -0
- package/dist/components/ix-modal-example.js +67 -0
- package/dist/components/ix-modal.d.ts +11 -0
- package/dist/components/ix-modal.js +6 -0
- package/dist/components/ix-pill.d.ts +11 -0
- package/dist/components/ix-pill.js +66 -0
- package/dist/components/ix-select-item.d.ts +11 -0
- package/dist/components/ix-select-item.js +6 -0
- package/dist/components/ix-select.d.ts +11 -0
- package/dist/components/ix-select.js +339 -0
- package/dist/components/ix-spinner.d.ts +11 -0
- package/dist/components/ix-spinner.js +6 -0
- package/dist/components/ix-split-button-item.d.ts +11 -0
- package/dist/components/ix-split-button-item.js +49 -0
- package/dist/components/ix-split-button.d.ts +11 -0
- package/dist/components/ix-split-button.js +135 -0
- package/dist/components/ix-tab-item.d.ts +11 -0
- package/dist/components/ix-tab-item.js +6 -0
- package/dist/components/ix-tabs.d.ts +11 -0
- package/dist/components/ix-tabs.js +6 -0
- package/dist/components/ix-tile.d.ts +11 -0
- package/dist/components/ix-tile.js +42 -0
- package/dist/components/ix-time-picker.d.ts +11 -0
- package/dist/components/ix-time-picker.js +6 -0
- package/dist/components/ix-toast-container.d.ts +11 -0
- package/dist/components/ix-toast-container.js +110 -0
- package/dist/components/ix-toast.d.ts +11 -0
- package/dist/components/ix-toast.js +6 -0
- package/dist/components/ix-toggle.d.ts +11 -0
- package/dist/components/ix-toggle.js +104 -0
- package/dist/components/ix-tree-item.d.ts +11 -0
- package/dist/components/ix-tree-item.js +6 -0
- package/dist/components/ix-tree.d.ts +11 -0
- package/dist/components/ix-tree.js +694 -0
- package/dist/components/ix-upload.d.ts +11 -0
- package/dist/components/ix-upload.js +178 -0
- package/dist/components/ix-validation-tooltip.d.ts +11 -0
- package/dist/components/ix-validation-tooltip.js +124 -0
- package/dist/components/ix-workflow-step.d.ts +11 -0
- package/dist/components/ix-workflow-step.js +142 -0
- package/dist/components/ix-workflow-steps.d.ts +11 -0
- package/dist/components/ix-workflow-steps.js +101 -0
- package/dist/components/logical-filter-operator.js +33 -0
- package/dist/components/luxon.js +8584 -0
- package/dist/components/map-navigation-overlay.js +53 -0
- package/dist/components/menu-about.js +120 -0
- package/dist/components/menu-avatar-item.js +46 -0
- package/dist/components/menu-item.js +65 -0
- package/dist/components/modal-container.js +99 -0
- package/dist/components/modal-utils.js +38 -0
- package/dist/components/modal.js +189 -0
- package/dist/components/mutation-observer.js +11 -0
- package/dist/components/my-component.d.ts +11 -0
- package/dist/components/my-component.js +32 -0
- package/dist/components/popover.util.js +36 -0
- package/dist/components/popper.js +1799 -0
- package/dist/components/rwd.util.js +39 -0
- package/dist/components/select-item.js +71 -0
- package/dist/components/spinner.js +43 -0
- package/dist/components/tab-item.js +86 -0
- package/dist/components/tabs.js +207 -0
- package/dist/components/time-picker.js +140 -0
- package/dist/components/toast.js +119 -0
- package/dist/components/tree-item.js +52 -0
- package/dist/components/typed-event.js +44 -0
- package/dist/components/upload-file-state.js +17 -0
- package/dist/esm/_commonjsHelpers-4bc7200a.js +19 -0
- package/dist/esm/animation-b667a4c4.js +17 -0
- package/dist/esm/anime.es-185e9087.js +1309 -0
- package/dist/esm/base-button-7bfb747f.js +31 -0
- package/dist/esm/default-tree-item-638c435a.js +20 -0
- package/dist/esm/flip-tile-state-28a1f8ce.js +18 -0
- package/dist/esm/index-55cfd20d.js +1819 -0
- package/dist/esm/index.js +64 -0
- package/dist/esm/ix-animated-tab_2.entry.js +212 -0
- package/dist/esm/ix-application-header.entry.js +15 -0
- package/dist/esm/ix-basic-navigation.entry.js +40 -0
- package/dist/esm/ix-blind.entry.js +85 -0
- package/dist/esm/ix-breadcrumb_2.entry.js +150 -0
- package/dist/esm/ix-button.entry.js +46 -0
- package/dist/esm/ix-category-filter.entry.js +395 -0
- package/dist/esm/ix-chip.entry.js +43 -0
- package/dist/esm/ix-counter-pill.entry.js +36 -0
- package/dist/esm/ix-date-picker_2.entry.js +8876 -0
- package/dist/esm/ix-date-time-card.entry.js +32 -0
- package/dist/esm/ix-datetime-picker.entry.js +40 -0
- package/dist/esm/ix-drawer.entry.js +118 -0
- package/dist/esm/ix-dropdown_2.entry.js +198 -0
- package/dist/esm/ix-event-list_2.entry.js +146 -0
- package/dist/esm/ix-expanding-search.entry.js +87 -0
- package/dist/esm/ix-filter-chip.entry.js +26 -0
- package/dist/esm/ix-flip-tile_2.entry.js +74 -0
- package/dist/esm/ix-group_3.entry.js +168 -0
- package/dist/esm/ix-icon-button.entry.js +36 -0
- package/dist/esm/ix-icon.entry.js +29 -0
- package/dist/esm/ix-input-group.entry.js +36 -0
- package/dist/esm/ix-kpi.entry.js +46 -0
- package/dist/esm/ix-map-navigation_2.entry.js +185 -0
- package/dist/esm/ix-menu_9.entry.js +860 -0
- package/dist/esm/ix-message-bar.entry.js +54 -0
- package/dist/esm/ix-modal-example.entry.js +20 -0
- package/dist/esm/ix-modal_2.entry.js +5 -0
- package/dist/esm/ix-pill.entry.js +36 -0
- package/dist/esm/ix-select_2.entry.js +304 -0
- package/dist/esm/ix-spinner.entry.js +26 -0
- package/dist/esm/ix-split-button_2.entry.js +109 -0
- package/dist/esm/ix-tab-item.entry.js +63 -0
- package/dist/esm/ix-tabs.entry.js +183 -0
- package/dist/esm/ix-tile.entry.js +23 -0
- package/dist/esm/ix-toast_2.entry.js +150 -0
- package/dist/esm/ix-toggle.entry.js +78 -0
- package/dist/esm/ix-tree_2.entry.js +685 -0
- package/dist/esm/ix-upload.entry.js +135 -0
- package/dist/esm/ix-validation-tooltip.entry.js +103 -0
- package/dist/esm/ix-workflow-step.entry.js +110 -0
- package/dist/esm/ix-workflow-steps.entry.js +79 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/logical-filter-operator-1bf83315.js +33 -0
- package/dist/esm/modal-8ed87a6c.js +218 -0
- package/dist/esm/modal-utils-ec39c1bc.js +38 -0
- package/dist/esm/mutation-observer-379959bb.js +11 -0
- package/dist/esm/my-component.entry.js +15 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/popper-42db9fbd.js +1799 -0
- package/dist/esm/rwd.util-33a69d24.js +39 -0
- package/dist/esm/siemens-ix.js +17 -0
- package/dist/esm/typed-event-dd6c83dd.js +44 -0
- package/dist/esm/upload-file-state-631bb8a2.js +17 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/siemens-ix/index.esm.js +1 -0
- package/dist/siemens-ix/p-03d95feb.entry.js +1 -0
- package/dist/siemens-ix/p-0a12b3df.js +1 -0
- package/dist/siemens-ix/p-0bf04780.js +1 -0
- package/dist/siemens-ix/p-0e315bd7.entry.js +1 -0
- package/dist/siemens-ix/p-1c82637e.js +1 -0
- package/dist/siemens-ix/p-1d30454e.js +1 -0
- package/dist/siemens-ix/p-235606b2.entry.js +1 -0
- package/dist/siemens-ix/p-240d22b6.entry.js +1 -0
- package/dist/siemens-ix/p-2cda7278.entry.js +1 -0
- package/dist/siemens-ix/p-2ce29bcd.entry.js +1 -0
- package/dist/siemens-ix/p-301ddeb7.js +1 -0
- package/dist/siemens-ix/p-3613be96.entry.js +1 -0
- package/dist/siemens-ix/p-37417714.js +1 -0
- package/dist/siemens-ix/p-3f809fb3.entry.js +1 -0
- package/dist/siemens-ix/p-40842bea.entry.js +1 -0
- package/dist/siemens-ix/p-47ea9884.js +1 -0
- package/dist/siemens-ix/p-4ffec6ae.entry.js +1 -0
- package/dist/siemens-ix/p-504927a0.entry.js +1 -0
- package/dist/siemens-ix/p-5990f0cb.entry.js +1 -0
- package/dist/siemens-ix/p-59c81e2a.entry.js +1 -0
- package/dist/siemens-ix/p-5a1dcc74.js +1 -0
- package/dist/siemens-ix/p-5f9f25ef.entry.js +1 -0
- package/dist/siemens-ix/p-61b032bf.entry.js +1 -0
- package/dist/siemens-ix/p-662d756f.entry.js +1 -0
- package/dist/siemens-ix/p-6726f740.entry.js +1 -0
- package/dist/siemens-ix/p-67c2bca6.entry.js +1 -0
- package/dist/siemens-ix/p-6f625f0e.js +1 -0
- package/dist/siemens-ix/p-78df1e46.entry.js +1 -0
- package/dist/siemens-ix/p-7a4c744e.entry.js +1 -0
- package/dist/siemens-ix/p-7d667916.entry.js +1 -0
- package/dist/siemens-ix/p-7ec8a00e.entry.js +1 -0
- package/dist/siemens-ix/p-7f5a2e3c.entry.js +1 -0
- package/dist/siemens-ix/p-810b5232.js +1 -0
- package/dist/siemens-ix/p-81e46337.entry.js +1 -0
- package/dist/siemens-ix/p-8239c3a1.entry.js +1 -0
- package/dist/siemens-ix/p-9d9b8ad1.entry.js +1 -0
- package/dist/siemens-ix/p-ab715295.entry.js +1 -0
- package/dist/siemens-ix/p-b4003026.entry.js +1 -0
- package/dist/siemens-ix/p-bbcee9fb.entry.js +1 -0
- package/dist/siemens-ix/p-bd15d8ca.entry.js +1 -0
- package/dist/siemens-ix/p-bdd294d2.js +1 -0
- package/dist/siemens-ix/p-be1ec062.entry.js +1 -0
- package/dist/siemens-ix/p-c3738ffc.entry.js +1 -0
- package/dist/siemens-ix/p-ca71538c.entry.js +1 -0
- package/dist/siemens-ix/p-caf856f2.entry.js +1 -0
- package/dist/siemens-ix/p-cde8f20e.entry.js +1 -0
- package/dist/siemens-ix/p-d23706a7.js +1 -0
- package/dist/siemens-ix/p-d31bf6db.entry.js +1 -0
- package/dist/siemens-ix/p-da2cae32.js +1 -0
- package/dist/siemens-ix/p-df43662b.entry.js +1 -0
- package/dist/siemens-ix/p-e1f54836.entry.js +1 -0
- package/dist/siemens-ix/p-e4d1a964.entry.js +1 -0
- package/dist/siemens-ix/p-f2636faf.entry.js +1 -0
- package/dist/siemens-ix/p-f6da7e07.entry.js +1 -0
- package/dist/siemens-ix/p-f86fcdf4.js +1 -0
- package/dist/siemens-ix/p-fbe40498.js +1 -0
- package/dist/siemens-ix/p-fe020fa3.entry.js +1 -0
- package/dist/siemens-ix/p-fe5db4d1.entry.js +1 -0
- package/dist/siemens-ix/siemens-ix.css +19243 -0
- package/dist/siemens-ix/siemens-ix.esm.js +1 -0
- package/dist/types/components/animated-tab/animated-tab.d.ts +11 -0
- package/dist/types/components/animated-tabs/animated-tabs.d.ts +44 -0
- package/dist/types/components/application-header/application-header.d.ts +7 -0
- package/dist/types/components/basic-navigation/basic-navigation.d.ts +16 -0
- package/dist/types/components/blind/blind.d.ts +26 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +48 -0
- package/dist/types/components/breadcrumb-item/breadcrumb-item.d.ts +11 -0
- package/dist/types/components/button/base-button.d.ts +13 -0
- package/dist/types/components/button/button.d.ts +34 -0
- package/dist/types/components/category-filter/category-filter.d.ts +129 -0
- package/dist/types/components/category-filter/filter-state.d.ts +9 -0
- package/dist/types/components/category-filter/input-state.d.ts +6 -0
- package/dist/types/components/category-filter/logical-filter-operator.d.ts +4 -0
- package/dist/types/components/chip/chip.d.ts +38 -0
- package/dist/types/components/counter-pill/counter-pill.d.ts +24 -0
- package/dist/types/components/date-picker/date-picker.d.ts +56 -0
- package/dist/types/components/date-time-card/date-time-card.d.ts +14 -0
- package/dist/types/components/datetime-picker/datetime-picker.d.ts +31 -0
- package/dist/types/components/drawer/drawer.d.ts +49 -0
- package/dist/types/components/dropdown/dropdown.d.ts +70 -0
- package/dist/types/components/dropdown-item/dropdown-item.d.ts +33 -0
- package/dist/types/components/event-list/event-list.d.ts +31 -0
- package/dist/types/components/event-list-item/event-list-item.d.ts +34 -0
- package/dist/types/components/expanding-search/expanding-search.d.ts +31 -0
- package/dist/types/components/filter-chip/filter-chip.d.ts +14 -0
- package/dist/types/components/flip-tile/flip-tile-state.d.ts +7 -0
- package/dist/types/components/flip-tile/flip-tile.d.ts +22 -0
- package/dist/types/components/flip-tile-content/flip-tile-content.d.ts +3 -0
- package/dist/types/components/group/group.d.ts +59 -0
- package/dist/types/components/group-dropdown-item/group-dropdown-item.d.ts +11 -0
- package/dist/types/components/group-item/group-item.d.ts +39 -0
- package/dist/types/components/icon/icon.d.ts +15 -0
- package/dist/types/components/icon-button/icon-button.d.ts +51 -0
- package/dist/types/components/input-group/input-group.d.ts +5 -0
- package/dist/types/components/kpi/kpi.d.ts +25 -0
- package/dist/types/components/map-navigation/map-navigation.d.ts +59 -0
- package/dist/types/components/map-navigation-overlay/map-navigation-overlay.d.ts +20 -0
- package/dist/types/components/menu/menu.d.ts +143 -0
- package/dist/types/components/menu-about/menu-about.d.ts +34 -0
- package/dist/types/components/menu-about-item/menu-about-item.d.ts +7 -0
- package/dist/types/components/menu-about-news/menu-about-news.d.ts +36 -0
- package/dist/types/components/menu-avatar/menu-avatar.d.ts +26 -0
- package/dist/types/components/menu-avatar-item/menu-avatar-item.d.ts +17 -0
- package/dist/types/components/menu-item/menu-item.d.ts +31 -0
- package/dist/types/components/menu-settings/menu-settings.d.ts +27 -0
- package/dist/types/components/menu-settings-item/menu-settings-item.d.ts +7 -0
- package/dist/types/components/message-bar/message-bar.d.ts +23 -0
- package/dist/types/components/modal/modal-utils.d.ts +26 -0
- package/dist/types/components/modal/modal.d.ts +99 -0
- package/dist/types/components/modal-container/modal-container.d.ts +15 -0
- package/dist/types/components/my-component/example-modal.d.ts +6 -0
- package/dist/types/components/my-component/my-component.d.ts +3 -0
- package/dist/types/components/pill/pill.d.ts +28 -0
- package/dist/types/components/select/select.d.ts +83 -0
- package/dist/types/components/select-item/select-item.d.ts +31 -0
- package/dist/types/components/spinner/spinner.d.ts +11 -0
- package/dist/types/components/split-button/split-button.d.ts +57 -0
- package/dist/types/components/split-button-item/split-button-item.d.ts +17 -0
- package/dist/types/components/tab-item/tab-item.d.ts +36 -0
- package/dist/types/components/tabs/tabs.d.ts +46 -0
- package/dist/types/components/tile/tile.d.ts +7 -0
- package/dist/types/components/time-picker/time-picker.d.ts +46 -0
- package/dist/types/components/toast/toast-container.d.ts +25 -0
- package/dist/types/components/toast/toast-utils.d.ts +33 -0
- package/dist/types/components/toast/toast.d.ts +39 -0
- package/dist/types/components/toggle/toggle.d.ts +45 -0
- package/dist/types/components/tree/tree-model.d.ts +17 -0
- package/dist/types/components/tree/tree.d.ts +44 -0
- package/dist/types/components/tree-item/default-tree-item.d.ts +6 -0
- package/dist/types/components/tree-item/tree-item.d.ts +25 -0
- package/dist/types/components/upload/upload-file-state.d.ts +6 -0
- package/dist/types/components/upload/upload.d.ts +70 -0
- package/dist/types/components/utils/animation.d.ts +7 -0
- package/dist/types/components/utils/button-variants.d.ts +1 -0
- package/dist/types/components/utils/mutation-observer.d.ts +1 -0
- package/dist/types/components/utils/notification-color.d.ts +4 -0
- package/dist/types/components/utils/popover.util.d.ts +9 -0
- package/dist/types/components/utils/rwd.util.d.ts +2 -0
- package/dist/types/components/utils/toggle-theme.d.ts +1 -0
- package/dist/types/components/utils/typed-event.d.ts +15 -0
- package/dist/types/components/validation-tooltip/validation-tooltip.d.ts +31 -0
- package/dist/types/components/workflow-step/workflow-step.d.ts +35 -0
- package/dist/types/components/workflow-steps/workflow-steps.d.ts +29 -0
- package/dist/types/components.d.ts +3453 -0
- package/dist/types/env.d.ts +1 -0
- package/dist/types/exports.d.ts +5 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils/test/index.d.ts +1 -0
- package/dist/types/utils/test/page.d.ts +3 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +86 -0
- package/scss/_common-variables.scss +60 -0
- package/scss/_fonts.scss +70 -0
- package/scss/_z-index.scss +18 -0
- package/scss/components/_button-group.scss +24 -0
- package/scss/components/_buttons.scss +150 -0
- package/scss/components/_checkboxes.scss +177 -0
- package/scss/components/_dropdown.scss +175 -0
- package/scss/components/_forms.scss +146 -0
- package/scss/components/_input-group.scss +34 -0
- package/scss/components/_links.scss +31 -0
- package/scss/components/_modal.scss +41 -0
- package/scss/components/_radiobuttons.scss +169 -0
- package/scss/components/_shadows.scss +35 -0
- package/scss/components/_table.scss +27 -0
- package/scss/ix.scss +95 -0
- package/scss/mixins/_animations.scss +30 -0
- package/scss/mixins/_fonts.scss +166 -0
- package/scss/mixins/_hover.scss +59 -0
- package/scss/mixins/_shadows.scss +12 -0
- package/scss/mixins/_text-truncation.scss +14 -0
- package/scss/theme/_define-theme-colors.scss +22 -0
- package/scss/theme/_define-theme-variable.scss +12 -0
- package/scss/theme/_define-theme.scss +36 -0
- package/scss/theme/_static-colors.scss +19 -0
- package/scss/theme/classic-dark/_sizes.scss +66 -0
- package/scss/theme/classic-dark/_variables.scss +827 -0
- package/scss/theme/classic-dark/index.scss +15 -0
- package/scss/theme/classic-light/_sizes.scss +66 -0
- package/scss/theme/classic-light/_variables.scss +830 -0
- package/scss/theme/classic-light/index.scss +15 -0
- package/src/components/animated-tab/readme.md +24 -0
- package/src/components/animated-tabs/readme.md +32 -0
- package/src/components/application-header/readme.md +21 -0
- package/src/components/basic-navigation/readme.md +22 -0
- package/src/components/blind/readme.md +29 -0
- package/src/components/breadcrumb/readme.md +33 -0
- package/src/components/breadcrumb-item/readme.md +22 -0
- package/src/components/button/readme.md +27 -0
- package/src/components/category-filter/readme.md +40 -0
- package/src/components/chip/readme.md +36 -0
- package/src/components/counter-pill/readme.md +25 -0
- package/src/components/date-picker/readme.md +32 -0
- package/src/components/date-time-card/readme.md +22 -0
- package/src/components/datetime-picker/readme.md +32 -0
- package/src/components/drawer/readme.md +47 -0
- package/src/components/dropdown/readme.md +49 -0
- package/src/components/dropdown-item/readme.md +45 -0
- package/src/components/event-list/readme.md +24 -0
- package/src/components/event-list-item/readme.md +32 -0
- package/src/components/expanding-search/readme.md +32 -0
- package/src/components/filter-chip/readme.md +30 -0
- package/src/components/flip-tile/readme.md +22 -0
- package/src/components/flip-tile-content/readme.md +14 -0
- package/src/components/group/readme.md +36 -0
- package/src/components/group-dropdown-item/readme.md +22 -0
- package/src/components/group-item/readme.md +34 -0
- package/src/components/icon/readme.md +23 -0
- package/src/components/icon-button/readme.md +31 -0
- package/src/components/input-group/readme.md +14 -0
- package/src/components/kpi/readme.md +27 -0
- package/src/components/map-navigation/readme.md +54 -0
- package/src/components/map-navigation-overlay/readme.md +30 -0
- package/src/components/menu/readme.md +86 -0
- package/src/components/menu-about/readme.md +31 -0
- package/src/components/menu-about-item/readme.md +21 -0
- package/src/components/menu-about-news/readme.md +34 -0
- package/src/components/menu-avatar/readme.md +30 -0
- package/src/components/menu-avatar-item/readme.md +29 -0
- package/src/components/menu-item/readme.md +26 -0
- package/src/components/menu-settings/readme.md +30 -0
- package/src/components/menu-settings-item/readme.md +21 -0
- package/src/components/message-bar/readme.md +31 -0
- package/src/components/modal/readme.md +67 -0
- package/src/components/modal-container/readme.md +29 -0
- package/src/components/my-component/readme.md +16 -0
- package/src/components/pill/readme.md +26 -0
- package/src/components/select/readme.md +37 -0
- package/src/components/select-item/readme.md +44 -0
- package/src/components/spinner/readme.md +22 -0
- package/src/components/split-button/readme.md +36 -0
- package/src/components/split-button-item/readme.md +29 -0
- package/src/components/tab-item/readme.md +28 -0
- package/src/components/tabs/readme.md +25 -0
- package/src/components/tile/readme.md +21 -0
- package/src/components/time-picker/readme.md +34 -0
- package/src/components/toast/readme.md +36 -0
- package/src/components/toggle/readme.md +35 -0
- package/src/components/tree/readme.md +32 -0
- package/src/components/tree-item/readme.md +31 -0
- package/src/components/upload/readme.md +51 -0
- package/src/components/validation-tooltip/readme.md +31 -0
- package/src/components/workflow-step/readme.md +28 -0
- package/src/components/workflow-steps/readme.md +33 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as anime } from './anime.es.js';
|
|
3
|
+
import { A as Animation } from './animation.js';
|
|
4
|
+
import { c as convertToAbbreviationString } from './rwd.util.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './icon.js';
|
|
6
|
+
|
|
7
|
+
const animatedTabsCss = ".sc-ix-animated-tabs-h{--animate-duration:300ms;display:flex;flex-direction:column;align-items:center;height:100%;width:100%;position:relative}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs{display:flex;padding:0;margin:0;position:relative}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs{display:flex;justify-content:center;width:5rem;height:4.5rem;cursor:pointer;padding-top:0.625rem}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.bottom.sc-ix-animated-tabs{padding-top:0.875rem}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs{background:var(--theme-animated-tab-circle--background);border:solid 1px var(--theme-animated-tab-circle--border-color);display:flex;align-items:center;justify-content:center;border-radius:6.25rem;width:3rem;height:3rem;position:relative;transition:150ms}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):hover{background:var(--theme-animated-tab-circle--background--hover);border-color:var(--theme-animated-tab-circle--border-color--hover)}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):hover ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--hover) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):active{background:var(--theme-animated-tab-circle--background--active);border-color:var(--theme-animated-tab-circle--border-color--active)}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):active ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--active) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs{background:var(--theme-animated-tab-circle--background--selected);border-color:var(--theme-animated-tab-circle--border-color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.selected.sc-ix-animated-tabs .count.sc-ix-animated-tabs{border-color:var(--theme-tab-pill--border-color--selected) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.disabled.sc-ix-animated-tabs ix-icon.sc-ix-animated-tabs,.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:disabled ix-icon.sc-ix-animated-tabs{color:var(--theme-animated-tab-icon--color--disabled) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color) !important}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs .count.sc-ix-animated-tabs{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:0.75rem;font-weight:700;line-height:1em;color:var(--theme-color-std-text);display:flex;align-items:center;height:1rem;position:absolute;background-color:var(--theme-pill-outline--background);bottom:-0.55rem;border:1px solid var(--theme-tab-pill--border-color);border-radius:6.25rem;color:var(--theme-pill-outline--color);padding:0 0.25rem;background:var(--theme-color-1);transition:150ms}.sc-ix-animated-tabs-h ul.sc-ix-animated-tabs li.sc-ix-animated-tabs .tab-container.sc-ix-animated-tabs .count.bottom.sc-ix-animated-tabs{top:-0.55rem}.sc-ix-animated-tabs-h .content-container.sc-ix-animated-tabs{display:flex;flex-direction:row;height:calc(100% - 4.5rem);width:100%;overflow-y:auto;overflow-x:hidden}.sc-ix-animated-tabs-h .tab-active-underline.sc-ix-animated-tabs{background-color:var(--theme-animated-tab-indicator--background--selected);height:0.125rem;width:5rem;margin-top:-0.125rem;transition:150ms;position:absolute;top:4.5rem}.sc-ix-animated-tabs-h .tab-active-underline.bottom.sc-ix-animated-tabs{top:0;margin-top:0}";
|
|
8
|
+
|
|
9
|
+
const AnimatedTabs = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.tabClick = createEvent(this, "tabClick", 7);
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated - For debugging purposes only
|
|
16
|
+
*/
|
|
17
|
+
this.disableAnimations = false;
|
|
18
|
+
/**
|
|
19
|
+
* Current selected tab index
|
|
20
|
+
*/
|
|
21
|
+
this.selectedIndex = 0;
|
|
22
|
+
/**
|
|
23
|
+
* Placement of the tabs
|
|
24
|
+
*/
|
|
25
|
+
this.tabPlacement = 'top';
|
|
26
|
+
this.easing = 'easeInOutSine';
|
|
27
|
+
this.firstRender = true;
|
|
28
|
+
}
|
|
29
|
+
onTabSelectionChange(newSelectionIndex, oldSelectionIndex) {
|
|
30
|
+
this.updateTabAnimation(oldSelectionIndex, newSelectionIndex);
|
|
31
|
+
}
|
|
32
|
+
onMouseDown() {
|
|
33
|
+
this.activeIndex = undefined;
|
|
34
|
+
}
|
|
35
|
+
get animatedTabs() {
|
|
36
|
+
return Array.from(this.hostElement.querySelectorAll('ix-animated-tab'));
|
|
37
|
+
}
|
|
38
|
+
get tabsContainer() {
|
|
39
|
+
return this.hostElement.querySelector('.tabs-container');
|
|
40
|
+
}
|
|
41
|
+
get contentContainer() {
|
|
42
|
+
return this.hostElement.querySelector('.content-container');
|
|
43
|
+
}
|
|
44
|
+
componentWillLoad() {
|
|
45
|
+
this.tabs = this.animatedTabs;
|
|
46
|
+
}
|
|
47
|
+
componentDidLoad() {
|
|
48
|
+
this.onTabSelectionChange(this.selectedIndex, -1);
|
|
49
|
+
this.observer = new MutationObserver(() => {
|
|
50
|
+
// Will trigger a re-render even if only the count attribute of a child tab changed
|
|
51
|
+
this.tabs = this.animatedTabs;
|
|
52
|
+
});
|
|
53
|
+
this.observer.observe(this.contentContainer, {
|
|
54
|
+
childList: true,
|
|
55
|
+
subtree: true,
|
|
56
|
+
attributes: true,
|
|
57
|
+
attributeFilter: ['count'],
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
//@ts-expect-error
|
|
61
|
+
disconnectCallback() {
|
|
62
|
+
var _a;
|
|
63
|
+
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
64
|
+
}
|
|
65
|
+
isSelected(tab) {
|
|
66
|
+
return this.tabs.indexOf(tab) === this.selectedIndex;
|
|
67
|
+
}
|
|
68
|
+
showTab(tab) {
|
|
69
|
+
if (this.isSelected(tab)) {
|
|
70
|
+
tab.classList.remove('d-none');
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
hideTab(tab) {
|
|
74
|
+
if (!this.isSelected(tab)) {
|
|
75
|
+
tab.classList.add('d-none');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
slideOutLeft(tab) {
|
|
79
|
+
if (this.disableAnimations) {
|
|
80
|
+
this.hideTab(tab);
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
anime({
|
|
84
|
+
targets: tab,
|
|
85
|
+
duration: Animation.mediumTime,
|
|
86
|
+
opacity: [1, 0],
|
|
87
|
+
translateX: [0, '-100%'],
|
|
88
|
+
easing: this.easing,
|
|
89
|
+
complete: () => {
|
|
90
|
+
this.hideTab(tab);
|
|
91
|
+
},
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
slideOutRight(tab) {
|
|
95
|
+
if (this.disableAnimations) {
|
|
96
|
+
this.hideTab(tab);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
anime({
|
|
100
|
+
targets: tab,
|
|
101
|
+
duration: Animation.mediumTime,
|
|
102
|
+
opacity: [1, 0],
|
|
103
|
+
translateX: [0, '100%'],
|
|
104
|
+
easing: this.easing,
|
|
105
|
+
complete: () => {
|
|
106
|
+
this.hideTab(tab);
|
|
107
|
+
},
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
slideInLeft(tab) {
|
|
111
|
+
if (this.firstRender) {
|
|
112
|
+
tab.classList.remove('d-none');
|
|
113
|
+
this.firstRender = false;
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
if (this.disableAnimations) {
|
|
117
|
+
this.showTab(tab);
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
anime({
|
|
121
|
+
targets: tab,
|
|
122
|
+
duration: Animation.mediumTime,
|
|
123
|
+
opacity: [0, 1],
|
|
124
|
+
translateX: ['-100%', 0],
|
|
125
|
+
easing: this.easing,
|
|
126
|
+
begin: () => {
|
|
127
|
+
this.showTab(tab);
|
|
128
|
+
},
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
slideInRight(tab) {
|
|
132
|
+
if (this.firstRender) {
|
|
133
|
+
tab.classList.remove('d-none');
|
|
134
|
+
this.firstRender = false;
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
if (this.disableAnimations) {
|
|
138
|
+
this.showTab(tab);
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
anime({
|
|
142
|
+
targets: tab,
|
|
143
|
+
duration: Animation.mediumTime,
|
|
144
|
+
opacity: [0, 1],
|
|
145
|
+
translateX: ['100%', 0],
|
|
146
|
+
easing: this.easing,
|
|
147
|
+
begin: () => {
|
|
148
|
+
this.showTab(tab);
|
|
149
|
+
},
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
updateTabAnimation(oldIndex, newIndex) {
|
|
153
|
+
var _a;
|
|
154
|
+
(_a = this.tabs) === null || _a === void 0 ? void 0 : _a.forEach((tab, tabIndex) => {
|
|
155
|
+
if (tabIndex === oldIndex) {
|
|
156
|
+
if (tabIndex < newIndex) {
|
|
157
|
+
this.slideOutLeft(tab);
|
|
158
|
+
}
|
|
159
|
+
else if (tabIndex > newIndex) {
|
|
160
|
+
this.slideOutRight(tab);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
else if (tabIndex === newIndex) {
|
|
164
|
+
if (tabIndex < oldIndex) {
|
|
165
|
+
this.slideInLeft(tab);
|
|
166
|
+
}
|
|
167
|
+
else if (tabIndex > oldIndex) {
|
|
168
|
+
this.slideInRight(tab);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
tab.classList.add('d-none');
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
onTabClick(index) {
|
|
177
|
+
this.selectedIndex = index;
|
|
178
|
+
this.tabClick.emit(index);
|
|
179
|
+
}
|
|
180
|
+
onTabMouseDown(index) {
|
|
181
|
+
this.activeIndex = index;
|
|
182
|
+
}
|
|
183
|
+
render() {
|
|
184
|
+
return (h(Host, { class: { 'flex-column-reverse': this.tabPlacement === 'bottom' } }, h("ul", { class: "tabs-container" }, this.animatedTabs.map((element, index) => (h("li", { class: { bottom: this.tabPlacement === 'bottom' }, onClick: () => this.onTabClick(index), onMouseDown: () => this.onTabMouseDown(index) }, h("div", { class: {
|
|
185
|
+
'tab-container': true,
|
|
186
|
+
selected: this.selectedIndex === index,
|
|
187
|
+
} }, h("ix-icon", { name: element.icon }), element.count ? (h("span", { class: {
|
|
188
|
+
count: true,
|
|
189
|
+
bottom: this.tabPlacement === 'bottom',
|
|
190
|
+
} }, convertToAbbreviationString(element.count))) : (''))))), h("div", { class: {
|
|
191
|
+
'tab-active-underline': true,
|
|
192
|
+
bottom: this.tabPlacement === 'bottom',
|
|
193
|
+
}, style: { 'margin-left': `calc(${this.selectedIndex} * 5rem)` } })), h("div", { class: "content-container" }, h("slot", null))));
|
|
194
|
+
}
|
|
195
|
+
get hostElement() { return this; }
|
|
196
|
+
static get watchers() { return {
|
|
197
|
+
"selectedIndex": ["onTabSelectionChange"]
|
|
198
|
+
}; }
|
|
199
|
+
static get style() { return animatedTabsCss; }
|
|
200
|
+
}, [6, "ix-animated-tabs", {
|
|
201
|
+
"disableAnimations": [4, "disable-animations"],
|
|
202
|
+
"selectedIndex": [2, "selected-index"],
|
|
203
|
+
"tabPlacement": [1, "tab-placement"],
|
|
204
|
+
"tabs": [32],
|
|
205
|
+
"activeIndex": [32]
|
|
206
|
+
}, [[1, "mouseup", "onMouseDown"]]]);
|
|
207
|
+
function defineCustomElement$1() {
|
|
208
|
+
if (typeof customElements === "undefined") {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
const components = ["ix-animated-tabs", "ix-icon"];
|
|
212
|
+
components.forEach(tagName => { switch (tagName) {
|
|
213
|
+
case "ix-animated-tabs":
|
|
214
|
+
if (!customElements.get(tagName)) {
|
|
215
|
+
customElements.define(tagName, AnimatedTabs);
|
|
216
|
+
}
|
|
217
|
+
break;
|
|
218
|
+
case "ix-icon":
|
|
219
|
+
if (!customElements.get(tagName)) {
|
|
220
|
+
defineCustomElement$2();
|
|
221
|
+
}
|
|
222
|
+
break;
|
|
223
|
+
} });
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
const IxAnimatedTabs = AnimatedTabs;
|
|
227
|
+
const defineCustomElement = defineCustomElement$1;
|
|
228
|
+
|
|
229
|
+
export { IxAnimatedTabs, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface IxApplicationHeader extends Components.IxApplicationHeader, HTMLElement {}
|
|
4
|
+
export const IxApplicationHeader: {
|
|
5
|
+
prototype: IxApplicationHeader;
|
|
6
|
+
new (): IxApplicationHeader;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface IxBasicNavigation extends Components.IxBasicNavigation, HTMLElement {}
|
|
4
|
+
export const IxBasicNavigation: {
|
|
5
|
+
prototype: IxBasicNavigation;
|
|
6
|
+
new (): IxBasicNavigation;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$2 } from './application-header.js';
|
|
3
|
+
|
|
4
|
+
const basicNavigationCss = ".sc-ix-basic-navigation-h{display:flex;position:relative;width:100%;height:100%;flex-direction:column}.sc-ix-basic-navigation-h ix-application-header.sc-ix-basic-navigation{z-index:calc(var(--theme-z-index-sticky) + 1)}.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{display:flex;height:calc(100% - 2.75rem);width:calc(100% - 4rem);position:relative;margin-left:4rem;overflow:auto}.hide-header.sc-ix-basic-navigation-h .content.sc-ix-basic-navigation{height:100%}";
|
|
5
|
+
|
|
6
|
+
const BasicNavigation = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
/**
|
|
11
|
+
* Hide application header
|
|
12
|
+
*/
|
|
13
|
+
this.hideHeader = false;
|
|
14
|
+
}
|
|
15
|
+
get menu() {
|
|
16
|
+
return this.hostElement.querySelector('ix-menu');
|
|
17
|
+
}
|
|
18
|
+
componentDidRender() {
|
|
19
|
+
if (this.menu) {
|
|
20
|
+
this.appendMenu();
|
|
21
|
+
this.adjustMenuHeight();
|
|
22
|
+
this.menu.applicationName = this.applicationName;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
appendMenu() {
|
|
26
|
+
this.hostElement.querySelector('#menu-placeholder').appendChild(this.menu);
|
|
27
|
+
}
|
|
28
|
+
adjustMenuHeight() {
|
|
29
|
+
if (!this.hideHeader) {
|
|
30
|
+
this.menu.style.height = 'calc(100% - 2.75rem)';
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
return (h(Host, { class: {
|
|
35
|
+
'hide-header': this.hideHeader,
|
|
36
|
+
} }, !this.hideHeader ? (h("ix-application-header", { name: this.applicationName }, h("slot", { name: "logo" }))) : null, h("div", { id: "menu-placeholder" }), h("div", { class: "content", onClick: () => this.menu.toggleMenu(false) }, h("slot", null))));
|
|
37
|
+
}
|
|
38
|
+
get hostElement() { return this; }
|
|
39
|
+
static get style() { return basicNavigationCss; }
|
|
40
|
+
}, [6, "ix-basic-navigation", {
|
|
41
|
+
"applicationName": [1, "application-name"],
|
|
42
|
+
"hideHeader": [4, "hide-header"]
|
|
43
|
+
}]);
|
|
44
|
+
function defineCustomElement$1() {
|
|
45
|
+
if (typeof customElements === "undefined") {
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const components = ["ix-basic-navigation", "ix-application-header"];
|
|
49
|
+
components.forEach(tagName => { switch (tagName) {
|
|
50
|
+
case "ix-basic-navigation":
|
|
51
|
+
if (!customElements.get(tagName)) {
|
|
52
|
+
customElements.define(tagName, BasicNavigation);
|
|
53
|
+
}
|
|
54
|
+
break;
|
|
55
|
+
case "ix-application-header":
|
|
56
|
+
if (!customElements.get(tagName)) {
|
|
57
|
+
defineCustomElement$2();
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
} });
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const IxBasicNavigation = BasicNavigation;
|
|
64
|
+
const defineCustomElement = defineCustomElement$1;
|
|
65
|
+
|
|
66
|
+
export { IxBasicNavigation, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface IxBlind extends Components.IxBlind, HTMLElement {}
|
|
4
|
+
export const IxBlind: {
|
|
5
|
+
prototype: IxBlind;
|
|
6
|
+
new (): IxBlind;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as anime } from './anime.es.js';
|
|
3
|
+
|
|
4
|
+
const blindCss = ".sc-ix-blind-h{display:flex;flex-direction:column;background-color:var(--theme-blind-base--background);border:solid var(--theme-blind--border-thickness) var(--theme-blind-base--border-color);border-radius:var(--theme-blind--border-radius);overflow:hidden}.sc-ix-blind-h .blind-header.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;min-height:3rem;height:3rem;border:solid var(--theme-blind--border-thickness) transparent;border-radius:var(--theme-blind--border-radius) var(--theme-blind--border-radius) 0 0;padding-right:1rem;transition:border-radius 150ms;cursor:pointer;z-index:1;color:var(--theme-blind-header-closed--color);background-color:var(--theme-blind-header-closed--background)}.sc-ix-blind-h .blind-header.sc-ix-blind .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color);padding:0.25rem 0.5rem}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-ix-blind-h .blind-header.sc-ix-blind .blind-header-title.sc-ix-blind .blind-header-title-default.sc-ix-blind{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1rem;font-weight:700;line-height:1.5em;color:var(--theme-color-std-text)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--hover)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-open--color--active)}.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus,.sc-ix-blind-h .blind-header.sc-ix-blind:not(.disabled):not(:disabled):focus-visible{border-color:var(--theme-focus--border-color)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind{border-radius:var(--theme-blind--border-radius)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover{background-color:var(--theme-blind-header-open--background--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):hover .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--hover)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled){cursor:pointer}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active{background-color:var(--theme-blind-header-open--background--active)}.sc-ix-blind-h .blind-header.closed.sc-ix-blind:not(.disabled):not(:disabled):active .glyph.sc-ix-blind{color:var(--theme-blind-header-icon-closed--color--active)}.sc-ix-blind-h .blind-custom-header.sc-ix-blind{display:flex;align-items:center}.sc-ix-blind-h .blind-content.sc-ix-blind{display:block;padding:1rem;max-height:1;transition-property:padding;transition-duration:150ms;transition-timing-function:ease-in}.sc-ix-blind-h .blind-content.hide.sc-ix-blind{max-height:0;padding-top:0px;padding-bottom:0px}";
|
|
5
|
+
|
|
6
|
+
const Blind = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.collapsedChange = createEvent(this, "collapsedChange", 7);
|
|
11
|
+
/**
|
|
12
|
+
* Collapsed state
|
|
13
|
+
*/
|
|
14
|
+
this.collapsed = false;
|
|
15
|
+
}
|
|
16
|
+
onHeaderClick(e) {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
e.stopImmediatePropagation();
|
|
19
|
+
this.collapsed = !this.collapsed;
|
|
20
|
+
this.collapsedChange.emit(this.collapsed);
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
this.animateCollapse(this.collapsed);
|
|
24
|
+
}
|
|
25
|
+
get content() {
|
|
26
|
+
return this.hostElement.querySelector('.blind-content');
|
|
27
|
+
}
|
|
28
|
+
animation(isCollapsed) {
|
|
29
|
+
this.animateCollapse(isCollapsed);
|
|
30
|
+
}
|
|
31
|
+
animateCollapse(isCollapsed) {
|
|
32
|
+
if (isCollapsed) {
|
|
33
|
+
this.rotateChevronRight();
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.rotateChevronDown();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
rotateChevronDown() {
|
|
40
|
+
anime({
|
|
41
|
+
targets: this.chevronRef,
|
|
42
|
+
duration: 150,
|
|
43
|
+
easing: 'easeInOutSine',
|
|
44
|
+
rotateZ: 90,
|
|
45
|
+
});
|
|
46
|
+
anime({
|
|
47
|
+
targets: this.content,
|
|
48
|
+
duration: 150,
|
|
49
|
+
easing: 'easeInOutSine',
|
|
50
|
+
opacity: 1,
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
rotateChevronRight() {
|
|
54
|
+
anime({
|
|
55
|
+
targets: this.chevronRef,
|
|
56
|
+
duration: 150,
|
|
57
|
+
easing: 'easeInOutSine',
|
|
58
|
+
rotateZ: 0,
|
|
59
|
+
});
|
|
60
|
+
anime({
|
|
61
|
+
targets: this.content,
|
|
62
|
+
duration: 150,
|
|
63
|
+
easing: 'easeInOutSine',
|
|
64
|
+
opacity: 0,
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return (h(Host, null, h("div", { class: {
|
|
69
|
+
'blind-header': true,
|
|
70
|
+
closed: this.collapsed,
|
|
71
|
+
}, onClick: (e) => this.onHeaderClick(e) }, h("span", { ref: (ref) => (this.chevronRef = ref), class: {
|
|
72
|
+
glyph: true,
|
|
73
|
+
'glyph-chevron-right-small': true,
|
|
74
|
+
} }), h("div", { class: "blind-header-title" }, this.label !== undefined ? (h("span", { class: "blind-header-title-default" }, this.label)) : (h("slot", { name: "custom-header" })))), h("div", { class: {
|
|
75
|
+
'blind-content': true,
|
|
76
|
+
hide: this.collapsed,
|
|
77
|
+
} }, h("slot", null))));
|
|
78
|
+
}
|
|
79
|
+
get hostElement() { return this; }
|
|
80
|
+
static get watchers() { return {
|
|
81
|
+
"collapsed": ["animation"]
|
|
82
|
+
}; }
|
|
83
|
+
static get style() { return blindCss; }
|
|
84
|
+
}, [6, "ix-blind", {
|
|
85
|
+
"collapsed": [1540],
|
|
86
|
+
"label": [1]
|
|
87
|
+
}]);
|
|
88
|
+
function defineCustomElement$1() {
|
|
89
|
+
if (typeof customElements === "undefined") {
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
const components = ["ix-blind"];
|
|
93
|
+
components.forEach(tagName => { switch (tagName) {
|
|
94
|
+
case "ix-blind":
|
|
95
|
+
if (!customElements.get(tagName)) {
|
|
96
|
+
customElements.define(tagName, Blind);
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
} });
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
const IxBlind = Blind;
|
|
103
|
+
const defineCustomElement = defineCustomElement$1;
|
|
104
|
+
|
|
105
|
+
export { IxBlind, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface IxBreadcrumbItem extends Components.IxBreadcrumbItem, HTMLElement {}
|
|
4
|
+
export const IxBreadcrumbItem: {
|
|
5
|
+
prototype: IxBreadcrumbItem;
|
|
6
|
+
new (): IxBreadcrumbItem;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const breadcrumbItemCss = ".sc-ix-breadcrumb-item-h{display:block}";
|
|
4
|
+
|
|
5
|
+
const BreadcrumbItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, null, h("slot", null)));
|
|
12
|
+
}
|
|
13
|
+
static get style() { return breadcrumbItemCss; }
|
|
14
|
+
}, [6, "ix-breadcrumb-item", {
|
|
15
|
+
"label": [1],
|
|
16
|
+
"icon": [1]
|
|
17
|
+
}]);
|
|
18
|
+
function defineCustomElement$1() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["ix-breadcrumb-item"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "ix-breadcrumb-item":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, BreadcrumbItem);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const IxBreadcrumbItem = BreadcrumbItem;
|
|
33
|
+
const defineCustomElement = defineCustomElement$1;
|
|
34
|
+
|
|
35
|
+
export { IxBreadcrumbItem, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface IxBreadcrumb extends Components.IxBreadcrumb, HTMLElement {}
|
|
4
|
+
export const IxBreadcrumb: {
|
|
5
|
+
prototype: IxBreadcrumb;
|
|
6
|
+
new (): IxBreadcrumb;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|