@siemens/ix 0.0.0-pr-1974-20250627114851 → 0.0.0-pr-1974-20250627142646
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/components/custom-elements.d.ts +11 -0
- package/components/index.d.ts +33 -0
- package/components/index.js +122 -0
- package/components/index.js.map +1 -0
- package/components/ix-action-card.d.ts +11 -0
- package/components/ix-action-card.js +72 -0
- package/components/ix-action-card.js.map +1 -0
- package/components/ix-application-header.d.ts +11 -0
- package/components/ix-application-header.js +9 -0
- package/components/ix-application-header.js.map +1 -0
- package/components/ix-application-sidebar.d.ts +11 -0
- package/components/ix-application-sidebar.js +64 -0
- package/components/ix-application-sidebar.js.map +1 -0
- package/components/ix-application-switch-modal.d.ts +11 -0
- package/components/ix-application-switch-modal.js +106 -0
- package/components/ix-application-switch-modal.js.map +1 -0
- package/components/ix-application.d.ts +11 -0
- package/components/ix-application.js +148 -0
- package/components/ix-application.js.map +1 -0
- package/components/ix-avatar.d.ts +11 -0
- package/components/ix-avatar.js +9 -0
- package/components/ix-avatar.js.map +1 -0
- package/components/ix-basic-navigation.d.ts +11 -0
- package/components/ix-basic-navigation.js +154 -0
- package/components/ix-basic-navigation.js.map +1 -0
- package/components/ix-blind.d.ts +11 -0
- package/components/ix-blind.js +130 -0
- package/components/ix-blind.js.map +1 -0
- package/components/ix-breadcrumb-item.d.ts +11 -0
- package/components/ix-breadcrumb-item.js +9 -0
- package/components/ix-breadcrumb-item.js.map +1 -0
- package/components/ix-breadcrumb.d.ts +11 -0
- package/components/ix-breadcrumb.js +169 -0
- package/components/ix-breadcrumb.js.map +1 -0
- package/components/ix-button.d.ts +11 -0
- package/components/ix-button.js +9 -0
- package/components/ix-button.js.map +1 -0
- package/components/ix-card-accordion.d.ts +11 -0
- package/components/ix-card-accordion.js +9 -0
- package/components/ix-card-accordion.js.map +1 -0
- package/components/ix-card-content.d.ts +11 -0
- package/components/ix-card-content.js +9 -0
- package/components/ix-card-content.js.map +1 -0
- package/components/ix-card-list.d.ts +11 -0
- package/components/ix-card-list.js +256 -0
- package/components/ix-card-list.js.map +1 -0
- package/components/ix-card-title.d.ts +11 -0
- package/components/ix-card-title.js +9 -0
- package/components/ix-card-title.js.map +1 -0
- package/components/ix-card.d.ts +11 -0
- package/components/ix-card.js +9 -0
- package/components/ix-card.js.map +1 -0
- package/components/ix-category-filter.d.ts +11 -0
- package/components/ix-category-filter.js +600 -0
- package/components/ix-category-filter.js.map +1 -0
- package/components/ix-checkbox-group.d.ts +11 -0
- package/components/ix-checkbox-group.js +158 -0
- package/components/ix-checkbox-group.js.map +1 -0
- package/components/ix-checkbox.d.ts +11 -0
- package/components/ix-checkbox.js +163 -0
- package/components/ix-checkbox.js.map +1 -0
- package/components/ix-chip.d.ts +11 -0
- package/components/ix-chip.js +154 -0
- package/components/ix-chip.js.map +1 -0
- package/components/ix-col.d.ts +11 -0
- package/components/ix-col.js +9 -0
- package/components/ix-col.js.map +1 -0
- package/components/ix-content-header.d.ts +11 -0
- package/components/ix-content-header.js +73 -0
- package/components/ix-content-header.js.map +1 -0
- package/components/ix-content.d.ts +11 -0
- package/components/ix-content.js +49 -0
- package/components/ix-content.js.map +1 -0
- package/components/ix-css-grid-item.d.ts +11 -0
- package/components/ix-css-grid-item.js +40 -0
- package/components/ix-css-grid-item.js.map +1 -0
- package/components/ix-css-grid.d.ts +11 -0
- package/components/ix-css-grid.js +117 -0
- package/components/ix-css-grid.js.map +1 -0
- package/components/ix-custom-field.d.ts +11 -0
- package/components/ix-custom-field.js +112 -0
- package/components/ix-custom-field.js.map +1 -0
- package/components/ix-date-dropdown.d.ts +11 -0
- package/components/ix-date-dropdown.js +368 -0
- package/components/ix-date-dropdown.js.map +1 -0
- package/components/ix-date-input.d.ts +11 -0
- package/components/ix-date-input.js +393 -0
- package/components/ix-date-input.js.map +1 -0
- package/components/ix-date-picker.d.ts +11 -0
- package/components/ix-date-picker.js +9 -0
- package/components/ix-date-picker.js.map +1 -0
- package/components/ix-date-time-card.d.ts +11 -0
- package/components/ix-date-time-card.js +9 -0
- package/components/ix-date-time-card.js.map +1 -0
- package/components/ix-datetime-picker.d.ts +11 -0
- package/components/ix-datetime-picker.js +204 -0
- package/components/ix-datetime-picker.js.map +1 -0
- package/components/ix-divider.d.ts +11 -0
- package/components/ix-divider.js +9 -0
- package/components/ix-divider.js.map +1 -0
- package/components/ix-drawer.d.ts +11 -0
- package/components/ix-drawer.js +200 -0
- package/components/ix-drawer.js.map +1 -0
- package/components/ix-dropdown-button.d.ts +11 -0
- package/components/ix-dropdown-button.js +106 -0
- package/components/ix-dropdown-button.js.map +1 -0
- package/components/ix-dropdown-header.d.ts +11 -0
- package/components/ix-dropdown-header.js +44 -0
- package/components/ix-dropdown-header.js.map +1 -0
- package/components/ix-dropdown-item.d.ts +11 -0
- package/components/ix-dropdown-item.js +9 -0
- package/components/ix-dropdown-item.js.map +1 -0
- package/components/ix-dropdown-quick-actions.d.ts +11 -0
- package/components/ix-dropdown-quick-actions.js +36 -0
- package/components/ix-dropdown-quick-actions.js.map +1 -0
- package/components/ix-dropdown.d.ts +11 -0
- package/components/ix-dropdown.js +9 -0
- package/components/ix-dropdown.js.map +1 -0
- package/components/ix-empty-state.d.ts +11 -0
- package/components/ix-empty-state.js +65 -0
- package/components/ix-empty-state.js.map +1 -0
- package/components/ix-event-list-item.d.ts +11 -0
- package/components/ix-event-list-item.js +72 -0
- package/components/ix-event-list-item.js.map +1 -0
- package/components/ix-event-list.d.ts +11 -0
- package/components/ix-event-list.js +173 -0
- package/components/ix-event-list.js.map +1 -0
- package/components/ix-expanding-search.d.ts +11 -0
- package/components/ix-expanding-search.js +145 -0
- package/components/ix-expanding-search.js.map +1 -0
- package/components/ix-field-label.d.ts +11 -0
- package/components/ix-field-label.js +9 -0
- package/components/ix-field-label.js.map +1 -0
- package/components/ix-field-wrapper.d.ts +11 -0
- package/components/ix-field-wrapper.js +9 -0
- package/components/ix-field-wrapper.js.map +1 -0
- package/components/ix-filter-chip.d.ts +11 -0
- package/components/ix-filter-chip.js +9 -0
- package/components/ix-filter-chip.js.map +1 -0
- package/components/ix-flip-tile-content.d.ts +11 -0
- package/components/ix-flip-tile-content.js +44 -0
- package/components/ix-flip-tile-content.js.map +1 -0
- package/components/ix-flip-tile.d.ts +11 -0
- package/components/ix-flip-tile.js +153 -0
- package/components/ix-flip-tile.js.map +1 -0
- package/components/ix-group-context-menu.d.ts +11 -0
- package/components/ix-group-context-menu.js +9 -0
- package/components/ix-group-context-menu.js.map +1 -0
- package/components/ix-group-item.d.ts +11 -0
- package/components/ix-group-item.js +9 -0
- package/components/ix-group-item.js.map +1 -0
- package/components/ix-group.d.ts +11 -0
- package/components/ix-group.js +221 -0
- package/components/ix-group.js.map +1 -0
- package/components/ix-helper-text.d.ts +11 -0
- package/components/ix-helper-text.js +95 -0
- package/components/ix-helper-text.js.map +1 -0
- package/components/ix-icon-button.d.ts +11 -0
- package/components/ix-icon-button.js +9 -0
- package/components/ix-icon-button.js.map +1 -0
- package/components/ix-icon-toggle-button.d.ts +11 -0
- package/components/ix-icon-toggle-button.js +149 -0
- package/components/ix-icon-toggle-button.js.map +1 -0
- package/components/ix-input-group.d.ts +11 -0
- package/components/ix-input-group.js +152 -0
- package/components/ix-input-group.js.map +1 -0
- package/components/ix-input.d.ts +11 -0
- package/components/ix-input.js +248 -0
- package/components/ix-input.js.map +1 -0
- package/components/ix-key-value-list.d.ts +11 -0
- package/components/ix-key-value-list.js +42 -0
- package/components/ix-key-value-list.js.map +1 -0
- package/components/ix-key-value.d.ts +11 -0
- package/components/ix-key-value.js +48 -0
- package/components/ix-key-value.js.map +1 -0
- package/components/ix-kpi.d.ts +11 -0
- package/components/ix-kpi.js +74 -0
- package/components/ix-kpi.js.map +1 -0
- package/components/ix-layout-auto.d.ts +11 -0
- package/components/ix-layout-auto.js +113 -0
- package/components/ix-layout-auto.js.map +1 -0
- package/components/ix-layout-grid.d.ts +11 -0
- package/components/ix-layout-grid.js +9 -0
- package/components/ix-layout-grid.js.map +1 -0
- package/components/ix-link-button.d.ts +11 -0
- package/components/ix-link-button.js +57 -0
- package/components/ix-link-button.js.map +1 -0
- package/components/ix-map-navigation-overlay.d.ts +11 -0
- package/components/ix-map-navigation-overlay.js +9 -0
- package/components/ix-map-navigation-overlay.js.map +1 -0
- package/components/ix-map-navigation.d.ts +11 -0
- package/components/ix-map-navigation.js +240 -0
- package/components/ix-map-navigation.js.map +1 -0
- package/components/ix-menu-about-item.d.ts +11 -0
- package/components/ix-menu-about-item.js +51 -0
- package/components/ix-menu-about-item.js.map +1 -0
- package/components/ix-menu-about-news.d.ts +11 -0
- package/components/ix-menu-about-news.js +93 -0
- package/components/ix-menu-about-news.js.map +1 -0
- package/components/ix-menu-about.d.ts +11 -0
- package/components/ix-menu-about.js +89 -0
- package/components/ix-menu-about.js.map +1 -0
- package/components/ix-menu-avatar-item.d.ts +11 -0
- package/components/ix-menu-avatar-item.js +9 -0
- package/components/ix-menu-avatar-item.js.map +1 -0
- package/components/ix-menu-avatar.d.ts +11 -0
- package/components/ix-menu-avatar.js +115 -0
- package/components/ix-menu-avatar.js.map +1 -0
- package/components/ix-menu-category.d.ts +11 -0
- package/components/ix-menu-category.js +284 -0
- package/components/ix-menu-category.js.map +1 -0
- package/components/ix-menu-expand-icon.d.ts +11 -0
- package/components/ix-menu-expand-icon.js +9 -0
- package/components/ix-menu-expand-icon.js.map +1 -0
- package/components/ix-menu-item.d.ts +11 -0
- package/components/ix-menu-item.js +9 -0
- package/components/ix-menu-item.js.map +1 -0
- package/components/ix-menu-settings-item.d.ts +11 -0
- package/components/ix-menu-settings-item.js +51 -0
- package/components/ix-menu-settings-item.js.map +1 -0
- package/components/ix-menu-settings.d.ts +11 -0
- package/components/ix-menu-settings.js +9 -0
- package/components/ix-menu-settings.js.map +1 -0
- package/components/ix-menu.d.ts +11 -0
- package/components/ix-menu.js +590 -0
- package/components/ix-menu.js.map +1 -0
- package/components/ix-message-bar.d.ts +11 -0
- package/components/ix-message-bar.js +103 -0
- package/components/ix-message-bar.js.map +1 -0
- package/components/ix-modal-content.d.ts +11 -0
- package/components/ix-modal-content.js +9 -0
- package/components/ix-modal-content.js.map +1 -0
- package/components/ix-modal-footer.d.ts +11 -0
- package/components/ix-modal-footer.js +36 -0
- package/components/ix-modal-footer.js.map +1 -0
- package/components/ix-modal-header.d.ts +11 -0
- package/components/ix-modal-header.js +9 -0
- package/components/ix-modal-header.js.map +1 -0
- package/components/ix-modal-loading.d.ts +11 -0
- package/components/ix-modal-loading.js +42 -0
- package/components/ix-modal-loading.js.map +1 -0
- package/components/ix-modal.d.ts +11 -0
- package/components/ix-modal.js +241 -0
- package/components/ix-modal.js.map +1 -0
- package/components/ix-number-input.d.ts +11 -0
- package/components/ix-number-input.js +241 -0
- package/components/ix-number-input.js.map +1 -0
- package/components/ix-pagination.d.ts +11 -0
- package/components/ix-pagination.js +261 -0
- package/components/ix-pagination.js.map +1 -0
- package/components/ix-pane-layout.d.ts +11 -0
- package/components/ix-pane-layout.js +311 -0
- package/components/ix-pane-layout.js.map +1 -0
- package/components/ix-pane.d.ts +11 -0
- package/components/ix-pane.js +568 -0
- package/components/ix-pane.js.map +1 -0
- package/components/ix-pill.d.ts +11 -0
- package/components/ix-pill.js +127 -0
- package/components/ix-pill.js.map +1 -0
- package/components/ix-progress-indicator.d.ts +11 -0
- package/components/ix-progress-indicator.js +193 -0
- package/components/ix-progress-indicator.js.map +1 -0
- package/components/ix-push-card.d.ts +11 -0
- package/components/ix-push-card.js +82 -0
- package/components/ix-push-card.js.map +1 -0
- package/components/ix-radio-group.d.ts +11 -0
- package/components/ix-radio-group.js +195 -0
- package/components/ix-radio-group.js.map +1 -0
- package/components/ix-radio.d.ts +11 -0
- package/components/ix-radio.js +145 -0
- package/components/ix-radio.js.map +1 -0
- package/components/ix-row.d.ts +11 -0
- package/components/ix-row.js +9 -0
- package/components/ix-row.js.map +1 -0
- package/components/ix-select-item.d.ts +11 -0
- package/components/ix-select-item.js +9 -0
- package/components/ix-select-item.js.map +1 -0
- package/components/ix-select.d.ts +11 -0
- package/components/ix-select.js +9 -0
- package/components/ix-select.js.map +1 -0
- package/components/ix-slider.d.ts +11 -0
- package/components/ix-slider.js +255 -0
- package/components/ix-slider.js.map +1 -0
- package/components/ix-spinner.d.ts +11 -0
- package/components/ix-spinner.js +9 -0
- package/components/ix-spinner.js.map +1 -0
- package/components/ix-split-button.d.ts +11 -0
- package/components/ix-split-button.js +117 -0
- package/components/ix-split-button.js.map +1 -0
- package/components/ix-tab-item.d.ts +11 -0
- package/components/ix-tab-item.js +9 -0
- package/components/ix-tab-item.js.map +1 -0
- package/components/ix-tabs.d.ts +11 -0
- package/components/ix-tabs.js +9 -0
- package/components/ix-tabs.js.map +1 -0
- package/components/ix-textarea.d.ts +11 -0
- package/components/ix-textarea.js +192 -0
- package/components/ix-textarea.js.map +1 -0
- package/components/ix-tile.d.ts +11 -0
- package/components/ix-tile.js +63 -0
- package/components/ix-tile.js.map +1 -0
- package/components/ix-time-input.d.ts +11 -0
- package/components/ix-time-input.js +442 -0
- package/components/ix-time-input.js.map +1 -0
- package/components/ix-time-picker.d.ts +11 -0
- package/components/ix-time-picker.js +9 -0
- package/components/ix-time-picker.js.map +1 -0
- package/components/ix-toast-container.d.ts +11 -0
- package/components/ix-toast-container.js +143 -0
- package/components/ix-toast-container.js.map +1 -0
- package/components/ix-toast.d.ts +11 -0
- package/components/ix-toast.js +9 -0
- package/components/ix-toast.js.map +1 -0
- package/components/ix-toggle-button.d.ts +11 -0
- package/components/ix-toggle-button.js +128 -0
- package/components/ix-toggle-button.js.map +1 -0
- package/components/ix-toggle.d.ts +11 -0
- package/components/ix-toggle.js +188 -0
- package/components/ix-toggle.js.map +1 -0
- package/components/ix-tooltip.d.ts +11 -0
- package/components/ix-tooltip.js +9 -0
- package/components/ix-tooltip.js.map +1 -0
- package/components/ix-tree-item.d.ts +11 -0
- package/components/ix-tree-item.js +9 -0
- package/components/ix-tree-item.js.map +1 -0
- package/components/ix-tree.d.ts +11 -0
- package/components/ix-tree.js +610 -0
- package/components/ix-tree.js.map +1 -0
- package/components/ix-typography.d.ts +11 -0
- package/components/ix-typography.js +9 -0
- package/components/ix-typography.js.map +1 -0
- package/components/ix-upload.d.ts +11 -0
- package/components/ix-upload.js +234 -0
- package/components/ix-upload.js.map +1 -0
- package/components/ix-validation-tooltip.d.ts +11 -0
- package/components/ix-validation-tooltip.js +182 -0
- package/components/ix-validation-tooltip.js.map +1 -0
- package/components/ix-workflow-step.d.ts +11 -0
- package/components/ix-workflow-step.js +147 -0
- package/components/ix-workflow-step.js.map +1 -0
- package/components/ix-workflow-steps.d.ts +11 -0
- package/components/ix-workflow-steps.js +112 -0
- package/components/ix-workflow-steps.js.map +1 -0
- package/components/p--2LOMK-5.js +105 -0
- package/components/p--2LOMK-5.js.map +1 -0
- package/components/p-5uA5ifmT.js +72 -0
- package/components/p-5uA5ifmT.js.map +1 -0
- package/components/p-9dLpp1OQ.js +71 -0
- package/components/p-9dLpp1OQ.js.map +1 -0
- package/components/p-B1Gzt08S.js +51 -0
- package/components/p-B1Gzt08S.js.map +1 -0
- package/components/p-B3duqvjW.js +33 -0
- package/components/p-B3duqvjW.js.map +1 -0
- package/components/p-B6e7P4xT.js +42 -0
- package/components/p-B6e7P4xT.js.map +1 -0
- package/components/p-BGzrnl_l.js +21 -0
- package/components/p-BGzrnl_l.js.map +1 -0
- package/components/p-BH3f5fa3.js +37 -0
- package/components/p-BH3f5fa3.js.map +1 -0
- package/components/p-BJcX2_-N.js +110 -0
- package/components/p-BJcX2_-N.js.map +1 -0
- package/components/p-BMU8AlMD.js +107 -0
- package/components/p-BMU8AlMD.js.map +1 -0
- package/components/p-BNu7ac9R.js +79 -0
- package/components/p-BNu7ac9R.js.map +1 -0
- package/components/p-BP-8cvOJ.js +90 -0
- package/components/p-BP-8cvOJ.js.map +1 -0
- package/components/p-BQ6999e5.js +22 -0
- package/components/p-BQ6999e5.js.map +1 -0
- package/components/p-BXjBChze.js +130 -0
- package/components/p-BXjBChze.js.map +1 -0
- package/components/p-Bb7pDeaQ.js +144 -0
- package/components/p-Bb7pDeaQ.js.map +1 -0
- package/components/p-BcGAKMQ_.js +76 -0
- package/components/p-BcGAKMQ_.js.map +1 -0
- package/components/p-BdCnOrqW.js +47 -0
- package/components/p-BdCnOrqW.js.map +1 -0
- package/components/p-BedSAVZh.js +90 -0
- package/components/p-BedSAVZh.js.map +1 -0
- package/components/p-BhLbU_vK.js +129 -0
- package/components/p-BhLbU_vK.js.map +1 -0
- package/components/p-Bi1VyG64.js +46 -0
- package/components/p-Bi1VyG64.js.map +1 -0
- package/components/p-BkWbk29R.js +75 -0
- package/components/p-BkWbk29R.js.map +1 -0
- package/components/p-BmmgJGNd.js +64 -0
- package/components/p-BmmgJGNd.js.map +1 -0
- package/components/p-Bu-j8wxy.js +162 -0
- package/components/p-Bu-j8wxy.js.map +1 -0
- package/components/p-BuJ6BWIi.js +2042 -0
- package/components/p-BuJ6BWIi.js.map +1 -0
- package/components/p-Bvsx56zn.js +203 -0
- package/components/p-Bvsx56zn.js.map +1 -0
- package/components/p-BygLxZIM.js +54 -0
- package/components/p-BygLxZIM.js.map +1 -0
- package/components/p-Bzyt4nTL.js +110 -0
- package/components/p-Bzyt4nTL.js.map +1 -0
- package/components/p-C6o-AByw.js +33 -0
- package/components/p-C6o-AByw.js.map +1 -0
- package/components/p-CAqtPJ4-.js +1786 -0
- package/components/p-CAqtPJ4-.js.map +1 -0
- package/components/p-CGwHQeMX.js +54 -0
- package/components/p-CGwHQeMX.js.map +1 -0
- package/components/p-CKkTXQiw.js +164 -0
- package/components/p-CKkTXQiw.js.map +1 -0
- package/components/p-CX81WQtk.js +14 -0
- package/components/p-CX81WQtk.js.map +1 -0
- package/components/p-Cb-eBcUF.js +61 -0
- package/components/p-Cb-eBcUF.js.map +1 -0
- package/components/p-Cp5J1RZq.js +765 -0
- package/components/p-Cp5J1RZq.js.map +1 -0
- package/components/p-Cpxz1Kcs.js +19 -0
- package/components/p-Cpxz1Kcs.js.map +1 -0
- package/components/p-Cs8DEpjh.js +611 -0
- package/components/p-Cs8DEpjh.js.map +1 -0
- package/components/p-Cut5OrRw.js +461 -0
- package/components/p-Cut5OrRw.js.map +1 -0
- package/components/p-CvvOe8xV.js +151 -0
- package/components/p-CvvOe8xV.js.map +1 -0
- package/components/p-CyFFBc_G.js +100 -0
- package/components/p-CyFFBc_G.js.map +1 -0
- package/components/p-D3Aowo70.js +113 -0
- package/components/p-D3Aowo70.js.map +1 -0
- package/components/p-D3K9vmFp.js +157 -0
- package/components/p-D3K9vmFp.js.map +1 -0
- package/components/p-D6vSVaHq.js +26 -0
- package/components/p-D6vSVaHq.js.map +1 -0
- package/components/p-D9LaIICQ.js +118 -0
- package/components/p-D9LaIICQ.js.map +1 -0
- package/components/p-DCx3-1oU.js +310 -0
- package/components/p-DCx3-1oU.js.map +1 -0
- package/components/p-DDHkNPby.js +79 -0
- package/components/p-DDHkNPby.js.map +1 -0
- package/components/p-DJ7U7oUq.js +89 -0
- package/components/p-DJ7U7oUq.js.map +1 -0
- package/components/p-DMlmNp-B.js +33 -0
- package/components/p-DMlmNp-B.js.map +1 -0
- package/components/p-DWO4uklL.js +146 -0
- package/components/p-DWO4uklL.js.map +1 -0
- package/components/p-DaztMgDr.js +757 -0
- package/components/p-DaztMgDr.js.map +1 -0
- package/components/p-DbR-LZrk.js +33 -0
- package/components/p-DbR-LZrk.js.map +1 -0
- package/components/p-DfbCO042.js +207 -0
- package/components/p-DfbCO042.js.map +1 -0
- package/components/p-DkGdSI6e.js +103 -0
- package/components/p-DkGdSI6e.js.map +1 -0
- package/components/p-DojBQCbP.js +55 -0
- package/components/p-DojBQCbP.js.map +1 -0
- package/components/p-Dp15M30K.js +20 -0
- package/components/p-Dp15M30K.js.map +1 -0
- package/components/p-Dp4RJcgZ.js +125 -0
- package/components/p-Dp4RJcgZ.js.map +1 -0
- package/components/p-DyHdZRT0.js +359 -0
- package/components/p-DyHdZRT0.js.map +1 -0
- package/components/p-DyMgW0fR.js +65 -0
- package/components/p-DyMgW0fR.js.map +1 -0
- package/components/p-G0biE2Kx.js +33 -0
- package/components/p-G0biE2Kx.js.map +1 -0
- package/components/p-JJddxCCh.js +42 -0
- package/components/p-JJddxCCh.js.map +1 -0
- package/components/p-Ooq8eqJM.js +33 -0
- package/components/p-Ooq8eqJM.js.map +1 -0
- package/components/p-Ou74PMQs.js +1313 -0
- package/components/p-Ou74PMQs.js.map +1 -0
- package/components/p-PxA_udyJ.js +254 -0
- package/components/p-PxA_udyJ.js.map +1 -0
- package/components/p-TNoCM8Wi.js +83 -0
- package/components/p-TNoCM8Wi.js.map +1 -0
- package/components/p-UQa1aROL.js +23 -0
- package/components/p-UQa1aROL.js.map +1 -0
- package/components/p-bDicGJUN.js +7697 -0
- package/components/p-bDicGJUN.js.map +1 -0
- package/components/p-bcj7UEIC.js +24 -0
- package/components/p-bcj7UEIC.js.map +1 -0
- package/components/p-kY0vP3rC.js +122 -0
- package/components/p-kY0vP3rC.js.map +1 -0
- package/components/p-qauH9Ci4.js +54 -0
- package/components/p-qauH9Ci4.js.map +1 -0
- package/components/p-r63hglsv.js +90 -0
- package/components/p-r63hglsv.js.map +1 -0
- package/components/p-tH4n038Z.js +48 -0
- package/components/p-tH4n038Z.js.map +1 -0
- package/components/package.json +9 -0
- package/package.json +3 -2
- package/dist/collection/components/application-header/test/application-header.ct.js +0 -389
- package/dist/collection/components/application-header/test/application-header.ct.js.map +0 -1
- package/dist/collection/components/avatar/test/avatar.ct.js +0 -85
- package/dist/collection/components/avatar/test/avatar.ct.js.map +0 -1
- package/dist/collection/components/blind/test/blind.ct.js +0 -16
- package/dist/collection/components/blind/test/blind.ct.js.map +0 -1
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js +0 -98
- package/dist/collection/components/breadcrumb/test/breadcrumb.ct.js.map +0 -1
- package/dist/collection/components/button/test/button.ct.js +0 -153
- package/dist/collection/components/button/test/button.ct.js.map +0 -1
- package/dist/collection/components/category-filter/test/category-filter.ct.js +0 -62
- package/dist/collection/components/category-filter/test/category-filter.ct.js.map +0 -1
- package/dist/collection/components/checkbox/tests/checkbox.ct.js +0 -86
- package/dist/collection/components/checkbox/tests/checkbox.ct.js.map +0 -1
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js +0 -48
- package/dist/collection/components/checkbox-group/test/checkbox-group.ct.js.map +0 -1
- package/dist/collection/components/chip/test/chip.ct.js +0 -76
- package/dist/collection/components/chip/test/chip.ct.js.map +0 -1
- package/dist/collection/components/custom-field/tests/custom-field.ct.js +0 -68
- package/dist/collection/components/custom-field/tests/custom-field.ct.js.map +0 -1
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js +0 -215
- package/dist/collection/components/date-dropdown/test/date-dropdown.ct.js.map +0 -1
- package/dist/collection/components/date-input/tests/date-input.ct.js +0 -117
- package/dist/collection/components/date-input/tests/date-input.ct.js.map +0 -1
- package/dist/collection/components/date-picker/test/date-picker.ct.js +0 -221
- package/dist/collection/components/date-picker/test/date-picker.ct.js.map +0 -1
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js +0 -55
- package/dist/collection/components/datetime-picker/test/datetime-picker.ct.js.map +0 -1
- package/dist/collection/components/drawer/test/drawer.ct.js +0 -67
- package/dist/collection/components/drawer/test/drawer.ct.js.map +0 -1
- package/dist/collection/components/dropdown/test/dropdown.ct.js +0 -624
- package/dist/collection/components/dropdown/test/dropdown.ct.js.map +0 -1
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js +0 -51
- package/dist/collection/components/dropdown-button/dropdown-button.ct.js.map +0 -1
- package/dist/collection/components/event-list/test/event-list.ct.js +0 -88
- package/dist/collection/components/event-list/test/event-list.ct.js.map +0 -1
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js +0 -56
- package/dist/collection/components/expanding-search/test/expanding-search.ct.js.map +0 -1
- package/dist/collection/components/field-label/tests/field-label.ct.js +0 -121
- package/dist/collection/components/field-label/tests/field-label.ct.js.map +0 -1
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js +0 -63
- package/dist/collection/components/field-wrapper/tests/field-wrapper.ct.js.map +0 -1
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js +0 -89
- package/dist/collection/components/flip-tile/test/flip-tile.ct.js.map +0 -1
- package/dist/collection/components/group/test/group.ct.js +0 -115
- package/dist/collection/components/group/test/group.ct.js.map +0 -1
- package/dist/collection/components/icon-button/test/icon-button.ct.js +0 -30
- package/dist/collection/components/icon-button/test/icon-button.ct.js.map +0 -1
- package/dist/collection/components/input/tests/form-ready.ct.js +0 -73
- package/dist/collection/components/input/tests/form-ready.ct.js.map +0 -1
- package/dist/collection/components/input/tests/validation.ct.js +0 -84
- package/dist/collection/components/input/tests/validation.ct.js.map +0 -1
- package/dist/collection/components/input-group/tests/input-group.ct.js +0 -161
- package/dist/collection/components/input-group/tests/input-group.ct.js.map +0 -1
- package/dist/collection/components/menu/test/menu.ct.js +0 -256
- package/dist/collection/components/menu/test/menu.ct.js.map +0 -1
- package/dist/collection/components/menu-about/test/menu-about.ct.js +0 -65
- package/dist/collection/components/menu-about/test/menu-about.ct.js.map +0 -1
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js +0 -47
- package/dist/collection/components/menu-avatar-item/test/menu-avatar-item.ct.js.map +0 -1
- package/dist/collection/components/menu-category/test/menu-category.ct.js +0 -274
- package/dist/collection/components/menu-category/test/menu-category.ct.js.map +0 -1
- package/dist/collection/components/menu-item/test/menu-item.ct.js +0 -67
- package/dist/collection/components/menu-item/test/menu-item.ct.js.map +0 -1
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js +0 -32
- package/dist/collection/components/menu-settings/test/menu-settings.ct.js.map +0 -1
- package/dist/collection/components/message-bar/test/message-bar.ct.js +0 -28
- package/dist/collection/components/message-bar/test/message-bar.ct.js.map +0 -1
- package/dist/collection/components/modal/test/modal.ct.js +0 -204
- package/dist/collection/components/modal/test/modal.ct.js.map +0 -1
- package/dist/collection/components/pagination/test/pagination.ct.js +0 -68
- package/dist/collection/components/pagination/test/pagination.ct.js.map +0 -1
- package/dist/collection/components/pane/test/panes.ct.js +0 -59
- package/dist/collection/components/pane/test/panes.ct.js.map +0 -1
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js +0 -60
- package/dist/collection/components/pane-layout/test/pane-layout.ct.js.map +0 -1
- package/dist/collection/components/pill/test/pill.ct.js +0 -63
- package/dist/collection/components/pill/test/pill.ct.js.map +0 -1
- package/dist/collection/components/radio/test/radio.ct.js +0 -77
- package/dist/collection/components/radio/test/radio.ct.js.map +0 -1
- package/dist/collection/components/radio-group/test/radio-group.ct.js +0 -117
- package/dist/collection/components/radio-group/test/radio-group.ct.js.map +0 -1
- package/dist/collection/components/select/test/select-keyboard.ct.js +0 -380
- package/dist/collection/components/select/test/select-keyboard.ct.js.map +0 -1
- package/dist/collection/components/select/test/select.ct.js +0 -594
- package/dist/collection/components/select/test/select.ct.js.map +0 -1
- package/dist/collection/components/slider/test/slider.ct.js +0 -65
- package/dist/collection/components/slider/test/slider.ct.js.map +0 -1
- package/dist/collection/components/tabs/test/tabs.ct.js +0 -134
- package/dist/collection/components/tabs/test/tabs.ct.js.map +0 -1
- package/dist/collection/components/time-input/test/time-input.ct.js +0 -62
- package/dist/collection/components/time-input/test/time-input.ct.js.map +0 -1
- package/dist/collection/components/time-picker/test/time-picker.ct.js +0 -172
- package/dist/collection/components/time-picker/test/time-picker.ct.js.map +0 -1
- package/dist/collection/components/toggle/test/toggle.ct.js +0 -84
- package/dist/collection/components/toggle/test/toggle.ct.js.map +0 -1
- package/dist/collection/components/tooltip/test/tooltip.ct.js +0 -243
- package/dist/collection/components/tooltip/test/tooltip.ct.js.map +0 -1
- package/dist/collection/components/tree/test/tree.ct.js +0 -355
- package/dist/collection/components/tree/test/tree.ct.js.map +0 -1
- package/dist/collection/components/upload/test/upload.ct.js +0 -17
- package/dist/collection/components/upload/test/upload.ct.js.map +0 -1
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js +0 -74
- package/dist/collection/components/workflow-steps/test/workflow-steps.ct.js.map +0 -1
- package/dist/collection/tests/utils/test/matchMedia.mock.js +0 -22
- package/dist/types/components/application-header/test/application-header.ct.d.ts +0 -1
- package/dist/types/components/avatar/test/avatar.ct.d.ts +0 -1
- package/dist/types/components/blind/test/blind.ct.d.ts +0 -1
- package/dist/types/components/breadcrumb/test/breadcrumb.ct.d.ts +0 -1
- package/dist/types/components/button/test/button.ct.d.ts +0 -7
- package/dist/types/components/category-filter/test/category-filter.ct.d.ts +0 -1
- package/dist/types/components/checkbox/tests/checkbox.ct.d.ts +0 -1
- package/dist/types/components/checkbox-group/test/checkbox-group.ct.d.ts +0 -1
- package/dist/types/components/chip/test/chip.ct.d.ts +0 -1
- package/dist/types/components/custom-field/tests/custom-field.ct.d.ts +0 -1
- package/dist/types/components/date-dropdown/test/date-dropdown.ct.d.ts +0 -1
- package/dist/types/components/date-input/tests/date-input.ct.d.ts +0 -1
- package/dist/types/components/date-picker/test/date-picker.ct.d.ts +0 -1
- package/dist/types/components/datetime-picker/test/datetime-picker.ct.d.ts +0 -1
- package/dist/types/components/drawer/test/drawer.ct.d.ts +0 -1
- package/dist/types/components/dropdown/test/dropdown.ct.d.ts +0 -1
- package/dist/types/components/dropdown-button/dropdown-button.ct.d.ts +0 -1
- package/dist/types/components/event-list/test/event-list.ct.d.ts +0 -1
- package/dist/types/components/expanding-search/test/expanding-search.ct.d.ts +0 -1
- package/dist/types/components/field-label/tests/field-label.ct.d.ts +0 -1
- package/dist/types/components/field-wrapper/tests/field-wrapper.ct.d.ts +0 -1
- package/dist/types/components/flip-tile/test/flip-tile.ct.d.ts +0 -1
- package/dist/types/components/group/test/group.ct.d.ts +0 -1
- package/dist/types/components/icon-button/test/icon-button.ct.d.ts +0 -1
- package/dist/types/components/input/tests/form-ready.ct.d.ts +0 -1
- package/dist/types/components/input/tests/validation.ct.d.ts +0 -1
- package/dist/types/components/input-group/tests/input-group.ct.d.ts +0 -1
- package/dist/types/components/menu/test/menu.ct.d.ts +0 -1
- package/dist/types/components/menu-about/test/menu-about.ct.d.ts +0 -1
- package/dist/types/components/menu-avatar-item/test/menu-avatar-item.ct.d.ts +0 -1
- package/dist/types/components/menu-category/test/menu-category.ct.d.ts +0 -1
- package/dist/types/components/menu-item/test/menu-item.ct.d.ts +0 -1
- package/dist/types/components/menu-settings/test/menu-settings.ct.d.ts +0 -1
- package/dist/types/components/message-bar/test/message-bar.ct.d.ts +0 -1
- package/dist/types/components/modal/test/modal.ct.d.ts +0 -8
- package/dist/types/components/pagination/test/pagination.ct.d.ts +0 -1
- package/dist/types/components/pane/test/panes.ct.d.ts +0 -1
- package/dist/types/components/pane-layout/test/pane-layout.ct.d.ts +0 -1
- package/dist/types/components/pill/test/pill.ct.d.ts +0 -1
- package/dist/types/components/radio/test/radio.ct.d.ts +0 -1
- package/dist/types/components/radio-group/test/radio-group.ct.d.ts +0 -1
- package/dist/types/components/select/test/select-keyboard.ct.d.ts +0 -1
- package/dist/types/components/select/test/select.ct.d.ts +0 -1
- package/dist/types/components/slider/test/slider.ct.d.ts +0 -1
- package/dist/types/components/tabs/test/tabs.ct.d.ts +0 -1
- package/dist/types/components/time-input/test/time-input.ct.d.ts +0 -1
- package/dist/types/components/time-picker/test/time-picker.ct.d.ts +0 -1
- package/dist/types/components/toggle/test/toggle.ct.d.ts +0 -1
- package/dist/types/components/tooltip/test/tooltip.ct.d.ts +0 -1
- package/dist/types/components/tree/test/tree.ct.d.ts +0 -1
- package/dist/types/components/upload/test/upload.ct.d.ts +0 -1
- package/dist/types/components/workflow-steps/test/workflow-steps.ct.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-key-value.js","mappings":";;AAAA,MAAM,WAAW,GAAG,4yCAA4yC;;MCoBnzC,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,GAAA;;;;AAgBE;;AAEG;AACK,QAAA,IAAa,CAAA,aAAA,GAA0B,KAAK;AAmCrD;IA5BC,MAAM,GAAA;QACJ,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EACH,KAAK,EAAE,CACL,mBAAA,EAAA,IAAI,CAAC,aAAa,KAAK,KAAK,GAAG,QAAQ,GAAG,KAC5C,CAAA,CAAE,EAAA,EAED,IAAI,CAAC,IAAI,KACR,CAAS,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAC,IAAI,EAAC,KAAK,EAAC,gBAAgB,GAAW,CACtE,EACD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mBAAmB,EAAA,EAC5B,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,gBAAgB,IAAE,IAAI,CAAC,KAAK,CAAO,EAC9C,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,cAAc,EAAE,IAAI;AACpB,gBAAA,iBAAiB,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS;AAC5C,aAAA,EAEA,EAAA,IAAI,CAAC,KAAK,KAAK,SAAS,IACvB,IAAI,CAAC,KAAK,KAEV,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,cAAc,EAAQ,CAAA,CAClC,CACG,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/key-value/key-value.scss?tag=ix-key-value&encapsulation=shadow","src/components/key-value/key-value.tsx"],"sourcesContent":["@import 'common-variables';\n@import 'mixins/text-truncation';\n\n:host(.keyValue) {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: $default-space;\n\n .keyValue__icon {\n padding: $tiny-space 0;\n }\n\n .keyValue__content {\n display: flex;\n flex-grow: 1;\n align-items: flex-start;\n\n &,\n .content__label,\n .content__value {\n @include ellipsis;\n max-width: 100%;\n }\n\n .content__label {\n color: var(--theme-color-soft-text);\n }\n\n .content__value {\n width: 100%;\n }\n }\n}\n\n:host(.keyValue.keyValue--column) {\n padding: $small-space 0;\n border-bottom: 1px solid var(--theme-color-soft-bdr);\n\n .keyValue__content {\n flex-direction: column;\n\n .content__label,\n .content__value:not(.has-customValue) {\n padding: 2px 0;\n }\n }\n}\n\n:host(.keyValue.keyValue--row) {\n padding: $tiny-space 0;\n\n .keyValue__content {\n flex-direction: row;\n gap: $default-space;\n align-items: center;\n\n .content__label,\n .content__value:not(.has-customValue) {\n padding: 6px 0;\n }\n\n .content__label {\n min-width: 8rem;\n }\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, h, Host, Prop } from '@stencil/core';\nimport type { KeyValueLabelPosition } from './key-value.types';\n\n/**\n * @slot custom-value - Optional custom value at key value instead of text value\n */\n@Component({\n tag: 'ix-key-value',\n styleUrl: 'key-value.scss',\n shadow: true,\n})\nexport class KeyValue {\n /**\n * Optional key value icon\n */\n @Prop() icon?: string;\n\n /**\n * Key value label\n */\n @Prop() label!: string;\n\n /**\n * Optional key value label position - 'top' or 'left'\n */\n @Prop() labelPosition: KeyValueLabelPosition = 'top';\n\n /**\n * Optional key value text value\n */\n @Prop() value?: string;\n\n render() {\n return (\n <Host\n class={`keyValue keyValue--${\n this.labelPosition === 'top' ? 'column' : 'row'\n }`}\n >\n {this.icon && (\n <ix-icon name={this.icon} size=\"24\" class=\"keyValue__icon\"></ix-icon>\n )}\n <div class=\"keyValue__content\">\n <div class=\"content__label\">{this.label}</div>\n <div\n class={{\n content__value: true,\n 'has-customValue': this.value === undefined,\n }}\n >\n {this.value !== undefined ? (\n this.value\n ) : (\n <slot name=\"custom-value\"></slot>\n )}\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxKpi extends Components.IxKpi, HTMLElement {}
|
|
4
|
+
export const IxKpi: {
|
|
5
|
+
prototype: IxKpi;
|
|
6
|
+
new (): IxKpi;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BuJ6BWIi.js';
|
|
2
|
+
import { o as iconWarning, A as iconAlarm } from './p-CGwHQeMX.js';
|
|
3
|
+
|
|
4
|
+
const kpiCss = ":host{display:flex;flex-grow:1;height:2.5rem;border-radius:var(--theme-kpi--border-radius);padding:0.375rem 0.25rem;min-width:0}:host *,:host *::after,:host *::before{box-sizing:border-box}:host ::-webkit-scrollbar-button{display:none}@-moz-document url-prefix(){:host *{scrollbar-color:var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);scrollbar-width:thin}}:host ::-webkit-scrollbar{width:0.5rem;height:0.5rem}:host ::-webkit-scrollbar-track{border-radius:5px;background:var(--theme-scrollbar-track--background)}:host ::-webkit-scrollbar-track:hover{background:var(--theme-scrollbar-track--background--hover)}:host ::-webkit-scrollbar-thumb{border-radius:5px;background:var(--theme-scrollbar-thumb--background)}:host ::-webkit-scrollbar-thumb:hover{background:var(--theme-scrollbar-thumb--background--hover)}:host ::-webkit-scrollbar-corner{display:none}:host span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .kpi-container{display:flex;height:100%;width:100%;border-block-end:2px solid grey}:host .kpi-container.alarm{border-block-end-color:var(--theme-color-alarm)}:host .kpi-container.warning{border-block-end-color:var(--theme-color-warning)}:host .kpi-container .kpi-label{display:flex;align-items:center;color:var(--theme-kpi-display-label--color);flex-grow:1;flex-shrink:9999}:host .kpi-container .kpi-label ix-icon{margin-inline-end:0.25rem}:host .kpi-container .kpi-value-container{display:flex;align-items:flex-end}:host .kpi-container .kpi-value{-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-family:Siemens Sans, sans-serif;font-size:1.375rem;font-weight:400;line-height:1.091em;color:var(--theme-color-std-text);color:var(--theme-kpi-display-value--color)}:host .kpi-container .kpi-unit{margin-inline-start:0.5rem;color:var(--theme-kpi-display-units--color)}:host .kpi-container .kpi-label,:host .kpi-container .kpi-unit{margin-block-start:0.125rem}:host:not(.disabled):not(:disabled){cursor:pointer}:host:not(.disabled):not(:disabled):hover,:host:not(.disabled):not(:disabled).hover{background-color:var(--theme-kpi-display--background--hover)}:host:not(.disabled):not(:disabled){cursor:pointer}:host:not(.disabled):not(:disabled):active,:host:not(.disabled):not(:disabled).active{background-color:var(--theme-kpi-display--background--active)}:host:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--focus--border-color)}:host(.stacked){height:3.75rem}:host(.stacked) .kpi-container{justify-content:center;flex-wrap:wrap}:host(.stacked) .kpi-container .kpi-label{width:100%;justify-content:center}";
|
|
5
|
+
|
|
6
|
+
const Kpi = /*@__PURE__*/ proxyCustomElement(class Kpi extends H {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
this.state = 'neutral';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
*/
|
|
18
|
+
this.orientation = 'horizontal';
|
|
19
|
+
}
|
|
20
|
+
getStateIcon() {
|
|
21
|
+
switch (this.state) {
|
|
22
|
+
case 'alarm':
|
|
23
|
+
return (h("ix-icon", { color: "kpi-display-icon--color", name: iconAlarm, size: "16" }));
|
|
24
|
+
case 'warning':
|
|
25
|
+
return (h("ix-icon", { color: "kpi-display-icon--color", name: iconWarning, size: "16" }));
|
|
26
|
+
default:
|
|
27
|
+
return '';
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
getTooltipText() {
|
|
31
|
+
let tooltip = `${this.label}: ${this.value}`;
|
|
32
|
+
if (this.unit) {
|
|
33
|
+
tooltip = tooltip.concat(` ${this.unit}`);
|
|
34
|
+
}
|
|
35
|
+
return tooltip;
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
return (h(Host, { key: '1179001dc0e8bdc5ffce63d27ecd0c5d81289020', title: this.getTooltipText(), tabindex: "1", class: {
|
|
39
|
+
stacked: this.orientation === 'vertical',
|
|
40
|
+
} }, h("div", { key: '5b44cac0229b98c7ed92e5462e432957a9346342', class: {
|
|
41
|
+
'kpi-container': true,
|
|
42
|
+
alarm: this.state === 'alarm',
|
|
43
|
+
warning: this.state === 'warning',
|
|
44
|
+
} }, h("span", { key: '88c5197ae8715095ddaf432505281acf00c3d01d', class: "kpi-label" }, this.getStateIcon(), h("span", { key: '5c61046a28907c369d7b51293e89be41fe9c498e', class: "kpi-label-text" }, this.label)), h("span", { key: 'e14031e96120f4c6af5296b573cc9c41cae0641a', class: "kpi-value-container" }, h("span", { key: 'b2d3a7f32e1d7bd8629066596c99460e7ed82425', class: "kpi-value" }, this.value), this.unit ? h("span", { class: "kpi-unit" }, this.unit) : ''))));
|
|
45
|
+
}
|
|
46
|
+
static get style() { return kpiCss; }
|
|
47
|
+
}, [1, "ix-kpi", {
|
|
48
|
+
"label": [1],
|
|
49
|
+
"value": [8],
|
|
50
|
+
"unit": [1],
|
|
51
|
+
"state": [1],
|
|
52
|
+
"orientation": [1]
|
|
53
|
+
}]);
|
|
54
|
+
function defineCustomElement$1() {
|
|
55
|
+
if (typeof customElements === "undefined") {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const components = ["ix-kpi"];
|
|
59
|
+
components.forEach(tagName => { switch (tagName) {
|
|
60
|
+
case "ix-kpi":
|
|
61
|
+
if (!customElements.get(tagName)) {
|
|
62
|
+
customElements.define(tagName, Kpi);
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const IxKpi = Kpi;
|
|
69
|
+
const defineCustomElement = defineCustomElement$1;
|
|
70
|
+
|
|
71
|
+
export { IxKpi, defineCustomElement };
|
|
72
|
+
//# sourceMappingURL=ix-kpi.js.map
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=ix-kpi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-kpi.js","mappings":";;;AAAA,MAAM,MAAM,GAAG,kjFAAkjF;;MCiBpjF,GAAG,iBAAAA,kBAAA,CAAA,MAAA,GAAA,SAAAC,CAAA,CAAA;AALhB,IAAA,WAAA,GAAA;;;;AAqBE;;AAEG;AACK,QAAA,IAAK,CAAA,KAAA,GAAoC,SAAS;AAE1D;;AAEG;AACK,QAAA,IAAW,CAAA,WAAA,GAA8B,YAAY;AAiE9D;IA/DS,YAAY,GAAA;AAClB,QAAA,QAAQ,IAAI,CAAC,KAAK;AAChB,YAAA,KAAK,OAAO;gBACV,QACE,CAAA,CAAA,SAAA,EAAA,EACE,KAAK,EAAC,yBAAyB,EAC/B,IAAI,EAAE,SAAS,EACf,IAAI,EAAC,IAAI,EAAA,CACA;AAGf,YAAA,KAAK,SAAS;gBACZ,QACE,CAAA,CAAA,SAAA,EAAA,EACE,KAAK,EAAC,yBAAyB,EAC/B,IAAI,EAAE,WAAW,EACjB,IAAI,EAAC,IAAI,EAAA,CACA;AAGf,YAAA;AACE,gBAAA,OAAO,EAAE;;;IAIP,cAAc,GAAA;QACpB,IAAI,OAAO,GAAG,CAAA,EAAG,IAAI,CAAC,KAAK,CAAA,EAAA,EAAK,IAAI,CAAC,KAAK,CAAA,CAAE;AAE5C,QAAA,IAAI,IAAI,CAAC,IAAI,EAAE;YACb,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAI,CAAA,EAAA,IAAI,CAAC,IAAI,CAAE,CAAA,CAAC;;AAG3C,QAAA,OAAO,OAAO;;IAGhB,MAAM,GAAA;QACJ,QACE,CAAC,CAAA,IAAI,EACH,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,EAC5B,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE;AACL,gBAAA,OAAO,EAAE,IAAI,CAAC,WAAW,KAAK,UAAU;aACzC,EAAA,EAED,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,eAAe,EAAE,IAAI;AACrB,gBAAA,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,OAAO;AAC7B,gBAAA,OAAO,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS;aAClC,EAAA,EAED,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,IAAI,CAAC,YAAY,EAAE,EACpB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gBAAgB,EAAA,EAAE,IAAI,CAAC,KAAK,CAAQ,CAC3C,EACP,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qBAAqB,EAAA,EAC/B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,WAAW,IAAE,IAAI,CAAC,KAAK,CAAQ,EAC1C,IAAI,CAAC,IAAI,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAC,UAAU,EAAE,EAAA,IAAI,CAAC,IAAI,CAAQ,GAAG,EAAE,CACtD,CACH,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/kpi/kpi.scss?tag=ix-kpi&encapsulation=shadow","src/components/kpi/kpi.tsx"],"sourcesContent":["/*\n * SPDX-FileCopyrightText: 2024 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@import 'legacy/mixins/fonts';\n@import 'mixins/hover';\n@import 'mixins/text-truncation';\n@import 'mixins/shadow-dom/component';\n\n:host {\n @include ix-component;\n\n display: flex;\n flex-grow: 1;\n height: $large-control-height;\n border-radius: var(--theme-kpi--border-radius);\n padding: 0.375rem $tiny-space;\n min-width: 0;\n\n span {\n @include ellipsis;\n }\n\n .kpi-container {\n display: flex;\n height: 100%;\n width: 100%;\n border-block-end: 2px solid grey;\n\n &.alarm {\n border-block-end-color: var(--theme-color-alarm);\n }\n\n &.warning {\n border-block-end-color: var(--theme-color-warning);\n }\n\n .kpi-label {\n display: flex;\n align-items: center;\n color: var(--theme-kpi-display-label--color);\n flex-grow: 1;\n flex-shrink: 9999;\n\n ix-icon {\n margin-inline-end: $tiny-space;\n }\n }\n\n .kpi-value-container {\n display: flex;\n align-items: flex-end;\n }\n\n .kpi-value {\n @include text-xl;\n\n color: var(--theme-kpi-display-value--color);\n }\n\n .kpi-unit {\n margin-inline-start: $small-space;\n color: var(--theme-kpi-display-units--color);\n }\n\n .kpi-label,\n .kpi-unit {\n margin-block-start: 0.125rem;\n }\n }\n\n @include hover {\n background-color: var(--theme-kpi-display--background--hover);\n }\n\n @include active {\n background-color: var(--theme-kpi-display--background--active);\n }\n\n @include focus-visible {\n outline: 1px solid var(--focus--border-color);\n }\n}\n\n:host(.stacked) {\n height: 3.75rem;\n\n .kpi-container {\n justify-content: center;\n flex-wrap: wrap;\n\n .kpi-label {\n width: 100%;\n justify-content: center;\n }\n }\n}\n","/*\n * SPDX-FileCopyrightText: 2024 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 { iconAlarm, iconWarning } from '@siemens/ix-icons/icons';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-kpi',\n styleUrl: 'kpi.scss',\n shadow: true,\n})\nexport class Kpi {\n /**\n *\n */\n @Prop() label?: string;\n\n /**\n *\n */\n @Prop() value?: string | number;\n\n /**\n *\n */\n @Prop() unit?: string;\n\n /**\n *\n */\n @Prop() state: 'neutral' | 'warning' | 'alarm' = 'neutral';\n\n /**\n *\n */\n @Prop() orientation: 'horizontal' | 'vertical' = 'horizontal';\n\n private getStateIcon() {\n switch (this.state) {\n case 'alarm':\n return (\n <ix-icon\n color=\"kpi-display-icon--color\"\n name={iconAlarm}\n size=\"16\"\n ></ix-icon>\n );\n\n case 'warning':\n return (\n <ix-icon\n color=\"kpi-display-icon--color\"\n name={iconWarning}\n size=\"16\"\n ></ix-icon>\n );\n\n default:\n return '';\n }\n }\n\n private getTooltipText() {\n let tooltip = `${this.label}: ${this.value}`;\n\n if (this.unit) {\n tooltip = tooltip.concat(` ${this.unit}`);\n }\n\n return tooltip;\n }\n\n render() {\n return (\n <Host\n title={this.getTooltipText()}\n tabindex=\"1\"\n class={{\n stacked: this.orientation === 'vertical',\n }}\n >\n <div\n class={{\n 'kpi-container': true,\n alarm: this.state === 'alarm',\n warning: this.state === 'warning',\n }}\n >\n <span class=\"kpi-label\">\n {this.getStateIcon()}\n <span class=\"kpi-label-text\">{this.label}</span>\n </span>\n <span class=\"kpi-value-container\">\n <span class=\"kpi-value\">{this.value}</span>\n {this.unit ? <span class=\"kpi-unit\">{this.unit}</span> : ''}\n </span>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxLayoutAuto extends Components.IxLayoutAuto, HTMLElement {}
|
|
4
|
+
export const IxLayoutAuto: {
|
|
5
|
+
prototype: IxLayoutAuto;
|
|
6
|
+
new (): IxLayoutAuto;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BuJ6BWIi.js';
|
|
2
|
+
|
|
3
|
+
const layoutAutoCss = ":host{display:block;position:relative;margin:0 0.75rem;--ix-layout-grid-gap:1.5rem}:host .container{display:flex;align-items:stretch;flex-wrap:wrap;gap:var(--ix-layout-grid-gap)}:host ::slotted(*){flex-grow:0;flex-shrink:0}";
|
|
4
|
+
|
|
5
|
+
const LayoutForm = /*@__PURE__*/ proxyCustomElement(class LayoutForm extends H {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
/**
|
|
11
|
+
* Defines the layout of the form.
|
|
12
|
+
*/
|
|
13
|
+
this.layout = [
|
|
14
|
+
{ minWidth: '0', columns: 1 },
|
|
15
|
+
{ minWidth: '48em', columns: 2 },
|
|
16
|
+
];
|
|
17
|
+
this.mediaQueryList = [];
|
|
18
|
+
this.observer = new MutationObserver(() => this.calculateGridTemplateColumns());
|
|
19
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
20
|
+
this.calculateGridTemplateColumns();
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
connectedCallback() {
|
|
24
|
+
this.observer.observe(this.hostElement, {
|
|
25
|
+
childList: true,
|
|
26
|
+
subtree: true,
|
|
27
|
+
attributes: true,
|
|
28
|
+
attributeFilter: ['data-colspan'],
|
|
29
|
+
});
|
|
30
|
+
this.resizeObserver.observe(this.hostElement);
|
|
31
|
+
this.calculateGridTemplateColumns();
|
|
32
|
+
}
|
|
33
|
+
componentWillLoad() {
|
|
34
|
+
this.calculateGridTemplateColumns();
|
|
35
|
+
}
|
|
36
|
+
disconnectedCallback() {
|
|
37
|
+
if (this.observer) {
|
|
38
|
+
this.observer.disconnect();
|
|
39
|
+
}
|
|
40
|
+
if (this.resizeObserver) {
|
|
41
|
+
this.resizeObserver.disconnect();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
updateMediaQueryList() {
|
|
45
|
+
this.mediaQueryList = [];
|
|
46
|
+
this.layout.forEach((layout) => {
|
|
47
|
+
const mediaQuery = window.matchMedia(`(min-width: ${layout.minWidth})`);
|
|
48
|
+
this.mediaQueryList.push({
|
|
49
|
+
mediaQuery,
|
|
50
|
+
layout,
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
parseNumber(number) {
|
|
55
|
+
if (!number) {
|
|
56
|
+
return 1;
|
|
57
|
+
}
|
|
58
|
+
const result = parseInt(number);
|
|
59
|
+
if (isNaN(result)) {
|
|
60
|
+
return 1;
|
|
61
|
+
}
|
|
62
|
+
return result;
|
|
63
|
+
}
|
|
64
|
+
calculateGridTemplateColumns() {
|
|
65
|
+
this.updateMediaQueryList();
|
|
66
|
+
let layoutColumns = 1;
|
|
67
|
+
let columnSpacing = 'var(--ix-layout-grid-gap)';
|
|
68
|
+
this.mediaQueryList.forEach((mediaQuery) => {
|
|
69
|
+
if (mediaQuery.mediaQuery.matches) {
|
|
70
|
+
layoutColumns = mediaQuery.layout.columns;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
Array.from(this.hostElement.children).forEach((child) => {
|
|
74
|
+
let colspan = this.parseNumber(child.getAttribute('data-colspan'));
|
|
75
|
+
colspan = Math.min(colspan, layoutColumns);
|
|
76
|
+
const childRatio = colspan / layoutColumns;
|
|
77
|
+
child.style.width = `calc(${childRatio * 99.9}% - ${1 - childRatio} * ${columnSpacing})`;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
render() {
|
|
81
|
+
return (h(Host, { key: 'e47b51c31c41e8c1170c3d3e83300185da2e57f3' }, h("div", { key: '33ef95cae638b9646013a9fe18186567335bcbe3', class: "container" }, h("slot", { key: '26ca2296fc76045f3a0bda81683a4e64c2dc02dd' }))));
|
|
82
|
+
}
|
|
83
|
+
get hostElement() { return this; }
|
|
84
|
+
static get watchers() { return {
|
|
85
|
+
"layout": ["updateMediaQueryList"]
|
|
86
|
+
}; }
|
|
87
|
+
static get style() { return layoutAutoCss; }
|
|
88
|
+
}, [1, "ix-layout-auto", {
|
|
89
|
+
"layout": [16]
|
|
90
|
+
}, undefined, {
|
|
91
|
+
"layout": ["updateMediaQueryList"]
|
|
92
|
+
}]);
|
|
93
|
+
function defineCustomElement$1() {
|
|
94
|
+
if (typeof customElements === "undefined") {
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
const components = ["ix-layout-auto"];
|
|
98
|
+
components.forEach(tagName => { switch (tagName) {
|
|
99
|
+
case "ix-layout-auto":
|
|
100
|
+
if (!customElements.get(tagName)) {
|
|
101
|
+
customElements.define(tagName, LayoutForm);
|
|
102
|
+
}
|
|
103
|
+
break;
|
|
104
|
+
} });
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
const IxLayoutAuto = LayoutForm;
|
|
108
|
+
const defineCustomElement = defineCustomElement$1;
|
|
109
|
+
|
|
110
|
+
export { IxLayoutAuto, defineCustomElement };
|
|
111
|
+
//# sourceMappingURL=ix-layout-auto.js.map
|
|
112
|
+
|
|
113
|
+
//# sourceMappingURL=ix-layout-auto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-layout-auto.js","mappings":";;AAAA,MAAM,aAAa,GAAG,iOAAiO;;MCQ1O,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,GAAA;;;;AAQE;;AAEG;QACK,IAAA,CAAA,MAAM,GAGR;AACJ,YAAA,EAAE,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE;AAC7B,YAAA,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE;SACjC;AAEO,QAAA,IAAc,CAAA,cAAA,GAMhB,EAAE;AAES,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,gBAAgB,CAAC,MAC/C,IAAI,CAAC,4BAA4B,EAAE,CACpC;AAEgB,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,cAAc,CAAC,MAAK;YACxD,IAAI,CAAC,4BAA4B,EAAE;AACrC,SAAC,CAAC;AA8FH;IA5FC,iBAAiB,GAAA;QACf,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE;AACtC,YAAA,SAAS,EAAE,IAAI;AACf,YAAA,OAAO,EAAE,IAAI;AACb,YAAA,UAAU,EAAE,IAAI;YAChB,eAAe,EAAE,CAAC,cAAc,CAAC;AAClC,SAAA,CAAC;QACF,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC;QAE7C,IAAI,CAAC,4BAA4B,EAAE;;IAGrC,iBAAiB,GAAA;QACf,IAAI,CAAC,4BAA4B,EAAE;;IAGrC,oBAAoB,GAAA;AAClB,QAAA,IAAI,IAAI,CAAC,QAAQ,EAAE;AACjB,YAAA,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE;;AAG5B,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;AACvB,YAAA,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE;;;IAKpC,oBAAoB,GAAA;AAClB,QAAA,IAAI,CAAC,cAAc,GAAG,EAAE;QACxB,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;AAC7B,YAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAe,YAAA,EAAA,MAAM,CAAC,QAAQ,CAAG,CAAA,CAAA,CAAC;AACvE,YAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC;gBACvB,UAAU;gBACV,MAAM;AACP,aAAA,CAAC;AACJ,SAAC,CAAC;;AAGI,IAAA,WAAW,CAAC,MAAqB,EAAA;QACvC,IAAI,CAAC,MAAM,EAAE;AACX,YAAA,OAAO,CAAC;;AAGV,QAAA,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;AAC/B,QAAA,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACjB,YAAA,OAAO,CAAC;;AAGV,QAAA,OAAO,MAAM;;IAGP,4BAA4B,GAAA;QAClC,IAAI,CAAC,oBAAoB,EAAE;QAE3B,IAAI,aAAa,GAAG,CAAC;QACrB,IAAI,aAAa,GAAG,2BAA2B;QAE/C,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,UAAU,KAAI;AACzC,YAAA,IAAI,UAAU,CAAC,UAAU,CAAC,OAAO,EAAE;AACjC,gBAAA,aAAa,GAAG,UAAU,CAAC,MAAM,CAAC,OAAO;;AAE7C,SAAC,CAAC;AAGF,QAAA,KAAK,CAAC,IAAI,CACR,IAAI,CAAC,WAAW,CAAC,QAAyC,CAC3D,CAAC,OAAO,CAAC,CAAC,KAAK,KAAI;AAClB,YAAA,IAAI,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC,cAAc,CAAC,CAAC;YAClE,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC;AAC1C,YAAA,MAAM,UAAU,GAAG,OAAO,GAAG,aAAa;AAE1C,YAAA,KAAK,CAAC,KAAK,CAAC,KAAK,GAAG,QAAQ,UAAU,GAAG,IAAI,CAAA,IAAA,EAC3C,CAAC,GAAG,UACN,CAAM,GAAA,EAAA,aAAa,GAAG;AAOxB,SAAC,CAAC;;IAGJ,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/layout-auto/layout-auto.scss?tag=ix-layout-auto&encapsulation=shadow","src/components/layout-auto/layout-auto.tsx"],"sourcesContent":[":host {\n display: block;\n position: relative;\n margin: 0 0.75rem;\n\n --ix-layout-grid-gap: 1.5rem;\n\n .container {\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n gap: var(--ix-layout-grid-gap);\n }\n\n ::slotted(*) {\n flex-grow: 0;\n flex-shrink: 0;\n }\n}\n","import { Component, Element, Host, Prop, Watch, h } from '@stencil/core';\nimport { IxComponent } from '../utils/internal';\n\n@Component({\n tag: 'ix-layout-auto',\n styleUrl: 'layout-auto.scss',\n shadow: true,\n})\nexport class LayoutForm implements IxComponent {\n @Element() hostElement!: HTMLIxLayoutAutoElement;\n\n /**\n * Defines the layout of the form.\n */\n @Prop() layout: {\n minWidth: string;\n columns: number;\n }[] = [\n { minWidth: '0', columns: 1 },\n { minWidth: '48em', columns: 2 },\n ];\n\n private mediaQueryList: {\n mediaQuery: MediaQueryList;\n layout: {\n minWidth: string;\n columns: number;\n };\n }[] = [];\n\n private readonly observer = new MutationObserver(() =>\n this.calculateGridTemplateColumns()\n );\n\n private readonly resizeObserver = new ResizeObserver(() => {\n this.calculateGridTemplateColumns();\n });\n\n connectedCallback(): void {\n this.observer.observe(this.hostElement, {\n childList: true,\n subtree: true,\n attributes: true,\n attributeFilter: ['data-colspan'],\n });\n this.resizeObserver.observe(this.hostElement);\n\n this.calculateGridTemplateColumns();\n }\n\n componentWillLoad(): void | Promise<void> {\n this.calculateGridTemplateColumns();\n }\n\n disconnectedCallback(): void {\n if (this.observer) {\n this.observer.disconnect();\n }\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n @Watch('layout')\n updateMediaQueryList() {\n this.mediaQueryList = [];\n this.layout.forEach((layout) => {\n const mediaQuery = window.matchMedia(`(min-width: ${layout.minWidth})`);\n this.mediaQueryList.push({\n mediaQuery,\n layout,\n });\n });\n }\n\n private parseNumber(number: string | null) {\n if (!number) {\n return 1;\n }\n\n const result = parseInt(number);\n if (isNaN(result)) {\n return 1;\n }\n\n return result;\n }\n\n private calculateGridTemplateColumns() {\n this.updateMediaQueryList();\n\n let layoutColumns = 1;\n let columnSpacing = 'var(--ix-layout-grid-gap)';\n\n this.mediaQueryList.forEach((mediaQuery) => {\n if (mediaQuery.mediaQuery.matches) {\n layoutColumns = mediaQuery.layout.columns;\n }\n });\n\n let column = 0;\n Array.from(\n this.hostElement.children as HTMLCollectionOf<HTMLElement>\n ).forEach((child) => {\n let colspan = this.parseNumber(child.getAttribute('data-colspan'));\n colspan = Math.min(colspan, layoutColumns);\n const childRatio = colspan / layoutColumns;\n\n child.style.width = `calc(${childRatio * 99.9}% - ${\n 1 - childRatio\n } * ${columnSpacing})`;\n\n if (column + colspan > layoutColumns) {\n column = 0;\n }\n\n column = (column + colspan) % layoutColumns;\n });\n }\n\n render() {\n return (\n <Host>\n <div class=\"container\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxLayoutGrid extends Components.IxLayoutGrid, HTMLElement {}
|
|
4
|
+
export const IxLayoutGrid: {
|
|
5
|
+
prototype: IxLayoutGrid;
|
|
6
|
+
new (): IxLayoutGrid;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { L as LayoutGrid, d as defineCustomElement$1 } from './p-qauH9Ci4.js';
|
|
2
|
+
|
|
3
|
+
const IxLayoutGrid = LayoutGrid;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { IxLayoutGrid, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=ix-layout-grid.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ix-layout-grid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-layout-grid.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxLinkButton extends Components.IxLinkButton, HTMLElement {}
|
|
4
|
+
export const IxLinkButton: {
|
|
5
|
+
prototype: IxLinkButton;
|
|
6
|
+
new (): IxLinkButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BuJ6BWIi.js';
|
|
2
|
+
import { b as iconChevronRightSmall } from './p-CGwHQeMX.js';
|
|
3
|
+
|
|
4
|
+
const linkButtonCss = ".btn{display:inline-flex;align-items:center;justify-content:center;height:2rem;font-size:0.875rem;font-weight:700;transition:var(--theme-default-time);padding:0 0.5rem;min-width:5rem;gap:0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn .glyph{margin-right:0.25rem;font-weight:400}.btn:focus-visible,.btn.focus{box-shadow:none}.btn-primary{border-radius:var(--theme-btn--border-radius)}.btn-primary,.btn-primary.focus,.btn-primary:focus-visible{background-color:var(--theme-btn-primary--background);color:var(--theme-btn-primary--color);--ix-button-color:var(--theme-btn-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-primary--border-color);border-style:solid}.btn-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-primary.hover,.btn-primary:hover{border-color:var(--theme-btn-primary--border-color--hover);background-color:var(--theme-btn-primary--background--hover);color:var(--theme-btn-primary--color--hover)}.btn-primary.selected.hover,.btn-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active,.show>.btn-primary.dropdown-toggle{border-color:var(--theme-btn-primary--border-color--active);background-color:var(--theme-btn-primary--background--active);color:var(--theme-btn-primary--color--active)}.btn-primary.selected:not(:disabled):not(.disabled):active,.btn-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-primary.disabled,.btn-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-primary--border-color--disabled);background-color:var(--theme-btn-primary--background--disabled);color:var(--theme-btn-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-primary--color--disabled)}.btn-outline-primary{border-radius:var(--theme-btn--border-radius)}.btn-outline-primary,.btn-outline-primary.focus,.btn-outline-primary:focus-visible{background-color:var(--theme-btn-outline-primary--background);color:var(--theme-btn-outline-primary--color);--ix-button-color:var(--theme-btn-outline-primary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-primary--border-color);border-style:solid}.btn-outline-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-primary.hover,.btn-outline-primary:hover{border-color:var(--theme-btn-outline-primary--border-color--hover);background-color:var(--theme-btn-outline-primary--background--hover);color:var(--theme-btn-outline-primary--color--hover)}.btn-outline-primary.selected.hover,.btn-outline-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-primary:not(:disabled):not(.disabled):active,.btn-outline-primary:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.dropdown-toggle{border-color:var(--theme-btn-outline-primary--border-color--active);background-color:var(--theme-btn-outline-primary--background--active);color:var(--theme-btn-outline-primary--color--active)}.btn-outline-primary.selected:not(:disabled):not(.disabled):active,.btn-outline-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-primary.disabled,.btn-outline-primary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-primary--border-color--disabled);background-color:var(--theme-btn-outline-primary--background--disabled);color:var(--theme-btn-outline-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-primary--color--disabled)}.btn-invisible-primary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-primary,.btn-invisible-primary.focus,.btn-invisible-primary:focus-visible{background-color:var(--theme-btn-invisible-primary--background);color:var(--theme-btn-invisible-primary--color);--ix-button-color:var(--theme-btn-invisible-primary--color);border-color:transparent}.btn-invisible-primary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-primary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-primary.hover,.btn-invisible-primary:hover{background-color:var(--theme-btn-invisible-primary--background--hover);color:var(--theme-btn-invisible-primary--color--hover)}.btn-invisible-primary.selected.hover,.btn-invisible-primary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-primary:not(:disabled):not(.disabled):active,.btn-invisible-primary:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.dropdown-toggle{background-color:var(--theme-btn-invisible-primary--background--active);color:var(--theme-btn-invisible-primary--color--active)}.btn-invisible-primary.selected:not(:disabled):not(.disabled):active,.btn-invisible-primary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-primary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-primary.disabled,.btn-invisible-primary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-primary--background--disabled);color:var(--theme-btn-invisible-primary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-primary--color--disabled)}.btn-secondary{border-radius:var(--theme-btn--border-radius)}.btn-secondary,.btn-secondary.focus,.btn-secondary:focus-visible{background-color:var(--theme-btn-secondary--background);color:var(--theme-btn-secondary--color);--ix-button-color:var(--theme-btn-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-secondary--border-color);border-style:solid}.btn-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-secondary.hover,.btn-secondary:hover{border-color:var(--theme-btn-secondary--border-color--hover);background-color:var(--theme-btn-secondary--background--hover);color:var(--theme-btn-secondary--color--hover)}.btn-secondary.selected.hover,.btn-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-secondary:not(:disabled):not(.disabled):active,.btn-secondary:not(:disabled):not(.disabled).active,.show>.btn-secondary.dropdown-toggle{border-color:var(--theme-btn-secondary--border-color--active);background-color:var(--theme-btn-secondary--background--active);color:var(--theme-btn-secondary--color--active)}.btn-secondary.selected:not(:disabled):not(.disabled):active,.btn-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-secondary.disabled,.btn-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-secondary--border-color--disabled);background-color:var(--theme-btn-secondary--background--disabled);color:var(--theme-btn-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-secondary--color--disabled)}.btn-outline-secondary{border-radius:var(--theme-btn--border-radius)}.btn-outline-secondary,.btn-outline-secondary.focus,.btn-outline-secondary:focus-visible{background-color:var(--theme-btn-outline-secondary--background);color:var(--theme-btn-outline-secondary--color);--ix-button-color:var(--theme-btn-outline-secondary--color);border-width:var(--theme-btn--border-thickness);border-color:var(--theme-btn-outline-secondary--border-color);border-style:solid}.btn-outline-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-outline-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-outline-secondary.hover,.btn-outline-secondary:hover{border-color:var(--theme-btn-outline-secondary--border-color--hover);background-color:var(--theme-btn-outline-secondary--background--hover);color:var(--theme-btn-outline-secondary--color--hover)}.btn-outline-secondary.selected.hover,.btn-outline-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-outline-secondary:not(:disabled):not(.disabled):active,.btn-outline-secondary:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.dropdown-toggle{border-color:var(--theme-btn-outline-secondary--border-color--active);background-color:var(--theme-btn-outline-secondary--background--active);color:var(--theme-btn-outline-secondary--color--active)}.btn-outline-secondary.selected:not(:disabled):not(.disabled):active,.btn-outline-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-outline-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-outline-secondary.disabled,.btn-outline-secondary:disabled{pointer-events:none;cursor:initial;border-color:var(--theme-btn-outline-secondary--border-color--disabled);background-color:var(--theme-btn-outline-secondary--background--disabled);color:var(--theme-btn-outline-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-outline-secondary--color--disabled)}.btn-invisible-secondary{border-radius:var(--theme-btn--border-radius);--bs-btn-border-width:0px;--bs-btn-active-border-color:none}.btn-invisible-secondary,.btn-invisible-secondary.focus,.btn-invisible-secondary:focus-visible{background-color:var(--theme-btn-invisible-secondary--background);color:var(--theme-btn-invisible-secondary--color);--ix-button-color:var(--theme-btn-invisible-secondary--color);border-color:transparent}.btn-invisible-secondary:not(.disabled):not(:disabled):focus-visible{outline:1px solid var(--theme-color-focus-bdr);outline-offset:var(--theme-btn--focus--outline-offset)}.btn-invisible-secondary.selected{background-color:var(--theme-color-ghost--selected);color:var(--theme-color-dynamic)}.btn-invisible-secondary.hover,.btn-invisible-secondary:hover{background-color:var(--theme-btn-invisible-secondary--background--hover);color:var(--theme-btn-invisible-secondary--color--hover)}.btn-invisible-secondary.selected.hover,.btn-invisible-secondary.selected:hover{background-color:var(--theme-color-ghost--selected-hover);color:var(--theme-color-dynamic)}.btn-invisible-secondary:not(:disabled):not(.disabled):active,.btn-invisible-secondary:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.dropdown-toggle{background-color:var(--theme-btn-invisible-secondary--background--active);color:var(--theme-btn-invisible-secondary--color--active)}.btn-invisible-secondary.selected:not(:disabled):not(.disabled):active,.btn-invisible-secondary.selected:not(:disabled):not(.disabled).active,.show>.btn-invisible-secondary.selected.dropdown-toggle{background-color:var(--theme-color-ghost--selected-active);color:var(--theme-color-dynamic)}.btn-invisible-secondary.disabled,.btn-invisible-secondary:disabled{pointer-events:none;cursor:initial;background-color:var(--theme-btn-invisible-secondary--background--disabled);color:var(--theme-btn-invisible-secondary--color--disabled);opacity:1;--ix-button-color:var(--theme-btn-invisible-secondary--color--disabled)}.btn-oval,.btn-icon{min-width:2rem;width:2rem}.btn-oval .glyph,.btn-icon .glyph{margin-right:0}.btn-oval{border-radius:6.25rem;width:2rem}.btn-icon-xs,.btn-icon-12{height:1rem;width:1rem;min-width:1rem;min-height:1rem}.btn-icon-s,.btn-icon-16{height:1.5rem;width:1.5rem;min-width:1.5rem;min-height:1.5rem}.btn-icon-32{height:2rem;width:2rem;min-width:2rem;min-height:2rem}:host{display:inline-flex;height:2rem;font-size:0.875rem;font-weight:400;min-width:2rem}:host .link-button{display:inline-flex;position:relative;width:100%;padding:0 0.25rem 0 0;align-items:center;justify-content:center;background-color:transparent;color:var(--theme-color-primary);cursor:pointer;text-decoration:none}:host .link-button .link{display:block;position:relative;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):hover,:host .link-button:not(.disabled):not(:disabled).hover{color:var(--theme-color-dynamic--hover)}:host .link-button:not(.disabled):not(:disabled):hover .link,:host .link-button:not(.disabled):not(:disabled).hover .link{text-decoration:underline;text-underline-offset:0.2rem}:host .link-button:not(.disabled):not(:disabled){cursor:pointer}:host .link-button:not(.disabled):not(:disabled):active,:host .link-button:not(.disabled):not(:disabled).active{color:var(--theme-color-dynamic--active)}:host .link-button:not(.disabled):not(:disabled):active .link,:host .link-button:not(.disabled):not(:disabled).active .link{text-decoration:underline;text-underline-offset:0.2rem}:host .link-button.disabled{cursor:default;color:var(--theme-color-weak-text)}:host .link-button a{all:unset}:host :focus-visible{outline:1px solid var(--theme-color-focus-bdr)}";
|
|
5
|
+
|
|
6
|
+
const LinkButton = /*@__PURE__*/ proxyCustomElement(class LinkButton extends H {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
/**
|
|
12
|
+
* Disable the link button
|
|
13
|
+
*/
|
|
14
|
+
this.disabled = false;
|
|
15
|
+
/**
|
|
16
|
+
* Specifies where to open the link
|
|
17
|
+
*
|
|
18
|
+
* https://www.w3schools.com/html/html_links.asp
|
|
19
|
+
*/
|
|
20
|
+
this.target = '_self';
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return (h(Host, { key: '2497caf192615ed280d5ae11fdb2ef27060c94f7' }, h("a", { key: 'd16ef2ae663fdf36d176e6f59ec909b2b37bc14a', title: this.url, tabindex: "0", class: {
|
|
24
|
+
'link-button': true,
|
|
25
|
+
disabled: this.disabled,
|
|
26
|
+
}, href: this.disabled ? undefined : this.url, target: this.target }, h("ix-icon", { key: '9d426962a4a03ef0c2602c788bbd450521e30aec', class: "icon", name: iconChevronRightSmall, size: "16" }), h("div", { key: '52a4346e4a708c9acd11bad8ecaf9b2597db0a34', class: {
|
|
27
|
+
link: true,
|
|
28
|
+
disabled: this.disabled,
|
|
29
|
+
} }, h("slot", { key: 'c608729d1bfba5109396a32c31a2b94c08648072' })))));
|
|
30
|
+
}
|
|
31
|
+
static get style() { return linkButtonCss; }
|
|
32
|
+
}, [1, "ix-link-button", {
|
|
33
|
+
"disabled": [4],
|
|
34
|
+
"url": [1],
|
|
35
|
+
"target": [1]
|
|
36
|
+
}]);
|
|
37
|
+
function defineCustomElement$1() {
|
|
38
|
+
if (typeof customElements === "undefined") {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const components = ["ix-link-button"];
|
|
42
|
+
components.forEach(tagName => { switch (tagName) {
|
|
43
|
+
case "ix-link-button":
|
|
44
|
+
if (!customElements.get(tagName)) {
|
|
45
|
+
customElements.define(tagName, LinkButton);
|
|
46
|
+
}
|
|
47
|
+
break;
|
|
48
|
+
} });
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const IxLinkButton = LinkButton;
|
|
52
|
+
const defineCustomElement = defineCustomElement$1;
|
|
53
|
+
|
|
54
|
+
export { IxLinkButton, defineCustomElement };
|
|
55
|
+
//# sourceMappingURL=ix-link-button.js.map
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=ix-link-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-link-button.js","mappings":";;;AAAA,MAAM,aAAa,GAAG,83bAA83b;;MCiBv4b,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,GAAA;;;;AAME;;AAEG;AACK,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK;AAOxB;;;;AAIG;AACK,QAAA,IAAM,CAAA,MAAA,GAA4C,OAAO;AAgClE;IA9BC,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CACE,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,GAAG,EACf,QAAQ,EAAC,GAAG,EACZ,KAAK,EAAE;AACL,gBAAA,aAAa,EAAE,IAAI;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,EACD,IAAI,EAAE,IAAI,CAAC,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,GAAG,EAC1C,MAAM,EAAE,IAAI,CAAC,MAAM,EAAA,EAEnB,CACE,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,MAAM,EACZ,IAAI,EAAE,qBAAqB,EAC3B,IAAI,EAAC,IAAI,EACA,CAAA,EACX,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAE;AACL,gBAAA,IAAI,EAAE,IAAI;gBACV,QAAQ,EAAE,IAAI,CAAC,QAAQ;AACxB,aAAA,EAAA,EAED,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,CACJ,CACC;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/link-button/link-button.scss?tag=ix-link-button&encapsulation=shadow","src/components/link-button/link-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@import 'common-variables';\n@import 'legacy/components/buttons';\n@import 'mixins/hover';\n\n:host {\n display: inline-flex;\n height: $x-large-space;\n font-size: $font-size-default;\n font-weight: $font-weight-normal;\n min-width: $x-large-space;\n\n .link-button {\n display: inline-flex;\n position: relative;\n width: 100%;\n padding: 0 $tiny-space 0 0;\n align-items: center;\n justify-content: center;\n background-color: transparent;\n color: var(--theme-color-primary);\n cursor: pointer;\n text-decoration: none;\n\n .link {\n display: block;\n position: relative;\n width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n @include hover {\n color: var(--theme-color-dynamic--hover);\n\n .link {\n text-decoration: underline;\n text-underline-offset: 0.2rem;\n }\n }\n\n @include active {\n color: var(--theme-color-dynamic--active);\n\n .link {\n text-decoration: underline;\n text-underline-offset: 0.2rem;\n }\n }\n\n &.disabled {\n cursor: default;\n color: var(--theme-color-weak-text);\n }\n\n a {\n all: unset;\n }\n }\n\n :focus-visible {\n outline: 1px solid var(--theme-color-focus-bdr);\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 { iconChevronRightSmall } from '@siemens/ix-icons/icons';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'ix-link-button',\n styleUrl: 'link-button.scss',\n shadow: true,\n})\nexport class LinkButton {\n /**\n * Disable the link button\n */\n @Prop() disabled = false;\n\n /**\n * Url for the link button\n */\n @Prop() url?: string;\n\n /**\n * Specifies where to open the link\n *\n * https://www.w3schools.com/html/html_links.asp\n */\n @Prop() target: '_self' | '_blank' | '_parent' | '_top' = '_self';\n\n render() {\n return (\n <Host>\n <a\n title={this.url}\n tabindex=\"0\"\n class={{\n 'link-button': true,\n disabled: this.disabled,\n }}\n href={this.disabled ? undefined : this.url}\n target={this.target}\n >\n <ix-icon\n class=\"icon\"\n name={iconChevronRightSmall}\n size=\"16\"\n ></ix-icon>\n <div\n class={{\n link: true,\n disabled: this.disabled,\n }}\n >\n <slot></slot>\n </div>\n </a>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxMapNavigationOverlay extends Components.IxMapNavigationOverlay, HTMLElement {}
|
|
4
|
+
export const IxMapNavigationOverlay: {
|
|
5
|
+
prototype: IxMapNavigationOverlay;
|
|
6
|
+
new (): IxMapNavigationOverlay;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { M as MapNavigationOverlay, d as defineCustomElement$1 } from './p-r63hglsv.js';
|
|
2
|
+
|
|
3
|
+
const IxMapNavigationOverlay = MapNavigationOverlay;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { IxMapNavigationOverlay, defineCustomElement };
|
|
7
|
+
//# sourceMappingURL=ix-map-navigation-overlay.js.map
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ix-map-navigation-overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"ix-map-navigation-overlay.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../dist/types/components";
|
|
2
|
+
|
|
3
|
+
interface IxMapNavigation extends Components.IxMapNavigation, HTMLElement {}
|
|
4
|
+
export const IxMapNavigation: {
|
|
5
|
+
prototype: IxMapNavigation;
|
|
6
|
+
new (): IxMapNavigation;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|