@recursyve/nice-ui-kit.v2 18.0.0-beta.144 → 20.0.0-beta.146
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/_index.scss +2 -2
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs +899 -738
- package/fesm2022/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/index.d.ts +3664 -3
- package/package.json +8 -10
- package/src/lib/components/base-form/base-form.theme.scss +2 -1
- package/src/lib/components/chip-list/chip-list.theme.scss +2 -2
- package/src/lib/components/date-range-picker/date-range-picker.theme.scss +6 -5
- package/src/lib/components/horizontal-stepper/horizontal-stepper.theme.scss +3 -2
- package/src/lib/components/navigation/vertical/vertical.theme.scss +8 -8
- package/src/lib/components/toggle-button-group/toggle-button-group.theme.scss +8 -7
- package/src/lib/nice.theme.scss +78 -86
- package/src/lib/nice.utils.scss +3 -1
- package/styles/main.scss +4 -4
- package/styles/nice.scss +3 -1
- package/styles/overrides/angular-material.scss +3 -3
- package/esm2022/lib/animations/defaults.mjs +0 -32
- package/esm2022/lib/animations/expand-collapse.mjs +0 -21
- package/esm2022/lib/animations/fade.mjs +0 -210
- package/esm2022/lib/animations/index.mjs +0 -2
- package/esm2022/lib/animations/public-api.mjs +0 -17
- package/esm2022/lib/animations/shake.mjs +0 -63
- package/esm2022/lib/animations/slide.mjs +0 -156
- package/esm2022/lib/animations/zoom.mjs +0 -46
- package/esm2022/lib/api/exceptions/api.exception.mjs +0 -3
- package/esm2022/lib/api/exceptions/exception.factory.mjs +0 -9
- package/esm2022/lib/api/index.mjs +0 -2
- package/esm2022/lib/api/interceptors/transform-response.interceptor.mjs +0 -28
- package/esm2022/lib/api/nice.api.mjs +0 -68
- package/esm2022/lib/api/public-api.mjs +0 -5
- package/esm2022/lib/components/alert/alert.component.mjs +0 -200
- package/esm2022/lib/components/alert/alert.module.mjs +0 -32
- package/esm2022/lib/components/alert/alert.service.mjs +0 -58
- package/esm2022/lib/components/alert/alert.types.mjs +0 -2
- package/esm2022/lib/components/alert/index.mjs +0 -2
- package/esm2022/lib/components/alert/public-api.mjs +0 -5
- package/esm2022/lib/components/assets-carousel/assets-carousel.component.mjs +0 -283
- package/esm2022/lib/components/assets-carousel/assets-carousel.constant.mjs +0 -3
- package/esm2022/lib/components/assets-carousel/assets-carousel.module.mjs +0 -88
- package/esm2022/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.mjs +0 -14
- package/esm2022/lib/components/assets-carousel/index.mjs +0 -2
- package/esm2022/lib/components/assets-carousel/public-api.mjs +0 -4
- package/esm2022/lib/components/async-typeahead/async-typeahead.component.mjs +0 -459
- package/esm2022/lib/components/async-typeahead/async-typeahead.constant.mjs +0 -3
- package/esm2022/lib/components/async-typeahead/async-typeahead.module.mjs +0 -64
- package/esm2022/lib/components/async-typeahead/index.mjs +0 -2
- package/esm2022/lib/components/async-typeahead/providers/async-typeahead.provider.mjs +0 -6
- package/esm2022/lib/components/async-typeahead/providers/async-typeahead.service.mjs +0 -219
- package/esm2022/lib/components/async-typeahead/public-api.mjs +0 -5
- package/esm2022/lib/components/base-form/base-form.component.mjs +0 -91
- package/esm2022/lib/components/base-form/base-form.module.mjs +0 -16
- package/esm2022/lib/components/base-form/form-submit.directive.mjs +0 -20
- package/esm2022/lib/components/base-form/index.mjs +0 -2
- package/esm2022/lib/components/base-form/nice-base.form.mjs +0 -14
- package/esm2022/lib/components/base-form/public-api.mjs +0 -5
- package/esm2022/lib/components/card/card.component.mjs +0 -60
- package/esm2022/lib/components/card/card.module.mjs +0 -24
- package/esm2022/lib/components/card/card.types.mjs +0 -2
- package/esm2022/lib/components/card/index.mjs +0 -2
- package/esm2022/lib/components/card/public-api.mjs +0 -3
- package/esm2022/lib/components/carousel/carousel.component.mjs +0 -51
- package/esm2022/lib/components/carousel/carousel.constant.mjs +0 -3
- package/esm2022/lib/components/carousel/carousel.module.mjs +0 -54
- package/esm2022/lib/components/carousel/index.mjs +0 -2
- package/esm2022/lib/components/carousel/interfaces/carousel-options.interface.mjs +0 -2
- package/esm2022/lib/components/carousel/picture-modal/index.mjs +0 -2
- package/esm2022/lib/components/carousel/picture-modal/picture-modal.component.mjs +0 -11
- package/esm2022/lib/components/carousel/picture-modal/picture-modal.service.mjs +0 -34
- package/esm2022/lib/components/carousel/picture-modal/public-api.mjs +0 -3
- package/esm2022/lib/components/carousel/pipe/carousel-layout.pipe.mjs +0 -17
- package/esm2022/lib/components/carousel/public-api.mjs +0 -4
- package/esm2022/lib/components/collapsable/collapsable.component.mjs +0 -36
- package/esm2022/lib/components/collapsable/collapsable.module.mjs +0 -25
- package/esm2022/lib/components/collapsable/index.mjs +0 -2
- package/esm2022/lib/components/collapsable/public-api.mjs +0 -3
- package/esm2022/lib/components/date-range-picker/components/header/header.component.mjs +0 -57
- package/esm2022/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +0 -107
- package/esm2022/lib/components/date-range-picker/date-range-picker.component.mjs +0 -95
- package/esm2022/lib/components/date-range-picker/date-range-picker.module.mjs +0 -56
- package/esm2022/lib/components/date-range-picker/index.mjs +0 -2
- package/esm2022/lib/components/date-range-picker/providers/date-range-picker.service.mjs +0 -17
- package/esm2022/lib/components/date-range-picker/public-api.mjs +0 -3
- package/esm2022/lib/components/drawer/drawer.component.mjs +0 -372
- package/esm2022/lib/components/drawer/drawer.module.mjs +0 -28
- package/esm2022/lib/components/drawer/drawer.service.mjs +0 -40
- package/esm2022/lib/components/drawer/drawer.types.mjs +0 -2
- package/esm2022/lib/components/drawer/index.mjs +0 -2
- package/esm2022/lib/components/drawer/public-api.mjs +0 -5
- package/esm2022/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +0 -33
- package/esm2022/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +0 -45
- package/esm2022/lib/components/export-bottom-sheet/index.mjs +0 -2
- package/esm2022/lib/components/export-bottom-sheet/models/export-strategy.model.mjs +0 -2
- package/esm2022/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +0 -28
- package/esm2022/lib/components/export-bottom-sheet/public-api.mjs +0 -5
- package/esm2022/lib/components/form-error/control-status.directive.mjs +0 -125
- package/esm2022/lib/components/form-error/form-error.component.mjs +0 -53
- package/esm2022/lib/components/form-error/form-error.module.mjs +0 -20
- package/esm2022/lib/components/form-error/index.mjs +0 -2
- package/esm2022/lib/components/form-error/public-api.mjs +0 -4
- package/esm2022/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +0 -34
- package/esm2022/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +0 -29
- package/esm2022/lib/components/horizontal-stepper/index.mjs +0 -2
- package/esm2022/lib/components/horizontal-stepper/public-api.mjs +0 -4
- package/esm2022/lib/components/horizontal-stepper/step.component.mjs +0 -22
- package/esm2022/lib/components/image-cropper/image-cropper.component.mjs +0 -1269
- package/esm2022/lib/components/image-cropper/image-cropper.module.mjs +0 -23
- package/esm2022/lib/components/image-cropper/index.mjs +0 -2
- package/esm2022/lib/components/image-cropper/public-api.mjs +0 -3
- package/esm2022/lib/components/image-cropper/resize-canvas.mjs +0 -76
- package/esm2022/lib/components/index.mjs +0 -2
- package/esm2022/lib/components/layout/index.mjs +0 -2
- package/esm2022/lib/components/layout/layout.component.mjs +0 -98
- package/esm2022/lib/components/layout/layout.module.mjs +0 -18
- package/esm2022/lib/components/layout/public-api.mjs +0 -3
- package/esm2022/lib/components/loading-spinner/index.mjs +0 -2
- package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +0 -22
- package/esm2022/lib/components/loading-spinner/loading-spinner.module.mjs +0 -48
- package/esm2022/lib/components/loading-spinner/loading.constant.mjs +0 -3
- package/esm2022/lib/components/loading-spinner/loading.directive.mjs +0 -56
- package/esm2022/lib/components/loading-spinner/public-api.mjs +0 -4
- package/esm2022/lib/components/loading-toast/index.mjs +0 -2
- package/esm2022/lib/components/loading-toast/loading-toast.component.mjs +0 -38
- package/esm2022/lib/components/loading-toast/loading-toast.constant.mjs +0 -3
- package/esm2022/lib/components/loading-toast/loading-toast.directive.mjs +0 -64
- package/esm2022/lib/components/loading-toast/loading-toast.module.mjs +0 -62
- package/esm2022/lib/components/loading-toast/loading-toast.service.mjs +0 -47
- package/esm2022/lib/components/loading-toast/public-api.mjs +0 -6
- package/esm2022/lib/components/loading-toast/rxjs/show-loading-toast.operator.mjs +0 -12
- package/esm2022/lib/components/lottie/index.mjs +0 -2
- package/esm2022/lib/components/lottie/lottie.component.mjs +0 -52
- package/esm2022/lib/components/lottie/lottie.module.mjs +0 -18
- package/esm2022/lib/components/lottie/public-api.mjs +0 -3
- package/esm2022/lib/components/navigation/components/hint-component-base.mjs +0 -120
- package/esm2022/lib/components/navigation/directives/show-hint.directive.mjs +0 -187
- package/esm2022/lib/components/navigation/horizontal/components/basic/basic.component.mjs +0 -62
- package/esm2022/lib/components/navigation/horizontal/components/branch/branch.component.mjs +0 -80
- package/esm2022/lib/components/navigation/horizontal/components/divider/divider.component.mjs +0 -51
- package/esm2022/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +0 -51
- package/esm2022/lib/components/navigation/horizontal/horizontal.component.mjs +0 -50
- package/esm2022/lib/components/navigation/index.mjs +0 -2
- package/esm2022/lib/components/navigation/navigation.component.mjs +0 -83
- package/esm2022/lib/components/navigation/navigation.module.mjs +0 -108
- package/esm2022/lib/components/navigation/navigation.service.mjs +0 -188
- package/esm2022/lib/components/navigation/navigation.types.mjs +0 -2
- package/esm2022/lib/components/navigation/pipes/should-hide.pipe.mjs +0 -31
- package/esm2022/lib/components/navigation/pipes/should-show-hint.pipe.mjs +0 -32
- package/esm2022/lib/components/navigation/pipes/translate-with-context.pipe.mjs +0 -25
- package/esm2022/lib/components/navigation/providers/hide-item.resolver.mjs +0 -3
- package/esm2022/lib/components/navigation/providers/hint.resolver.mjs +0 -3
- package/esm2022/lib/components/navigation/providers/hint.service.mjs +0 -20
- package/esm2022/lib/components/navigation/providers/translation-context.service.mjs +0 -16
- package/esm2022/lib/components/navigation/public-api.mjs +0 -20
- package/esm2022/lib/components/navigation/vertical/components/aside/aside.component.mjs +0 -145
- package/esm2022/lib/components/navigation/vertical/components/basic/basic.component.mjs +0 -76
- package/esm2022/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +0 -264
- package/esm2022/lib/components/navigation/vertical/components/divider/divider.component.mjs +0 -51
- package/esm2022/lib/components/navigation/vertical/components/group/group.component.mjs +0 -75
- package/esm2022/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +0 -51
- package/esm2022/lib/components/navigation/vertical/vertical.component.mjs +0 -599
- package/esm2022/lib/components/public-api.mjs +0 -25
- package/esm2022/lib/components/search-bar/index.mjs +0 -2
- package/esm2022/lib/components/search-bar/public-api.mjs +0 -3
- package/esm2022/lib/components/search-bar/search-bar.component.mjs +0 -76
- package/esm2022/lib/components/search-bar/search-bar.module.mjs +0 -40
- package/esm2022/lib/components/sweet-alert/index.mjs +0 -2
- package/esm2022/lib/components/sweet-alert/public-api.mjs +0 -5
- package/esm2022/lib/components/sweet-alert/sweet-alert.component.mjs +0 -59
- package/esm2022/lib/components/sweet-alert/sweet-alert.constant.mjs +0 -3
- package/esm2022/lib/components/sweet-alert/sweet-alert.directive.mjs +0 -37
- package/esm2022/lib/components/sweet-alert/sweet-alert.module.mjs +0 -37
- package/esm2022/lib/components/sweet-alert/sweet-alert.service.mjs +0 -95
- package/esm2022/lib/components/toast/index.mjs +0 -2
- package/esm2022/lib/components/toast/public-api.mjs +0 -6
- package/esm2022/lib/components/toast/rxjs/show-success-or-error-toast.operator.mjs +0 -22
- package/esm2022/lib/components/toast/rxjs/show-toast.operator.mjs +0 -26
- package/esm2022/lib/components/toast/toast.component.mjs +0 -25
- package/esm2022/lib/components/toast/toast.constant.mjs +0 -3
- package/esm2022/lib/components/toast/toast.module.mjs +0 -57
- package/esm2022/lib/components/toast/toast.service.mjs +0 -65
- package/esm2022/lib/components/toggle-button-group/index.mjs +0 -2
- package/esm2022/lib/components/toggle-button-group/public-api.mjs +0 -4
- package/esm2022/lib/components/toggle-button-group/toggle-button-group.component.mjs +0 -134
- package/esm2022/lib/components/toggle-button-group/toggle-button-group.module.mjs +0 -26
- package/esm2022/lib/components/toggle-button-group/toggle-button.component.mjs +0 -19
- package/esm2022/lib/components/translation-form/components/textarea/translation-form-textarea.component.mjs +0 -38
- package/esm2022/lib/components/translation-form/components/textfield/translation-form-textfield.component.mjs +0 -26
- package/esm2022/lib/components/translation-form/components/translation-form.component.mjs +0 -172
- package/esm2022/lib/components/translation-form/components/translation-form.module.mjs +0 -71
- package/esm2022/lib/components/translation-form/decorators/translation-form-group.decorator.mjs +0 -4
- package/esm2022/lib/components/translation-form/directives/translation-context.directive.mjs +0 -48
- package/esm2022/lib/components/translation-form/index.mjs +0 -2
- package/esm2022/lib/components/translation-form/providers/nice-translation-form.service.mjs +0 -59
- package/esm2022/lib/components/translation-form/public-api.mjs +0 -11
- package/esm2022/lib/components/translation-form/toggle/translation-toggle.component.mjs +0 -26
- package/esm2022/lib/components/translation-form/translation.form.mjs +0 -6
- package/esm2022/lib/components/translation-form/validators/require-for-languages.validator.mjs +0 -43
- package/esm2022/lib/components/typeahead/directives/options-scroll.directive.mjs +0 -68
- package/esm2022/lib/components/typeahead/directives/options-scroll.module.mjs +0 -16
- package/esm2022/lib/components/typeahead/index.mjs +0 -2
- package/esm2022/lib/components/typeahead/public-api.mjs +0 -4
- package/esm2022/lib/components/typeahead/typeahead.component.mjs +0 -490
- package/esm2022/lib/components/typeahead/typeahead.module.mjs +0 -59
- package/esm2022/lib/directives/autofocus/autofocus.directive.mjs +0 -17
- package/esm2022/lib/directives/autofocus/autofocus.module.mjs +0 -16
- package/esm2022/lib/directives/autofocus/index.mjs +0 -2
- package/esm2022/lib/directives/autofocus/public-api.mjs +0 -3
- package/esm2022/lib/directives/autogrow/autogrow.directive.mjs +0 -105
- package/esm2022/lib/directives/autogrow/autogrow.module.mjs +0 -20
- package/esm2022/lib/directives/autogrow/index.mjs +0 -2
- package/esm2022/lib/directives/autogrow/public-api.mjs +0 -3
- package/esm2022/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +0 -39
- package/esm2022/lib/directives/chip-async-typeahead/index.mjs +0 -2
- package/esm2022/lib/directives/chip-async-typeahead/public-api.mjs +0 -2
- package/esm2022/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +0 -14
- package/esm2022/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +0 -46
- package/esm2022/lib/directives/chip-list/chip-list.constant.mjs +0 -3
- package/esm2022/lib/directives/chip-list/chip-list.directive.mjs +0 -144
- package/esm2022/lib/directives/chip-list/chip-list.module.mjs +0 -40
- package/esm2022/lib/directives/chip-list/index.mjs +0 -2
- package/esm2022/lib/directives/chip-list/public-api.mjs +0 -5
- package/esm2022/lib/directives/draggable-list/draggable-list.directive.mjs +0 -94
- package/esm2022/lib/directives/draggable-list/draggable-list.module.mjs +0 -18
- package/esm2022/lib/directives/draggable-list/index.mjs +0 -2
- package/esm2022/lib/directives/draggable-list/public-api.mjs +0 -3
- package/esm2022/lib/directives/dropzone/dropzone.directive.mjs +0 -50
- package/esm2022/lib/directives/dropzone/dropzone.module.mjs +0 -18
- package/esm2022/lib/directives/dropzone/index.mjs +0 -2
- package/esm2022/lib/directives/dropzone/public-api.mjs +0 -3
- package/esm2022/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +0 -26
- package/esm2022/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +0 -16
- package/esm2022/lib/directives/image-error-placeholder/index.mjs +0 -2
- package/esm2022/lib/directives/image-error-placeholder/public-api.mjs +0 -3
- package/esm2022/lib/directives/index.mjs +0 -2
- package/esm2022/lib/directives/material/index.mjs +0 -2
- package/esm2022/lib/directives/material/material.module.mjs +0 -25
- package/esm2022/lib/directives/material/nice-material-style.directive.mjs +0 -18
- package/esm2022/lib/directives/material/nice-rounded-style.directive.mjs +0 -18
- package/esm2022/lib/directives/material/public-api.mjs +0 -4
- package/esm2022/lib/directives/modals/index.mjs +0 -2
- package/esm2022/lib/directives/modals/modal-on-click.directive.mjs +0 -22
- package/esm2022/lib/directives/modals/modal-opener.directive.mjs +0 -31
- package/esm2022/lib/directives/modals/public-api.mjs +0 -3
- package/esm2022/lib/directives/public-api.mjs +0 -16
- package/esm2022/lib/directives/rerender/index.mjs +0 -2
- package/esm2022/lib/directives/rerender/public-api.mjs +0 -2
- package/esm2022/lib/directives/rerender/rerender.directive.mjs +0 -22
- package/esm2022/lib/directives/resolve/index.mjs +0 -2
- package/esm2022/lib/directives/resolve/public-api.mjs +0 -2
- package/esm2022/lib/directives/resolve/resolve.directive.mjs +0 -32
- package/esm2022/lib/directives/scroll-reset/index.mjs +0 -2
- package/esm2022/lib/directives/scroll-reset/public-api.mjs +0 -3
- package/esm2022/lib/directives/scroll-reset/scroll-reset.directive.mjs +0 -47
- package/esm2022/lib/directives/scroll-reset/scroll-reset.module.mjs +0 -20
- package/esm2022/lib/directives/scrollbar/index.mjs +0 -2
- package/esm2022/lib/directives/scrollbar/public-api.mjs +0 -3
- package/esm2022/lib/directives/scrollbar/scrollbar.directive.mjs +0 -309
- package/esm2022/lib/directives/scrollbar/scrollbar.module.mjs +0 -20
- package/esm2022/lib/directives/scrollbar/scrollbar.types.mjs +0 -15
- package/esm2022/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +0 -18
- package/esm2022/lib/directives/stop-propagation/index.mjs +0 -2
- package/esm2022/lib/directives/stop-propagation/public-api.mjs +0 -3
- package/esm2022/lib/directives/stop-propagation/stop-propagation.module.mjs +0 -16
- package/esm2022/lib/directives/window/index.mjs +0 -2
- package/esm2022/lib/directives/window/prevent-close-window.directive.mjs +0 -18
- package/esm2022/lib/directives/window/public-api.mjs +0 -3
- package/esm2022/lib/directives/window/window-directive.module.mjs +0 -16
- package/esm2022/lib/nice.module.mjs +0 -124
- package/esm2022/lib/pipes/boolean.pipe.mjs +0 -22
- package/esm2022/lib/pipes/capitalize-first-letter.pipe.mjs +0 -18
- package/esm2022/lib/pipes/ceil.pipe.mjs +0 -14
- package/esm2022/lib/pipes/entries.pipe.mjs +0 -23
- package/esm2022/lib/pipes/find-by-key.pipe.mjs +0 -14
- package/esm2022/lib/pipes/first-letter.pipe.mjs +0 -14
- package/esm2022/lib/pipes/floor.pipe.mjs +0 -14
- package/esm2022/lib/pipes/index.mjs +0 -2
- package/esm2022/lib/pipes/join-if-defined.pipe.mjs +0 -20
- package/esm2022/lib/pipes/link.pipe.mjs +0 -25
- package/esm2022/lib/pipes/localized-boolean.pipe.mjs +0 -19
- package/esm2022/lib/pipes/localized-currency.pipe.mjs +0 -18
- package/esm2022/lib/pipes/localized-date-only.pipe.mjs +0 -21
- package/esm2022/lib/pipes/localized-date.pipe.mjs +0 -40
- package/esm2022/lib/pipes/minutes-to-time.pipe.mjs +0 -17
- package/esm2022/lib/pipes/number-to-ordinal-indicator.pipe.mjs +0 -23
- package/esm2022/lib/pipes/pad.pipe.mjs +0 -20
- package/esm2022/lib/pipes/phone.pipe.mjs +0 -23
- package/esm2022/lib/pipes/pipes.module.mjs +0 -177
- package/esm2022/lib/pipes/postal-code.pipe.mjs +0 -22
- package/esm2022/lib/pipes/public-api.mjs +0 -25
- package/esm2022/lib/pipes/range.pipe.mjs +0 -18
- package/esm2022/lib/pipes/round.pipe.mjs +0 -14
- package/esm2022/lib/pipes/sanitize-bypass.pipe.mjs +0 -24
- package/esm2022/lib/pipes/seconds-to-time.pipe.mjs +0 -18
- package/esm2022/lib/pipes/track-by-prop.pipe.mjs +0 -14
- package/esm2022/lib/providers/config/config.constants.mjs +0 -3
- package/esm2022/lib/providers/config/config.model.mjs +0 -2
- package/esm2022/lib/providers/config/config.module.mjs +0 -34
- package/esm2022/lib/providers/config/config.service.mjs +0 -51
- package/esm2022/lib/providers/config/index.mjs +0 -2
- package/esm2022/lib/providers/config/public-api.mjs +0 -3
- package/esm2022/lib/providers/index.mjs +0 -2
- package/esm2022/lib/providers/media-watcher/index.mjs +0 -2
- package/esm2022/lib/providers/media-watcher/media-watcher.module.mjs +0 -26
- package/esm2022/lib/providers/media-watcher/media-watcher.service.mjs +0 -106
- package/esm2022/lib/providers/media-watcher/public-api.mjs +0 -3
- package/esm2022/lib/providers/overlay/dynamic-overlay-container.service.mjs +0 -14
- package/esm2022/lib/providers/overlay/dynamic-overlay.service.mjs +0 -31
- package/esm2022/lib/providers/public-api.mjs +0 -5
- package/esm2022/lib/providers/splash-screen/index.mjs +0 -2
- package/esm2022/lib/providers/splash-screen/public-api.mjs +0 -3
- package/esm2022/lib/providers/splash-screen/splash-screen.module.mjs +0 -26
- package/esm2022/lib/providers/splash-screen/splash-screen.service.mjs +0 -45
- package/esm2022/lib/providers/utils/index.mjs +0 -2
- package/esm2022/lib/providers/utils/public-api.mjs +0 -3
- package/esm2022/lib/providers/utils/utils.module.mjs +0 -19
- package/esm2022/lib/providers/utils/utils.service.mjs +0 -27
- package/esm2022/lib/types/constructor.mjs +0 -5
- package/esm2022/lib/utils/array.utils.mjs +0 -106
- package/esm2022/lib/utils/case.utils.mjs +0 -58
- package/esm2022/lib/utils/colors.utils.mjs +0 -29
- package/esm2022/lib/utils/date.utils.mjs +0 -47
- package/esm2022/lib/utils/file.utils.mjs +0 -90
- package/esm2022/lib/utils/font-awesome.utils.mjs +0 -40
- package/esm2022/lib/utils/form-data.utils.mjs +0 -41
- package/esm2022/lib/utils/http-status.utils.mjs +0 -47
- package/esm2022/lib/utils/index.mjs +0 -2
- package/esm2022/lib/utils/keyboard.utils.mjs +0 -9
- package/esm2022/lib/utils/lexorank.utils.mjs +0 -28
- package/esm2022/lib/utils/modal.utils.mjs +0 -6
- package/esm2022/lib/utils/number.utils.mjs +0 -6
- package/esm2022/lib/utils/object.utils.mjs +0 -111
- package/esm2022/lib/utils/promise.utils.mjs +0 -7
- package/esm2022/lib/utils/public-api.mjs +0 -19
- package/esm2022/lib/utils/query-params.utils.mjs +0 -14
- package/esm2022/lib/utils/regex.utils.mjs +0 -11
- package/esm2022/lib/utils/type.utils.mjs +0 -15
- package/esm2022/lib/utils/url.utils.mjs +0 -20
- package/esm2022/public-api.mjs +0 -12
- package/esm2022/recursyve-nice-ui-kit.v2.mjs +0 -5
- package/lib/animations/defaults.d.ts +0 -13
- package/lib/animations/expand-collapse.d.ts +0 -2
- package/lib/animations/fade.d.ts +0 -11
- package/lib/animations/index.d.ts +0 -1
- package/lib/animations/public-api.d.ts +0 -1
- package/lib/animations/shake.d.ts +0 -2
- package/lib/animations/slide.d.ts +0 -9
- package/lib/animations/zoom.d.ts +0 -3
- package/lib/api/exceptions/api.exception.d.ts +0 -3
- package/lib/api/exceptions/exception.factory.d.ts +0 -6
- package/lib/api/index.d.ts +0 -1
- package/lib/api/interceptors/transform-response.interceptor.d.ts +0 -9
- package/lib/api/nice.api.d.ts +0 -33
- package/lib/api/public-api.d.ts +0 -4
- package/lib/components/alert/alert.component.d.ts +0 -64
- package/lib/components/alert/alert.module.d.ts +0 -10
- package/lib/components/alert/alert.service.d.ts +0 -24
- package/lib/components/alert/alert.types.d.ts +0 -3
- package/lib/components/alert/index.d.ts +0 -1
- package/lib/components/alert/public-api.d.ts +0 -4
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +0 -88
- package/lib/components/assets-carousel/assets-carousel.constant.d.ts +0 -2
- package/lib/components/assets-carousel/assets-carousel.module.d.ts +0 -19
- package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +0 -8
- package/lib/components/assets-carousel/index.d.ts +0 -1
- package/lib/components/assets-carousel/public-api.d.ts +0 -3
- package/lib/components/async-typeahead/async-typeahead.component.d.ts +0 -119
- package/lib/components/async-typeahead/async-typeahead.constant.d.ts +0 -2
- package/lib/components/async-typeahead/async-typeahead.module.d.ts +0 -19
- package/lib/components/async-typeahead/index.d.ts +0 -1
- package/lib/components/async-typeahead/providers/async-typeahead.provider.d.ts +0 -11
- package/lib/components/async-typeahead/providers/async-typeahead.service.d.ts +0 -51
- package/lib/components/async-typeahead/public-api.d.ts +0 -4
- package/lib/components/base-form/base-form.component.d.ts +0 -30
- package/lib/components/base-form/base-form.module.d.ts +0 -7
- package/lib/components/base-form/form-submit.directive.d.ts +0 -8
- package/lib/components/base-form/index.d.ts +0 -1
- package/lib/components/base-form/nice-base.form.d.ts +0 -4
- package/lib/components/base-form/public-api.d.ts +0 -4
- package/lib/components/card/card.component.d.ts +0 -21
- package/lib/components/card/card.module.d.ts +0 -8
- package/lib/components/card/card.types.d.ts +0 -1
- package/lib/components/card/index.d.ts +0 -1
- package/lib/components/card/public-api.d.ts +0 -2
- package/lib/components/carousel/carousel.component.d.ts +0 -23
- package/lib/components/carousel/carousel.constant.d.ts +0 -2
- package/lib/components/carousel/carousel.module.d.ts +0 -17
- package/lib/components/carousel/index.d.ts +0 -1
- package/lib/components/carousel/interfaces/carousel-options.interface.d.ts +0 -9
- package/lib/components/carousel/picture-modal/index.d.ts +0 -1
- package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +0 -6
- package/lib/components/carousel/picture-modal/picture-modal.service.d.ts +0 -12
- package/lib/components/carousel/picture-modal/public-api.d.ts +0 -2
- package/lib/components/carousel/pipe/carousel-layout.pipe.d.ts +0 -7
- package/lib/components/carousel/public-api.d.ts +0 -3
- package/lib/components/collapsable/collapsable.component.d.ts +0 -15
- package/lib/components/collapsable/collapsable.module.d.ts +0 -9
- package/lib/components/collapsable/index.d.ts +0 -1
- package/lib/components/collapsable/public-api.d.ts +0 -2
- package/lib/components/date-range-picker/components/header/header.component.d.ts +0 -20
- package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +0 -23
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +0 -28
- package/lib/components/date-range-picker/date-range-picker.module.d.ts +0 -18
- package/lib/components/date-range-picker/index.d.ts +0 -1
- package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +0 -8
- package/lib/components/date-range-picker/public-api.d.ts +0 -2
- package/lib/components/drawer/drawer.component.d.ts +0 -115
- package/lib/components/drawer/drawer.module.d.ts +0 -9
- package/lib/components/drawer/drawer.service.d.ts +0 -23
- package/lib/components/drawer/drawer.types.d.ts +0 -2
- package/lib/components/drawer/index.d.ts +0 -1
- package/lib/components/drawer/public-api.d.ts +0 -4
- package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +0 -17
- package/lib/components/export-bottom-sheet/export-bottom-sheet.module.d.ts +0 -18
- package/lib/components/export-bottom-sheet/index.d.ts +0 -1
- package/lib/components/export-bottom-sheet/models/export-strategy.model.d.ts +0 -5
- package/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.d.ts +0 -12
- package/lib/components/export-bottom-sheet/public-api.d.ts +0 -4
- package/lib/components/form-error/control-status.directive.d.ts +0 -20
- package/lib/components/form-error/form-error.component.d.ts +0 -8
- package/lib/components/form-error/form-error.module.d.ts +0 -10
- package/lib/components/form-error/index.d.ts +0 -1
- package/lib/components/form-error/public-api.d.ts +0 -3
- package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +0 -8
- package/lib/components/horizontal-stepper/horizontal-stepper.module.d.ts +0 -11
- package/lib/components/horizontal-stepper/index.d.ts +0 -1
- package/lib/components/horizontal-stepper/public-api.d.ts +0 -3
- package/lib/components/horizontal-stepper/step.component.d.ts +0 -6
- package/lib/components/image-cropper/image-cropper.component.d.ts +0 -374
- package/lib/components/image-cropper/image-cropper.module.d.ts +0 -10
- package/lib/components/image-cropper/index.d.ts +0 -1
- package/lib/components/image-cropper/public-api.d.ts +0 -2
- package/lib/components/image-cropper/resize-canvas.d.ts +0 -1
- package/lib/components/index.d.ts +0 -1
- package/lib/components/layout/index.d.ts +0 -1
- package/lib/components/layout/layout.component.d.ts +0 -39
- package/lib/components/layout/layout.module.d.ts +0 -7
- package/lib/components/layout/public-api.d.ts +0 -2
- package/lib/components/loading-spinner/index.d.ts +0 -1
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -9
- package/lib/components/loading-spinner/loading-spinner.module.d.ts +0 -13
- package/lib/components/loading-spinner/loading.constant.d.ts +0 -2
- package/lib/components/loading-spinner/loading.directive.d.ts +0 -17
- package/lib/components/loading-spinner/public-api.d.ts +0 -3
- package/lib/components/loading-toast/index.d.ts +0 -1
- package/lib/components/loading-toast/loading-toast.component.d.ts +0 -19
- package/lib/components/loading-toast/loading-toast.constant.d.ts +0 -2
- package/lib/components/loading-toast/loading-toast.directive.d.ts +0 -18
- package/lib/components/loading-toast/loading-toast.module.d.ts +0 -16
- package/lib/components/loading-toast/loading-toast.service.d.ts +0 -20
- package/lib/components/loading-toast/public-api.d.ts +0 -5
- package/lib/components/loading-toast/rxjs/show-loading-toast.operator.d.ts +0 -6
- package/lib/components/lottie/index.d.ts +0 -1
- package/lib/components/lottie/lottie.component.d.ts +0 -19
- package/lib/components/lottie/lottie.module.d.ts +0 -8
- package/lib/components/lottie/public-api.d.ts +0 -2
- package/lib/components/navigation/components/hint-component-base.d.ts +0 -65
- package/lib/components/navigation/directives/show-hint.directive.d.ts +0 -39
- package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +0 -29
- package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +0 -38
- package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +0 -26
- package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +0 -26
- package/lib/components/navigation/horizontal/horizontal.component.d.ts +0 -22
- package/lib/components/navigation/index.d.ts +0 -1
- package/lib/components/navigation/navigation.component.d.ts +0 -32
- package/lib/components/navigation/navigation.module.d.ts +0 -32
- package/lib/components/navigation/navigation.service.d.ts +0 -69
- package/lib/components/navigation/navigation.types.d.ts +0 -42
- package/lib/components/navigation/pipes/should-hide.pipe.d.ts +0 -11
- package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +0 -12
- package/lib/components/navigation/pipes/translate-with-context.pipe.d.ts +0 -12
- package/lib/components/navigation/providers/hide-item.resolver.d.ts +0 -5
- package/lib/components/navigation/providers/hint.resolver.d.ts +0 -4
- package/lib/components/navigation/providers/hint.service.d.ts +0 -9
- package/lib/components/navigation/providers/translation-context.service.d.ts +0 -8
- package/lib/components/navigation/public-api.d.ts +0 -19
- package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +0 -55
- package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +0 -35
- package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +0 -68
- package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +0 -26
- package/lib/components/navigation/vertical/components/group/group.component.d.ts +0 -36
- package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +0 -26
- package/lib/components/navigation/vertical/vertical.component.d.ts +0 -168
- package/lib/components/public-api.d.ts +0 -24
- package/lib/components/search-bar/index.d.ts +0 -1
- package/lib/components/search-bar/public-api.d.ts +0 -2
- package/lib/components/search-bar/search-bar.component.d.ts +0 -20
- package/lib/components/search-bar/search-bar.module.d.ts +0 -12
- package/lib/components/sweet-alert/index.d.ts +0 -1
- package/lib/components/sweet-alert/public-api.d.ts +0 -4
- package/lib/components/sweet-alert/sweet-alert.component.d.ts +0 -27
- package/lib/components/sweet-alert/sweet-alert.constant.d.ts +0 -2
- package/lib/components/sweet-alert/sweet-alert.directive.d.ts +0 -13
- package/lib/components/sweet-alert/sweet-alert.module.d.ts +0 -16
- package/lib/components/sweet-alert/sweet-alert.service.d.ts +0 -32
- package/lib/components/toast/index.d.ts +0 -1
- package/lib/components/toast/public-api.d.ts +0 -5
- package/lib/components/toast/rxjs/show-success-or-error-toast.operator.d.ts +0 -37
- package/lib/components/toast/rxjs/show-toast.operator.d.ts +0 -20
- package/lib/components/toast/toast.component.d.ts +0 -17
- package/lib/components/toast/toast.constant.d.ts +0 -2
- package/lib/components/toast/toast.module.d.ts +0 -15
- package/lib/components/toast/toast.service.d.ts +0 -25
- package/lib/components/toggle-button-group/index.d.ts +0 -1
- package/lib/components/toggle-button-group/public-api.d.ts +0 -3
- package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +0 -26
- package/lib/components/toggle-button-group/toggle-button-group.module.d.ts +0 -10
- package/lib/components/toggle-button-group/toggle-button.component.d.ts +0 -8
- package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts +0 -9
- package/lib/components/translation-form/components/textfield/translation-form-textfield.component.d.ts +0 -6
- package/lib/components/translation-form/components/translation-form.component.d.ts +0 -56
- package/lib/components/translation-form/components/translation-form.module.d.ts +0 -16
- package/lib/components/translation-form/decorators/translation-form-group.decorator.d.ts +0 -1
- package/lib/components/translation-form/directives/translation-context.directive.d.ts +0 -17
- package/lib/components/translation-form/index.d.ts +0 -1
- package/lib/components/translation-form/providers/nice-translation-form.service.d.ts +0 -16
- package/lib/components/translation-form/public-api.d.ts +0 -10
- package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +0 -14
- package/lib/components/translation-form/translation.form.d.ts +0 -5
- package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +0 -14
- package/lib/components/typeahead/directives/options-scroll.directive.d.ts +0 -19
- package/lib/components/typeahead/directives/options-scroll.module.d.ts +0 -7
- package/lib/components/typeahead/index.d.ts +0 -1
- package/lib/components/typeahead/public-api.d.ts +0 -3
- package/lib/components/typeahead/typeahead.component.d.ts +0 -101
- package/lib/components/typeahead/typeahead.module.d.ts +0 -17
- package/lib/directives/autofocus/autofocus.directive.d.ts +0 -9
- package/lib/directives/autofocus/autofocus.module.d.ts +0 -7
- package/lib/directives/autofocus/index.d.ts +0 -1
- package/lib/directives/autofocus/public-api.d.ts +0 -2
- package/lib/directives/autogrow/autogrow.directive.d.ts +0 -37
- package/lib/directives/autogrow/autogrow.module.d.ts +0 -7
- package/lib/directives/autogrow/index.d.ts +0 -1
- package/lib/directives/autogrow/public-api.d.ts +0 -2
- package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +0 -14
- package/lib/directives/chip-async-typeahead/index.d.ts +0 -1
- package/lib/directives/chip-async-typeahead/public-api.d.ts +0 -1
- package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +0 -8
- package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +0 -26
- package/lib/directives/chip-list/chip-list.constant.d.ts +0 -2
- package/lib/directives/chip-list/chip-list.directive.d.ts +0 -32
- package/lib/directives/chip-list/chip-list.module.d.ts +0 -14
- package/lib/directives/chip-list/index.d.ts +0 -1
- package/lib/directives/chip-list/public-api.d.ts +0 -4
- package/lib/directives/draggable-list/draggable-list.directive.d.ts +0 -24
- package/lib/directives/draggable-list/draggable-list.module.d.ts +0 -8
- package/lib/directives/draggable-list/index.d.ts +0 -1
- package/lib/directives/draggable-list/public-api.d.ts +0 -2
- package/lib/directives/dropzone/dropzone.directive.d.ts +0 -11
- package/lib/directives/dropzone/dropzone.module.d.ts +0 -7
- package/lib/directives/dropzone/index.d.ts +0 -1
- package/lib/directives/dropzone/public-api.d.ts +0 -2
- package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +0 -11
- package/lib/directives/image-error-placeholder/image-error-placeholder.module.d.ts +0 -7
- package/lib/directives/image-error-placeholder/index.d.ts +0 -1
- package/lib/directives/image-error-placeholder/public-api.d.ts +0 -2
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/material/index.d.ts +0 -1
- package/lib/directives/material/material.module.d.ts +0 -8
- package/lib/directives/material/nice-material-style.directive.d.ts +0 -9
- package/lib/directives/material/nice-rounded-style.directive.d.ts +0 -9
- package/lib/directives/material/public-api.d.ts +0 -3
- package/lib/directives/modals/index.d.ts +0 -1
- package/lib/directives/modals/modal-on-click.directive.d.ts +0 -10
- package/lib/directives/modals/modal-opener.directive.d.ts +0 -14
- package/lib/directives/modals/public-api.d.ts +0 -2
- package/lib/directives/public-api.d.ts +0 -15
- package/lib/directives/rerender/index.d.ts +0 -1
- package/lib/directives/rerender/public-api.d.ts +0 -1
- package/lib/directives/rerender/rerender.directive.d.ts +0 -10
- package/lib/directives/resolve/index.d.ts +0 -1
- package/lib/directives/resolve/public-api.d.ts +0 -1
- package/lib/directives/resolve/resolve.directive.d.ts +0 -18
- package/lib/directives/scroll-reset/index.d.ts +0 -1
- package/lib/directives/scroll-reset/public-api.d.ts +0 -2
- package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +0 -22
- package/lib/directives/scroll-reset/scroll-reset.module.d.ts +0 -7
- package/lib/directives/scrollbar/index.d.ts +0 -1
- package/lib/directives/scrollbar/public-api.d.ts +0 -2
- package/lib/directives/scrollbar/scrollbar.directive.d.ts +0 -112
- package/lib/directives/scrollbar/scrollbar.module.d.ts +0 -7
- package/lib/directives/scrollbar/scrollbar.types.d.ts +0 -12
- package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +0 -6
- package/lib/directives/stop-propagation/index.d.ts +0 -1
- package/lib/directives/stop-propagation/public-api.d.ts +0 -2
- package/lib/directives/stop-propagation/stop-propagation.module.d.ts +0 -7
- package/lib/directives/window/index.d.ts +0 -1
- package/lib/directives/window/prevent-close-window.directive.d.ts +0 -6
- package/lib/directives/window/public-api.d.ts +0 -2
- package/lib/directives/window/window-directive.module.d.ts +0 -7
- package/lib/nice.module.d.ts +0 -13
- package/lib/pipes/boolean.pipe.d.ts +0 -10
- package/lib/pipes/capitalize-first-letter.pipe.d.ts +0 -7
- package/lib/pipes/ceil.pipe.d.ts +0 -7
- package/lib/pipes/entries.pipe.d.ts +0 -10
- package/lib/pipes/find-by-key.pipe.d.ts +0 -7
- package/lib/pipes/first-letter.pipe.d.ts +0 -7
- package/lib/pipes/floor.pipe.d.ts +0 -7
- package/lib/pipes/index.d.ts +0 -1
- package/lib/pipes/join-if-defined.pipe.d.ts +0 -7
- package/lib/pipes/link.pipe.d.ts +0 -15
- package/lib/pipes/localized-boolean.pipe.d.ts +0 -10
- package/lib/pipes/localized-currency.pipe.d.ts +0 -10
- package/lib/pipes/localized-date-only.pipe.d.ts +0 -10
- package/lib/pipes/localized-date.pipe.d.ts +0 -11
- package/lib/pipes/minutes-to-time.pipe.d.ts +0 -7
- package/lib/pipes/number-to-ordinal-indicator.pipe.d.ts +0 -7
- package/lib/pipes/pad.pipe.d.ts +0 -7
- package/lib/pipes/phone.pipe.d.ts +0 -10
- package/lib/pipes/pipes.module.d.ts +0 -29
- package/lib/pipes/postal-code.pipe.d.ts +0 -10
- package/lib/pipes/public-api.d.ts +0 -24
- package/lib/pipes/range.pipe.d.ts +0 -7
- package/lib/pipes/round.pipe.d.ts +0 -7
- package/lib/pipes/sanitize-bypass.pipe.d.ts +0 -10
- package/lib/pipes/seconds-to-time.pipe.d.ts +0 -7
- package/lib/pipes/track-by-prop.pipe.d.ts +0 -7
- package/lib/providers/config/config.constants.d.ts +0 -2
- package/lib/providers/config/config.model.d.ts +0 -14
- package/lib/providers/config/config.module.d.ts +0 -18
- package/lib/providers/config/config.service.d.ts +0 -21
- package/lib/providers/config/index.d.ts +0 -1
- package/lib/providers/config/public-api.d.ts +0 -2
- package/lib/providers/index.d.ts +0 -1
- package/lib/providers/media-watcher/index.d.ts +0 -1
- package/lib/providers/media-watcher/media-watcher.module.d.ts +0 -12
- package/lib/providers/media-watcher/media-watcher.service.d.ts +0 -27
- package/lib/providers/media-watcher/public-api.d.ts +0 -2
- package/lib/providers/overlay/dynamic-overlay-container.service.d.ts +0 -7
- package/lib/providers/overlay/dynamic-overlay.service.d.ts +0 -14
- package/lib/providers/public-api.d.ts +0 -4
- package/lib/providers/splash-screen/index.d.ts +0 -1
- package/lib/providers/splash-screen/public-api.d.ts +0 -2
- package/lib/providers/splash-screen/splash-screen.module.d.ts +0 -12
- package/lib/providers/splash-screen/splash-screen.service.d.ts +0 -20
- package/lib/providers/utils/index.d.ts +0 -1
- package/lib/providers/utils/public-api.d.ts +0 -2
- package/lib/providers/utils/utils.module.d.ts +0 -9
- package/lib/providers/utils/utils.service.d.ts +0 -9
- package/lib/types/constructor.d.ts +0 -5
- package/lib/utils/array.utils.d.ts +0 -24
- package/lib/utils/case.utils.d.ts +0 -9
- package/lib/utils/colors.utils.d.ts +0 -9
- package/lib/utils/date.utils.d.ts +0 -11
- package/lib/utils/file.utils.d.ts +0 -13
- package/lib/utils/font-awesome.utils.d.ts +0 -3
- package/lib/utils/form-data.utils.d.ts +0 -4
- package/lib/utils/http-status.utils.d.ts +0 -45
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/keyboard.utils.d.ts +0 -7
- package/lib/utils/lexorank.utils.d.ts +0 -6
- package/lib/utils/modal.utils.d.ts +0 -7
- package/lib/utils/number.utils.d.ts +0 -7
- package/lib/utils/object.utils.d.ts +0 -10
- package/lib/utils/promise.utils.d.ts +0 -7
- package/lib/utils/public-api.d.ts +0 -18
- package/lib/utils/query-params.utils.d.ts +0 -3
- package/lib/utils/regex.utils.d.ts +0 -7
- package/lib/utils/type.utils.d.ts +0 -6
- package/lib/utils/url.utils.d.ts +0 -6
- package/public-api.d.ts +0 -8
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from "@angular/core";
|
|
2
|
-
import { NavigationEnd, Router } from "@angular/router";
|
|
3
|
-
import { Subject } from "rxjs";
|
|
4
|
-
import { filter, takeUntil } from "rxjs/operators";
|
|
5
|
-
import { NiceNavigationService } from "../../../navigation.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "@angular/router";
|
|
8
|
-
import * as i2 from "../../../navigation.service";
|
|
9
|
-
import * as i3 from "@angular/common";
|
|
10
|
-
import * as i4 from "@angular/material/icon";
|
|
11
|
-
import * as i5 from "../basic/basic.component";
|
|
12
|
-
import * as i6 from "../collapsable/collapsable.component";
|
|
13
|
-
import * as i7 from "../divider/divider.component";
|
|
14
|
-
import * as i8 from "../group/group.component";
|
|
15
|
-
import * as i9 from "../spacer/spacer.component";
|
|
16
|
-
import * as i10 from "../../../pipes/translate-with-context.pipe";
|
|
17
|
-
export class NiceVerticalNavigationAsideItemComponent {
|
|
18
|
-
/**
|
|
19
|
-
* Constructor
|
|
20
|
-
*/
|
|
21
|
-
constructor(_changeDetectorRef, _router, _niceNavigationService) {
|
|
22
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
23
|
-
this._router = _router;
|
|
24
|
-
this._niceNavigationService = _niceNavigationService;
|
|
25
|
-
this._unsubscribeAll = new Subject();
|
|
26
|
-
this.showTooltips = false;
|
|
27
|
-
this.tooltipPosition = "after";
|
|
28
|
-
this.active = false;
|
|
29
|
-
}
|
|
30
|
-
// -----------------------------------------------------------------------------------------------------
|
|
31
|
-
// @ Lifecycle hooks
|
|
32
|
-
// -----------------------------------------------------------------------------------------------------
|
|
33
|
-
/**
|
|
34
|
-
* On changes
|
|
35
|
-
*/
|
|
36
|
-
ngOnChanges(changes) {
|
|
37
|
-
// Active item id
|
|
38
|
-
if ("activeItemId" in changes) {
|
|
39
|
-
// Mark if active
|
|
40
|
-
this._markIfActive(this._router.url);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* On init
|
|
45
|
-
*/
|
|
46
|
-
ngOnInit() {
|
|
47
|
-
// Mark if active
|
|
48
|
-
this._markIfActive(this._router.url);
|
|
49
|
-
// Attach a listener to the NavigationEnd event
|
|
50
|
-
this._router.events
|
|
51
|
-
.pipe(filter((event) => event instanceof NavigationEnd), takeUntil(this._unsubscribeAll))
|
|
52
|
-
.subscribe((event) => {
|
|
53
|
-
// Mark if active
|
|
54
|
-
this._markIfActive(event.urlAfterRedirects);
|
|
55
|
-
});
|
|
56
|
-
// Get the parent navigation component
|
|
57
|
-
this._niceVerticalNavigationComponent = this._niceNavigationService.getComponent(this.name);
|
|
58
|
-
// Subscribe to onRefreshed on the navigation component
|
|
59
|
-
this._niceVerticalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
|
|
60
|
-
// Mark for check
|
|
61
|
-
this._changeDetectorRef.markForCheck();
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* On destroy
|
|
66
|
-
*/
|
|
67
|
-
ngOnDestroy() {
|
|
68
|
-
// Unsubscribe from all subscriptions
|
|
69
|
-
this._unsubscribeAll.next(null);
|
|
70
|
-
this._unsubscribeAll.complete();
|
|
71
|
-
}
|
|
72
|
-
// -----------------------------------------------------------------------------------------------------
|
|
73
|
-
// @ Private methods
|
|
74
|
-
// -----------------------------------------------------------------------------------------------------
|
|
75
|
-
/**
|
|
76
|
-
* Check if the given item has the given url
|
|
77
|
-
* in one of its children
|
|
78
|
-
*/
|
|
79
|
-
_hasActiveChild(item, currentUrl) {
|
|
80
|
-
const children = item.children;
|
|
81
|
-
if (!children) {
|
|
82
|
-
return false;
|
|
83
|
-
}
|
|
84
|
-
for (const child of children) {
|
|
85
|
-
if (child.children) {
|
|
86
|
-
if (this._hasActiveChild(child, currentUrl)) {
|
|
87
|
-
return true;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
// Skip items other than 'basic'
|
|
91
|
-
if (child.type !== "basic") {
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
// Check if the child has a link and is active
|
|
95
|
-
if (child.link && this._router.isActive(child.link, child.exactMatch || false)) {
|
|
96
|
-
return true;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return false;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Decide and mark if the item is active
|
|
103
|
-
*/
|
|
104
|
-
_markIfActive(currentUrl) {
|
|
105
|
-
// Check if the activeItemId is equals to this item id
|
|
106
|
-
this.active = this.activeItemId === this.item.id;
|
|
107
|
-
// If the aside has a children that is active,
|
|
108
|
-
// always mark it as active
|
|
109
|
-
if (this._hasActiveChild(this.item, currentUrl)) {
|
|
110
|
-
this.active = true;
|
|
111
|
-
}
|
|
112
|
-
// Mark for check
|
|
113
|
-
this._changeDetectorRef.markForCheck();
|
|
114
|
-
}
|
|
115
|
-
// -----------------------------------------------------------------------------------------------------
|
|
116
|
-
// @ Public methods
|
|
117
|
-
// -----------------------------------------------------------------------------------------------------
|
|
118
|
-
/**
|
|
119
|
-
* Track by function for ngFor loops
|
|
120
|
-
*/
|
|
121
|
-
trackByFn(index, item) {
|
|
122
|
-
return item.id || index;
|
|
123
|
-
}
|
|
124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceVerticalNavigationAsideItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.Router }, { token: i2.NiceNavigationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
125
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceVerticalNavigationAsideItemComponent, selector: "nice-vertical-navigation-aside-item", inputs: { activeItemId: "activeItemId", autoCollapse: "autoCollapse", item: "item", name: "name", showTooltips: "showTooltips", skipChildren: "skipChildren", tooltipPosition: "tooltipPosition" }, usesOnChanges: true, ngImport: i0, template: "<div\n class=\"nice-vertical-navigation-item-wrapper\"\n [class.nice-vertical-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n>\n <div\n class=\"nice-vertical-navigation-item\"\n [ngClass]=\"{\n 'nice-vertical-navigation-item-active': active,\n 'nice-vertical-navigation-item-disabled': item.disabled,\n 'nice-vertical-navigation-item-active-forced': item.active\n }\"\n >\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-vertical-navigation-item-title-wrapper\">\n <div class=\"nice-vertical-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-vertical-navigation-item-subtitle\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-vertical-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-vertical-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"!skipChildren\">\n <div class=\"nice-vertical-navigation-item-children\">\n <ng-container *ngFor=\"let item of item.children; trackBy: trackByFn\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"(item.hidden && !item.hidden(item)) || !item.hidden\">\n <!-- Basic -->\n <nice-vertical-navigation-basic-item\n *ngIf=\"item.type === 'basic'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-basic-item>\n\n <!-- Collapsable -->\n <nice-vertical-navigation-collapsable-item\n *ngIf=\"item.type === 'collapsable'\"\n [item]=\"item\"\n [name]=\"name\"\n [autoCollapse]=\"autoCollapse\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-collapsable-item>\n\n <!-- Divider -->\n <nice-vertical-navigation-divider-item\n *ngIf=\"item.type === 'divider'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-vertical-navigation-divider-item>\n\n <!-- Group -->\n <nice-vertical-navigation-group-item\n *ngIf=\"item.type === 'group'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-group-item>\n\n <!-- Spacer -->\n <nice-vertical-navigation-spacer-item\n *ngIf=\"item.type === 'spacer'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-vertical-navigation-spacer-item>\n </ng-container>\n </ng-container>\n </div>\n</ng-container>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.NiceVerticalNavigationBasicItemComponent, selector: "nice-vertical-navigation-basic-item", inputs: ["item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i6.NiceVerticalNavigationCollapsableItemComponent, selector: "nice-vertical-navigation-collapsable-item", inputs: ["autoCollapse", "item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i7.NiceVerticalNavigationDividerItemComponent, selector: "nice-vertical-navigation-divider-item", inputs: ["item", "name"] }, { kind: "component", type: i8.NiceVerticalNavigationGroupItemComponent, selector: "nice-vertical-navigation-group-item", inputs: ["autoCollapse", "item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i9.NiceVerticalNavigationSpacerItemComponent, selector: "nice-vertical-navigation-spacer-item", inputs: ["item", "name"] }, { kind: "pipe", type: i10.NiceTranslateWithContextPipe, name: "niceTranslateWithContext" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
126
|
-
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceVerticalNavigationAsideItemComponent, decorators: [{
|
|
128
|
-
type: Component,
|
|
129
|
-
args: [{ selector: "nice-vertical-navigation-aside-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"nice-vertical-navigation-item-wrapper\"\n [class.nice-vertical-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n>\n <div\n class=\"nice-vertical-navigation-item\"\n [ngClass]=\"{\n 'nice-vertical-navigation-item-active': active,\n 'nice-vertical-navigation-item-disabled': item.disabled,\n 'nice-vertical-navigation-item-active-forced': item.active\n }\"\n >\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-vertical-navigation-item-title-wrapper\">\n <div class=\"nice-vertical-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-vertical-navigation-item-subtitle\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-vertical-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-vertical-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </div>\n</div>\n\n<ng-container *ngIf=\"!skipChildren\">\n <div class=\"nice-vertical-navigation-item-children\">\n <ng-container *ngFor=\"let item of item.children; trackBy: trackByFn\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"(item.hidden && !item.hidden(item)) || !item.hidden\">\n <!-- Basic -->\n <nice-vertical-navigation-basic-item\n *ngIf=\"item.type === 'basic'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-basic-item>\n\n <!-- Collapsable -->\n <nice-vertical-navigation-collapsable-item\n *ngIf=\"item.type === 'collapsable'\"\n [item]=\"item\"\n [name]=\"name\"\n [autoCollapse]=\"autoCollapse\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-collapsable-item>\n\n <!-- Divider -->\n <nice-vertical-navigation-divider-item\n *ngIf=\"item.type === 'divider'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-vertical-navigation-divider-item>\n\n <!-- Group -->\n <nice-vertical-navigation-group-item\n *ngIf=\"item.type === 'group'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-vertical-navigation-group-item>\n\n <!-- Spacer -->\n <nice-vertical-navigation-spacer-item\n *ngIf=\"item.type === 'spacer'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-vertical-navigation-spacer-item>\n </ng-container>\n </ng-container>\n </div>\n</ng-container>\n" }]
|
|
130
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.Router }, { type: i2.NiceNavigationService }], propDecorators: { activeItemId: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], autoCollapse: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], item: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], name: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], showTooltips: [{
|
|
139
|
-
type: Input
|
|
140
|
-
}], skipChildren: [{
|
|
141
|
-
type: Input
|
|
142
|
-
}], tooltipPosition: [{
|
|
143
|
-
type: Input
|
|
144
|
-
}] } });
|
|
145
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXNpZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vL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IF9oYXNBY3RpdmVDaGlsZChpdGVtOiBOaWNlTmF2aWdhdGlvbkl0ZW0sIGN1cnJlbnRVcmw6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgICAgICBjb25zdCBjaGlsZHJlbiA9IGl0ZW0uY2hpbGRyZW47XG5cbiAgICAgICAgaWYgKCFjaGlsZHJlbikge1xuICAgICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG5cbiAgICAgICAgZm9yIChjb25zdCBjaGlsZCBvZiBjaGlsZHJlbikge1xuICAgICAgICAgICAgaWYgKGNoaWxkLmNoaWxkcmVuKSB7XG4gICAgICAgICAgICAgICAgaWYgKHRoaXMuX2hhc0FjdGl2ZUNoaWxkKGNoaWxkLCBjdXJyZW50VXJsKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIFNraXAgaXRlbXMgb3RoZXIgdGhhbiAnYmFzaWMnXG4gICAgICAgICAgICBpZiAoY2hpbGQudHlwZSAhPT0gXCJiYXNpY1wiKSB7XG4gICAgICAgICAgICAgICAgY29udGludWU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIC8vIENoZWNrIGlmIHRoZSBjaGlsZCBoYXMgYSBsaW5rIGFuZCBpcyBhY3RpdmVcbiAgICAgICAgICAgIGlmIChjaGlsZC5saW5rICYmIHRoaXMuX3JvdXRlci5pc0FjdGl2ZShjaGlsZC5saW5rLCBjaGlsZC5leGFjdE1hdGNoIHx8IGZhbHNlKSkge1xuICAgICAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cblxuICAgIC8qKlxuICAgICAqIERlY2lkZSBhbmQgbWFyayBpZiB0aGUgaXRlbSBpcyBhY3RpdmVcbiAgICAgKi9cbiAgICBwcml2YXRlI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ICA8c3BhbiBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLWljb25cIiBbbmdDbGFzc109XCJpdGVtLmljb25cIiAqbmdJZj1cIml0ZW0uaWNvbiAmJiBpdGVtLmljb25UeXBlID09ICdmb250YXdlc29tZSdcIj48L3NwYW4+XG5cbiAgICAgICAgPG1hdC1pY29uXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS1pY29uXCJcbiAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/Lmljb25cIlxuICAgICAgICAgICAgICAgIFtzdmdJY29uXT1cIml0ZW0uaWNvblwiXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpdGVtLmljb24gJiYgaXRlbS5pY29uVHlwZSA9PT0gJ3N2ZydcIlxuICAgICAgICA+PC9tYXQtaWNvbj5cblxuICAgICAgICA8IS0tIFRpdGxlICYgU3VidGl0bGUgLS0+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS10aXRsZS13cmFwcGVyXCI+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLWl0ZW0tdGl0bGVcIj5cbiAgICAgICAgICAgICAgICA8c3BhbiBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/LnRpdGxlXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0udGl0bGUgfCBuaWNlVHJhbnNsYXRlV2l0aENvbnRleHQgfX1cbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLXN1YnRpdGxlXCJcbiAgICAgICAgICAgICAgICAqbmdJZj1cI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gICA8IS0tIFNraXAgdGhlIGhpZGRlbiBpdGVtcyAtLT5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCIoaXRlbS5oaWRkZW4gJiYgIWl0ZW0uaGlkZGVuKGl0ZW0pKSB8fCAhaXRlbS5oaWRkZW5cIj5cbiAgICAgICAgICAgICAgICA8IS0tIEJhc2ljIC0tPlxuICAgICAgICAgICAgICAgIDxuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24tYmFzaWMtaXRlbVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0udHlwZSA9PT0gJ2Jhc2ljJ1wiXG4gICAgICAgICAgICAgICAgICAgIFtpdGVtXT1cIml0ZW1cIlxuICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgICAgICAgICAgW3Nob3dUb29sdGlwc109XCJzaG93VG9vbHRpcHNcIlxuICAgICAgICAgICAgICAgICAgICBbdG9vbHRpcFBvc2l0aW9uXT1cInRvb2x0aXBQb3NpdGlvblwiXG4gICAgICAgICAgICAgICAgPjwvbmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLWJhc2ljLWl0ZW0+XG5cbiAgICAgICAgICAgICAgICA8IS0tIENvbGxhcHNhYmxlIC0tPlxuICAgICAgICAgICAgICAgIDxuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24tY29sbGFwc2FibGUtaXRlbVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0udHlwZSA9PT0gJ2NvbGxhcHNhYmxlJ1wiXG4gICAgICAgICAgICAgICAgICAgIFtpdGVtXT1cIml0ZW1cIlxuICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgICAgICAgICAgW2F1dG9Db2xsYXBzZV09XCJhdXRvQ29sbGFwc2VcIlxuICAgICAgICAgICAgICAgICAgICBbc2hvd1Rvb2x0aXBzXT1cInNob3dUb29sdGlwc1wiXG4gICAgICAgICAgICAgICAgICAgIFt0b29sdGlwUG9zaXRpb25dPVwidG9vbHRpcFBvc2l0aW9uXCJcbiAgICAgICAgICAgICAgICA+PC9uaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24tY29sbGFwc2FibGUtaXRlbT5cblxuICAgICAgICAgICAgICAgIDwhLS0gRGl2aWRlciAtLT5cbiAgICAgICAgICAgICAgICA8bmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLWRpdmlkZXItaXRlbVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0udHlwZSA9PT0gJ2RpdmlkZXInXCJcbiAgICAgICAgICAgICAgICAgICAgW2l0ZW1dPVwiaXRlbVwiXG4gICAgICAgICAgICAgICAgICAgIFtuYW1lXT1cIm5hbWVcIlxuICAgICAgICAgICAgICAgID48L25pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1kaXZpZGVyLWl0ZW0+XG5cbiAgICAgICAgICAgICAgICA8IS0tIEdyb3VwIC0tPlxuICAgICAgICAgICAgICAgIDxuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24tZ3JvdXAtaXRlbVxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0udHlwZSA9PT0gJ2dyb3VwJ1wiXG4gICAgICAgICAgICAgICAgICAgIFtpdGVtXT1cIml0ZW1cIlxuICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgICAgICAgICAgW3Nob3dUb29sdGlwc109XCJzaG93VG9vbHRpcHNcIlxuICAgICAgICAgICAgICAgICAgICBbdG9vbHRpcFBvc2l0aW9uXT1cInRvb2x0aXBQb3NpdGlvblwiXG4gICAgICAgICAgICAgICAgPjwvbmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLWdyb3VwLWl0ZW0+XG5cbiAgICAgICAgICAgICAgICA8IS0tIFNwYWNlciAtLT5cbiAgICAgICAgICAgICAgICA8bmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLXNwYWNlci1pdGVtXG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiaXRlbS50eXBlID09PSAnc3BhY2VyJ1wiXG4gICAgICAgICAgICAgICAgICAgIFtpdGVtXT1cIml0ZW1cIlxuICAgICAgICAgICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgICAgICA+PC9uaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24tc3BhY2VyLWl0ZW0+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from "@angular/core";
|
|
2
|
-
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
-
import { Subject } from "rxjs";
|
|
4
|
-
import { map, takeUntil } from "rxjs/operators";
|
|
5
|
-
import { NiceUtilsService } from "../../../../../providers/utils";
|
|
6
|
-
import { NiceNavigationService } from "../../../navigation.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../navigation.service";
|
|
9
|
-
import * as i2 from "../../../../../providers/utils";
|
|
10
|
-
import * as i3 from "@angular/router";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
import * as i5 from "@angular/material/icon";
|
|
13
|
-
import * as i6 from "@angular/material/tooltip";
|
|
14
|
-
import * as i7 from "../../../directives/show-hint.directive";
|
|
15
|
-
import * as i8 from "../../../pipes/should-show-hint.pipe";
|
|
16
|
-
import * as i9 from "../../../pipes/translate-with-context.pipe";
|
|
17
|
-
export class NiceVerticalNavigationBasicItemComponent {
|
|
18
|
-
/**
|
|
19
|
-
* Constructor
|
|
20
|
-
*/
|
|
21
|
-
constructor(_changeDetectorRef, _niceNavigationService, _niceUtilsService, _route, _router) {
|
|
22
|
-
this._changeDetectorRef = _changeDetectorRef;
|
|
23
|
-
this._niceNavigationService = _niceNavigationService;
|
|
24
|
-
this._niceUtilsService = _niceUtilsService;
|
|
25
|
-
this._route = _route;
|
|
26
|
-
this._router = _router;
|
|
27
|
-
this._unsubscribeAll = new Subject();
|
|
28
|
-
this.showTooltips = false;
|
|
29
|
-
this.tooltipPosition = "after";
|
|
30
|
-
this.itemActive$ = this._route.url.pipe(map(() => {
|
|
31
|
-
const url = this._router.url.split("?").shift();
|
|
32
|
-
if (this.item.exactMatch === true) {
|
|
33
|
-
return url === this.item.link;
|
|
34
|
-
}
|
|
35
|
-
return url.startsWith(this.item.link) && url.length >= this.item.link.length;
|
|
36
|
-
}));
|
|
37
|
-
}
|
|
38
|
-
// -----------------------------------------------------------------------------------------------------
|
|
39
|
-
// @ Lifecycle hooks
|
|
40
|
-
// -----------------------------------------------------------------------------------------------------
|
|
41
|
-
/**
|
|
42
|
-
* On init
|
|
43
|
-
*/
|
|
44
|
-
ngOnInit() {
|
|
45
|
-
// Get the parent navigation component
|
|
46
|
-
this._niceVerticalNavigationComponent = this._niceNavigationService.getComponent(this.name);
|
|
47
|
-
// Subscribe to onRefreshed on the navigation component
|
|
48
|
-
this._niceVerticalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
|
|
49
|
-
// Mark for check
|
|
50
|
-
this._changeDetectorRef.markForCheck();
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* On destroy
|
|
55
|
-
*/
|
|
56
|
-
ngOnDestroy() {
|
|
57
|
-
// Unsubscribe from all subscriptions
|
|
58
|
-
this._unsubscribeAll.next(null);
|
|
59
|
-
this._unsubscribeAll.complete();
|
|
60
|
-
}
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceVerticalNavigationBasicItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }, { token: i2.NiceUtilsService }, { token: i3.ActivatedRoute }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
62
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceVerticalNavigationBasicItemComponent, selector: "nice-vertical-navigation-basic-item", inputs: { item: "item", name: "name", showTooltips: "showTooltips", tooltipPosition: "tooltipPosition" }, ngImport: i0, template: "<!-- Item wrapper -->\n<div\n class=\"nice-vertical-navigation-item-wrapper\"\n matTooltipClass=\"nice-vertical-navigation-item-tooltips\"\n [class.nice-vertical-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n [matTooltip]=\"item.tooltip | niceTranslateWithContext\"\n [matTooltipDisabled]=\"!showTooltips\"\n [matTooltipPosition]=\"tooltipPosition\"\n>\n\n <!-- Item with an internal link -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-vertical-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{exact: item.exactMatch || false}\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with an external link -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && item.externalLink && !item.function && !item.disabled\"\n [href]=\"item.link\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a function -->\n <div\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"!item.link && item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an internal link and function -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-vertical-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{exact: item.exactMatch || false}\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with an external link and function -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && item.externalLink && item.function && !item.disabled\"\n [href]=\"item.link\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a no link and no function -->\n <div\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"!item.link && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item is disabled -->\n <div\n class=\"nice-vertical-navigation-item nice-vertical-navigation-item-disabled\"\n *ngIf=\"item.disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n</div>\n\n<!-- Item template -->\n<ng-template #itemTemplate>\n <ng-container *ngIf=\"{ showHint: item | niceShouldShowHint | async } as ctx\">\n <!-- Icon -->\n <div class=\"nice-vertical-navigation-item-icon-wrapper\">\n <ng-container *ngIf=\"itemActive$ | async; else notActive\">\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.activeIcon || item.icon }}\n </mat-icon>\n\n <i class=\"nice-vertical-navigation-item-icon fontawesome\" [ngClass]=\"item.activeIcon || item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></i>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.activeIcon || item.icon\"\n *ngIf=\"item.icon && item.iconType == 'svg'\"\n ></mat-icon>\n </ng-container>\n\n <ng-template #notActive>\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <i class=\"nice-vertical-navigation-item-icon fontawesome\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></i>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType == 'svg'\"\n ></mat-icon>\n </ng-template>\n\n <div *ngIf=\"ctx.showHint && item.icon\" class=\"nice-vertical-navigation-hint\"></div>\n </div>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-vertical-navigation-item-title-wrapper\">\n <div class=\"nice-vertical-navigation-item-title\" niceShowHint [shouldShow]=\"ctx.showHint\" [item]=\"item\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n\n <div *ngIf=\"ctx.showHint\" class=\"nice-vertical-navigation-hint\"></div>\n </div>\n <div\n class=\"nice-vertical-navigation-item-subtitle\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-vertical-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-vertical-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </ng-container>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i7.NiceShowHintDirective, selector: "[niceShowHint]", inputs: ["shouldShow", "item"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.NiceShouldShowHintPipe, name: "niceShouldShowHint" }, { kind: "pipe", type: i9.NiceTranslateWithContextPipe, name: "niceTranslateWithContext" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
|
-
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceVerticalNavigationBasicItemComponent, decorators: [{
|
|
65
|
-
type: Component,
|
|
66
|
-
args: [{ selector: "nice-vertical-navigation-basic-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Item wrapper -->\n<div\n class=\"nice-vertical-navigation-item-wrapper\"\n matTooltipClass=\"nice-vertical-navigation-item-tooltips\"\n [class.nice-vertical-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n [matTooltip]=\"item.tooltip | niceTranslateWithContext\"\n [matTooltipDisabled]=\"!showTooltips\"\n [matTooltipPosition]=\"tooltipPosition\"\n>\n\n <!-- Item with an internal link -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-vertical-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{exact: item.exactMatch || false}\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with an external link -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && item.externalLink && !item.function && !item.disabled\"\n [href]=\"item.link\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a function -->\n <div\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"!item.link && item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an internal link and function -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-vertical-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{exact: item.exactMatch || false}\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with an external link and function -->\n <a\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"item.link && item.externalLink && item.function && !item.disabled\"\n [href]=\"item.link\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a no link and no function -->\n <div\n class=\"nice-vertical-navigation-item\"\n *ngIf=\"!item.link && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-vertical-navigation-item-active-forced': item.active}\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item is disabled -->\n <div\n class=\"nice-vertical-navigation-item nice-vertical-navigation-item-disabled\"\n *ngIf=\"item.disabled\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n</div>\n\n<!-- Item template -->\n<ng-template #itemTemplate>\n <ng-container *ngIf=\"{ showHint: item | niceShouldShowHint | async } as ctx\">\n <!-- Icon -->\n <div class=\"nice-vertical-navigation-item-icon-wrapper\">\n <ng-container *ngIf=\"itemActive$ | async; else notActive\">\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.activeIcon || item.icon }}\n </mat-icon>\n\n <i class=\"nice-vertical-navigation-item-icon fontawesome\" [ngClass]=\"item.activeIcon || item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></i>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.activeIcon || item.icon\"\n *ngIf=\"item.icon && item.iconType == 'svg'\"\n ></mat-icon>\n </ng-container>\n\n <ng-template #notActive>\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <i class=\"nice-vertical-navigation-item-icon fontawesome\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></i>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType == 'svg'\"\n ></mat-icon>\n </ng-template>\n\n <div *ngIf=\"ctx.showHint && item.icon\" class=\"nice-vertical-navigation-hint\"></div>\n </div>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-vertical-navigation-item-title-wrapper\">\n <div class=\"nice-vertical-navigation-item-title\" niceShowHint [shouldShow]=\"ctx.showHint\" [item]=\"item\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n\n <div *ngIf=\"ctx.showHint\" class=\"nice-vertical-navigation-hint\"></div>\n </div>\n <div\n class=\"nice-vertical-navigation-item-subtitle\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-vertical-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-vertical-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </ng-container>\n</ng-template>\n" }]
|
|
67
|
-
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }, { type: i2.NiceUtilsService }, { type: i3.ActivatedRoute }, { type: i3.Router }], propDecorators: { item: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], name: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], showTooltips: [{
|
|
72
|
-
type: Input
|
|
73
|
-
}], tooltipPosition: [{
|
|
74
|
-
type: Input
|
|
75
|
-
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmljZS11aS1raXQtdjIvc3JjL2xp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ljb25cIiAqbmdJZj1cIml0ZW0uaWNvbiAmJiBpdGVtLmljb25UeXBlID09ICdmb250YXdlc29tZSdcIj48L2k+XG5cbiAgICAgICAgICAgICAgICA8bWF0LWljb25cbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiaXRlbS5jbGFzc2VzPy5pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgW3N2Z0ljb25dPVwiaXRlbS5hY3RpdmVJY29uIHx8IGl0ZW0uaWNvblwiXG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiaXRlbS5pY29uICYmIGl0ZW0uaWNvblR5cGUgPT0gJ3N2ZydcIlxuICAgICAgICAgICAgICAgID48L21hdC1pY29uPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG5cbiAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjbm90QWN0aXZlPlxuICAgICAgICAgICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLWljb25cIlxuICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/Lmljb25cIlxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0uaWNvbiAmJiBpdGVtLmljb25UeXBlID09PSAnbWF0ZXJpYWwnXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uaWNvbiB9fVxuICAgICAgICAgICAgICAgIDwvbWF0LWljb24+XG5cbiAgICAgICAgICAgICAgICA8aSBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLWljb24gZm9udGF3ZXNvbWVcIiBbbmdDbGFzc109XCJpdGVtLmljb25cIiAqbmdJZj1cIml0ZW0uaWN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AgICAgICAgICA8L3NwYW4+XG5cbiAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiY3R4LnNob3dIaW50XCIgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taGludFwiPjwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS1zdWJ0aXRsZVwiXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpdGVtLnN1YnRpdGxlXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8c3BhbiBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/LnN1YnRpdGxlXCI+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uc3VidGl0bGUgfCBuaWNlVHJhbnNsYXRlV2l0aENvbnRleHQgfX1cbiAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgPCEtLSBCYWRnZSAtLT5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS1iYWRnZVwiXG4gICAgICAgICAgICAqbmdJZj1cIml0ZW0uYmFkZ2VcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLXZlcnRpY2FsLW5hdmlnYXRpb24taXRlbS1iYWRnZS1jb250ZW50XCJcbiAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJpdGVtLmJhZGdlLmNsYXNzZXNcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIHt7IGl0ZW0uYmFkZ2UudGl0bGUgfCBuaWNlVHJhbnNsYXRlV2l0aENvbnRleHQgfX1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLWNvbnRhaW5lcj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|