@spicainternational/ngx-sds-components 8.8.1 → 9.0.0-beta.3
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/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +6 -6
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs +8 -8
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-avatar.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs +7 -7
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-badge.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-callout.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-color-picker.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +7 -7
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-picker.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +15 -15
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-drawer.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +7 -7
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-box.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +6 -6
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs +7 -8
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-intersection.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +5 -6
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs +20 -20
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-layout.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-message.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs +11 -11
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-modal.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs +96 -93
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-navigation.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-number-box.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-page-header.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-pane.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-quick-info.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-ripple.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +9 -9
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +6 -6
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-side-bar.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-static-value.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +5 -5
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-table-actions.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs +4 -4
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-timeline.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs +3 -3
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-timer.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +7 -7
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-tooltip.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs.map +1 -1
- package/fesm2022/spicainternational-ngx-sds-components-src-lib-utils.mjs.map +1 -1
- package/package.json +45 -113
- package/{src/lib/app-switcher/app-switcher.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-app-switcher.d.ts} +16 -4
- package/{src/lib/avatar/avatar.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-avatar.d.ts} +40 -3
- package/{src/lib/badge/badge.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-badge.d.ts} +9 -4
- package/{src/lib/callout/callout.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-callout.d.ts} +5 -2
- package/{src/lib/color-picker/color-picker.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-color-picker.d.ts} +8 -4
- package/{src/lib/date-picker/date-picker.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-date-picker.d.ts} +56 -10
- package/types/spicainternational-ngx-sds-components-src-lib-date-pipes.d.ts +82 -0
- package/{src/lib/drawer/drawer.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-drawer.d.ts} +5 -2
- package/{src/lib/duration-box/duration-box.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-duration-box.d.ts} +18 -5
- package/{src/lib/duration-pipe/duration-format.pipe.d.ts → types/spicainternational-ngx-sds-components-src-lib-duration-pipe.d.ts} +5 -2
- package/{src/lib/ellipsis/directives/ellipsis.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-ellipsis.d.ts} +5 -2
- package/{src/lib/expansion-panel/expansion-panel.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-expansion-panel.d.ts} +8 -3
- package/{src/lib/highlight-text/directives/highlight-text.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-highlight-text.d.ts} +15 -3
- package/types/spicainternational-ngx-sds-components-src-lib-intersection.d.ts +44 -0
- package/types/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.d.ts +20 -0
- package/types/spicainternational-ngx-sds-components-src-lib-layout.d.ts +39 -0
- package/{src/lib/message/message.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-message.d.ts} +6 -3
- package/types/spicainternational-ngx-sds-components-src-lib-modal.d.ts +127 -0
- package/types/spicainternational-ngx-sds-components-src-lib-navigation.d.ts +256 -0
- package/{src/lib/number-box/number-box.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-number-box.d.ts} +11 -7
- package/{src/lib/page-header/page-header.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-page-header.d.ts} +6 -3
- package/{src/lib/pane/pane.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-pane.d.ts} +17 -5
- package/{src/lib/quick-info/quick-info.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-quick-info.d.ts} +16 -4
- package/{src/lib/ripple/ripple.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-ripple.d.ts} +6 -3
- package/types/spicainternational-ngx-sds-components-src-lib-segmented-control.d.ts +45 -0
- package/types/spicainternational-ngx-sds-components-src-lib-side-bar.d.ts +33 -0
- package/{src/lib/static-value/static-value.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-static-value.d.ts} +5 -2
- package/{src/lib/table-actions/table-actions.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-table-actions.d.ts} +5 -2
- package/{src/lib/timeline/components/timeline.component.d.ts → types/spicainternational-ngx-sds-components-src-lib-timeline.d.ts} +47 -5
- package/types/spicainternational-ngx-sds-components-src-lib-timer.d.ts +143 -0
- package/{src/lib/tooltip/tooltip.directive.d.ts → types/spicainternational-ngx-sds-components-src-lib-tooltip.d.ts} +9 -4
- package/types/spicainternational-ngx-sds-components-src-lib-utils-date-time.d.ts +9 -0
- package/types/spicainternational-ngx-sds-components-src-lib-utils.d.ts +9 -0
- package/esm2022/public-api.mjs +0 -36
- package/esm2022/spicainternational-ngx-sds-components.mjs +0 -5
- package/esm2022/src/lib/app-switcher/app-switcher.component.mjs +0 -116
- package/esm2022/src/lib/app-switcher/app-switcher.model.mjs +0 -2
- package/esm2022/src/lib/app-switcher/public-api.mjs +0 -3
- package/esm2022/src/lib/app-switcher/spicainternational-ngx-sds-components-src-lib-app-switcher.mjs +0 -5
- package/esm2022/src/lib/avatar/avatar-group.component.mjs +0 -82
- package/esm2022/src/lib/avatar/avatar-group.model.mjs +0 -2
- package/esm2022/src/lib/avatar/avatar.component.mjs +0 -165
- package/esm2022/src/lib/avatar/public-api.mjs +0 -4
- package/esm2022/src/lib/avatar/spicainternational-ngx-sds-components-src-lib-avatar.mjs +0 -5
- package/esm2022/src/lib/badge/badge.directive.mjs +0 -90
- package/esm2022/src/lib/badge/badge.types.mjs +0 -2
- package/esm2022/src/lib/badge/components/badge.component.mjs +0 -59
- package/esm2022/src/lib/badge/public-api.mjs +0 -2
- package/esm2022/src/lib/badge/spicainternational-ngx-sds-components-src-lib-badge.mjs +0 -5
- package/esm2022/src/lib/callout/callout.component.mjs +0 -20
- package/esm2022/src/lib/callout/public-api.mjs +0 -2
- package/esm2022/src/lib/callout/spicainternational-ngx-sds-components-src-lib-callout.mjs +0 -5
- package/esm2022/src/lib/color-picker/color-picker.component.mjs +0 -82
- package/esm2022/src/lib/color-picker/public-api.mjs +0 -2
- package/esm2022/src/lib/color-picker/spicainternational-ngx-sds-components-src-lib-color-picker.mjs +0 -5
- package/esm2022/src/lib/date-picker/date-picker.component.mjs +0 -893
- package/esm2022/src/lib/date-picker/date-picker.model.mjs +0 -71
- package/esm2022/src/lib/date-picker/public-api.mjs +0 -3
- package/esm2022/src/lib/date-picker/sds-date-picker.service.mjs +0 -90
- package/esm2022/src/lib/date-picker/spicainternational-ngx-sds-components-src-lib-date-picker.mjs +0 -5
- package/esm2022/src/lib/date-pipes/date-compare.pipe.mjs +0 -32
- package/esm2022/src/lib/date-pipes/date-format.pipe.mjs +0 -31
- package/esm2022/src/lib/date-pipes/date-period-format.pipe.mjs +0 -49
- package/esm2022/src/lib/date-pipes/date-time-formats.constants.mjs +0 -156
- package/esm2022/src/lib/date-pipes/date-time-range-duration.pipe.mjs +0 -33
- package/esm2022/src/lib/date-pipes/date-time-range-format.pipe.mjs +0 -45
- package/esm2022/src/lib/date-pipes/public-api.mjs +0 -8
- package/esm2022/src/lib/date-pipes/spicainternational-ngx-sds-components-src-lib-date-pipes.mjs +0 -5
- package/esm2022/src/lib/drawer/drawer.component.mjs +0 -103
- package/esm2022/src/lib/drawer/public-api.mjs +0 -2
- package/esm2022/src/lib/drawer/spicainternational-ngx-sds-components-src-lib-drawer.mjs +0 -5
- package/esm2022/src/lib/duration-box/duration-box.component.mjs +0 -279
- package/esm2022/src/lib/duration-box/duration-box.types.mjs +0 -2
- package/esm2022/src/lib/duration-box/duration.service.mjs +0 -72
- package/esm2022/src/lib/duration-box/public-api.mjs +0 -2
- package/esm2022/src/lib/duration-box/spicainternational-ngx-sds-components-src-lib-duration-box.mjs +0 -5
- package/esm2022/src/lib/duration-pipe/duration-format.pipe.mjs +0 -27
- package/esm2022/src/lib/duration-pipe/public-api.mjs +0 -2
- package/esm2022/src/lib/duration-pipe/spicainternational-ngx-sds-components-src-lib-duration-pipe.mjs +0 -5
- package/esm2022/src/lib/ellipsis/directives/ellipsis.directive.mjs +0 -52
- package/esm2022/src/lib/ellipsis/public-api.mjs +0 -2
- package/esm2022/src/lib/ellipsis/spicainternational-ngx-sds-components-src-lib-ellipsis.mjs +0 -5
- package/esm2022/src/lib/expansion-panel/expansion-panel.component.mjs +0 -86
- package/esm2022/src/lib/expansion-panel/expansion-panel.types.mjs +0 -2
- package/esm2022/src/lib/expansion-panel/public-api.mjs +0 -2
- package/esm2022/src/lib/expansion-panel/spicainternational-ngx-sds-components-src-lib-expansion-panel.mjs +0 -5
- package/esm2022/src/lib/highlight-text/directives/highlight-text.directive.mjs +0 -61
- package/esm2022/src/lib/highlight-text/directives/index.mjs +0 -2
- package/esm2022/src/lib/highlight-text/pipes/highlight-text.pipe.mjs +0 -30
- package/esm2022/src/lib/highlight-text/pipes/index.mjs +0 -2
- package/esm2022/src/lib/highlight-text/public-api.mjs +0 -3
- package/esm2022/src/lib/highlight-text/spicainternational-ngx-sds-components-src-lib-highlight-text.mjs +0 -5
- package/esm2022/src/lib/highlight-text/utils/highlight-text.utils.mjs +0 -97
- package/esm2022/src/lib/highlight-text/utils/index.mjs +0 -2
- package/esm2022/src/lib/intersection/directives/index.mjs +0 -2
- package/esm2022/src/lib/intersection/directives/intersection.directive.mjs +0 -52
- package/esm2022/src/lib/intersection/public-api.mjs +0 -3
- package/esm2022/src/lib/intersection/services/index.mjs +0 -2
- package/esm2022/src/lib/intersection/services/intersection.service.mjs +0 -54
- package/esm2022/src/lib/intersection/spicainternational-ngx-sds-components-src-lib-intersection.mjs +0 -5
- package/esm2022/src/lib/keyboard-shortcut/directives/index.mjs +0 -2
- package/esm2022/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.mjs +0 -47
- package/esm2022/src/lib/keyboard-shortcut/public-api.mjs +0 -2
- package/esm2022/src/lib/keyboard-shortcut/spicainternational-ngx-sds-components-src-lib-keyboard-shortcut.mjs +0 -5
- package/esm2022/src/lib/layout/default-layout/default-layout.component.mjs +0 -15
- package/esm2022/src/lib/layout/extra-large-layout/extra-large-layout.component.mjs +0 -15
- package/esm2022/src/lib/layout/fluid-layout/fluid-layout.component.mjs +0 -15
- package/esm2022/src/lib/layout/medium-layout/medium-layout.component.mjs +0 -15
- package/esm2022/src/lib/layout/public-api.mjs +0 -6
- package/esm2022/src/lib/layout/small-layout/small-layout.component.mjs +0 -15
- package/esm2022/src/lib/layout/spicainternational-ngx-sds-components-src-lib-layout.mjs +0 -5
- package/esm2022/src/lib/message/message.component.mjs +0 -60
- package/esm2022/src/lib/message/public-api.mjs +0 -2
- package/esm2022/src/lib/message/spicainternational-ngx-sds-components-src-lib-message.mjs +0 -5
- package/esm2022/src/lib/modal/dialog/dialog.component.mjs +0 -187
- package/esm2022/src/lib/modal/dialog/dialog.types.mjs +0 -2
- package/esm2022/src/lib/modal/modal.component.mjs +0 -159
- package/esm2022/src/lib/modal/modal.model.mjs +0 -2
- package/esm2022/src/lib/modal/public-api.mjs +0 -3
- package/esm2022/src/lib/modal/spicainternational-ngx-sds-components-src-lib-modal.mjs +0 -5
- package/esm2022/src/lib/navigation/models/navigation-models.mjs +0 -2
- package/esm2022/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.mjs +0 -17
- package/esm2022/src/lib/navigation/navigation-container/navigation-container.component.mjs +0 -58
- package/esm2022/src/lib/navigation/navigation-external-link/navigation-external-link.component.mjs +0 -33
- package/esm2022/src/lib/navigation/navigation-group/navigation-group.component.mjs +0 -220
- package/esm2022/src/lib/navigation/navigation-header/navigation-header.component.mjs +0 -21
- package/esm2022/src/lib/navigation/navigation-route-link/navigation-route-link.component.mjs +0 -73
- package/esm2022/src/lib/navigation/navigation-separator/navigation-separator.component.mjs +0 -15
- package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.mjs +0 -30
- package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.mjs +0 -45
- package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.mjs +0 -2
- package/esm2022/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.mjs +0 -25
- package/esm2022/src/lib/navigation/navigation-user-profile/navigation-profile.model.mjs +0 -2
- package/esm2022/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.mjs +0 -107
- package/esm2022/src/lib/navigation/pipes/active-route-pattern.pipe.mjs +0 -38
- package/esm2022/src/lib/navigation/product-home/product-home.component.mjs +0 -70
- package/esm2022/src/lib/navigation/public-api.mjs +0 -15
- package/esm2022/src/lib/navigation/spicainternational-ngx-sds-components-src-lib-navigation.mjs +0 -5
- package/esm2022/src/lib/navigation/utils/navigation.utils.mjs +0 -48
- package/esm2022/src/lib/number-box/number-box.component.mjs +0 -138
- package/esm2022/src/lib/number-box/public-api.mjs +0 -2
- package/esm2022/src/lib/number-box/spicainternational-ngx-sds-components-src-lib-number-box.mjs +0 -5
- package/esm2022/src/lib/page-header/page-header.component.mjs +0 -25
- package/esm2022/src/lib/page-header/public-api.mjs +0 -2
- package/esm2022/src/lib/page-header/spicainternational-ngx-sds-components-src-lib-page-header.mjs +0 -5
- package/esm2022/src/lib/pane/pane.component.mjs +0 -43
- package/esm2022/src/lib/pane/pane.model.mjs +0 -2
- package/esm2022/src/lib/pane/public-api.mjs +0 -3
- package/esm2022/src/lib/pane/spicainternational-ngx-sds-components-src-lib-pane.mjs +0 -5
- package/esm2022/src/lib/quick-info/public-api.mjs +0 -2
- package/esm2022/src/lib/quick-info/quick-info.component.mjs +0 -121
- package/esm2022/src/lib/quick-info/quick-info.model.mjs +0 -2
- package/esm2022/src/lib/quick-info/spicainternational-ngx-sds-components-src-lib-quick-info.mjs +0 -5
- package/esm2022/src/lib/ripple/public-api.mjs +0 -2
- package/esm2022/src/lib/ripple/ripple.directive.mjs +0 -103
- package/esm2022/src/lib/ripple/spicainternational-ngx-sds-components-src-lib-ripple.mjs +0 -5
- package/esm2022/src/lib/segmented-control/public-api.mjs +0 -2
- package/esm2022/src/lib/segmented-control/segmented-control.component.mjs +0 -239
- package/esm2022/src/lib/segmented-control/spicainternational-ngx-sds-components-src-lib-segmented-control.mjs +0 -5
- package/esm2022/src/lib/side-bar/public-api.mjs +0 -2
- package/esm2022/src/lib/side-bar/side-bar.component.mjs +0 -45
- package/esm2022/src/lib/side-bar/spicainternational-ngx-sds-components-src-lib-side-bar.mjs +0 -5
- package/esm2022/src/lib/static-value/public-api.mjs +0 -2
- package/esm2022/src/lib/static-value/spicainternational-ngx-sds-components-src-lib-static-value.mjs +0 -5
- package/esm2022/src/lib/static-value/static-value.component.mjs +0 -25
- package/esm2022/src/lib/table-actions/public-api.mjs +0 -2
- package/esm2022/src/lib/table-actions/spicainternational-ngx-sds-components-src-lib-table-actions.mjs +0 -5
- package/esm2022/src/lib/table-actions/table-actions.component.mjs +0 -49
- package/esm2022/src/lib/timeline/components/timeline.component.mjs +0 -398
- package/esm2022/src/lib/timeline/models/timeline.model.mjs +0 -2
- package/esm2022/src/lib/timeline/public-api.mjs +0 -2
- package/esm2022/src/lib/timeline/services/timeline.service.mjs +0 -152
- package/esm2022/src/lib/timeline/spicainternational-ngx-sds-components-src-lib-timeline.mjs +0 -5
- package/esm2022/src/lib/timeline/types/timeline.types.mjs +0 -2
- package/esm2022/src/lib/timer/public-api.mjs +0 -3
- package/esm2022/src/lib/timer/services/index.mjs +0 -2
- package/esm2022/src/lib/timer/services/timer.service.mjs +0 -99
- package/esm2022/src/lib/timer/spicainternational-ngx-sds-components-src-lib-timer.mjs +0 -5
- package/esm2022/src/lib/timer/utils/index.mjs +0 -2
- package/esm2022/src/lib/timer/utils/timer.utils.mjs +0 -97
- package/esm2022/src/lib/tooltip/components/tooltip.component.mjs +0 -26
- package/esm2022/src/lib/tooltip/public-api.mjs +0 -2
- package/esm2022/src/lib/tooltip/spicainternational-ngx-sds-components-src-lib-tooltip.mjs +0 -5
- package/esm2022/src/lib/tooltip/tooltip.directive.mjs +0 -192
- package/esm2022/src/lib/tooltip/tooltip.types.mjs +0 -2
- package/esm2022/src/lib/tooltip/utils/index.mjs +0 -2
- package/esm2022/src/lib/tooltip/utils/tooltip.utils.mjs +0 -17
- package/esm2022/src/lib/utils/date-time/date-time-format.function.mjs +0 -15
- package/esm2022/src/lib/utils/date-time/intl-date-time-format-options-presets.mjs +0 -29
- package/esm2022/src/lib/utils/date-time/public-api.mjs +0 -3
- package/esm2022/src/lib/utils/date-time/spicainternational-ngx-sds-components-src-lib-utils-date-time.mjs +0 -5
- package/esm2022/src/lib/utils/public-api.mjs +0 -2
- package/esm2022/src/lib/utils/spicainternational-ngx-sds-components-src-lib-utils.mjs +0 -5
- package/index.d.ts +0 -5
- package/src/lib/app-switcher/app-switcher.model.d.ts +0 -8
- package/src/lib/app-switcher/index.d.ts +0 -5
- package/src/lib/app-switcher/public-api.d.ts +0 -2
- package/src/lib/avatar/avatar-group.component.d.ts +0 -28
- package/src/lib/avatar/avatar-group.model.d.ts +0 -6
- package/src/lib/avatar/index.d.ts +0 -5
- package/src/lib/avatar/public-api.d.ts +0 -3
- package/src/lib/badge/badge.types.d.ts +0 -2
- package/src/lib/badge/components/badge.component.d.ts +0 -23
- package/src/lib/badge/index.d.ts +0 -5
- package/src/lib/badge/public-api.d.ts +0 -1
- package/src/lib/callout/index.d.ts +0 -5
- package/src/lib/callout/public-api.d.ts +0 -1
- package/src/lib/color-picker/index.d.ts +0 -5
- package/src/lib/color-picker/public-api.d.ts +0 -1
- package/src/lib/date-picker/date-picker.model.d.ts +0 -34
- package/src/lib/date-picker/index.d.ts +0 -5
- package/src/lib/date-picker/public-api.d.ts +0 -2
- package/src/lib/date-picker/sds-date-picker.service.d.ts +0 -9
- package/src/lib/date-pipes/date-compare.pipe.d.ts +0 -7
- package/src/lib/date-pipes/date-format.pipe.d.ts +0 -19
- package/src/lib/date-pipes/date-period-format.pipe.d.ts +0 -11
- package/src/lib/date-pipes/date-time-formats.constants.d.ts +0 -22
- package/src/lib/date-pipes/date-time-range-duration.pipe.d.ts +0 -7
- package/src/lib/date-pipes/date-time-range-format.pipe.d.ts +0 -15
- package/src/lib/date-pipes/index.d.ts +0 -5
- package/src/lib/date-pipes/public-api.d.ts +0 -7
- package/src/lib/drawer/index.d.ts +0 -5
- package/src/lib/drawer/public-api.d.ts +0 -1
- package/src/lib/duration-box/duration-box.types.d.ts +0 -1
- package/src/lib/duration-box/duration.service.d.ts +0 -10
- package/src/lib/duration-box/index.d.ts +0 -5
- package/src/lib/duration-box/public-api.d.ts +0 -1
- package/src/lib/duration-pipe/index.d.ts +0 -5
- package/src/lib/duration-pipe/public-api.d.ts +0 -1
- package/src/lib/ellipsis/index.d.ts +0 -5
- package/src/lib/ellipsis/public-api.d.ts +0 -1
- package/src/lib/expansion-panel/expansion-panel.types.d.ts +0 -2
- package/src/lib/expansion-panel/index.d.ts +0 -5
- package/src/lib/expansion-panel/public-api.d.ts +0 -1
- package/src/lib/highlight-text/directives/index.d.ts +0 -1
- package/src/lib/highlight-text/index.d.ts +0 -5
- package/src/lib/highlight-text/pipes/highlight-text.pipe.d.ts +0 -11
- package/src/lib/highlight-text/pipes/index.d.ts +0 -1
- package/src/lib/highlight-text/public-api.d.ts +0 -2
- package/src/lib/highlight-text/utils/highlight-text.utils.d.ts +0 -23
- package/src/lib/highlight-text/utils/index.d.ts +0 -1
- package/src/lib/intersection/directives/index.d.ts +0 -1
- package/src/lib/intersection/directives/intersection.directive.d.ts +0 -24
- package/src/lib/intersection/index.d.ts +0 -5
- package/src/lib/intersection/public-api.d.ts +0 -2
- package/src/lib/intersection/services/index.d.ts +0 -1
- package/src/lib/intersection/services/intersection.service.d.ts +0 -19
- package/src/lib/keyboard-shortcut/directives/index.d.ts +0 -1
- package/src/lib/keyboard-shortcut/directives/keyboard-shortcut.directive.d.ts +0 -17
- package/src/lib/keyboard-shortcut/index.d.ts +0 -5
- package/src/lib/keyboard-shortcut/public-api.d.ts +0 -1
- package/src/lib/layout/default-layout/default-layout.component.d.ts +0 -8
- package/src/lib/layout/extra-large-layout/extra-large-layout.component.d.ts +0 -8
- package/src/lib/layout/fluid-layout/fluid-layout.component.d.ts +0 -8
- package/src/lib/layout/index.d.ts +0 -5
- package/src/lib/layout/medium-layout/medium-layout.component.d.ts +0 -8
- package/src/lib/layout/public-api.d.ts +0 -5
- package/src/lib/layout/small-layout/small-layout.component.d.ts +0 -8
- package/src/lib/message/index.d.ts +0 -5
- package/src/lib/message/public-api.d.ts +0 -1
- package/src/lib/modal/dialog/dialog.component.d.ts +0 -61
- package/src/lib/modal/dialog/dialog.types.d.ts +0 -1
- package/src/lib/modal/index.d.ts +0 -5
- package/src/lib/modal/modal.component.d.ts +0 -60
- package/src/lib/modal/modal.model.d.ts +0 -3
- package/src/lib/modal/public-api.d.ts +0 -2
- package/src/lib/navigation/index.d.ts +0 -5
- package/src/lib/navigation/models/navigation-models.d.ts +0 -4
- package/src/lib/navigation/navigation-collapsible-frame/navigation-collapsible-frame.component.d.ts +0 -7
- package/src/lib/navigation/navigation-container/navigation-container.component.d.ts +0 -25
- package/src/lib/navigation/navigation-external-link/navigation-external-link.component.d.ts +0 -13
- package/src/lib/navigation/navigation-group/navigation-group.component.d.ts +0 -65
- package/src/lib/navigation/navigation-header/navigation-header.component.d.ts +0 -11
- package/src/lib/navigation/navigation-route-link/navigation-route-link.component.d.ts +0 -31
- package/src/lib/navigation/navigation-separator/navigation-separator.component.d.ts +0 -10
- package/src/lib/navigation/navigation-user-profile/components/user-profile-action-button/user-profile-action-button.component.d.ts +0 -11
- package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.component.d.ts +0 -17
- package/src/lib/navigation/navigation-user-profile/components/user-profile-selector/user-profile-selector.types.d.ts +0 -1
- package/src/lib/navigation/navigation-user-profile/components/user-profile-tile/user-profile-tile.component.d.ts +0 -9
- package/src/lib/navigation/navigation-user-profile/navigation-profile.model.d.ts +0 -6
- package/src/lib/navigation/navigation-user-profile/navigation-user-profile.component.d.ts +0 -34
- package/src/lib/navigation/pipes/active-route-pattern.pipe.d.ts +0 -21
- package/src/lib/navigation/product-home/product-home.component.d.ts +0 -31
- package/src/lib/navigation/public-api.d.ts +0 -14
- package/src/lib/navigation/utils/navigation.utils.d.ts +0 -2
- package/src/lib/number-box/index.d.ts +0 -5
- package/src/lib/number-box/public-api.d.ts +0 -1
- package/src/lib/page-header/index.d.ts +0 -5
- package/src/lib/page-header/public-api.d.ts +0 -1
- package/src/lib/pane/index.d.ts +0 -5
- package/src/lib/pane/pane.model.d.ts +0 -8
- package/src/lib/pane/public-api.d.ts +0 -2
- package/src/lib/quick-info/index.d.ts +0 -5
- package/src/lib/quick-info/public-api.d.ts +0 -1
- package/src/lib/quick-info/quick-info.model.d.ts +0 -9
- package/src/lib/ripple/index.d.ts +0 -5
- package/src/lib/ripple/public-api.d.ts +0 -1
- package/src/lib/segmented-control/index.d.ts +0 -5
- package/src/lib/segmented-control/public-api.d.ts +0 -1
- package/src/lib/segmented-control/segmented-control.component.d.ts +0 -42
- package/src/lib/side-bar/index.d.ts +0 -5
- package/src/lib/side-bar/public-api.d.ts +0 -1
- package/src/lib/side-bar/side-bar.component.d.ts +0 -30
- package/src/lib/static-value/index.d.ts +0 -5
- package/src/lib/static-value/public-api.d.ts +0 -1
- package/src/lib/table-actions/index.d.ts +0 -5
- package/src/lib/table-actions/public-api.d.ts +0 -1
- package/src/lib/timeline/index.d.ts +0 -5
- package/src/lib/timeline/models/timeline.model.d.ts +0 -38
- package/src/lib/timeline/public-api.d.ts +0 -1
- package/src/lib/timeline/services/timeline.service.d.ts +0 -24
- package/src/lib/timeline/types/timeline.types.d.ts +0 -2
- package/src/lib/timer/index.d.ts +0 -5
- package/src/lib/timer/public-api.d.ts +0 -2
- package/src/lib/timer/services/index.d.ts +0 -1
- package/src/lib/timer/services/timer.service.d.ts +0 -78
- package/src/lib/timer/utils/index.d.ts +0 -1
- package/src/lib/timer/utils/timer.utils.d.ts +0 -61
- package/src/lib/tooltip/components/tooltip.component.d.ts +0 -18
- package/src/lib/tooltip/index.d.ts +0 -5
- package/src/lib/tooltip/public-api.d.ts +0 -1
- package/src/lib/tooltip/tooltip.types.d.ts +0 -2
- package/src/lib/tooltip/utils/index.d.ts +0 -1
- package/src/lib/tooltip/utils/tooltip.utils.d.ts +0 -5
- package/src/lib/utils/date-time/date-time-format.function.d.ts +0 -2
- package/src/lib/utils/date-time/index.d.ts +0 -5
- package/src/lib/utils/date-time/intl-date-time-format-options-presets.d.ts +0 -4
- package/src/lib/utils/date-time/public-api.d.ts +0 -2
- package/src/lib/utils/index.d.ts +0 -5
- package/src/lib/utils/public-api.d.ts +0 -1
- /package/{public-api.d.ts → types/spicainternational-ngx-sds-components.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, model, inject, computed, Component, QueryList, signal, ContentChildren, Input, EventEmitter, Output,
|
|
2
|
+
import { input, model, inject, computed, effect, Component, QueryList, signal, ContentChildren, Input, EventEmitter, Output, untracked, ChangeDetectionStrategy, Pipe } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/router';
|
|
4
4
|
import { Router, NavigationEnd, RouterLink } from '@angular/router';
|
|
5
5
|
import { NgIf, NgFor } from '@angular/common';
|
|
@@ -65,16 +65,17 @@ function isSubsetOrSame(mainArray, subArray) {
|
|
|
65
65
|
|
|
66
66
|
class SdsNavigationRouteLinkComponent {
|
|
67
67
|
#router;
|
|
68
|
+
#routerUrl;
|
|
68
69
|
constructor() {
|
|
69
70
|
/**
|
|
70
71
|
* This variable is used as 'routerLink' attribute in the anchor tag.
|
|
71
72
|
*
|
|
72
73
|
* Is named 'link' to avoid conflict with the 'routerLink' directive.
|
|
73
74
|
*/
|
|
74
|
-
this.link = input('');
|
|
75
|
+
this.link = input('', ...(ngDevMode ? [{ debugName: "link" }] : /* istanbul ignore next */ []));
|
|
75
76
|
/** @deprecated Use `activeRoutePattern` instead. */
|
|
76
|
-
this.nestedLinks = input([]);
|
|
77
|
-
this.text = input('');
|
|
77
|
+
this.nestedLinks = input([], ...(ngDevMode ? [{ debugName: "nestedLinks" }] : /* istanbul ignore next */ []));
|
|
78
|
+
this.text = input('', ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
78
79
|
/**
|
|
79
80
|
* This variable can be used to provide a pattern for active route.
|
|
80
81
|
* It has higher priority than default route matching (checking if current route starts with provided link or is part of nested links).
|
|
@@ -82,20 +83,19 @@ class SdsNavigationRouteLinkComponent {
|
|
|
82
83
|
*
|
|
83
84
|
* @memberof SdsNavigationRouteLinkComponent
|
|
84
85
|
*/
|
|
85
|
-
this.activeRoutePattern = input('');
|
|
86
|
-
this.additionalInfo = input(undefined);
|
|
87
|
-
this.disabled = input(false);
|
|
88
|
-
this.isCollapsed = model(false);
|
|
86
|
+
this.activeRoutePattern = input('', ...(ngDevMode ? [{ debugName: "activeRoutePattern" }] : /* istanbul ignore next */ []));
|
|
87
|
+
this.additionalInfo = input(undefined, ...(ngDevMode ? [{ debugName: "additionalInfo" }] : /* istanbul ignore next */ []));
|
|
88
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
89
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
89
90
|
/** @deprecated Use `activeRoutePattern` instead. */
|
|
90
|
-
this.ignoreQueryParamsInActiveRoute = input(false);
|
|
91
|
+
this.ignoreQueryParamsInActiveRoute = input(false, ...(ngDevMode ? [{ debugName: "ignoreQueryParamsInActiveRoute" }] : /* istanbul ignore next */ []));
|
|
91
92
|
this.#router = inject(Router);
|
|
92
|
-
this.#routerUrl = toSignal(this.#router.events.pipe(filter((event) => event instanceof NavigationEnd), map((event) => event.urlAfterRedirects)), { initialValue: this.#router.url });
|
|
93
93
|
this.#currentUrl = computed(() => {
|
|
94
94
|
const activeRoute = this.ignoreQueryParamsInActiveRoute()
|
|
95
95
|
? removeQueryParams(this.#routerUrl())
|
|
96
96
|
: this.#routerUrl();
|
|
97
97
|
return activeRoute.split('/').filter((p) => p.length > 0);
|
|
98
|
-
});
|
|
98
|
+
}, ...(ngDevMode ? [{ debugName: "#currentUrl" }] : /* istanbul ignore next */ []));
|
|
99
99
|
this.#activeRoutePatternRegExp = computed(() => {
|
|
100
100
|
if (!this.activeRoutePattern()) {
|
|
101
101
|
return null;
|
|
@@ -104,7 +104,7 @@ class SdsNavigationRouteLinkComponent {
|
|
|
104
104
|
return new RegExp(this.activeRoutePattern());
|
|
105
105
|
}
|
|
106
106
|
return this.activeRoutePattern();
|
|
107
|
-
});
|
|
107
|
+
}, ...(ngDevMode ? [{ debugName: "#activeRoutePatternRegExp" }] : /* istanbul ignore next */ []));
|
|
108
108
|
this.isActive = computed(() => {
|
|
109
109
|
// If activeRoutePattern is provided, we should use it to determine if route is active
|
|
110
110
|
if (this.#activeRoutePatternRegExp()) {
|
|
@@ -116,18 +116,21 @@ class SdsNavigationRouteLinkComponent {
|
|
|
116
116
|
const defaultLink = this.link();
|
|
117
117
|
const isActive = isUrlPartOfNavigationGroup(currentUrl, nestedLinks, defaultLink);
|
|
118
118
|
return isActive;
|
|
119
|
+
}, ...(ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []));
|
|
120
|
+
this.#routerUrl = toSignal(this.#router.events.pipe(filter((event) => event instanceof NavigationEnd), map((event) => event.urlAfterRedirects)), { initialValue: this.#router.url });
|
|
121
|
+
effect(() => {
|
|
122
|
+
console.log('SdsNavigationRouteLinkComponent', this.#routerUrl());
|
|
119
123
|
});
|
|
120
124
|
}
|
|
121
|
-
#routerUrl;
|
|
122
125
|
#currentUrl;
|
|
123
126
|
#activeRoutePatternRegExp;
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationRouteLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
128
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationRouteLinkComponent, isStandalone: true, selector: "sds-navigation-route-link", inputs: { link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, nestedLinks: { classPropertyName: "nestedLinks", publicName: "nestedLinks", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, activeRoutePattern: { classPropertyName: "activeRoutePattern", publicName: "activeRoutePattern", isSignal: true, isRequired: false, transformFunction: null }, additionalInfo: { classPropertyName: "additionalInfo", publicName: "additionalInfo", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, ignoreQueryParamsInActiveRoute: { classPropertyName: "ignoreQueryParamsInActiveRoute", publicName: "ignoreQueryParamsInActiveRoute", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "<!-- class=\"sds-navigation-router-link sidebar-item-x d-flex justify-content-start align-items-center sidebar-item-x py-1\"> -->\n<div \n class=\"sds-navigation-router-link sds-navigation-item-container\"\n [class.disabled]=\"disabled()\"\n [class.active]=\"isActive()\"\n [title]=\"isCollapsed() ? text() : ''\"\n >\n \n <a class=\"sds-navigation-item-content w-100 pe-2 text-gray-800 sds-fs-93\" \n [routerLink]=\"disabled() ? null : link()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n\n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text() }}\n </div>\n <span *ngIf=\"additionalInfo()\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body\"\n >{{ additionalInfo() }}</span\n > \n </ng-container>\n </div>\n </a>\n</div>", styles: [".sds-navigation-router-link.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-router-link.active>a{font-weight:600!important}.sds-navigation-router-link.sds-navigation-item-container.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-router-link.sds-navigation-item-container:hover:not(.active){background-color:var(--bs-gray-200)!important}.sds-navigation-router-link.sds-navigation-item-container{border-radius:.266rem;border-left:none!important}.sds-navigation-router-link{padding:0!important}.sds-navigation-router-link a{padding-top:.5rem!important;padding-bottom:.5rem!important}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
|
|
126
129
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationRouteLinkComponent, decorators: [{
|
|
128
131
|
type: Component,
|
|
129
|
-
args: [{ selector: 'sds-navigation-route-link',
|
|
130
|
-
}], ctorParameters: () => [] });
|
|
132
|
+
args: [{ selector: 'sds-navigation-route-link', imports: [NgIf, RouterLink], template: "<!-- class=\"sds-navigation-router-link sidebar-item-x d-flex justify-content-start align-items-center sidebar-item-x py-1\"> -->\n<div \n class=\"sds-navigation-router-link sds-navigation-item-container\"\n [class.disabled]=\"disabled()\"\n [class.active]=\"isActive()\"\n [title]=\"isCollapsed() ? text() : ''\"\n >\n \n <a class=\"sds-navigation-item-content w-100 pe-2 text-gray-800 sds-fs-93\" \n [routerLink]=\"disabled() ? null : link()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n\n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text() }}\n </div>\n <span *ngIf=\"additionalInfo()\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body\"\n >{{ additionalInfo() }}</span\n > \n </ng-container>\n </div>\n </a>\n</div>", styles: [".sds-navigation-router-link.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-router-link.active>a{font-weight:600!important}.sds-navigation-router-link.sds-navigation-item-container.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-router-link.sds-navigation-item-container:hover:not(.active){background-color:var(--bs-gray-200)!important}.sds-navigation-router-link.sds-navigation-item-container{border-radius:.266rem;border-left:none!important}.sds-navigation-router-link{padding:0!important}.sds-navigation-router-link a{padding-top:.5rem!important;padding-bottom:.5rem!important}\n"] }]
|
|
133
|
+
}], ctorParameters: () => [], propDecorators: { link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], nestedLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "nestedLinks", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], activeRoutePattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeRoutePattern", required: false }] }], additionalInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalInfo", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], ignoreQueryParamsInActiveRoute: [{ type: i0.Input, args: [{ isSignal: true, alias: "ignoreQueryParamsInActiveRoute", required: false }] }] } });
|
|
131
134
|
|
|
132
135
|
class SdsNavigationGroupComponent {
|
|
133
136
|
/** @deprecated Use `activeRoutePattern` instead. */
|
|
@@ -160,7 +163,7 @@ class SdsNavigationGroupComponent {
|
|
|
160
163
|
this.disabled = false;
|
|
161
164
|
this.showPopover = false;
|
|
162
165
|
this.showPopoverHeader = false;
|
|
163
|
-
this.lightStyle = input(true);
|
|
166
|
+
this.lightStyle = input(true, ...(ngDevMode ? [{ debugName: "lightStyle" }] : /* istanbul ignore next */ []));
|
|
164
167
|
/**
|
|
165
168
|
* This variable can be used to provide a pattern for active route.
|
|
166
169
|
* It has higher priority than default route matching (checking if current route starts with provided link or is part of nested links).
|
|
@@ -168,11 +171,11 @@ class SdsNavigationGroupComponent {
|
|
|
168
171
|
*
|
|
169
172
|
* @memberof SdsNavigationGroupComponent
|
|
170
173
|
*/
|
|
171
|
-
this.activeRoutePattern = input('');
|
|
172
|
-
this.additionalInfo = input(undefined);
|
|
174
|
+
this.activeRoutePattern = input('', ...(ngDevMode ? [{ debugName: "activeRoutePattern" }] : /* istanbul ignore next */ []));
|
|
175
|
+
this.additionalInfo = input(undefined, ...(ngDevMode ? [{ debugName: "additionalInfo" }] : /* istanbul ignore next */ []));
|
|
173
176
|
this.routerLinkComponents = new QueryList();
|
|
174
177
|
this.active = false;
|
|
175
|
-
this.isPopoverVisible = signal(false);
|
|
178
|
+
this.isPopoverVisible = signal(false, ...(ngDevMode ? [{ debugName: "isPopoverVisible" }] : /* istanbul ignore next */ []));
|
|
176
179
|
this.faAngleUpRegular = faAngleUp;
|
|
177
180
|
this.faAngleDownRegular = faAngleDown;
|
|
178
181
|
/**
|
|
@@ -186,9 +189,9 @@ class SdsNavigationGroupComponent {
|
|
|
186
189
|
this.#pendingOpenTimeoutId = null;
|
|
187
190
|
this.#pendingCloseTimeoutId = null;
|
|
188
191
|
this.#closeRequested = false;
|
|
189
|
-
this.isCollapsed = model(false);
|
|
190
|
-
this.lastPointerType = signal('mouse');
|
|
191
|
-
this.isTouchPointerType = computed(() => this.lastPointerType() === 'touch');
|
|
192
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
193
|
+
this.lastPointerType = signal('mouse', ...(ngDevMode ? [{ debugName: "lastPointerType" }] : /* istanbul ignore next */ []));
|
|
194
|
+
this.isTouchPointerType = computed(() => this.lastPointerType() === 'touch', ...(ngDevMode ? [{ debugName: "isTouchPointerType" }] : /* istanbul ignore next */ []));
|
|
192
195
|
this.#activeRoutePatternRegExp = computed(() => {
|
|
193
196
|
if (!this.activeRoutePattern()) {
|
|
194
197
|
return null;
|
|
@@ -197,7 +200,7 @@ class SdsNavigationGroupComponent {
|
|
|
197
200
|
return new RegExp(this.activeRoutePattern());
|
|
198
201
|
}
|
|
199
202
|
return this.activeRoutePattern();
|
|
200
|
-
});
|
|
203
|
+
}, ...(ngDevMode ? [{ debugName: "#activeRoutePatternRegExp" }] : /* istanbul ignore next */ []));
|
|
201
204
|
}
|
|
202
205
|
#activeRoutePatternRegExp;
|
|
203
206
|
ngOnInit() {
|
|
@@ -300,18 +303,18 @@ class SdsNavigationGroupComponent {
|
|
|
300
303
|
rememberPointer(e) {
|
|
301
304
|
this.lastPointerType.set(e.pointerType ?? 'mouse');
|
|
302
305
|
}
|
|
303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
304
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.3.12", type: SdsNavigationGroupComponent, isStandalone: true, selector: "sds-navigation-group", inputs: { navigationGroupNestedRoutes: { classPropertyName: "navigationGroupNestedRoutes", publicName: "navigationGroupNestedRoutes", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, defaultRouterLink: { classPropertyName: "defaultRouterLink", publicName: "defaultRouterLink", isSignal: false, isRequired: false, transformFunction: null }, reverse: { classPropertyName: "reverse", publicName: "reverse", isSignal: false, isRequired: false, transformFunction: null }, ignoreQueryParamsInActiveRoute: { classPropertyName: "ignoreQueryParamsInActiveRoute", publicName: "ignoreQueryParamsInActiveRoute", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, showPopover: { classPropertyName: "showPopover", publicName: "showPopover", isSignal: false, isRequired: false, transformFunction: null }, showPopoverHeader: { classPropertyName: "showPopoverHeader", publicName: "showPopoverHeader", isSignal: false, isRequired: false, transformFunction: null }, lightStyle: { classPropertyName: "lightStyle", publicName: "lightStyle", isSignal: true, isRequired: false, transformFunction: null }, activeRoutePattern: { classPropertyName: "activeRoutePattern", publicName: "activeRoutePattern", isSignal: true, isRequired: false, transformFunction: null }, additionalInfo: { classPropertyName: "additionalInfo", publicName: "additionalInfo", isSignal: true, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, queries: [{ propertyName: "routerLinkComponents", predicate: SdsNavigationRouteLinkComponent }], usesOnChanges: true, ngImport: i0, template: "<div \n #navigationGroup\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\n [class.flex-column-reverse]=\"reverse\"\n [class.flex-column]=\"!reverse\"\n [class.disabled]=\"disabled\"\n [class.active]=\"isGroupActive\"\n [class.collapsed]=\"isCollapsed()\"\n [class.popoverVisible]=\"isPopoverVisible()\"\n >\n <a \n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\n [class.collapsed]=\"isCollapsed()\"\n style=\"cursor: pointer\"\n [routerLink]=\"(isCollapsed() && isTouchPointerType()) ? undefined : [defaultRouterLink]\"\n (pointerdown)=\"rememberPointer($event)\"\n\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n (click)=\"onClick()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n \n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text }}\n </div>\n <span *ngIf=\"additionalInfo() && !isGroupActive\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body me-2\"\n >{{ additionalInfo() }}\n </span>\n <div class=\"text-right group-dropdown\">\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\n </div>\n </ng-container>\n </div>\n </a>\n\n <div \n class=\"sub-menu\" \n *ngIf=\"!isCollapsed()\">\n\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\n <dx-popover\n [target]=\"navigationGroup\"\n \n \n (onHiding)=\"onHiding($event)\"\n width=\"15rem\"\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2', style: 'border-left: none'}\"\n [hideOnOutsideClick]=\"true\"\n [hideOnParentScroll]=\"true\"\n [animation]=\"{}\"\n [(visible)]=\"isPopoverVisible\"\n >\n\n <dxo-position\n my=\"top left\"\n at=\"top right\"\n [of]=\"navigationGroup\"\n offset=\"-10 -5\"\n >\n </dxo-position>\n\n <div *ngIf=\"showPopoverHeader && isCollapsed()\" class=\"group-header user-select-none\">\n {{ text }}\n </div>\n <div \n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\n >\n <div class=\"sds-navigation-group-items\">\n <ng-content select=\"[popoverContent]\"></ng-content>\n </div>\n </div>\n </dx-popover>\n</ng-container>\n", styles: [".gap-05{gap:.125rem!important}.sds-navigation-group.sds-navigation-item-container{border-radius:.266rem;border-left:none!important;padding-top:0!important;padding-bottom:0!important}.sds-navigation-group.sds-navigation-item-container a{padding-top:.6rem!important;padding-bottom:.6rem!important}.sds-navigation-group.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-group.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-group.active>a{font-weight:600}.sds-navigation-group.active:not(.collapsed){background-color:transparent!important}.sds-navigation-group .group-dropdown{transition:transform .2s ease-out}.sds-navigation-group.popoverVisible:not(.active){background-color:var(--bs-gray-200)}.sds-navigation-group.popoverVisible:not(.active) .group-dropdown{transform:rotate(-90deg)}.sds-navigation-group .sub-menu{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease-out}.sds-navigation-group .sub-menu>div{overflow:hidden;min-height:0}.sds-navigation-group.active .sub-menu{grid-template-rows:1fr}::ng-deep .sds-navigation-group-popover-wrapper{--sds-navigation-active-item: oklch(.6 .2 var(--sds-brand-hue) / .12)}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-0 .dx-popup-content{padding:0rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-1 .dx-popup-content{padding:.25rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-2 .dx-popup-content{padding:.5rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-3 .dx-popup-content{padding:1rem}::ng-deep .sds-navigation-group-popover-wrapper .dx-popover-arrow{display:none}::ng-deep .sds-navigation-group-popover-wrapper .group-header{font-weight:600;padding:.25rem .75rem .5rem .5rem}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container{color:var(--bs-body-color)!important;padding-bottom:.07rem;overflow-y:auto;max-height:45vh}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .active{font-weight:500}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-icon{display:none}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container{border-left:none;padding-top:.25rem;padding-bottom:.25rem;border-radius:var(--bs-border-radius);color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-item-content{padding-top:.25rem;padding-bottom:.25rem;padding-left:1rem;color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-header{color:var(--bs-body-color)!important}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "ngmodule", type: DxPopoverModule }, { kind: "component", type: i2.DxPopoverComponent, selector: "dx-popover", inputs: ["animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "enableBodyScroll", "height", "hideEvent", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showEvent", "showTitle", "target", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "onTitleRendered", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "enableBodyScrollChange", "heightChange", "hideEventChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showEventChange", "showTitleChange", "targetChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i3.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "ngmodule", type: DxoPositionModule }] }); }
|
|
306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationGroupComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
307
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationGroupComponent, isStandalone: true, selector: "sds-navigation-group", inputs: { navigationGroupNestedRoutes: { classPropertyName: "navigationGroupNestedRoutes", publicName: "navigationGroupNestedRoutes", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, defaultRouterLink: { classPropertyName: "defaultRouterLink", publicName: "defaultRouterLink", isSignal: false, isRequired: false, transformFunction: null }, reverse: { classPropertyName: "reverse", publicName: "reverse", isSignal: false, isRequired: false, transformFunction: null }, ignoreQueryParamsInActiveRoute: { classPropertyName: "ignoreQueryParamsInActiveRoute", publicName: "ignoreQueryParamsInActiveRoute", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, showPopover: { classPropertyName: "showPopover", publicName: "showPopover", isSignal: false, isRequired: false, transformFunction: null }, showPopoverHeader: { classPropertyName: "showPopoverHeader", publicName: "showPopoverHeader", isSignal: false, isRequired: false, transformFunction: null }, lightStyle: { classPropertyName: "lightStyle", publicName: "lightStyle", isSignal: true, isRequired: false, transformFunction: null }, activeRoutePattern: { classPropertyName: "activeRoutePattern", publicName: "activeRoutePattern", isSignal: true, isRequired: false, transformFunction: null }, additionalInfo: { classPropertyName: "additionalInfo", publicName: "additionalInfo", isSignal: true, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, queries: [{ propertyName: "routerLinkComponents", predicate: SdsNavigationRouteLinkComponent }], usesOnChanges: true, ngImport: i0, template: "<div \n #navigationGroup\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\n [class.flex-column-reverse]=\"reverse\"\n [class.flex-column]=\"!reverse\"\n [class.disabled]=\"disabled\"\n [class.active]=\"isGroupActive\"\n [class.collapsed]=\"isCollapsed()\"\n [class.popoverVisible]=\"isPopoverVisible()\"\n >\n <a \n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\n [class.collapsed]=\"isCollapsed()\"\n style=\"cursor: pointer\"\n [routerLink]=\"(isCollapsed() && isTouchPointerType()) ? undefined : [defaultRouterLink]\"\n (pointerdown)=\"rememberPointer($event)\"\n\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n (click)=\"onClick()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n \n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text }}\n </div>\n <span *ngIf=\"additionalInfo() && !isGroupActive\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body me-2\"\n >{{ additionalInfo() }}\n </span>\n <div class=\"text-right group-dropdown\">\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\n </div>\n </ng-container>\n </div>\n </a>\n\n <div \n class=\"sub-menu\" \n *ngIf=\"!isCollapsed()\">\n\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\n <dx-popover\n [target]=\"navigationGroup\"\n \n \n (onHiding)=\"onHiding($event)\"\n width=\"15rem\"\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2', style: 'border-left: none'}\"\n [hideOnOutsideClick]=\"true\"\n [hideOnParentScroll]=\"true\"\n [animation]=\"{}\"\n [(visible)]=\"isPopoverVisible\"\n >\n\n <dxo-position\n my=\"top left\"\n at=\"top right\"\n [of]=\"navigationGroup\"\n offset=\"-10 -5\"\n >\n </dxo-position>\n\n <div *ngIf=\"showPopoverHeader && isCollapsed()\" class=\"group-header user-select-none\">\n {{ text }}\n </div>\n <div \n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\n >\n <div class=\"sds-navigation-group-items\">\n <ng-content select=\"[popoverContent]\"></ng-content>\n </div>\n </div>\n </dx-popover>\n</ng-container>\n", styles: [".gap-05{gap:.125rem!important}.sds-navigation-group.sds-navigation-item-container{border-radius:.266rem;border-left:none!important;padding-top:0!important;padding-bottom:0!important}.sds-navigation-group.sds-navigation-item-container a{padding-top:.6rem!important;padding-bottom:.6rem!important}.sds-navigation-group.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-group.active>a{font-weight:600}.sds-navigation-group.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-group.active:not(.collapsed){background-color:transparent!important}.sds-navigation-group .group-dropdown{transition:transform .2s ease-out}.sds-navigation-group.popoverVisible:not(.active){background-color:var(--bs-gray-200)}.sds-navigation-group.popoverVisible:not(.active) .group-dropdown{transform:rotate(-90deg)}.sds-navigation-group .sub-menu{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease-out}.sds-navigation-group .sub-menu>div{overflow:hidden;min-height:0}.sds-navigation-group.active .sub-menu{grid-template-rows:1fr}::ng-deep .sds-navigation-group-popover-wrapper{--sds-navigation-active-item: oklch(.6 .2 var(--sds-brand-hue) / .12)}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-0 .dx-popup-content{padding:0rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-1 .dx-popup-content{padding:.25rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-2 .dx-popup-content{padding:.5rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-3 .dx-popup-content{padding:1rem}::ng-deep .sds-navigation-group-popover-wrapper .dx-popover-arrow{display:none}::ng-deep .sds-navigation-group-popover-wrapper .group-header{font-weight:600;padding:.25rem .75rem .5rem .5rem}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container{color:var(--bs-body-color)!important;padding-bottom:.07rem;overflow-y:auto;max-height:45vh}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .active{font-weight:500}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-icon{display:none}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container{border-left:none;padding-top:.25rem;padding-bottom:.25rem;border-radius:var(--bs-border-radius);color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-item-content{padding-top:.25rem;padding-bottom:.25rem;padding-left:1rem;color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-header{color:var(--bs-body-color)!important}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "ngmodule", type: DxPopoverModule }, { kind: "component", type: i2.DxPopoverComponent, selector: "dx-popover", inputs: ["animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "enableBodyScroll", "height", "hideEvent", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showEvent", "showTitle", "target", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "onTitleRendered", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "enableBodyScrollChange", "heightChange", "hideEventChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showEventChange", "showTitleChange", "targetChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }, { kind: "component", type: i3.DxoPositionComponent, selector: "dxo-position", inputs: ["at", "boundary", "boundaryOffset", "collision", "my", "of", "offset"] }, { kind: "ngmodule", type: DxoPositionModule }] }); }
|
|
305
308
|
}
|
|
306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationGroupComponent, decorators: [{
|
|
307
310
|
type: Component,
|
|
308
|
-
args: [{ selector: 'sds-navigation-group',
|
|
311
|
+
args: [{ selector: 'sds-navigation-group', imports: [
|
|
309
312
|
RouterLink,
|
|
310
313
|
NgIf,
|
|
311
314
|
FaIconComponent,
|
|
312
315
|
DxPopoverModule,
|
|
313
316
|
DxoPositionModule
|
|
314
|
-
], template: "<div \n #navigationGroup\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\n [class.flex-column-reverse]=\"reverse\"\n [class.flex-column]=\"!reverse\"\n [class.disabled]=\"disabled\"\n [class.active]=\"isGroupActive\"\n [class.collapsed]=\"isCollapsed()\"\n [class.popoverVisible]=\"isPopoverVisible()\"\n >\n <a \n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\n [class.collapsed]=\"isCollapsed()\"\n style=\"cursor: pointer\"\n [routerLink]=\"(isCollapsed() && isTouchPointerType()) ? undefined : [defaultRouterLink]\"\n (pointerdown)=\"rememberPointer($event)\"\n\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n (click)=\"onClick()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n \n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text }}\n </div>\n <span *ngIf=\"additionalInfo() && !isGroupActive\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body me-2\"\n >{{ additionalInfo() }}\n </span>\n <div class=\"text-right group-dropdown\">\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\n </div>\n </ng-container>\n </div>\n </a>\n\n <div \n class=\"sub-menu\" \n *ngIf=\"!isCollapsed()\">\n\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\n <dx-popover\n [target]=\"navigationGroup\"\n \n \n (onHiding)=\"onHiding($event)\"\n width=\"15rem\"\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2', style: 'border-left: none'}\"\n [hideOnOutsideClick]=\"true\"\n [hideOnParentScroll]=\"true\"\n [animation]=\"{}\"\n [(visible)]=\"isPopoverVisible\"\n >\n\n <dxo-position\n my=\"top left\"\n at=\"top right\"\n [of]=\"navigationGroup\"\n offset=\"-10 -5\"\n >\n </dxo-position>\n\n <div *ngIf=\"showPopoverHeader && isCollapsed()\" class=\"group-header user-select-none\">\n {{ text }}\n </div>\n <div \n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\n >\n <div class=\"sds-navigation-group-items\">\n <ng-content select=\"[popoverContent]\"></ng-content>\n </div>\n </div>\n </dx-popover>\n</ng-container>\n", styles: [".gap-05{gap:.125rem!important}.sds-navigation-group.sds-navigation-item-container{border-radius:.266rem;border-left:none!important;padding-top:0!important;padding-bottom:0!important}.sds-navigation-group.sds-navigation-item-container a{padding-top:.6rem!important;padding-bottom:.6rem!important}.sds-navigation-group.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-group.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-group.active
|
|
317
|
+
], template: "<div \n #navigationGroup\n class=\"sds-navigation-group sds-navigation-item-container d-flex\"\n [class.sds-navigation-group-light-style]=\"lightStyle()\"\n [class.flex-column-reverse]=\"reverse\"\n [class.flex-column]=\"!reverse\"\n [class.disabled]=\"disabled\"\n [class.active]=\"isGroupActive\"\n [class.collapsed]=\"isCollapsed()\"\n [class.popoverVisible]=\"isPopoverVisible()\"\n >\n <a \n class=\"w-100 sds-navigation-item-content p-2 text-gray-800 sds-fs-93\"\n [class.collapsed]=\"isCollapsed()\"\n style=\"cursor: pointer\"\n [routerLink]=\"(isCollapsed() && isTouchPointerType()) ? undefined : [defaultRouterLink]\"\n (pointerdown)=\"rememberPointer($event)\"\n\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n (click)=\"onClick()\"\n >\n <div class=\"d-flex align-items-center w-100 justify-content-center\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n \n <ng-container *ngIf=\"!isCollapsed()\">\n <div class=\"sds-navigation-text user-select-none\">\n {{ text }}\n </div>\n <span *ngIf=\"additionalInfo() && !isGroupActive\"\n class=\"sds-navigation-router-link-additional-info badge rounded-pill bg-warning text-body me-2\"\n >{{ additionalInfo() }}\n </span>\n <div class=\"text-right group-dropdown\">\n <fa-icon *ngIf=\"!reverse\" [icon]=\"faAngleDownRegular\"></fa-icon>\n <fa-icon *ngIf=\"reverse\" [icon]=\"faAngleUpRegular\"></fa-icon>\n </div>\n </ng-container>\n </div>\n </a>\n\n <div \n class=\"sub-menu\" \n *ngIf=\"!isCollapsed()\">\n\n <div class=\"sds-navigation-group-items sds-flex-column gap-05\">\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"isCollapsed() || (showPopover && !isGroupActive)\">\n <dx-popover\n [target]=\"navigationGroup\"\n \n \n (onHiding)=\"onHiding($event)\"\n width=\"15rem\"\n [wrapperAttr]=\"{ class: 'sds-navigation-group-popover-wrapper sds-dx-popup-content-padding-2', style: 'border-left: none'}\"\n [hideOnOutsideClick]=\"true\"\n [hideOnParentScroll]=\"true\"\n [animation]=\"{}\"\n [(visible)]=\"isPopoverVisible\"\n >\n\n <dxo-position\n my=\"top left\"\n at=\"top right\"\n [of]=\"navigationGroup\"\n offset=\"-10 -5\"\n >\n </dxo-position>\n\n <div *ngIf=\"showPopoverHeader && isCollapsed()\" class=\"group-header user-select-none\">\n {{ text }}\n </div>\n <div \n class=\"sds-navigation-container sds-navigation-popover-container sds-scrollbar sds-scrollbar-thin sds-scrollbar-no-hide\"\n >\n <div class=\"sds-navigation-group-items\">\n <ng-content select=\"[popoverContent]\"></ng-content>\n </div>\n </div>\n </dx-popover>\n</ng-container>\n", styles: [".gap-05{gap:.125rem!important}.sds-navigation-group.sds-navigation-item-container{border-radius:.266rem;border-left:none!important;padding-top:0!important;padding-bottom:0!important}.sds-navigation-group.sds-navigation-item-container a{padding-top:.6rem!important;padding-bottom:.6rem!important}.sds-navigation-group.sds-navigation-item-container.disabled{pointer-events:none;opacity:.6}.sds-navigation-group.active>a{font-weight:600}.sds-navigation-group.active{background-color:var(--sds-navigation-active-item)!important}.sds-navigation-group.active:not(.collapsed){background-color:transparent!important}.sds-navigation-group .group-dropdown{transition:transform .2s ease-out}.sds-navigation-group.popoverVisible:not(.active){background-color:var(--bs-gray-200)}.sds-navigation-group.popoverVisible:not(.active) .group-dropdown{transform:rotate(-90deg)}.sds-navigation-group .sub-menu{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease-out}.sds-navigation-group .sub-menu>div{overflow:hidden;min-height:0}.sds-navigation-group.active .sub-menu{grid-template-rows:1fr}::ng-deep .sds-navigation-group-popover-wrapper{--sds-navigation-active-item: oklch(.6 .2 var(--sds-brand-hue) / .12)}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-0 .dx-popup-content{padding:0rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-1 .dx-popup-content{padding:.25rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-2 .dx-popup-content{padding:.5rem}::ng-deep .sds-navigation-group-popover-wrapper.sds-dx-popup-content-padding-3 .dx-popup-content{padding:1rem}::ng-deep .sds-navigation-group-popover-wrapper .dx-popover-arrow{display:none}::ng-deep .sds-navigation-group-popover-wrapper .group-header{font-weight:600;padding:.25rem .75rem .5rem .5rem}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container{color:var(--bs-body-color)!important;padding-bottom:.07rem;overflow-y:auto;max-height:45vh}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .active{font-weight:500}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-icon{display:none}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container{border-left:none;padding-top:.25rem;padding-bottom:.25rem;border-radius:var(--bs-border-radius);color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-item-content{padding-top:.25rem;padding-bottom:.25rem;padding-left:1rem;color:var(--bs-body-color)!important}::ng-deep .sds-navigation-group-popover-wrapper .sds-navigation-container.sds-navigation-popover-container .sds-navigation-group-items .sds-navigation-item-container .sds-navigation-header{color:var(--bs-body-color)!important}\n"] }]
|
|
315
318
|
}], ctorParameters: () => [{ type: i1.Router }], propDecorators: { navigationGroupNestedRoutes: [{
|
|
316
319
|
type: Input
|
|
317
320
|
}], text: [{
|
|
@@ -330,41 +333,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
330
333
|
type: Input
|
|
331
334
|
}], showPopoverHeader: [{
|
|
332
335
|
type: Input
|
|
333
|
-
}], routerLinkComponents: [{
|
|
336
|
+
}], lightStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "lightStyle", required: false }] }], activeRoutePattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeRoutePattern", required: false }] }], additionalInfo: [{ type: i0.Input, args: [{ isSignal: true, alias: "additionalInfo", required: false }] }], routerLinkComponents: [{
|
|
334
337
|
type: ContentChildren,
|
|
335
338
|
args: [SdsNavigationRouteLinkComponent]
|
|
336
|
-
}] } });
|
|
339
|
+
}], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }] } });
|
|
337
340
|
|
|
338
341
|
class SdsNavigationSeparatorComponent {
|
|
339
342
|
constructor() {
|
|
340
|
-
this.isCollapsed = model(false);
|
|
343
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
341
344
|
}
|
|
342
345
|
ngOnInit() { }
|
|
343
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
344
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
346
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
347
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationSeparatorComponent, isStandalone: true, selector: "sds-navigation-separator", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "<div \n class=\"sds-navigation-separator nav-separator\">\n</div>\n", styles: [""] }); }
|
|
345
348
|
}
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationSeparatorComponent, decorators: [{
|
|
347
350
|
type: Component,
|
|
348
351
|
args: [{ selector: 'sds-navigation-separator', standalone: true, template: "<div \n class=\"sds-navigation-separator nav-separator\">\n</div>\n" }]
|
|
349
|
-
}], ctorParameters: () => [] });
|
|
352
|
+
}], ctorParameters: () => [], propDecorators: { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }] } });
|
|
350
353
|
|
|
351
354
|
class SdsNavigationHeaderComponent {
|
|
352
355
|
constructor() {
|
|
353
|
-
this.isCollapsed = model(false);
|
|
356
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
354
357
|
this.text = '';
|
|
355
358
|
}
|
|
356
359
|
ngOnInit() { }
|
|
357
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
358
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
360
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
361
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationHeaderComponent, isStandalone: true, selector: "sds-navigation-header", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "\n<div class=\"sds-navigation-header text-gray-800\">\n <span *ngIf=\"!isCollapsed()\">{{ text }}</span>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
359
362
|
}
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationHeaderComponent, decorators: [{
|
|
361
364
|
type: Component,
|
|
362
|
-
args: [{ selector: 'sds-navigation-header',
|
|
365
|
+
args: [{ selector: 'sds-navigation-header', imports: [
|
|
363
366
|
NgIf
|
|
364
367
|
], template: "\n<div class=\"sds-navigation-header text-gray-800\">\n <span *ngIf=\"!isCollapsed()\">{{ text }}</span>\n</div>\n" }]
|
|
365
368
|
}], ctorParameters: () => [], propDecorators: { text: [{
|
|
366
369
|
type: Input
|
|
367
|
-
}] } });
|
|
370
|
+
}], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }] } });
|
|
368
371
|
|
|
369
372
|
class SdsNavigationExternalLinkComponent {
|
|
370
373
|
constructor() {
|
|
@@ -374,14 +377,14 @@ class SdsNavigationExternalLinkComponent {
|
|
|
374
377
|
this.externalLinkHint = '';
|
|
375
378
|
this.showExternalLinkIcon = true;
|
|
376
379
|
this.externalLinkIcon = faExternalLink;
|
|
377
|
-
this.isCollapsed = model(false);
|
|
380
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
378
381
|
}
|
|
379
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
380
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
382
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationExternalLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
383
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationExternalLinkComponent, isStandalone: true, selector: "sds-navigation-external-link", inputs: { link: { classPropertyName: "link", publicName: "link", isSignal: false, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: false, isRequired: false, transformFunction: null }, tabName: { classPropertyName: "tabName", publicName: "tabName", isSignal: false, isRequired: false, transformFunction: null }, externalLinkHint: { classPropertyName: "externalLinkHint", publicName: "externalLinkHint", isSignal: false, isRequired: false, transformFunction: null }, showExternalLinkIcon: { classPropertyName: "showExternalLinkIcon", publicName: "showExternalLinkIcon", isSignal: false, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "<div \n class=\"sds-navigation-external-link sds-navigation-item-container\"\n [title]=\"isCollapsed() ? text : ''\"\n >\n <a\n class=\"w-100 sds-navigation-item-content pe-2 text-gray-800 sds-fs-93\"\n [attr.href]=\"link || null\"\n [attr.target]=\"tabName || null\"\n [attr.rel]=\"tabName === '_blank' ? 'noopener noreferrer' : null\"\n >\n <div class=\"d-flex align-items-center justify-content-center position-relative\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n\n <ng-container *ngIf=\"!isCollapsed()\">\n \n <div class=\"sds-navigation-text\">\n <span>{{ text }}</span>\n </div>\n\n <div \n class=\"sds-navigation-external-link-info-container\">\n <fa-icon \n class=\"sds-navigation-external-link-info-icon\"\n *ngIf=\"showExternalLinkIcon\"\n\n [icon]=\"externalLinkIcon\"\n [size]=\"'xs'\"\n [title]=\"externalLinkHint\"\n >\n </fa-icon>\n </div> \n </ng-container>\n \n <ng-content></ng-content>\n\n </div>\n </a>\n</div>", styles: [".sds-navigation-external-link:hover{background-color:#eff1f3;border-left-color:#eff1f3}.sds-navigation-external-link{border-radius:.266rem;padding:0!important;border-left:none!important}.sds-navigation-external-link a{padding-top:.5rem!important;padding-bottom:.5rem!important}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }] }); }
|
|
381
384
|
}
|
|
382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
385
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationExternalLinkComponent, decorators: [{
|
|
383
386
|
type: Component,
|
|
384
|
-
args: [{ selector: 'sds-navigation-external-link',
|
|
387
|
+
args: [{ selector: 'sds-navigation-external-link', imports: [NgIf, FaIconComponent], template: "<div \n class=\"sds-navigation-external-link sds-navigation-item-container\"\n [title]=\"isCollapsed() ? text : ''\"\n >\n <a\n class=\"w-100 sds-navigation-item-content pe-2 text-gray-800 sds-fs-93\"\n [attr.href]=\"link || null\"\n [attr.target]=\"tabName || null\"\n [attr.rel]=\"tabName === '_blank' ? 'noopener noreferrer' : null\"\n >\n <div class=\"d-flex align-items-center justify-content-center position-relative\">\n <div class=\"sds-navigation-icon\" >\n <ng-content select=\"[navigationIcon]\"></ng-content>\n </div>\n\n <ng-container *ngIf=\"!isCollapsed()\">\n \n <div class=\"sds-navigation-text\">\n <span>{{ text }}</span>\n </div>\n\n <div \n class=\"sds-navigation-external-link-info-container\">\n <fa-icon \n class=\"sds-navigation-external-link-info-icon\"\n *ngIf=\"showExternalLinkIcon\"\n\n [icon]=\"externalLinkIcon\"\n [size]=\"'xs'\"\n [title]=\"externalLinkHint\"\n >\n </fa-icon>\n </div> \n </ng-container>\n \n <ng-content></ng-content>\n\n </div>\n </a>\n</div>", styles: [".sds-navigation-external-link:hover{background-color:#eff1f3;border-left-color:#eff1f3}.sds-navigation-external-link{border-radius:.266rem;padding:0!important;border-left:none!important}.sds-navigation-external-link a{padding-top:.5rem!important;padding-bottom:.5rem!important}\n"] }]
|
|
385
388
|
}], propDecorators: { link: [{
|
|
386
389
|
type: Input
|
|
387
390
|
}], text: [{
|
|
@@ -392,21 +395,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
392
395
|
type: Input
|
|
393
396
|
}], showExternalLinkIcon: [{
|
|
394
397
|
type: Input
|
|
395
|
-
}] } });
|
|
398
|
+
}], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }] } });
|
|
396
399
|
|
|
397
400
|
class SdsNavigationCollapsibleFrameComponent {
|
|
398
401
|
constructor() {
|
|
399
|
-
this.isCollapsed = model(false);
|
|
402
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
400
403
|
}
|
|
401
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
402
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
404
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationCollapsibleFrameComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
405
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationCollapsibleFrameComponent, isStandalone: true, selector: "sds-navigation-collapsible-frame", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "<ng-container *ngIf=\"!isCollapsed()\">\n <ng-content></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"isCollapsed()\">\n <ng-content select=\"[collapsed]\"></ng-content>\n</ng-container>\n\n", styles: [""], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
403
406
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationCollapsibleFrameComponent, decorators: [{
|
|
405
408
|
type: Component,
|
|
406
|
-
args: [{ selector: 'sds-navigation-collapsible-frame',
|
|
409
|
+
args: [{ selector: 'sds-navigation-collapsible-frame', imports: [
|
|
407
410
|
NgIf
|
|
408
411
|
], template: "<ng-container *ngIf=\"!isCollapsed()\">\n <ng-content></ng-content>\n</ng-container>\n\n<ng-container *ngIf=\"isCollapsed()\">\n <ng-content select=\"[collapsed]\"></ng-content>\n</ng-container>\n\n" }]
|
|
409
|
-
}] });
|
|
412
|
+
}], propDecorators: { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }] } });
|
|
410
413
|
|
|
411
414
|
class SdsUserProfileActionButtonComponent {
|
|
412
415
|
constructor() {
|
|
@@ -416,12 +419,12 @@ class SdsUserProfileActionButtonComponent {
|
|
|
416
419
|
onActionClick() {
|
|
417
420
|
this.actionClick.emit();
|
|
418
421
|
}
|
|
419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
420
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
422
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileActionButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
423
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: SdsUserProfileActionButtonComponent, isStandalone: true, selector: "sds-user-profile-action-button", inputs: { text: "text", icon: "icon" }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: "<a \n class=\"\n d-block \n text-black \n sds-navigation-user-profile-action-button \n sds-hoverable-150 \n sds-fs-93 \n sds-cursor-pointer\n \"\n (click)=\"onActionClick()\" \n>\n <fa-icon\n *ngIf=\"icon\"\n class=\"me-2\"\n [fixedWidth]=\"true\"\n [size]=\"'sm'\"\n [icon]=\"icon\">\n </fa-icon>\n\n <span>{{text}}</span>\n</a>", styles: ["a{-webkit-user-select:none;user-select:none;text-decoration:none;padding:.5rem;width:100%;border-radius:4px}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }] }); }
|
|
421
424
|
}
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileActionButtonComponent, decorators: [{
|
|
423
426
|
type: Component,
|
|
424
|
-
args: [{ selector: 'sds-user-profile-action-button',
|
|
427
|
+
args: [{ selector: 'sds-user-profile-action-button', imports: [
|
|
425
428
|
NgIf,
|
|
426
429
|
FontAwesomeModule
|
|
427
430
|
], template: "<a \n class=\"\n d-block \n text-black \n sds-navigation-user-profile-action-button \n sds-hoverable-150 \n sds-fs-93 \n sds-cursor-pointer\n \"\n (click)=\"onActionClick()\" \n>\n <fa-icon\n *ngIf=\"icon\"\n class=\"me-2\"\n [fixedWidth]=\"true\"\n [size]=\"'sm'\"\n [icon]=\"icon\">\n </fa-icon>\n\n <span>{{text}}</span>\n</a>", styles: ["a{-webkit-user-select:none;user-select:none;text-decoration:none;padding:.5rem;width:100%;border-radius:4px}\n"] }]
|
|
@@ -450,8 +453,8 @@ class SdsNavigationUserProfileComponent {
|
|
|
450
453
|
this.showOptionsChange = new EventEmitter();
|
|
451
454
|
this.userProfileIcon = faUser;
|
|
452
455
|
this.signOutIcon = faSignOut;
|
|
453
|
-
this.isCollapsed = model(false);
|
|
454
|
-
this.sideBarInstanceName = input('');
|
|
456
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
457
|
+
this.sideBarInstanceName = input('', ...(ngDevMode ? [{ debugName: "sideBarInstanceName" }] : /* istanbul ignore next */ []));
|
|
455
458
|
}
|
|
456
459
|
ngOnInit() { }
|
|
457
460
|
ngOnChanges(changes) {
|
|
@@ -493,12 +496,12 @@ class SdsNavigationUserProfileComponent {
|
|
|
493
496
|
event.stopPropagation();
|
|
494
497
|
this.notificationBadgeClick.emit();
|
|
495
498
|
}
|
|
496
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
497
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
499
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationUserProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
500
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: SdsNavigationUserProfileComponent, isStandalone: true, selector: "sds-navigation-user-profile", inputs: { profile: { classPropertyName: "profile", publicName: "profile", isSignal: false, isRequired: false, transformFunction: null }, profileInfo: { classPropertyName: "profileInfo", publicName: "profileInfo", isSignal: false, isRequired: false, transformFunction: null }, showSignOut: { classPropertyName: "showSignOut", publicName: "showSignOut", isSignal: false, isRequired: false, transformFunction: null }, showProfile: { classPropertyName: "showProfile", publicName: "showProfile", isSignal: false, isRequired: false, transformFunction: null }, signOutText: { classPropertyName: "signOutText", publicName: "signOutText", isSignal: false, isRequired: false, transformFunction: null }, profileText: { classPropertyName: "profileText", publicName: "profileText", isSignal: false, isRequired: false, transformFunction: null }, showNotificationBadge: { classPropertyName: "showNotificationBadge", publicName: "showNotificationBadge", isSignal: false, isRequired: false, transformFunction: null }, newNotificationsText: { classPropertyName: "newNotificationsText", publicName: "newNotificationsText", isSignal: false, isRequired: false, transformFunction: null }, showOptions: { classPropertyName: "showOptions", publicName: "showOptions", isSignal: false, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, sideBarInstanceName: { classPropertyName: "sideBarInstanceName", publicName: "sideBarInstanceName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { profileClick: "profileClick", signOutClick: "signOutClick", notificationBadgeClick: "notificationBadgeClick", showOptionsChange: "showOptionsChange", isCollapsed: "isCollapsedChange" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"\n d-flex\n flex-row\n align-items-center\n gap-2\n sds-navigation-user-profile-container\n user-select-none\n mb-1 ms-1 me-1 mt-2\n pt-1 pb-1 ps-2\n sds-hoverable\n sds-rounded-2\n \"\n (click)=\"toggleOptions($event)\"\n>\n <div \n #popoverTarget\n class=\"\n position-relative\n\n \">\n <sds-avatar\n [text]=\"profile?.name\"\n [colorKey]=\"profile?.id\"\n [pictureUri]=\"profile?.pictureUri\"\n >\n </sds-avatar>\n\n <span\n *ngIf=\"showNotificationBadge\"\n class=\"\n position-absolute\n notification-badge\n translate-middle\n bg-danger\n border border-light\n rounded-circle\n \"\n (click)=\"onNotificationBadgeClick($event)\"\n >\n <span class=\"visually-hidden\">{{ newNotificationsText }}</span>\n </span>\n </div>\n\n @if(!isCollapsed()) {\n <div class=\"sds-flex-column\">\n <span class=\"truncate-two-lines text-gray-800 sds-fs-93\">\n {{ profile?.name }}\n </span>\n\n <span class=\"sds-fw-400 sds-fs-75 text-truncate text-muted\">\n {{ profileInfo }}\n </span>\n </div>\n }\n</div>\n\n<dx-popover\n [target]=\"popoverTarget\"\n [position]=\"{ my: 'left bottom', at: 'left top' }\"\n collision=\"fit none\"\n minWidth=\"20rem\"\n maxWidth=\"20rem\"\n [(visible)]=\"showOptions\"\n [wrapperAttr]=\"{\n class: 'sds-navigation-user-profile-popover sds-dx-popup-no-arrow sds-dx-popup-content-padding-0'\n }\"\n>\n <div class=\"py-2 pb-3 main-profile-container border-bottom\">\n\n <div class=\"sds-flex-column align-items-center\">\n <sds-avatar\n [text]=\"profile?.name\"\n [colorKey]=\"profile?.id\"\n [pictureUri]=\"profile?.pictureUri\"\n [size]=\"7\"\n >\n </sds-avatar>\n\n <h5 class=\"text-center mt-2 px-3\">\n {{profile?.name}}\n </h5>\n\n <div class=\"sds-fw-400 text-center text-gray-800 sds-fs-87 px-3 text-truncate w-100\">\n {{profile?.info}}\n </div>\n \n </div>\n\n </div>\n\n <ng-content></ng-content>\n\n <ul\n class=\"\n list-unstyled\n sds-navigation-user-profile-actions\n mb-0\n sds-ul-gap-1\n mx-2\n mb-2\n \"\n >\n <li *ngIf=\"showProfile\">\n <sds-user-profile-action-button\n [text]=\"profileText\"\n [icon]=\"userProfileIcon\"\n (actionClick)=\"onProfileClick()\"\n >\n </sds-user-profile-action-button>\n </li>\n\n <li *ngIf=\"showSignOut\">\n <sds-user-profile-action-button\n [text]=\"signOutText\"\n [icon]=\"signOutIcon\"\n (actionClick)=\"onSignOutClick()\"\n >\n </sds-user-profile-action-button>\n </li>\n </ul>\n</dx-popover>\n", styles: [".sds-navigation-user-profile-container{padding:.8rem;cursor:pointer}.sds-navigation-user-profile-container .notification-badge{top:15%;left:100%;padding:.4rem}.truncate-two-lines{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.main-profile-container{margin:.5rem}::ng-deep .sds-navigation-user-profile-popover .dx-popup-content{padding:0!important;font-size:1rem}\n"], dependencies: [{ kind: "component", type: SdsAvatarComponent, selector: "sds-avatar", inputs: ["text", "colorKey", "pictureUri", "showHint", "borderStyle", "borderColor", "borderWidth", "initialsText", "cursor", "size", "pictureImageAlt", "pictureLoading", "picturePriority", "badgeVisible", "badgePosition", "badgeBackgroundColor", "badgeTextColor", "badgeHint"] }, { kind: "component", type: SdsUserProfileActionButtonComponent, selector: "sds-user-profile-action-button", inputs: ["text", "icon"], outputs: ["actionClick"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: DxPopoverModule }, { kind: "component", type: i2.DxPopoverComponent, selector: "dx-popover", inputs: ["animation", "closeOnOutsideClick", "container", "contentTemplate", "deferRendering", "disabled", "enableBodyScroll", "height", "hideEvent", "hideOnOutsideClick", "hideOnParentScroll", "hint", "hoverStateEnabled", "maxHeight", "maxWidth", "minHeight", "minWidth", "position", "rtlEnabled", "shading", "shadingColor", "showCloseButton", "showEvent", "showTitle", "target", "title", "titleTemplate", "toolbarItems", "visible", "width", "wrapperAttr"], outputs: ["onContentReady", "onDisposing", "onHidden", "onHiding", "onInitialized", "onOptionChanged", "onShowing", "onShown", "onTitleRendered", "animationChange", "closeOnOutsideClickChange", "containerChange", "contentTemplateChange", "deferRenderingChange", "disabledChange", "enableBodyScrollChange", "heightChange", "hideEventChange", "hideOnOutsideClickChange", "hideOnParentScrollChange", "hintChange", "hoverStateEnabledChange", "maxHeightChange", "maxWidthChange", "minHeightChange", "minWidthChange", "positionChange", "rtlEnabledChange", "shadingChange", "shadingColorChange", "showCloseButtonChange", "showEventChange", "showTitleChange", "targetChange", "titleChange", "titleTemplateChange", "toolbarItemsChange", "visibleChange", "widthChange", "wrapperAttrChange"] }] }); }
|
|
498
501
|
}
|
|
499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationUserProfileComponent, decorators: [{
|
|
500
503
|
type: Component,
|
|
501
|
-
args: [{ selector: 'sds-navigation-user-profile',
|
|
504
|
+
args: [{ selector: 'sds-navigation-user-profile', imports: [
|
|
502
505
|
SdsAvatarComponent,
|
|
503
506
|
SdsUserProfileActionButtonComponent,
|
|
504
507
|
NgIf,
|
|
@@ -530,11 +533,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
530
533
|
type: Input
|
|
531
534
|
}], showOptionsChange: [{
|
|
532
535
|
type: Output
|
|
533
|
-
}] } });
|
|
536
|
+
}], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], sideBarInstanceName: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarInstanceName", required: false }] }] } });
|
|
534
537
|
|
|
535
538
|
class SdsNavigationContainerComponent {
|
|
536
539
|
constructor() {
|
|
537
|
-
this.isCollapsed = model(false);
|
|
540
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
538
541
|
effect(() => {
|
|
539
542
|
const isCollapsed = this.isCollapsed();
|
|
540
543
|
untracked(() => {
|
|
@@ -552,13 +555,13 @@ class SdsNavigationContainerComponent {
|
|
|
552
555
|
this.userProfileComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed); });
|
|
553
556
|
this.collapsibleFrameComponentChildren?.forEach((child) => { child.isCollapsed.set(isCollapsed); });
|
|
554
557
|
}
|
|
555
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
556
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
559
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.23", type: SdsNavigationContainerComponent, isStandalone: true, selector: "sds-navigation-container", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange" }, queries: [{ propertyName: "groupComponentChildren", predicate: SdsNavigationGroupComponent }, { propertyName: "routeLinkComponentChildren", predicate: SdsNavigationRouteLinkComponent }, { propertyName: "separatorComponentChildren", predicate: SdsNavigationSeparatorComponent }, { propertyName: "headerComponentChildren", predicate: SdsNavigationHeaderComponent }, { propertyName: "externalLinkComponentChildren", predicate: SdsNavigationExternalLinkComponent }, { propertyName: "userProfileComponentChildren", predicate: SdsNavigationUserProfileComponent }, { propertyName: "collapsibleFrameComponentChildren", predicate: SdsNavigationCollapsibleFrameComponent }], ngImport: i0, template: "<div class=\"sds-navigation-container\">\n <ng-content></ng-content>\n</div>", styles: [".sds-navigation-container{height:100%;display:flex;flex-direction:column;padding-right:.25rem;padding-left:.25rem;gap:.25rem}:host{overflow-y:auto;overflow-x:hidden}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
557
560
|
}
|
|
558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsNavigationContainerComponent, decorators: [{
|
|
559
562
|
type: Component,
|
|
560
563
|
args: [{ selector: 'sds-navigation-container', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"sds-navigation-container\">\n <ng-content></ng-content>\n</div>", styles: [".sds-navigation-container{height:100%;display:flex;flex-direction:column;padding-right:.25rem;padding-left:.25rem;gap:.25rem}:host{overflow-y:auto;overflow-x:hidden}\n"] }]
|
|
561
|
-
}], ctorParameters: () => [], propDecorators: { groupComponentChildren: [{
|
|
564
|
+
}], ctorParameters: () => [], propDecorators: { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], groupComponentChildren: [{
|
|
562
565
|
type: ContentChildren,
|
|
563
566
|
args: [SdsNavigationGroupComponent]
|
|
564
567
|
}], routeLinkComponentChildren: [{
|
|
@@ -587,12 +590,12 @@ class SdsUserProfileTileComponent {
|
|
|
587
590
|
this.emphasizeName = true;
|
|
588
591
|
this.size = 'medium';
|
|
589
592
|
}
|
|
590
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
591
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
594
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: SdsUserProfileTileComponent, isStandalone: true, selector: "sds-user-profile-tile", inputs: { profile: "profile", emphasizeName: "emphasizeName", size: "size" }, ngImport: i0, template: "\n<div class=\"sds-flex-row-center gap-3\">\n <sds-avatar\n [text]=\"profile?.name\"\n [colorKey]=\"profile?.id\"\n [pictureUri]=\"profile?.pictureUri\"\n [size]=\"size === 'small' ? 2 : 3\"\n borderColor=\"white\"\n borderWidth=\"2\"\n >\n </sds-avatar>\n\n <div \n class=\"flex-grow-1 flex-shrink-1 text-body\"\n [style.minWidth.px]=\"1\"\n >\n <span \n class=\"sds-fs-100 text-truncate\"\n [class.sds-fs-100]=\"size === 'medium'\"\n [class.sds-fs-95]=\"size === 'small'\"\n [class.sds-fw-500]=\"emphasizeName\"\n >\n {{profile?.name}}\n </span>\n <div \n class=\"sds-fw-400 text-truncate text-gray-800\"\n [class.sds-fs-75]=\"size === 'medium'\"\n [class.sds-fs-75]=\"size === 'small'\"\n >\n {{profile?.info}}\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: SdsAvatarComponent, selector: "sds-avatar", inputs: ["text", "colorKey", "pictureUri", "showHint", "borderStyle", "borderColor", "borderWidth", "initialsText", "cursor", "size", "pictureImageAlt", "pictureLoading", "picturePriority", "badgeVisible", "badgePosition", "badgeBackgroundColor", "badgeTextColor", "badgeHint"] }] }); }
|
|
592
595
|
}
|
|
593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileTileComponent, decorators: [{
|
|
594
597
|
type: Component,
|
|
595
|
-
args: [{ selector: 'sds-user-profile-tile',
|
|
598
|
+
args: [{ selector: 'sds-user-profile-tile', imports: [
|
|
596
599
|
SdsAvatarComponent
|
|
597
600
|
], template: "\n<div class=\"sds-flex-row-center gap-3\">\n <sds-avatar\n [text]=\"profile?.name\"\n [colorKey]=\"profile?.id\"\n [pictureUri]=\"profile?.pictureUri\"\n [size]=\"size === 'small' ? 2 : 3\"\n borderColor=\"white\"\n borderWidth=\"2\"\n >\n </sds-avatar>\n\n <div \n class=\"flex-grow-1 flex-shrink-1 text-body\"\n [style.minWidth.px]=\"1\"\n >\n <span \n class=\"sds-fs-100 text-truncate\"\n [class.sds-fs-100]=\"size === 'medium'\"\n [class.sds-fs-95]=\"size === 'small'\"\n [class.sds-fw-500]=\"emphasizeName\"\n >\n {{profile?.name}}\n </span>\n <div \n class=\"sds-fw-400 text-truncate text-gray-800\"\n [class.sds-fs-75]=\"size === 'medium'\"\n [class.sds-fs-75]=\"size === 'small'\"\n >\n {{profile?.info}}\n </div>\n </div>\n</div>\n" }]
|
|
598
601
|
}], propDecorators: { profile: [{
|
|
@@ -619,12 +622,12 @@ class SdsUserProfileSelectorComponent {
|
|
|
619
622
|
selectDefaultProfile() {
|
|
620
623
|
this.profileIdChange.emit('');
|
|
621
624
|
}
|
|
622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
623
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
626
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: SdsUserProfileSelectorComponent, isStandalone: true, selector: "sds-user-profile-selector", inputs: { content: "content", profiles: "profiles", selectDefaultProfileText: "selectDefaultProfileText", switchText: "switchText" }, outputs: { profileIdChange: "profileIdChange" }, ngImport: i0, template: "<div class=\"mx-2\"> \n <div \n *ngIf=\"content === 'profileList' && profiles && profiles.length > 0\"\n class=\"pt-2 pb-3 mt-1 mb-2 ps-2 border-bottom\">\n\n <div class=\"sds-fs-75 py-1 mb-2 text-uppercase\">{{switchText}}</div>\n\n <ul class=\"list-unstyled mb-0 sds-ul-gap-1 ps-2 profile-list sds-scrollbar sds-scrollbar-thin\">\n <li\n class=\"rounded sds-hoverable-150 pe-2 py-1\"\n *ngFor=\"let profile of profiles\"\n >\n <sds-user-profile-tile\n class=\"sds-cursor-pointer\"\n [profile]=\"profile\"\n [size]=\"'small'\"\n [emphasizeName]=\"false\"\n (click)=\"selectProfile(profile.id)\"\n >\n </sds-user-profile-tile>\n </li>\n </ul>\n </div>\n\n <div \n *ngIf=\"content === 'selectDefaultProfile'\"\n class=\"mt-2 mb-1\">\n <sds-user-profile-action-button\n [text]=\"selectDefaultProfileText\"\n [icon]=\"SELECT_DEFAULT_PROFILE_ICON\"\n (click)=\"selectDefaultProfile()\"\n >\n </sds-user-profile-action-button>\n </div>\n</div>", styles: [".profile-list{max-height:6rem;overflow-y:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: SdsUserProfileTileComponent, selector: "sds-user-profile-tile", inputs: ["profile", "emphasizeName", "size"] }, { kind: "component", type: SdsUserProfileActionButtonComponent, selector: "sds-user-profile-action-button", inputs: ["text", "icon"], outputs: ["actionClick"] }] }); }
|
|
624
627
|
}
|
|
625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsUserProfileSelectorComponent, decorators: [{
|
|
626
629
|
type: Component,
|
|
627
|
-
args: [{ selector: 'sds-user-profile-selector',
|
|
630
|
+
args: [{ selector: 'sds-user-profile-selector', imports: [
|
|
628
631
|
NgIf,
|
|
629
632
|
NgFor,
|
|
630
633
|
SdsUserProfileTileComponent,
|
|
@@ -647,15 +650,15 @@ class SdsProductHomeComponent {
|
|
|
647
650
|
this.showAppSwitcher = false;
|
|
648
651
|
this.appSwitcherSwitchText = '';
|
|
649
652
|
this.appSwitcherDiscoverText = '';
|
|
650
|
-
this.textOpen = input('Expand sidebar');
|
|
651
|
-
this.textClose = input('Collapse sidebar');
|
|
653
|
+
this.textOpen = input('Expand sidebar', ...(ngDevMode ? [{ debugName: "textOpen" }] : /* istanbul ignore next */ []));
|
|
654
|
+
this.textClose = input('Collapse sidebar', ...(ngDevMode ? [{ debugName: "textClose" }] : /* istanbul ignore next */ []));
|
|
652
655
|
this.allowHeaderClick = false;
|
|
653
656
|
this.productSwitched = new EventEmitter();
|
|
654
657
|
this.headerClick = new EventEmitter();
|
|
655
658
|
this.ICON_CLOSE = faArrowLeftFromLine;
|
|
656
659
|
this.ICON_OPEN = faArrowRightFromLine;
|
|
657
|
-
this.isCollapsed = model(false);
|
|
658
|
-
this.sideBarInstanceName = input('');
|
|
660
|
+
this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : /* istanbul ignore next */ []));
|
|
661
|
+
this.sideBarInstanceName = input('', ...(ngDevMode ? [{ debugName: "sideBarInstanceName" }] : /* istanbul ignore next */ []));
|
|
659
662
|
}
|
|
660
663
|
ngOnInit() { }
|
|
661
664
|
onProductClick(product) {
|
|
@@ -669,12 +672,12 @@ class SdsProductHomeComponent {
|
|
|
669
672
|
toggleState() {
|
|
670
673
|
this.isCollapsed.set(!this.isCollapsed());
|
|
671
674
|
}
|
|
672
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
673
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsProductHomeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
676
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.23", type: SdsProductHomeComponent, isStandalone: true, selector: "sds-product-home", inputs: { logoUrl: { classPropertyName: "logoUrl", publicName: "logoUrl", isSignal: false, isRequired: false, transformFunction: null }, logoAltText: { classPropertyName: "logoAltText", publicName: "logoAltText", isSignal: false, isRequired: false, transformFunction: null }, moduleTitle: { classPropertyName: "moduleTitle", publicName: "moduleTitle", isSignal: false, isRequired: false, transformFunction: null }, showAppSwitcher: { classPropertyName: "showAppSwitcher", publicName: "showAppSwitcher", isSignal: false, isRequired: false, transformFunction: null }, appSwitcherProductCode: { classPropertyName: "appSwitcherProductCode", publicName: "appSwitcherProductCode", isSignal: false, isRequired: false, transformFunction: null }, appSwitcherUserProductCodes: { classPropertyName: "appSwitcherUserProductCodes", publicName: "appSwitcherUserProductCodes", isSignal: false, isRequired: false, transformFunction: null }, appSwitcherTenantProducts: { classPropertyName: "appSwitcherTenantProducts", publicName: "appSwitcherTenantProducts", isSignal: false, isRequired: false, transformFunction: null }, appSwitcherSwitchText: { classPropertyName: "appSwitcherSwitchText", publicName: "appSwitcherSwitchText", isSignal: false, isRequired: false, transformFunction: null }, appSwitcherDiscoverText: { classPropertyName: "appSwitcherDiscoverText", publicName: "appSwitcherDiscoverText", isSignal: false, isRequired: false, transformFunction: null }, textOpen: { classPropertyName: "textOpen", publicName: "textOpen", isSignal: true, isRequired: false, transformFunction: null }, textClose: { classPropertyName: "textClose", publicName: "textClose", isSignal: true, isRequired: false, transformFunction: null }, allowHeaderClick: { classPropertyName: "allowHeaderClick", publicName: "allowHeaderClick", isSignal: false, isRequired: false, transformFunction: null }, isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, sideBarInstanceName: { classPropertyName: "sideBarInstanceName", publicName: "sideBarInstanceName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { productSwitched: "productSwitched", headerClick: "headerClick", isCollapsed: "isCollapsedChange" }, ngImport: i0, template: "<div \n class=\"product-header pb-2 mb-2 align-items-start gap-2\"\n >\n @if(!isCollapsed()) {\n <sds-app-switcher\n *ngIf=\"showAppSwitcher\"\n class=\"app-switcher text-gray-800 sds-fs-93 sds-hoverable sds-rounded-2 p-1 d-flex align-items-center justify-content-center\"\n [productCode]=\"appSwitcherProductCode\"\n [userProductCodes]=\"appSwitcherUserProductCodes\"\n [tenantProducts]=\"appSwitcherTenantProducts\"\n [switchText]=\"appSwitcherSwitchText\"\n [discoverText]=\"appSwitcherDiscoverText\"\n (productClick)=\"onProductClick($event)\"\n >\n </sds-app-switcher>\n \n <div \n class=\"sds-flex-grow-shrink product-title\"\n (click)=\"onHeaderClick()\"\n [class.sds-cursor-pointer]=\"allowHeaderClick\"\n [title]=\"moduleTitle && isCollapsed() ? moduleTitle : ''\"\n >\n <div \n class=\"product-logo-container\"\n [class.collapsed]=\"isCollapsed()\"\n >\n <img\n class=\"product-logo\"\n [src]=\"logoUrl\" \n [alt]=\"logoAltText\"\n > \n </div>\n\n @if(moduleTitle && !isCollapsed()) {\n <h6 class=\"mt-2\">\n {{moduleTitle}}\n </h6>\n }\n </div>\n }\n\n <button\n type=\"button\"\n class=\"\n toggle-collapsed-button \n text-gray-800 sds-fs-93 \n sds-hoverable sds-rounded-2 \n p-1 ml-2\n d-flex align-items-center justify-content-center\n sds-cursor-pointer\n \" \n (click)=\"toggleState()\" \n [attr.aria-label]=\"isCollapsed() ? textOpen() : textClose()\"\n [title]=\"isCollapsed() ? textOpen() : textClose()\" \n >\n <fa-icon \n [icon]=\"isCollapsed() ? ICON_OPEN : ICON_CLOSE\" \n [fixedWidth]=\"true\"\n >\n </fa-icon>\n </button>\n \n</div>\n", styles: [".product-header{padding-left:.75rem!important}.product-header .app-switcher{height:2rem;width:2rem}.product-header .product-title{margin-top:.15rem}.product-header .product-logo-container{height:calc(1.5rem + 2px)}.product-header .product-logo-container.collapsed{width:calc(1.5rem + 2px);overflow-x:hidden}.product-header .product-logo{height:1.5rem}.product-header h6{font-size:.8rem}.product-header .toggle-collapsed-button{height:2rem;width:2rem;border:0;background:transparent;appearance:none}.product-header .toggle-collapsed-button:focus-visible{outline:2px solid currentColor;outline-offset:2px}:host{width:100%}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i1$1.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "mask", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"], outputs: ["iconChange", "titleChange", "animationChange", "maskChange", "flipChange", "sizeChange", "pullChange", "borderChange", "inverseChange", "symbolChange", "rotateChange", "fixedWidthChange", "transformChange", "a11yRoleChange"] }, { kind: "component", type: SdsAppSwitcherComponent, selector: "sds-app-switcher", inputs: ["productCode", "userProductCodes", "tenantProducts", "switchText", "discoverText", "ariaLabel"], outputs: ["productClick"] }] }); }
|
|
674
677
|
}
|
|
675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsProductHomeComponent, decorators: [{
|
|
676
679
|
type: Component,
|
|
677
|
-
args: [{ selector: 'sds-product-home',
|
|
680
|
+
args: [{ selector: 'sds-product-home', imports: [
|
|
678
681
|
NgIf,
|
|
679
682
|
FontAwesomeModule,
|
|
680
683
|
SdsAppSwitcherComponent
|
|
@@ -697,13 +700,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
697
700
|
type: Input
|
|
698
701
|
}], appSwitcherDiscoverText: [{
|
|
699
702
|
type: Input
|
|
700
|
-
}], allowHeaderClick: [{
|
|
703
|
+
}], textOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "textOpen", required: false }] }], textClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "textClose", required: false }] }], allowHeaderClick: [{
|
|
701
704
|
type: Input
|
|
702
705
|
}], productSwitched: [{
|
|
703
706
|
type: Output
|
|
704
707
|
}], headerClick: [{
|
|
705
708
|
type: Output
|
|
706
|
-
}] } });
|
|
709
|
+
}], isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], sideBarInstanceName: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideBarInstanceName", required: false }] }] } });
|
|
707
710
|
|
|
708
711
|
/**
|
|
709
712
|
* A standalone Angular pipe that dynamically generates a strict Regular Expression string
|
|
@@ -730,10 +733,10 @@ class SdsActiveRoutePatternPipe {
|
|
|
730
733
|
.replace(/\//g, '\\/'));
|
|
731
734
|
return `^\\/(${patterns.join('|')})(\\/[^?#]*)*([?#]|$)`;
|
|
732
735
|
}
|
|
733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
734
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
736
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsActiveRoutePatternPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
737
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: SdsActiveRoutePatternPipe, isStandalone: true, name: "sdsActiveRoutePattern" }); }
|
|
735
738
|
}
|
|
736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SdsActiveRoutePatternPipe, decorators: [{
|
|
737
740
|
type: Pipe,
|
|
738
741
|
args: [{
|
|
739
742
|
name: 'sdsActiveRoutePattern',
|