@recursyve/nice-ui-kit.v2 14.0.0-beta.98 → 15.0.0-beta.119
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 +4 -4
- package/esm2020/lib/components/alert/alert.module.mjs +4 -4
- package/esm2020/lib/components/alert/alert.service.mjs +3 -3
- package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +78 -49
- package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +15 -10
- 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 +48 -35
- package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +4 -4
- package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +15 -4
- package/esm2020/lib/components/async-typeahead/public-api.mjs +2 -1
- package/esm2020/lib/components/base-form/base-form.component.mjs +5 -16
- 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 +3 -3
- package/esm2020/lib/components/card/card.module.mjs +4 -4
- package/esm2020/lib/components/carousel/carousel.component.mjs +7 -7
- package/esm2020/lib/components/carousel/carousel.module.mjs +4 -4
- 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 +3 -3
- package/esm2020/lib/components/drawer/drawer.module.mjs +4 -4
- package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +5 -6
- package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +4 -4
- 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 +31 -11
- package/esm2020/lib/components/form-error/form-error.component.mjs +12 -21
- package/esm2020/lib/components/form-error/form-error.module.mjs +6 -7
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +3 -3
- package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +4 -4
- package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
- package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +35 -35
- package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +4 -4
- package/esm2020/lib/components/layout/layout.component.mjs +3 -3
- package/esm2020/lib/components/layout/layout.module.mjs +4 -4
- package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
- package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +4 -4
- package/esm2020/lib/components/loading-spinner/loading.directive.mjs +10 -10
- package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
- package/esm2020/lib/components/lottie/lottie.module.mjs +4 -4
- package/esm2020/lib/components/navigation/components/hint-component-base.mjs +120 -0
- package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +187 -0
- package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +6 -5
- package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
- package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +13 -12
- package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
- package/esm2020/lib/components/navigation/navigation.module.mjs +18 -7
- 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 +4 -1
- package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +8 -6
- package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +7 -5
- package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +6 -5
- package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +3 -3
- package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +47 -24
- package/esm2020/lib/components/public-api.mjs +4 -1
- package/esm2020/lib/components/search-bar/search-bar.component.mjs +5 -5
- package/esm2020/lib/components/search-bar/search-bar.module.mjs +4 -4
- package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +3 -3
- package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +3 -3
- package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +4 -4
- package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +3 -3
- package/esm2020/lib/components/toast/toast.component.mjs +4 -4
- package/esm2020/lib/components/toast/toast.module.mjs +4 -4
- package/esm2020/lib/components/toast/toast.service.mjs +3 -3
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +5 -5
- package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +4 -4
- package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
- package/esm2020/lib/components/translation-form/components/textarea/translation-form-textarea.component.mjs +37 -0
- package/esm2020/lib/components/translation-form/components/textfield/translation-form-textfield.component.mjs +25 -0
- package/esm2020/lib/components/translation-form/components/translation-form.component.mjs +164 -0
- package/esm2020/lib/components/translation-form/components/translation-form.module.mjs +71 -0
- package/esm2020/lib/components/translation-form/decorators/translation-form.decorator.mjs +4 -0
- package/esm2020/lib/components/translation-form/directives/translation-context.directive.mjs +34 -0
- package/esm2020/lib/components/translation-form/index.mjs +2 -0
- package/esm2020/lib/components/translation-form/providers/translation-form.service.mjs +46 -0
- package/esm2020/lib/components/translation-form/public-api.mjs +10 -0
- package/esm2020/lib/components/translation-form/toggle/translation-toggle.component.mjs +26 -0
- package/esm2020/lib/components/translation-form/translation.form.mjs +6 -0
- package/esm2020/lib/components/translation-form/validators/require-for-languages.validator.mjs +42 -0
- 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 +60 -60
- package/esm2020/lib/components/typeahead/typeahead.module.mjs +4 -4
- 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 +22 -8
- package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
- package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +44 -17
- package/esm2020/lib/directives/chip-list/chip-list.module.mjs +24 -5
- package/esm2020/lib/directives/draggable-list/draggable-list.directive.mjs +94 -0
- package/esm2020/lib/directives/draggable-list/draggable-list.module.mjs +18 -0
- package/esm2020/lib/directives/draggable-list/index.mjs +2 -0
- package/esm2020/lib/directives/draggable-list/public-api.mjs +3 -0
- package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
- package/esm2020/lib/directives/dropzone/dropzone.module.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +4 -4
- 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 +4 -1
- package/esm2020/lib/directives/rerender/index.mjs +2 -0
- package/esm2020/lib/directives/rerender/public-api.mjs +2 -0
- package/esm2020/lib/directives/rerender/rerender.directive.mjs +22 -0
- package/esm2020/lib/directives/resolve/index.mjs +2 -0
- package/esm2020/lib/directives/resolve/public-api.mjs +2 -0
- package/esm2020/lib/directives/resolve/resolve.directive.mjs +32 -0
- 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 +57 -5
- 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 +9 -9
- package/esm2020/lib/pipes/pipes.module.mjs +14 -9
- package/esm2020/lib/pipes/postal-code.pipe.mjs +9 -9
- package/esm2020/lib/pipes/public-api.mjs +2 -1
- 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/pipes/track-by-prop.pipe.mjs +14 -0
- 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/case.utils.mjs +7 -5
- package/esm2020/lib/utils/keyboard.utils.mjs +2 -1
- package/esm2020/lib/utils/lexorank.utils.mjs +28 -0
- package/esm2020/lib/utils/public-api.mjs +2 -1
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +3124 -1635
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3072 -1591
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/api/nice.api.d.ts +1 -1
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/alert/alert.types.d.ts +3 -3
- package/lib/components/assets-carousel/assets-carousel.component.d.ts +9 -3
- package/lib/components/assets-carousel/assets-carousel.module.d.ts +10 -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 +5 -1
- package/lib/components/async-typeahead/public-api.d.ts +1 -0
- package/lib/components/base-form/base-form.component.d.ts +1 -2
- 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/card/card.types.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/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/drawer/drawer.types.d.ts +2 -2
- package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +1 -1
- package/lib/components/export-bottom-sheet/models/export-strategy.model.d.ts +1 -1
- package/lib/components/form-error/control-status.directive.d.ts +1 -1
- 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/components/hint-component-base.d.ts +65 -0
- package/lib/components/navigation/directives/show-hint.directive.d.ts +39 -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 +12 -5
- 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 +3 -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 +8 -2
- package/lib/components/public-api.d.ts +3 -0
- package/lib/components/search-bar/search-bar.component.d.ts +1 -1
- package/lib/components/sweet-alert/sweet-alert.component.d.ts +1 -1
- package/lib/components/sweet-alert/sweet-alert.directive.d.ts +1 -1
- package/lib/components/toast/toast.component.d.ts +1 -1
- package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +2 -2
- package/lib/components/toggle-button-group/toggle-button.component.d.ts +1 -1
- package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts +9 -0
- package/lib/components/translation-form/components/textfield/translation-form-textfield.component.d.ts +6 -0
- package/lib/components/translation-form/components/translation-form.component.d.ts +55 -0
- package/lib/components/translation-form/components/translation-form.module.d.ts +16 -0
- package/lib/components/translation-form/decorators/translation-form.decorator.d.ts +1 -0
- package/lib/components/translation-form/directives/translation-context.directive.d.ts +15 -0
- package/lib/components/translation-form/index.d.ts +1 -0
- package/lib/components/translation-form/providers/translation-form.service.d.ts +12 -0
- package/lib/components/translation-form/public-api.d.ts +9 -0
- package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +14 -0
- package/lib/components/translation-form/translation.form.d.ts +5 -0
- package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +14 -0
- package/lib/components/typeahead/directives/options-scroll.directive.d.ts +1 -1
- package/lib/components/typeahead/typeahead.component.d.ts +1 -1
- 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 +7 -4
- package/lib/directives/chip-list/chip-list.module.d.ts +3 -0
- package/lib/directives/draggable-list/draggable-list.directive.d.ts +24 -0
- package/lib/directives/draggable-list/draggable-list.module.d.ts +8 -0
- package/lib/directives/draggable-list/index.d.ts +1 -0
- package/lib/directives/draggable-list/public-api.d.ts +2 -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 +3 -0
- package/lib/directives/rerender/index.d.ts +1 -0
- package/lib/directives/rerender/public-api.d.ts +1 -0
- package/lib/directives/rerender/rerender.directive.d.ts +10 -0
- package/lib/directives/resolve/index.d.ts +1 -0
- package/lib/directives/resolve/public-api.d.ts +1 -0
- package/lib/directives/resolve/resolve.directive.d.ts +18 -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/phone.pipe.d.ts +3 -3
- package/lib/pipes/pipes.module.d.ts +2 -1
- package/lib/pipes/postal-code.pipe.d.ts +3 -3
- package/lib/pipes/public-api.d.ts +1 -0
- package/lib/pipes/track-by-prop.pipe.d.ts +7 -0
- package/lib/providers/config/config.model.d.ts +3 -3
- package/lib/types/constructor.d.ts +2 -2
- package/lib/utils/array.utils.d.ts +1 -1
- package/lib/utils/keyboard.utils.d.ts +2 -1
- package/lib/utils/lexorank.utils.d.ts +6 -0
- package/lib/utils/public-api.d.ts +1 -0
- package/package.json +10 -10
- package/src/lib/components/assets-carousel/assets-carousel.theme.scss +21 -15
- package/src/lib/components/collapsable/collapsable.theme.scss +48 -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/directives/chip-list/chip-list-items/chip-list-items.theme.scss +5 -1
- package/src/lib/nice.theme.scss +26 -9
- package/styles/main.scss +1 -4
- package/styles/overrides/angular-material.scss +505 -766
- package/styles/overrides/quill.scss +42 -5
- package/styles/tailwind.scss +47 -1
- package/styles/core/tailwind-config.scss +0 -6
|
@@ -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, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
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, false>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": "name"; "navigation": "navigation"; }, {}, never, never, false, never>;
|
|
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, false>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
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
|
-
|
|
1
|
+
import { Type } from "@angular/core";
|
|
2
|
+
import { NavigationHideItemResolver } from "./providers/hide-item.resolver";
|
|
3
|
+
import { NavigationHintResolver } from "./providers/hint.resolver";
|
|
4
|
+
export 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,7 +31,11 @@ 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
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
39
|
+
export type NiceVerticalNavigationAppearance = "default" | "compact" | "dense" | "thin";
|
|
40
|
+
export type NiceVerticalNavigationMode = "over" | "side";
|
|
41
|
+
export type NiceVerticalNavigationPosition = "left" | "right";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Injector, PipeTransform } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { NiceNavigationItem } from "../navigation.types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NiceShouldHidePipe implements PipeTransform {
|
|
6
|
+
private injector;
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
transform(value: NiceNavigationItem): Observable<boolean>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldHidePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldHidePipe, "niceShouldHide", false>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Injector, PipeTransform } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { NiceNavigationItem } from "../navigation.types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NiceShouldShowHintPipe implements PipeTransform {
|
|
6
|
+
private injector;
|
|
7
|
+
constructor(injector: Injector);
|
|
8
|
+
transform(value: NiceNavigationItem | NiceNavigationItem[]): Observable<boolean>;
|
|
9
|
+
private transformHint;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldShowHintPipe, never>;
|
|
11
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldShowHintPipe, "niceShouldShowHint", false>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class NiceNavigationHintService {
|
|
4
|
+
hasActiveHint$: BehaviorSubject<boolean>;
|
|
5
|
+
get hasActiveHint(): boolean;
|
|
6
|
+
setActiveHint(isActive: boolean): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationHintService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NiceNavigationHintService>;
|
|
9
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./components/hint-component-base";
|
|
1
2
|
export * from "./horizontal/horizontal.component";
|
|
2
3
|
export * from "./horizontal/components/basic/basic.component";
|
|
3
4
|
export * from "./horizontal/components/branch/branch.component";
|
|
@@ -14,3 +15,5 @@ export * from "./navigation.component";
|
|
|
14
15
|
export * from "./navigation.module";
|
|
15
16
|
export * from "./navigation.service";
|
|
16
17
|
export * from "./navigation.types";
|
|
18
|
+
export * from "./providers/hide-item.resolver";
|
|
19
|
+
export * from "./providers/hint.resolver";
|
|
@@ -48,5 +48,5 @@ export declare class NiceVerticalNavigationAsideItemComponent implements OnChang
|
|
|
48
48
|
*/
|
|
49
49
|
trackByFn(index: number, item: any): any;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationAsideItemComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationAsideItemComponent, "nice-vertical-navigation-aside-item", never, { "activeItemId": "activeItemId"; "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "skipChildren": "skipChildren"; }, {}, never, never, false>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationAsideItemComponent, "nice-vertical-navigation-aside-item", never, { "activeItemId": "activeItemId"; "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "skipChildren": "skipChildren"; }, {}, never, never, false, never>;
|
|
52
52
|
}
|
|
@@ -28,5 +28,5 @@ export declare class NiceVerticalNavigationBasicItemComponent implements OnInit,
|
|
|
28
28
|
*/
|
|
29
29
|
ngOnDestroy(): void;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationBasicItemComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationBasicItemComponent, "nice-vertical-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationBasicItemComponent, "nice-vertical-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
32
32
|
}
|
package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts
CHANGED
|
@@ -61,5 +61,5 @@ export declare class NiceVerticalNavigationCollapsableItemComponent implements O
|
|
|
61
61
|
*/
|
|
62
62
|
trackByFn(index: number, item: any): any;
|
|
63
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationCollapsableItemComponent, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationCollapsableItemComponent, "nice-vertical-navigation-collapsable-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationCollapsableItemComponent, "nice-vertical-navigation-collapsable-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
65
65
|
}
|
|
@@ -22,5 +22,5 @@ export declare class NiceVerticalNavigationDividerItemComponent implements OnIni
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationDividerItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationDividerItemComponent, "nice-vertical-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationDividerItemComponent, "nice-vertical-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -29,5 +29,5 @@ export declare class NiceVerticalNavigationGroupItemComponent implements OnInit,
|
|
|
29
29
|
*/
|
|
30
30
|
trackByFn(index: number, item: any): any;
|
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationGroupItemComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationGroupItemComponent, "nice-vertical-navigation-group-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationGroupItemComponent, "nice-vertical-navigation-group-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
33
33
|
}
|
|
@@ -22,5 +22,5 @@ export declare class NiceVerticalNavigationSpacerItemComponent implements OnInit
|
|
|
22
22
|
*/
|
|
23
23
|
ngOnDestroy(): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationSpacerItemComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationSpacerItemComponent, "nice-vertical-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationSpacerItemComponent, "nice-vertical-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -9,6 +9,7 @@ import { NiceUtilsService } from "../../../providers/utils";
|
|
|
9
9
|
import { NiceNavigationComponent } from "../navigation.component";
|
|
10
10
|
import { NiceNavigationService } from "../navigation.service";
|
|
11
11
|
import { NiceNavigationItem, NiceVerticalNavigationAppearance, NiceVerticalNavigationMode, NiceVerticalNavigationPosition } from "../navigation.types";
|
|
12
|
+
import { NiceNavigationHintService } from "../providers/hint.service";
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class NiceVerticalNavigationComponent extends NiceNavigationComponent implements OnChanges, OnInit, AfterViewInit {
|
|
14
15
|
private _animationBuilder;
|
|
@@ -16,9 +17,11 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
|
|
|
16
17
|
private _renderer2;
|
|
17
18
|
private _router;
|
|
18
19
|
private _scrollStrategyOptions;
|
|
20
|
+
private _hintService;
|
|
19
21
|
static ngAcceptInputType_inner: BooleanInput;
|
|
20
22
|
static ngAcceptInputType_opened: BooleanInput;
|
|
21
23
|
static ngAcceptInputType_transparentOverlay: BooleanInput;
|
|
24
|
+
private _forceHovered;
|
|
22
25
|
private _animationsEnabled;
|
|
23
26
|
private _asideOverlay;
|
|
24
27
|
private readonly _handleAsideOverlayClick;
|
|
@@ -35,22 +38,25 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
|
|
|
35
38
|
mode: NiceVerticalNavigationMode;
|
|
36
39
|
opened: boolean;
|
|
37
40
|
hovered: boolean;
|
|
41
|
+
hasHint: boolean;
|
|
38
42
|
position: NiceVerticalNavigationPosition;
|
|
39
43
|
transparentOverlay: boolean;
|
|
40
44
|
readonly appearanceChanged: EventEmitter<NiceVerticalNavigationAppearance>;
|
|
41
45
|
readonly modeChanged: EventEmitter<NiceVerticalNavigationMode>;
|
|
42
46
|
readonly openedChanged: EventEmitter<boolean>;
|
|
47
|
+
readonly hoveredChanged: EventEmitter<boolean>;
|
|
43
48
|
readonly positionChanged: EventEmitter<NiceVerticalNavigationPosition>;
|
|
44
49
|
private _navigationContentEl;
|
|
45
50
|
set navigation(navigation: NiceNavigationItem[]);
|
|
46
51
|
get navigation(): NiceNavigationItem[];
|
|
52
|
+
set forceHovered(forceHovered: boolean);
|
|
47
53
|
activeAsideItemId: string | null;
|
|
48
54
|
onCollapsableItemCollapsed: ReplaySubject<NiceNavigationItem>;
|
|
49
55
|
onCollapsableItemExpanded: ReplaySubject<NiceNavigationItem>;
|
|
50
56
|
/**
|
|
51
57
|
* Constructor
|
|
52
58
|
*/
|
|
53
|
-
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions);
|
|
59
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions, _hintService: NiceNavigationHintService);
|
|
54
60
|
/**
|
|
55
61
|
* Host binding for component classes
|
|
56
62
|
*/
|
|
@@ -153,5 +159,5 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
|
|
|
153
159
|
*/
|
|
154
160
|
private _toggleOpened;
|
|
155
161
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationComponent, never>;
|
|
156
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationComponent, "nice-vertical-navigation", ["niceVerticalNavigation"], { "name": "name"; "appearance": "appearance"; "autoCollapse": "autoCollapse"; "inner": "inner"; "mode": "mode"; "opened": "opened"; "hovered": "hovered"; "position": "position"; "transparentOverlay": "transparentOverlay"; "navigation": "navigation"; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceVerticalNavigationHeader]", "[niceVerticalNavigationContentHeader]", "[niceVerticalNavigationContentFooter]", "[niceVerticalNavigationFooter]"], false>;
|
|
162
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationComponent, "nice-vertical-navigation", ["niceVerticalNavigation"], { "name": "name"; "appearance": "appearance"; "autoCollapse": "autoCollapse"; "inner": "inner"; "mode": "mode"; "opened": "opened"; "hovered": "hovered"; "hasHint": "hasHint"; "position": "position"; "transparentOverlay": "transparentOverlay"; "navigation": "navigation"; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "hoveredChanged": "hoveredChanged"; "positionChanged": "positionChanged"; }, never, ["[niceVerticalNavigationHeader]", "[niceVerticalNavigationContentHeader]", "[niceVerticalNavigationContentFooter]", "[niceVerticalNavigationFooter]"], false, never>;
|
|
157
163
|
}
|
|
@@ -4,6 +4,8 @@ export * from "./async-typeahead";
|
|
|
4
4
|
export * from "./base-form";
|
|
5
5
|
export * from "./card";
|
|
6
6
|
export * from "./carousel";
|
|
7
|
+
export * from "./collapsable";
|
|
8
|
+
export * from "./date-range-picker";
|
|
7
9
|
export * from "./drawer";
|
|
8
10
|
export * from "./export-bottom-sheet";
|
|
9
11
|
export * from "./form-error";
|
|
@@ -17,4 +19,5 @@ export * from "./search-bar";
|
|
|
17
19
|
export * from "./sweet-alert";
|
|
18
20
|
export * from "./toast";
|
|
19
21
|
export * from "./toggle-button-group";
|
|
22
|
+
export * from "./translation-form";
|
|
20
23
|
export * from "./typeahead";
|
|
@@ -16,5 +16,5 @@ export declare class NiceSearchBarComponent implements ControlValueAccessor {
|
|
|
16
16
|
open(): void;
|
|
17
17
|
close(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSearchBarComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSearchBarComponent, "nice-search-bar", never, { "collapsed": "collapsed"; }, { "collapse": "collapse"; }, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSearchBarComponent, "nice-search-bar", never, { "collapsed": "collapsed"; }, { "collapse": "collapse"; }, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -23,5 +23,5 @@ export declare class NiceSweetAlertComponent implements OnInit {
|
|
|
23
23
|
getAnimationPath(): string;
|
|
24
24
|
getConfirmButtonClass(): string;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSweetAlertComponent, "nice-alert", never, {}, {}, never, never, false>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceSweetAlertComponent, "nice-alert", never, {}, {}, never, never, false, never>;
|
|
27
27
|
}
|
|
@@ -9,5 +9,5 @@ export declare class NiceSweetAlertDirective {
|
|
|
9
9
|
constructor(service: NiceSweetAlertService);
|
|
10
10
|
onClick(): void;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceSweetAlertDirective, "[niceSweetAlert]", never, { "sweetAlertType": "sweetAlertType"; "sweetAlertOptions": "sweetAlertOptions"; }, { "sweetAlertAfterClosed": "sweetAlertAfterClosed"; }, never, never, false>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceSweetAlertDirective, "[niceSweetAlert]", never, { "sweetAlertType": "sweetAlertType"; "sweetAlertOptions": "sweetAlertOptions"; }, { "sweetAlertAfterClosed": "sweetAlertAfterClosed"; }, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -13,5 +13,5 @@ export declare class NiceToastComponent {
|
|
|
13
13
|
constructor(data: NiceToastData, snackbarRef: MatSnackBarRef<NiceToastComponent>);
|
|
14
14
|
dismiss(): void;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceToastComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceToastComponent, "nice-toast", never, {}, {}, never, never, false>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceToastComponent, "nice-toast", never, {}, {}, never, never, false, never>;
|
|
17
17
|
}
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, QueryList } from "@angular/core";
|
|
|
2
2
|
import { CanColor, ThemePalette } from "@angular/material/core";
|
|
3
3
|
import { ToggleButtonComponent } from "./toggle-button.component";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type ToggleButtonGroupDataType = any | any[];
|
|
6
6
|
export declare class ToggleButtonGroupComponent implements CanColor {
|
|
7
7
|
private _multiple;
|
|
8
8
|
toggleButtons: QueryList<ToggleButtonComponent>;
|
|
@@ -22,5 +22,5 @@ export declare class ToggleButtonGroupComponent implements CanColor {
|
|
|
22
22
|
private isLeftValueSelected;
|
|
23
23
|
private isRightValueSelected;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonGroupComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent, "nice-toggle-button-group", never, { "selected": "selected"; "color": "color"; "multiple": "multiple"; }, { "selectedChange": "selectedChange"; }, ["toggleButtons"], never, false>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent, "nice-toggle-button-group", never, { "selected": "selected"; "color": "color"; "multiple": "multiple"; }, { "selectedChange": "selectedChange"; }, ["toggleButtons"], never, false, never>;
|
|
26
26
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ToggleButtonComponent {
|
|
|
4
4
|
content: TemplateRef<any>;
|
|
5
5
|
value: string;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "nice-toggle-button", never, { "value": "value"; }, {}, never, ["*"], false>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "nice-toggle-button", never, { "value": "value"; }, {}, never, ["*"], false, never>;
|
|
8
8
|
}
|
package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TranslationFormComponent } from "../translation-form.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslationFormTextareaComponent extends TranslationFormComponent {
|
|
4
|
+
resizable: boolean;
|
|
5
|
+
rows: number;
|
|
6
|
+
cols: number;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextareaComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextareaComponent, "nice-translation-form-textarea", never, { "resizable": "resizable"; "rows": "rows"; "cols": "cols"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TranslationFormComponent } from "../translation-form.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslationFormTextfieldComponent extends TranslationFormComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextfieldComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextfieldComponent, "nice-translation-form-textfield", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { AbstractControlDirective, ControlContainer, ControlValueAccessor, FormControl, FormGroup, NgControl } from "@angular/forms";
|
|
3
|
+
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
4
|
+
import { Subject } from "rxjs";
|
|
5
|
+
import { TranslationContextDirective } from "../directives/translation-context.directive";
|
|
6
|
+
import { TranslationFormService } from "../providers/translation-form.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class TranslationFormComponent implements OnInit, OnDestroy, MatFormFieldControl<string>, ControlValueAccessor {
|
|
9
|
+
private container;
|
|
10
|
+
private context;
|
|
11
|
+
private service;
|
|
12
|
+
private changeDetectorRef;
|
|
13
|
+
get classList(): any;
|
|
14
|
+
get shouldLabelFloat(): boolean;
|
|
15
|
+
set required(req: boolean);
|
|
16
|
+
get required(): boolean;
|
|
17
|
+
get disabled(): boolean;
|
|
18
|
+
set disabled(value: boolean);
|
|
19
|
+
set placeholder(placeholder: string);
|
|
20
|
+
get placeholder(): string;
|
|
21
|
+
set value(value: any);
|
|
22
|
+
get value(): any;
|
|
23
|
+
get empty(): boolean;
|
|
24
|
+
get errorState(): boolean;
|
|
25
|
+
constructor(container: ControlContainer, context: TranslationContextDirective, service: TranslationFormService, changeDetectorRef: ChangeDetectorRef);
|
|
26
|
+
floating: boolean;
|
|
27
|
+
maxLength: number;
|
|
28
|
+
id: string;
|
|
29
|
+
describedBy: string;
|
|
30
|
+
formGroup: FormGroup;
|
|
31
|
+
currentControl?: FormControl;
|
|
32
|
+
stateChanges: Subject<void>;
|
|
33
|
+
ngControl: AbstractControlDirective | NgControl;
|
|
34
|
+
focused: boolean;
|
|
35
|
+
controlType: string;
|
|
36
|
+
private _unsubscribeAll$;
|
|
37
|
+
private _required;
|
|
38
|
+
private _disabled;
|
|
39
|
+
private _placeholder;
|
|
40
|
+
private _value;
|
|
41
|
+
readonly autofilled: boolean;
|
|
42
|
+
readonly userAriaDescribedBy: string;
|
|
43
|
+
propagate: (value: string) => void;
|
|
44
|
+
onContainerClick(event: MouseEvent): void;
|
|
45
|
+
setDescribedByIds(ids: string[]): void;
|
|
46
|
+
registerOnChange(fn: any): void;
|
|
47
|
+
registerOnTouched(fn: any): void;
|
|
48
|
+
writeValue(value: any): void;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
ngOnDestroy(): void;
|
|
51
|
+
setLanguage(language: string): void;
|
|
52
|
+
private setupFormControls;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormComponent, "ng-component", never, { "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "floating": "floating"; "maxLength": "maxLength"; }, {}, never, never, false, never>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ModuleWithProviders } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./textfield/translation-form-textfield.component";
|
|
4
|
+
import * as i2 from "./textarea/translation-form-textarea.component";
|
|
5
|
+
import * as i3 from "../toggle/translation-toggle.component";
|
|
6
|
+
import * as i4 from "../directives/translation-context.directive";
|
|
7
|
+
import * as i5 from "@angular/material/button-toggle";
|
|
8
|
+
import * as i6 from "@angular/material/input";
|
|
9
|
+
import * as i7 from "@angular/forms";
|
|
10
|
+
import * as i8 from "@angular/common";
|
|
11
|
+
export declare class NiceTranslationFormModule {
|
|
12
|
+
static forRoot(): ModuleWithProviders<NiceTranslationFormModule>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslationFormModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NiceTranslationFormModule, [typeof i1.TranslationFormTextfieldComponent, typeof i2.TranslationFormTextareaComponent, typeof i3.TranslationToggleComponent, typeof i4.TranslationContextDirective], [typeof i5.MatButtonToggleModule, typeof i6.MatInputModule, typeof i7.ReactiveFormsModule, typeof i8.NgForOf, typeof i8.NgIf, typeof i8.AsyncPipe, typeof i8.UpperCasePipe], [typeof i1.TranslationFormTextfieldComponent, typeof i2.TranslationFormTextareaComponent, typeof i3.TranslationToggleComponent, typeof i4.TranslationContextDirective]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NiceTranslationFormModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TranslationFormDecorator: () => PropertyDecorator;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
|
+
import { TranslationFormService } from "../providers/translation-form.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TranslationContextDirective implements OnInit, OnDestroy {
|
|
6
|
+
private translationFormService;
|
|
7
|
+
activeLanguage$: BehaviorSubject<string>;
|
|
8
|
+
private _unsubscribeAll$;
|
|
9
|
+
constructor(translationFormService: TranslationFormService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
updateLanguage(language: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationContextDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TranslationContextDirective, "[niceTranslationContext]", never, {}, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./public-api";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BehaviorSubject } from "rxjs";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TranslationFormService {
|
|
4
|
+
private _languages$;
|
|
5
|
+
private _requiredLanguages$;
|
|
6
|
+
get languages$(): BehaviorSubject<string[]>;
|
|
7
|
+
get requiredLanguages$(): BehaviorSubject<string[]>;
|
|
8
|
+
setLanguages(languages?: string[]): void;
|
|
9
|
+
setRequiredLanguages(languages?: string[]): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationFormService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./toggle/translation-toggle.component";
|
|
2
|
+
export * from "./directives/translation-context.directive";
|
|
3
|
+
export * from "./providers/translation-form.service";
|
|
4
|
+
export * from "./validators/require-for-languages.validator";
|
|
5
|
+
export * from "./translation.form";
|
|
6
|
+
export * from "./components/translation-form.module";
|
|
7
|
+
export * from "./components/textarea/translation-form-textarea.component";
|
|
8
|
+
export * from "./components/textfield/translation-form-textfield.component";
|
|
9
|
+
export * from "./decorators/translation-form.decorator";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { MatButtonToggleChange } from "@angular/material/button-toggle";
|
|
2
|
+
import { TranslationContextDirective } from "../directives/translation-context.directive";
|
|
3
|
+
import { TranslationFormService } from "../providers/translation-form.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TranslationToggleComponent {
|
|
6
|
+
private context;
|
|
7
|
+
private translationFormService;
|
|
8
|
+
languages$: import("rxjs").BehaviorSubject<string[]>;
|
|
9
|
+
activeLanguage$: import("rxjs").BehaviorSubject<string>;
|
|
10
|
+
constructor(context: TranslationContextDirective, translationFormService: TranslationFormService);
|
|
11
|
+
onChange($event: MatButtonToggleChange): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationToggleComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TranslationToggleComponent, "nice-translation-toggle", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ValidationErrors, FormGroup } from "@angular/forms";
|
|
2
|
+
import { AsyncValidator } from "@recursyve/ngx-form-generator";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import { TranslationFormService } from "../providers/translation-form.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare function RequireForLanguages(): (target: object, propertyKey: string) => void;
|
|
7
|
+
export declare class RequireForLanguagesValidator extends AsyncValidator {
|
|
8
|
+
private service;
|
|
9
|
+
name: string;
|
|
10
|
+
constructor(service: TranslationFormService);
|
|
11
|
+
validate(formGroup: FormGroup): Observable<ValidationErrors | null>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RequireForLanguagesValidator, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RequireForLanguagesValidator>;
|
|
14
|
+
}
|
|
@@ -15,5 +15,5 @@ export declare class OptionsScrollDirective implements OnDestroy {
|
|
|
15
15
|
onScroll(event: Event): void;
|
|
16
16
|
private removeScrollEventListener;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionsScrollDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsScrollDirective, "mat-autocomplete[optionsScroll]", never, { "thresholdPercent": "thresholdPercent"; }, { "optionsScroll": "optionsScroll"; }, never, never, false>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsScrollDirective, "mat-autocomplete[optionsScroll]", never, { "thresholdPercent": "thresholdPercent"; }, { "optionsScroll": "optionsScroll"; }, never, never, false, never>;
|
|
19
19
|
}
|
|
@@ -97,5 +97,5 @@ export declare class NiceTypeaheadComponent implements OnInit, OnDestroy, Contro
|
|
|
97
97
|
private setLoadingPage;
|
|
98
98
|
private checkIfValueStillExist;
|
|
99
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceTypeaheadComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
100
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceTypeaheadComponent, "nice-typeahead", never, { "items": "items"; "labelFormatFn": "labelFormatFn"; "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "typeahead": "typeahead"; "page$": "page$"; "loading": "loading"; "loadingPage": "loadingPage"; "searchFn": "searchFn"; "optionTemplate": "optionTemplate"; }, { "change": "change"; }, never, never, false>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceTypeaheadComponent, "nice-typeahead", never, { "items": "items"; "labelFormatFn": "labelFormatFn"; "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "typeahead": "typeahead"; "page$": "page$"; "loading": "loading"; "loadingPage": "loadingPage"; "searchFn": "searchFn"; "optionTemplate": "optionTemplate"; }, { "change": "change"; }, never, never, false, never>;
|
|
101
101
|
}
|
|
@@ -5,5 +5,5 @@ export declare class NiceAutofocusDirective implements OnInit {
|
|
|
5
5
|
constructor(elem: ElementRef);
|
|
6
6
|
ngOnInit(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutofocusDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutofocusDirective, "[niceAutofocus]", never, {}, {}, never, never, false>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutofocusDirective, "[niceAutofocus]", never, {}, {}, never, never, false, never>;
|
|
9
9
|
}
|
|
@@ -33,5 +33,5 @@ export declare class NiceAutogrowDirective implements OnChanges, OnInit, OnDestr
|
|
|
33
33
|
*/
|
|
34
34
|
private _resize;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutogrowDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutogrowDirective, "textarea[niceAutogrow]", ["niceAutogrow"], { "padding": "niceAutogrowVerticalPadding"; }, {}, never, never, false>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutogrowDirective, "textarea[niceAutogrow]", ["niceAutogrow"], { "padding": "niceAutogrowVerticalPadding"; }, {}, never, never, false, never>;
|
|
37
37
|
}
|
|
@@ -10,5 +10,5 @@ export declare class NiceChipAsyncTypeaheadDirective implements OnInit, OnDestro
|
|
|
10
10
|
ngOnInit(): void;
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipAsyncTypeaheadDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipAsyncTypeaheadDirective, "[niceChipAsyncTypeahead]", ["niceChipAsyncTypeahead"], {}, { "niceChipAsyncTypeaheadTokenEnd": "niceChipAsyncTypeaheadTokenEnd"; }, never, never, false>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipAsyncTypeaheadDirective, "[niceChipAsyncTypeahead]", ["niceChipAsyncTypeahead"], {}, { "niceChipAsyncTypeaheadTokenEnd": "niceChipAsyncTypeaheadTokenEnd"; }, never, never, false, never>;
|
|
14
14
|
}
|
|
@@ -4,5 +4,5 @@ export declare class ChipListItemLabelDirective {
|
|
|
4
4
|
template: TemplateRef<any>;
|
|
5
5
|
constructor(template: TemplateRef<any>);
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipListItemLabelDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipListItemLabelDirective, "[niceChipListItemLabel]", never, {}, {}, never, never, false>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ChipListItemLabelDirective, "[niceChipListItemLabel]", never, {}, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -2,13 +2,25 @@ import { EventEmitter, TemplateRef } from "@angular/core";
|
|
|
2
2
|
import { CanColor, ThemePalette } from "@angular/material/core";
|
|
3
3
|
import { Observable } from "rxjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
export type NiceChipListActionIcon = {
|
|
6
|
+
matIcon: string;
|
|
7
|
+
svgIcon?: string;
|
|
8
|
+
} | {
|
|
9
|
+
matIcon?: string;
|
|
10
|
+
svgIcon: string;
|
|
11
|
+
};
|
|
12
|
+
export interface NiceChipListOptions {
|
|
13
|
+
closeButtonIcon: NiceChipListActionIcon;
|
|
14
|
+
}
|
|
5
15
|
export declare class NiceChipListItemsComponent implements CanColor {
|
|
16
|
+
readonly options: NiceChipListOptions;
|
|
6
17
|
itemLabel: TemplateRef<any>;
|
|
7
18
|
color: ThemePalette;
|
|
8
19
|
removeChip: EventEmitter<number>;
|
|
9
20
|
items$: Observable<any[]>;
|
|
10
21
|
defaultColor: ThemePalette;
|
|
22
|
+
constructor(options: NiceChipListOptions);
|
|
11
23
|
remove(index: number): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent,
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": "color"; "items$": "items$"; }, { "removeChip": "removeChip"; }, ["itemLabel"], never, false>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, [{ optional: true; }]>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": "color"; "items$": "items$"; }, { "removeChip": "removeChip"; }, ["itemLabel"], never, false, never>;
|
|
14
26
|
}
|