@spicainternational/ngx-sds-components 8.8.1 → 9.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +93 -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,8 +1,51 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, OnChanges, EventEmitter, ChangeDetectorRef, SimpleChanges } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class DateRangeTranslations {
|
|
6
|
+
custom: string;
|
|
7
|
+
}
|
|
8
|
+
declare class PeriodPickerDateRangeDefinition {
|
|
9
|
+
name: string;
|
|
10
|
+
type: 'dynamic' | 'fixed';
|
|
11
|
+
dynamicDateRangeDefinition?: PeriodPickerDateRangeDynamicDefinition;
|
|
12
|
+
dateFrom?: Date;
|
|
13
|
+
dateTo?: Date;
|
|
14
|
+
constructor(name: string, type?: 'dynamic' | 'fixed', dynamicDateRangeDefinition?: PeriodPickerDateRangeDynamicDefinition, dateFrom?: Date, dateTo?: Date);
|
|
15
|
+
}
|
|
16
|
+
declare class PeriodPickerDateRangeDynamicDefinition {
|
|
17
|
+
dimension: 'd' | 'w' | 'm' | 'y';
|
|
18
|
+
modifier: number;
|
|
19
|
+
constructor(dimension: 'd' | 'w' | 'm' | 'y', modifier: number);
|
|
20
|
+
}
|
|
21
|
+
declare class PeriodPickerDateRange {
|
|
22
|
+
name: string;
|
|
23
|
+
dateFrom?: Date;
|
|
24
|
+
dateTo?: Date;
|
|
25
|
+
constructor(name: string, dateFrom?: Date, dateTo?: Date);
|
|
26
|
+
}
|
|
27
|
+
declare class PeriodPickerDynamicDateRangeDefinitionGenerator {
|
|
28
|
+
static generateMonthlyRanges(currentMonthText: string, previousMonthText: string, nextMonthText: string): PeriodPickerDateRangeDefinition[];
|
|
29
|
+
static generateWeeklyRanges(currentWeekText: string, previousWeekText: string, nextWeekText: string): PeriodPickerDateRangeDefinition[];
|
|
30
|
+
static generateDailyRanges(currentDayText: string, previousDayText: string, nextDayText: string): PeriodPickerDateRangeDefinition[];
|
|
31
|
+
}
|
|
32
|
+
interface PeriodPickerTranslations {
|
|
33
|
+
cancel: string;
|
|
34
|
+
apply: string;
|
|
35
|
+
custom: string;
|
|
36
|
+
printLabel?: string;
|
|
37
|
+
presets?: string;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class SdsDatePickerService {
|
|
41
|
+
constructor();
|
|
42
|
+
getRange(currentStartDate: Date, currentEndDate: Date, direction: 'previous' | 'next'): [Date, Date];
|
|
43
|
+
getPredefinedDateRanges(dateRangeDefinitions: Array<PeriodPickerDateRangeDefinition>, referenceDay: Date, firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6): Array<PeriodPickerDateRange>;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerService, never>;
|
|
45
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SdsDatePickerService>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
6
49
|
private changeRef;
|
|
7
50
|
private datePickerService;
|
|
8
51
|
displayContent: any;
|
|
@@ -76,11 +119,11 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
76
119
|
lockBeforeDateHint?: string;
|
|
77
120
|
previousButtonDisabled: boolean;
|
|
78
121
|
nextButtonDisabled: boolean;
|
|
79
|
-
previousPeriodIcon:
|
|
80
|
-
nextPeriodIcon:
|
|
81
|
-
calendarIcon:
|
|
82
|
-
toIcon:
|
|
83
|
-
lockIcon:
|
|
122
|
+
previousPeriodIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
123
|
+
nextPeriodIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
124
|
+
calendarIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
125
|
+
toIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
126
|
+
lockIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
84
127
|
predefinedDateRanges: Array<PeriodPickerDateRange>;
|
|
85
128
|
predefinedDateRangesGeneratedDate: Date | undefined;
|
|
86
129
|
selectedDateRange: PeriodPickerDateRange;
|
|
@@ -161,3 +204,6 @@ export declare class SdsDatePickerComponent implements OnInit, OnChanges {
|
|
|
161
204
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePickerComponent, never>;
|
|
162
205
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDatePickerComponent, "sds-date-picker", never, { "selectionKind": { "alias": "selectionKind"; "required": false; }; "dateRangeDefinitions": { "alias": "dateRangeDefinitions"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "selectedDateStart": { "alias": "selectedDateStart"; "required": false; }; "singleDayFormatFn": { "alias": "singleDayFormatFn"; "required": false; }; "dateRangeFormatFn": { "alias": "dateRangeFormatFn"; "required": false; }; "selectedDateEnd": { "alias": "selectedDateEnd"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "locales": { "alias": "locales"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "validationError": { "alias": "validationError"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "applyText": { "alias": "applyText"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; "translations": { "alias": "translations"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "dateRangeDefinitionsWidth": { "alias": "dateRangeDefinitionsWidth"; "required": false; }; "showPreviousAndNextButtons": { "alias": "showPreviousAndNextButtons"; "required": false; }; "width": { "alias": "width"; "required": false; }; "dropdownWrapperClass": { "alias": "dropdownWrapperClass"; "required": false; }; "dropdownWrapperId": { "alias": "dropdownWrapperId"; "required": false; }; "getPreviousDateCallback": { "alias": "getPreviousDateCallback"; "required": false; }; "getNextDateCallback": { "alias": "getNextDateCallback"; "required": false; }; "getPreviousRangeCallback": { "alias": "getPreviousRangeCallback"; "required": false; }; "getNextRangeCallback": { "alias": "getNextRangeCallback"; "required": false; }; "useCustomDisplayContent": { "alias": "useCustomDisplayContent"; "required": false; }; "displayPredefinedDateRangeName": { "alias": "displayPredefinedDateRangeName"; "required": false; }; "style": { "alias": "style"; "required": false; }; "compactStyleDisplay": { "alias": "compactStyleDisplay"; "required": false; }; "dateInputDisplayFormat": { "alias": "dateInputDisplayFormat"; "required": false; }; "componentAriaLabel": { "alias": "componentAriaLabel"; "required": false; }; "openDateRangeDefinitionsAriaLabel": { "alias": "openDateRangeDefinitionsAriaLabel"; "required": false; }; "nextPeriodAriaLabel": { "alias": "nextPeriodAriaLabel"; "required": false; }; "previousPeriodAriaLabel": { "alias": "previousPeriodAriaLabel"; "required": false; }; "lockBeforeDate": { "alias": "lockBeforeDate"; "required": false; }; "lockBeforeDateHint": { "alias": "lockBeforeDateHint"; "required": false; }; "previousButtonDisabled": { "alias": "previousButtonDisabled"; "required": false; }; "nextButtonDisabled": { "alias": "nextButtonDisabled"; "required": false; }; }, { "selectedDateChange": "selectedDateChange"; "selectedDateStartChange": "selectedDateStartChange"; "selectedDateEndChange": "selectedDateEndChange"; "periodChange": "periodChange"; "predefinedRangeSelected": "predefinedRangeSelected"; "calendarVisibleChange": "calendarVisibleChange"; }, ["displayContent"], ["display", "display"], true, never>;
|
|
163
206
|
}
|
|
207
|
+
|
|
208
|
+
export { DateRangeTranslations, PeriodPickerDateRange, PeriodPickerDateRangeDefinition, PeriodPickerDateRangeDynamicDefinition, PeriodPickerDynamicDateRangeDefinitionGenerator, SdsDatePickerComponent };
|
|
209
|
+
export type { PeriodPickerTranslations };
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { PipeTransform } from '@angular/core';
|
|
3
|
+
import { IntlDateTimeFormatOptionPresetType } from '@spicainternational/ngx-sds-components/src/lib/utils/date-time';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Common Intl.DateTimeFormatOptions constants for consistent date/time formatting
|
|
7
|
+
*/
|
|
8
|
+
declare const DATE_NUMERIC_MONTH_OPTIONS: Intl.DateTimeFormatOptions;
|
|
9
|
+
declare const DATE_SHORT_MONTH_OPTIONS: Intl.DateTimeFormatOptions;
|
|
10
|
+
declare const DATE_LONG_MONTH_OPTIONS: Intl.DateTimeFormatOptions;
|
|
11
|
+
declare const DATE_LONG_MONTH_LONG_WEEKDAY_OPTIONS: Intl.DateTimeFormatOptions;
|
|
12
|
+
declare const DATE_LONG_MONTH_SHORT_WEEKDAY_OPTIONS: Intl.DateTimeFormatOptions;
|
|
13
|
+
declare const TIME_HOUR_NUMERIC_OPTION: Intl.DateTimeFormatOptions;
|
|
14
|
+
declare const TIME_HOUR_2DIGIT_OPTION: Intl.DateTimeFormatOptions;
|
|
15
|
+
declare const TIME_HOUR_NUMERIC_SECONDS_OPTION: Intl.DateTimeFormatOptions;
|
|
16
|
+
declare const DATE_TIME_FORMAT_OPTIONS: {
|
|
17
|
+
readonly DATE_NUMERIC_MONTH: Intl.DateTimeFormatOptions;
|
|
18
|
+
readonly DATE_SHORT_MONTH: Intl.DateTimeFormatOptions;
|
|
19
|
+
readonly DATE_LONG_MONTH: Intl.DateTimeFormatOptions;
|
|
20
|
+
readonly DATE_LONG_MONTH_LONG_WEEKDAY: Intl.DateTimeFormatOptions;
|
|
21
|
+
readonly DATE_LONG_MONTH_SHORT_WEEKDAY: Intl.DateTimeFormatOptions;
|
|
22
|
+
readonly TIME_HOUR_NUMERIC: Intl.DateTimeFormatOptions;
|
|
23
|
+
readonly TIME_HOUR_2DIGIT: Intl.DateTimeFormatOptions;
|
|
24
|
+
readonly TIME_HOUR_NUMERIC_SECONDS: Intl.DateTimeFormatOptions;
|
|
25
|
+
};
|
|
26
|
+
type DateTimeFormatOptionKeys = keyof typeof DATE_TIME_FORMAT_OPTIONS;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated This pipe is deprecated and will be removed in a future release.
|
|
30
|
+
* Use sdsDateTimeRangeFormat pipe instead.
|
|
31
|
+
*/
|
|
32
|
+
declare class SdsDatePeriodFormatPipe implements PipeTransform {
|
|
33
|
+
transform(from: Date, to: Date, locales: string | Array<string>, options?: Intl.DateTimeFormatOptions, omitRedundantSegments?: boolean, periodSeparator?: string, omitCurrentYear?: boolean): string;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDatePeriodFormatPipe, never>;
|
|
35
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDatePeriodFormatPipe, "sdsDatePeriodFormat", true>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class SdsDateFormatPipe implements PipeTransform {
|
|
39
|
+
/**
|
|
40
|
+
* Formats date in given locale.
|
|
41
|
+
*
|
|
42
|
+
* @param date Date to be formatted.
|
|
43
|
+
* @param locale A locale code for the locale format rules to use.
|
|
44
|
+
* @param options An optional Intl.DateTimeFormatOptions parameter that can be used to fine-tune the output.
|
|
45
|
+
* @returns A string with formatted date
|
|
46
|
+
* @see [Intl docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl)
|
|
47
|
+
*
|
|
48
|
+
* @publicApi
|
|
49
|
+
*/
|
|
50
|
+
transform(date: Date | number | string | undefined, locales: string | Array<string>, options?: Intl.DateTimeFormatOptions | IntlDateTimeFormatOptionPresetType): string;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDateFormatPipe, never>;
|
|
52
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDateFormatPipe, "sdsDateFormat", true>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class SdsDateTimeRangeFormatPipe implements PipeTransform {
|
|
56
|
+
/**
|
|
57
|
+
* Formats a date range using Intl.DateTimeFormat.formatRange
|
|
58
|
+
* @param startDate - The start date of the range
|
|
59
|
+
* @param endDate - The end date of the range
|
|
60
|
+
* @param locales - Locale(s) to use for formatting (optional, defaults to browser locale)
|
|
61
|
+
* @param options - Intl.DateTimeFormatOptions for customizing the format
|
|
62
|
+
* @returns Formatted date range string
|
|
63
|
+
*/
|
|
64
|
+
transform(startDate: Date | string | number, endDate: Date | string | number, locales: string | string[], options: Intl.DateTimeFormatOptions): string;
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDateTimeRangeFormatPipe, never>;
|
|
66
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDateTimeRangeFormatPipe, "sdsDateTimeRangeFormat", true>;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
declare class SdsDateTimeRangeDurationPipe implements PipeTransform {
|
|
70
|
+
transform(startDate: Date | string | number, endDate: Date | string | number): string;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDateTimeRangeDurationPipe, never>;
|
|
72
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDateTimeRangeDurationPipe, "sdsDateTimeRangeDuration", true>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare class SdsDateComparePipe implements PipeTransform {
|
|
76
|
+
transform(date1: Date | string | number, date2: Date | string | number, operator: 'gt' | 'lt' | 'eq' | 'gte' | 'lte'): boolean;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDateComparePipe, never>;
|
|
78
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDateComparePipe, "sdsDateCompare", true>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { DATE_LONG_MONTH_LONG_WEEKDAY_OPTIONS, DATE_LONG_MONTH_OPTIONS, DATE_LONG_MONTH_SHORT_WEEKDAY_OPTIONS, DATE_NUMERIC_MONTH_OPTIONS, DATE_SHORT_MONTH_OPTIONS, DATE_TIME_FORMAT_OPTIONS, SdsDateComparePipe, SdsDateFormatPipe, SdsDatePeriodFormatPipe, SdsDateTimeRangeDurationPipe, SdsDateTimeRangeFormatPipe, TIME_HOUR_2DIGIT_OPTION, TIME_HOUR_NUMERIC_OPTION, TIME_HOUR_NUMERIC_SECONDS_OPTION };
|
|
82
|
+
export type { DateTimeFormatOptionKeys };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class SdsDrawerComponent {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
showShadow: boolean;
|
|
5
6
|
backgroundColor: string;
|
|
@@ -22,3 +23,5 @@ export declare class SdsDrawerComponent {
|
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDrawerComponent, never>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDrawerComponent, "sds-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "showShadow": { "alias": "showShadow"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "transitionTimingFunction": { "alias": "transitionTimingFunction"; "required": false; }; "transitionDuration": { "alias": "transitionDuration"; "required": false; }; "width": { "alias": "width"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
24
25
|
}
|
|
26
|
+
|
|
27
|
+
export { SdsDrawerComponent };
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, AfterViewInit, EventEmitter, SimpleChanges } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
type DurationBoxRangeViolationHandling = 'autoResolve' | 'markAsInvalid';
|
|
5
|
+
|
|
6
|
+
declare class DurationService {
|
|
7
|
+
constructor();
|
|
8
|
+
resolve(input: string): number | null;
|
|
9
|
+
isValidInput(input: string): boolean;
|
|
10
|
+
getDefaultValue(min?: number, max?: number): number;
|
|
11
|
+
isValueWithinLimits(value: number, min?: number, max?: number): boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DurationService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DurationService>;
|
|
14
|
+
}
|
|
15
|
+
|
|
5
16
|
/**
|
|
6
17
|
* Component allows user to enter duration in h:mm format. User may also select no value is this is applicable to the
|
|
7
18
|
* use case. A list of pre-defined durations can be provided for easier selection.
|
|
@@ -12,7 +23,7 @@ import * as i0 from "@angular/core";
|
|
|
12
23
|
* @export
|
|
13
24
|
* @class SdsDurationBoxComponent
|
|
14
25
|
*/
|
|
15
|
-
|
|
26
|
+
declare class SdsDurationBoxComponent implements OnInit, OnChanges, AfterViewInit {
|
|
16
27
|
private _durationInputResolver;
|
|
17
28
|
/**
|
|
18
29
|
* Duration length expressed in minutes; when we allow empty values this property can be null.
|
|
@@ -135,3 +146,5 @@ export declare class SdsDurationBoxComponent implements OnInit, OnChanges, After
|
|
|
135
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDurationBoxComponent, never>;
|
|
136
147
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDurationBoxComponent, "sds-duration-box", never, { "value": { "alias": "value"; "required": false; }; "allowEmptyValue": { "alias": "allowEmptyValue"; "required": false; }; "emptyValueText": { "alias": "emptyValueText"; "required": false; }; "options": { "alias": "options"; "required": false; }; "width": { "alias": "width"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showClearButton": { "alias": "showClearButton"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "rangeViolationHandling": { "alias": "rangeViolationHandling"; "required": false; }; "rangeViolationText": { "alias": "rangeViolationText"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
137
148
|
}
|
|
149
|
+
|
|
150
|
+
export { SdsDurationBoxComponent };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare class SdsDurationFormatPipe implements PipeTransform {
|
|
4
5
|
transform(value: number | null, emptyValueText?: string): string;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDurationFormatPipe, never>;
|
|
6
7
|
static ɵpipe: i0.ɵɵPipeDeclaration<SdsDurationFormatPipe, "sdsDurationFormat", true>;
|
|
7
8
|
}
|
|
9
|
+
|
|
10
|
+
export { SdsDurationFormatPipe };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
declare class SdsEllipsisDirective implements AfterViewInit {
|
|
4
5
|
private elementRef;
|
|
5
6
|
private renderer;
|
|
6
7
|
tooltipText?: string;
|
|
@@ -11,3 +12,5 @@ export declare class SdsEllipsisDirective implements AfterViewInit {
|
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsEllipsisDirective, never>;
|
|
12
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SdsEllipsisDirective, "[sdsEllipsis]", never, { "tooltipText": { "alias": "tooltipText"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
14
|
}
|
|
15
|
+
|
|
16
|
+
export { SdsEllipsisDirective };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
1
2
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { CaretPlacement, HeaderSize } from './expansion-panel.types';
|
|
3
3
|
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
|
|
5
|
+
type CaretPlacement = 'nextToHeader' | 'farEnd';
|
|
6
|
+
type HeaderSize = 'default' | 'small';
|
|
7
|
+
|
|
8
|
+
declare class SdsExpansionPanelComponent {
|
|
6
9
|
headerIcon?: IconDefinition;
|
|
7
10
|
headerText?: string;
|
|
8
11
|
headerSideText?: string;
|
|
@@ -50,3 +53,5 @@ export declare class SdsExpansionPanelComponent {
|
|
|
50
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsExpansionPanelComponent, never>;
|
|
51
54
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdsExpansionPanelComponent, "sds-expansion-panel", never, { "headerIcon": { "alias": "headerIcon"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerSideText": { "alias": "headerSideText"; "required": false; }; "hideHeader": { "alias": "hideHeader"; "required": false; }; "headerId": { "alias": "headerId"; "required": false; }; "animateCaret": { "alias": "animateCaret"; "required": false; }; "animatePanel": { "alias": "animatePanel"; "required": false; }; "hoverColor": { "alias": "hoverColor"; "required": false; }; "showBackground": { "alias": "showBackground"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "caretPlacement": { "alias": "caretPlacement"; "required": false; }; "descriptionText": { "alias": "descriptionText"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; "expandPanelText": { "alias": "expandPanelText"; "required": false; }; "collapsePanelText": { "alias": "collapsePanelText"; "required": false; }; "headerSize": { "alias": "headerSize"; "required": false; }; }, { "isOpenChange": "isOpenChange"; }, never, ["[contentOnClosed]", "*"], true, never>;
|
|
52
55
|
}
|
|
56
|
+
|
|
57
|
+
export { SdsExpansionPanelComponent };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, PipeTransform } from '@angular/core';
|
|
2
3
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
declare class SdsHighlightTextDirective {
|
|
5
6
|
private readonly _elementRef;
|
|
6
7
|
private readonly _sanitizer;
|
|
7
8
|
/**
|
|
@@ -31,3 +32,14 @@ export declare class SdsHighlightTextDirective {
|
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsHighlightTextDirective, never>;
|
|
32
33
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SdsHighlightTextDirective, "[sdsHighlightText]", never, { "additionalClasses": { "alias": "additionalClasses"; "required": false; }; "highlightText": { "alias": "highlightText"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
34
|
}
|
|
35
|
+
|
|
36
|
+
declare class SdsHighlightTextPipe implements PipeTransform {
|
|
37
|
+
private readonly _elementRef;
|
|
38
|
+
private readonly _sanitizer;
|
|
39
|
+
constructor(_elementRef: ElementRef, _sanitizer: DomSanitizer);
|
|
40
|
+
transform(highlightText: string, stringToBeChecked: string, additionalClasses?: string): string;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsHighlightTextPipe, never>;
|
|
42
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdsHighlightTextPipe, "sdsHighlightText", true>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { SdsHighlightTextDirective, SdsHighlightTextPipe };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, OnInit, OnDestroy, AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
declare class SdsIntersectionService {
|
|
6
|
+
private _documentVisible$;
|
|
7
|
+
constructor(document: any);
|
|
8
|
+
/**
|
|
9
|
+
* @description
|
|
10
|
+
* Method responsible for determining if element is visible
|
|
11
|
+
* on screen or not. Please
|
|
12
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API for options meaning
|
|
13
|
+
* @param { ElementRef } element
|
|
14
|
+
* @param { IntersectionObserverInit } options
|
|
15
|
+
* @returns { Observable<boolean> }
|
|
16
|
+
*/
|
|
17
|
+
elementInSight$(element: ElementRef, options?: IntersectionObserverInit): Observable<boolean>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsIntersectionService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SdsIntersectionService>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class SdsIntersectionDirective implements OnInit, OnDestroy, AfterViewInit {
|
|
23
|
+
private readonly _element;
|
|
24
|
+
private readonly _intersectionService;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
get intersectionOptions(): IntersectionObserverInit | undefined;
|
|
29
|
+
set intersectionOptions(value: IntersectionObserverInit | undefined);
|
|
30
|
+
/**
|
|
31
|
+
* Emits current visibility status
|
|
32
|
+
*/
|
|
33
|
+
elementInSight: EventEmitter<boolean>;
|
|
34
|
+
private _intersectionOptions;
|
|
35
|
+
private _subscriptions;
|
|
36
|
+
constructor(_element: ElementRef, _intersectionService: SdsIntersectionService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsIntersectionDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SdsIntersectionDirective, "[sdsIntersection]", never, { "intersectionOptions": { "alias": "intersectionOptions"; "required": false; }; }, { "elementInSight": "elementInSight"; }, never, never, true, never>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { SdsIntersectionDirective, SdsIntersectionService };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class SdsKeyboardShortcutDirective implements OnInit {
|
|
5
|
+
private readonly _document;
|
|
6
|
+
private readonly _destroyRef;
|
|
7
|
+
/**
|
|
8
|
+
* Emitted when user presses Escape
|
|
9
|
+
*/
|
|
10
|
+
closeShortcut: _angular_core.OutputEmitterRef<void>;
|
|
11
|
+
/**
|
|
12
|
+
* Emitted when user presses ctrl+Enter or cmd+Enter
|
|
13
|
+
*/
|
|
14
|
+
saveRecordShortcut: _angular_core.OutputEmitterRef<void>;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdsKeyboardShortcutDirective, never>;
|
|
17
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SdsKeyboardShortcutDirective, "[sdsKeyboardShortcut]", never, {}, { "closeShortcut": "closeShortcut"; "saveRecordShortcut": "saveRecordShortcut"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { SdsKeyboardShortcutDirective };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class SdsDefaultLayoutComponent implements OnInit {
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDefaultLayoutComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDefaultLayoutComponent, "sds-default-layout", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class SdsFluidLayoutComponent implements OnInit {
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsFluidLayoutComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsFluidLayoutComponent, "sds-fluid-layout", never, {}, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class SdsSmallLayoutComponent implements OnInit {
|
|
19
|
+
constructor();
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsSmallLayoutComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsSmallLayoutComponent, "sds-small-layout", never, {}, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class SdsMediumLayoutComponent implements OnInit {
|
|
26
|
+
constructor();
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsMediumLayoutComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsMediumLayoutComponent, "sds-medium-layout", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare class SdsExtraLargeLayoutComponent implements OnInit {
|
|
33
|
+
constructor();
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsExtraLargeLayoutComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsExtraLargeLayoutComponent, "sds-extra-large-layout", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SdsDefaultLayoutComponent, SdsExtraLargeLayoutComponent, SdsFluidLayoutComponent, SdsMediumLayoutComponent, SdsSmallLayoutComponent };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
3
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
declare class SdsMessageComponent implements OnInit {
|
|
5
6
|
icon?: IconProp;
|
|
6
7
|
text: string;
|
|
7
8
|
showCloseButton: boolean;
|
|
@@ -22,3 +23,5 @@ export declare class SdsMessageComponent implements OnInit {
|
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdsMessageComponent, never>;
|
|
23
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<SdsMessageComponent, "sds-message", never, { "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showLearnMoreLink": { "alias": "showLearnMoreLink"; "required": false; }; "learnMoreLinkText": { "alias": "learnMoreLinkText"; "required": false; }; "learnMoreLinkUrl": { "alias": "learnMoreLinkUrl"; "required": false; }; "showAction": { "alias": "showAction"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "style": { "alias": "style"; "required": false; }; }, { "close": "close"; "actionClick": "actionClick"; }, ["customContent"], ["customContent"], true, never>;
|
|
24
25
|
}
|
|
26
|
+
|
|
27
|
+
export { SdsMessageComponent };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, OnChanges, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
interface ModalTranslations {
|
|
6
|
+
close?: string;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare class SdsModalComponent implements OnInit, OnChanges {
|
|
10
|
+
headerContent: ElementRef;
|
|
11
|
+
modalTitle?: string;
|
|
12
|
+
showHeader: boolean;
|
|
13
|
+
showFooter: boolean;
|
|
14
|
+
size: 'sm' | 'md' | 'lg' | 'xl' | '820' | 'xxl';
|
|
15
|
+
modalDialogId?: string;
|
|
16
|
+
showCloseButton: boolean;
|
|
17
|
+
autoFocusCloseButton: boolean;
|
|
18
|
+
translations: ModalTranslations;
|
|
19
|
+
isScrollable: boolean;
|
|
20
|
+
isVerticallyCentered: boolean;
|
|
21
|
+
closeOnEscape: boolean;
|
|
22
|
+
downSizing: 'discrete' | 'continuous';
|
|
23
|
+
/**
|
|
24
|
+
* Allow the modal to be draggable by the user. Default is true.
|
|
25
|
+
*
|
|
26
|
+
* @memberof SdsModalComponent
|
|
27
|
+
*/
|
|
28
|
+
isDraggable: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Constrain modal to the viewport. Default is true.
|
|
31
|
+
*
|
|
32
|
+
* @memberof SdsModalComponent
|
|
33
|
+
*/
|
|
34
|
+
isDragConstrained: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @description
|
|
37
|
+
* Label for the close button, used for accessibility.
|
|
38
|
+
* If not provided, it will fall back to the default translation for "close".
|
|
39
|
+
*/
|
|
40
|
+
closeButtonLabel: i0.InputSignal<string | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* @deprecated Use isOpenChange instead
|
|
43
|
+
*/
|
|
44
|
+
modalOpen: EventEmitter<void>;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Use isOpenChange instead
|
|
47
|
+
*/
|
|
48
|
+
modalClose: EventEmitter<void>;
|
|
49
|
+
closeClick: EventEmitter<void>;
|
|
50
|
+
closeEscapeKeypress: EventEmitter<void>;
|
|
51
|
+
closeIcon: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
52
|
+
isOpen: boolean;
|
|
53
|
+
isOpenChange: EventEmitter<boolean>;
|
|
54
|
+
private _modal;
|
|
55
|
+
private _closeButton;
|
|
56
|
+
constructor();
|
|
57
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
58
|
+
ngOnInit(): void;
|
|
59
|
+
open(): void;
|
|
60
|
+
close(): void;
|
|
61
|
+
onCloseButtonClick(): void;
|
|
62
|
+
onKeydown(event: KeyboardEvent): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsModalComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsModalComponent, "sds-modal", never, { "modalTitle": { "alias": "modalTitle"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "size": { "alias": "size"; "required": false; }; "modalDialogId": { "alias": "modalDialogId"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "autoFocusCloseButton": { "alias": "autoFocusCloseButton"; "required": false; }; "translations": { "alias": "translations"; "required": false; }; "isScrollable": { "alias": "isScrollable"; "required": false; }; "isVerticallyCentered": { "alias": "isVerticallyCentered"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "downSizing": { "alias": "downSizing"; "required": false; }; "isDraggable": { "alias": "isDraggable"; "required": false; }; "isDragConstrained": { "alias": "isDragConstrained"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "modalOpen": "modalOpen"; "modalClose": "modalClose"; "closeClick": "closeClick"; "closeEscapeKeypress": "closeEscapeKeypress"; "isOpenChange": "isOpenChange"; }, ["headerContent"], ["header", "*", "footer"], true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type ButtonType = 'button' | 'submit' | 'reset';
|
|
68
|
+
|
|
69
|
+
type modalButton = 'primary' | 'secondary' | 'close';
|
|
70
|
+
declare class SdsDialogComponent implements OnInit {
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated Use dialogTitle instead
|
|
73
|
+
*/
|
|
74
|
+
title: string;
|
|
75
|
+
dialogTitle: string;
|
|
76
|
+
closeText?: string;
|
|
77
|
+
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
78
|
+
primaryButtonText: string;
|
|
79
|
+
primaryButtonClass: string;
|
|
80
|
+
primaryButtonType: ButtonType;
|
|
81
|
+
primaryButtonId?: string;
|
|
82
|
+
primaryButtonDisabled: boolean;
|
|
83
|
+
secondaryButtonText: string;
|
|
84
|
+
secondaryButtonClass: string;
|
|
85
|
+
secondaryButtonType: ButtonType;
|
|
86
|
+
secondaryButtonId?: string;
|
|
87
|
+
secondaryButtonDisabled: boolean;
|
|
88
|
+
closeOnEscape: boolean;
|
|
89
|
+
showHeader: boolean;
|
|
90
|
+
showCloseButton: boolean;
|
|
91
|
+
showPrimaryButton: boolean;
|
|
92
|
+
showSecondaryButton: boolean;
|
|
93
|
+
autofocusElement: 'primary' | 'secondary' | 'close' | 'content';
|
|
94
|
+
modalDialogId?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @deprecated Use isOpenChange instead
|
|
97
|
+
*/
|
|
98
|
+
dialogOpen: EventEmitter<void>;
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated Use isOpenChange instead
|
|
101
|
+
*/
|
|
102
|
+
dialogClose: EventEmitter<void>;
|
|
103
|
+
isOpen: boolean;
|
|
104
|
+
isOpenChange: EventEmitter<boolean>;
|
|
105
|
+
primaryButtonClick: EventEmitter<void>;
|
|
106
|
+
secondaryButtonClick: EventEmitter<void>;
|
|
107
|
+
private _modal;
|
|
108
|
+
private _content?;
|
|
109
|
+
private _primaryButton?;
|
|
110
|
+
private _secondaryButton?;
|
|
111
|
+
private _callback?;
|
|
112
|
+
private _callbackData;
|
|
113
|
+
constructor();
|
|
114
|
+
ngOnInit(): void;
|
|
115
|
+
open(callback?: (button: modalButton, data: any) => void, data?: any): void;
|
|
116
|
+
private close;
|
|
117
|
+
onSecondaryClick(): void;
|
|
118
|
+
onPrimaryClick(): void;
|
|
119
|
+
onCloseClick(): void;
|
|
120
|
+
onCloseEscapeKeypress(): void;
|
|
121
|
+
onModalClose(): void;
|
|
122
|
+
onModalOpen(): void;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdsDialogComponent, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdsDialogComponent, "sds-dialog", never, { "title": { "alias": "title"; "required": false; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; }; "closeText": { "alias": "closeText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "primaryButtonText": { "alias": "primaryButtonText"; "required": false; }; "primaryButtonClass": { "alias": "primaryButtonClass"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonId": { "alias": "primaryButtonId"; "required": false; }; "primaryButtonDisabled": { "alias": "primaryButtonDisabled"; "required": false; }; "secondaryButtonText": { "alias": "secondaryButtonText"; "required": false; }; "secondaryButtonClass": { "alias": "secondaryButtonClass"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "secondaryButtonId": { "alias": "secondaryButtonId"; "required": false; }; "secondaryButtonDisabled": { "alias": "secondaryButtonDisabled"; "required": false; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "showPrimaryButton": { "alias": "showPrimaryButton"; "required": false; }; "showSecondaryButton": { "alias": "showSecondaryButton"; "required": false; }; "autofocusElement": { "alias": "autofocusElement"; "required": false; }; "modalDialogId": { "alias": "modalDialogId"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "dialogOpen": "dialogOpen"; "dialogClose": "dialogClose"; "isOpenChange": "isOpenChange"; "primaryButtonClick": "primaryButtonClick"; "secondaryButtonClick": "secondaryButtonClick"; }, never, ["*"], true, never>;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export { SdsDialogComponent, SdsModalComponent };
|