@recursyve/nice-ui-kit.v2 17.0.0-beta.140 → 20.0.0-beta.145
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 +1019 -804
- 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 +5 -4
- package/src/lib/components/chip-list/chip-list.theme.scss +2 -2
- package/src/lib/components/date-range-picker/date-range-picker.theme.scss +7 -6
- package/src/lib/components/horizontal-stepper/horizontal-stepper.theme.scss +5 -4
- package/src/lib/components/navigation/vertical/vertical.theme.scss +8 -8
- package/src/lib/components/toggle-button-group/toggle-button-group.theme.scss +11 -10
- package/src/lib/nice.theme.scss +77 -85
- 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 -453
- 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 -43
- package/esm2022/lib/components/carousel/carousel.module.mjs +0 -40
- package/esm2022/lib/components/carousel/index.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 -123
- 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 -40
- 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 -486
- 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 -77
- 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 -21
- package/lib/components/carousel/carousel.module.d.ts +0 -14
- package/lib/components/carousel/index.d.ts +0 -1
- 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 -16
- 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 -10
- 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
package/index.d.ts
CHANGED
|
@@ -1,5 +1,3666 @@
|
|
|
1
|
+
import * as _angular_animations from '@angular/animations';
|
|
2
|
+
import { AnimationBuilder } from '@angular/animations';
|
|
3
|
+
import * as _angular_common_http from '@angular/common/http';
|
|
4
|
+
import { HttpErrorResponse, HttpContextToken, HttpInterceptor, HttpRequest, HttpHandler, HttpResponse, HttpContext, HttpHeaders, HttpParams, HttpClient } from '@angular/common/http';
|
|
5
|
+
import * as rxjs from 'rxjs';
|
|
6
|
+
import { Observable, Subject, Subscription, BehaviorSubject, MonoTypeOperatorFunction, ReplaySubject } from 'rxjs';
|
|
7
|
+
import * as i0 from '@angular/core';
|
|
8
|
+
import { Type, OnChanges, OnInit, OnDestroy, EventEmitter, ChangeDetectorRef, SimpleChanges, ElementRef, QueryList, TemplateRef, ModuleWithProviders, DoCheck, NgZone, InjectionToken, PipeTransform, TrackByFunction, Renderer2, AfterViewInit, ViewContainerRef, ComponentFactoryResolver, Injector, RendererFactory2 } from '@angular/core';
|
|
9
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
10
|
+
import * as i2 from '@angular/common';
|
|
11
|
+
import { CurrencyPipe, Location } from '@angular/common';
|
|
12
|
+
import * as i3 from '@angular/material/button';
|
|
13
|
+
import * as i4 from '@angular/material/icon';
|
|
14
|
+
import * as i3$1 from '@angular/forms';
|
|
15
|
+
import { ControlValueAccessor, NgControl, FormControl, FormGroup, ControlContainer, AbstractControlDirective, ValidationErrors, FormArray, FormArrayName } from '@angular/forms';
|
|
16
|
+
import * as i7 from '@angular/material/core';
|
|
17
|
+
import { ThemePalette, MatOption, _ErrorStateTracker, DateAdapter, MatDateFormats } from '@angular/material/core';
|
|
18
|
+
import * as i6 from '@angular/material/menu';
|
|
19
|
+
import { MatMenu } from '@angular/material/menu';
|
|
20
|
+
import * as i10 from '@ngx-translate/core';
|
|
21
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
22
|
+
import * as i10$1 from '@angular/material/progress-spinner';
|
|
23
|
+
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
24
|
+
import * as i6$2 from '@angular/material/autocomplete';
|
|
25
|
+
import { MatAutocompleteActivatedEvent, MatAutocompleteSelectedEvent, MatAutocomplete } from '@angular/material/autocomplete';
|
|
26
|
+
import * as i6$3 from '@angular/material/form-field';
|
|
27
|
+
import { MatFormFieldControl, MatFormField } from '@angular/material/form-field';
|
|
28
|
+
import * as i6$1 from '@angular/material/input';
|
|
29
|
+
import * as i9 from '@angular/material/progress-bar';
|
|
30
|
+
import { GeneratedFormGroup, AsyncValidator } from '@recursyve/ngx-form-generator';
|
|
31
|
+
import { Overlay, OverlayContainer, ScrollStrategyOptions, OverlayPositionBuilder, OverlayKeyboardDispatcher, OverlayOutsideClickDispatcher } from '@angular/cdk/overlay';
|
|
32
|
+
import * as i5 from '@angular/material/card';
|
|
33
|
+
import * as i5$1 from '@angular/material/datepicker';
|
|
34
|
+
import { MatCalendar, MatDateRangePicker } from '@angular/material/datepicker';
|
|
35
|
+
import { NgxMaskService } from 'ngx-mask';
|
|
36
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
37
|
+
import * as i3$2 from '@angular/material/bottom-sheet';
|
|
38
|
+
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
39
|
+
import * as i4$1 from '@angular/material/list';
|
|
40
|
+
import * as i5$2 from '@angular/cdk/stepper';
|
|
41
|
+
import { CdkStepper, CdkStep } from '@angular/cdk/stepper';
|
|
42
|
+
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
43
|
+
import { BreakpointObserver, BreakpointState } from '@angular/cdk/layout';
|
|
44
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
45
|
+
import * as i4$2 from '@angular/material/snack-bar';
|
|
46
|
+
import { MatSnackBar, MatSnackBarRef, MatSnackBarConfig } from '@angular/material/snack-bar';
|
|
47
|
+
import * as i19 from '@angular/router';
|
|
48
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
49
|
+
import * as i24 from '@angular/material/tooltip';
|
|
50
|
+
import { TooltipPosition } from '@angular/material/tooltip';
|
|
51
|
+
import { Platform } from '@angular/cdk/platform';
|
|
52
|
+
import PerfectScrollbar from 'perfect-scrollbar';
|
|
53
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
54
|
+
import * as i21 from '@angular/material/divider';
|
|
55
|
+
import * as i5$3 from '@angular/material/dialog';
|
|
56
|
+
import { MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';
|
|
57
|
+
import { TapObserver } from 'rxjs/internal/operators/tap';
|
|
58
|
+
import * as i5$4 from '@angular/material/button-toggle';
|
|
59
|
+
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
60
|
+
import * as i2$1 from '@angular/cdk/drag-drop';
|
|
61
|
+
import { CdkDropList, CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
62
|
+
import { LexoRank } from 'lexorank';
|
|
63
|
+
|
|
64
|
+
declare const niceAnimations: _angular_animations.AnimationTriggerMetadata[];
|
|
65
|
+
|
|
66
|
+
declare abstract class NiceApiException<Code> {
|
|
67
|
+
abstract code: Code;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare abstract class NiceHttpExceptionFactory<Code = any> {
|
|
71
|
+
transform(error: HttpErrorResponse): NiceApiException<Code> | HttpErrorResponse;
|
|
72
|
+
protected abstract transformCodeError(code: Code, data: any): NiceApiException<Code>;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
declare const TRANSFORM_TYPE: HttpContextToken<Type<any>>;
|
|
76
|
+
declare class NiceTransformResponseInterceptor implements HttpInterceptor {
|
|
77
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): rxjs.Observable<_angular_common_http.HttpProgressEvent | _angular_common_http.HttpSentEvent | _angular_common_http.HttpHeaderResponse | HttpResponse<any> | _angular_common_http.HttpUserEvent<any>>;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTransformResponseInterceptor, never>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceTransformResponseInterceptor>;
|
|
80
|
+
}
|
|
81
|
+
|
|
1
82
|
/**
|
|
2
|
-
*
|
|
83
|
+
* From @angular/material/core/common-behaviors/constructor.ts
|
|
3
84
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
85
|
+
type Constructor<T> = new (...args: any[]) => T;
|
|
86
|
+
type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
|
|
87
|
+
|
|
88
|
+
interface HttpOptions {
|
|
89
|
+
type?: Type<any>;
|
|
90
|
+
context?: HttpContext;
|
|
91
|
+
headers?: HttpHeaders | {
|
|
92
|
+
[header: string]: string | string[];
|
|
93
|
+
};
|
|
94
|
+
responseType?: "text" | "json" | "arraybuffer" | "blob";
|
|
95
|
+
params?: HttpParams | {
|
|
96
|
+
[param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>;
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
interface NiceApiDefinition {
|
|
100
|
+
url(route?: string): string;
|
|
101
|
+
delete<T>(route?: string, options?: HttpOptions): Observable<T>;
|
|
102
|
+
get<T>(route?: string, options?: HttpOptions): Observable<T>;
|
|
103
|
+
patch<T>(route?: string, body?: any, options?: HttpOptions): Observable<T>;
|
|
104
|
+
post<T>(route?: string, body?: any, options?: HttpOptions): Observable<T>;
|
|
105
|
+
put<T>(route?: string, body?: any, options?: HttpOptions): Observable<T>;
|
|
106
|
+
}
|
|
107
|
+
interface HasNiceApiDefinition {
|
|
108
|
+
exceptionFactory: NiceHttpExceptionFactory;
|
|
109
|
+
httpClient: HttpClient;
|
|
110
|
+
apiUrl: string;
|
|
111
|
+
path: string;
|
|
112
|
+
}
|
|
113
|
+
type NiceApiDefinitionCtor = Constructor<NiceApiDefinition> & AbstractConstructor<NiceApiDefinition>;
|
|
114
|
+
declare function mixinNiceApi<C extends AbstractConstructor<HasNiceApiDefinition>>(base: C): NiceApiDefinitionCtor & C;
|
|
115
|
+
|
|
116
|
+
declare class NiceUtilsService {
|
|
117
|
+
/**
|
|
118
|
+
* Generates a random id
|
|
119
|
+
*/
|
|
120
|
+
randomId(length?: number): string;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceUtilsService, never>;
|
|
122
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceUtilsService>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class NiceUtilsModule {
|
|
126
|
+
private _niceUtilsService;
|
|
127
|
+
constructor(_niceUtilsService: NiceUtilsService);
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceUtilsModule, never>;
|
|
129
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceUtilsModule, never, never, never>;
|
|
130
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceUtilsModule>;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
declare class NiceAlertService {
|
|
134
|
+
private readonly _onDismiss;
|
|
135
|
+
private readonly _onShow;
|
|
136
|
+
/**
|
|
137
|
+
* Getter for onDismiss
|
|
138
|
+
*/
|
|
139
|
+
get onDismiss(): Observable<any>;
|
|
140
|
+
/**
|
|
141
|
+
* Getter for onShow
|
|
142
|
+
*/
|
|
143
|
+
get onShow(): Observable<any>;
|
|
144
|
+
/**
|
|
145
|
+
* Dismiss the alert
|
|
146
|
+
*/
|
|
147
|
+
dismiss(name: string): void;
|
|
148
|
+
/**
|
|
149
|
+
* Show the dismissed alert
|
|
150
|
+
*/
|
|
151
|
+
show(name: string): void;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAlertService, never>;
|
|
153
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceAlertService>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
type NiceAlertAppearance = "border" | "fill" | "outline" | "soft";
|
|
157
|
+
type NiceAlertType = "primary" | "accent" | "warn" | "basic" | "info" | "success" | "warning" | "error";
|
|
158
|
+
type NiceAlertColor = "primary" | "accent" | "warn";
|
|
159
|
+
|
|
160
|
+
declare class NiceAlertComponent implements OnChanges, OnInit, OnDestroy {
|
|
161
|
+
private _changeDetectorRef;
|
|
162
|
+
private _niceAlertService;
|
|
163
|
+
private _niceUtilsService;
|
|
164
|
+
static ngAcceptInputType_dismissible: BooleanInput;
|
|
165
|
+
static ngAcceptInputType_dismissed: BooleanInput;
|
|
166
|
+
static ngAcceptInputType_disableAnimation: BooleanInput;
|
|
167
|
+
static ngAcceptInputType_showIcon: BooleanInput;
|
|
168
|
+
appearance: NiceAlertAppearance;
|
|
169
|
+
dismissed: boolean;
|
|
170
|
+
dismissible: boolean;
|
|
171
|
+
disableAnimation: boolean;
|
|
172
|
+
name: string;
|
|
173
|
+
showIcon: boolean;
|
|
174
|
+
type: NiceAlertType;
|
|
175
|
+
color?: NiceAlertColor;
|
|
176
|
+
readonly dismissedChanged: EventEmitter<boolean>;
|
|
177
|
+
private _unsubscribeAll;
|
|
178
|
+
/**
|
|
179
|
+
* Constructor
|
|
180
|
+
*/
|
|
181
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceAlertService: NiceAlertService, _niceUtilsService: NiceUtilsService);
|
|
182
|
+
/**
|
|
183
|
+
* Host binding for component classes
|
|
184
|
+
*/
|
|
185
|
+
get classList(): any;
|
|
186
|
+
/**
|
|
187
|
+
* On changes
|
|
188
|
+
*
|
|
189
|
+
* @param changes
|
|
190
|
+
*/
|
|
191
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
192
|
+
/**
|
|
193
|
+
* On init
|
|
194
|
+
*/
|
|
195
|
+
ngOnInit(): void;
|
|
196
|
+
/**
|
|
197
|
+
* On destroy
|
|
198
|
+
*/
|
|
199
|
+
ngOnDestroy(): void;
|
|
200
|
+
/**
|
|
201
|
+
* Dismiss the alert
|
|
202
|
+
*/
|
|
203
|
+
dismiss(): void;
|
|
204
|
+
/**
|
|
205
|
+
* Show the dismissed alert
|
|
206
|
+
*/
|
|
207
|
+
show(): void;
|
|
208
|
+
/**
|
|
209
|
+
* Dismiss/show the alert
|
|
210
|
+
*
|
|
211
|
+
* @param dismissed
|
|
212
|
+
* @private
|
|
213
|
+
*/
|
|
214
|
+
private _toggleDismiss;
|
|
215
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAlertComponent, never>;
|
|
216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAlertComponent, "nice-alert", ["niceAlert"], { "appearance": { "alias": "appearance"; "required": false; }; "dismissed": { "alias": "dismissed"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "type": { "alias": "type"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "dismissedChanged": "dismissedChanged"; }, never, ["[niceAlertIcon]", "[niceAlertTitle]", "*"], false, never>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare class NiceAlertModule {
|
|
220
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAlertModule, never>;
|
|
221
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAlertModule, [typeof NiceAlertComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule], [typeof NiceAlertComponent]>;
|
|
222
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAlertModule>;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
interface NiceAssets {
|
|
226
|
+
type: "image" | "video";
|
|
227
|
+
id?: number | string;
|
|
228
|
+
url?: string;
|
|
229
|
+
base64?: string;
|
|
230
|
+
file?: File;
|
|
231
|
+
}
|
|
232
|
+
type NiceAssetsCarouselActionIcon = {
|
|
233
|
+
matIcon: string;
|
|
234
|
+
svgIcon?: string;
|
|
235
|
+
} | {
|
|
236
|
+
matIcon?: string;
|
|
237
|
+
svgIcon: string;
|
|
238
|
+
};
|
|
239
|
+
interface NiceAssetsCarouselActions {
|
|
240
|
+
icon: NiceAssetsCarouselActionIcon;
|
|
241
|
+
name: string;
|
|
242
|
+
action: (active: number) => void;
|
|
243
|
+
}
|
|
244
|
+
interface NiceAssetsCarouselOptions {
|
|
245
|
+
actionButtons?: {
|
|
246
|
+
moreOptions?: NiceAssetsCarouselActionIcon;
|
|
247
|
+
addPhoto?: NiceAssetsCarouselActionIcon;
|
|
248
|
+
remove?: NiceAssetsCarouselActionIcon;
|
|
249
|
+
};
|
|
250
|
+
addPhoto?: NiceAssetsCarouselActionIcon;
|
|
251
|
+
leftArrow?: NiceAssetsCarouselActionIcon;
|
|
252
|
+
rightArrow?: NiceAssetsCarouselActionIcon;
|
|
253
|
+
upload?: NiceAssetsCarouselActionIcon;
|
|
254
|
+
}
|
|
255
|
+
declare class NiceAssetsCarouselComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
256
|
+
readonly options: NiceAssetsCarouselOptions;
|
|
257
|
+
_activeTranslationPosition: number;
|
|
258
|
+
_active: number;
|
|
259
|
+
_assets: NiceAssets[];
|
|
260
|
+
_activeAsset: NiceAssets;
|
|
261
|
+
_lastAsset: boolean;
|
|
262
|
+
_shouldTransform: boolean;
|
|
263
|
+
_activeVideoElement: ElementRef<HTMLVideoElement>;
|
|
264
|
+
_assetsElement: QueryList<ElementRef<HTMLDivElement>>;
|
|
265
|
+
defaultColor: ThemePalette;
|
|
266
|
+
inputElement: ElementRef<HTMLInputElement>;
|
|
267
|
+
color: ThemePalette;
|
|
268
|
+
edit: boolean;
|
|
269
|
+
loading: boolean;
|
|
270
|
+
accept: string[];
|
|
271
|
+
customActions: NiceAssetsCarouselActions[];
|
|
272
|
+
imagesProcessor: (files: File[]) => Promise<File[]>;
|
|
273
|
+
multipleUpload: boolean;
|
|
274
|
+
visiblePreviewAsset: number;
|
|
275
|
+
showAddAssetContainer: boolean;
|
|
276
|
+
activeContent: TemplateRef<any>;
|
|
277
|
+
activeChange: EventEmitter<number>;
|
|
278
|
+
removedAsset: EventEmitter<NiceAssets>;
|
|
279
|
+
listStyle: {
|
|
280
|
+
transform: string;
|
|
281
|
+
};
|
|
282
|
+
showOverlay: boolean;
|
|
283
|
+
private _imagesMimeTypes;
|
|
284
|
+
private propagate;
|
|
285
|
+
set activeVideoElement(activeVideoElement: ElementRef<HTMLVideoElement>);
|
|
286
|
+
set assetsElement(assetsElement: QueryList<ElementRef<HTMLDivElement>>);
|
|
287
|
+
set assets(assets: NiceAssets[]);
|
|
288
|
+
private set activeTranslationPosition(value);
|
|
289
|
+
private set activeAsset(value);
|
|
290
|
+
constructor(options: NiceAssetsCarouselOptions);
|
|
291
|
+
ngOnInit(): void;
|
|
292
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
293
|
+
writeValue(assets: NiceAssets[]): void;
|
|
294
|
+
registerOnChange(fn: (assets: NiceAssets[]) => void): void;
|
|
295
|
+
registerOnTouched(fn: (assets: NiceAssets[]) => void): void;
|
|
296
|
+
clickLeft(): void;
|
|
297
|
+
clickRight(): void;
|
|
298
|
+
clickAsset(index: number): void;
|
|
299
|
+
onFilesChange(event: Event): Promise<void>;
|
|
300
|
+
onFilesDrop(fileList: FileList): Promise<void>;
|
|
301
|
+
clickRemove(): void;
|
|
302
|
+
clickCustom(action: NiceAssetsCarouselActions): void;
|
|
303
|
+
startSyncVideo(): Promise<void>;
|
|
304
|
+
private filterOutUnsupportedFiles;
|
|
305
|
+
private getProcessedFiles;
|
|
306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselComponent, [{ optional: true; }]>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": { "alias": "color"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "customActions": { "alias": "customActions"; "required": false; }; "imagesProcessor": { "alias": "imagesProcessor"; "required": false; }; "multipleUpload": { "alias": "multipleUpload"; "required": false; }; "visiblePreviewAsset": { "alias": "visiblePreviewAsset"; "required": false; }; "showAddAssetContainer": { "alias": "showAddAssetContainer"; "required": false; }; "assets": { "alias": "assets"; "required": false; }; }, { "activeChange": "activeChange"; "removedAsset": "removedAsset"; }, ["activeContent"], never, false, never>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare class NiceAssetsCarouselActiveContentDirective {
|
|
311
|
+
template: TemplateRef<any>;
|
|
312
|
+
constructor(template: TemplateRef<any>);
|
|
313
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselActiveContentDirective, never>;
|
|
314
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAssetsCarouselActiveContentDirective, "[niceAssetsCarouselActiveContent]", never, {}, {}, never, never, false, never>;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
declare class NiceDropzoneDirective {
|
|
318
|
+
fileOver: boolean;
|
|
319
|
+
filesDropped: EventEmitter<FileList>;
|
|
320
|
+
onDragOver(event: DragEvent): void;
|
|
321
|
+
onDragLeave(event: DragEvent): void;
|
|
322
|
+
ondrop(event: DragEvent): void;
|
|
323
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDropzoneDirective, never>;
|
|
324
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceDropzoneDirective, "[niceDropzone]", never, {}, { "filesDropped": "filesDropped"; }, never, never, false, never>;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare class NiceDropzoneModule {
|
|
328
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDropzoneModule, never>;
|
|
329
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDropzoneModule, [typeof NiceDropzoneDirective], never, [typeof NiceDropzoneDirective]>;
|
|
330
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceDropzoneModule>;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
declare class NiceAssetsCarouselModule {
|
|
334
|
+
static forRoot(options?: NiceAssetsCarouselOptions): ModuleWithProviders<NiceAssetsCarouselModule>;
|
|
335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselModule, never>;
|
|
336
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof NiceAssetsCarouselComponent, typeof NiceAssetsCarouselActiveContentDirective], [typeof i2.CommonModule, typeof i4.MatIconModule, typeof i3.MatButtonModule, typeof i6.MatMenuModule, typeof i7.MatRippleModule, typeof NiceDropzoneModule, typeof i10.TranslateModule, typeof i10$1.MatProgressSpinnerModule], [typeof NiceAssetsCarouselComponent, typeof NiceAssetsCarouselActiveContentDirective]>;
|
|
337
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAssetsCarouselModule>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
interface NiceAsyncTypeaheadSearchResult<T> {
|
|
341
|
+
items: T[];
|
|
342
|
+
nextPage: number | null;
|
|
343
|
+
}
|
|
344
|
+
declare abstract class NiceAsyncTypeaheadProvider<T, ID = number, Options = any> {
|
|
345
|
+
abstract resource: string;
|
|
346
|
+
abstract search(searchQuery: string, page: number, options?: Options): Observable<NiceAsyncTypeaheadSearchResult<T>> | Promise<NiceAsyncTypeaheadSearchResult<T>>;
|
|
347
|
+
abstract getById(id: ID, options?: Options): Promise<T>;
|
|
348
|
+
format(item: T): string;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
type AsyncTypeaheadRequests = {
|
|
352
|
+
resource: string;
|
|
353
|
+
page: number;
|
|
354
|
+
searchQuery?: string;
|
|
355
|
+
searchOptions?: any;
|
|
356
|
+
};
|
|
357
|
+
declare class NiceAsyncTypeaheadService {
|
|
358
|
+
private readonly apis;
|
|
359
|
+
private state$;
|
|
360
|
+
loading$: Observable<boolean>;
|
|
361
|
+
loadingPage$: Observable<boolean>;
|
|
362
|
+
active$: Observable<any>;
|
|
363
|
+
items$: Observable<any[]>;
|
|
364
|
+
filteredItems$: Observable<any[]>;
|
|
365
|
+
private requests$;
|
|
366
|
+
private requestsSubscription$;
|
|
367
|
+
constructor(apis: NiceAsyncTypeaheadProvider<any>[]);
|
|
368
|
+
listenForRequest(): void;
|
|
369
|
+
closeRequestSubscription(): void;
|
|
370
|
+
initialize(resource: string): Promise<void>;
|
|
371
|
+
sendRequest(request: AsyncTypeaheadRequests): Observable<void>;
|
|
372
|
+
search(resource: string, searchQuery: string): void;
|
|
373
|
+
loadMore(resource: string): void;
|
|
374
|
+
getActive(): any;
|
|
375
|
+
getInitialized(): boolean;
|
|
376
|
+
getSearchOptions(): object | undefined;
|
|
377
|
+
setSearchOptions(searchOptions: object | undefined): void;
|
|
378
|
+
setActive(entity: any | undefined): void;
|
|
379
|
+
setActiveId(resource: string, id: any): Promise<void>;
|
|
380
|
+
reloadActive(resource: string): Promise<void>;
|
|
381
|
+
reloadFilteredItems(): void;
|
|
382
|
+
setFilterFn(filterFn: (value: any) => boolean | Promise<boolean> | Observable<boolean>): void;
|
|
383
|
+
format(resource: string, item: string): string;
|
|
384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadService, [{ optional: true; }]>;
|
|
385
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceAsyncTypeaheadService>;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
declare class NiceAsyncTypeaheadComponent implements OnInit, OnDestroy, OnChanges, ControlValueAccessor, MatFormFieldControl<any>, DoCheck {
|
|
389
|
+
readonly ngControl: NgControl;
|
|
390
|
+
private ngZone;
|
|
391
|
+
private changeDetectorRef;
|
|
392
|
+
service: NiceAsyncTypeaheadService;
|
|
393
|
+
stateChanges: Subject<void>;
|
|
394
|
+
controlType: string;
|
|
395
|
+
focused: boolean;
|
|
396
|
+
searchControl: FormControl<any>;
|
|
397
|
+
valueChangesSub$: Subscription;
|
|
398
|
+
open: boolean;
|
|
399
|
+
panelWidth: number;
|
|
400
|
+
activeOption: MatOption;
|
|
401
|
+
protected _errorStateTracker?: _ErrorStateTracker;
|
|
402
|
+
active$: Observable<any>;
|
|
403
|
+
input: ElementRef<HTMLInputElement>;
|
|
404
|
+
options: MatOption[];
|
|
405
|
+
entityRemoved: EventEmitter<void>;
|
|
406
|
+
resource: string;
|
|
407
|
+
searchOptions: any;
|
|
408
|
+
autoReload: boolean;
|
|
409
|
+
preloadResource: boolean;
|
|
410
|
+
allowNotFoundItems: boolean;
|
|
411
|
+
panelClass: string | string[];
|
|
412
|
+
bindValue: string;
|
|
413
|
+
bindLabel: string;
|
|
414
|
+
placeholder: string;
|
|
415
|
+
emptyPlaceholder: string;
|
|
416
|
+
optionTemplate: TemplateRef<HTMLElement>;
|
|
417
|
+
filterFn: (value: any) => boolean | Promise<boolean> | Observable<boolean>;
|
|
418
|
+
selected: EventEmitter<any>;
|
|
419
|
+
isOpened$: Subject<boolean>;
|
|
420
|
+
set labelFormatFn(labelFormatFn: (item: any) => string);
|
|
421
|
+
private _labelFormatFn;
|
|
422
|
+
/**
|
|
423
|
+
* Implemented as part of MatFormFieldControl.
|
|
424
|
+
* @docs-private
|
|
425
|
+
*/
|
|
426
|
+
set disabled(value: BooleanInput);
|
|
427
|
+
get disabled(): boolean;
|
|
428
|
+
protected _disabled: boolean;
|
|
429
|
+
/**
|
|
430
|
+
* Implemented as part of MatFormFieldControl.
|
|
431
|
+
* @docs-private
|
|
432
|
+
*/
|
|
433
|
+
set value(value: any);
|
|
434
|
+
get value(): string;
|
|
435
|
+
private _value;
|
|
436
|
+
/**
|
|
437
|
+
* Implemented as part of MatFormFieldControl.
|
|
438
|
+
* @docs-private
|
|
439
|
+
*/
|
|
440
|
+
set required(value: BooleanInput);
|
|
441
|
+
get required(): boolean;
|
|
442
|
+
protected _required: boolean | undefined;
|
|
443
|
+
get shouldLabelFloat(): boolean;
|
|
444
|
+
get errorState(): boolean;
|
|
445
|
+
set errorState(value: boolean);
|
|
446
|
+
id: string;
|
|
447
|
+
describedBy: string;
|
|
448
|
+
private componentInitialized;
|
|
449
|
+
private initialWriteValue?;
|
|
450
|
+
get empty(): boolean;
|
|
451
|
+
get initialized(): boolean;
|
|
452
|
+
propagate: (value: string) => void;
|
|
453
|
+
constructor(ngControl: NgControl, ngZone: NgZone, changeDetectorRef: ChangeDetectorRef, service: NiceAsyncTypeaheadService);
|
|
454
|
+
ngOnInit(): Promise<void>;
|
|
455
|
+
ngOnDestroy(): void;
|
|
456
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
457
|
+
ngDoCheck(): void;
|
|
458
|
+
writeValue(value: any): Promise<void>;
|
|
459
|
+
registerOnChange(propagate: (value: string) => void): void;
|
|
460
|
+
registerOnTouched(fn: any): void;
|
|
461
|
+
onContainerClick(event: MouseEvent): void;
|
|
462
|
+
setDescribedByIds(ids: string[]): void;
|
|
463
|
+
updateErrorState(): void;
|
|
464
|
+
getActive<T = any>(): T;
|
|
465
|
+
onOptionActivated(event: MatAutocompleteActivatedEvent): void;
|
|
466
|
+
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
467
|
+
updateState(open: boolean): void;
|
|
468
|
+
onRemove(event?: Event, reload?: boolean): void;
|
|
469
|
+
formatLabel(item: any): string;
|
|
470
|
+
onEndScroll(): void;
|
|
471
|
+
focusChanged(isFocused: boolean): void;
|
|
472
|
+
reload(): void;
|
|
473
|
+
reloadActive(): Promise<void>;
|
|
474
|
+
setSearchOptions(options: any): void;
|
|
475
|
+
private updateLabel;
|
|
476
|
+
private getObjectItem;
|
|
477
|
+
private updateSearchInput;
|
|
478
|
+
private checkIfValueStillExist;
|
|
479
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
480
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": { "alias": "resource"; "required": false; }; "searchOptions": { "alias": "searchOptions"; "required": false; }; "autoReload": { "alias": "autoReload"; "required": false; }; "preloadResource": { "alias": "preloadResource"; "required": false; }; "allowNotFoundItems": { "alias": "allowNotFoundItems"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyPlaceholder": { "alias": "emptyPlaceholder"; "required": false; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; }; "filterFn": { "alias": "filterFn"; "required": false; }; "labelFormatFn": { "alias": "labelFormatFn"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "entityRemoved": "entityRemoved"; "selected": "selected"; }, never, never, false, never>;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
declare const NICE_ASYNC_TYPEAHEAD_PROVIDER: InjectionToken<unknown>;
|
|
484
|
+
|
|
485
|
+
interface IAutoCompleteScrollEvent {
|
|
486
|
+
autoComplete: MatAutocomplete;
|
|
487
|
+
scrollEvent: Event;
|
|
488
|
+
}
|
|
489
|
+
declare class OptionsScrollDirective implements OnDestroy {
|
|
490
|
+
autoComplete: MatAutocomplete;
|
|
491
|
+
private _onDestroy$;
|
|
492
|
+
thresholdPercent: number;
|
|
493
|
+
optionsScroll: EventEmitter<IAutoCompleteScrollEvent>;
|
|
494
|
+
constructor(autoComplete: MatAutocomplete);
|
|
495
|
+
ngOnDestroy(): void;
|
|
496
|
+
onScroll(event: Event): void;
|
|
497
|
+
private removeScrollEventListener;
|
|
498
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsScrollDirective, never>;
|
|
499
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsScrollDirective, "mat-autocomplete[optionsScroll]", never, { "thresholdPercent": { "alias": "thresholdPercent"; "required": false; }; }, { "optionsScroll": "optionsScroll"; }, never, never, false, never>;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
declare class OptionScrollModule {
|
|
503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionScrollModule, never>;
|
|
504
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OptionScrollModule, [typeof OptionsScrollDirective], never, [typeof OptionsScrollDirective]>;
|
|
505
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OptionScrollModule>;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
declare class NiceAsyncTypeaheadModule {
|
|
509
|
+
static register(providers: Type<NiceAsyncTypeaheadProvider<any, any>>[]): ModuleWithProviders<NiceAsyncTypeaheadModule>;
|
|
510
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadModule, never>;
|
|
511
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAsyncTypeaheadModule, [typeof NiceAsyncTypeaheadComponent], [typeof i2.CommonModule, typeof i3$1.ReactiveFormsModule, typeof OptionScrollModule, typeof i6$1.MatInputModule, typeof i6$2.MatAutocompleteModule, typeof i4.MatIconModule, typeof i10$1.MatProgressSpinnerModule, typeof i9.MatProgressBarModule, typeof i10.TranslateModule], [typeof NiceAsyncTypeaheadComponent]>;
|
|
512
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAsyncTypeaheadModule>;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
declare abstract class NiceBaseFormComponent<Form extends {
|
|
516
|
+
[key: string]: any;
|
|
517
|
+
}> implements OnInit, OnDestroy, ControlValueAccessor {
|
|
518
|
+
formGroup: GeneratedFormGroup<Form>;
|
|
519
|
+
private stepper;
|
|
520
|
+
loading: boolean;
|
|
521
|
+
submit: EventEmitter<Form>;
|
|
522
|
+
protected unsubscribeAll$: Subject<void>;
|
|
523
|
+
private propagate;
|
|
524
|
+
constructor(formGroup: GeneratedFormGroup<Form>);
|
|
525
|
+
ngOnInit(): void;
|
|
526
|
+
ngOnDestroy(): void;
|
|
527
|
+
registerOnChange(fn: (form: Form) => void): void;
|
|
528
|
+
registerOnTouched(fn: (form: Form) => void): void;
|
|
529
|
+
writeValue(form: Form): void;
|
|
530
|
+
clickSubmit(): void;
|
|
531
|
+
clickNext(index: number): void;
|
|
532
|
+
clickPrevious(): void;
|
|
533
|
+
protected onValueChange(value: Form): void;
|
|
534
|
+
validate(): boolean;
|
|
535
|
+
protected validateStep(index: number): boolean;
|
|
536
|
+
protected getCurrentStepGroup(index: number): FormGroup | null;
|
|
537
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceBaseFormComponent<any>, never>;
|
|
538
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceBaseFormComponent<any>, "ng-component", never, { "loading": { "alias": "loading"; "required": false; }; }, { "submit": "submit"; }, never, never, false, never>;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
declare class NiceFormSubmitDirective {
|
|
542
|
+
form: NiceBaseFormComponent<any>;
|
|
543
|
+
onClick(): void;
|
|
544
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormSubmitDirective, never>;
|
|
545
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceFormSubmitDirective, "[niceFormSubmit]", never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
declare class NiceBaseFormModule {
|
|
549
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceBaseFormModule, never>;
|
|
550
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceBaseFormModule, [typeof NiceFormSubmitDirective], never, [typeof NiceFormSubmitDirective]>;
|
|
551
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceBaseFormModule>;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
declare class NiceBaseForm<T, Dto> {
|
|
555
|
+
constructor(value?: Partial<T>);
|
|
556
|
+
toDto(): Dto;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
type NiceCardFace = "front" | "back";
|
|
560
|
+
|
|
561
|
+
declare class NiceCardComponent implements OnChanges {
|
|
562
|
+
static ngAcceptInputType_expanded: BooleanInput;
|
|
563
|
+
static ngAcceptInputType_flippable: BooleanInput;
|
|
564
|
+
expanded: boolean;
|
|
565
|
+
face: NiceCardFace;
|
|
566
|
+
flippable: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* Host binding for component classes
|
|
569
|
+
*/
|
|
570
|
+
get classList(): any;
|
|
571
|
+
/**
|
|
572
|
+
* On changes
|
|
573
|
+
*/
|
|
574
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
575
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCardComponent, never>;
|
|
576
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCardComponent, "nice-card", ["niceCard"], { "expanded": { "alias": "expanded"; "required": false; }; "face": { "alias": "face"; "required": false; }; "flippable": { "alias": "flippable"; "required": false; }; }, {}, never, ["[niceCardFront]", "[niceCardBack]", "*", "[niceCardExpansion]"], false, never>;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
declare class NiceCardModule {
|
|
580
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCardModule, never>;
|
|
581
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceCardModule, [typeof NiceCardComponent], [typeof i2.CommonModule], [typeof NiceCardComponent]>;
|
|
582
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceCardModule>;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
interface PictureModalConfig {
|
|
586
|
+
picture?: string;
|
|
587
|
+
}
|
|
588
|
+
declare class PictureModalService {
|
|
589
|
+
private overlay;
|
|
590
|
+
constructor(overlay: Overlay);
|
|
591
|
+
open(config: PictureModalConfig): void;
|
|
592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PictureModalService, never>;
|
|
593
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PictureModalService>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
type NiceCarouselIcons = {
|
|
597
|
+
svgIcon: string;
|
|
598
|
+
};
|
|
599
|
+
interface NiceCarouselIconOptions {
|
|
600
|
+
remove?: NiceCarouselIcons;
|
|
601
|
+
}
|
|
602
|
+
interface NiceCarouselOptions {
|
|
603
|
+
icons?: NiceCarouselIconOptions;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
interface Picture {
|
|
607
|
+
id: number;
|
|
608
|
+
url: string;
|
|
609
|
+
}
|
|
610
|
+
declare class CarouselComponent {
|
|
611
|
+
private pictureModalService;
|
|
612
|
+
icons?: NiceCarouselIconOptions;
|
|
613
|
+
currentImages: Picture[];
|
|
614
|
+
set images(urls: Picture[]);
|
|
615
|
+
direction: "ltr" | "rtl" | "utd" | "dtu";
|
|
616
|
+
layout: "row" | "column";
|
|
617
|
+
editable: boolean;
|
|
618
|
+
delete: EventEmitter<Picture>;
|
|
619
|
+
constructor(pictureModalService: PictureModalService, icons?: NiceCarouselIconOptions);
|
|
620
|
+
clickView(picture: Picture): void;
|
|
621
|
+
clickDelete(picture: Picture): void;
|
|
622
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, [null, { optional: true; }]>;
|
|
623
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "nice-carousel", never, { "images": { "alias": "images"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, { "delete": "delete"; }, never, never, false, never>;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
declare class PictureModalComponent {
|
|
627
|
+
picture: string;
|
|
628
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PictureModalComponent, never>;
|
|
629
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PictureModalComponent, "nice-picture-modal", never, {}, {}, never, never, false, never>;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
declare class CarouselLayoutPipe implements PipeTransform {
|
|
633
|
+
transform(value: "row" | "column", direction: "ltr" | "rtl" | "utd" | "dtu"): string;
|
|
634
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselLayoutPipe, never>;
|
|
635
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CarouselLayoutPipe, "carouselLayout", false>;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
declare class NiceCarouselModule {
|
|
639
|
+
static forRoot(options?: NiceCarouselOptions): ModuleWithProviders<NiceCarouselModule>;
|
|
640
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCarouselModule, never>;
|
|
641
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceCarouselModule, [typeof CarouselComponent, typeof PictureModalComponent, typeof CarouselLayoutPipe], [typeof i2.CommonModule, typeof i5.MatCardModule, typeof i3.MatButtonModule, typeof i10.TranslateModule, typeof i4.MatIconModule], [typeof CarouselComponent]>;
|
|
642
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceCarouselModule>;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
declare class NiceCollapsableComponent implements OnInit, OnChanges, OnDestroy {
|
|
646
|
+
open: boolean;
|
|
647
|
+
openChange: EventEmitter<boolean>;
|
|
648
|
+
unsubscribeAll$: Subject<void>;
|
|
649
|
+
control: FormControl<boolean>;
|
|
650
|
+
ngOnInit(): void;
|
|
651
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
652
|
+
ngOnDestroy(): void;
|
|
653
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableComponent, never>;
|
|
654
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCollapsableComponent, "nice-collapsable", never, { "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, never, ["[niceCollapsableTitle]", "[niceCollapsableContent]"], false, never>;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
declare class NiceCollapsableModule {
|
|
658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableModule, never>;
|
|
659
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceCollapsableModule, [typeof NiceCollapsableComponent], [typeof i2.CommonModule, typeof i3$1.ReactiveFormsModule], [typeof NiceCollapsableComponent]>;
|
|
660
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceCollapsableModule>;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
declare class HeaderComponent<D> implements OnDestroy {
|
|
664
|
+
private calendar;
|
|
665
|
+
private dateAdapter;
|
|
666
|
+
private dateFormats;
|
|
667
|
+
private readonly destroy$;
|
|
668
|
+
toggled: boolean;
|
|
669
|
+
constructor(calendar: MatCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats, cdr: ChangeDetectorRef);
|
|
670
|
+
get periodLabel(): string;
|
|
671
|
+
previousClicked(mode: "month" | "year"): void;
|
|
672
|
+
nextClicked(mode: "month" | "year"): void;
|
|
673
|
+
private changeDate;
|
|
674
|
+
clickOptions(): void;
|
|
675
|
+
ngOnDestroy(): void;
|
|
676
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent<any>, never>;
|
|
677
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
interface NiceDateRangePickerValue {
|
|
681
|
+
from: Date;
|
|
682
|
+
to: Date;
|
|
683
|
+
}
|
|
684
|
+
declare class NiceDateRangePickerComponent implements OnInit, ControlValueAccessor {
|
|
685
|
+
readonly HeaderComponent: typeof HeaderComponent;
|
|
686
|
+
min: Date;
|
|
687
|
+
max: Date;
|
|
688
|
+
nowIsMax: boolean;
|
|
689
|
+
allowClear: boolean;
|
|
690
|
+
formGroup: FormGroup<{
|
|
691
|
+
from: FormControl<any>;
|
|
692
|
+
to: FormControl<any>;
|
|
693
|
+
}>;
|
|
694
|
+
now: Date;
|
|
695
|
+
value: NiceDateRangePickerValue;
|
|
696
|
+
private propagate;
|
|
697
|
+
ngOnInit(): void;
|
|
698
|
+
writeValue(value: NiceDateRangePickerValue): void;
|
|
699
|
+
registerOnChange(fn: (value: NiceDateRangePickerValue) => void): void;
|
|
700
|
+
registerOnTouched(fn: any): void;
|
|
701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerComponent, never>;
|
|
702
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceDateRangePickerComponent, "nice-date-range-picker", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "nowIsMax": { "alias": "nowIsMax"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; }, {}, never, never, false, never>;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
declare class NiceDateRangePickerServiceService {
|
|
706
|
+
allowClear$: BehaviorSubject<boolean>;
|
|
707
|
+
setAllowClear(allowClear: boolean): void;
|
|
708
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerServiceService, never>;
|
|
709
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceDateRangePickerServiceService>;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
declare const customPresets: string[];
|
|
713
|
+
type CustomPreset = typeof customPresets[number];
|
|
714
|
+
declare class RangePresetComponent<D> {
|
|
715
|
+
private dateAdapter;
|
|
716
|
+
private picker;
|
|
717
|
+
private service;
|
|
718
|
+
readonly customPresets: string[];
|
|
719
|
+
readonly allowClear$: rxjs.BehaviorSubject<boolean>;
|
|
720
|
+
constructor(dateAdapter: DateAdapter<D>, picker: MatDateRangePicker<D>, service: NiceDateRangePickerServiceService);
|
|
721
|
+
clearRange(): void;
|
|
722
|
+
selectRange(rangeName: CustomPreset): void;
|
|
723
|
+
private calculateDateRange;
|
|
724
|
+
private calculateMonth;
|
|
725
|
+
private calculateWeek;
|
|
726
|
+
private get today();
|
|
727
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangePresetComponent<any>, never>;
|
|
728
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RangePresetComponent<any>, "nice-range-preset", never, {}, {}, never, never, false, never>;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
declare class BooleanPipe implements PipeTransform {
|
|
732
|
+
private readonly translateService;
|
|
733
|
+
constructor(translateService: TranslateService);
|
|
734
|
+
transform(value: any): string;
|
|
735
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanPipe, never>;
|
|
736
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BooleanPipe, "boolean", false>;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
declare class CapitalizeFirstLetterPipe implements PipeTransform {
|
|
740
|
+
transform(value: string): string;
|
|
741
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CapitalizeFirstLetterPipe, never>;
|
|
742
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CapitalizeFirstLetterPipe, "capitalizeFirstLetter", false>;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
declare class CeilPipe implements PipeTransform {
|
|
746
|
+
transform(input: number): number;
|
|
747
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CeilPipe, never>;
|
|
748
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CeilPipe, "ceil", false>;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
declare class FindByKeyPipe implements PipeTransform {
|
|
752
|
+
transform<ArrayType, ValueType>(array: ArrayType[], value: ValueType, key?: string): ArrayType;
|
|
753
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FindByKeyPipe, never>;
|
|
754
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FindByKeyPipe, "findByKey", false>;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
declare class FirstLetterPipe implements PipeTransform {
|
|
758
|
+
transform(value: string): string;
|
|
759
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstLetterPipe, never>;
|
|
760
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstLetterPipe, "firstLetter", false>;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
declare class FloorPipe implements PipeTransform {
|
|
764
|
+
transform(input: number): number;
|
|
765
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FloorPipe, never>;
|
|
766
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FloorPipe, "floor", false>;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
declare class JoinPipe implements PipeTransform {
|
|
770
|
+
transform(array: any[], separator?: string, prop?: string): string;
|
|
771
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JoinPipe, never>;
|
|
772
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<JoinPipe, "join", false>;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
declare class EntriesPipe implements PipeTransform {
|
|
776
|
+
transform<Value>(value: Value): {
|
|
777
|
+
key: keyof Value;
|
|
778
|
+
value: any;
|
|
779
|
+
}[];
|
|
780
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntriesPipe, never>;
|
|
781
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EntriesPipe, "entries", false>;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
declare class LinkPipe implements PipeTransform {
|
|
785
|
+
transform(value: string, type: "mailto"): string;
|
|
786
|
+
transform(value: {
|
|
787
|
+
phoneNumber: string;
|
|
788
|
+
extension?: string;
|
|
789
|
+
}, type: "tel"): string;
|
|
790
|
+
transform(value: {
|
|
791
|
+
address: string;
|
|
792
|
+
postalCode: string;
|
|
793
|
+
}, type: "direction"): string;
|
|
794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkPipe, never>;
|
|
795
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LinkPipe, "link", false>;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
declare class LocalizedBooleanPipe implements PipeTransform {
|
|
799
|
+
private readonly translateService;
|
|
800
|
+
constructor(translateService: TranslateService);
|
|
801
|
+
transform(value: boolean): any;
|
|
802
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedBooleanPipe, never>;
|
|
803
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedBooleanPipe, "localizedBoolean", false>;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
declare class LocalizedCurrencyPipe extends CurrencyPipe implements PipeTransform {
|
|
807
|
+
private readonly translateService;
|
|
808
|
+
constructor(translateService: TranslateService);
|
|
809
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedCurrencyPipe, never>;
|
|
810
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedCurrencyPipe, "localizedCurrency", false>;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
declare class LocalizedDatePipe implements PipeTransform {
|
|
814
|
+
private readonly translateService;
|
|
815
|
+
constructor(translateService: TranslateService);
|
|
816
|
+
transform(value: any, pattern?: string, fallbackWithNull?: boolean, timeZone?: string): string;
|
|
817
|
+
private getMediumDateWithoutYearPattern;
|
|
818
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedDatePipe, never>;
|
|
819
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDatePipe, "localizedDate", false>;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
declare class LocalizedDateOnlyPipe implements PipeTransform {
|
|
823
|
+
private readonly translateService;
|
|
824
|
+
constructor(translateService: TranslateService);
|
|
825
|
+
transform(value: any, pattern?: string, fallbackWithNull?: boolean): string;
|
|
826
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedDateOnlyPipe, never>;
|
|
827
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDateOnlyPipe, "localizedDateOnly", false>;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
declare class MinutesToTimePipe implements PipeTransform {
|
|
831
|
+
transform(totalMinutes: number, separator?: string): string;
|
|
832
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MinutesToTimePipe, never>;
|
|
833
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MinutesToTimePipe, "minutesToTime", false>;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
declare class NumberToOrdinalIndicatorPipe implements PipeTransform {
|
|
837
|
+
transform(value: number): string;
|
|
838
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberToOrdinalIndicatorPipe, never>;
|
|
839
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberToOrdinalIndicatorPipe, "numberToOrdinalIndicator", false>;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
declare class PadPipe implements PipeTransform {
|
|
843
|
+
transform(value: number | string, length: number, direction?: "start" | "end", maxLength?: number, fillString?: string): string;
|
|
844
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PadPipe, never>;
|
|
845
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PadPipe, "pad", false>;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
declare class PhonePipe implements PipeTransform {
|
|
849
|
+
private maskService;
|
|
850
|
+
constructor(maskService: NgxMaskService);
|
|
851
|
+
transform(rawPhoneNumber: string, extension?: string): string;
|
|
852
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhonePipe, never>;
|
|
853
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PhonePipe, "phone", false>;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
declare class PostalCodePipe implements PipeTransform {
|
|
857
|
+
private maskService;
|
|
858
|
+
constructor(maskService: NgxMaskService);
|
|
859
|
+
transform(postalCode: string): string;
|
|
860
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostalCodePipe, never>;
|
|
861
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PostalCodePipe, "postalCode", false>;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
declare class RangePipe implements PipeTransform {
|
|
865
|
+
transform(value: number): number[];
|
|
866
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangePipe, never>;
|
|
867
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RangePipe, "range", false>;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
declare class RoundPipe implements PipeTransform {
|
|
871
|
+
transform(input: number): number;
|
|
872
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
|
|
873
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round", false>;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
declare class SanitizeBypassPipe implements PipeTransform {
|
|
877
|
+
private readonly sanitizer;
|
|
878
|
+
constructor(sanitizer: DomSanitizer);
|
|
879
|
+
transform(value: any, bypass: "html" | "style"): any;
|
|
880
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeBypassPipe, never>;
|
|
881
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeBypassPipe, "sanitizeBypass", false>;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
declare class SecondsToTimePipe implements PipeTransform {
|
|
885
|
+
transform(value: number, separator?: string): string;
|
|
886
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecondsToTimePipe, never>;
|
|
887
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SecondsToTimePipe, "secondsToTime", false>;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
declare class TrackByPropPipe<T> implements PipeTransform {
|
|
891
|
+
transform(prop: keyof T & string): TrackByFunction<T>;
|
|
892
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrackByPropPipe<any>, never>;
|
|
893
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TrackByPropPipe<any>, "trackByProp", false>;
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
declare class NicePipesModule {
|
|
897
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NicePipesModule, never>;
|
|
898
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NicePipesModule, [typeof BooleanPipe, typeof CapitalizeFirstLetterPipe, typeof CeilPipe, typeof FindByKeyPipe, typeof FirstLetterPipe, typeof FloorPipe, typeof JoinPipe, typeof EntriesPipe, typeof LinkPipe, typeof LocalizedBooleanPipe, typeof LocalizedCurrencyPipe, typeof LocalizedDatePipe, typeof LocalizedDateOnlyPipe, typeof MinutesToTimePipe, typeof NumberToOrdinalIndicatorPipe, typeof PadPipe, typeof PhonePipe, typeof PostalCodePipe, typeof RangePipe, typeof RoundPipe, typeof SanitizeBypassPipe, typeof SecondsToTimePipe, typeof TrackByPropPipe], never, [typeof BooleanPipe, typeof CapitalizeFirstLetterPipe, typeof CeilPipe, typeof FindByKeyPipe, typeof FirstLetterPipe, typeof FloorPipe, typeof JoinPipe, typeof EntriesPipe, typeof LinkPipe, typeof LocalizedBooleanPipe, typeof LocalizedCurrencyPipe, typeof LocalizedDatePipe, typeof LocalizedDateOnlyPipe, typeof MinutesToTimePipe, typeof NumberToOrdinalIndicatorPipe, typeof PadPipe, typeof PhonePipe, typeof PostalCodePipe, typeof RangePipe, typeof RoundPipe, typeof SanitizeBypassPipe, typeof SecondsToTimePipe, typeof TrackByPropPipe]>;
|
|
899
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NicePipesModule>;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
declare class NiceDateRangePickerModule {
|
|
903
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerModule, never>;
|
|
904
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDateRangePickerModule, [typeof NiceDateRangePickerComponent, typeof RangePresetComponent, typeof HeaderComponent], [typeof i2.CommonModule, typeof i5$1.MatDatepickerModule, typeof i6$3.MatFormFieldModule, typeof i5.MatCardModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i10.TranslateModule, typeof i3$1.ReactiveFormsModule, typeof NicePipesModule], [typeof NiceDateRangePickerComponent]>;
|
|
905
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceDateRangePickerModule>;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
type Scheme = "auto" | "dark" | "light";
|
|
909
|
+
type Theme = "default" | string;
|
|
910
|
+
type Screens = {
|
|
911
|
+
[key: string]: string;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* NiceConfig interface. Update this interface to strictly type your config
|
|
915
|
+
* object.
|
|
916
|
+
*/
|
|
917
|
+
interface NiceConfig {
|
|
918
|
+
scheme: Scheme;
|
|
919
|
+
theme: Theme;
|
|
920
|
+
screens?: Screens;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
declare class NiceConfigService {
|
|
924
|
+
private _config;
|
|
925
|
+
/**
|
|
926
|
+
* Constructor
|
|
927
|
+
*/
|
|
928
|
+
constructor(config: NiceConfig);
|
|
929
|
+
/**
|
|
930
|
+
* Setter & getter for config
|
|
931
|
+
*/
|
|
932
|
+
set config(value: NiceConfig);
|
|
933
|
+
get config$(): Observable<NiceConfig>;
|
|
934
|
+
/**
|
|
935
|
+
* Resets the config to the default
|
|
936
|
+
*/
|
|
937
|
+
reset(): void;
|
|
938
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceConfigService, never>;
|
|
939
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceConfigService>;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare class NiceConfigModule {
|
|
943
|
+
private _niceConfigService;
|
|
944
|
+
/**
|
|
945
|
+
* Constructor
|
|
946
|
+
*/
|
|
947
|
+
constructor(_niceConfigService: NiceConfigService);
|
|
948
|
+
/**
|
|
949
|
+
* forRoot method for setting user configuration
|
|
950
|
+
*/
|
|
951
|
+
static forRoot(config: NiceConfig): ModuleWithProviders<NiceConfigModule>;
|
|
952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceConfigModule, never>;
|
|
953
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceConfigModule, never, never, never>;
|
|
954
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceConfigModule>;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
declare class NiceMediaWatcherService {
|
|
958
|
+
private _breakpointObserver;
|
|
959
|
+
private _onMediaChange;
|
|
960
|
+
private _currentBreakpoints;
|
|
961
|
+
private _breakpoint$;
|
|
962
|
+
xsBreakpointActive$: Observable<boolean>;
|
|
963
|
+
smBreakpointActive$: Observable<boolean>;
|
|
964
|
+
mdBreakpointActive$: Observable<boolean>;
|
|
965
|
+
lgBreakpointActive$: Observable<boolean>;
|
|
966
|
+
xlBreakpointActive$: Observable<boolean>;
|
|
967
|
+
/**
|
|
968
|
+
* Constructor
|
|
969
|
+
*/
|
|
970
|
+
constructor(_breakpointObserver: BreakpointObserver);
|
|
971
|
+
/**
|
|
972
|
+
* On media query change
|
|
973
|
+
*/
|
|
974
|
+
onMediaQueryChange$(query: string | string[]): Observable<BreakpointState>;
|
|
975
|
+
asObservable(): Observable<BreakpointState>;
|
|
976
|
+
isActive(query: string | string[]): boolean;
|
|
977
|
+
private isBreakpointActive;
|
|
978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceMediaWatcherService, never>;
|
|
979
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceMediaWatcherService>;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
declare class NiceMediaWatcherModule {
|
|
983
|
+
private _niceMediaWatcherService;
|
|
984
|
+
/**
|
|
985
|
+
* Constructor
|
|
986
|
+
*/
|
|
987
|
+
constructor(_niceMediaWatcherService: NiceMediaWatcherService);
|
|
988
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceMediaWatcherModule, never>;
|
|
989
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceMediaWatcherModule, never, never, never>;
|
|
990
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceMediaWatcherModule>;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
declare class NiceSplashScreenService {
|
|
994
|
+
private _document;
|
|
995
|
+
private _router;
|
|
996
|
+
/**
|
|
997
|
+
* Constructor
|
|
998
|
+
*/
|
|
999
|
+
constructor(_document: any, _router: Router);
|
|
1000
|
+
/**
|
|
1001
|
+
* Show the splash screen
|
|
1002
|
+
*/
|
|
1003
|
+
show(): void;
|
|
1004
|
+
/**
|
|
1005
|
+
* Hide the splash screen
|
|
1006
|
+
*/
|
|
1007
|
+
hide(): void;
|
|
1008
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSplashScreenService, never>;
|
|
1009
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceSplashScreenService>;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
declare class NiceSplashScreenModule {
|
|
1013
|
+
private _niceSplashScreenService;
|
|
1014
|
+
/**
|
|
1015
|
+
* Constructor
|
|
1016
|
+
*/
|
|
1017
|
+
constructor(_niceSplashScreenService: NiceSplashScreenService);
|
|
1018
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSplashScreenModule, never>;
|
|
1019
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceSplashScreenModule, never, never, never>;
|
|
1020
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceSplashScreenModule>;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare class NiceDrawerService {
|
|
1024
|
+
private _componentRegistry;
|
|
1025
|
+
/**
|
|
1026
|
+
* Constructor
|
|
1027
|
+
*/
|
|
1028
|
+
constructor();
|
|
1029
|
+
/**
|
|
1030
|
+
* Register drawer component
|
|
1031
|
+
*/
|
|
1032
|
+
registerComponent(name: string, component: NiceDrawerComponent): void;
|
|
1033
|
+
/**
|
|
1034
|
+
* Deregister drawer component
|
|
1035
|
+
*/
|
|
1036
|
+
deregisterComponent(name: string): void;
|
|
1037
|
+
/**
|
|
1038
|
+
* Get drawer component from the registry
|
|
1039
|
+
*/
|
|
1040
|
+
getComponent(name: string): NiceDrawerComponent | undefined;
|
|
1041
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDrawerService, never>;
|
|
1042
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceDrawerService>;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
type NiceDrawerMode = "over" | "side";
|
|
1046
|
+
type NiceDrawerPosition = "left" | "right";
|
|
1047
|
+
|
|
1048
|
+
declare class NiceDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
1049
|
+
private _animationBuilder;
|
|
1050
|
+
private _elementRef;
|
|
1051
|
+
private _renderer2;
|
|
1052
|
+
private _niceDrawerService;
|
|
1053
|
+
private _niceUtilsService;
|
|
1054
|
+
static ngAcceptInputType_fixed: BooleanInput;
|
|
1055
|
+
static ngAcceptInputType_opened: BooleanInput;
|
|
1056
|
+
static ngAcceptInputType_transparentOverlay: BooleanInput;
|
|
1057
|
+
fixed: boolean;
|
|
1058
|
+
mode: NiceDrawerMode;
|
|
1059
|
+
width: string | number;
|
|
1060
|
+
name: string;
|
|
1061
|
+
opened: boolean;
|
|
1062
|
+
position: NiceDrawerPosition;
|
|
1063
|
+
transparentOverlay: boolean;
|
|
1064
|
+
private readonly fixedChanged;
|
|
1065
|
+
private readonly modeChanged;
|
|
1066
|
+
private readonly openedChanged;
|
|
1067
|
+
private readonly positionChanged;
|
|
1068
|
+
private _animationsEnabled;
|
|
1069
|
+
private _hovered;
|
|
1070
|
+
private _overlay;
|
|
1071
|
+
private _player;
|
|
1072
|
+
/**
|
|
1073
|
+
* Constructor
|
|
1074
|
+
*/
|
|
1075
|
+
constructor(_animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _niceDrawerService: NiceDrawerService, _niceUtilsService: NiceUtilsService);
|
|
1076
|
+
/**
|
|
1077
|
+
* Host binding for component classes
|
|
1078
|
+
*/
|
|
1079
|
+
get classList(): any;
|
|
1080
|
+
/**
|
|
1081
|
+
* Host binding for component inline styles
|
|
1082
|
+
*/
|
|
1083
|
+
get styleList(): any;
|
|
1084
|
+
/**
|
|
1085
|
+
* On mouseenter
|
|
1086
|
+
*
|
|
1087
|
+
* @private
|
|
1088
|
+
*/
|
|
1089
|
+
private _onMouseenter;
|
|
1090
|
+
/**
|
|
1091
|
+
* On mouseleave
|
|
1092
|
+
*
|
|
1093
|
+
* @private
|
|
1094
|
+
*/
|
|
1095
|
+
private _onMouseleave;
|
|
1096
|
+
/**
|
|
1097
|
+
* On changes
|
|
1098
|
+
*
|
|
1099
|
+
* @param changes
|
|
1100
|
+
*/
|
|
1101
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1102
|
+
/**
|
|
1103
|
+
* On init
|
|
1104
|
+
*/
|
|
1105
|
+
ngOnInit(): void;
|
|
1106
|
+
/**
|
|
1107
|
+
* On destroy
|
|
1108
|
+
*/
|
|
1109
|
+
ngOnDestroy(): void;
|
|
1110
|
+
/**
|
|
1111
|
+
* Open the drawer
|
|
1112
|
+
*/
|
|
1113
|
+
open(): void;
|
|
1114
|
+
/**
|
|
1115
|
+
* Close the drawer
|
|
1116
|
+
*/
|
|
1117
|
+
close(): void;
|
|
1118
|
+
/**
|
|
1119
|
+
* Toggle the drawer
|
|
1120
|
+
*/
|
|
1121
|
+
toggle(): void;
|
|
1122
|
+
/**
|
|
1123
|
+
* Enable the animations
|
|
1124
|
+
*
|
|
1125
|
+
* @private
|
|
1126
|
+
*/
|
|
1127
|
+
private _enableAnimations;
|
|
1128
|
+
/**
|
|
1129
|
+
* Disable the animations
|
|
1130
|
+
*
|
|
1131
|
+
* @private
|
|
1132
|
+
*/
|
|
1133
|
+
private _disableAnimations;
|
|
1134
|
+
/**
|
|
1135
|
+
* Show the backdrop
|
|
1136
|
+
*
|
|
1137
|
+
* @private
|
|
1138
|
+
*/
|
|
1139
|
+
private _showOverlay;
|
|
1140
|
+
/**
|
|
1141
|
+
* Hide the backdrop
|
|
1142
|
+
*
|
|
1143
|
+
* @private
|
|
1144
|
+
*/
|
|
1145
|
+
private _hideOverlay;
|
|
1146
|
+
/**
|
|
1147
|
+
* Open/close the drawer
|
|
1148
|
+
*
|
|
1149
|
+
* @param open
|
|
1150
|
+
* @private
|
|
1151
|
+
*/
|
|
1152
|
+
private _toggleOpened;
|
|
1153
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDrawerComponent, never>;
|
|
1154
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceDrawerComponent, "nice-drawer", ["niceDrawer"], { "fixed": { "alias": "fixed"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "width": { "alias": "width"; "required": false; }; "name": { "alias": "name"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceDrawerToggle]", "*"], false, never>;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
declare class NiceDrawerModule {
|
|
1158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDrawerModule, never>;
|
|
1159
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDrawerModule, [typeof NiceDrawerComponent], [typeof i2.CommonModule, typeof i4.MatIconModule], [typeof NiceDrawerComponent]>;
|
|
1160
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceDrawerModule>;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
type DefaultStrategyType = "xlsx" | "csv" | "pdf";
|
|
1164
|
+
interface ExportStrategy {
|
|
1165
|
+
type: DefaultStrategyType | string;
|
|
1166
|
+
onClickExport: () => void;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
declare abstract class ExportBottomSheetService {
|
|
1170
|
+
abstract getStrategyIcon(strategy: ExportStrategy): string;
|
|
1171
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportBottomSheetService, never>;
|
|
1172
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExportBottomSheetService>;
|
|
1173
|
+
}
|
|
1174
|
+
declare class DefaultExportBottomSheetService extends ExportBottomSheetService {
|
|
1175
|
+
getStrategyIcon(strategy: ExportStrategy): string;
|
|
1176
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultExportBottomSheetService, never>;
|
|
1177
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultExportBottomSheetService>;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
interface ExportBottomSheetConfig {
|
|
1181
|
+
exportStrategies: ExportStrategy[];
|
|
1182
|
+
}
|
|
1183
|
+
declare class ExportBottomSheetComponent {
|
|
1184
|
+
exportBottomSheetConfig: ExportBottomSheetConfig;
|
|
1185
|
+
private bottomSheetRef;
|
|
1186
|
+
private service;
|
|
1187
|
+
constructor(exportBottomSheetConfig: ExportBottomSheetConfig, bottomSheetRef: MatBottomSheetRef<ExportBottomSheetComponent>, service: ExportBottomSheetService);
|
|
1188
|
+
getStrategyIcon(strategy: ExportStrategy): string;
|
|
1189
|
+
clickExport(strategy: ExportStrategy): void;
|
|
1190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportBottomSheetComponent, never>;
|
|
1191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExportBottomSheetComponent, "nice-export-bottom-sheet", never, {}, {}, never, never, false, never>;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
interface ExportBottomSheetOptions {
|
|
1195
|
+
service: Type<ExportBottomSheetService>;
|
|
1196
|
+
}
|
|
1197
|
+
declare class NiceExportBottomSheetModule {
|
|
1198
|
+
static forFeature(options: ExportBottomSheetOptions): ModuleWithProviders<NiceExportBottomSheetModule>;
|
|
1199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceExportBottomSheetModule, never>;
|
|
1200
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceExportBottomSheetModule, [typeof ExportBottomSheetComponent], [typeof i2.CommonModule, typeof i3$2.MatBottomSheetModule, typeof i4$1.MatListModule, typeof i4.MatIconModule, typeof i10.TranslateModule], [typeof ExportBottomSheetComponent]>;
|
|
1201
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceExportBottomSheetModule>;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
declare class NiceControlStatusDirective implements AfterViewInit, OnDestroy {
|
|
1205
|
+
private el;
|
|
1206
|
+
private vcr;
|
|
1207
|
+
private formField;
|
|
1208
|
+
private translateService;
|
|
1209
|
+
private ref;
|
|
1210
|
+
private control;
|
|
1211
|
+
private unsubscribeAll$;
|
|
1212
|
+
onChange: () => void;
|
|
1213
|
+
constructor(el: ElementRef<HTMLElement>, vcr: ViewContainerRef, formField: MatFormField, translateService: TranslateService);
|
|
1214
|
+
ngAfterViewInit(): void;
|
|
1215
|
+
ngOnDestroy(): void;
|
|
1216
|
+
setError(text: string): void;
|
|
1217
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceControlStatusDirective, never>;
|
|
1218
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never, never, false, never>;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
declare class NiceFormErrorComponent {
|
|
1222
|
+
message: string;
|
|
1223
|
+
increment: number;
|
|
1224
|
+
set error(value: string);
|
|
1225
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormErrorComponent, never>;
|
|
1226
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceFormErrorComponent, "[form-error]", never, { "error": { "alias": "error"; "required": false; }; }, {}, never, never, false, never>;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
declare class NiceFormErrorModule {
|
|
1230
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormErrorModule, never>;
|
|
1231
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceFormErrorModule, [typeof NiceFormErrorComponent, typeof NiceControlStatusDirective], [typeof i2.CommonModule, typeof i6$3.MatFormFieldModule], [typeof NiceFormErrorComponent, typeof NiceControlStatusDirective]>;
|
|
1232
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceFormErrorModule>;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
declare class NiceHorizontalStepperComponent extends CdkStepper {
|
|
1236
|
+
private onStepperClick;
|
|
1237
|
+
onClick(step: CdkStep, index: number): void;
|
|
1238
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalStepperComponent, never>;
|
|
1239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalStepperComponent, "nice-horizontal-stepper", never, {}, { "onStepperClick": "onStepperClick"; }, never, never, false, never>;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
declare class NiceStepComponent extends CdkStep {
|
|
1243
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceStepComponent, never>;
|
|
1244
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceStepComponent, "nice-step", never, {}, {}, never, ["*"], false, never>;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
declare class NiceHorizontalStepperModule {
|
|
1248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalStepperModule, never>;
|
|
1249
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceHorizontalStepperModule, [typeof NiceStepComponent, typeof NiceHorizontalStepperComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i5$2.CdkStepperModule], [typeof NiceStepComponent, typeof NiceHorizontalStepperComponent]>;
|
|
1250
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceHorizontalStepperModule>;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/** Image Cropper Config */
|
|
1254
|
+
declare class ImgCropperConfig {
|
|
1255
|
+
/** Cropper area width */
|
|
1256
|
+
width: number;
|
|
1257
|
+
/** Cropper area height */
|
|
1258
|
+
height: number;
|
|
1259
|
+
minWidth: number;
|
|
1260
|
+
minHeight: number;
|
|
1261
|
+
/** If this is not defined, the new image will be automatically defined. */
|
|
1262
|
+
type?: string;
|
|
1263
|
+
/** Background color( default: null), if is null in png is transparent but not in jpg. */
|
|
1264
|
+
fill?: string | null;
|
|
1265
|
+
/**
|
|
1266
|
+
* Set anti-aliased (default: true)
|
|
1267
|
+
* @deprecated this is not necessary as the cropper will automatically resize the image
|
|
1268
|
+
* to the best quality
|
|
1269
|
+
*/
|
|
1270
|
+
antiAliased: boolean;
|
|
1271
|
+
autoCrop?: boolean;
|
|
1272
|
+
output?: ImgOutput | ImgResolution;
|
|
1273
|
+
/**
|
|
1274
|
+
* Zoom out until the entire image fits into the cropping area.
|
|
1275
|
+
* default: false
|
|
1276
|
+
*/
|
|
1277
|
+
extraZoomOut?: boolean;
|
|
1278
|
+
/**
|
|
1279
|
+
* Emit event `error` if the file size in bytes for the limit.
|
|
1280
|
+
* Note: It only works when the image is received from the `<input>` event.
|
|
1281
|
+
*/
|
|
1282
|
+
maxFileSize?: number | null;
|
|
1283
|
+
/**
|
|
1284
|
+
* Whether the cropper area will be round.
|
|
1285
|
+
* This implies that the cropper area will maintain its aspect ratio.
|
|
1286
|
+
* default: false
|
|
1287
|
+
*/
|
|
1288
|
+
round?: boolean;
|
|
1289
|
+
/**
|
|
1290
|
+
* Whether the cropper area is resizable.
|
|
1291
|
+
* default: false
|
|
1292
|
+
*/
|
|
1293
|
+
resizableArea?: boolean;
|
|
1294
|
+
/**
|
|
1295
|
+
* Keep the width and height of the growing area the same according
|
|
1296
|
+
* to `ImgCropperConfig.width` and `ImgCropperConfig.height`
|
|
1297
|
+
* default: false
|
|
1298
|
+
*/
|
|
1299
|
+
keepAspectRatio?: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* Whether the cropper area is responsive.
|
|
1302
|
+
* By default, the width and height of the cropper area is fixed,
|
|
1303
|
+
* so can use when the cropper area is larger than its container,
|
|
1304
|
+
* otherwise this will bring problems when cropping.
|
|
1305
|
+
*/
|
|
1306
|
+
responsiveArea?: boolean;
|
|
1307
|
+
}
|
|
1308
|
+
/**
|
|
1309
|
+
* The output image
|
|
1310
|
+
* With this option you can resize the output image.
|
|
1311
|
+
* If `width` or `height` are 0, this will be set automatically.
|
|
1312
|
+
* Both cannot be 0.
|
|
1313
|
+
*/
|
|
1314
|
+
interface ImgOutput {
|
|
1315
|
+
/**
|
|
1316
|
+
* The cropped image will be resized to this `width`.
|
|
1317
|
+
*/
|
|
1318
|
+
width: number;
|
|
1319
|
+
/**
|
|
1320
|
+
* Cropped image will be resized to this `height`.
|
|
1321
|
+
*/
|
|
1322
|
+
height: number;
|
|
1323
|
+
}
|
|
1324
|
+
/** Image output */
|
|
1325
|
+
declare enum ImgResolution {
|
|
1326
|
+
/**
|
|
1327
|
+
* The output image will be equal to the initial size of the cropper area.
|
|
1328
|
+
*/
|
|
1329
|
+
Default = 0,
|
|
1330
|
+
/** Just crop the image without resizing */
|
|
1331
|
+
OriginalImage = 1
|
|
1332
|
+
}
|
|
1333
|
+
/** Image output */
|
|
1334
|
+
declare enum ImgCropperError {
|
|
1335
|
+
/** The loaded image exceeds the size limit set. */
|
|
1336
|
+
Size = 0,
|
|
1337
|
+
/** The file loaded is not image. */
|
|
1338
|
+
Type = 1,
|
|
1339
|
+
/** When the image has not been loaded. */
|
|
1340
|
+
Other = 2
|
|
1341
|
+
}
|
|
1342
|
+
interface ImgCropperEvent {
|
|
1343
|
+
/** Cropped image data URL */
|
|
1344
|
+
dataURL?: string;
|
|
1345
|
+
name: string | null;
|
|
1346
|
+
/** Filetype */
|
|
1347
|
+
type?: string;
|
|
1348
|
+
/** Cropped area width */
|
|
1349
|
+
areaWidth: number;
|
|
1350
|
+
/** Cropped area height */
|
|
1351
|
+
areaHeight: number;
|
|
1352
|
+
/** Cropped image width */
|
|
1353
|
+
width: number;
|
|
1354
|
+
/** Cropped image height */
|
|
1355
|
+
height: number;
|
|
1356
|
+
/** Original Image data URL */
|
|
1357
|
+
originalDataURL?: string;
|
|
1358
|
+
scale: number;
|
|
1359
|
+
/** Current rotation in degrees */
|
|
1360
|
+
rotation: number;
|
|
1361
|
+
/** Size of the image in bytes */
|
|
1362
|
+
size: number;
|
|
1363
|
+
/** Scaled offset from the left edge of the image */
|
|
1364
|
+
left: number;
|
|
1365
|
+
/** Scaled offset from the top edge of the image */
|
|
1366
|
+
top: number;
|
|
1367
|
+
/**
|
|
1368
|
+
* Scaled offset from the left edge of the image to center of area
|
|
1369
|
+
* Can be used to set image position
|
|
1370
|
+
*/
|
|
1371
|
+
xOrigin: number;
|
|
1372
|
+
/**
|
|
1373
|
+
* Scaled offset from the top edge of the image to center of area
|
|
1374
|
+
* Can be used to set image position
|
|
1375
|
+
*/
|
|
1376
|
+
yOrigin: number;
|
|
1377
|
+
/** @deprecated Use `xOrigin & yOrigin` instead. */
|
|
1378
|
+
position?: {
|
|
1379
|
+
x: number;
|
|
1380
|
+
y: number;
|
|
1381
|
+
};
|
|
1382
|
+
}
|
|
1383
|
+
interface ImgCropperErrorEvent {
|
|
1384
|
+
name?: string;
|
|
1385
|
+
/** Size of the image in bytes */
|
|
1386
|
+
size: number;
|
|
1387
|
+
/** Filetype */
|
|
1388
|
+
type: string;
|
|
1389
|
+
/** Type of error */
|
|
1390
|
+
error: ImgCropperError;
|
|
1391
|
+
errorMsg?: string;
|
|
1392
|
+
}
|
|
1393
|
+
interface ImgCropperLoaderConfig {
|
|
1394
|
+
name?: string | null;
|
|
1395
|
+
/** Filetype */
|
|
1396
|
+
type?: string;
|
|
1397
|
+
/** Cropped area width */
|
|
1398
|
+
areaWidth?: number;
|
|
1399
|
+
/** Cropped area height */
|
|
1400
|
+
areaHeight?: number;
|
|
1401
|
+
/** Cropped image width */
|
|
1402
|
+
width?: number;
|
|
1403
|
+
/** Cropped image height */
|
|
1404
|
+
height?: number;
|
|
1405
|
+
/** Original Image data URL */
|
|
1406
|
+
originalDataURL: string;
|
|
1407
|
+
scale?: number;
|
|
1408
|
+
/** Current rotation in degrees */
|
|
1409
|
+
rotation?: number;
|
|
1410
|
+
/** Size of the image in bytes */
|
|
1411
|
+
size?: number;
|
|
1412
|
+
/** Offset from the left edge of the image to center of area */
|
|
1413
|
+
xOrigin?: number;
|
|
1414
|
+
/** Offset from the top edge of the image to center of area */
|
|
1415
|
+
yOrigin?: number;
|
|
1416
|
+
}
|
|
1417
|
+
declare class NiceImageCropperComponent implements OnInit, OnDestroy {
|
|
1418
|
+
private _renderer;
|
|
1419
|
+
readonly _elementRef: ElementRef<HTMLElement>;
|
|
1420
|
+
private cd;
|
|
1421
|
+
private _ngZone;
|
|
1422
|
+
static readonly и = "NiceImageCropper";
|
|
1423
|
+
private _currentLoadConfig?;
|
|
1424
|
+
/** Original image */
|
|
1425
|
+
private _img;
|
|
1426
|
+
private offset?;
|
|
1427
|
+
private _scale?;
|
|
1428
|
+
private _scal3Fix?;
|
|
1429
|
+
private _minScale?;
|
|
1430
|
+
private _maxScale?;
|
|
1431
|
+
/** Initial config */
|
|
1432
|
+
private _configPrimary;
|
|
1433
|
+
private _config;
|
|
1434
|
+
private _imgRect;
|
|
1435
|
+
private _rotation;
|
|
1436
|
+
private _isSliding;
|
|
1437
|
+
/** Keeps track of the last pointer event that was captured by the crop area. */
|
|
1438
|
+
private _lastPointerEvent;
|
|
1439
|
+
private _startPointerEvent;
|
|
1440
|
+
_primaryAreaWidth: number;
|
|
1441
|
+
_primaryAreaHeight: number;
|
|
1442
|
+
_absoluteScale: number;
|
|
1443
|
+
/**
|
|
1444
|
+
* When is loaded image
|
|
1445
|
+
* @internal
|
|
1446
|
+
*/
|
|
1447
|
+
_isLoadedImg: boolean;
|
|
1448
|
+
/** When is loaded image & ready for crop */
|
|
1449
|
+
isLoaded: boolean;
|
|
1450
|
+
/** When the cropper is ready to be interacted */
|
|
1451
|
+
isReady: boolean;
|
|
1452
|
+
isCropped: boolean;
|
|
1453
|
+
private _imgContainer;
|
|
1454
|
+
private _areaRef;
|
|
1455
|
+
private _imgCanvas;
|
|
1456
|
+
set config(val: ImgCropperConfig);
|
|
1457
|
+
get config(): ImgCropperConfig;
|
|
1458
|
+
/** Set scale */
|
|
1459
|
+
set scale(val: number | undefined);
|
|
1460
|
+
get scale(): number | undefined;
|
|
1461
|
+
/**
|
|
1462
|
+
* Emit event `error` if the file size for the limit.
|
|
1463
|
+
* Note: It only works when the image is received from the `<input>` event.
|
|
1464
|
+
*/
|
|
1465
|
+
maxFileSize: number;
|
|
1466
|
+
/** Get min scale */
|
|
1467
|
+
get minScale(): number | undefined;
|
|
1468
|
+
private readonly scaleChange;
|
|
1469
|
+
/** Emits minimum supported image scale */
|
|
1470
|
+
private readonly minScaleChange;
|
|
1471
|
+
/** Emits maximum supported image scale */
|
|
1472
|
+
private readonly maxScaleChange;
|
|
1473
|
+
/** Emits when the image is loaded */
|
|
1474
|
+
private readonly imageLoaded;
|
|
1475
|
+
/** Emits when the cropper is ready to be interacted */
|
|
1476
|
+
private readonly ready;
|
|
1477
|
+
/** On crop new image */
|
|
1478
|
+
private readonly cropped;
|
|
1479
|
+
/** Emits when the cropper is cleaned */
|
|
1480
|
+
private readonly cleaned;
|
|
1481
|
+
/** Emit an error when the loaded image is not valid */
|
|
1482
|
+
private readonly error;
|
|
1483
|
+
private _currentInputElement?;
|
|
1484
|
+
/** Emits whenever the component is destroyed. */
|
|
1485
|
+
private readonly _destroy;
|
|
1486
|
+
/** Used to subscribe to global move and end events */
|
|
1487
|
+
protected _document: Document;
|
|
1488
|
+
constructor(_renderer: Renderer2, _elementRef: ElementRef<HTMLElement>, cd: ChangeDetectorRef, _ngZone: NgZone, _document: any, viewPortRuler: ViewportRuler);
|
|
1489
|
+
ngOnInit(): void;
|
|
1490
|
+
ngOnDestroy(): void;
|
|
1491
|
+
/** Load image with canvas */
|
|
1492
|
+
private _imgLoaded;
|
|
1493
|
+
private _setStylesForContImg;
|
|
1494
|
+
/**
|
|
1495
|
+
* Update area and image position only if needed,
|
|
1496
|
+
* this is used when window resize
|
|
1497
|
+
*/
|
|
1498
|
+
updateCropperPosition(): void;
|
|
1499
|
+
/** Load Image from input event */
|
|
1500
|
+
selectInputEvent(img: Event): void;
|
|
1501
|
+
/** Set the size of the image, the values can be 0 between 1, where 1 is the original size */
|
|
1502
|
+
setScale(size?: number, noAutoCrop?: boolean): void;
|
|
1503
|
+
private _getCenterPoints;
|
|
1504
|
+
/**
|
|
1505
|
+
* Fit to screen
|
|
1506
|
+
*/
|
|
1507
|
+
fitToScreen(): void;
|
|
1508
|
+
fit(): void;
|
|
1509
|
+
private _pointerDown;
|
|
1510
|
+
/**
|
|
1511
|
+
* Simulate pointerMove with clientX = 0 and clientY = 0,
|
|
1512
|
+
* this is used by `setScale` and `rotate`
|
|
1513
|
+
*/
|
|
1514
|
+
private _simulatePointerMove;
|
|
1515
|
+
_markForCheck(): void;
|
|
1516
|
+
/**
|
|
1517
|
+
* Called when the user has moved their pointer after
|
|
1518
|
+
* starting to drag.
|
|
1519
|
+
*/
|
|
1520
|
+
private _pointerMove;
|
|
1521
|
+
updatePosition(): void;
|
|
1522
|
+
updatePosition(xOrigin: number, yOrigin: number): void;
|
|
1523
|
+
_slideEnd(): void;
|
|
1524
|
+
private _cropIfAutoCrop;
|
|
1525
|
+
/** + */
|
|
1526
|
+
zoomIn(): void;
|
|
1527
|
+
/** Clean the img cropper */
|
|
1528
|
+
clean(): void;
|
|
1529
|
+
/** - */
|
|
1530
|
+
zoomOut(): void;
|
|
1531
|
+
center(): void;
|
|
1532
|
+
/**
|
|
1533
|
+
* load an image from a given configuration,
|
|
1534
|
+
* or from the result of a cropped image
|
|
1535
|
+
*/
|
|
1536
|
+
loadImage(config: ImgCropperLoaderConfig | string, fn?: () => void): void;
|
|
1537
|
+
private _updateAreaIfNeeded;
|
|
1538
|
+
private _updateAbsoluteScale;
|
|
1539
|
+
/**
|
|
1540
|
+
* Load Image from URL
|
|
1541
|
+
* @deprecated Use `loadImage` instead of `setImageUrl`
|
|
1542
|
+
* @param src URL
|
|
1543
|
+
* @param fn function that will be called before emit the event loaded
|
|
1544
|
+
*/
|
|
1545
|
+
setImageUrl(src: string, fn?: () => void): void;
|
|
1546
|
+
private _positionImg;
|
|
1547
|
+
rotate(degrees: number): void;
|
|
1548
|
+
_updateMinScale(canvas?: HTMLCanvasElement): void;
|
|
1549
|
+
private _updateMaxScale;
|
|
1550
|
+
/**
|
|
1551
|
+
* Resize & crop image
|
|
1552
|
+
*/
|
|
1553
|
+
crop(config?: ImgCropperConfig): ImgCropperEvent;
|
|
1554
|
+
/**
|
|
1555
|
+
* @docs-private
|
|
1556
|
+
*/
|
|
1557
|
+
private _imgCrop;
|
|
1558
|
+
_rootRect(): DOMRect;
|
|
1559
|
+
_areaCropperRect(): DOMRect;
|
|
1560
|
+
_canvasRect(): DOMRect;
|
|
1561
|
+
/** Called when the user has lifted their pointer. */
|
|
1562
|
+
private _pointerUp;
|
|
1563
|
+
/** Called when the window has lost focus. */
|
|
1564
|
+
private _windowBlur;
|
|
1565
|
+
private _bindGlobalEvents;
|
|
1566
|
+
/** Removes any global event listeners that we may have added. */
|
|
1567
|
+
private _removeGlobalEvents;
|
|
1568
|
+
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
1569
|
+
private _getWindow;
|
|
1570
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageCropperComponent, never>;
|
|
1571
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceImageCropperComponent, "nice-img-cropper, nice-image-cropper", never, { "config": { "alias": "config"; "required": false; }; "scale": { "alias": "scale"; "required": false; }; "maxFileSize": { "alias": "maxFileSize"; "required": false; }; }, { "scaleChange": "scaleChange"; "minScaleChange": "minScale"; "maxScaleChange": "maxScale"; "imageLoaded": "imageLoaded"; "ready": "ready"; "cropped": "cropped"; "cleaned": "cleaned"; "error": "error"; }, never, never, false, never>;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Normalize degrees for cropper rotation
|
|
1575
|
+
* @docs-private
|
|
1576
|
+
*/
|
|
1577
|
+
declare function _normalizeDegrees(n: number): number;
|
|
1578
|
+
declare function round(n: number): number;
|
|
1579
|
+
declare function mergeDeep<T, U>(target: T, source: U): T & U;
|
|
1580
|
+
declare function mergeDeep<T, U, V>(target: T, source1: U, source2: V): T & U & V;
|
|
1581
|
+
declare function mergeDeep<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
|
|
1582
|
+
declare function mergeDeep(target: object, ...sources: any[]): any;
|
|
1583
|
+
/**
|
|
1584
|
+
* We have the cropper area in the same file to fix the build
|
|
1585
|
+
*/
|
|
1586
|
+
declare class NiceCropperAreaComponent implements OnDestroy {
|
|
1587
|
+
private readonly _elementRef;
|
|
1588
|
+
private readonly _cropper;
|
|
1589
|
+
private readonly _ngZone;
|
|
1590
|
+
private readonly _resizer?;
|
|
1591
|
+
keepAspectRatio: boolean;
|
|
1592
|
+
round: boolean;
|
|
1593
|
+
/** Used to subscribe to global move and end events */
|
|
1594
|
+
protected _document: Document;
|
|
1595
|
+
private _isSliding;
|
|
1596
|
+
/** Keeps track of the last pointer event that was captured by the crop area. */
|
|
1597
|
+
private _lastPointerEvent;
|
|
1598
|
+
private _startPointerEvent;
|
|
1599
|
+
private _currentWidth;
|
|
1600
|
+
private _currentHeight;
|
|
1601
|
+
private _startAreaRect;
|
|
1602
|
+
private _startImgRect;
|
|
1603
|
+
constructor(_document: any, _elementRef: ElementRef, _cropper: NiceImageCropperComponent, _ngZone: NgZone);
|
|
1604
|
+
private _resizableArea;
|
|
1605
|
+
set resizableArea(val: boolean);
|
|
1606
|
+
get resizableArea(): boolean;
|
|
1607
|
+
ngOnDestroy(): void;
|
|
1608
|
+
private _addResizableArea;
|
|
1609
|
+
private _removeResizableArea;
|
|
1610
|
+
private _pointerDown;
|
|
1611
|
+
private _pointerMove;
|
|
1612
|
+
/** Called when the user has lifted their pointer. */
|
|
1613
|
+
private _pointerUp;
|
|
1614
|
+
/** Called when the window has lost focus. */
|
|
1615
|
+
private _windowBlur;
|
|
1616
|
+
private _bindGlobalEvents;
|
|
1617
|
+
/** Removes any global event listeners that we may have added. */
|
|
1618
|
+
private _removeGlobalEvents;
|
|
1619
|
+
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
1620
|
+
private _getWindow;
|
|
1621
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCropperAreaComponent, never>;
|
|
1622
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCropperAreaComponent, "nice-cropper-area", never, { "keepAspectRatio": { "alias": "keepAspectRatio"; "required": false; }; "round": { "alias": "round"; "required": false; }; "resizableArea": { "alias": "resizableArea"; "required": false; }; }, {}, never, never, false, never>;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
declare class NiceImageCropperModule {
|
|
1626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageCropperModule, never>;
|
|
1627
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceImageCropperModule, [typeof NiceImageCropperComponent, typeof NiceCropperAreaComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.MatIconModule], [typeof NiceImageCropperComponent]>;
|
|
1628
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceImageCropperModule>;
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
declare class NiceLayoutComponent implements OnInit, OnDestroy {
|
|
1632
|
+
private _document;
|
|
1633
|
+
private _renderer2;
|
|
1634
|
+
private _niceConfigService;
|
|
1635
|
+
private _niceMediaWatcherService;
|
|
1636
|
+
private config;
|
|
1637
|
+
private scheme;
|
|
1638
|
+
private theme;
|
|
1639
|
+
private _unsubscribeAll;
|
|
1640
|
+
/**
|
|
1641
|
+
* Constructor
|
|
1642
|
+
*/
|
|
1643
|
+
constructor(_document: any, _renderer2: Renderer2, _niceConfigService: NiceConfigService, _niceMediaWatcherService: NiceMediaWatcherService);
|
|
1644
|
+
/**
|
|
1645
|
+
* On init
|
|
1646
|
+
*/
|
|
1647
|
+
ngOnInit(): void;
|
|
1648
|
+
/**
|
|
1649
|
+
* On destroy
|
|
1650
|
+
*/
|
|
1651
|
+
ngOnDestroy(): void;
|
|
1652
|
+
/**
|
|
1653
|
+
* Update the selected scheme
|
|
1654
|
+
*
|
|
1655
|
+
* @private
|
|
1656
|
+
*/
|
|
1657
|
+
private _updateScheme;
|
|
1658
|
+
/**
|
|
1659
|
+
* Update the selected theme
|
|
1660
|
+
*
|
|
1661
|
+
* @private
|
|
1662
|
+
*/
|
|
1663
|
+
private _updateTheme;
|
|
1664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLayoutComponent, never>;
|
|
1665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLayoutComponent, "nice-layout", never, {}, {}, never, ["*"], false, never>;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
declare class NiceLayoutModule {
|
|
1669
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLayoutModule, never>;
|
|
1670
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceLayoutModule, [typeof NiceLayoutComponent], never, [typeof NiceLayoutComponent]>;
|
|
1671
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceLayoutModule>;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
declare class NiceLoadingSpinnerComponent {
|
|
1675
|
+
loading: boolean;
|
|
1676
|
+
mode: ProgressSpinnerMode;
|
|
1677
|
+
diameter: number;
|
|
1678
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingSpinnerComponent, never>;
|
|
1679
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingSpinnerComponent, "nice-loading-spinner", never, { "loading": { "alias": "loading"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "diameter": { "alias": "diameter"; "required": false; }; }, {}, never, never, false, never>;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
declare class DynamicOverlayContainer extends OverlayContainer {
|
|
1683
|
+
setContainerElement(containerElement: HTMLElement): void;
|
|
1684
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicOverlayContainer, never>;
|
|
1685
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicOverlayContainer>;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
declare class DynamicOverlay extends Overlay {
|
|
1689
|
+
private readonly _dynamicOverlayContainer;
|
|
1690
|
+
private renderer;
|
|
1691
|
+
constructor(_document: any, scrollStrategies: ScrollStrategyOptions, _overlayContainer: DynamicOverlayContainer, _componentFactoryResolver: ComponentFactoryResolver, _positionBuilder: OverlayPositionBuilder, _keyboardDispatcher: OverlayKeyboardDispatcher, _injector: Injector, _ngZone: NgZone, _directionality: Directionality, rendererFactory: RendererFactory2, _location: Location, _outsideClickDispatcher: OverlayOutsideClickDispatcher);
|
|
1692
|
+
setContainerElement(containerElement: HTMLElement): void;
|
|
1693
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicOverlay, never>;
|
|
1694
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DynamicOverlay>;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
interface NiceLoadingOptions {
|
|
1698
|
+
customLoading?: Type<any>;
|
|
1699
|
+
}
|
|
1700
|
+
declare class NiceLoadingDirective {
|
|
1701
|
+
private options;
|
|
1702
|
+
private elRef;
|
|
1703
|
+
private overlay;
|
|
1704
|
+
private overlayRef;
|
|
1705
|
+
private _loading;
|
|
1706
|
+
set loading(loading: boolean | null);
|
|
1707
|
+
constructor(options: NiceLoadingOptions, elRef: ElementRef, overlay: DynamicOverlay);
|
|
1708
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingDirective, [{ optional: true; }, null, null]>;
|
|
1709
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingDirective, "[niceLoadingOverlay]", never, { "loading": { "alias": "niceLoadingOverlay"; "required": false; }; }, {}, never, never, false, never>;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
declare class NiceLoadingSpinnerModule {
|
|
1713
|
+
static forRoot(options?: NiceLoadingOptions): ModuleWithProviders<NiceLoadingSpinnerModule>;
|
|
1714
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingSpinnerModule, never>;
|
|
1715
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceLoadingSpinnerModule, [typeof NiceLoadingSpinnerComponent, typeof NiceLoadingDirective], [typeof i2.CommonModule, typeof i10$1.MatProgressSpinnerModule], [typeof NiceLoadingSpinnerComponent, typeof NiceLoadingDirective]>;
|
|
1716
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceLoadingSpinnerModule>;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
interface NiceLoadingToastOptions {
|
|
1720
|
+
appearance?: NiceAlertAppearance;
|
|
1721
|
+
showIcon?: boolean;
|
|
1722
|
+
type?: NiceAlertType;
|
|
1723
|
+
color?: NiceAlertColor;
|
|
1724
|
+
}
|
|
1725
|
+
declare class NiceLoadingToastService {
|
|
1726
|
+
private options;
|
|
1727
|
+
private snackbar;
|
|
1728
|
+
private translateService;
|
|
1729
|
+
constructor(options: NiceLoadingToastOptions, snackbar: MatSnackBar, translateService: TranslateService);
|
|
1730
|
+
showLoadingToast(messageKey: string, params?: object): MatSnackBarRef<any>;
|
|
1731
|
+
private getTranslations;
|
|
1732
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingToastService, [{ optional: true; }, null, null]>;
|
|
1733
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceLoadingToastService>;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
interface NiceLoadingToastData {
|
|
1737
|
+
message: string;
|
|
1738
|
+
options?: NiceLoadingToastOptions;
|
|
1739
|
+
}
|
|
1740
|
+
declare class NiceLoadingToastComponent {
|
|
1741
|
+
data?: NiceLoadingToastData;
|
|
1742
|
+
message: string;
|
|
1743
|
+
options: NiceLoadingToastOptions;
|
|
1744
|
+
get appearance(): NiceAlertAppearance;
|
|
1745
|
+
get color(): NiceAlertColor;
|
|
1746
|
+
get showIcon(): boolean;
|
|
1747
|
+
get type(): NiceAlertType;
|
|
1748
|
+
constructor(data?: NiceLoadingToastData);
|
|
1749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingToastComponent, [{ optional: true; }]>;
|
|
1750
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingToastComponent, "nice-loading-toast", never, { "message": { "alias": "message"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
declare class NiceLoadingToastDirective {
|
|
1754
|
+
private options;
|
|
1755
|
+
private overlay;
|
|
1756
|
+
static ngAcceptInputType_niceLoadingDisableUserInteraction: BooleanInput;
|
|
1757
|
+
private overlayRef;
|
|
1758
|
+
private _loading;
|
|
1759
|
+
private _niceLoadingDisableUserInteraction;
|
|
1760
|
+
niceLoadingMessage: string;
|
|
1761
|
+
set niceLoadingDisableUserInteraction(disableUserInteraction: boolean);
|
|
1762
|
+
set loading(loading: boolean | null);
|
|
1763
|
+
constructor(options: NiceLoadingToastOptions, overlay: Overlay);
|
|
1764
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingToastDirective, [{ optional: true; }, null]>;
|
|
1765
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingToastDirective, "[niceLoadingToast]", never, { "niceLoadingMessage": { "alias": "niceLoadingMessage"; "required": false; }; "niceLoadingDisableUserInteraction": { "alias": "niceLoadingDisableUserInteraction"; "required": false; }; "loading": { "alias": "niceLoadingToast"; "required": false; }; }, {}, never, never, false, never>;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
declare class NiceLoadingToastModule {
|
|
1769
|
+
static forRoot(options?: NiceLoadingToastOptions): ModuleWithProviders<NiceLoadingToastModule>;
|
|
1770
|
+
static forFeature(options: NiceLoadingToastOptions): ModuleWithProviders<NiceLoadingToastModule>;
|
|
1771
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingToastModule, never>;
|
|
1772
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceLoadingToastModule, [typeof NiceLoadingToastComponent, typeof NiceLoadingToastDirective], [typeof i2.CommonModule, typeof i4$2.MatSnackBarModule, typeof i10$1.MatProgressSpinnerModule, typeof NiceAlertModule], [typeof NiceLoadingToastDirective]>;
|
|
1773
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceLoadingToastModule>;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
interface ShowLoadingToastOperatorOptions {
|
|
1777
|
+
minDuration?: number;
|
|
1778
|
+
}
|
|
1779
|
+
declare function showLoadingToast<T>(loadingToastService: NiceLoadingToastService, key: string, options?: ShowLoadingToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
1780
|
+
|
|
1781
|
+
declare class NiceLottieComponent implements OnInit, AfterViewInit {
|
|
1782
|
+
private platformId;
|
|
1783
|
+
private _options;
|
|
1784
|
+
private _lottie;
|
|
1785
|
+
options: any;
|
|
1786
|
+
width: number;
|
|
1787
|
+
height: number;
|
|
1788
|
+
animCreated: EventEmitter<any>;
|
|
1789
|
+
animationContainer: ElementRef;
|
|
1790
|
+
viewWidth: string;
|
|
1791
|
+
viewHeight: string;
|
|
1792
|
+
constructor(platformId: string);
|
|
1793
|
+
ngOnInit(): void;
|
|
1794
|
+
ngAfterViewInit(): Promise<void>;
|
|
1795
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLottieComponent, never>;
|
|
1796
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLottieComponent, "nice-lottie", never, { "options": { "alias": "options"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; }, { "animCreated": "animCreated"; }, never, never, false, never>;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
declare class NiceLottieModule {
|
|
1800
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLottieModule, never>;
|
|
1801
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceLottieModule, [typeof NiceLottieComponent], [typeof i2.CommonModule], [typeof NiceLottieComponent]>;
|
|
1802
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceLottieModule>;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1805
|
+
declare abstract class _HintComponentBase implements OnDestroy {
|
|
1806
|
+
private _changeDetectorRef;
|
|
1807
|
+
/** The timeout ID of any current timer set to show the tooltip */
|
|
1808
|
+
private _showTimeoutId;
|
|
1809
|
+
/** The timeout ID of any current timer set to hide the tooltip */
|
|
1810
|
+
private _hideTimeoutId;
|
|
1811
|
+
/** Element that caused the tooltip to open. */
|
|
1812
|
+
_triggerElement: HTMLElement;
|
|
1813
|
+
/** Amount of milliseconds to delay the closing sequence. */
|
|
1814
|
+
_mouseLeaveHideDelay: number;
|
|
1815
|
+
/** Reference to the internal tooltip element. */
|
|
1816
|
+
abstract _hint: ElementRef<HTMLElement>;
|
|
1817
|
+
/** Whether interactions on the page should close the tooltip */
|
|
1818
|
+
private _closeOnInteraction;
|
|
1819
|
+
/** Whether the tooltip is currently visible. */
|
|
1820
|
+
private _isVisible;
|
|
1821
|
+
/** Subject for notifying that the tooltip has been hidden from the view */
|
|
1822
|
+
private readonly _onHide;
|
|
1823
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
1824
|
+
/**
|
|
1825
|
+
* Shows the tooltip with an animation originating from the provided origin
|
|
1826
|
+
* @param delay Amount of milliseconds to the delay showing the tooltip.
|
|
1827
|
+
*/
|
|
1828
|
+
show(delay: number): void;
|
|
1829
|
+
/**
|
|
1830
|
+
* Begins the animation to hide the tooltip after the provided delay in ms.
|
|
1831
|
+
* @param delay Amount of milliseconds to delay showing the tooltip.
|
|
1832
|
+
*/
|
|
1833
|
+
hide(delay: number): void;
|
|
1834
|
+
/** Returns an observable that notifies when the tooltip has been hidden from view. */
|
|
1835
|
+
afterHidden(): Observable<void>;
|
|
1836
|
+
/** Whether the tooltip is being displayed. */
|
|
1837
|
+
isVisible(): boolean;
|
|
1838
|
+
ngOnDestroy(): void;
|
|
1839
|
+
/**
|
|
1840
|
+
* Interactions on the HTML body should close the tooltip immediately as defined in the
|
|
1841
|
+
* material design spec.
|
|
1842
|
+
* https://material.io/design/components/tooltips.html#behavior
|
|
1843
|
+
*/
|
|
1844
|
+
_handleBodyInteraction(): void;
|
|
1845
|
+
/**
|
|
1846
|
+
* Marks that the tooltip needs to be checked in the next change detection run.
|
|
1847
|
+
* Mainly used for rendering the initial text before positioning a tooltip, which
|
|
1848
|
+
* can be problematic in components with OnPush change detection.
|
|
1849
|
+
*/
|
|
1850
|
+
_markForCheck(): void;
|
|
1851
|
+
_handleMouseLeave({ relatedTarget }: MouseEvent): void;
|
|
1852
|
+
/**
|
|
1853
|
+
* Callback for when the timeout in this.show() gets completed.
|
|
1854
|
+
* This method is only needed by the mdc-tooltip, and so it is only implemented
|
|
1855
|
+
* in the mdc-tooltip, not here.
|
|
1856
|
+
*/
|
|
1857
|
+
protected _onShow(): void;
|
|
1858
|
+
/** Cancels any pending animation sequences. */
|
|
1859
|
+
_cancelPendingAnimations(): void;
|
|
1860
|
+
/** Handles the cleanup after an animation has finished. */
|
|
1861
|
+
private _finalizeAnimation;
|
|
1862
|
+
/** Toggles the visibility of the tooltip element. */
|
|
1863
|
+
private _toggleVisibility;
|
|
1864
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<_HintComponentBase, never>;
|
|
1865
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<_HintComponentBase, never, never, {}, {}, never, never, true, never>;
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
declare abstract class NavigationHideItemResolver {
|
|
1869
|
+
abstract shouldHide(item: NiceNavigationItem): Observable<boolean>;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
declare abstract class NavigationHintResolver {
|
|
1873
|
+
abstract shouldShowHint(): Observable<boolean>;
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
type IconType = "fontawesome" | "material" | "svg";
|
|
1877
|
+
interface NiceNavigationItem {
|
|
1878
|
+
id?: string;
|
|
1879
|
+
title?: string;
|
|
1880
|
+
subtitle?: string;
|
|
1881
|
+
type: "aside" | "basic" | "collapsable" | "divider" | "group" | "spacer";
|
|
1882
|
+
hidden?: Type<NavigationHideItemResolver> | ((item: NiceNavigationItem) => boolean) | boolean;
|
|
1883
|
+
active?: boolean;
|
|
1884
|
+
disabled?: boolean;
|
|
1885
|
+
link?: string;
|
|
1886
|
+
externalLink?: boolean;
|
|
1887
|
+
exactMatch?: boolean;
|
|
1888
|
+
queryParams?: any;
|
|
1889
|
+
state?: any;
|
|
1890
|
+
function?: (item: NiceNavigationItem) => void;
|
|
1891
|
+
classes?: {
|
|
1892
|
+
title?: string;
|
|
1893
|
+
subtitle?: string;
|
|
1894
|
+
icon?: string;
|
|
1895
|
+
wrapper?: string;
|
|
1896
|
+
};
|
|
1897
|
+
icon?: string;
|
|
1898
|
+
activeIcon?: string;
|
|
1899
|
+
iconType?: IconType;
|
|
1900
|
+
badge?: {
|
|
1901
|
+
title?: string;
|
|
1902
|
+
classes?: string;
|
|
1903
|
+
};
|
|
1904
|
+
children?: NiceNavigationItem[];
|
|
1905
|
+
meta?: any;
|
|
1906
|
+
hint?: {
|
|
1907
|
+
resolver: Type<NavigationHintResolver>;
|
|
1908
|
+
component: Type<any>;
|
|
1909
|
+
};
|
|
1910
|
+
tooltip?: string;
|
|
1911
|
+
}
|
|
1912
|
+
type NiceVerticalNavigationAppearance = "default" | "compact" | "dense" | "thin";
|
|
1913
|
+
type NiceVerticalNavigationMode = "over" | "side";
|
|
1914
|
+
type NiceVerticalNavigationPosition = "left" | "right";
|
|
1915
|
+
|
|
1916
|
+
declare class NiceNavigationService implements OnDestroy {
|
|
1917
|
+
private router;
|
|
1918
|
+
private _onNavigationChanged;
|
|
1919
|
+
private _onNavigationRegistered;
|
|
1920
|
+
private _onNavigationUnregistered;
|
|
1921
|
+
private _defaultNavigationKey;
|
|
1922
|
+
private _currentNavigationKey;
|
|
1923
|
+
private _componentRegistry;
|
|
1924
|
+
private _navigationStore;
|
|
1925
|
+
protected _unsubscribeAll: Subject<any>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Constructor
|
|
1928
|
+
*/
|
|
1929
|
+
constructor(router: Router);
|
|
1930
|
+
get onNavigationChanged(): Observable<any>;
|
|
1931
|
+
get onNavigationRegistered(): Observable<any>;
|
|
1932
|
+
get onNavigationUnregistered(): Observable<any>;
|
|
1933
|
+
ngOnDestroy(): void;
|
|
1934
|
+
/**
|
|
1935
|
+
* Register navigation component
|
|
1936
|
+
*/
|
|
1937
|
+
registerComponent(name: string, component: any): void;
|
|
1938
|
+
/**
|
|
1939
|
+
* Deregister navigation component
|
|
1940
|
+
*/
|
|
1941
|
+
deregisterComponent(name: string): void;
|
|
1942
|
+
/**
|
|
1943
|
+
* Get navigation component from the registry
|
|
1944
|
+
*/
|
|
1945
|
+
getComponent(name: string): any;
|
|
1946
|
+
/**
|
|
1947
|
+
* Store the given navigation with the given key
|
|
1948
|
+
*/
|
|
1949
|
+
storeNavigation(key: string, navigation: NiceNavigationItem[], isDefault?: boolean): void;
|
|
1950
|
+
/**
|
|
1951
|
+
* Get navigation from storage by key
|
|
1952
|
+
*/
|
|
1953
|
+
getNavigation(key: string): NiceNavigationItem[];
|
|
1954
|
+
/**
|
|
1955
|
+
* Delete the navigation from the storage
|
|
1956
|
+
*/
|
|
1957
|
+
deleteNavigation(key: string): void;
|
|
1958
|
+
/**
|
|
1959
|
+
* Utility function that returns a flattened
|
|
1960
|
+
* version of the given navigation array
|
|
1961
|
+
*/
|
|
1962
|
+
getFlatNavigation(navigation: NiceNavigationItem[], flatNavigation?: NiceNavigationItem[]): NiceNavigationItem[];
|
|
1963
|
+
/**
|
|
1964
|
+
* Utility function that returns the item
|
|
1965
|
+
* with the given id from given navigation
|
|
1966
|
+
*/
|
|
1967
|
+
getItem(id: string, navigation: NiceNavigationItem[]): NiceNavigationItem | null;
|
|
1968
|
+
/**
|
|
1969
|
+
* Utility function that returns the item's parent
|
|
1970
|
+
* with the given id from given navigation
|
|
1971
|
+
*/
|
|
1972
|
+
getItemParent(id: string, navigation: NiceNavigationItem[], parent: NiceNavigationItem[] | NiceNavigationItem): NiceNavigationItem[] | NiceNavigationItem | null;
|
|
1973
|
+
getCurrentNavigation(): NiceNavigationItem[];
|
|
1974
|
+
setCurrentNavigation(key: string): void;
|
|
1975
|
+
private listenOnRouteChange;
|
|
1976
|
+
private lastChild;
|
|
1977
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationService, never>;
|
|
1978
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceNavigationService>;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
declare class NiceTranslationContextService {
|
|
1982
|
+
private _context;
|
|
1983
|
+
get context(): Record<string, any>;
|
|
1984
|
+
set context(context: Record<string, any>);
|
|
1985
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslationContextService, never>;
|
|
1986
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceTranslationContextService>;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
declare class NiceNavigationComponent implements OnInit, OnDestroy, OnChanges {
|
|
1990
|
+
protected _changeDetectorRef: ChangeDetectorRef;
|
|
1991
|
+
protected _niceNavigationService: NiceNavigationService;
|
|
1992
|
+
protected _niceUtilsService: NiceUtilsService;
|
|
1993
|
+
protected _translationContext: NiceTranslationContextService;
|
|
1994
|
+
protected _navigation: NiceNavigationItem[];
|
|
1995
|
+
protected _unsubscribeAll: Subject<any>;
|
|
1996
|
+
animateNextNavChange: boolean;
|
|
1997
|
+
onRefreshed: ReplaySubject<boolean>;
|
|
1998
|
+
name: string;
|
|
1999
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _translationContext: NiceTranslationContextService);
|
|
2000
|
+
ngOnInit(): void;
|
|
2001
|
+
ngOnDestroy(): void;
|
|
2002
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2003
|
+
/**
|
|
2004
|
+
* Refresh the component to apply the changes
|
|
2005
|
+
*/
|
|
2006
|
+
refresh(): void;
|
|
2007
|
+
/**
|
|
2008
|
+
* Track by function for ngFor loops
|
|
2009
|
+
*/
|
|
2010
|
+
trackByFn(index: number, item: any): any;
|
|
2011
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationComponent, never>;
|
|
2012
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
declare class NiceHorizontalNavigationComponent extends NiceNavigationComponent {
|
|
2016
|
+
name: string;
|
|
2017
|
+
showTooltips: boolean;
|
|
2018
|
+
tooltipPosition: TooltipPosition;
|
|
2019
|
+
translationContext: Record<string, any>;
|
|
2020
|
+
set navigation(navigation: NiceNavigationItem[]);
|
|
2021
|
+
get navigation(): NiceNavigationItem[];
|
|
2022
|
+
/**
|
|
2023
|
+
* Constructor
|
|
2024
|
+
*/
|
|
2025
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _translationContextService: NiceTranslationContextService);
|
|
2026
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationComponent, never>;
|
|
2027
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "translationContext": { "alias": "translationContext"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; }, {}, never, never, false, never>;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
2030
|
+
declare class NiceHorizontalNavigationBasicItemComponent implements OnInit, OnDestroy {
|
|
2031
|
+
private _changeDetectorRef;
|
|
2032
|
+
private _niceNavigationService;
|
|
2033
|
+
private _niceHorizontalNavigationComponent;
|
|
2034
|
+
private _unsubscribeAll;
|
|
2035
|
+
item: NiceNavigationItem;
|
|
2036
|
+
name: string;
|
|
2037
|
+
showTooltips: boolean;
|
|
2038
|
+
tooltipPosition: TooltipPosition;
|
|
2039
|
+
/**
|
|
2040
|
+
* Constructor
|
|
2041
|
+
*/
|
|
2042
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2043
|
+
/**
|
|
2044
|
+
* On init
|
|
2045
|
+
*/
|
|
2046
|
+
ngOnInit(): void;
|
|
2047
|
+
/**
|
|
2048
|
+
* On destroy
|
|
2049
|
+
*/
|
|
2050
|
+
ngOnDestroy(): void;
|
|
2051
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBasicItemComponent, never>;
|
|
2052
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBasicItemComponent, "nice-horizontal-navigation-basic-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
2055
|
+
declare class NiceHorizontalNavigationBranchItemComponent implements OnInit, OnDestroy {
|
|
2056
|
+
private _changeDetectorRef;
|
|
2057
|
+
private _niceNavigationService;
|
|
2058
|
+
static ngAcceptInputType_child: BooleanInput;
|
|
2059
|
+
private _niceHorizontalNavigationComponent;
|
|
2060
|
+
private _unsubscribeAll;
|
|
2061
|
+
child: boolean;
|
|
2062
|
+
item: NiceNavigationItem;
|
|
2063
|
+
name: string;
|
|
2064
|
+
matMenu: MatMenu;
|
|
2065
|
+
showTooltips: boolean;
|
|
2066
|
+
tooltipPosition: TooltipPosition;
|
|
2067
|
+
/**
|
|
2068
|
+
* Constructor
|
|
2069
|
+
*/
|
|
2070
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2071
|
+
/**
|
|
2072
|
+
* On init
|
|
2073
|
+
*/
|
|
2074
|
+
ngOnInit(): void;
|
|
2075
|
+
/**
|
|
2076
|
+
* On destroy
|
|
2077
|
+
*/
|
|
2078
|
+
ngOnDestroy(): void;
|
|
2079
|
+
/**
|
|
2080
|
+
* Trigger the change detection
|
|
2081
|
+
*/
|
|
2082
|
+
triggerChangeDetection(): void;
|
|
2083
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBranchItemComponent, never>;
|
|
2084
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBranchItemComponent, "nice-horizontal-navigation-branch-item", never, { "child": { "alias": "child"; "required": false; }; "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
declare class NiceHorizontalNavigationDividerItemComponent implements OnInit, OnDestroy {
|
|
2088
|
+
private _changeDetectorRef;
|
|
2089
|
+
private _niceNavigationService;
|
|
2090
|
+
private _niceHorizontalNavigationComponent;
|
|
2091
|
+
private _unsubscribeAll;
|
|
2092
|
+
item: NiceNavigationItem;
|
|
2093
|
+
name: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* Constructor
|
|
2096
|
+
*/
|
|
2097
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2098
|
+
/**
|
|
2099
|
+
* On init
|
|
2100
|
+
*/
|
|
2101
|
+
ngOnInit(): void;
|
|
2102
|
+
/**
|
|
2103
|
+
* On destroy
|
|
2104
|
+
*/
|
|
2105
|
+
ngOnDestroy(): void;
|
|
2106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationDividerItemComponent, never>;
|
|
2107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationDividerItemComponent, "nice-horizontal-navigation-divider-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
declare class NiceHorizontalNavigationSpacerItemComponent implements OnInit, OnDestroy {
|
|
2111
|
+
private _changeDetectorRef;
|
|
2112
|
+
private _niceNavigationService;
|
|
2113
|
+
private _niceHorizontalNavigationComponent;
|
|
2114
|
+
private _unsubscribeAll;
|
|
2115
|
+
item: NiceNavigationItem;
|
|
2116
|
+
name: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* Constructor
|
|
2119
|
+
*/
|
|
2120
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2121
|
+
/**
|
|
2122
|
+
* On init
|
|
2123
|
+
*/
|
|
2124
|
+
ngOnInit(): void;
|
|
2125
|
+
/**
|
|
2126
|
+
* On destroy
|
|
2127
|
+
*/
|
|
2128
|
+
ngOnDestroy(): void;
|
|
2129
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationSpacerItemComponent, never>;
|
|
2130
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
declare class ScrollbarGeometry {
|
|
2134
|
+
x: number;
|
|
2135
|
+
y: number;
|
|
2136
|
+
w: number;
|
|
2137
|
+
h: number;
|
|
2138
|
+
constructor(x: number, y: number, w: number, h: number);
|
|
2139
|
+
}
|
|
2140
|
+
declare class ScrollbarPosition {
|
|
2141
|
+
x: number | "start" | "end";
|
|
2142
|
+
y: number | "start" | "end";
|
|
2143
|
+
constructor(x: number | "start" | "end", y: number | "start" | "end");
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Wrapper directive for the Perfect Scrollbar: https://github.com/mdbootstrap/perfect-scrollbar
|
|
2148
|
+
*/
|
|
2149
|
+
declare class NiceScrollbarDirective implements OnChanges, OnInit, OnDestroy {
|
|
2150
|
+
private _elementRef;
|
|
2151
|
+
private _platform;
|
|
2152
|
+
private _router;
|
|
2153
|
+
static ngAcceptInputType_niceScrollbar: BooleanInput;
|
|
2154
|
+
private _animation;
|
|
2155
|
+
private _options;
|
|
2156
|
+
private _ps;
|
|
2157
|
+
private _unsubscribeAll;
|
|
2158
|
+
niceScrollbar: boolean;
|
|
2159
|
+
niceScrollbarOptions: PerfectScrollbar.Options;
|
|
2160
|
+
/**
|
|
2161
|
+
* Constructor
|
|
2162
|
+
*/
|
|
2163
|
+
constructor(_elementRef: ElementRef, _platform: Platform, _router: Router);
|
|
2164
|
+
/**
|
|
2165
|
+
* Getter for _elementRef
|
|
2166
|
+
*/
|
|
2167
|
+
get elementRef(): ElementRef;
|
|
2168
|
+
/**
|
|
2169
|
+
* Getter for _ps
|
|
2170
|
+
*/
|
|
2171
|
+
get ps(): PerfectScrollbar | null;
|
|
2172
|
+
/**
|
|
2173
|
+
* On changes
|
|
2174
|
+
*/
|
|
2175
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2176
|
+
/**
|
|
2177
|
+
* On init
|
|
2178
|
+
*/
|
|
2179
|
+
ngOnInit(): void;
|
|
2180
|
+
/**
|
|
2181
|
+
* On destroy
|
|
2182
|
+
*/
|
|
2183
|
+
ngOnDestroy(): void;
|
|
2184
|
+
/**
|
|
2185
|
+
* Is enabled
|
|
2186
|
+
*/
|
|
2187
|
+
isEnabled(): boolean;
|
|
2188
|
+
/**
|
|
2189
|
+
* Update the scrollbar
|
|
2190
|
+
*/
|
|
2191
|
+
update(): void;
|
|
2192
|
+
/**
|
|
2193
|
+
* Destroy the scrollbar
|
|
2194
|
+
*/
|
|
2195
|
+
destroy(): void;
|
|
2196
|
+
/**
|
|
2197
|
+
* Returns the geometry of the scrollable element
|
|
2198
|
+
*/
|
|
2199
|
+
geometry(prefix?: string): ScrollbarGeometry;
|
|
2200
|
+
/**
|
|
2201
|
+
* Returns the position of the scrollable element
|
|
2202
|
+
*/
|
|
2203
|
+
position(absolute?: boolean): ScrollbarPosition;
|
|
2204
|
+
/**
|
|
2205
|
+
* Scroll to
|
|
2206
|
+
*/
|
|
2207
|
+
scrollTo(x: number, y?: number, speed?: number): void;
|
|
2208
|
+
/**
|
|
2209
|
+
* Scroll to X
|
|
2210
|
+
*/
|
|
2211
|
+
scrollToX(x: number, speed?: number): void;
|
|
2212
|
+
/**
|
|
2213
|
+
* Scroll to Y
|
|
2214
|
+
*/
|
|
2215
|
+
scrollToY(y: number, speed?: number): void;
|
|
2216
|
+
/**
|
|
2217
|
+
* Scroll to top
|
|
2218
|
+
*/
|
|
2219
|
+
scrollToTop(offset?: number, speed?: number): void;
|
|
2220
|
+
/**
|
|
2221
|
+
* Scroll to bottom
|
|
2222
|
+
*/
|
|
2223
|
+
scrollToBottom(offset?: number, speed?: number): void;
|
|
2224
|
+
/**
|
|
2225
|
+
* Scroll to left
|
|
2226
|
+
*/
|
|
2227
|
+
scrollToLeft(offset?: number, speed?: number): void;
|
|
2228
|
+
/**
|
|
2229
|
+
* Scroll to right
|
|
2230
|
+
*/
|
|
2231
|
+
scrollToRight(offset?: number, speed?: number): void;
|
|
2232
|
+
/**
|
|
2233
|
+
* Scroll to element
|
|
2234
|
+
*/
|
|
2235
|
+
scrollToElement(qs: string, offset?: number, ignoreVisible?: boolean, speed?: number): void;
|
|
2236
|
+
/**
|
|
2237
|
+
* Animate scrolling
|
|
2238
|
+
*/
|
|
2239
|
+
animateScrolling(target: string, value: number, speed?: number): void;
|
|
2240
|
+
/**
|
|
2241
|
+
* Initialize
|
|
2242
|
+
*/
|
|
2243
|
+
private _init;
|
|
2244
|
+
/**
|
|
2245
|
+
* Destroy
|
|
2246
|
+
*/
|
|
2247
|
+
private _destroy;
|
|
2248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollbarDirective, never>;
|
|
2249
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollbarDirective, "[niceScrollbar]", ["niceScrollbar"], { "niceScrollbar": { "alias": "niceScrollbar"; "required": false; }; "niceScrollbarOptions": { "alias": "niceScrollbarOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
declare class NiceScrollbarModule {
|
|
2253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollbarModule, never>;
|
|
2254
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceScrollbarModule, [typeof NiceScrollbarDirective], never, [typeof NiceScrollbarDirective]>;
|
|
2255
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceScrollbarModule>;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
declare class NiceNavigationHintService {
|
|
2259
|
+
hasActiveHint$: BehaviorSubject<boolean>;
|
|
2260
|
+
get hasActiveHint(): boolean;
|
|
2261
|
+
setActiveHint(isActive: boolean): void;
|
|
2262
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationHintService, never>;
|
|
2263
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceNavigationHintService>;
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
declare class NiceVerticalNavigationComponent extends NiceNavigationComponent implements OnChanges, OnInit, AfterViewInit {
|
|
2267
|
+
private _animationBuilder;
|
|
2268
|
+
private _elementRef;
|
|
2269
|
+
private _renderer2;
|
|
2270
|
+
private _router;
|
|
2271
|
+
private _scrollStrategyOptions;
|
|
2272
|
+
private _hintService;
|
|
2273
|
+
static ngAcceptInputType_inner: BooleanInput;
|
|
2274
|
+
static ngAcceptInputType_opened: BooleanInput;
|
|
2275
|
+
static ngAcceptInputType_transparentOverlay: BooleanInput;
|
|
2276
|
+
private _forceHovered;
|
|
2277
|
+
private _animationsEnabled;
|
|
2278
|
+
private _asideOverlay;
|
|
2279
|
+
private readonly _handleAsideOverlayClick;
|
|
2280
|
+
private readonly _handleOverlayClick;
|
|
2281
|
+
private _overlay;
|
|
2282
|
+
private _player;
|
|
2283
|
+
private _scrollStrategy;
|
|
2284
|
+
private _niceScrollbarDirectives;
|
|
2285
|
+
private _niceScrollbarDirectivesSubscription;
|
|
2286
|
+
name: string;
|
|
2287
|
+
appearance: NiceVerticalNavigationAppearance;
|
|
2288
|
+
autoCollapse: boolean;
|
|
2289
|
+
inner: boolean;
|
|
2290
|
+
mode: NiceVerticalNavigationMode;
|
|
2291
|
+
opened: boolean;
|
|
2292
|
+
hovered: boolean;
|
|
2293
|
+
hasHint: boolean;
|
|
2294
|
+
position: NiceVerticalNavigationPosition;
|
|
2295
|
+
showTooltips: boolean;
|
|
2296
|
+
transparentOverlay: boolean;
|
|
2297
|
+
tooltipPosition: TooltipPosition;
|
|
2298
|
+
translationContext: Record<string, any>;
|
|
2299
|
+
readonly appearanceChanged: EventEmitter<NiceVerticalNavigationAppearance>;
|
|
2300
|
+
readonly modeChanged: EventEmitter<NiceVerticalNavigationMode>;
|
|
2301
|
+
readonly openedChanged: EventEmitter<boolean>;
|
|
2302
|
+
readonly hoveredChanged: EventEmitter<boolean>;
|
|
2303
|
+
readonly positionChanged: EventEmitter<NiceVerticalNavigationPosition>;
|
|
2304
|
+
private _navigationContentEl;
|
|
2305
|
+
set navigation(navigation: NiceNavigationItem[]);
|
|
2306
|
+
get navigation(): NiceNavigationItem[];
|
|
2307
|
+
set forceHovered(forceHovered: boolean);
|
|
2308
|
+
activeAsideItemId: string | null;
|
|
2309
|
+
onCollapsableItemCollapsed: ReplaySubject<NiceNavigationItem>;
|
|
2310
|
+
onCollapsableItemExpanded: ReplaySubject<NiceNavigationItem>;
|
|
2311
|
+
/**
|
|
2312
|
+
* Constructor
|
|
2313
|
+
*/
|
|
2314
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _translationContextService: NiceTranslationContextService, _animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions, _hintService: NiceNavigationHintService);
|
|
2315
|
+
/**
|
|
2316
|
+
* Host binding for component classes
|
|
2317
|
+
*/
|
|
2318
|
+
get classList(): any;
|
|
2319
|
+
/**
|
|
2320
|
+
* Host binding for component inline styles
|
|
2321
|
+
*/
|
|
2322
|
+
get styleList(): any;
|
|
2323
|
+
/**
|
|
2324
|
+
* Setter for niceScrollbarDirectives
|
|
2325
|
+
*/
|
|
2326
|
+
set niceScrollbarDirectives(niceScrollbarDirectives: QueryList<NiceScrollbarDirective>);
|
|
2327
|
+
/**
|
|
2328
|
+
* On changes
|
|
2329
|
+
*
|
|
2330
|
+
* @param changes
|
|
2331
|
+
*/
|
|
2332
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2333
|
+
/**
|
|
2334
|
+
* On init
|
|
2335
|
+
*/
|
|
2336
|
+
ngOnInit(): void;
|
|
2337
|
+
/**
|
|
2338
|
+
* After view init
|
|
2339
|
+
*/
|
|
2340
|
+
ngAfterViewInit(): void;
|
|
2341
|
+
/**
|
|
2342
|
+
* Open the navigation
|
|
2343
|
+
*/
|
|
2344
|
+
open(): void;
|
|
2345
|
+
/**
|
|
2346
|
+
* Close the navigation
|
|
2347
|
+
*/
|
|
2348
|
+
close(): void;
|
|
2349
|
+
/**
|
|
2350
|
+
* Toggle the navigation
|
|
2351
|
+
*/
|
|
2352
|
+
toggle(): void;
|
|
2353
|
+
/**
|
|
2354
|
+
* Open the aside
|
|
2355
|
+
*/
|
|
2356
|
+
openAside(item: NiceNavigationItem): void;
|
|
2357
|
+
/**
|
|
2358
|
+
* Close the aside
|
|
2359
|
+
*/
|
|
2360
|
+
closeAside(): void;
|
|
2361
|
+
/**
|
|
2362
|
+
* Toggle the aside
|
|
2363
|
+
*/
|
|
2364
|
+
toggleAside(item: NiceNavigationItem): void;
|
|
2365
|
+
/**
|
|
2366
|
+
* Enable the animations
|
|
2367
|
+
*
|
|
2368
|
+
* @private
|
|
2369
|
+
*/
|
|
2370
|
+
private _enableAnimations;
|
|
2371
|
+
/**
|
|
2372
|
+
* Disable the animations
|
|
2373
|
+
*
|
|
2374
|
+
* @private
|
|
2375
|
+
*/
|
|
2376
|
+
private _disableAnimations;
|
|
2377
|
+
/**
|
|
2378
|
+
* Show the overlay
|
|
2379
|
+
*
|
|
2380
|
+
* @private
|
|
2381
|
+
*/
|
|
2382
|
+
private _showOverlay;
|
|
2383
|
+
/**
|
|
2384
|
+
* Hide the overlay
|
|
2385
|
+
*
|
|
2386
|
+
* @private
|
|
2387
|
+
*/
|
|
2388
|
+
private _hideOverlay;
|
|
2389
|
+
/**
|
|
2390
|
+
* Show the aside overlay
|
|
2391
|
+
*
|
|
2392
|
+
* @private
|
|
2393
|
+
*/
|
|
2394
|
+
private _showAsideOverlay;
|
|
2395
|
+
/**
|
|
2396
|
+
* Hide the aside overlay
|
|
2397
|
+
*
|
|
2398
|
+
* @private
|
|
2399
|
+
*/
|
|
2400
|
+
private _hideAsideOverlay;
|
|
2401
|
+
/**
|
|
2402
|
+
* On mouseenter
|
|
2403
|
+
*/
|
|
2404
|
+
_onMouseenter(): void;
|
|
2405
|
+
/**
|
|
2406
|
+
* On mouseleave
|
|
2407
|
+
*/
|
|
2408
|
+
_onMouseleave(): void;
|
|
2409
|
+
/**
|
|
2410
|
+
* Open/close the navigation
|
|
2411
|
+
*
|
|
2412
|
+
* @param open
|
|
2413
|
+
* @private
|
|
2414
|
+
*/
|
|
2415
|
+
private _toggleOpened;
|
|
2416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationComponent, never>;
|
|
2417
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationComponent, "nice-vertical-navigation", ["niceVerticalNavigation"], { "name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "hovered": { "alias": "hovered"; "required": false; }; "hasHint": { "alias": "hasHint"; "required": false; }; "position": { "alias": "position"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "translationContext": { "alias": "translationContext"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "hoveredChanged": "hoveredChanged"; "positionChanged": "positionChanged"; }, never, ["[niceVerticalNavigationHeader]", "[niceVerticalNavigationContentHeader]", "[niceVerticalNavigationContentFooter]", "[niceVerticalNavigationFooter]"], false, never>;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
declare class NiceVerticalNavigationAsideItemComponent implements OnChanges, OnInit, OnDestroy {
|
|
2421
|
+
private _changeDetectorRef;
|
|
2422
|
+
private _router;
|
|
2423
|
+
private _niceNavigationService;
|
|
2424
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
2425
|
+
static ngAcceptInputType_skipChildren: BooleanInput;
|
|
2426
|
+
private _niceVerticalNavigationComponent;
|
|
2427
|
+
private _unsubscribeAll;
|
|
2428
|
+
activeItemId: string;
|
|
2429
|
+
autoCollapse: boolean;
|
|
2430
|
+
item: NiceNavigationItem;
|
|
2431
|
+
name: string;
|
|
2432
|
+
showTooltips: boolean;
|
|
2433
|
+
skipChildren: boolean;
|
|
2434
|
+
tooltipPosition: TooltipPosition;
|
|
2435
|
+
active: boolean;
|
|
2436
|
+
/**
|
|
2437
|
+
* Constructor
|
|
2438
|
+
*/
|
|
2439
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _router: Router, _niceNavigationService: NiceNavigationService);
|
|
2440
|
+
/**
|
|
2441
|
+
* On changes
|
|
2442
|
+
*/
|
|
2443
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
2444
|
+
/**
|
|
2445
|
+
* On init
|
|
2446
|
+
*/
|
|
2447
|
+
ngOnInit(): void;
|
|
2448
|
+
/**
|
|
2449
|
+
* On destroy
|
|
2450
|
+
*/
|
|
2451
|
+
ngOnDestroy(): void;
|
|
2452
|
+
/**
|
|
2453
|
+
* Check if the given item has the given url
|
|
2454
|
+
* in one of its children
|
|
2455
|
+
*/
|
|
2456
|
+
private _hasActiveChild;
|
|
2457
|
+
/**
|
|
2458
|
+
* Decide and mark if the item is active
|
|
2459
|
+
*/
|
|
2460
|
+
private _markIfActive;
|
|
2461
|
+
/**
|
|
2462
|
+
* Track by function for ngFor loops
|
|
2463
|
+
*/
|
|
2464
|
+
trackByFn(index: number, item: any): any;
|
|
2465
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationAsideItemComponent, never>;
|
|
2466
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationAsideItemComponent, "nice-vertical-navigation-aside-item", never, { "activeItemId": { "alias": "activeItemId"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "skipChildren": { "alias": "skipChildren"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
declare class NiceVerticalNavigationBasicItemComponent implements OnInit, OnDestroy {
|
|
2470
|
+
private _changeDetectorRef;
|
|
2471
|
+
private _niceNavigationService;
|
|
2472
|
+
private _niceUtilsService;
|
|
2473
|
+
private _route;
|
|
2474
|
+
private _router;
|
|
2475
|
+
private _niceVerticalNavigationComponent;
|
|
2476
|
+
private _unsubscribeAll;
|
|
2477
|
+
item: NiceNavigationItem;
|
|
2478
|
+
name: string;
|
|
2479
|
+
showTooltips: boolean;
|
|
2480
|
+
tooltipPosition: TooltipPosition;
|
|
2481
|
+
itemActive$: rxjs.Observable<boolean>;
|
|
2482
|
+
/**
|
|
2483
|
+
* Constructor
|
|
2484
|
+
*/
|
|
2485
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _route: ActivatedRoute, _router: Router);
|
|
2486
|
+
/**
|
|
2487
|
+
* On init
|
|
2488
|
+
*/
|
|
2489
|
+
ngOnInit(): void;
|
|
2490
|
+
/**
|
|
2491
|
+
* On destroy
|
|
2492
|
+
*/
|
|
2493
|
+
ngOnDestroy(): void;
|
|
2494
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationBasicItemComponent, never>;
|
|
2495
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationBasicItemComponent, "nice-vertical-navigation-basic-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2496
|
+
}
|
|
2497
|
+
|
|
2498
|
+
declare class NiceVerticalNavigationCollapsableItemComponent implements OnInit, OnDestroy {
|
|
2499
|
+
private _changeDetectorRef;
|
|
2500
|
+
private _router;
|
|
2501
|
+
private _niceNavigationService;
|
|
2502
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
2503
|
+
private _niceVerticalNavigationComponent;
|
|
2504
|
+
private _unsubscribeAll;
|
|
2505
|
+
autoCollapse: boolean;
|
|
2506
|
+
item: NiceNavigationItem;
|
|
2507
|
+
name: string;
|
|
2508
|
+
showTooltips: boolean;
|
|
2509
|
+
tooltipPosition: TooltipPosition;
|
|
2510
|
+
isCollapsed: boolean;
|
|
2511
|
+
isExpanded: boolean;
|
|
2512
|
+
hasChildActivated$: BehaviorSubject<boolean>;
|
|
2513
|
+
/**
|
|
2514
|
+
* Constructor
|
|
2515
|
+
*/
|
|
2516
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _router: Router, _niceNavigationService: NiceNavigationService);
|
|
2517
|
+
/**
|
|
2518
|
+
* Host binding for component classes
|
|
2519
|
+
*/
|
|
2520
|
+
get classList(): any;
|
|
2521
|
+
/**
|
|
2522
|
+
* On init
|
|
2523
|
+
*/
|
|
2524
|
+
ngOnInit(): void;
|
|
2525
|
+
/**
|
|
2526
|
+
* On destroy
|
|
2527
|
+
*/
|
|
2528
|
+
ngOnDestroy(): void;
|
|
2529
|
+
/**
|
|
2530
|
+
* Check if the given item has the given url
|
|
2531
|
+
* in one of its children
|
|
2532
|
+
*/
|
|
2533
|
+
private _hasActiveChild;
|
|
2534
|
+
/**
|
|
2535
|
+
* Check if this is a children
|
|
2536
|
+
* of the given item
|
|
2537
|
+
*/
|
|
2538
|
+
private _isChildrenOf;
|
|
2539
|
+
/**
|
|
2540
|
+
* Collapse
|
|
2541
|
+
*/
|
|
2542
|
+
collapse(): void;
|
|
2543
|
+
/**
|
|
2544
|
+
* Expand
|
|
2545
|
+
*/
|
|
2546
|
+
expand(): void;
|
|
2547
|
+
/**
|
|
2548
|
+
* Toggle collapsable
|
|
2549
|
+
*/
|
|
2550
|
+
toggleCollapsable(): void;
|
|
2551
|
+
/**
|
|
2552
|
+
* Track by function for ngFor loops
|
|
2553
|
+
*/
|
|
2554
|
+
trackByFn(index: number, item: any): any;
|
|
2555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationCollapsableItemComponent, never>;
|
|
2556
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationCollapsableItemComponent, "nice-vertical-navigation-collapsable-item", never, { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
declare class NiceVerticalNavigationDividerItemComponent implements OnInit, OnDestroy {
|
|
2560
|
+
private _changeDetectorRef;
|
|
2561
|
+
private _niceNavigationService;
|
|
2562
|
+
private _niceVerticalNavigationComponent;
|
|
2563
|
+
private _unsubscribeAll;
|
|
2564
|
+
item: NiceNavigationItem;
|
|
2565
|
+
name: string;
|
|
2566
|
+
/**
|
|
2567
|
+
* Constructor
|
|
2568
|
+
*/
|
|
2569
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2570
|
+
/**
|
|
2571
|
+
* On init
|
|
2572
|
+
*/
|
|
2573
|
+
ngOnInit(): void;
|
|
2574
|
+
/**
|
|
2575
|
+
* On destroy
|
|
2576
|
+
*/
|
|
2577
|
+
ngOnDestroy(): void;
|
|
2578
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationDividerItemComponent, never>;
|
|
2579
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationDividerItemComponent, "nice-vertical-navigation-divider-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
declare class NiceVerticalNavigationGroupItemComponent implements OnInit, OnDestroy {
|
|
2583
|
+
private _changeDetectorRef;
|
|
2584
|
+
private _niceNavigationService;
|
|
2585
|
+
static ngAcceptInputType_autoCollapse: BooleanInput;
|
|
2586
|
+
private _niceVerticalNavigationComponent;
|
|
2587
|
+
private _unsubscribeAll;
|
|
2588
|
+
autoCollapse: boolean;
|
|
2589
|
+
item: NiceNavigationItem;
|
|
2590
|
+
name: string;
|
|
2591
|
+
showTooltips: boolean;
|
|
2592
|
+
tooltipPosition: TooltipPosition;
|
|
2593
|
+
/**
|
|
2594
|
+
* Constructor
|
|
2595
|
+
*/
|
|
2596
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2597
|
+
/**
|
|
2598
|
+
* On init
|
|
2599
|
+
*/
|
|
2600
|
+
ngOnInit(): void;
|
|
2601
|
+
/**
|
|
2602
|
+
* On destroy
|
|
2603
|
+
*/
|
|
2604
|
+
ngOnDestroy(): void;
|
|
2605
|
+
/**
|
|
2606
|
+
* Track by function for ngFor loops
|
|
2607
|
+
*/
|
|
2608
|
+
trackByFn(index: number, item: any): any;
|
|
2609
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationGroupItemComponent, never>;
|
|
2610
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationGroupItemComponent, "nice-vertical-navigation-group-item", never, { "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; "showTooltips": { "alias": "showTooltips"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
2611
|
+
}
|
|
2612
|
+
|
|
2613
|
+
declare class NiceVerticalNavigationSpacerItemComponent implements OnInit, OnDestroy {
|
|
2614
|
+
private _changeDetectorRef;
|
|
2615
|
+
private _niceNavigationService;
|
|
2616
|
+
private _niceVerticalNavigationComponent;
|
|
2617
|
+
private _unsubscribeAll;
|
|
2618
|
+
item: NiceNavigationItem;
|
|
2619
|
+
name: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* Constructor
|
|
2622
|
+
*/
|
|
2623
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService);
|
|
2624
|
+
/**
|
|
2625
|
+
* On init
|
|
2626
|
+
*/
|
|
2627
|
+
ngOnInit(): void;
|
|
2628
|
+
/**
|
|
2629
|
+
* On destroy
|
|
2630
|
+
*/
|
|
2631
|
+
ngOnDestroy(): void;
|
|
2632
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationSpacerItemComponent, never>;
|
|
2633
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationSpacerItemComponent, "nice-vertical-navigation-spacer-item", never, { "item": { "alias": "item"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
declare class NiceShouldHidePipe implements PipeTransform {
|
|
2637
|
+
private injector;
|
|
2638
|
+
constructor(injector: Injector);
|
|
2639
|
+
transform(value: NiceNavigationItem): Observable<boolean>;
|
|
2640
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldHidePipe, never>;
|
|
2641
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldHidePipe, "niceShouldHide", false>;
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
declare class NiceShouldShowHintPipe implements PipeTransform {
|
|
2645
|
+
private injector;
|
|
2646
|
+
constructor(injector: Injector);
|
|
2647
|
+
transform(value: NiceNavigationItem | NiceNavigationItem[]): Observable<boolean>;
|
|
2648
|
+
private transformHint;
|
|
2649
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldShowHintPipe, never>;
|
|
2650
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldShowHintPipe, "niceShouldShowHint", false>;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
declare class NiceTranslateWithContextPipe implements PipeTransform {
|
|
2654
|
+
private translate;
|
|
2655
|
+
private context;
|
|
2656
|
+
constructor(translate: TranslateService, context: NiceTranslationContextService);
|
|
2657
|
+
transform(value: string): any;
|
|
2658
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslateWithContextPipe, never>;
|
|
2659
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NiceTranslateWithContextPipe, "niceTranslateWithContext", false>;
|
|
2660
|
+
}
|
|
2661
|
+
|
|
2662
|
+
declare class NiceShowHintDirective<T extends _HintComponentBase> implements AfterViewInit, OnDestroy {
|
|
2663
|
+
private _overlay;
|
|
2664
|
+
private _elementRef;
|
|
2665
|
+
private _viewContainerRef;
|
|
2666
|
+
private _ngZone;
|
|
2667
|
+
private _platform;
|
|
2668
|
+
private _focusMonitor;
|
|
2669
|
+
private _hintService;
|
|
2670
|
+
shouldShow: boolean;
|
|
2671
|
+
item: NiceNavigationItem;
|
|
2672
|
+
private _pointerExitEventsInitialized;
|
|
2673
|
+
private _portal;
|
|
2674
|
+
private _hintInstance;
|
|
2675
|
+
private _overlayRef;
|
|
2676
|
+
private readonly _passiveListeners;
|
|
2677
|
+
private readonly unsubscribeAll$;
|
|
2678
|
+
constructor(_overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _ngZone: NgZone, _platform: Platform, _focusMonitor: FocusMonitor, _hintService: NiceNavigationHintService);
|
|
2679
|
+
ngAfterViewInit(): void;
|
|
2680
|
+
ngOnDestroy(): void;
|
|
2681
|
+
show(): void;
|
|
2682
|
+
hide(): void;
|
|
2683
|
+
private _createOverlay;
|
|
2684
|
+
private _detach;
|
|
2685
|
+
private _isHintVisible;
|
|
2686
|
+
private _setupPointerEnterEventsIfNeeded;
|
|
2687
|
+
private _setupPointerExitEventsIfNeeded;
|
|
2688
|
+
private _platformSupportsMouseEvents;
|
|
2689
|
+
private _addListeners;
|
|
2690
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShowHintDirective<any>, never>;
|
|
2691
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceShowHintDirective<any>, "[niceShowHint]", never, { "shouldShow": { "alias": "shouldShow"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, false, never>;
|
|
2692
|
+
}
|
|
2693
|
+
|
|
2694
|
+
declare class NiceNavigationModule {
|
|
2695
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationModule, never>;
|
|
2696
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceNavigationModule, [typeof NiceNavigationComponent, typeof NiceHorizontalNavigationBasicItemComponent, typeof NiceHorizontalNavigationBranchItemComponent, typeof NiceHorizontalNavigationDividerItemComponent, typeof NiceHorizontalNavigationSpacerItemComponent, typeof NiceHorizontalNavigationComponent, typeof NiceVerticalNavigationAsideItemComponent, typeof NiceVerticalNavigationBasicItemComponent, typeof NiceVerticalNavigationCollapsableItemComponent, typeof NiceVerticalNavigationDividerItemComponent, typeof NiceVerticalNavigationGroupItemComponent, typeof NiceVerticalNavigationSpacerItemComponent, typeof NiceVerticalNavigationComponent, typeof NiceShouldHidePipe, typeof NiceShouldShowHintPipe, typeof NiceTranslateWithContextPipe, typeof NiceShowHintDirective], [typeof i2.CommonModule, typeof i19.RouterModule, typeof i3.MatButtonModule, typeof i21.MatDividerModule, typeof i4.MatIconModule, typeof i6.MatMenuModule, typeof i24.MatTooltipModule, typeof NiceScrollbarModule, typeof i10.TranslateModule], [typeof NiceHorizontalNavigationComponent, typeof NiceVerticalNavigationComponent]>;
|
|
2697
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceNavigationModule>;
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
declare class NiceSearchBarComponent implements ControlValueAccessor {
|
|
2701
|
+
collapsed: boolean;
|
|
2702
|
+
collapse: EventEmitter<boolean>;
|
|
2703
|
+
searchValue: string;
|
|
2704
|
+
opened: boolean;
|
|
2705
|
+
private propagateChanges;
|
|
2706
|
+
get classList(): any;
|
|
2707
|
+
toggleCollapsed(): void;
|
|
2708
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
2709
|
+
registerOnTouched(fn: any): void;
|
|
2710
|
+
writeValue(value: string): void;
|
|
2711
|
+
onSearchChange(value: string): void;
|
|
2712
|
+
open(): void;
|
|
2713
|
+
close(): void;
|
|
2714
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSearchBarComponent, never>;
|
|
2715
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSearchBarComponent, "nice-search-bar", never, { "collapsed": { "alias": "collapsed"; "required": false; }; }, { "collapse": "collapse"; }, never, never, false, never>;
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
declare class NiceSearchBarModule {
|
|
2719
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSearchBarModule, never>;
|
|
2720
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceSearchBarModule, [typeof NiceSearchBarComponent], [typeof i2.CommonModule, typeof i19.RouterModule, typeof i3.MatButtonModule, typeof i4.MatIconModule, typeof i3$1.FormsModule], [typeof NiceSearchBarComponent]>;
|
|
2721
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceSearchBarModule>;
|
|
2722
|
+
}
|
|
2723
|
+
|
|
2724
|
+
interface NiceAlertConfig {
|
|
2725
|
+
type: "success" | "warning" | "info";
|
|
2726
|
+
title?: string;
|
|
2727
|
+
message?: string;
|
|
2728
|
+
buttons: string[];
|
|
2729
|
+
}
|
|
2730
|
+
declare class NiceSweetAlertComponent implements OnInit {
|
|
2731
|
+
alertConfig: NiceAlertConfig;
|
|
2732
|
+
private dialogRef;
|
|
2733
|
+
lottieConfig: {
|
|
2734
|
+
path: string;
|
|
2735
|
+
autoplay: boolean;
|
|
2736
|
+
loop: boolean;
|
|
2737
|
+
};
|
|
2738
|
+
constructor(alertConfig: NiceAlertConfig, dialogRef: MatDialogRef<NiceSweetAlertComponent>);
|
|
2739
|
+
ngOnInit(): void;
|
|
2740
|
+
handleAnimation(animation: any): void;
|
|
2741
|
+
confirm(): void;
|
|
2742
|
+
close(): void;
|
|
2743
|
+
getAnimationPath(): string;
|
|
2744
|
+
getConfirmButtonClass(): string;
|
|
2745
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertComponent, never>;
|
|
2746
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSweetAlertComponent, "nice-alert", never, {}, {}, never, never, false, never>;
|
|
2747
|
+
}
|
|
2748
|
+
|
|
2749
|
+
interface NiceSweetAlertOptions {
|
|
2750
|
+
customModal?: Type<any>;
|
|
2751
|
+
}
|
|
2752
|
+
interface NiceSweetAlertParams {
|
|
2753
|
+
translationPath?: string;
|
|
2754
|
+
titleKey: string;
|
|
2755
|
+
messageKey?: string;
|
|
2756
|
+
buttonsKey: string[];
|
|
2757
|
+
params?: object;
|
|
2758
|
+
}
|
|
2759
|
+
declare class NiceSweetAlertService {
|
|
2760
|
+
private options;
|
|
2761
|
+
private matDialog;
|
|
2762
|
+
private translateService;
|
|
2763
|
+
private readonly modal;
|
|
2764
|
+
constructor(options: NiceSweetAlertOptions, matDialog: MatDialog, translateService: TranslateService);
|
|
2765
|
+
success(params: NiceSweetAlertParams): Observable<boolean>;
|
|
2766
|
+
success(titleKey: string, messageKey: string, buttonsKey: string[], params?: object): Observable<boolean>;
|
|
2767
|
+
warning(params: NiceSweetAlertParams): Observable<boolean>;
|
|
2768
|
+
warning(titleKey: string, messageKey: string, buttonsKey: string[], params?: object): Observable<boolean>;
|
|
2769
|
+
info(params: NiceSweetAlertParams): Observable<boolean>;
|
|
2770
|
+
info(titleKey: string, messageKey: string, buttonsKey: string[], params?: object): Observable<boolean>;
|
|
2771
|
+
private getTranslations;
|
|
2772
|
+
private transformArgs;
|
|
2773
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertService, [{ optional: true; }, null, null]>;
|
|
2774
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceSweetAlertService>;
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
declare class NiceSweetAlertDirective {
|
|
2778
|
+
private service;
|
|
2779
|
+
sweetAlertType: "success" | "warning" | "info";
|
|
2780
|
+
sweetAlertOptions: NiceSweetAlertParams;
|
|
2781
|
+
sweetAlertAfterClosed: EventEmitter<boolean>;
|
|
2782
|
+
constructor(service: NiceSweetAlertService);
|
|
2783
|
+
onClick(): void;
|
|
2784
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertDirective, never>;
|
|
2785
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceSweetAlertDirective, "[niceSweetAlert]", never, { "sweetAlertType": { "alias": "sweetAlertType"; "required": false; }; "sweetAlertOptions": { "alias": "sweetAlertOptions"; "required": false; }; }, { "sweetAlertAfterClosed": "sweetAlertAfterClosed"; }, never, never, false, never>;
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
declare class NiceSweetAlertModule {
|
|
2789
|
+
static forRoot(options?: NiceSweetAlertOptions): ModuleWithProviders<NiceSweetAlertModule>;
|
|
2790
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertModule, never>;
|
|
2791
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceSweetAlertModule, [typeof NiceSweetAlertComponent, typeof NiceSweetAlertDirective], [typeof i2.CommonModule, typeof i10.TranslateModule, typeof i5$3.MatDialogModule, typeof i3.MatButtonModule, typeof NiceLottieModule], [typeof NiceSweetAlertDirective]>;
|
|
2792
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceSweetAlertModule>;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
interface NiceToastData {
|
|
2796
|
+
title?: string;
|
|
2797
|
+
message?: string;
|
|
2798
|
+
appearance?: NiceAlertAppearance;
|
|
2799
|
+
type: "info" | "success" | "warning" | "error";
|
|
2800
|
+
}
|
|
2801
|
+
declare class NiceToastComponent {
|
|
2802
|
+
data: NiceToastData;
|
|
2803
|
+
private snackbarRef;
|
|
2804
|
+
constructor(data: NiceToastData, snackbarRef: MatSnackBarRef<NiceToastComponent>);
|
|
2805
|
+
dismiss(): void;
|
|
2806
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceToastComponent, never>;
|
|
2807
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceToastComponent, "nice-toast", never, {}, {}, never, never, false, never>;
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
interface NiceToastOptions extends MatSnackBarConfig {
|
|
2811
|
+
appearance?: NiceAlertAppearance;
|
|
2812
|
+
successDuration?: number;
|
|
2813
|
+
warningDuration?: number;
|
|
2814
|
+
errorDuration?: number;
|
|
2815
|
+
infoDuration?: number;
|
|
2816
|
+
}
|
|
2817
|
+
declare class NiceToastService {
|
|
2818
|
+
private options;
|
|
2819
|
+
private snackbar;
|
|
2820
|
+
private translateService;
|
|
2821
|
+
constructor(options: NiceToastOptions, snackbar: MatSnackBar, translateService: TranslateService);
|
|
2822
|
+
success(messageKey: string, titleKey?: string, params?: object): void;
|
|
2823
|
+
error(messageKey: string, titleKey?: string, params?: object): void;
|
|
2824
|
+
warning(messageKey: string, titleKey?: string, params?: object): void;
|
|
2825
|
+
info(messageKey: string, titleKey?: string, params?: object): void;
|
|
2826
|
+
private showToast;
|
|
2827
|
+
private getTranslations;
|
|
2828
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceToastService, never>;
|
|
2829
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceToastService>;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
declare class NiceToastModule {
|
|
2833
|
+
static forRoot(options?: NiceToastOptions): ModuleWithProviders<NiceToastModule>;
|
|
2834
|
+
static forFeature(options: NiceToastOptions): ModuleWithProviders<NiceToastModule>;
|
|
2835
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceToastModule, never>;
|
|
2836
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceToastModule, [typeof NiceToastComponent], [typeof i2.CommonModule, typeof i4$2.MatSnackBarModule, typeof i10.TranslateModule, typeof NiceAlertModule], never>;
|
|
2837
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceToastModule>;
|
|
2838
|
+
}
|
|
2839
|
+
|
|
2840
|
+
interface ShowToastOperatorOptionsWithoutTitle$1 {
|
|
2841
|
+
messageKey: string;
|
|
2842
|
+
titleKey?: string;
|
|
2843
|
+
params?: object;
|
|
2844
|
+
useObserver?: keyof TapObserver<any>;
|
|
2845
|
+
}
|
|
2846
|
+
interface ShowToastOperatorOptionsWithoutMessage$1 {
|
|
2847
|
+
titleKey: string;
|
|
2848
|
+
messageKey?: string;
|
|
2849
|
+
params?: object;
|
|
2850
|
+
useObserver?: keyof TapObserver<any>;
|
|
2851
|
+
}
|
|
2852
|
+
type ShowToastOperatorOptions = ShowToastOperatorOptionsWithoutTitle$1 | ShowToastOperatorOptionsWithoutMessage$1;
|
|
2853
|
+
declare function showSuccessToast<T>(loadingToastService: NiceToastService, options: ShowToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
2854
|
+
declare function showErrorToast<T>(loadingToastService: NiceToastService, options: ShowToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
2855
|
+
declare function showInfoToast<T>(loadingToastService: NiceToastService, options: ShowToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
2856
|
+
declare function showWarningToast<T>(loadingToastService: NiceToastService, options: ShowToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
2857
|
+
|
|
2858
|
+
interface ShowToastOperatorCommonKeysOptionsWithoutTitle {
|
|
2859
|
+
messageKey: string;
|
|
2860
|
+
titleKey?: string;
|
|
2861
|
+
params?: object;
|
|
2862
|
+
}
|
|
2863
|
+
interface ShowToastOperatorCommonKeysOptionsWithoutMessage {
|
|
2864
|
+
titleKey: string;
|
|
2865
|
+
messageKey?: string;
|
|
2866
|
+
params?: object;
|
|
2867
|
+
}
|
|
2868
|
+
interface ShowToastOperatorOptionsWithoutMessage {
|
|
2869
|
+
title: {
|
|
2870
|
+
success: string;
|
|
2871
|
+
error: string;
|
|
2872
|
+
};
|
|
2873
|
+
message?: {
|
|
2874
|
+
success: string;
|
|
2875
|
+
error: string;
|
|
2876
|
+
};
|
|
2877
|
+
params?: object;
|
|
2878
|
+
}
|
|
2879
|
+
interface ShowToastOperatorOptionsWithoutTitle {
|
|
2880
|
+
message: {
|
|
2881
|
+
success: string;
|
|
2882
|
+
error: string;
|
|
2883
|
+
};
|
|
2884
|
+
title?: {
|
|
2885
|
+
success: string;
|
|
2886
|
+
error: string;
|
|
2887
|
+
};
|
|
2888
|
+
params?: object;
|
|
2889
|
+
}
|
|
2890
|
+
type ShowSuccessOrErrorToastOperatorOptions = ShowToastOperatorCommonKeysOptionsWithoutTitle | ShowToastOperatorCommonKeysOptionsWithoutMessage | ShowToastOperatorOptionsWithoutMessage | ShowToastOperatorOptionsWithoutTitle;
|
|
2891
|
+
declare function showSuccessOrErrorToast<T>(loadingToastService: NiceToastService, options: ShowSuccessOrErrorToastOperatorOptions): MonoTypeOperatorFunction<T>;
|
|
2892
|
+
|
|
2893
|
+
declare class ToggleButtonComponent {
|
|
2894
|
+
content: TemplateRef<any>;
|
|
2895
|
+
value: string;
|
|
2896
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
|
|
2897
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "nice-toggle-button", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
type ToggleButtonGroupDataType = any | any[];
|
|
2901
|
+
declare class ToggleButtonGroupComponent {
|
|
2902
|
+
private _multiple;
|
|
2903
|
+
toggleButtons: QueryList<ToggleButtonComponent>;
|
|
2904
|
+
selected: ToggleButtonGroupDataType;
|
|
2905
|
+
color: ThemePalette;
|
|
2906
|
+
selectedChange: EventEmitter<any>;
|
|
2907
|
+
defaultColor: ThemePalette;
|
|
2908
|
+
set multiple(multiple: boolean);
|
|
2909
|
+
private onTouched;
|
|
2910
|
+
private onChange;
|
|
2911
|
+
onBlur(): void;
|
|
2912
|
+
writeValue(value: ToggleButtonGroupDataType): void;
|
|
2913
|
+
registerOnChange(fn: (color: string) => void): void;
|
|
2914
|
+
registerOnTouched(fn: () => void): void;
|
|
2915
|
+
onSelect(value: any): void;
|
|
2916
|
+
conditionalColorObj(value: any): any;
|
|
2917
|
+
private isLeftValueSelected;
|
|
2918
|
+
private isRightValueSelected;
|
|
2919
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonGroupComponent, never>;
|
|
2920
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent, "nice-toggle-button-group", never, { "selected": { "alias": "selected"; "required": false; }; "color": { "alias": "color"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; }, { "selectedChange": "selectedChange"; }, ["toggleButtons"], never, false, never>;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
declare class NiceToggleButtonGroupModule {
|
|
2924
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceToggleButtonGroupModule, never>;
|
|
2925
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceToggleButtonGroupModule, [typeof ToggleButtonComponent, typeof ToggleButtonGroupComponent], [typeof i2.CommonModule, typeof i7.MatRippleModule], [typeof ToggleButtonComponent, typeof ToggleButtonGroupComponent]>;
|
|
2926
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceToggleButtonGroupModule>;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
declare class NiceTranslationFormService {
|
|
2930
|
+
private _languages$;
|
|
2931
|
+
private _requiredLanguages$;
|
|
2932
|
+
get languages$(): Observable<string[]>;
|
|
2933
|
+
get languages(): string[];
|
|
2934
|
+
get requiredLanguages$(): Observable<string[]>;
|
|
2935
|
+
get requiredLanguages(): string[];
|
|
2936
|
+
get hasLanguages$(): Observable<boolean>;
|
|
2937
|
+
get hasLanguages(): boolean;
|
|
2938
|
+
setLanguages(languages?: string[]): void;
|
|
2939
|
+
setRequiredLanguages(languages?: string[]): void;
|
|
2940
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslationFormService, never>;
|
|
2941
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceTranslationFormService>;
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
declare class TranslationContextDirective implements OnInit, OnDestroy {
|
|
2945
|
+
private translationFormService;
|
|
2946
|
+
activeLanguageChange: EventEmitter<string>;
|
|
2947
|
+
activeLanguage$: BehaviorSubject<string>;
|
|
2948
|
+
private _unsubscribeAll$;
|
|
2949
|
+
constructor(translationFormService: NiceTranslationFormService);
|
|
2950
|
+
ngOnInit(): void;
|
|
2951
|
+
ngOnDestroy(): void;
|
|
2952
|
+
updateLanguage(language: string): void;
|
|
2953
|
+
reset(): void;
|
|
2954
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationContextDirective, never>;
|
|
2955
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslationContextDirective, "[niceTranslationContext]", never, {}, { "activeLanguageChange": "activeLanguageChange"; }, never, never, false, never>;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
declare abstract class TranslationFormComponent implements OnInit, OnDestroy, MatFormFieldControl<string>, ControlValueAccessor {
|
|
2959
|
+
private container;
|
|
2960
|
+
private context;
|
|
2961
|
+
private service;
|
|
2962
|
+
private changeDetectorRef;
|
|
2963
|
+
get classList(): any;
|
|
2964
|
+
get shouldLabelFloat(): boolean;
|
|
2965
|
+
set required(req: boolean);
|
|
2966
|
+
get required(): boolean;
|
|
2967
|
+
get disabled(): boolean;
|
|
2968
|
+
set disabled(value: boolean);
|
|
2969
|
+
set placeholder(placeholder: string);
|
|
2970
|
+
get placeholder(): string;
|
|
2971
|
+
set value(value: any);
|
|
2972
|
+
get value(): any;
|
|
2973
|
+
get empty(): boolean;
|
|
2974
|
+
get errorState(): boolean;
|
|
2975
|
+
constructor(container: ControlContainer, context: TranslationContextDirective, service: NiceTranslationFormService, changeDetectorRef: ChangeDetectorRef);
|
|
2976
|
+
floating: boolean;
|
|
2977
|
+
maxLength: number;
|
|
2978
|
+
id: string;
|
|
2979
|
+
describedBy: string;
|
|
2980
|
+
formGroup: FormGroup;
|
|
2981
|
+
currentControl?: FormControl;
|
|
2982
|
+
stateChanges: Subject<void>;
|
|
2983
|
+
ngControl: AbstractControlDirective | NgControl;
|
|
2984
|
+
focused: boolean;
|
|
2985
|
+
controlType: string;
|
|
2986
|
+
private _unsubscribeAll$;
|
|
2987
|
+
private _required;
|
|
2988
|
+
private _disabled;
|
|
2989
|
+
private _placeholder;
|
|
2990
|
+
private _value;
|
|
2991
|
+
readonly autofilled: boolean;
|
|
2992
|
+
readonly userAriaDescribedBy: string;
|
|
2993
|
+
propagate: (value: string) => void;
|
|
2994
|
+
onContainerClick(event: MouseEvent): void;
|
|
2995
|
+
setDescribedByIds(ids: string[]): void;
|
|
2996
|
+
registerOnChange(fn: any): void;
|
|
2997
|
+
registerOnTouched(fn: any): void;
|
|
2998
|
+
writeValue(value: any): void;
|
|
2999
|
+
ngOnInit(): void;
|
|
3000
|
+
ngOnDestroy(): void;
|
|
3001
|
+
setLanguage(language: string): void;
|
|
3002
|
+
private setupFormControls;
|
|
3003
|
+
private handleDisabledState;
|
|
3004
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormComponent, never>;
|
|
3005
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormComponent, "ng-component", never, { "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "floating": { "alias": "floating"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, {}, never, never, false, never>;
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
declare class TranslationFormTextfieldComponent extends TranslationFormComponent {
|
|
3009
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextfieldComponent, never>;
|
|
3010
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextfieldComponent, "nice-translation-form-textfield", never, {}, {}, never, never, false, never>;
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
declare class TranslationFormTextareaComponent extends TranslationFormComponent {
|
|
3014
|
+
resizable: boolean;
|
|
3015
|
+
rows: number;
|
|
3016
|
+
cols: number;
|
|
3017
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextareaComponent, never>;
|
|
3018
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextareaComponent, "nice-translation-form-textarea", never, { "resizable": { "alias": "resizable"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, {}, never, never, false, never>;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
declare class TranslationToggleComponent {
|
|
3022
|
+
private context;
|
|
3023
|
+
private translationFormService;
|
|
3024
|
+
languages$: rxjs.Observable<string[]>;
|
|
3025
|
+
activeLanguage$: rxjs.BehaviorSubject<string>;
|
|
3026
|
+
constructor(context: TranslationContextDirective, translationFormService: NiceTranslationFormService);
|
|
3027
|
+
onChange($event: MatButtonToggleChange): void;
|
|
3028
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationToggleComponent, never>;
|
|
3029
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationToggleComponent, "nice-translation-toggle", never, {}, {}, never, never, false, never>;
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
declare class NiceTranslationFormModule {
|
|
3033
|
+
static forRoot(): ModuleWithProviders<NiceTranslationFormModule>;
|
|
3034
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslationFormModule, never>;
|
|
3035
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceTranslationFormModule, [typeof TranslationFormTextfieldComponent, typeof TranslationFormTextareaComponent, typeof TranslationToggleComponent, typeof TranslationContextDirective], [typeof i5$4.MatButtonToggleModule, typeof i6$1.MatInputModule, typeof i3$1.ReactiveFormsModule, typeof i2.NgForOf, typeof i2.NgIf, typeof i2.AsyncPipe, typeof i2.UpperCasePipe], [typeof TranslationFormTextfieldComponent, typeof TranslationFormTextareaComponent, typeof TranslationToggleComponent, typeof TranslationContextDirective]>;
|
|
3036
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceTranslationFormModule>;
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
declare const TranslationFormGroup: () => PropertyDecorator;
|
|
3040
|
+
|
|
3041
|
+
declare function RequireForLanguages(): PropertyDecorator;
|
|
3042
|
+
declare class RequireForLanguagesValidator extends AsyncValidator {
|
|
3043
|
+
private service;
|
|
3044
|
+
name: string;
|
|
3045
|
+
constructor(service: NiceTranslationFormService);
|
|
3046
|
+
validate(formGroup: FormGroup): Observable<ValidationErrors | null>;
|
|
3047
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequireForLanguagesValidator, never>;
|
|
3048
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequireForLanguagesValidator>;
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
declare class TranslationForm {
|
|
3052
|
+
constructor(values?: {
|
|
3053
|
+
[language: string]: string;
|
|
3054
|
+
});
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
declare class NiceTypeaheadNewValue {
|
|
3058
|
+
$new: string;
|
|
3059
|
+
constructor($new: string);
|
|
3060
|
+
}
|
|
3061
|
+
declare class NiceTypeaheadComponent implements OnInit, OnDestroy, ControlValueAccessor, MatFormFieldControl<string> {
|
|
3062
|
+
ngControl: NgControl;
|
|
3063
|
+
private fm;
|
|
3064
|
+
private zone;
|
|
3065
|
+
elRef: ElementRef<HTMLElement>;
|
|
3066
|
+
set items(items: any[] | null | undefined);
|
|
3067
|
+
set labelFormatFn(labelFormatFn: (item: any) => string);
|
|
3068
|
+
set required(req: boolean);
|
|
3069
|
+
get required(): boolean;
|
|
3070
|
+
get disabled(): boolean;
|
|
3071
|
+
set disabled(value: boolean);
|
|
3072
|
+
set placeholder(placeholder: string);
|
|
3073
|
+
get placeholder(): string;
|
|
3074
|
+
set emptyPlaceholder(emptyPlaceholder: string);
|
|
3075
|
+
get emptyPlaceholder(): string;
|
|
3076
|
+
set value(value: any);
|
|
3077
|
+
get value(): any;
|
|
3078
|
+
get empty(): boolean;
|
|
3079
|
+
get errorState(): boolean;
|
|
3080
|
+
get shouldLabelFloat(): boolean;
|
|
3081
|
+
constructor(ngControl: NgControl, fm: FocusMonitor, zone: NgZone, elRef: ElementRef<HTMLElement>);
|
|
3082
|
+
private _items;
|
|
3083
|
+
private _labelFormatFn;
|
|
3084
|
+
private _page;
|
|
3085
|
+
allowNotFoundItems: boolean;
|
|
3086
|
+
panelClass: string | string[];
|
|
3087
|
+
bindValue: string;
|
|
3088
|
+
bindLabel: string;
|
|
3089
|
+
/** @deprecated: Use NiceRemoteTypeahead instead */
|
|
3090
|
+
typeahead: Subject<string>;
|
|
3091
|
+
/** @deprecated: Use NiceRemoteTypeahead instead */
|
|
3092
|
+
page$: Subject<number>;
|
|
3093
|
+
loading: boolean;
|
|
3094
|
+
loadingPage: boolean;
|
|
3095
|
+
searchFn: (search: string, option: any) => boolean;
|
|
3096
|
+
change: EventEmitter<any>;
|
|
3097
|
+
input: ElementRef<HTMLInputElement>;
|
|
3098
|
+
options: MatOption[];
|
|
3099
|
+
search$: Subject<string>;
|
|
3100
|
+
searchControl: FormControl<any>;
|
|
3101
|
+
values: unknown[];
|
|
3102
|
+
valueChangesSub$: Subscription;
|
|
3103
|
+
searchSub$: Subscription;
|
|
3104
|
+
open: boolean;
|
|
3105
|
+
panelWidth: number;
|
|
3106
|
+
activeOption: MatOption;
|
|
3107
|
+
private updatingItem;
|
|
3108
|
+
private waitForItems;
|
|
3109
|
+
private ignoreNextFocus;
|
|
3110
|
+
private observer;
|
|
3111
|
+
/** MatFormField */
|
|
3112
|
+
private _required;
|
|
3113
|
+
private _disabled;
|
|
3114
|
+
private _placeholder;
|
|
3115
|
+
private _value;
|
|
3116
|
+
private _emptyPlaceholder;
|
|
3117
|
+
stateChanges: Subject<void>;
|
|
3118
|
+
controlType: string;
|
|
3119
|
+
focused: boolean;
|
|
3120
|
+
id: string;
|
|
3121
|
+
describedBy: string;
|
|
3122
|
+
optionTemplate: TemplateRef<HTMLElement>;
|
|
3123
|
+
propagate: (value: string) => void;
|
|
3124
|
+
ngOnInit(): void;
|
|
3125
|
+
ngOnDestroy(): void;
|
|
3126
|
+
onContainerClick(event: MouseEvent): void;
|
|
3127
|
+
setDescribedByIds(ids: string[]): void;
|
|
3128
|
+
registerOnChange(propagate: (value: string) => void): void;
|
|
3129
|
+
registerOnTouched(fn: any): void;
|
|
3130
|
+
writeValue(value: string): void;
|
|
3131
|
+
onOptionActivated(event: MatAutocompleteActivatedEvent): void;
|
|
3132
|
+
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
3133
|
+
updateState(open: boolean): void;
|
|
3134
|
+
onRemove(event?: Event): void;
|
|
3135
|
+
formatLabel(item: any): string;
|
|
3136
|
+
private _filter;
|
|
3137
|
+
private defaultSearch;
|
|
3138
|
+
private updateSearchInput;
|
|
3139
|
+
private filterString;
|
|
3140
|
+
private updateLabel;
|
|
3141
|
+
onEndScroll(): void;
|
|
3142
|
+
private getObjectItem;
|
|
3143
|
+
private getValueItem;
|
|
3144
|
+
private setLoading;
|
|
3145
|
+
private setLoadingPage;
|
|
3146
|
+
private checkIfValueStillExist;
|
|
3147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTypeaheadComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
3148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceTypeaheadComponent, "nice-typeahead", never, { "items": { "alias": "items"; "required": false; }; "labelFormatFn": { "alias": "labelFormatFn"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyPlaceholder": { "alias": "emptyPlaceholder"; "required": false; }; "allowNotFoundItems": { "alias": "allowNotFoundItems"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "typeahead": { "alias": "typeahead"; "required": false; }; "page$": { "alias": "page$"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingPage": { "alias": "loadingPage"; "required": false; }; "searchFn": { "alias": "searchFn"; "required": false; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
declare class NiceTypeaheadModule {
|
|
3152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTypeaheadModule, never>;
|
|
3153
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceTypeaheadModule, [typeof NiceTypeaheadComponent], [typeof i2.CommonModule, typeof i3$1.ReactiveFormsModule, typeof OptionScrollModule, typeof i6$2.MatAutocompleteModule, typeof i3$1.FormsModule, typeof i6$1.MatInputModule, typeof i10$1.MatProgressSpinnerModule, typeof i9.MatProgressBarModule, typeof i4.MatIconModule, typeof i3.MatButtonModule, typeof i10.TranslateModule], [typeof NiceTypeaheadComponent]>;
|
|
3154
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceTypeaheadModule>;
|
|
3155
|
+
}
|
|
3156
|
+
|
|
3157
|
+
declare class NiceAutofocusDirective implements OnInit {
|
|
3158
|
+
private elem;
|
|
3159
|
+
constructor(elem: ElementRef);
|
|
3160
|
+
ngOnInit(): void;
|
|
3161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutofocusDirective, never>;
|
|
3162
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutofocusDirective, "[niceAutofocus]", never, {}, {}, never, never, false, never>;
|
|
3163
|
+
}
|
|
3164
|
+
|
|
3165
|
+
declare class NiceAutofocusDirectiveModule {
|
|
3166
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutofocusDirectiveModule, never>;
|
|
3167
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAutofocusDirectiveModule, [typeof NiceAutofocusDirective], never, [typeof NiceAutofocusDirective]>;
|
|
3168
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAutofocusDirectiveModule>;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
3171
|
+
declare class NiceAutogrowDirective implements OnChanges, OnInit, OnDestroy {
|
|
3172
|
+
private _elementRef;
|
|
3173
|
+
private _changeDetectorRef;
|
|
3174
|
+
private _ngZone;
|
|
3175
|
+
private _height;
|
|
3176
|
+
private _unsubscribeAll;
|
|
3177
|
+
padding: number;
|
|
3178
|
+
private _rows;
|
|
3179
|
+
/**
|
|
3180
|
+
* Constructor
|
|
3181
|
+
*/
|
|
3182
|
+
constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef, _ngZone: NgZone);
|
|
3183
|
+
/**
|
|
3184
|
+
* Host binding for component inline styles
|
|
3185
|
+
*/
|
|
3186
|
+
get styleList(): any;
|
|
3187
|
+
/**
|
|
3188
|
+
* On changes
|
|
3189
|
+
*/
|
|
3190
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3191
|
+
/**
|
|
3192
|
+
* On init
|
|
3193
|
+
*/
|
|
3194
|
+
ngOnInit(): void;
|
|
3195
|
+
/**
|
|
3196
|
+
* On destroy
|
|
3197
|
+
*/
|
|
3198
|
+
ngOnDestroy(): void;
|
|
3199
|
+
/**
|
|
3200
|
+
* Resize on 'input' and 'ngModelChange' events
|
|
3201
|
+
*/
|
|
3202
|
+
private _resize;
|
|
3203
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutogrowDirective, never>;
|
|
3204
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutogrowDirective, "textarea[niceAutogrow]", ["niceAutogrow"], { "padding": { "alias": "niceAutogrowVerticalPadding"; "required": false; }; }, {}, never, never, false, never>;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
|
+
declare class NiceAutogrowModule {
|
|
3208
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutogrowModule, never>;
|
|
3209
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAutogrowModule, [typeof NiceAutogrowDirective], never, [typeof NiceAutogrowDirective]>;
|
|
3210
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAutogrowModule>;
|
|
3211
|
+
}
|
|
3212
|
+
|
|
3213
|
+
declare class NiceChipAsyncTypeaheadDirective implements OnInit, OnDestroy {
|
|
3214
|
+
private typeahead;
|
|
3215
|
+
private elementRef;
|
|
3216
|
+
niceChipAsyncTypeaheadTokenEnd: EventEmitter<any>;
|
|
3217
|
+
private unsubscribeAll$;
|
|
3218
|
+
constructor(typeahead: NiceAsyncTypeaheadComponent, elementRef: ElementRef<HTMLElement>);
|
|
3219
|
+
ngOnInit(): void;
|
|
3220
|
+
ngOnDestroy(): void;
|
|
3221
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipAsyncTypeaheadDirective, never>;
|
|
3222
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipAsyncTypeaheadDirective, "[niceChipAsyncTypeahead]", ["niceChipAsyncTypeahead"], {}, { "niceChipAsyncTypeaheadTokenEnd": "niceChipAsyncTypeaheadTokenEnd"; }, never, never, false, never>;
|
|
3223
|
+
}
|
|
3224
|
+
|
|
3225
|
+
declare class NiceChipAsyncTypeaheadModule {
|
|
3226
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipAsyncTypeaheadModule, never>;
|
|
3227
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceChipAsyncTypeaheadModule, [typeof NiceChipAsyncTypeaheadDirective], never, [typeof NiceChipAsyncTypeaheadDirective]>;
|
|
3228
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceChipAsyncTypeaheadModule>;
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
declare class ChipListItemLabelDirective {
|
|
3232
|
+
template: TemplateRef<any>;
|
|
3233
|
+
constructor(template: TemplateRef<any>);
|
|
3234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChipListItemLabelDirective, never>;
|
|
3235
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipListItemLabelDirective, "[niceChipListItemLabel]", never, {}, {}, never, never, false, never>;
|
|
3236
|
+
}
|
|
3237
|
+
|
|
3238
|
+
type NiceChipListActionIcon = {
|
|
3239
|
+
matIcon: string;
|
|
3240
|
+
svgIcon?: string;
|
|
3241
|
+
} | {
|
|
3242
|
+
matIcon?: string;
|
|
3243
|
+
svgIcon: string;
|
|
3244
|
+
};
|
|
3245
|
+
interface NiceChipListOptions {
|
|
3246
|
+
closeButtonIcon: NiceChipListActionIcon;
|
|
3247
|
+
}
|
|
3248
|
+
declare class NiceChipListItemsComponent {
|
|
3249
|
+
readonly options: NiceChipListOptions;
|
|
3250
|
+
itemLabel: TemplateRef<any>;
|
|
3251
|
+
color: ThemePalette;
|
|
3252
|
+
removeChip: EventEmitter<number>;
|
|
3253
|
+
items$: Observable<any[]>;
|
|
3254
|
+
defaultColor: ThemePalette;
|
|
3255
|
+
constructor(options: NiceChipListOptions);
|
|
3256
|
+
remove(index: number): void;
|
|
3257
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, [{ optional: true; }]>;
|
|
3258
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": { "alias": "color"; "required": false; }; "items$": { "alias": "items$"; "required": false; }; }, { "removeChip": "removeChip"; }, ["itemLabel"], never, false, never>;
|
|
3259
|
+
}
|
|
3260
|
+
|
|
3261
|
+
declare class ArrayUtils {
|
|
3262
|
+
static joinIfDefined(array: any[], join?: string): string;
|
|
3263
|
+
static uniqueObjects<Item>(array: Item[], keySelector: (item: Item) => unknown): Item[];
|
|
3264
|
+
static unique<T>(array: T[], comparator?: (value1: T, value2: T) => boolean): T[];
|
|
3265
|
+
static equals(arr1: any[], arr2: any[], options?: {
|
|
3266
|
+
shallow: boolean;
|
|
3267
|
+
ordered: boolean;
|
|
3268
|
+
}): boolean;
|
|
3269
|
+
private static unorderedShallowEquals;
|
|
3270
|
+
static sortByKey(array: any[], key: string): any[];
|
|
3271
|
+
static sortByKeyFn(key: string): (a: any, b: any) => 0 | 1 | -1;
|
|
3272
|
+
static groupBy<Item, Key, Value>(array: Item[], keySelector: (item: Item) => Key, valueSelector: (item: Item) => Value[] | Value): Map<Key, Value[]>;
|
|
3273
|
+
}
|
|
3274
|
+
declare global {
|
|
3275
|
+
interface Array<T> {
|
|
3276
|
+
distinct<T>(): Array<T>;
|
|
3277
|
+
groupBy<T>(value: T): T[];
|
|
3278
|
+
includesWithCallback(callbackfn: (value: T, index: number, array: T[]) => boolean): boolean;
|
|
3279
|
+
pushOrRemove<T>(value: T): void;
|
|
3280
|
+
replace<T>(item: T, ...newItems: T[]): Array<T>;
|
|
3281
|
+
skipNullValues(): T[];
|
|
3282
|
+
difference<T>(...not: T[]): T[];
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
|
|
3286
|
+
declare class CaseUtils {
|
|
3287
|
+
static toCamelFromKebab(data: string): string;
|
|
3288
|
+
static toSnakeCaseFromPascalCase(str: string): string;
|
|
3289
|
+
static toSnakeCaseFromCamelCase(str: string): string;
|
|
3290
|
+
static toCamelCaseFromSnakeCase(stringToConvert: string): string;
|
|
3291
|
+
static toKebabCasePascalCase(str: string): string;
|
|
3292
|
+
static toPascalCaseFromSnakeCase(str: string): string;
|
|
3293
|
+
static capitalizeFirstLetter(str: string): string;
|
|
3294
|
+
}
|
|
3295
|
+
|
|
3296
|
+
declare class ColorsUtils {
|
|
3297
|
+
/**
|
|
3298
|
+
* https://codepen.io/cferdinandi/pen/Yomroj
|
|
3299
|
+
*
|
|
3300
|
+
* (c) 2019 Chris Ferdinandi, MIT License, https://gomakethings.com
|
|
3301
|
+
* Derived from work by Brian Suda, https://24ways.org/2010/calculating-color-contrast/
|
|
3302
|
+
*/
|
|
3303
|
+
static contrastFromHex(hex: string): string;
|
|
3304
|
+
}
|
|
3305
|
+
|
|
3306
|
+
declare class DateUtils {
|
|
3307
|
+
static currentYear(): number;
|
|
3308
|
+
static extractTimeAsString(date: Date): string;
|
|
3309
|
+
static setTimeFromString(date: Date, time: string): Date;
|
|
3310
|
+
}
|
|
3311
|
+
declare global {
|
|
3312
|
+
export interface Date {
|
|
3313
|
+
getSeason(): string;
|
|
3314
|
+
getYear(): number;
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
declare class FileUtils {
|
|
3319
|
+
static getFileFromUrl(url?: string, name?: string): Promise<File | undefined>;
|
|
3320
|
+
static selectFile(accept: string, multiple?: boolean): Promise<File | File[]>;
|
|
3321
|
+
static downloadFile(fileName: string, content: Blob, downloadLink?: HTMLAnchorElement): void;
|
|
3322
|
+
static openFile(file: Blob, options?: {
|
|
3323
|
+
openInNewTab: boolean;
|
|
3324
|
+
}): void;
|
|
3325
|
+
static downloadUrl(url: string): void;
|
|
3326
|
+
static openPrintableWindow(content: string): void;
|
|
3327
|
+
static filenameToExtension(filename: string): string;
|
|
3328
|
+
static getDataUrl(file: File): Promise<string>;
|
|
3329
|
+
static getFileFromDataUrl(data: string, name: string): Promise<File>;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
declare class FontAwesomeUtils {
|
|
3333
|
+
static fileExtensionToIcon(extension: string): string;
|
|
3334
|
+
}
|
|
3335
|
+
|
|
3336
|
+
declare class FormDataUtils {
|
|
3337
|
+
static appendFormDataWithDto(form: FormData, value: object): void;
|
|
3338
|
+
static appendFormDataWithValue(form: FormData, value: any, name: any): void;
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
declare enum HttpStatusCodes {
|
|
3342
|
+
CONTINUE = 100,
|
|
3343
|
+
SWITCHING_PROTOCOLS = 101,
|
|
3344
|
+
PROCESSING = 102,
|
|
3345
|
+
OK = 200,
|
|
3346
|
+
CREATED = 201,
|
|
3347
|
+
ACCEPTED = 202,
|
|
3348
|
+
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
3349
|
+
NO_CONTENT = 204,
|
|
3350
|
+
RESET_CONTENT = 205,
|
|
3351
|
+
PARTIAL_CONTENT = 206,
|
|
3352
|
+
AMBIGUOUS = 300,
|
|
3353
|
+
MOVED_PERMANENTLY = 301,
|
|
3354
|
+
FOUND = 302,
|
|
3355
|
+
SEE_OTHER = 303,
|
|
3356
|
+
NOT_MODIFIED = 304,
|
|
3357
|
+
TEMPORARY_REDIRECT = 307,
|
|
3358
|
+
PERMANENT_REDIRECT = 308,
|
|
3359
|
+
BAD_REQUEST = 400,
|
|
3360
|
+
UNAUTHORIZED = 401,
|
|
3361
|
+
PAYMENT_REQUIRED = 402,
|
|
3362
|
+
FORBIDDEN = 403,
|
|
3363
|
+
NOT_FOUND = 404,
|
|
3364
|
+
METHOD_NOT_ALLOWED = 405,
|
|
3365
|
+
NOT_ACCEPTABLE = 406,
|
|
3366
|
+
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
3367
|
+
REQUEST_TIMEOUT = 408,
|
|
3368
|
+
CONFLICT = 409,
|
|
3369
|
+
GONE = 410,
|
|
3370
|
+
LENGTH_REQUIRED = 411,
|
|
3371
|
+
PRECONDITION_FAILED = 412,
|
|
3372
|
+
PAYLOAD_TOO_LARGE = 413,
|
|
3373
|
+
URI_TOO_LONG = 414,
|
|
3374
|
+
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
3375
|
+
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
3376
|
+
EXPECTATION_FAILED = 417,
|
|
3377
|
+
UNPROCESSABLE_ENTITY = 422,
|
|
3378
|
+
TOO_MANY_REQUESTS = 429,
|
|
3379
|
+
INTERNAL_SERVER_ERROR = 500,
|
|
3380
|
+
NOT_IMPLEMENTED = 501,
|
|
3381
|
+
BAD_GATEWAY = 502,
|
|
3382
|
+
SERVICE_UNAVAILABLE = 503,
|
|
3383
|
+
GATEWAY_TIMEOUT = 504,
|
|
3384
|
+
HTTP_VERSION_NOT_SUPPORTED = 505
|
|
3385
|
+
}
|
|
3386
|
+
|
|
3387
|
+
declare enum KeyboardCodes {
|
|
3388
|
+
ArrowUp = "ArrowUp",
|
|
3389
|
+
ArrowDown = "ArrowDown",
|
|
3390
|
+
Enter = "Enter",
|
|
3391
|
+
Shift = "Shift",
|
|
3392
|
+
Comma = "Comma"
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
declare class LexoRankUtils {
|
|
3396
|
+
static compareStringFn(previousRank?: string, nextRank?: string): number;
|
|
3397
|
+
static compareFn(previousRank: LexoRank, nextRank: LexoRank): number;
|
|
3398
|
+
static getNewRank(afterRank?: string, beforeRank?: string): string;
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
interface ModalData {
|
|
3402
|
+
mode: ModalMode;
|
|
3403
|
+
}
|
|
3404
|
+
declare enum ModalMode {
|
|
3405
|
+
Create = 0,
|
|
3406
|
+
Edit = 1
|
|
3407
|
+
}
|
|
3408
|
+
|
|
3409
|
+
declare class NumberUtils {
|
|
3410
|
+
}
|
|
3411
|
+
declare global {
|
|
3412
|
+
interface Number {
|
|
3413
|
+
inRange(a: number, b: number): boolean;
|
|
3414
|
+
}
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
declare class ObjectUtils {
|
|
3418
|
+
static transformStringProperties(obj: any): object;
|
|
3419
|
+
static stringPropertiesToNumber(obj: any, property: string): object;
|
|
3420
|
+
static assignDefined(target: any, source: any): object;
|
|
3421
|
+
static areObjectsEqual(obj1: any, obj2: any): boolean;
|
|
3422
|
+
static deepCopy(obj: any): any;
|
|
3423
|
+
static immutableDeepAssign<Source, Target>(key: string, deepObj: Source, obj: Target): Target;
|
|
3424
|
+
static deepAssign<Source, Target>(key: string, deepObj: Source, obj: Target): void;
|
|
3425
|
+
private static internalDeepAssign;
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
declare class PromiseUtils {
|
|
3429
|
+
}
|
|
3430
|
+
declare global {
|
|
3431
|
+
export interface PromiseConstructor {
|
|
3432
|
+
delay(ms: number): Promise<void>;
|
|
3433
|
+
}
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
declare class QueryParamsUtils {
|
|
3437
|
+
static fromObject(obj: any): string;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
declare class RegexUtils {
|
|
3441
|
+
static email: RegExp;
|
|
3442
|
+
static password: {
|
|
3443
|
+
lowerUpperDigit8: RegExp;
|
|
3444
|
+
};
|
|
3445
|
+
static canadianPostalCode: RegExp;
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
3449
|
+
declare const isNotNullOrUndefined: (value: unknown) => boolean;
|
|
3450
|
+
declare class TypeUtils {
|
|
3451
|
+
static isNullOrUndefined(value: unknown): boolean;
|
|
3452
|
+
static isNotNullOrUndefined(value: unknown): boolean;
|
|
3453
|
+
}
|
|
3454
|
+
|
|
3455
|
+
declare class UrlUtils {
|
|
3456
|
+
static emailUrl(email: string): string;
|
|
3457
|
+
static directionUrl(address: string, postalCode: string): string;
|
|
3458
|
+
static phoneCallUrl(phone: string, ext?: string): string;
|
|
3459
|
+
static getCurrentUrlFragments(): string[];
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnDestroy, OnChanges {
|
|
3463
|
+
private asyncTypeahead;
|
|
3464
|
+
private ngControl;
|
|
3465
|
+
private elementRef;
|
|
3466
|
+
withItemList: NiceChipListItemsComponent;
|
|
3467
|
+
reloadOnSelected: boolean;
|
|
3468
|
+
separatorKeyboardCodes: KeyboardCodes[];
|
|
3469
|
+
private unsubscribeAll$;
|
|
3470
|
+
private values$;
|
|
3471
|
+
private _values;
|
|
3472
|
+
private propagateChanges;
|
|
3473
|
+
get values(): any[];
|
|
3474
|
+
constructor(asyncTypeahead: NiceAsyncTypeaheadComponent, ngControl: NgControl, elementRef: ElementRef<HTMLInputElement>);
|
|
3475
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
3476
|
+
ngOnInit(): void;
|
|
3477
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3478
|
+
ngOnDestroy(): void;
|
|
3479
|
+
writeValue(obj: any[]): void;
|
|
3480
|
+
registerOnChange(fn: any): void;
|
|
3481
|
+
registerOnTouched(fn: any): void;
|
|
3482
|
+
private setupAsyncTypeahead;
|
|
3483
|
+
private addValue;
|
|
3484
|
+
private updateTypeaheadSearchOptions;
|
|
3485
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; self: true; }, null]>;
|
|
3486
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": { "alias": "withItemList"; "required": false; }; "reloadOnSelected": { "alias": "reloadOnSelected"; "required": false; }; "separatorKeyboardCodes": { "alias": "separatorKeyboardCodes"; "required": false; }; }, {}, never, never, false, never>;
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
declare class NiceChipListDirectiveModule {
|
|
3490
|
+
static forRoot(options?: NiceChipListOptions): ModuleWithProviders<NiceChipListDirectiveModule>;
|
|
3491
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirectiveModule, never>;
|
|
3492
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceChipListDirectiveModule, [typeof NiceChipListDirective, typeof NiceChipListItemsComponent, typeof ChipListItemLabelDirective], [typeof i2.CommonModule, typeof i4.MatIconModule], [typeof NiceChipListDirective, typeof NiceChipListItemsComponent, typeof ChipListItemLabelDirective]>;
|
|
3493
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceChipListDirectiveModule>;
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
declare class NiceDraggableListDirective<T> implements OnInit, OnDestroy, OnChanges {
|
|
3497
|
+
private formArrayName;
|
|
3498
|
+
private cdkDropList;
|
|
3499
|
+
items: T[];
|
|
3500
|
+
rankProperty: string;
|
|
3501
|
+
itemsUpdated: EventEmitter<T[]>;
|
|
3502
|
+
itemRankUpdated: EventEmitter<T>;
|
|
3503
|
+
sortedItems: T[];
|
|
3504
|
+
formArray: FormArray;
|
|
3505
|
+
private unsubscribeAll$;
|
|
3506
|
+
constructor(formArrayName: FormArrayName, cdkDropList: CdkDropList);
|
|
3507
|
+
ngOnInit(): void;
|
|
3508
|
+
ngOnDestroy(): void;
|
|
3509
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3510
|
+
drop(event: CdkDragDrop<any, any>): void;
|
|
3511
|
+
private sortItems;
|
|
3512
|
+
private getNextRank;
|
|
3513
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDraggableListDirective<any>, [{ optional: true; }, null]>;
|
|
3514
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceDraggableListDirective<any>, "[cdkDropList][niceDraggableList]", never, { "items": { "alias": "items"; "required": false; }; "rankProperty": { "alias": "rankProperty"; "required": false; }; }, { "itemsUpdated": "itemsUpdated"; "itemRankUpdated": "itemRankUpdated"; }, never, never, false, never>;
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
declare class NiceDraggableListModule {
|
|
3518
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDraggableListModule, never>;
|
|
3519
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDraggableListModule, [typeof NiceDraggableListDirective], [typeof i2$1.DragDropModule], [typeof NiceDraggableListDirective]>;
|
|
3520
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceDraggableListModule>;
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
declare class NiceImageErrorPlaceholderDirective {
|
|
3524
|
+
private elementRef;
|
|
3525
|
+
private viewContainerRef;
|
|
3526
|
+
fallback?: TemplateRef<any>;
|
|
3527
|
+
constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
|
|
3528
|
+
onError(): void;
|
|
3529
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageErrorPlaceholderDirective, never>;
|
|
3530
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceImageErrorPlaceholderDirective, "img[niceImageErrorPlaceholder]", never, { "fallback": { "alias": "fallback"; "required": false; }; }, {}, never, never, false, never>;
|
|
3531
|
+
}
|
|
3532
|
+
|
|
3533
|
+
declare class NiceImageErrorPlaceholderDirectiveModule {
|
|
3534
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageErrorPlaceholderDirectiveModule, never>;
|
|
3535
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceImageErrorPlaceholderDirectiveModule, [typeof NiceImageErrorPlaceholderDirective], never, [typeof NiceImageErrorPlaceholderDirective]>;
|
|
3536
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceImageErrorPlaceholderDirectiveModule>;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
declare class NiceMaterialStyleDirective implements OnInit {
|
|
3540
|
+
private element;
|
|
3541
|
+
constructor(element: ElementRef);
|
|
3542
|
+
ngOnInit(): void;
|
|
3543
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceMaterialStyleDirective, never>;
|
|
3544
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceMaterialStyleDirective, "[keep-material-style]", never, {}, {}, never, never, false, never>;
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
declare class NiceRoundedStyleDirective implements OnInit {
|
|
3548
|
+
private element;
|
|
3549
|
+
constructor(element: ElementRef);
|
|
3550
|
+
ngOnInit(): void;
|
|
3551
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceRoundedStyleDirective, never>;
|
|
3552
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceRoundedStyleDirective, "[nice-rounded-style]", never, {}, {}, never, never, false, never>;
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
declare class NiceMaterialModule {
|
|
3556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceMaterialModule, never>;
|
|
3557
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceMaterialModule, [typeof NiceMaterialStyleDirective, typeof NiceRoundedStyleDirective], never, [typeof NiceMaterialStyleDirective, typeof NiceRoundedStyleDirective]>;
|
|
3558
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceMaterialModule>;
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3561
|
+
declare class NiceModalOpenerDirective<T, Return, Data> {
|
|
3562
|
+
protected dialog: MatDialog;
|
|
3563
|
+
private modal;
|
|
3564
|
+
private options;
|
|
3565
|
+
modalData: Data;
|
|
3566
|
+
modalAfterClosed: EventEmitter<Return>;
|
|
3567
|
+
constructor(dialog: MatDialog, modal: Type<T>, options: MatDialogConfig<Data>);
|
|
3568
|
+
open(): void;
|
|
3569
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceModalOpenerDirective<any, any, any>, never>;
|
|
3570
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOpenerDirective<any, any, any>, never, never, { "modalData": { "alias": "modalData"; "required": false; }; }, { "modalAfterClosed": "modalAfterClosed"; }, never, never, true, never>;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3573
|
+
declare class NiceModalOnClickDirective<T, Return, Data = any> extends NiceModalOpenerDirective<T, Return, Data> {
|
|
3574
|
+
constructor(dialog: MatDialog, modal: Type<T>, options: MatDialogConfig<Data>);
|
|
3575
|
+
onClick(): void;
|
|
3576
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceModalOnClickDirective<any, any, any>, never>;
|
|
3577
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOnClickDirective<any, any, any>, never, never, {}, {}, never, never, true, never>;
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
declare class NiceScrollResetDirective implements OnInit, OnDestroy {
|
|
3581
|
+
private _elementRef;
|
|
3582
|
+
private _router;
|
|
3583
|
+
private _unsubscribeAll;
|
|
3584
|
+
/**
|
|
3585
|
+
* Constructor
|
|
3586
|
+
*/
|
|
3587
|
+
constructor(_elementRef: ElementRef, _router: Router);
|
|
3588
|
+
/**
|
|
3589
|
+
* On init
|
|
3590
|
+
*/
|
|
3591
|
+
ngOnInit(): void;
|
|
3592
|
+
/**
|
|
3593
|
+
* On destroy
|
|
3594
|
+
*/
|
|
3595
|
+
ngOnDestroy(): void;
|
|
3596
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollResetDirective, never>;
|
|
3597
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollResetDirective, "[niceScrollReset]", ["niceScrollReset"], {}, {}, never, never, false, never>;
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
declare class NiceScrollResetModule {
|
|
3601
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollResetModule, never>;
|
|
3602
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceScrollResetModule, [typeof NiceScrollResetDirective], never, [typeof NiceScrollResetDirective]>;
|
|
3603
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceScrollResetModule>;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
declare class NiceClickStopPropagationDirective {
|
|
3607
|
+
stopClick(event: Event): void;
|
|
3608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceClickStopPropagationDirective, never>;
|
|
3609
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceClickStopPropagationDirective, "[niceClickStopPropagation]", never, {}, {}, never, never, false, never>;
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
declare class NiceStopPropagationModule {
|
|
3613
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceStopPropagationModule, never>;
|
|
3614
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceStopPropagationModule, [typeof NiceClickStopPropagationDirective], never, [typeof NiceClickStopPropagationDirective]>;
|
|
3615
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceStopPropagationModule>;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
declare class NicePreventCloseWindowDirective {
|
|
3619
|
+
handleClose($event: any): void;
|
|
3620
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NicePreventCloseWindowDirective, never>;
|
|
3621
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NicePreventCloseWindowDirective, "[nicePreventCloseWindow]", never, {}, {}, never, never, false, never>;
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
declare class NiceWindowDirectiveModule {
|
|
3625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceWindowDirectiveModule, never>;
|
|
3626
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceWindowDirectiveModule, [typeof NicePreventCloseWindowDirective], never, [typeof NicePreventCloseWindowDirective]>;
|
|
3627
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceWindowDirectiveModule>;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
declare class RerenderDirective {
|
|
3631
|
+
private templateRef;
|
|
3632
|
+
private viewContainerRef;
|
|
3633
|
+
set rerender(_: any);
|
|
3634
|
+
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
3635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RerenderDirective, never>;
|
|
3636
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RerenderDirective, "[rerender]", never, { "rerender": { "alias": "rerender"; "required": false; }; }, {}, never, never, true, never>;
|
|
3637
|
+
}
|
|
3638
|
+
|
|
3639
|
+
declare class ResolveDirectiveContext<T> {
|
|
3640
|
+
$implicit: T;
|
|
3641
|
+
resolve: T;
|
|
3642
|
+
}
|
|
3643
|
+
declare class ResolveDirective<T> {
|
|
3644
|
+
private templateRef;
|
|
3645
|
+
private viewContainerRef;
|
|
3646
|
+
private context;
|
|
3647
|
+
private embeddedViewRef;
|
|
3648
|
+
set resolve(value: T);
|
|
3649
|
+
constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
3650
|
+
static ngTemplateContextGuard<T>(directive: ResolveDirective<T>, ctx: any): ctx is ResolveDirectiveContext<T>;
|
|
3651
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResolveDirective<any>, never>;
|
|
3652
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResolveDirective<any>, "[resolve]", never, { "resolve": { "alias": "resolve"; "required": false; }; }, {}, never, never, true, never>;
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
declare class NiceModule {
|
|
3656
|
+
/**
|
|
3657
|
+
* Constructor
|
|
3658
|
+
*/
|
|
3659
|
+
constructor(parentModule?: NiceModule);
|
|
3660
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceModule, [{ optional: true; skipSelf: true; }]>;
|
|
3661
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceModule, never, [typeof NiceMediaWatcherModule, typeof NiceSplashScreenModule, typeof NiceUtilsModule], never>;
|
|
3662
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceModule>;
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
export { ArrayUtils, BooleanPipe, CapitalizeFirstLetterPipe, CarouselComponent, CaseUtils, CeilPipe, ChipListItemLabelDirective, ColorsUtils, DateUtils, DefaultExportBottomSheetService, EntriesPipe, ExportBottomSheetComponent, ExportBottomSheetService, FileUtils, FindByKeyPipe, FirstLetterPipe, FloorPipe, FontAwesomeUtils, FormDataUtils, HttpStatusCodes, ImgCropperConfig, ImgCropperError, ImgResolution, JoinPipe, KeyboardCodes, LexoRankUtils, LinkPipe, LocalizedBooleanPipe, LocalizedCurrencyPipe, LocalizedDateOnlyPipe, LocalizedDatePipe, MinutesToTimePipe, ModalMode, NICE_ASYNC_TYPEAHEAD_PROVIDER, NavigationHideItemResolver, NavigationHintResolver, NiceAlertComponent, NiceAlertModule, NiceAlertService, NiceApiException, NiceAssetsCarouselActiveContentDirective, NiceAssetsCarouselComponent, NiceAssetsCarouselModule, NiceAsyncTypeaheadComponent, NiceAsyncTypeaheadModule, NiceAsyncTypeaheadProvider, NiceAutofocusDirective, NiceAutofocusDirectiveModule, NiceAutogrowDirective, NiceAutogrowModule, NiceBaseForm, NiceBaseFormComponent, NiceBaseFormModule, NiceCardComponent, NiceCardModule, NiceCarouselModule, NiceChipAsyncTypeaheadDirective, NiceChipAsyncTypeaheadModule, NiceChipListDirective, NiceChipListDirectiveModule, NiceChipListItemsComponent, NiceClickStopPropagationDirective, NiceCollapsableComponent, NiceCollapsableModule, NiceConfigModule, NiceConfigService, NiceControlStatusDirective, NiceCropperAreaComponent, NiceDateRangePickerComponent, NiceDateRangePickerModule, NiceDraggableListDirective, NiceDraggableListModule, NiceDrawerComponent, NiceDrawerModule, NiceDrawerService, NiceDropzoneDirective, NiceDropzoneModule, NiceExportBottomSheetModule, NiceFormErrorComponent, NiceFormErrorModule, NiceFormSubmitDirective, NiceHorizontalNavigationBasicItemComponent, NiceHorizontalNavigationBranchItemComponent, NiceHorizontalNavigationComponent, NiceHorizontalNavigationDividerItemComponent, NiceHorizontalNavigationSpacerItemComponent, NiceHorizontalStepperComponent, NiceHorizontalStepperModule, NiceHttpExceptionFactory, NiceImageCropperComponent, NiceImageCropperModule, NiceImageErrorPlaceholderDirective, NiceImageErrorPlaceholderDirectiveModule, NiceLayoutComponent, NiceLayoutModule, NiceLoadingDirective, NiceLoadingSpinnerComponent, NiceLoadingSpinnerModule, NiceLoadingToastComponent, NiceLoadingToastDirective, NiceLoadingToastModule, NiceLoadingToastService, NiceLottieComponent, NiceLottieModule, NiceMaterialModule, NiceMaterialStyleDirective, NiceMediaWatcherModule, NiceMediaWatcherService, NiceModalOnClickDirective, NiceModalOpenerDirective, NiceModule, NiceNavigationComponent, NiceNavigationModule, NiceNavigationService, NicePipesModule, NicePreventCloseWindowDirective, NiceRoundedStyleDirective, NiceScrollResetDirective, NiceScrollResetModule, NiceScrollbarDirective, NiceScrollbarModule, NiceSearchBarComponent, NiceSearchBarModule, NiceSplashScreenModule, NiceSplashScreenService, NiceStepComponent, NiceStopPropagationModule, NiceSweetAlertComponent, NiceSweetAlertDirective, NiceSweetAlertModule, NiceSweetAlertService, NiceToastComponent, NiceToastModule, NiceToastService, NiceToggleButtonGroupModule, NiceTransformResponseInterceptor, NiceTranslationFormModule, NiceTranslationFormService, NiceTypeaheadComponent, NiceTypeaheadModule, NiceTypeaheadNewValue, NiceUtilsModule, NiceUtilsService, NiceVerticalNavigationAsideItemComponent, NiceVerticalNavigationBasicItemComponent, NiceVerticalNavigationCollapsableItemComponent, NiceVerticalNavigationComponent, NiceVerticalNavigationDividerItemComponent, NiceVerticalNavigationGroupItemComponent, NiceVerticalNavigationSpacerItemComponent, NiceWindowDirectiveModule, NumberToOrdinalIndicatorPipe, NumberUtils, ObjectUtils, OptionsScrollDirective, PadPipe, PhonePipe, PictureModalComponent, PictureModalService, PostalCodePipe, PromiseUtils, QueryParamsUtils, RangePipe, RegexUtils, RequireForLanguages, RequireForLanguagesValidator, RerenderDirective, ResolveDirective, RoundPipe, SanitizeBypassPipe, SecondsToTimePipe, TRANSFORM_TYPE, ToggleButtonComponent, ToggleButtonGroupComponent, TrackByPropPipe, TranslationContextDirective, TranslationForm, TranslationFormComponent, TranslationFormGroup, TranslationFormTextareaComponent, TranslationFormTextfieldComponent, TranslationToggleComponent, TypeUtils, UrlUtils, _HintComponentBase, _normalizeDegrees, isNotNullOrUndefined, isNullOrUndefined, mergeDeep, mixinNiceApi, niceAnimations, round, showErrorToast, showInfoToast, showLoadingToast, showSuccessOrErrorToast, showSuccessToast, showWarningToast };
|
|
3666
|
+
export type { AbstractConstructor, Constructor, DefaultStrategyType, ExportBottomSheetConfig, ExportBottomSheetOptions, ExportStrategy, HasNiceApiDefinition, HttpOptions, IAutoCompleteScrollEvent, IconType, ImgCropperErrorEvent, ImgCropperEvent, ImgCropperLoaderConfig, ImgOutput, ModalData, NiceAlertAppearance, NiceAlertColor, NiceAlertConfig, NiceAlertType, NiceApiDefinition, NiceAssets, NiceAssetsCarouselActionIcon, NiceAssetsCarouselActions, NiceAssetsCarouselOptions, NiceAsyncTypeaheadSearchResult, NiceChipListActionIcon, NiceChipListOptions, NiceDateRangePickerValue, NiceDrawerMode, NiceDrawerPosition, NiceLoadingOptions, NiceLoadingToastData, NiceLoadingToastOptions, NiceNavigationItem, NiceSweetAlertOptions, NiceSweetAlertParams, NiceToastData, NiceToastOptions, NiceVerticalNavigationAppearance, NiceVerticalNavigationMode, NiceVerticalNavigationPosition, Picture, PictureModalConfig, ShowLoadingToastOperatorOptions, ShowSuccessOrErrorToastOperatorOptions, ShowToastOperatorOptions, ShowToastOperatorOptionsWithoutMessage$1 as ShowToastOperatorOptionsWithoutMessage, ShowToastOperatorOptionsWithoutTitle$1 as ShowToastOperatorOptionsWithoutTitle, ToggleButtonGroupDataType };
|