@recursyve/nice-ui-kit.v2 13.2.0-beta.99 → 14.0.0-beta.101
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/esm2020/lib/api/interceptors/transform-response.interceptor.mjs +3 -3
- package/esm2020/lib/components/alert/alert.component.mjs +6 -6
- package/esm2020/lib/components/alert/alert.module.mjs +7 -9
- package/esm2020/lib/components/alert/alert.service.mjs +3 -3
- package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +43 -23
- package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +15 -16
- package/esm2020/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.mjs +14 -0
- package/esm2020/lib/components/assets-carousel/public-api.mjs +2 -1
- package/esm2020/lib/components/async-typeahead/async-typeahead.component.mjs +17 -15
- package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +13 -15
- package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +3 -3
- package/esm2020/lib/components/base-form/base-form.component.mjs +3 -3
- package/esm2020/lib/components/base-form/base-form.module.mjs +4 -4
- package/esm2020/lib/components/base-form/form-submit.directive.mjs +3 -3
- package/esm2020/lib/components/card/card.component.mjs +4 -4
- package/esm2020/lib/components/card/card.module.mjs +5 -7
- package/esm2020/lib/components/carousel/carousel.component.mjs +3 -3
- package/esm2020/lib/components/carousel/carousel.module.mjs +9 -11
- package/esm2020/lib/components/carousel/picture-modal/picture-modal.component.mjs +3 -3
- package/esm2020/lib/components/carousel/picture-modal/picture-modal.service.mjs +3 -3
- package/esm2020/lib/components/carousel/pipe/carousel-layout.pipe.mjs +3 -3
- package/esm2020/lib/components/collapsable/collapsable.component.mjs +36 -0
- package/esm2020/lib/components/collapsable/collapsable.module.mjs +25 -0
- package/esm2020/lib/components/collapsable/index.mjs +2 -0
- package/esm2020/lib/components/collapsable/public-api.mjs +3 -0
- package/esm2020/lib/components/date-range-picker/components/header/header.component.mjs +57 -0
- package/esm2020/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +107 -0
- package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +74 -0
- package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +56 -0
- package/esm2020/lib/components/date-range-picker/index.mjs +2 -0
- package/esm2020/lib/components/date-range-picker/providers/date-range-picker.service.mjs +17 -0
- package/esm2020/lib/components/date-range-picker/public-api.mjs +3 -0
- package/esm2020/lib/components/drawer/drawer.component.mjs +4 -4
- package/esm2020/lib/components/drawer/drawer.module.mjs +6 -8
- package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +5 -5
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +6 -6
- package/esm2020/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +6 -6
- package/esm2020/lib/components/form-error/control-status.directive.mjs +4 -4
- package/esm2020/lib/components/form-error/form-error.component.mjs +5 -5
- package/esm2020/lib/components/form-error/form-error.module.mjs +5 -5
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +4 -4
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +7 -9
- package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
- package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +11 -11
- package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +5 -5
- package/esm2020/lib/components/layout/layout.component.mjs +3 -3
- package/esm2020/lib/components/layout/layout.module.mjs +5 -5
- package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
- package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +6 -8
- package/esm2020/lib/components/loading-spinner/loading.directive.mjs +3 -3
- package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
- package/esm2020/lib/components/lottie/lottie.module.mjs +5 -5
- package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +163 -0
- package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +9 -9
- package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +11 -10
- package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +5 -5
- package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +5 -5
- package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +10 -9
- package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
- package/esm2020/lib/components/navigation/navigation.module.mjs +26 -17
- package/esm2020/lib/components/navigation/navigation.service.mjs +3 -3
- package/esm2020/lib/components/navigation/navigation.types.mjs +1 -1
- package/esm2020/lib/components/navigation/pipes/should-hide.pipe.mjs +31 -0
- package/esm2020/lib/components/navigation/pipes/should-show-hint.pipe.mjs +32 -0
- package/esm2020/lib/components/navigation/providers/hide-item.resolver.mjs +3 -0
- package/esm2020/lib/components/navigation/providers/hint.resolver.mjs +3 -0
- package/esm2020/lib/components/navigation/providers/hint.service.mjs +20 -0
- package/esm2020/lib/components/navigation/public-api.mjs +3 -1
- package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +12 -12
- package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +10 -8
- package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +14 -22
- package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +5 -5
- package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +12 -11
- package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +5 -5
- package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +33 -16
- package/esm2020/lib/components/public-api.mjs +3 -1
- package/esm2020/lib/components/search-bar/search-bar.component.mjs +8 -8
- package/esm2020/lib/components/search-bar/search-bar.module.mjs +9 -11
- package/esm2020/lib/components/sweet-alert/public-api.mjs +2 -1
- package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +5 -5
- package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +37 -0
- package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +9 -7
- package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +24 -7
- package/esm2020/lib/components/toast/toast.component.mjs +5 -5
- package/esm2020/lib/components/toast/toast.module.mjs +5 -5
- package/esm2020/lib/components/toast/toast.service.mjs +3 -3
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +4 -4
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +6 -8
- package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
- package/esm2020/lib/components/typeahead/directives/options-scroll.directive.mjs +3 -3
- package/esm2020/lib/components/typeahead/directives/options-scroll.module.mjs +4 -4
- package/esm2020/lib/components/typeahead/typeahead.component.mjs +12 -12
- package/esm2020/lib/components/typeahead/typeahead.module.mjs +15 -17
- package/esm2020/lib/directives/autofocus/autofocus.directive.mjs +3 -3
- package/esm2020/lib/directives/autofocus/autofocus.module.mjs +4 -4
- package/esm2020/lib/directives/autogrow/autogrow.directive.mjs +3 -3
- package/esm2020/lib/directives/autogrow/autogrow.module.mjs +4 -4
- package/esm2020/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +3 -3
- package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +3 -3
- package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +24 -10
- package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
- package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +43 -12
- package/esm2020/lib/directives/chip-list/chip-list.module.mjs +24 -5
- package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
- package/esm2020/lib/directives/dropzone/dropzone.module.mjs +5 -5
- package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +3 -3
- package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +4 -4
- package/esm2020/lib/directives/material/material.module.mjs +4 -4
- package/esm2020/lib/directives/material/nice-material-style.directive.mjs +3 -3
- package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +3 -3
- package/esm2020/lib/directives/modals/modal-on-click.directive.mjs +3 -3
- package/esm2020/lib/directives/modals/modal-opener.directive.mjs +3 -3
- package/esm2020/lib/directives/public-api.mjs +2 -1
- package/esm2020/lib/directives/scroll-reset/scroll-reset.directive.mjs +3 -3
- package/esm2020/lib/directives/scroll-reset/scroll-reset.module.mjs +4 -4
- package/esm2020/lib/directives/scrollbar/scrollbar.directive.mjs +3 -3
- package/esm2020/lib/directives/scrollbar/scrollbar.module.mjs +4 -4
- package/esm2020/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +3 -3
- package/esm2020/lib/directives/stop-propagation/stop-propagation.module.mjs +4 -4
- package/esm2020/lib/directives/window/prevent-close-window.directive.mjs +3 -3
- package/esm2020/lib/directives/window/window-directive.module.mjs +4 -4
- package/esm2020/lib/nice.module.mjs +8 -10
- package/esm2020/lib/pipes/boolean.pipe.mjs +3 -3
- package/esm2020/lib/pipes/capitalize-first-letter.pipe.mjs +3 -3
- package/esm2020/lib/pipes/ceil.pipe.mjs +3 -3
- package/esm2020/lib/pipes/entries.pipe.mjs +3 -3
- package/esm2020/lib/pipes/find-by-key.pipe.mjs +3 -3
- package/esm2020/lib/pipes/first-letter.pipe.mjs +3 -3
- package/esm2020/lib/pipes/floor.pipe.mjs +3 -3
- package/esm2020/lib/pipes/join-if-defined.pipe.mjs +3 -3
- package/esm2020/lib/pipes/link.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-boolean.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-currency.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-date-only.pipe.mjs +3 -3
- package/esm2020/lib/pipes/localized-date.pipe.mjs +3 -3
- package/esm2020/lib/pipes/minutes-to-time.pipe.mjs +3 -3
- package/esm2020/lib/pipes/number-to-ordinal-indicator.pipe.mjs +3 -3
- package/esm2020/lib/pipes/pad.pipe.mjs +3 -3
- package/esm2020/lib/pipes/phone.pipe.mjs +3 -3
- package/esm2020/lib/pipes/pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/postal-code.pipe.mjs +3 -3
- package/esm2020/lib/pipes/range.pipe.mjs +3 -3
- package/esm2020/lib/pipes/round.pipe.mjs +3 -3
- package/esm2020/lib/pipes/sanitize-bypass.pipe.mjs +3 -3
- package/esm2020/lib/pipes/seconds-to-time.pipe.mjs +3 -3
- package/esm2020/lib/providers/config/config.module.mjs +4 -4
- package/esm2020/lib/providers/config/config.service.mjs +3 -3
- package/esm2020/lib/providers/media-watcher/media-watcher.module.mjs +4 -4
- package/esm2020/lib/providers/media-watcher/media-watcher.service.mjs +3 -3
- package/esm2020/lib/providers/overlay/dynamic-overlay-container.service.mjs +3 -3
- package/esm2020/lib/providers/overlay/dynamic-overlay.service.mjs +3 -3
- package/esm2020/lib/providers/splash-screen/splash-screen.module.mjs +4 -4
- package/esm2020/lib/providers/splash-screen/splash-screen.service.mjs +3 -3
- package/esm2020/lib/providers/utils/utils.module.mjs +4 -4
- package/esm2020/lib/providers/utils/utils.service.mjs +3 -3
- package/esm2020/lib/utils/keyboard.utils.mjs +2 -1
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +3568 -2883
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3559 -2882
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/{recursyve-nice-ui-kit.v2.d.ts → index.d.ts} +0 -0
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +8 -2
- package/lib/components/assets-carousel/assets-carousel.module.d.ts +9 -8
- package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +8 -0
- package/lib/components/assets-carousel/public-api.d.ts +1 -0
- package/lib/components/async-typeahead/async-typeahead.component.d.ts +3 -3
- package/lib/components/base-form/base-form.component.d.ts +1 -1
- package/lib/components/base-form/form-submit.directive.d.ts +1 -1
- package/lib/components/card/card.component.d.ts +1 -1
- package/lib/components/carousel/carousel.component.d.ts +1 -1
- package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +1 -1
- package/lib/components/carousel/pipe/carousel-layout.pipe.d.ts +1 -1
- package/lib/components/collapsable/collapsable.component.d.ts +15 -0
- package/lib/components/collapsable/collapsable.module.d.ts +9 -0
- package/lib/components/collapsable/index.d.ts +1 -0
- package/lib/components/collapsable/public-api.d.ts +2 -0
- package/lib/components/date-range-picker/components/header/header.component.d.ts +20 -0
- package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +23 -0
- package/lib/components/date-range-picker/date-range-picker.component.d.ts +29 -0
- package/lib/components/date-range-picker/date-range-picker.module.d.ts +18 -0
- package/lib/components/date-range-picker/index.d.ts +1 -0
- package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +8 -0
- package/lib/components/date-range-picker/public-api.d.ts +2 -0
- package/lib/components/drawer/drawer.component.d.ts +1 -1
- package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +1 -1
- package/lib/components/form-error/control-status.directive.d.ts +4 -6
- package/lib/components/form-error/form-error.component.d.ts +1 -1
- package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +1 -1
- package/lib/components/horizontal-stepper/step.component.d.ts +1 -1
- package/lib/components/image-cropper/image-cropper.component.d.ts +2 -2
- package/lib/components/layout/layout.component.d.ts +1 -1
- package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -1
- package/lib/components/loading-spinner/loading.directive.d.ts +1 -1
- package/lib/components/lottie/lottie.component.d.ts +1 -1
- package/lib/components/navigation/directives/show-hint.directive.d.ts +36 -0
- package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +1 -1
- package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +1 -1
- package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +1 -1
- package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +1 -1
- package/lib/components/navigation/horizontal/horizontal.component.d.ts +1 -1
- package/lib/components/navigation/navigation.component.d.ts +1 -1
- package/lib/components/navigation/navigation.module.d.ts +13 -10
- package/lib/components/navigation/navigation.types.d.ts +8 -1
- package/lib/components/navigation/pipes/should-hide.pipe.d.ts +11 -0
- package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +12 -0
- package/lib/components/navigation/providers/hide-item.resolver.d.ts +5 -0
- package/lib/components/navigation/providers/hint.resolver.d.ts +4 -0
- package/lib/components/navigation/providers/hint.service.d.ts +9 -0
- package/lib/components/navigation/public-api.d.ts +2 -0
- package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +1 -1
- package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +1 -1
- package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +1 -1
- package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +1 -1
- package/lib/components/navigation/vertical/components/group/group.component.d.ts +1 -1
- package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +1 -1
- package/lib/components/navigation/vertical/vertical.component.d.ts +6 -2
- package/lib/components/public-api.d.ts +2 -0
- package/lib/components/search-bar/search-bar.component.d.ts +1 -1
- package/lib/components/sweet-alert/public-api.d.ts +1 -0
- package/lib/components/sweet-alert/sweet-alert.component.d.ts +1 -1
- package/lib/components/sweet-alert/sweet-alert.directive.d.ts +13 -0
- package/lib/components/sweet-alert/sweet-alert.module.d.ts +7 -6
- package/lib/components/sweet-alert/sweet-alert.service.d.ts +11 -0
- package/lib/components/toast/toast.component.d.ts +1 -1
- package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +1 -1
- package/lib/components/toggle-button-group/toggle-button.component.d.ts +1 -1
- package/lib/components/typeahead/directives/options-scroll.directive.d.ts +1 -1
- package/lib/components/typeahead/typeahead.component.d.ts +2 -2
- package/lib/directives/autofocus/autofocus.directive.d.ts +1 -1
- package/lib/directives/autogrow/autogrow.directive.d.ts +1 -1
- package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +1 -1
- package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +1 -1
- package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +14 -2
- package/lib/directives/chip-list/chip-list.constant.d.ts +2 -0
- package/lib/directives/chip-list/chip-list.directive.d.ts +5 -1
- package/lib/directives/chip-list/chip-list.module.d.ts +3 -0
- package/lib/directives/dropzone/dropzone.directive.d.ts +1 -1
- package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +1 -1
- package/lib/directives/material/nice-material-style.directive.d.ts +1 -1
- package/lib/directives/material/nice-rounded-style.directive.d.ts +1 -1
- package/lib/directives/modals/modal-on-click.directive.d.ts +1 -1
- package/lib/directives/modals/modal-opener.directive.d.ts +1 -1
- package/lib/directives/public-api.d.ts +1 -0
- package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +1 -1
- package/lib/directives/scrollbar/scrollbar.directive.d.ts +1 -1
- package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +1 -1
- package/lib/directives/window/prevent-close-window.directive.d.ts +1 -1
- package/lib/pipes/boolean.pipe.d.ts +1 -1
- package/lib/pipes/capitalize-first-letter.pipe.d.ts +1 -1
- package/lib/pipes/ceil.pipe.d.ts +1 -1
- package/lib/pipes/entries.pipe.d.ts +1 -1
- package/lib/pipes/find-by-key.pipe.d.ts +1 -1
- package/lib/pipes/first-letter.pipe.d.ts +1 -1
- package/lib/pipes/floor.pipe.d.ts +1 -1
- package/lib/pipes/join-if-defined.pipe.d.ts +1 -1
- package/lib/pipes/link.pipe.d.ts +1 -1
- package/lib/pipes/localized-boolean.pipe.d.ts +1 -1
- package/lib/pipes/localized-currency.pipe.d.ts +1 -1
- package/lib/pipes/localized-date-only.pipe.d.ts +1 -1
- package/lib/pipes/localized-date.pipe.d.ts +1 -1
- package/lib/pipes/minutes-to-time.pipe.d.ts +1 -1
- package/lib/pipes/number-to-ordinal-indicator.pipe.d.ts +1 -1
- package/lib/pipes/pad.pipe.d.ts +1 -1
- package/lib/pipes/phone.pipe.d.ts +1 -1
- package/lib/pipes/postal-code.pipe.d.ts +1 -1
- package/lib/pipes/range.pipe.d.ts +1 -1
- package/lib/pipes/round.pipe.d.ts +1 -1
- package/lib/pipes/sanitize-bypass.pipe.d.ts +1 -1
- package/lib/pipes/seconds-to-time.pipe.d.ts +1 -1
- package/lib/utils/array.utils.d.ts +1 -1
- package/lib/utils/keyboard.utils.d.ts +2 -1
- package/package.json +11 -11
- package/src/lib/components/assets-carousel/assets-carousel.theme.scss +44 -38
- package/src/lib/components/collapsable/collapsable.theme.scss +51 -0
- package/src/lib/components/date-range-picker/date-range-picker.theme.scss +47 -0
- package/src/lib/components/navigation/vertical/styles/appearances/default.theme.scss +38 -0
- package/src/lib/components/navigation/vertical/styles/appearances/dense.theme.scss +2 -2
- package/src/lib/nice.theme.scss +4 -0
|
File without changes
|
|
@@ -60,5 +60,5 @@ export declare class NiceAlertComponent implements OnChanges, OnInit, OnDestroy
|
|
|
60
60
|
*/
|
|
61
61
|
private _toggleDismiss;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAlertComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAlertComponent, "nice-alert", ["niceAlert"], { "appearance": "appearance"; "dismissed": "dismissed"; "dismissible": "dismissible"; "disableAnimation": "disableAnimation"; "name": "name"; "showIcon": "showIcon"; "type": "type"; "color": "color"; }, { "dismissedChanged": "dismissedChanged"; }, never, ["[niceAlertIcon]", "[niceAlertTitle]", "*"]>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAlertComponent, "nice-alert", ["niceAlert"], { "appearance": "appearance"; "dismissed": "dismissed"; "dismissible": "dismissible"; "disableAnimation": "disableAnimation"; "name": "name"; "showIcon": "showIcon"; "type": "type"; "color": "color"; }, { "dismissedChanged": "dismissedChanged"; }, never, ["[niceAlertIcon]", "[niceAlertTitle]", "*"], false>;
|
|
64
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, QueryList } from "@angular/core";
|
|
1
|
+
import { ElementRef, EventEmitter, QueryList, TemplateRef } from "@angular/core";
|
|
2
2
|
import { ControlValueAccessor } from "@angular/forms";
|
|
3
3
|
import { CanColor, ThemePalette } from "@angular/material/core";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -48,10 +48,16 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
|
|
|
48
48
|
edit: boolean;
|
|
49
49
|
accept: string[];
|
|
50
50
|
customActions: NiceAssetsCarouselActions[];
|
|
51
|
+
multipleUpload: boolean;
|
|
52
|
+
visiblePreviewAsset: number;
|
|
53
|
+
showAddAssetContainer: boolean;
|
|
54
|
+
activeContent: TemplateRef<any>;
|
|
51
55
|
activeChange: EventEmitter<number>;
|
|
56
|
+
removedAsset: EventEmitter<NiceAssets>;
|
|
52
57
|
listStyle: {
|
|
53
58
|
transform: string;
|
|
54
59
|
};
|
|
60
|
+
showOverlay: boolean;
|
|
55
61
|
private propagate;
|
|
56
62
|
set activeVideoElement(activeVideoElement: ElementRef<HTMLVideoElement>);
|
|
57
63
|
set assetsElement(assetsElement: QueryList<ElementRef<HTMLDivElement>>);
|
|
@@ -71,5 +77,5 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
|
|
|
71
77
|
clickCustom(action: NiceAssetsCarouselActions): void;
|
|
72
78
|
startSyncVideo(): Promise<void>;
|
|
73
79
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselComponent, [{ optional: true; }]>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "assets": "assets"; }, { "activeChange": "activeChange"; }, never,
|
|
80
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "multipleUpload": "multipleUpload"; "visiblePreviewAsset": "visiblePreviewAsset"; "showAddAssetContainer": "showAddAssetContainer"; "assets": "assets"; }, { "activeChange": "activeChange"; "removedAsset": "removedAsset"; }, ["activeContent"], never, false>;
|
|
75
81
|
}
|
|
@@ -2,16 +2,17 @@ import { ModuleWithProviders } from "@angular/core";
|
|
|
2
2
|
import { NiceAssetsCarouselOptions } from "./assets-carousel.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "./assets-carousel.component";
|
|
5
|
-
import * as i2 from "
|
|
6
|
-
import * as i3 from "@angular/
|
|
7
|
-
import * as i4 from "@angular/material/
|
|
8
|
-
import * as i5 from "@angular/material/
|
|
9
|
-
import * as i6 from "@angular/material/
|
|
10
|
-
import * as i7 from "
|
|
11
|
-
import * as i8 from "
|
|
5
|
+
import * as i2 from "./directives/assets-carousel-active-content.directive";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
7
|
+
import * as i4 from "@angular/material/icon";
|
|
8
|
+
import * as i5 from "@angular/material/button";
|
|
9
|
+
import * as i6 from "@angular/material/menu";
|
|
10
|
+
import * as i7 from "@angular/material/core";
|
|
11
|
+
import * as i8 from "../../directives/dropzone/dropzone.module";
|
|
12
|
+
import * as i9 from "@ngx-translate/core";
|
|
12
13
|
export declare class NiceAssetsCarouselModule {
|
|
13
14
|
static forRoot(options?: NiceAssetsCarouselOptions): ModuleWithProviders<NiceAssetsCarouselModule>;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent], [typeof
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective], [typeof i3.CommonModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatMenuModule, typeof i7.MatRippleModule, typeof i8.NiceDropzoneModule, typeof i9.TranslateModule], [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<NiceAssetsCarouselModule>;
|
|
17
18
|
}
|
package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NiceAssetsCarouselActiveContentDirective {
|
|
4
|
+
template: TemplateRef<any>;
|
|
5
|
+
constructor(template: TemplateRef<any>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselActiveContentDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAssetsCarouselActiveContentDirective, "[niceAssetsCarouselActiveContent]", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -34,7 +34,7 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
|
|
|
34
34
|
stateChanges: Subject<void>;
|
|
35
35
|
controlType: string;
|
|
36
36
|
focused: boolean;
|
|
37
|
-
searchControl: FormControl
|
|
37
|
+
searchControl: FormControl<any>;
|
|
38
38
|
valueChangesSub$: Subscription;
|
|
39
39
|
open: boolean;
|
|
40
40
|
panelWidth: number;
|
|
@@ -97,7 +97,7 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
|
|
|
97
97
|
onOptionActivated(event: MatAutocompleteActivatedEvent): void;
|
|
98
98
|
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
99
99
|
updateState(open: boolean): void;
|
|
100
|
-
onRemove(event?: Event): void;
|
|
100
|
+
onRemove(event?: Event, reload?: boolean): void;
|
|
101
101
|
formatLabel(item: any): string;
|
|
102
102
|
onEndScroll(): void;
|
|
103
103
|
focusChanged(isFocused: boolean): void;
|
|
@@ -107,6 +107,6 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
|
|
|
107
107
|
private updateSearchInput;
|
|
108
108
|
private checkIfValueStillExist;
|
|
109
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "selected": "selected"; }, never, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "selected": "selected"; }, never, never, false>;
|
|
111
111
|
}
|
|
112
112
|
export {};
|
|
@@ -25,5 +25,5 @@ export declare abstract class NiceBaseFormComponent<Form> implements OnInit, OnD
|
|
|
25
25
|
protected validateStep(index: number): boolean;
|
|
26
26
|
protected getCurrentStepGroup(index: number): FormGroup | null;
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceBaseFormComponent<any>, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceBaseFormComponent<any>, "ng-component", never, { "loading": "loading"; }, { "submit": "submit"; }, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceBaseFormComponent<any>, "ng-component", never, { "loading": "loading"; }, { "submit": "submit"; }, never, never, false>;
|
|
29
29
|
}
|
|
@@ -4,5 +4,5 @@ export declare class NiceFormSubmitDirective {
|
|
|
4
4
|
form: NiceBaseFormComponent<any>;
|
|
5
5
|
onClick(): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormSubmitDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceFormSubmitDirective, "[niceFormSubmit]", never, { "form": "form"; }, {}, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceFormSubmitDirective, "[niceFormSubmit]", never, { "form": "form"; }, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -17,5 +17,5 @@ export declare class NiceCardComponent implements OnChanges {
|
|
|
17
17
|
*/
|
|
18
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCardComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCardComponent, "nice-card", ["niceCard"], { "expanded": "expanded"; "face": "face"; "flippable": "flippable"; }, {}, never, ["[niceCardFront]", "[niceCardBack]", "*", "[niceCardExpansion]"]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCardComponent, "nice-card", ["niceCard"], { "expanded": "expanded"; "face": "face"; "flippable": "flippable"; }, {}, never, ["[niceCardFront]", "[niceCardBack]", "*", "[niceCardExpansion]"], false>;
|
|
21
21
|
}
|
|
@@ -17,5 +17,5 @@ export declare class CarouselComponent {
|
|
|
17
17
|
clickView(picture: Picture): void;
|
|
18
18
|
clickDelete(picture: Picture): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "nice-carousel", never, { "images": "images"; "direction": "direction"; "layout": "layout"; "editable": "editable"; }, { "delete": "delete"; }, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "nice-carousel", never, { "images": "images"; "direction": "direction"; "layout": "layout"; "editable": "editable"; }, { "delete": "delete"; }, never, never, false>;
|
|
21
21
|
}
|
|
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class PictureModalComponent {
|
|
3
3
|
picture: string;
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<PictureModalComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PictureModalComponent, "nice-picture-modal", never, {}, {}, never, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PictureModalComponent, "nice-picture-modal", never, {}, {}, never, never, false>;
|
|
6
6
|
}
|
|
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class CarouselLayoutPipe implements PipeTransform {
|
|
4
4
|
transform(value: "row" | "column", direction: "ltr" | "rtl" | "utd" | "dtu"): string;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselLayoutPipe, never>;
|
|
6
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CarouselLayoutPipe, "carouselLayout">;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CarouselLayoutPipe, "carouselLayout", false>;
|
|
7
7
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { FormControl } from "@angular/forms";
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NiceCollapsableComponent implements OnInit, OnChanges, OnDestroy {
|
|
6
|
+
open: boolean;
|
|
7
|
+
openChange: EventEmitter<boolean>;
|
|
8
|
+
unsubscribeAll$: Subject<void>;
|
|
9
|
+
control: FormControl<boolean>;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCollapsableComponent, "nice-collapsable", never, { "open": "open"; }, { "openChange": "openChange"; }, never, ["[niceCollapsableTitle]", "[niceCollapsableContent]"], false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./collapsable.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class NiceCollapsableModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceCollapsableModule, [typeof i1.NiceCollapsableComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof i1.NiceCollapsableComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceCollapsableModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./public-api";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from "@angular/core";
|
|
2
|
+
import { DateAdapter, MatDateFormats } from "@angular/material/core";
|
|
3
|
+
import { MatCalendar } from "@angular/material/datepicker";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class HeaderComponent<D> implements OnDestroy {
|
|
6
|
+
private calendar;
|
|
7
|
+
private dateAdapter;
|
|
8
|
+
private dateFormats;
|
|
9
|
+
private readonly destroy$;
|
|
10
|
+
toggled: boolean;
|
|
11
|
+
constructor(calendar: MatCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats, cdr: ChangeDetectorRef);
|
|
12
|
+
get periodLabel(): string;
|
|
13
|
+
previousClicked(mode: "month" | "year"): void;
|
|
14
|
+
nextClicked(mode: "month" | "year"): void;
|
|
15
|
+
private changeDate;
|
|
16
|
+
clickOptions(): void;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent<any>, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent<any>, "ng-component", never, {}, {}, never, never, false>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DateAdapter } from "@angular/material/core";
|
|
2
|
+
import { MatDateRangePicker } from "@angular/material/datepicker";
|
|
3
|
+
import { NiceDateRangePickerServiceService } from "../../providers/date-range-picker.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
declare const customPresets: string[];
|
|
6
|
+
declare type CustomPreset = typeof customPresets[number];
|
|
7
|
+
export declare class RangePresetComponent<D> {
|
|
8
|
+
private dateAdapter;
|
|
9
|
+
private picker;
|
|
10
|
+
private service;
|
|
11
|
+
readonly customPresets: string[];
|
|
12
|
+
readonly allowClear$: import("rxjs").BehaviorSubject<boolean>;
|
|
13
|
+
constructor(dateAdapter: DateAdapter<D>, picker: MatDateRangePicker<D>, service: NiceDateRangePickerServiceService);
|
|
14
|
+
clearRange(): void;
|
|
15
|
+
selectRange(rangeName: CustomPreset): void;
|
|
16
|
+
private calculateDateRange;
|
|
17
|
+
private calculateMonth;
|
|
18
|
+
private calculateWeek;
|
|
19
|
+
private get today();
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangePresetComponent<any>, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RangePresetComponent<any>, "nice-range-preset", never, {}, {}, never, never, false>;
|
|
22
|
+
}
|
|
23
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor, FormControl, FormGroup } from "@angular/forms";
|
|
3
|
+
import { HeaderComponent } from "./components/header/header.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export interface NiceDateRangePickerValue {
|
|
6
|
+
from: Date;
|
|
7
|
+
to: Date;
|
|
8
|
+
}
|
|
9
|
+
export declare class NiceDateRangePickerComponent implements OnInit, ControlValueAccessor {
|
|
10
|
+
readonly HeaderComponent: typeof HeaderComponent;
|
|
11
|
+
private picker;
|
|
12
|
+
min: Date;
|
|
13
|
+
max: Date;
|
|
14
|
+
nowIsMax: boolean;
|
|
15
|
+
allowClear: boolean;
|
|
16
|
+
formGroup: FormGroup<{
|
|
17
|
+
from: FormControl<any>;
|
|
18
|
+
to: FormControl<any>;
|
|
19
|
+
}>;
|
|
20
|
+
now: Date;
|
|
21
|
+
value: NiceDateRangePickerValue;
|
|
22
|
+
private propage;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
writeValue(value: NiceDateRangePickerValue): void;
|
|
25
|
+
registerOnChange(fn: (value: NiceDateRangePickerValue) => void): void;
|
|
26
|
+
registerOnTouched(fn: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceDateRangePickerComponent, "nice-date-range-picker", never, { "min": "min"; "max": "max"; "nowIsMax": "nowIsMax"; "allowClear": "allowClear"; }, {}, never, never, false>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./date-range-picker.component";
|
|
3
|
+
import * as i2 from "./components/range-preset/range-preset.component";
|
|
4
|
+
import * as i3 from "./components/header/header.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/material/datepicker";
|
|
7
|
+
import * as i6 from "@angular/material/form-field";
|
|
8
|
+
import * as i7 from "@angular/material/card";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/icon";
|
|
11
|
+
import * as i10 from "@ngx-translate/core";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "../../pipes/pipes.module";
|
|
14
|
+
export declare class NiceDateRangePickerModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDateRangePickerModule, [typeof i1.NiceDateRangePickerComponent, typeof i2.RangePresetComponent, typeof i3.HeaderComponent], [typeof i4.CommonModule, typeof i5.MatDatepickerModule, typeof i6.MatFormFieldModule, typeof i7.MatCardModule, typeof i8.MatButtonModule, typeof i9.MatIconModule, typeof i10.TranslateModule, typeof i11.ReactiveFormsModule, typeof i12.NicePipesModule], [typeof i1.NiceDateRangePickerComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceDateRangePickerModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./public-api";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NiceDateRangePickerServiceService {
|
|
4
|
+
allowClear$: BehaviorSubject<boolean>;
|
|
5
|
+
setAllowClear(allowClear: boolean): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerServiceService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceDateRangePickerServiceService>;
|
|
8
|
+
}
|
|
@@ -111,5 +111,5 @@ export declare class NiceDrawerComponent implements OnChanges, OnInit, OnDestroy
|
|
|
111
111
|
*/
|
|
112
112
|
private _toggleOpened;
|
|
113
113
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceDrawerComponent, never>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceDrawerComponent, "nice-drawer", ["niceDrawer"], { "fixed": "fixed"; "mode": "mode"; "width": "width"; "name": "name"; "opened": "opened"; "position": "position"; "transparentOverlay": "transparentOverlay"; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceDrawerToggle]", "*"]>;
|
|
114
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceDrawerComponent, "nice-drawer", ["niceDrawer"], { "fixed": "fixed"; "mode": "mode"; "width": "width"; "name": "name"; "opened": "opened"; "position": "position"; "transparentOverlay": "transparentOverlay"; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceDrawerToggle]", "*"], false>;
|
|
115
115
|
}
|
|
@@ -13,5 +13,5 @@ export declare class ExportBottomSheetComponent {
|
|
|
13
13
|
getStrategyIcon(strategy: ExportStrategy): string;
|
|
14
14
|
clickExport(strategy: ExportStrategy): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExportBottomSheetComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExportBottomSheetComponent, "nice-export-bottom-sheet", never, {}, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExportBottomSheetComponent, "nice-export-bottom-sheet", never, {}, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { NgControl } from "@angular/forms";
|
|
1
|
+
import { AfterViewInit, ElementRef, ViewContainerRef } from "@angular/core";
|
|
3
2
|
import { MatFormField } from "@angular/material/form-field";
|
|
4
3
|
import { TranslateService } from "@ngx-translate/core";
|
|
5
|
-
import { NiceFormErrorComponent } from "./form-error.component";
|
|
6
4
|
import * as i0 from "@angular/core";
|
|
7
5
|
export declare class NiceControlStatusDirective implements AfterViewInit {
|
|
8
6
|
private el;
|
|
9
7
|
private vcr;
|
|
10
8
|
private formField;
|
|
11
9
|
private translateService;
|
|
12
|
-
ref
|
|
13
|
-
control
|
|
10
|
+
private ref;
|
|
11
|
+
private control;
|
|
14
12
|
constructor(el: ElementRef<HTMLElement>, vcr: ViewContainerRef, formField: MatFormField, translateService: TranslateService);
|
|
15
13
|
ngAfterViewInit(): void;
|
|
16
14
|
onChange(): void;
|
|
17
15
|
setError(text: string): void;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceControlStatusDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never, never, false>;
|
|
20
18
|
}
|
|
@@ -4,5 +4,5 @@ export declare class NiceFormErrorComponent {
|
|
|
4
4
|
increment: number;
|
|
5
5
|
set error(value: any);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormErrorComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceFormErrorComponent, "[form-error]", never, { "error": "error"; }, {}, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceFormErrorComponent, "[form-error]", never, { "error": "error"; }, {}, never, never, false>;
|
|
8
8
|
}
|
|
@@ -4,5 +4,5 @@ export declare class NiceHorizontalStepperComponent extends CdkStepper {
|
|
|
4
4
|
private onStepperClick;
|
|
5
5
|
onClick(step: CdkStep, index: number): void;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalStepperComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalStepperComponent, "nice-horizontal-stepper", never, {}, { "onStepperClick": "onStepperClick"; }, never, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalStepperComponent, "nice-horizontal-stepper", never, {}, { "onStepperClick": "onStepperClick"; }, never, never, false>;
|
|
8
8
|
}
|
|
@@ -2,5 +2,5 @@ import { CdkStep } from "@angular/cdk/stepper";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class NiceStepComponent extends CdkStep {
|
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceStepComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceStepComponent, "nice-step", never, {}, {}, never, ["*"]>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceStepComponent, "nice-step", never, {}, {}, never, ["*"], false>;
|
|
6
6
|
}
|
|
@@ -319,7 +319,7 @@ export declare class NiceImageCropperComponent implements OnInit, OnDestroy {
|
|
|
319
319
|
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
320
320
|
private _getWindow;
|
|
321
321
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageCropperComponent, never>;
|
|
322
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceImageCropperComponent, "nice-img-cropper, nice-image-cropper", never, { "config": "config"; "scale": "scale"; "maxFileSize": "maxFileSize"; }, { "scaleChange": "scaleChange"; "minScaleChange": "minScale"; "maxScaleChange": "maxScale"; "imageLoaded": "imageLoaded"; "ready": "ready"; "cropped": "cropped"; "cleaned": "cleaned"; "error": "error"; }, never, never>;
|
|
322
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceImageCropperComponent, "nice-img-cropper, nice-image-cropper", never, { "config": "config"; "scale": "scale"; "maxFileSize": "maxFileSize"; }, { "scaleChange": "scaleChange"; "minScaleChange": "minScale"; "maxScaleChange": "maxScale"; "imageLoaded": "imageLoaded"; "ready": "ready"; "cropped": "cropped"; "cleaned": "cleaned"; "error": "error"; }, never, never, false>;
|
|
323
323
|
}
|
|
324
324
|
/**
|
|
325
325
|
* Normalize degrees for cropper rotation
|
|
@@ -370,5 +370,5 @@ export declare class NiceCropperAreaComponent implements OnDestroy {
|
|
|
370
370
|
/** Use defaultView of injected document if available or fallback to global window reference */
|
|
371
371
|
private _getWindow;
|
|
372
372
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceCropperAreaComponent, never>;
|
|
373
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCropperAreaComponent, "nice-cropper-area", never, { "keepAspectRatio": "keepAspectRatio"; "round": "round"; "resizableArea": "resizableArea"; }, {}, never, never>;
|
|
373
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceCropperAreaComponent, "nice-cropper-area", never, { "keepAspectRatio": "keepAspectRatio"; "round": "round"; "resizableArea": "resizableArea"; }, {}, never, never, false>;
|
|
374
374
|
}
|
|
@@ -35,5 +35,5 @@ export declare class NiceLayoutComponent implements OnInit, OnDestroy {
|
|
|
35
35
|
*/
|
|
36
36
|
private _updateTheme;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLayoutComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLayoutComponent, "nice-layout", never, {}, {}, never, ["*"]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLayoutComponent, "nice-layout", never, {}, {}, never, ["*"], false>;
|
|
39
39
|
}
|
|
@@ -5,5 +5,5 @@ export declare class NiceLoadingSpinnerComponent {
|
|
|
5
5
|
mode: ProgressSpinnerMode;
|
|
6
6
|
diameter: number;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingSpinnerComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingSpinnerComponent, "nice-loading-spinner", never, { "loading": "loading"; "mode": "mode"; "diameter": "diameter"; }, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingSpinnerComponent, "nice-loading-spinner", never, { "loading": "loading"; "mode": "mode"; "diameter": "diameter"; }, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -13,5 +13,5 @@ export declare class NiceLoadingDirective {
|
|
|
13
13
|
set loading(loading: boolean | null);
|
|
14
14
|
constructor(options: NiceLoadingOptions, elRef: ElementRef, overlay: DynamicOverlay);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingDirective, [{ optional: true; }, null, null]>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingDirective, "[niceLoadingOverlay]", never, { "loading": "niceLoadingOverlay"; }, {}, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingDirective, "[niceLoadingOverlay]", never, { "loading": "niceLoadingOverlay"; }, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -15,5 +15,5 @@ export declare class NiceLottieComponent implements OnInit, AfterViewInit {
|
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
ngAfterViewInit(): Promise<void>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceLottieComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLottieComponent, "nice-lottie", never, { "options": "options"; "width": "width"; "height": "height"; }, { "animCreated": "animCreated"; }, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceLottieComponent, "nice-lottie", never, { "options": "options"; "width": "width"; "height": "height"; }, { "animCreated": "animCreated"; }, never, never, false>;
|
|
19
19
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Overlay } from "@angular/cdk/overlay";
|
|
2
|
+
import { Platform } from "@angular/cdk/platform";
|
|
3
|
+
import { AfterViewInit, ElementRef, NgZone, OnDestroy, ViewContainerRef } from "@angular/core";
|
|
4
|
+
import { NiceNavigationItem } from "../navigation.types";
|
|
5
|
+
import { NiceNavigationHintService } from "../providers/hint.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class NiceShowHintDirective implements AfterViewInit, OnDestroy {
|
|
8
|
+
private _overlay;
|
|
9
|
+
private _elementRef;
|
|
10
|
+
private _viewContainerRef;
|
|
11
|
+
private _ngZone;
|
|
12
|
+
private _platform;
|
|
13
|
+
private _hintService;
|
|
14
|
+
shouldShow: boolean;
|
|
15
|
+
item: NiceNavigationItem;
|
|
16
|
+
private _pointerExitEventsInitialized;
|
|
17
|
+
private _portal;
|
|
18
|
+
private _hintInstance;
|
|
19
|
+
private _overlayRef;
|
|
20
|
+
private readonly _passiveListeners;
|
|
21
|
+
private readonly unsubscribeAll$;
|
|
22
|
+
constructor(_overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _ngZone: NgZone, _platform: Platform, _hintService: NiceNavigationHintService);
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
show(): void;
|
|
26
|
+
hide(): void;
|
|
27
|
+
private _createOverlay;
|
|
28
|
+
private _detach;
|
|
29
|
+
private _isHintVisible;
|
|
30
|
+
private _setupPointerEnterEventsIfNeeded;
|
|
31
|
+
private _setupPointerExitEventsIfNeeded;
|
|
32
|
+
private _platformSupportsMouseEvents;
|
|
33
|
+
private _addListeners;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShowHintDirective, never>;
|
|
35
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceShowHintDirective, "[niceShowHint]", never, { "shouldShow": "shouldShow"; "item": "item"; }, {}, never, never, false>;
|
|
36
|
+
}
|
|
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationBasicItemComponent implements OnIni
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBasicItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBasicItemComponent, "nice-horizontal-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBasicItemComponent, "nice-horizontal-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
26
26
|
}
|
|
@@ -31,5 +31,5 @@ export declare class NiceHorizontalNavigationBranchItemComponent implements OnIn
|
|
|
31
31
|
*/
|
|
32
32
|
triggerChangeDetection(): void;
|
|
33
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBranchItemComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBranchItemComponent, "nice-horizontal-navigation-branch-item", never, { "child": "child"; "item": "item"; "name": "name"; }, {}, never, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBranchItemComponent, "nice-horizontal-navigation-branch-item", never, { "child": "child"; "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
35
35
|
}
|
|
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationDividerItemComponent implements OnI
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationDividerItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationDividerItemComponent, "nice-horizontal-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationDividerItemComponent, "nice-horizontal-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
26
26
|
}
|
|
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationSpacerItemComponent implements OnIn
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationSpacerItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
26
26
|
}
|
|
@@ -13,5 +13,5 @@ export declare class NiceHorizontalNavigationComponent extends NiceNavigationCom
|
|
|
13
13
|
*/
|
|
14
14
|
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": "name"; "navigation": "navigation"; }, {}, never, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": "name"; "navigation": "navigation"; }, {}, never, never, false>;
|
|
17
17
|
}
|
|
@@ -26,5 +26,5 @@ export declare class NiceNavigationComponent implements OnInit, OnDestroy, OnCha
|
|
|
26
26
|
*/
|
|
27
27
|
trackByFn(index: number, item: any): any;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never, false>;
|
|
30
30
|
}
|
|
@@ -12,17 +12,20 @@ import * as i10 from "./vertical/components/divider/divider.component";
|
|
|
12
12
|
import * as i11 from "./vertical/components/group/group.component";
|
|
13
13
|
import * as i12 from "./vertical/components/spacer/spacer.component";
|
|
14
14
|
import * as i13 from "./vertical/vertical.component";
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "@angular/
|
|
19
|
-
import * as i18 from "@angular/
|
|
20
|
-
import * as i19 from "@angular/material/
|
|
21
|
-
import * as i20 from "@angular/material/
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "@
|
|
15
|
+
import * as i14 from "./pipes/should-hide.pipe";
|
|
16
|
+
import * as i15 from "./pipes/should-show-hint.pipe";
|
|
17
|
+
import * as i16 from "./directives/show-hint.directive";
|
|
18
|
+
import * as i17 from "@angular/common";
|
|
19
|
+
import * as i18 from "@angular/router";
|
|
20
|
+
import * as i19 from "@angular/material/button";
|
|
21
|
+
import * as i20 from "@angular/material/divider";
|
|
22
|
+
import * as i21 from "@angular/material/icon";
|
|
23
|
+
import * as i22 from "@angular/material/menu";
|
|
24
|
+
import * as i23 from "@angular/material/tooltip";
|
|
25
|
+
import * as i24 from "../../directives/scrollbar/scrollbar.module";
|
|
26
|
+
import * as i25 from "@ngx-translate/core";
|
|
24
27
|
export declare class NiceNavigationModule {
|
|
25
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceNavigationModule, [typeof i1.NiceNavigationComponent, typeof i2.NiceHorizontalNavigationBasicItemComponent, typeof i3.NiceHorizontalNavigationBranchItemComponent, typeof i4.NiceHorizontalNavigationDividerItemComponent, typeof i5.NiceHorizontalNavigationSpacerItemComponent, typeof i6.NiceHorizontalNavigationComponent, typeof i7.NiceVerticalNavigationAsideItemComponent, typeof i8.NiceVerticalNavigationBasicItemComponent, typeof i9.NiceVerticalNavigationCollapsableItemComponent, typeof i10.NiceVerticalNavigationDividerItemComponent, typeof i11.NiceVerticalNavigationGroupItemComponent, typeof i12.NiceVerticalNavigationSpacerItemComponent, typeof i13.NiceVerticalNavigationComponent], [typeof
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceNavigationModule, [typeof i1.NiceNavigationComponent, typeof i2.NiceHorizontalNavigationBasicItemComponent, typeof i3.NiceHorizontalNavigationBranchItemComponent, typeof i4.NiceHorizontalNavigationDividerItemComponent, typeof i5.NiceHorizontalNavigationSpacerItemComponent, typeof i6.NiceHorizontalNavigationComponent, typeof i7.NiceVerticalNavigationAsideItemComponent, typeof i8.NiceVerticalNavigationBasicItemComponent, typeof i9.NiceVerticalNavigationCollapsableItemComponent, typeof i10.NiceVerticalNavigationDividerItemComponent, typeof i11.NiceVerticalNavigationGroupItemComponent, typeof i12.NiceVerticalNavigationSpacerItemComponent, typeof i13.NiceVerticalNavigationComponent, typeof i14.NiceShouldHidePipe, typeof i15.NiceShouldShowHintPipe, typeof i16.NiceShowHintDirective], [typeof i17.CommonModule, typeof i18.RouterModule, typeof i19.MatButtonModule, typeof i20.MatDividerModule, typeof i21.MatIconModule, typeof i22.MatMenuModule, typeof i23.MatTooltipModule, typeof i24.NiceScrollbarModule, typeof i25.TranslateModule], [typeof i6.NiceHorizontalNavigationComponent, typeof i13.NiceVerticalNavigationComponent]>;
|
|
27
30
|
static ɵinj: i0.ɵɵInjectorDeclaration<NiceNavigationModule>;
|
|
28
31
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { Type } from "@angular/core";
|
|
2
|
+
import { NavigationHideItemResolver } from "./providers/hide-item.resolver";
|
|
3
|
+
import { NavigationHintResolver } from "./providers/hint.resolver";
|
|
1
4
|
export declare type IconType = "fontawesome" | "material" | "svg";
|
|
2
5
|
export interface NiceNavigationItem {
|
|
3
6
|
id?: string;
|
|
4
7
|
title?: string;
|
|
5
8
|
subtitle?: string;
|
|
6
9
|
type: "aside" | "basic" | "collapsable" | "divider" | "group" | "spacer";
|
|
7
|
-
hidden?: (item: NiceNavigationItem) => boolean;
|
|
10
|
+
hidden?: Type<NavigationHideItemResolver> | ((item: NiceNavigationItem) => boolean) | boolean;
|
|
8
11
|
active?: boolean;
|
|
9
12
|
disabled?: boolean;
|
|
10
13
|
link?: string;
|
|
@@ -28,6 +31,10 @@ export interface NiceNavigationItem {
|
|
|
28
31
|
};
|
|
29
32
|
children?: NiceNavigationItem[];
|
|
30
33
|
meta?: any;
|
|
34
|
+
hint?: {
|
|
35
|
+
resolver: Type<NavigationHintResolver>;
|
|
36
|
+
component: Type<any>;
|
|
37
|
+
};
|
|
31
38
|
}
|
|
32
39
|
export declare type NiceVerticalNavigationAppearance = "default" | "compact" | "dense" | "thin";
|
|
33
40
|
export declare type NiceVerticalNavigationMode = "over" | "side";
|