@ng-doc/ui-kit 15.13.0 → 16.0.0-beta.1
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/README.md +7 -7
- package/cdk/combobox-host/combobox-host.component.d.ts +1 -1
- package/components/blockquote/blockquote.component.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button-icon/button-icon.component.d.ts +1 -1
- package/components/checkbox/checkbox.component.d.ts +1 -1
- package/components/combobox/combobox.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list-group/data-list-group.component.d.ts +1 -1
- package/components/dot/dot.component.d.ts +1 -1
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/expander/expander.component.d.ts +1 -1
- package/components/floated-content/floated-content.component.d.ts +1 -1
- package/components/focus-control/focus-control.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/input-wrapper/input-wrapper.component.d.ts +1 -1
- package/components/label/label.component.d.ts +1 -1
- package/components/overlay-pointer/overlay-pointer.component.d.ts +1 -1
- package/components/pane/pane.component.d.ts +1 -1
- package/components/selection/selection-origin.directive.d.ts +1 -1
- package/components/selection/selection.component.d.ts +1 -1
- package/components/sidenav/sidenav.component.d.ts +1 -1
- package/components/smooth-resize/smooth-resize.component.d.ts +1 -1
- package/components/spinner/spinner.component.d.ts +1 -1
- package/components/tab-group/tab/tab.component.d.ts +1 -1
- package/components/tab-group/tab-group.component.d.ts +1 -1
- package/components/tag/tag.component.d.ts +1 -1
- package/components/text/text.component.d.ts +1 -1
- package/directives/autofocus/autofocus.directive.d.ts +1 -1
- package/directives/checked-change/checked-change.directive.d.ts +1 -1
- package/directives/dropdown-handler/dropdown-handler.directive.d.ts +1 -1
- package/directives/event-switcher/event-switcher.directive.d.ts +1 -1
- package/directives/focusable/focusable.directive.d.ts +1 -1
- package/directives/hotkey/hotkey.directive.d.ts +1 -1
- package/directives/let/let.directive.d.ts +1 -1
- package/directives/media-query/media-query.directive.d.ts +1 -1
- package/directives/rotator/rotator.directive.d.ts +1 -1
- package/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/esm2022/cdk/combobox-host/combobox-host.component.mjs +125 -0
- package/esm2022/cdk/combobox-host/combobox-host.module.mjs +21 -0
- package/esm2022/classes/base-input/base-input.mjs +46 -0
- package/esm2022/components/blockquote/blockquote.component.mjs +22 -0
- package/esm2022/components/blockquote/blockquote.module.mjs +20 -0
- package/esm2022/components/button/button.component.mjs +32 -0
- package/esm2022/components/button/button.module.mjs +19 -0
- package/esm2022/components/button-icon/button-icon.component.mjs +26 -0
- package/esm2022/components/button-icon/button-icon.module.mjs +19 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +39 -0
- package/esm2022/components/checkbox/checkbox.module.mjs +22 -0
- package/esm2022/components/clear-control/clear-control.component.mjs +58 -0
- package/esm2022/components/clear-control/clear-control.module.mjs +22 -0
- package/esm2022/components/combobox/combobox.component.mjs +61 -0
- package/esm2022/components/combobox/combobox.module.mjs +57 -0
- package/esm2022/components/data-list/data-list.component.mjs +56 -0
- package/esm2022/components/data-list/data-list.module.mjs +23 -0
- package/esm2022/components/data-list-group/data-list-group.component.mjs +55 -0
- package/esm2022/components/data-list-group/data-list-group.module.mjs +41 -0
- package/esm2022/components/dot/dot.component.mjs +22 -0
- package/esm2022/components/dot/dot.module.mjs +19 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +239 -0
- package/esm2022/components/dropdown/dropdown.module.mjs +19 -0
- package/esm2022/components/expander/expander.component.mjs +36 -0
- package/esm2022/components/expander/expander.module.mjs +20 -0
- package/esm2022/components/floated-border/floated-border.component.mjs +12 -0
- package/esm2022/components/floated-border/floated-border.module.mjs +19 -0
- package/esm2022/components/floated-content/floated-content.component.mjs +47 -0
- package/esm2022/components/floated-content/floated-content.module.mjs +17 -0
- package/esm2022/components/focus-control/focus-control.component.mjs +42 -0
- package/esm2022/components/focus-control/focus-control.module.mjs +19 -0
- package/esm2022/components/icon/icon.component.mjs +57 -0
- package/esm2022/components/icon/icon.module.mjs +19 -0
- package/esm2022/components/input-wrapper/input-wrapper.component.mjs +107 -0
- package/esm2022/components/input-wrapper/input-wrapper.module.mjs +45 -0
- package/esm2022/components/label/label.component.mjs +26 -0
- package/esm2022/components/label/label.module.mjs +21 -0
- package/esm2022/components/line/line.component.mjs +12 -0
- package/esm2022/components/line/line.module.mjs +19 -0
- package/esm2022/components/list/list.component.mjs +75 -0
- package/esm2022/components/list/list.module.mjs +20 -0
- package/esm2022/components/option/option.component.mjs +74 -0
- package/esm2022/components/option/option.module.mjs +19 -0
- package/esm2022/components/option-group/option-group.component.mjs +47 -0
- package/esm2022/components/option-group/option-group.module.mjs +20 -0
- package/esm2022/components/overlay-container/overlay-container.component.mjs +109 -0
- package/esm2022/components/overlay-container/overlay-container.module.mjs +44 -0
- package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +30 -0
- package/esm2022/components/overlay-pointer/overlay-pointer.module.mjs +19 -0
- package/esm2022/components/pane/pane.component.mjs +118 -0
- package/esm2022/components/pane/pane.module.mjs +19 -0
- package/esm2022/components/selection/selection-host.directive.mjs +36 -0
- package/esm2022/components/selection/selection-origin.directive.mjs +33 -0
- package/esm2022/components/selection/selection.component.mjs +59 -0
- package/esm2022/components/selection/selection.module.mjs +21 -0
- package/esm2022/components/sidenav/sidenav.component.mjs +156 -0
- package/esm2022/components/sidenav/sidenav.module.mjs +20 -0
- package/esm2022/components/smooth-resize/smooth-resize.component.mjs +54 -0
- package/esm2022/components/smooth-resize/smooth-resize.module.mjs +19 -0
- package/esm2022/components/spinner/spinner.component.mjs +20 -0
- package/esm2022/components/spinner/spinner.module.mjs +19 -0
- package/esm2022/components/tab-group/tab/tab.component.mjs +24 -0
- package/esm2022/components/tab-group/tab-group.component.mjs +61 -0
- package/esm2022/components/tab-group/tab-group.module.mjs +24 -0
- package/esm2022/components/tag/tag.component.mjs +32 -0
- package/esm2022/components/tag/tag.module.mjs +19 -0
- package/esm2022/components/text/text-left.directive.mjs +15 -0
- package/esm2022/components/text/text-right.directive.mjs +15 -0
- package/esm2022/components/text/text.component.mjs +58 -0
- package/esm2022/components/text/text.module.mjs +21 -0
- package/esm2022/components/toggle/toggle.component.mjs +107 -0
- package/esm2022/components/toggle/toggle.module.mjs +19 -0
- package/esm2022/components/wrapper/wrapper.component.mjs +12 -0
- package/esm2022/components/wrapper/wrapper.module.mjs +19 -0
- package/esm2022/directives/autofocus/autofocus.directive.mjs +30 -0
- package/esm2022/directives/autofocus/autofocus.module.mjs +17 -0
- package/esm2022/directives/checked-change/checked-change.directive.mjs +38 -0
- package/esm2022/directives/checked-change/checked-change.module.mjs +17 -0
- package/esm2022/directives/data/data.directive.mjs +18 -0
- package/esm2022/directives/data/data.module.mjs +17 -0
- package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +33 -0
- package/esm2022/directives/dropdown-handler/dropdown-handler.module.mjs +17 -0
- package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +32 -0
- package/esm2022/directives/dropdown-origin/dropdown-origin.module.mjs +17 -0
- package/esm2022/directives/event-switcher/event-switcher.directive.mjs +49 -0
- package/esm2022/directives/event-switcher/event-switcher.module.mjs +17 -0
- package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +54 -0
- package/esm2022/directives/focus-catcher/focus-catcher.module.mjs +17 -0
- package/esm2022/directives/focusable/focusable.directive.mjs +27 -0
- package/esm2022/directives/focusable/focusable.module.mjs +17 -0
- package/esm2022/directives/hotkey/hotkey.directive.mjs +51 -0
- package/esm2022/directives/hotkey/hotkey.module.mjs +17 -0
- package/esm2022/directives/input-number/input-number.directive.mjs +62 -0
- package/esm2022/directives/input-number/input-number.module.mjs +17 -0
- package/esm2022/directives/input-string/input-string.directive.mjs +63 -0
- package/esm2022/directives/input-string/input-string.module.mjs +17 -0
- package/esm2022/directives/let/let.directive.mjs +25 -0
- package/esm2022/directives/let/let.module.mjs +17 -0
- package/esm2022/directives/media-query/media-query.directive.mjs +52 -0
- package/esm2022/directives/media-query/media-query.module.mjs +17 -0
- package/esm2022/directives/rotator/rotator.directive.mjs +46 -0
- package/esm2022/directives/rotator/rotator.module.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +181 -0
- package/esm2022/directives/tooltip/tooltip.module.mjs +17 -0
- package/esm2022/interceptors/cache.interceptor.mjs +47 -0
- package/esm2022/modules/root/root.module.mjs +32 -0
- package/esm2022/pipes/as-array/as-array.module.mjs +17 -0
- package/esm2022/pipes/as-array/as-array.pipe.mjs +18 -0
- package/esm2022/pipes/bind/bind.module.mjs +17 -0
- package/esm2022/pipes/bind/bind.pipe.mjs +17 -0
- package/esm2022/pipes/highlighter/highlighter.module.mjs +17 -0
- package/esm2022/pipes/highlighter/highlighter.pipe.mjs +24 -0
- package/esm2022/pipes/run/run.module.mjs +17 -0
- package/esm2022/pipes/run/run.pipe.mjs +17 -0
- package/esm2022/services/notify/notify.service.mjs +45 -0
- package/esm2022/services/overlay/overlay.module.mjs +18 -0
- package/esm2022/services/overlay/overlay.service.mjs +81 -0
- package/esm2022/services/overlay-strategy/overlay-strategy.mjs +49 -0
- package/esm2022/services/scroll/scroll.service.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +148 -0
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +52 -0
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +44 -0
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +47 -0
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +63 -0
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +82 -0
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +120 -0
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +98 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +81 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +259 -0
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +58 -0
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +66 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +63 -0
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +77 -0
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +153 -0
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +49 -0
- package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +96 -0
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +68 -0
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +94 -0
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +151 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +136 -0
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +139 -0
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +178 -0
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +75 -0
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +41 -0
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +106 -0
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +101 -0
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +128 -0
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +49 -0
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +57 -0
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +52 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +68 -0
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +73 -0
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +46 -0
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +70 -0
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +81 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +82 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +55 -0
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +71 -0
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +65 -0
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +200 -0
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-modules-root.mjs +38 -0
- package/fesm2022/ng-doc-ui-kit-modules-root.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +36 -0
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs +36 -0
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +55 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +99 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -0
- package/package.json +316 -486
- package/esm2020/cdk/combobox-host/combobox-host.component.mjs +0 -125
- package/esm2020/cdk/combobox-host/combobox-host.module.mjs +0 -20
- package/esm2020/classes/base-input/base-input.mjs +0 -45
- package/esm2020/components/blockquote/blockquote.component.mjs +0 -21
- package/esm2020/components/blockquote/blockquote.module.mjs +0 -19
- package/esm2020/components/button/button.component.mjs +0 -31
- package/esm2020/components/button/button.module.mjs +0 -18
- package/esm2020/components/button-icon/button-icon.component.mjs +0 -25
- package/esm2020/components/button-icon/button-icon.module.mjs +0 -18
- package/esm2020/components/checkbox/checkbox.component.mjs +0 -38
- package/esm2020/components/checkbox/checkbox.module.mjs +0 -21
- package/esm2020/components/clear-control/clear-control.component.mjs +0 -58
- package/esm2020/components/clear-control/clear-control.module.mjs +0 -21
- package/esm2020/components/combobox/combobox.component.mjs +0 -60
- package/esm2020/components/combobox/combobox.module.mjs +0 -56
- package/esm2020/components/data-list/data-list.component.mjs +0 -55
- package/esm2020/components/data-list/data-list.module.mjs +0 -22
- package/esm2020/components/data-list-group/data-list-group.component.mjs +0 -54
- package/esm2020/components/data-list-group/data-list-group.module.mjs +0 -40
- package/esm2020/components/dot/dot.component.mjs +0 -21
- package/esm2020/components/dot/dot.module.mjs +0 -18
- package/esm2020/components/dropdown/dropdown.component.mjs +0 -239
- package/esm2020/components/dropdown/dropdown.module.mjs +0 -18
- package/esm2020/components/expander/expander.component.mjs +0 -35
- package/esm2020/components/expander/expander.module.mjs +0 -19
- package/esm2020/components/floated-border/floated-border.component.mjs +0 -11
- package/esm2020/components/floated-border/floated-border.module.mjs +0 -18
- package/esm2020/components/floated-content/floated-content.component.mjs +0 -46
- package/esm2020/components/floated-content/floated-content.module.mjs +0 -16
- package/esm2020/components/focus-control/focus-control.component.mjs +0 -41
- package/esm2020/components/focus-control/focus-control.module.mjs +0 -18
- package/esm2020/components/icon/icon.component.mjs +0 -56
- package/esm2020/components/icon/icon.module.mjs +0 -18
- package/esm2020/components/input-wrapper/input-wrapper.component.mjs +0 -107
- package/esm2020/components/input-wrapper/input-wrapper.module.mjs +0 -44
- package/esm2020/components/label/label.component.mjs +0 -25
- package/esm2020/components/label/label.module.mjs +0 -20
- package/esm2020/components/line/line.component.mjs +0 -11
- package/esm2020/components/line/line.module.mjs +0 -18
- package/esm2020/components/list/list.component.mjs +0 -75
- package/esm2020/components/list/list.module.mjs +0 -19
- package/esm2020/components/option/option.component.mjs +0 -73
- package/esm2020/components/option/option.module.mjs +0 -18
- package/esm2020/components/option-group/option-group.component.mjs +0 -46
- package/esm2020/components/option-group/option-group.module.mjs +0 -19
- package/esm2020/components/overlay-container/overlay-container.component.mjs +0 -108
- package/esm2020/components/overlay-container/overlay-container.module.mjs +0 -43
- package/esm2020/components/overlay-pointer/overlay-pointer.component.mjs +0 -29
- package/esm2020/components/overlay-pointer/overlay-pointer.module.mjs +0 -18
- package/esm2020/components/pane/pane.component.mjs +0 -116
- package/esm2020/components/pane/pane.module.mjs +0 -18
- package/esm2020/components/selection/selection-host.directive.mjs +0 -35
- package/esm2020/components/selection/selection-origin.directive.mjs +0 -32
- package/esm2020/components/selection/selection.component.mjs +0 -59
- package/esm2020/components/selection/selection.module.mjs +0 -20
- package/esm2020/components/sidenav/sidenav.component.mjs +0 -155
- package/esm2020/components/sidenav/sidenav.module.mjs +0 -19
- package/esm2020/components/smooth-resize/smooth-resize.component.mjs +0 -53
- package/esm2020/components/smooth-resize/smooth-resize.module.mjs +0 -18
- package/esm2020/components/spinner/spinner.component.mjs +0 -19
- package/esm2020/components/spinner/spinner.module.mjs +0 -18
- package/esm2020/components/tab-group/tab/tab.component.mjs +0 -23
- package/esm2020/components/tab-group/tab-group.component.mjs +0 -61
- package/esm2020/components/tab-group/tab-group.module.mjs +0 -23
- package/esm2020/components/tag/tag.component.mjs +0 -31
- package/esm2020/components/tag/tag.module.mjs +0 -18
- package/esm2020/components/text/text-left.directive.mjs +0 -14
- package/esm2020/components/text/text-right.directive.mjs +0 -14
- package/esm2020/components/text/text.component.mjs +0 -57
- package/esm2020/components/text/text.module.mjs +0 -20
- package/esm2020/components/toggle/toggle.component.mjs +0 -107
- package/esm2020/components/toggle/toggle.module.mjs +0 -18
- package/esm2020/components/wrapper/wrapper.component.mjs +0 -11
- package/esm2020/components/wrapper/wrapper.module.mjs +0 -18
- package/esm2020/directives/autofocus/autofocus.directive.mjs +0 -29
- package/esm2020/directives/autofocus/autofocus.module.mjs +0 -16
- package/esm2020/directives/checked-change/checked-change.directive.mjs +0 -37
- package/esm2020/directives/checked-change/checked-change.module.mjs +0 -16
- package/esm2020/directives/data/data.directive.mjs +0 -17
- package/esm2020/directives/data/data.module.mjs +0 -16
- package/esm2020/directives/dropdown-handler/dropdown-handler.directive.mjs +0 -32
- package/esm2020/directives/dropdown-handler/dropdown-handler.module.mjs +0 -16
- package/esm2020/directives/dropdown-origin/dropdown-origin.directive.mjs +0 -31
- package/esm2020/directives/dropdown-origin/dropdown-origin.module.mjs +0 -16
- package/esm2020/directives/event-switcher/event-switcher.directive.mjs +0 -49
- package/esm2020/directives/event-switcher/event-switcher.module.mjs +0 -16
- package/esm2020/directives/focus-catcher/focus-catcher.directive.mjs +0 -54
- package/esm2020/directives/focus-catcher/focus-catcher.module.mjs +0 -16
- package/esm2020/directives/focusable/focusable.directive.mjs +0 -26
- package/esm2020/directives/focusable/focusable.module.mjs +0 -16
- package/esm2020/directives/hotkey/hotkey.directive.mjs +0 -51
- package/esm2020/directives/hotkey/hotkey.module.mjs +0 -16
- package/esm2020/directives/input-number/input-number.directive.mjs +0 -62
- package/esm2020/directives/input-number/input-number.module.mjs +0 -16
- package/esm2020/directives/input-string/input-string.directive.mjs +0 -63
- package/esm2020/directives/input-string/input-string.module.mjs +0 -16
- package/esm2020/directives/let/let.directive.mjs +0 -24
- package/esm2020/directives/let/let.module.mjs +0 -16
- package/esm2020/directives/media-query/media-query.directive.mjs +0 -52
- package/esm2020/directives/media-query/media-query.module.mjs +0 -16
- package/esm2020/directives/rotator/rotator.directive.mjs +0 -45
- package/esm2020/directives/rotator/rotator.module.mjs +0 -16
- package/esm2020/directives/tooltip/tooltip.directive.mjs +0 -181
- package/esm2020/directives/tooltip/tooltip.module.mjs +0 -16
- package/esm2020/interceptors/cache.interceptor.mjs +0 -46
- package/esm2020/modules/root/root.module.mjs +0 -31
- package/esm2020/pipes/as-array/as-array.module.mjs +0 -16
- package/esm2020/pipes/as-array/as-array.pipe.mjs +0 -17
- package/esm2020/pipes/bind/bind.module.mjs +0 -16
- package/esm2020/pipes/bind/bind.pipe.mjs +0 -16
- package/esm2020/pipes/highlighter/highlighter.module.mjs +0 -16
- package/esm2020/pipes/highlighter/highlighter.pipe.mjs +0 -23
- package/esm2020/pipes/run/run.module.mjs +0 -16
- package/esm2020/pipes/run/run.pipe.mjs +0 -16
- package/esm2020/services/notify/notify.service.mjs +0 -45
- package/esm2020/services/overlay/overlay.module.mjs +0 -17
- package/esm2020/services/overlay/overlay.service.mjs +0 -80
- package/esm2020/services/overlay-strategy/overlay-strategy.mjs +0 -48
- package/esm2020/services/scroll/scroll.service.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -153
- package/fesm2015/ng-doc-ui-kit-cdk-combobox-host.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-classes-base-input.mjs +0 -52
- package/fesm2015/ng-doc-ui-kit-classes-base-input.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-classes-overlay-ref.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-blockquote.mjs +0 -44
- package/fesm2015/ng-doc-ui-kit-components-blockquote.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-button-icon.mjs +0 -47
- package/fesm2015/ng-doc-ui-kit-components-button-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-button.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-components-button.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-checkbox.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-clear-control.mjs +0 -87
- package/fesm2015/ng-doc-ui-kit-components-clear-control.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-combobox.mjs +0 -120
- package/fesm2015/ng-doc-ui-kit-components-combobox.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-data-list-group.mjs +0 -99
- package/fesm2015/ng-doc-ui-kit-components-data-list-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-data-list.mjs +0 -81
- package/fesm2015/ng-doc-ui-kit-components-data-list.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-dot.mjs +0 -43
- package/fesm2015/ng-doc-ui-kit-components-dot.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs +0 -250
- package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-expander.mjs +0 -58
- package/fesm2015/ng-doc-ui-kit-components-expander.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-floated-border.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-floated-border.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-floated-content.mjs +0 -66
- package/fesm2015/ng-doc-ui-kit-components-floated-content.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-focus-control.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-components-focus-control.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-icon.mjs +0 -79
- package/fesm2015/ng-doc-ui-kit-components-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-input-wrapper.mjs +0 -158
- package/fesm2015/ng-doc-ui-kit-components-input-wrapper.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-label.mjs +0 -49
- package/fesm2015/ng-doc-ui-kit-components-label.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-line.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-line.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-list.mjs +0 -101
- package/fesm2015/ng-doc-ui-kit-components-list.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-option-group.mjs +0 -68
- package/fesm2015/ng-doc-ui-kit-components-option-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-option.mjs +0 -98
- package/fesm2015/ng-doc-ui-kit-components-option.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-overlay-container.mjs +0 -157
- package/fesm2015/ng-doc-ui-kit-components-overlay-container.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-components-overlay-pointer.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-pane.mjs +0 -138
- package/fesm2015/ng-doc-ui-kit-components-pane.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-selection.mjs +0 -140
- package/fesm2015/ng-doc-ui-kit-components-selection.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-sidenav.mjs +0 -178
- package/fesm2015/ng-doc-ui-kit-components-sidenav.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-smooth-resize.mjs +0 -75
- package/fesm2015/ng-doc-ui-kit-components-smooth-resize.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-spinner.mjs +0 -41
- package/fesm2015/ng-doc-ui-kit-components-spinner.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-tab-group.mjs +0 -107
- package/fesm2015/ng-doc-ui-kit-components-tab-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-tag.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-components-tag.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-text.mjs +0 -101
- package/fesm2015/ng-doc-ui-kit-components-text.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-toggle.mjs +0 -131
- package/fesm2015/ng-doc-ui-kit-components-toggle.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-wrapper.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-wrapper.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-autofocus.mjs +0 -49
- package/fesm2015/ng-doc-ui-kit-directives-autofocus.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-checked-change.mjs +0 -57
- package/fesm2015/ng-doc-ui-kit-directives-checked-change.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-data.mjs +0 -37
- package/fesm2015/ng-doc-ui-kit-directives-data.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-event-switcher.mjs +0 -68
- package/fesm2015/ng-doc-ui-kit-directives-event-switcher.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -73
- package/fesm2015/ng-doc-ui-kit-directives-focus-catcher.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-focusable.mjs +0 -46
- package/fesm2015/ng-doc-ui-kit-directives-focusable.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-hotkey.mjs +0 -72
- package/fesm2015/ng-doc-ui-kit-directives-hotkey.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-input-number.mjs +0 -83
- package/fesm2015/ng-doc-ui-kit-directives-input-number.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-input-string.mjs +0 -84
- package/fesm2015/ng-doc-ui-kit-directives-input-string.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-let.mjs +0 -55
- package/fesm2015/ng-doc-ui-kit-directives-let.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-media-query.mjs +0 -72
- package/fesm2015/ng-doc-ui-kit-directives-media-query.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-rotator.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-directives-rotator.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-tooltip.mjs +0 -193
- package/fesm2015/ng-doc-ui-kit-directives-tooltip.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-helpers.mjs +0 -39
- package/fesm2015/ng-doc-ui-kit-helpers.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-interceptors.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-interceptors.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-modules-root.mjs +0 -39
- package/fesm2015/ng-doc-ui-kit-modules-root.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-observables.mjs +0 -94
- package/fesm2015/ng-doc-ui-kit-observables.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-as-array.mjs +0 -37
- package/fesm2015/ng-doc-ui-kit-pipes-as-array.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-bind.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-pipes-bind.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-highlighter.mjs +0 -43
- package/fesm2015/ng-doc-ui-kit-pipes-highlighter.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-run.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-pipes-run.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-notify.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-services-notify.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -60
- package/fesm2015/ng-doc-ui-kit-services-overlay-strategy.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-overlay.mjs +0 -102
- package/fesm2015/ng-doc-ui-kit-services-overlay.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-scroll.mjs +0 -45
- package/fesm2015/ng-doc-ui-kit-services-scroll.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-types.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-utils.mjs +0 -280
- package/fesm2015/ng-doc-ui-kit-utils.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-animations.mjs +0 -62
- package/fesm2020/ng-doc-ui-kit-animations.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -148
- package/fesm2020/ng-doc-ui-kit-cdk-combobox-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-cdk.mjs +0 -6
- package/fesm2020/ng-doc-ui-kit-cdk.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-base-input.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-classes-base-input.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-display-value-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-display-value-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-input-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-input-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-list-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-list-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-list-item.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-list-item.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-overlay-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-overlay-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -116
- package/fesm2020/ng-doc-ui-kit-classes.mjs +0 -12
- package/fesm2020/ng-doc-ui-kit-classes.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-blockquote.mjs +0 -44
- package/fesm2020/ng-doc-ui-kit-components-blockquote.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-button-icon.mjs +0 -47
- package/fesm2020/ng-doc-ui-kit-components-button-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-button.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-components-button.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-checkbox.mjs +0 -63
- package/fesm2020/ng-doc-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-clear-control.mjs +0 -82
- package/fesm2020/ng-doc-ui-kit-components-clear-control.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-combobox.mjs +0 -120
- package/fesm2020/ng-doc-ui-kit-components-combobox.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-data-list-group.mjs +0 -98
- package/fesm2020/ng-doc-ui-kit-components-data-list-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-data-list.mjs +0 -81
- package/fesm2020/ng-doc-ui-kit-components-data-list.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-dot.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-components-dot.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs +0 -259
- package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-expander.mjs +0 -58
- package/fesm2020/ng-doc-ui-kit-components-expander.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-floated-border.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-floated-border.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-floated-content.mjs +0 -66
- package/fesm2020/ng-doc-ui-kit-components-floated-content.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-focus-control.mjs +0 -63
- package/fesm2020/ng-doc-ui-kit-components-focus-control.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-icon.mjs +0 -77
- package/fesm2020/ng-doc-ui-kit-components-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-input-wrapper.mjs +0 -153
- package/fesm2020/ng-doc-ui-kit-components-input-wrapper.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-label.mjs +0 -49
- package/fesm2020/ng-doc-ui-kit-components-label.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-line.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-line.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-list.mjs +0 -96
- package/fesm2020/ng-doc-ui-kit-components-list.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-option-group.mjs +0 -68
- package/fesm2020/ng-doc-ui-kit-components-option-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-option.mjs +0 -94
- package/fesm2020/ng-doc-ui-kit-components-option.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-overlay-container.mjs +0 -151
- package/fesm2020/ng-doc-ui-kit-components-overlay-container.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-components-overlay-pointer.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-pane.mjs +0 -136
- package/fesm2020/ng-doc-ui-kit-components-pane.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-selection.mjs +0 -139
- package/fesm2020/ng-doc-ui-kit-components-selection.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-sidenav.mjs +0 -178
- package/fesm2020/ng-doc-ui-kit-components-sidenav.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-smooth-resize.mjs +0 -75
- package/fesm2020/ng-doc-ui-kit-components-smooth-resize.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-spinner.mjs +0 -41
- package/fesm2020/ng-doc-ui-kit-components-spinner.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-tab-group.mjs +0 -106
- package/fesm2020/ng-doc-ui-kit-components-tab-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-tag.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-components-tag.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-text.mjs +0 -101
- package/fesm2020/ng-doc-ui-kit-components-text.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-toggle.mjs +0 -128
- package/fesm2020/ng-doc-ui-kit-components-toggle.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-wrapper.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-wrapper.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components.mjs +0 -38
- package/fesm2020/ng-doc-ui-kit-components.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-constants.mjs +0 -14
- package/fesm2020/ng-doc-ui-kit-constants.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-decorators.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-decorators.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-autofocus.mjs +0 -49
- package/fesm2020/ng-doc-ui-kit-directives-autofocus.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-checked-change.mjs +0 -57
- package/fesm2020/ng-doc-ui-kit-directives-checked-change.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-data.mjs +0 -37
- package/fesm2020/ng-doc-ui-kit-directives-data.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-event-switcher.mjs +0 -68
- package/fesm2020/ng-doc-ui-kit-directives-event-switcher.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -73
- package/fesm2020/ng-doc-ui-kit-directives-focus-catcher.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-focusable.mjs +0 -46
- package/fesm2020/ng-doc-ui-kit-directives-focusable.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-hotkey.mjs +0 -70
- package/fesm2020/ng-doc-ui-kit-directives-hotkey.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-input-number.mjs +0 -81
- package/fesm2020/ng-doc-ui-kit-directives-input-number.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-input-string.mjs +0 -82
- package/fesm2020/ng-doc-ui-kit-directives-input-string.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-let.mjs +0 -55
- package/fesm2020/ng-doc-ui-kit-directives-let.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-media-query.mjs +0 -71
- package/fesm2020/ng-doc-ui-kit-directives-media-query.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-rotator.mjs +0 -65
- package/fesm2020/ng-doc-ui-kit-directives-rotator.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-tooltip.mjs +0 -200
- package/fesm2020/ng-doc-ui-kit-directives-tooltip.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives.mjs +0 -20
- package/fesm2020/ng-doc-ui-kit-directives.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-interceptors.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-interceptors.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-interfaces.mjs +0 -4
- package/fesm2020/ng-doc-ui-kit-interfaces.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-modules-root.mjs +0 -38
- package/fesm2020/ng-doc-ui-kit-modules-root.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-modules.mjs +0 -6
- package/fesm2020/ng-doc-ui-kit-modules.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-as-array.mjs +0 -37
- package/fesm2020/ng-doc-ui-kit-pipes-as-array.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-bind.mjs +0 -36
- package/fesm2020/ng-doc-ui-kit-pipes-bind.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-highlighter.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-pipes-highlighter.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-run.mjs +0 -36
- package/fesm2020/ng-doc-ui-kit-pipes-run.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-pipes.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-notify.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-services-notify.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -55
- package/fesm2020/ng-doc-ui-kit-services-overlay-strategy.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-overlay.mjs +0 -99
- package/fesm2020/ng-doc-ui-kit-services-overlay.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-scroll.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-services-scroll.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-services.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-tokens.mjs +0 -14
- package/fesm2020/ng-doc-ui-kit-tokens.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-types.mjs +0 -31
- package/fesm2020/ng-doc-ui-kit.mjs +0 -20
- package/fesm2020/ng-doc-ui-kit.mjs.map +0 -1
- /package/{esm2020 → esm2022}/animations/expand-collapse.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/fade.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/ng-doc-ui-kit-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/prevent-initial-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/tab-fade.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/combobox-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/ng-doc-ui-kit-cdk.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/base-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/base-input/ng-doc-ui-kit-classes-base-input.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/display-value-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/ng-doc-ui-kit-classes-display-value-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/input-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/ng-doc-ui-kit-classes-input-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/list-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/ng-doc-ui-kit-classes-list-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/list-item.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/ng-doc-ui-kit-classes-list-item.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/ng-doc-ui-kit-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/ng-doc-ui-kit-classes-overlay-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/overlay-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/overlay-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/blockquote/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/blockquote/ng-doc-ui-kit-components-blockquote.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/ng-doc-ui-kit-components-button.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-icon/ng-doc-ui-kit-components-button-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/ng-doc-ui-kit-components-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/clear-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/clear-control/ng-doc-ui-kit-components-clear-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/combobox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/combobox/ng-doc-ui-kit-components-combobox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list/ng-doc-ui-kit-components-data-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list-group/ng-doc-ui-kit-components-data-list-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dot/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dot/ng-doc-ui-kit-components-dot.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/ng-doc-ui-kit-components-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/components/expander/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/expander/ng-doc-ui-kit-components-expander.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-border/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-border/ng-doc-ui-kit-components-floated-border.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-content/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-content/ng-doc-ui-kit-components-floated-content.mjs +0 -0
- /package/{esm2020 → esm2022}/components/focus-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/focus-control/ng-doc-ui-kit-components-focus-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/ng-doc-ui-kit-components-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-wrapper/ng-doc-ui-kit-components-input-wrapper.mjs +0 -0
- /package/{esm2020 → esm2022}/components/label/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/label/ng-doc-ui-kit-components-label.mjs +0 -0
- /package/{esm2020 → esm2022}/components/line/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/line/ng-doc-ui-kit-components-line.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/ng-doc-ui-kit-components-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/ng-doc-ui-kit-components.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option/ng-doc-ui-kit-components-option.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option-group/ng-doc-ui-kit-components-option-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-container/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-container/ng-doc-ui-kit-components-overlay-container.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-pointer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-pointer/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -0
- /package/{esm2020 → esm2022}/components/pane/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/pane/ng-doc-ui-kit-components-pane.mjs +0 -0
- /package/{esm2020 → esm2022}/components/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/selection/ng-doc-ui-kit-components-selection.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidenav/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidenav/ng-doc-ui-kit-components-sidenav.mjs +0 -0
- /package/{esm2020 → esm2022}/components/smooth-resize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/smooth-resize/ng-doc-ui-kit-components-smooth-resize.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinner/ng-doc-ui-kit-components-spinner.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-group/ng-doc-ui-kit-components-tab-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tag/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tag/ng-doc-ui-kit-components-tag.mjs +0 -0
- /package/{esm2020 → esm2022}/components/text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/text/ng-doc-ui-kit-components-text.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle/ng-doc-ui-kit-components-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wrapper/ng-doc-ui-kit-components-wrapper.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/focus-events.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/handlers.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/ng-doc-ui-kit-constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/stringify.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/ng-doc-ui-kit-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/pure.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/autofocus/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/autofocus/ng-doc-ui-kit-directives-autofocus.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/checked-change/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/checked-change/ng-doc-ui-kit-directives-checked-change.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/data/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/data/ng-doc-ui-kit-directives-data.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-handler/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-handler/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-origin/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-origin/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/event-switcher/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/event-switcher/ng-doc-ui-kit-directives-event-switcher.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focus-catcher/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focus-catcher/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focusable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focusable/ng-doc-ui-kit-directives-focusable.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/hotkey/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/hotkey/ng-doc-ui-kit-directives-hotkey.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-number/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-number/ng-doc-ui-kit-directives-input-number.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-string/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-string/ng-doc-ui-kit-directives-input-string.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/let-context.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/ng-doc-ui-kit-directives-let.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/media-query/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/media-query/ng-doc-ui-kit-directives-media-query.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/ng-doc-ui-kit-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/rotator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/rotator/ng-doc-ui-kit-directives-rotator.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/tooltip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/tooltip/ng-doc-ui-kit-directives-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/merge-overlay-configs.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/ng-doc-ui-kit-helpers.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/to-element.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interceptors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interceptors/ng-doc-ui-kit-interceptors.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/context-with-implicit.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/ng-doc-ui-kit-interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-container.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-properties.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/ng-doc-ui-kit-modules.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/ng-doc-ui-kit-modules-root.mjs +0 -0
- /package/{esm2020 → esm2022}/ng-doc-ui-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/from-subscribe.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/index.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/ng-doc-ui-kit-observables.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/observable-state.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/zone.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/as-array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/as-array/ng-doc-ui-kit-pipes-as-array.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/bind/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/bind/ng-doc-ui-kit-pipes-bind.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/highlighter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/highlighter/ng-doc-ui-kit-pipes-highlighter.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/ng-doc-ui-kit-pipes.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/run/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/run/ng-doc-ui-kit-pipes-run.mjs +0 -0
- /package/{esm2020 → esm2022}/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/ng-doc-ui-kit-services.mjs +0 -0
- /package/{esm2020 → esm2022}/services/notify/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/notify/ng-doc-ui-kit-services-notify.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay/ng-doc-ui-kit-services-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay-strategy/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay-strategy/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -0
- /package/{esm2020 → esm2022}/services/scroll/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/scroll/ng-doc-ui-kit-services-scroll.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/assets-path.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/component-context.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/input-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/ng-doc-ui-kit-tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/types/align.mjs +0 -0
- /package/{esm2020 → esm2022}/types/base-element.mjs +0 -0
- /package/{esm2020 → esm2022}/types/blockquote-type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/color.mjs +0 -0
- /package/{esm2020 → esm2022}/types/content.mjs +0 -0
- /package/{esm2020 → esm2022}/types/define-value-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/display-value-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/group-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/handlers.mjs +0 -0
- /package/{esm2020 → esm2022}/types/icon-size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ng-doc-ui-kit-types.mjs +0 -0
- /package/{esm2020 → esm2022}/types/orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-animation-event.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-origin.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-relative-position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/palette-color.mjs +0 -0
- /package/{esm2020 → esm2022}/types/position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/subscribable.mjs +0 -0
- /package/{esm2020 → esm2022}/types/tag-size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/text-color.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/focus-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/ng-doc-ui-kit-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/overlay-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/position-utils.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-animations.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-animations.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-cdk.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-cdk.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-display-value-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-display-value-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-input-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-input-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-item.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-item.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-classes-overlay-ref.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-components.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-components.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-constants.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-constants.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-decorators.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-decorators.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-directives.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-directives.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-helpers.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-helpers.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-interfaces.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-interfaces.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-modules.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-modules.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-observables.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-observables.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-pipes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-services.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-services.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-tokens.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-tokens.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-types.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-types.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-utils.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-utils.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit.mjs.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-rotator.mjs","sources":["../../../../libs/ui-kit/directives/rotator/rotator.directive.ts","../../../../libs/ui-kit/directives/rotator/rotator.module.ts","../../../../libs/ui-kit/directives/rotator/ng-doc-ui-kit-directives-rotator.ts"],"sourcesContent":["import {Directive, ElementRef, Input, OnChanges, OnInit, Renderer2, SimpleChanges} from '@angular/core';\n\n/** Directive rotates host with transition */\n@Directive({\n\tselector: '[ngDocRotator]',\n})\nexport class NgDocRotatorDirective implements OnChanges, OnInit {\n\t/** Rotator state */\n\t@Input('ngDocRotator')\n\trotated: boolean = false;\n\n\t/** Start position angle */\n\t@Input()\n\tfrom: number = 0;\n\n\t/** End position anle */\n\t@Input()\n\tto: number = 90;\n\n\tconstructor(private readonly elementRef: ElementRef<HTMLElement>, private readonly renderer: Renderer2) {}\n\n\tngOnChanges({rotated}: SimpleChanges): void {\n\t\tif (rotated) {\n\t\t\tthis.rotate(this.rotated ? this.to : this.from, true);\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.rotate(this.rotated ? this.to : this.from);\n\t}\n\n\tprivate rotate(degree: number, animated?: boolean): void {\n\t\tif (animated) {\n\t\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transition`, `var(--ng-doc-transition)`);\n\t\t}\n\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocRotatorDirective} from './rotator.directive';\n\n@NgModule({\n\tdeclarations: [NgDocRotatorDirective],\n\texports: [NgDocRotatorDirective],\n})\nexport class NgDocRotatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;AACA,MAGa,qBAAqB,CAAA;IAajC,WAA6B,CAAA,UAAmC,EAAmB,QAAmB,EAAA;QAAzE,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAAmB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;;QAVtG,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;;QAIzB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;;QAIjB,IAAE,CAAA,EAAA,GAAW,EAAE,CAAC;KAE0F;IAE1G,WAAW,CAAC,EAAC,OAAO,EAAgB,EAAA;AACnC,QAAA,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,SAAA;KACD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D,KAAK;;;ACZP,MAIa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAlB,kBAAkB,EAAA,YAAA,EAAA,CAHf,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAC1B,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEnB,kBAAkB,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AAChC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, ElementRef, ChangeDetectorRef, ViewContainerRef, NgZone, Directive, Input, Output, NgModule } from '@angular/core';
|
|
4
|
+
import { asArray } from '@ng-doc/core/helpers/as-array';
|
|
5
|
+
import { isPresent } from '@ng-doc/core/helpers/is-present';
|
|
6
|
+
import { tooltipOpenAnimation, tooltipCloseAnimation } from '@ng-doc/ui-kit/animations';
|
|
7
|
+
import { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';
|
|
8
|
+
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
9
|
+
import { ngDocZoneOptimize, ngDocZoneDetach } from '@ng-doc/ui-kit/observables';
|
|
10
|
+
import * as i1 from '@ng-doc/ui-kit/services';
|
|
11
|
+
import { NgDocOverlayService } from '@ng-doc/ui-kit/services';
|
|
12
|
+
import * as i2 from '@ng-doc/ui-kit/services/overlay-strategy';
|
|
13
|
+
import { NgDocOverlayStrategy } from '@ng-doc/ui-kit/services/overlay-strategy';
|
|
14
|
+
import { NgDocOverlayUtils } from '@ng-doc/ui-kit/utils';
|
|
15
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
16
|
+
import { fromEvent, timer, merge, EMPTY } from 'rxjs';
|
|
17
|
+
import { filter, switchMap, takeUntil } from 'rxjs/operators';
|
|
18
|
+
|
|
19
|
+
let NgDocTooltipDirective = class NgDocTooltipDirective {
|
|
20
|
+
constructor(elementRef, changeDetectorRef, viewContainerRef, overlayService, ngZone, scrollStrategy) {
|
|
21
|
+
this.elementRef = elementRef;
|
|
22
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
23
|
+
this.viewContainerRef = viewContainerRef;
|
|
24
|
+
this.overlayService = overlayService;
|
|
25
|
+
this.ngZone = ngZone;
|
|
26
|
+
this.scrollStrategy = scrollStrategy;
|
|
27
|
+
this.content = '';
|
|
28
|
+
this.delay = 500;
|
|
29
|
+
this.positions = [
|
|
30
|
+
'top-center',
|
|
31
|
+
'bottom-center',
|
|
32
|
+
'right-center',
|
|
33
|
+
'left-center',
|
|
34
|
+
];
|
|
35
|
+
this.canOpen = true;
|
|
36
|
+
this.panelClass = '';
|
|
37
|
+
this.minHeight = '';
|
|
38
|
+
this.maxHeight = '';
|
|
39
|
+
this.height = '';
|
|
40
|
+
this.minWidth = '';
|
|
41
|
+
this.maxWidth = '';
|
|
42
|
+
this.width = '';
|
|
43
|
+
this.beforeOpen = new EventEmitter();
|
|
44
|
+
this.afterOpen = new EventEmitter();
|
|
45
|
+
this.beforeClose = new EventEmitter();
|
|
46
|
+
this.afterClose = new EventEmitter();
|
|
47
|
+
this.overlayRef = null;
|
|
48
|
+
}
|
|
49
|
+
ngAfterViewInit() {
|
|
50
|
+
// Opens tooltip with delay
|
|
51
|
+
fromEvent(this.pointerOriginElement, 'mouseenter')
|
|
52
|
+
.pipe(filter(() => this.canOpen && !this.isOpened), switchMap(() => timer(this.delay).pipe(takeUntil(fromEvent(this.pointerOriginElement, 'mouseleave')))), ngDocZoneOptimize(this.ngZone), untilDestroyed(this))
|
|
53
|
+
.subscribe(() => this.show());
|
|
54
|
+
// Closes tooltip when mouseleave was fired, and cancel closing if mouseenter was happened
|
|
55
|
+
merge(fromEvent(this.pointerOriginElement, 'mouseleave'), this.beforeOpen.pipe(switchMap(() => isPresent(this.overlayRef)
|
|
56
|
+
? fromEvent(this.overlayRef.overlayRef.overlayElement, 'mouseleave')
|
|
57
|
+
: EMPTY)))
|
|
58
|
+
.pipe(filter(() => this.isOpened), switchMap(() => timer(50).pipe(takeUntil(fromEvent(this.pointerOriginElement, 'mouseenter')), takeUntil(isPresent(this.overlayRef)
|
|
59
|
+
? fromEvent(this.overlayRef.overlayRef.overlayElement, 'mouseenter')
|
|
60
|
+
: EMPTY))), untilDestroyed(this), ngDocZoneOptimize(this.ngZone))
|
|
61
|
+
.subscribe(() => this.hide());
|
|
62
|
+
}
|
|
63
|
+
show() {
|
|
64
|
+
if (!this.isOpened) {
|
|
65
|
+
this.overlayRef = this.overlayService.open(this.content, {
|
|
66
|
+
origin: this.displayOriginElement,
|
|
67
|
+
overlayContainer: NgDocOverlayContainerComponent,
|
|
68
|
+
positionStrategy: this.overlayService.connectedPositionStrategy(this.displayOriginElement, this.getPositions(this.positions)),
|
|
69
|
+
viewContainerRef: this.viewContainerRef,
|
|
70
|
+
withPointer: true,
|
|
71
|
+
contactBorder: true,
|
|
72
|
+
panelClass: ['ng-doc-tooltip', ...asArray(this.panelClass)],
|
|
73
|
+
height: this.height,
|
|
74
|
+
width: this.width,
|
|
75
|
+
minHeight: this.minHeight,
|
|
76
|
+
minWidth: this.minWidth,
|
|
77
|
+
maxHeight: this.maxHeight,
|
|
78
|
+
maxWidth: this.maxWidth,
|
|
79
|
+
scrollStrategy: this.scrollStrategy,
|
|
80
|
+
disposeOnRouteNavigation: true,
|
|
81
|
+
openAnimation: tooltipOpenAnimation,
|
|
82
|
+
closeAnimation: tooltipCloseAnimation,
|
|
83
|
+
});
|
|
84
|
+
this.beforeOpen.emit();
|
|
85
|
+
this.overlayRef
|
|
86
|
+
?.afterOpen()
|
|
87
|
+
.pipe(ngDocZoneDetach(this.ngZone))
|
|
88
|
+
.subscribe(() => this.afterOpen.emit());
|
|
89
|
+
this.overlayRef
|
|
90
|
+
?.beforeClose()
|
|
91
|
+
.pipe(ngDocZoneDetach(this.ngZone))
|
|
92
|
+
.subscribe(() => this.beforeClose.emit());
|
|
93
|
+
this.overlayRef
|
|
94
|
+
?.afterClose()
|
|
95
|
+
.pipe(ngDocZoneDetach(this.ngZone))
|
|
96
|
+
.subscribe(() => this.afterClose.emit());
|
|
97
|
+
this.overlayRef?.beforeClose().subscribe(() => this.hide());
|
|
98
|
+
this.changeDetectorRef.markForCheck();
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
hide() {
|
|
102
|
+
if (this.isOpened) {
|
|
103
|
+
this.overlayRef?.close();
|
|
104
|
+
this.overlayRef = null;
|
|
105
|
+
this.changeDetectorRef.markForCheck();
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
get isOpened() {
|
|
109
|
+
return !!this.overlayRef;
|
|
110
|
+
}
|
|
111
|
+
ngOnDestroy() {
|
|
112
|
+
if (this.overlayRef) {
|
|
113
|
+
this.overlayRef.overlayRef.dispose();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
get pointerOriginElement() {
|
|
117
|
+
return isPresent(this.pointerOrigin) ? toElement(this.pointerOrigin) : toElement(this.elementRef);
|
|
118
|
+
}
|
|
119
|
+
get displayOriginElement() {
|
|
120
|
+
return isPresent(this.displayOrigin) ? toElement(this.displayOrigin) : toElement(this.elementRef);
|
|
121
|
+
}
|
|
122
|
+
getPositions(positions) {
|
|
123
|
+
return NgDocOverlayUtils.getConnectedPosition(!!positions && asArray(positions).length
|
|
124
|
+
? positions
|
|
125
|
+
: ['bottom-center', 'top-center', 'right-center', 'left-center'], this.displayOriginElement, 0, true);
|
|
126
|
+
}
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i1.NgDocOverlayService }, { token: i0.NgZone }, { token: i2.NgDocOverlayStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
128
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: { content: ["ngDocTooltip", "content"], delay: "delay", displayOrigin: "displayOrigin", pointerOrigin: "pointerOrigin", positions: "positions", canOpen: "canOpen", panelClass: "panelClass", minHeight: "minHeight", maxHeight: "maxHeight", height: "height", minWidth: "minWidth", maxWidth: "maxWidth", width: "width" }, outputs: { beforeOpen: "beforeOpen", afterOpen: "afterOpen", beforeClose: "beforeClose", afterClose: "afterClose" }, exportAs: ["ngDocTooltip"], ngImport: i0 }); }
|
|
129
|
+
};
|
|
130
|
+
NgDocTooltipDirective = __decorate([
|
|
131
|
+
UntilDestroy(),
|
|
132
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
133
|
+
ChangeDetectorRef,
|
|
134
|
+
ViewContainerRef,
|
|
135
|
+
NgDocOverlayService,
|
|
136
|
+
NgZone,
|
|
137
|
+
NgDocOverlayStrategy])
|
|
138
|
+
], NgDocTooltipDirective);
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipDirective, decorators: [{
|
|
140
|
+
type: Directive,
|
|
141
|
+
args: [{
|
|
142
|
+
selector: '[ngDocTooltip]',
|
|
143
|
+
exportAs: 'ngDocTooltip',
|
|
144
|
+
}]
|
|
145
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.ViewContainerRef }, { type: i1.NgDocOverlayService }, { type: i0.NgZone }, { type: i2.NgDocOverlayStrategy }]; }, propDecorators: { content: [{
|
|
146
|
+
type: Input,
|
|
147
|
+
args: ['ngDocTooltip']
|
|
148
|
+
}], delay: [{
|
|
149
|
+
type: Input
|
|
150
|
+
}], displayOrigin: [{
|
|
151
|
+
type: Input
|
|
152
|
+
}], pointerOrigin: [{
|
|
153
|
+
type: Input
|
|
154
|
+
}], positions: [{
|
|
155
|
+
type: Input
|
|
156
|
+
}], canOpen: [{
|
|
157
|
+
type: Input
|
|
158
|
+
}], panelClass: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], minHeight: [{
|
|
161
|
+
type: Input
|
|
162
|
+
}], maxHeight: [{
|
|
163
|
+
type: Input
|
|
164
|
+
}], height: [{
|
|
165
|
+
type: Input
|
|
166
|
+
}], minWidth: [{
|
|
167
|
+
type: Input
|
|
168
|
+
}], maxWidth: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], width: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}], beforeOpen: [{
|
|
173
|
+
type: Output
|
|
174
|
+
}], afterOpen: [{
|
|
175
|
+
type: Output
|
|
176
|
+
}], beforeClose: [{
|
|
177
|
+
type: Output
|
|
178
|
+
}], afterClose: [{
|
|
179
|
+
type: Output
|
|
180
|
+
}] } });
|
|
181
|
+
|
|
182
|
+
class NgDocTooltipModule {
|
|
183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
184
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipModule, declarations: [NgDocTooltipDirective], exports: [NgDocTooltipDirective] }); }
|
|
185
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipModule }); }
|
|
186
|
+
}
|
|
187
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTooltipModule, decorators: [{
|
|
188
|
+
type: NgModule,
|
|
189
|
+
args: [{
|
|
190
|
+
declarations: [NgDocTooltipDirective],
|
|
191
|
+
exports: [NgDocTooltipDirective],
|
|
192
|
+
}]
|
|
193
|
+
}] });
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Generated bundle index. Do not edit.
|
|
197
|
+
*/
|
|
198
|
+
|
|
199
|
+
export { NgDocTooltipDirective, NgDocTooltipModule };
|
|
200
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-tooltip.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-tooltip.mjs","sources":["../../../../libs/ui-kit/directives/tooltip/tooltip.directive.ts","../../../../libs/ui-kit/directives/tooltip/tooltip.module.ts","../../../../libs/ui-kit/directives/tooltip/ng-doc-ui-kit-directives-tooltip.ts"],"sourcesContent":["import {\n\tAfterViewInit,\n\tChangeDetectorRef,\n\tDirective,\n\tElementRef,\n\tEventEmitter,\n\tInput,\n\tNgZone,\n\tOnDestroy,\n\tOutput,\n\tViewContainerRef,\n} from '@angular/core';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {isPresent} from '@ng-doc/core/helpers/is-present';\nimport {tooltipCloseAnimation, tooltipOpenAnimation} from '@ng-doc/ui-kit/animations';\nimport {NgDocOverlayRef} from '@ng-doc/ui-kit/classes/overlay-ref';\nimport {NgDocOverlayContainerComponent} from '@ng-doc/ui-kit/components/overlay-container';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {ngDocZoneDetach, ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {NgDocOverlayService} from '@ng-doc/ui-kit/services';\nimport {NgDocOverlayStrategy} from '@ng-doc/ui-kit/services/overlay-strategy';\nimport {BaseElement, NgDocContent, NgDocOverlayPosition} from '@ng-doc/ui-kit/types';\nimport {NgDocOverlayUtils} from '@ng-doc/ui-kit/utils';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {EMPTY, fromEvent, merge, timer} from 'rxjs';\nimport {filter, switchMap, takeUntil} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocTooltip]',\n\texportAs: 'ngDocTooltip',\n})\n@UntilDestroy()\nexport class NgDocTooltipDirective implements AfterViewInit, OnDestroy {\n\t@Input('ngDocTooltip')\n\tcontent: NgDocContent = '';\n\n\t@Input()\n\tdelay: number = 500;\n\n\t@Input()\n\tdisplayOrigin?: BaseElement<HTMLElement>;\n\n\t@Input()\n\tpointerOrigin?: BaseElement<HTMLElement>;\n\n\t@Input()\n\tpositions: NgDocOverlayPosition | NgDocOverlayPosition[] = [\n\t\t'top-center',\n\t\t'bottom-center',\n\t\t'right-center',\n\t\t'left-center',\n\t];\n\n\t@Input()\n\tcanOpen: boolean = true;\n\n\t@Input()\n\tpanelClass: string | string[] = '';\n\n\t@Input()\n\tminHeight: number | string = '';\n\n\t@Input()\n\tmaxHeight: number | string = '';\n\n\t@Input()\n\theight: number | string = '';\n\n\t@Input()\n\tminWidth: number | string = '';\n\n\t@Input()\n\tmaxWidth: number | string = '';\n\n\t@Input()\n\twidth: number | string = '';\n\n\t@Output()\n\tbeforeOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tbeforeClose: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterClose: EventEmitter<void> = new EventEmitter<void>();\n\n\toverlayRef: NgDocOverlayRef | null = null;\n\n\tconstructor(\n\t\tprivate readonly elementRef: ElementRef<HTMLElement>,\n\t\tprivate readonly changeDetectorRef: ChangeDetectorRef,\n\t\tprivate readonly viewContainerRef: ViewContainerRef,\n\t\tprivate readonly overlayService: NgDocOverlayService,\n\t\tprivate readonly ngZone: NgZone,\n\t\tprivate readonly scrollStrategy: NgDocOverlayStrategy,\n\t) {}\n\n\tngAfterViewInit(): void {\n\t\t// Opens tooltip with delay\n\t\tfromEvent(this.pointerOriginElement, 'mouseenter')\n\t\t\t.pipe(\n\t\t\t\tfilter(() => this.canOpen && !this.isOpened),\n\t\t\t\tswitchMap(() => timer(this.delay).pipe(takeUntil(fromEvent(this.pointerOriginElement, 'mouseleave')))),\n\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t)\n\t\t\t.subscribe(() => this.show());\n\n\t\t// Closes tooltip when mouseleave was fired, and cancel closing if mouseenter was happened\n\t\tmerge(\n\t\t\tfromEvent(this.pointerOriginElement, 'mouseleave'),\n\t\t\tthis.beforeOpen.pipe(\n\t\t\t\tswitchMap(() =>\n\t\t\t\t\tisPresent(this.overlayRef)\n\t\t\t\t\t\t? fromEvent(this.overlayRef.overlayRef.overlayElement, 'mouseleave')\n\t\t\t\t\t\t: EMPTY,\n\t\t\t\t),\n\t\t\t),\n\t\t)\n\t\t\t.pipe(\n\t\t\t\tfilter(() => this.isOpened),\n\t\t\t\tswitchMap(() =>\n\t\t\t\t\ttimer(50).pipe(\n\t\t\t\t\t\ttakeUntil(fromEvent(this.pointerOriginElement, 'mouseenter')),\n\t\t\t\t\t\ttakeUntil(\n\t\t\t\t\t\t\tisPresent(this.overlayRef)\n\t\t\t\t\t\t\t\t? fromEvent(this.overlayRef.overlayRef.overlayElement, 'mouseenter')\n\t\t\t\t\t\t\t\t: EMPTY,\n\t\t\t\t\t\t),\n\t\t\t\t\t),\n\t\t\t\t),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t)\n\t\t\t.subscribe(() => this.hide());\n\t}\n\n\tshow(): void {\n\t\tif (!this.isOpened) {\n\t\t\tthis.overlayRef = this.overlayService.open(this.content, {\n\t\t\t\torigin: this.displayOriginElement,\n\t\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\t\tpositionStrategy: this.overlayService.connectedPositionStrategy(\n\t\t\t\t\tthis.displayOriginElement,\n\t\t\t\t\tthis.getPositions(this.positions),\n\t\t\t\t),\n\t\t\t\tviewContainerRef: this.viewContainerRef,\n\t\t\t\twithPointer: true,\n\t\t\t\tcontactBorder: true,\n\t\t\t\tpanelClass: ['ng-doc-tooltip', ...asArray(this.panelClass)],\n\t\t\t\theight: this.height,\n\t\t\t\twidth: this.width,\n\t\t\t\tminHeight: this.minHeight,\n\t\t\t\tminWidth: this.minWidth,\n\t\t\t\tmaxHeight: this.maxHeight,\n\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\tscrollStrategy: this.scrollStrategy,\n\t\t\t\tdisposeOnRouteNavigation: true,\n\t\t\t\topenAnimation: tooltipOpenAnimation,\n\t\t\t\tcloseAnimation: tooltipCloseAnimation,\n\t\t\t});\n\t\t\tthis.beforeOpen.emit();\n\n\t\t\tthis.overlayRef\n\t\t\t\t?.afterOpen()\n\t\t\t\t.pipe(ngDocZoneDetach(this.ngZone))\n\t\t\t\t.subscribe(() => this.afterOpen.emit());\n\n\t\t\tthis.overlayRef\n\t\t\t\t?.beforeClose()\n\t\t\t\t.pipe(ngDocZoneDetach(this.ngZone))\n\t\t\t\t.subscribe(() => this.beforeClose.emit());\n\n\t\t\tthis.overlayRef\n\t\t\t\t?.afterClose()\n\t\t\t\t.pipe(ngDocZoneDetach(this.ngZone))\n\t\t\t\t.subscribe(() => this.afterClose.emit());\n\n\t\t\tthis.overlayRef?.beforeClose().subscribe(() => this.hide());\n\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\thide(): void {\n\t\tif (this.isOpened) {\n\t\t\tthis.overlayRef?.close();\n\t\t\tthis.overlayRef = null;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tget isOpened(): boolean {\n\t\treturn !!this.overlayRef;\n\t}\n\n\tngOnDestroy(): void {\n\t\tif (this.overlayRef) {\n\t\t\tthis.overlayRef.overlayRef.dispose();\n\t\t}\n\t}\n\n\tprivate get pointerOriginElement(): HTMLElement {\n\t\treturn isPresent(this.pointerOrigin) ? toElement(this.pointerOrigin) : toElement(this.elementRef);\n\t}\n\n\tprivate get displayOriginElement(): HTMLElement {\n\t\treturn isPresent(this.displayOrigin) ? toElement(this.displayOrigin) : toElement(this.elementRef);\n\t}\n\n\tprivate getPositions(positions: NgDocOverlayPosition | NgDocOverlayPosition[]): NgDocOverlayPosition[] {\n\t\treturn NgDocOverlayUtils.getConnectedPosition(\n\t\t\t!!positions && asArray(positions).length\n\t\t\t\t? positions\n\t\t\t\t: ['bottom-center', 'top-center', 'right-center', 'left-center'],\n\t\t\tthis.displayOriginElement,\n\t\t\t0,\n\t\t\ttrue,\n\t\t);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocTooltipDirective} from './tooltip.directive';\n\n@NgModule({\n\tdeclarations: [NgDocTooltipDirective],\n\texports: [NgDocTooltipDirective],\n})\nexport class NgDocTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAgCa,IAAA,qBAAqB,GALlC,MAKa,qBAAqB,CAAA;IA2DjC,WACkB,CAAA,UAAmC,EACnC,iBAAoC,EACpC,gBAAkC,EAClC,cAAmC,EACnC,MAAc,EACd,cAAoC,EAAA;QALpC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QACpC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAClC,IAAc,CAAA,cAAA,GAAd,cAAc,CAAqB;QACnC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAc,CAAA,cAAA,GAAd,cAAc,CAAsB;QA/DtD,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;QAG3B,IAAK,CAAA,KAAA,GAAW,GAAG,CAAC;AASpB,QAAA,IAAA,CAAA,SAAS,GAAkD;YAC1D,YAAY;YACZ,eAAe;YACf,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ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HttpResponse } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import { tap, shareReplay } from 'rxjs/operators';
|
|
5
|
+
|
|
6
|
+
class NgDocCacheInterceptor {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.cache = new Map();
|
|
9
|
+
}
|
|
10
|
+
static { this.TOKEN = Math.random().toString(36).slice(-8); }
|
|
11
|
+
intercept(request, next) {
|
|
12
|
+
// Only GET requests can be cached
|
|
13
|
+
if (request.method !== 'GET') {
|
|
14
|
+
return next.handle(request);
|
|
15
|
+
}
|
|
16
|
+
// Do not cache request when the token is not provided
|
|
17
|
+
if (!request.params.has(NgDocCacheInterceptor.TOKEN)) {
|
|
18
|
+
return next.handle(request);
|
|
19
|
+
}
|
|
20
|
+
// Return cached response
|
|
21
|
+
const cachedRequest = this.cache.get(request.url);
|
|
22
|
+
if (cachedRequest) {
|
|
23
|
+
return cachedRequest;
|
|
24
|
+
}
|
|
25
|
+
// Clone the request, delete the TOKEN from the params
|
|
26
|
+
const newRequest = request.clone({
|
|
27
|
+
params: request.params.delete(NgDocCacheInterceptor.TOKEN),
|
|
28
|
+
});
|
|
29
|
+
// Create a new request handler
|
|
30
|
+
const newHandler = next.handle(newRequest).pipe(tap({
|
|
31
|
+
error: (event) => {
|
|
32
|
+
if (event instanceof HttpResponse) {
|
|
33
|
+
this.cache.delete(event.url || '');
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
}), shareReplay(1));
|
|
37
|
+
// Cache the request and return the new handler
|
|
38
|
+
this.cache.set(request.url, newHandler);
|
|
39
|
+
return newHandler;
|
|
40
|
+
}
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCacheInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
42
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCacheInterceptor }); }
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCacheInterceptor, decorators: [{
|
|
45
|
+
type: Injectable
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { NgDocCacheInterceptor };
|
|
53
|
+
//# sourceMappingURL=ng-doc-ui-kit-interceptors.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-interceptors.mjs","sources":["../../../../libs/ui-kit/interceptors/cache.interceptor.ts","../../../../libs/ui-kit/interceptors/ng-doc-ui-kit-interceptors.ts"],"sourcesContent":["import {HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse} from '@angular/common/http';\nimport {Injectable} from '@angular/core';\nimport {Observable} from 'rxjs';\nimport {shareReplay, tap} from 'rxjs/operators';\n\n@Injectable()\nexport class NgDocCacheInterceptor implements HttpInterceptor {\n\tstatic readonly TOKEN: string = Math.random().toString(36).slice(-8);\n\tprivate cache: Map<string, Observable<HttpEvent<unknown>>> = new Map<string, Observable<HttpEvent<unknown>>>();\n\n\tintercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>> {\n\t\t// Only GET requests can be cached\n\t\tif (request.method !== 'GET') {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Do not cache request when the token is not provided\n\t\tif (!request.params.has(NgDocCacheInterceptor.TOKEN)) {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Return cached response\n\t\tconst cachedRequest: Observable<HttpEvent<T>> | undefined = this.cache.get(request.url) as Observable<\n\t\t\tHttpEvent<T>\n\t\t>;\n\n\t\tif (cachedRequest) {\n\t\t\treturn cachedRequest;\n\t\t}\n\n\t\t// Clone the request, delete the TOKEN from the params\n\t\tconst newRequest: HttpRequest<T> = request.clone({\n\t\t\tparams: request.params.delete(NgDocCacheInterceptor.TOKEN),\n\t\t});\n\n\t\t// Create a new request handler\n\t\tconst newHandler: Observable<HttpEvent<T>> = next.handle(newRequest).pipe(\n\t\t\ttap({\n\t\t\t\terror: (event: HttpEvent<Error>) => {\n\t\t\t\t\tif (event instanceof HttpResponse) {\n\t\t\t\t\t\tthis.cache.delete(event.url || '');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t}),\n\t\t\tshareReplay(1),\n\t\t);\n\n\t\t// Cache the request and return the new handler\n\t\tthis.cache.set(request.url, newHandler);\n\n\t\treturn newHandler;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MACa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAGS,QAAA,IAAA,CAAA,KAAK,GAAgD,IAAI,GAAG,EAA0C,CAAC;AA4C/G,KAAA;AA7CgB,IAAA,SAAA,IAAA,CAAA,KAAK,GAAW,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAA;IAGrE,SAAS,CAAI,OAAuB,EAAE,IAAiB,EAAA;;AAEtD,QAAA,IAAI,OAAO,CAAC,MAAM,KAAK,KAAK,EAAE;AAC7B,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAC5B,SAAA;;QAGD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE;AACrD,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAC5B,SAAA;;AAGD,QAAA,MAAM,aAAa,GAAyC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAErF,CAAC;AAEF,QAAA,IAAI,aAAa,EAAE;AAClB,YAAA,OAAO,aAAa,CAAC;AACrB,SAAA;;AAGD,QAAA,MAAM,UAAU,GAAmB,OAAO,CAAC,KAAK,CAAC;YAChD,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,KAAK,CAAC;AAC1D,SAAA,CAAC,CAAC;;AAGH,QAAA,MAAM,UAAU,GAA6B,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CACxE,GAAG,CAAC;AACH,YAAA,KAAK,EAAE,CAAC,KAAuB,KAAI;gBAClC,IAAI,KAAK,YAAY,YAAY,EAAE;oBAClC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;AACnC,iBAAA;aACD;AACD,SAAA,CAAC,EACF,WAAW,CAAC,CAAC,CAAC,CACd,CAAC;;QAGF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAExC,QAAA,OAAO,UAAU,CAAC;KAClB;8GA7CW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;;;ACLX;;AAEG;;;;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { NgModule } from '@angular/core';
|
|
4
|
+
import { NgDocCacheInterceptor } from '@ng-doc/ui-kit/interceptors';
|
|
5
|
+
import { NG_DOC_ASSETS_PATH } from '@ng-doc/ui-kit/tokens';
|
|
6
|
+
|
|
7
|
+
class NgDocUiKitRootModule {
|
|
8
|
+
static forRoot(config) {
|
|
9
|
+
return {
|
|
10
|
+
ngModule: NgDocUiKitRootModule,
|
|
11
|
+
providers: [
|
|
12
|
+
{
|
|
13
|
+
provide: NG_DOC_ASSETS_PATH,
|
|
14
|
+
useValue: config?.assetsPath ?? 'assets/ng-doc/ui-kit',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
provide: HTTP_INTERCEPTORS,
|
|
18
|
+
useClass: NgDocCacheInterceptor,
|
|
19
|
+
multi: true,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocUiKitRootModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
25
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocUiKitRootModule }); }
|
|
26
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocUiKitRootModule }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocUiKitRootModule, decorators: [{
|
|
29
|
+
type: NgModule,
|
|
30
|
+
args: [{}]
|
|
31
|
+
}] });
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Generated bundle index. Do not edit.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
export { NgDocUiKitRootModule };
|
|
38
|
+
//# sourceMappingURL=ng-doc-ui-kit-modules-root.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-modules-root.mjs","sources":["../../../../libs/ui-kit/modules/root/root.module.ts","../../../../libs/ui-kit/modules/root/ng-doc-ui-kit-modules-root.ts"],"sourcesContent":["import {HTTP_INTERCEPTORS} from '@angular/common/http';\nimport {ModuleWithProviders, NgModule} from '@angular/core';\nimport {NgDocCacheInterceptor} from '@ng-doc/ui-kit/interceptors';\nimport {NgDocUiConfig} from '@ng-doc/ui-kit/interfaces';\nimport {NG_DOC_ASSETS_PATH} from '@ng-doc/ui-kit/tokens';\n\n@NgModule({})\nexport class NgDocUiKitRootModule {\n\tstatic forRoot(config?: NgDocUiConfig): ModuleWithProviders<NgDocUiKitRootModule> {\n\t\treturn {\n\t\t\tngModule: NgDocUiKitRootModule,\n\t\t\tproviders: [\n\t\t\t\t{\n\t\t\t\t\tprovide: NG_DOC_ASSETS_PATH,\n\t\t\t\t\tuseValue: config?.assetsPath ?? 'assets/ng-doc/ui-kit',\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tprovide: HTTP_INTERCEPTORS,\n\t\t\t\t\tuseClass: NgDocCacheInterceptor,\n\t\t\t\t\tmulti: true,\n\t\t\t\t},\n\t\t\t],\n\t\t};\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA,MACa,oBAAoB,CAAA;IAChC,OAAO,OAAO,CAAC,MAAsB,EAAA;QACpC,OAAO;AACN,YAAA,QAAQ,EAAE,oBAAoB;AAC9B,YAAA,SAAS,EAAE;AACV,gBAAA;AACC,oBAAA,OAAO,EAAE,kBAAkB;AAC3B,oBAAA,QAAQ,EAAE,MAAM,EAAE,UAAU,IAAI,sBAAsB;AACtD,iBAAA;AACD,gBAAA;AACC,oBAAA,OAAO,EAAE,iBAAiB;AAC1B,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,KAAK,EAAE,IAAI;AACX,iBAAA;AACD,aAAA;SACD,CAAC;KACF;8GAhBW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAApB,oBAAoB,EAAA,CAAA,CAAA,EAAA;+GAApB,oBAAoB,EAAA,CAAA,CAAA,EAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,QAAQ;mBAAC,EAAE,CAAA;;;ACNZ;;AAEG;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
import { asArray } from '@ng-doc/core/helpers/as-array';
|
|
4
|
+
|
|
5
|
+
class NgDocAsArrayPipe {
|
|
6
|
+
transform(value) {
|
|
7
|
+
return asArray(value);
|
|
8
|
+
}
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayPipe, name: "asArray" }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayPipe, decorators: [{
|
|
13
|
+
type: Pipe,
|
|
14
|
+
args: [{
|
|
15
|
+
name: 'asArray',
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
|
|
19
|
+
class NgDocAsArrayModule {
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
21
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayModule, declarations: [NgDocAsArrayPipe], exports: [NgDocAsArrayPipe] }); }
|
|
22
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayModule }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAsArrayModule, decorators: [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [NgDocAsArrayPipe],
|
|
28
|
+
exports: [NgDocAsArrayPipe],
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export { NgDocAsArrayModule, NgDocAsArrayPipe };
|
|
37
|
+
//# sourceMappingURL=ng-doc-ui-kit-pipes-as-array.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-as-array.mjs","sources":["../../../../libs/ui-kit/pipes/as-array/as-array.pipe.ts","../../../../libs/ui-kit/pipes/as-array/as-array.module.ts","../../../../libs/ui-kit/pipes/as-array/ng-doc-ui-kit-pipes-as-array.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\n\n@Pipe({\n\tname: 'asArray',\n})\nexport class NgDocAsArrayPipe implements PipeTransform {\n\ttransform<T>(value: T | T[] | Iterable<T> | null | undefined): T[] {\n\t\treturn asArray(value);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocAsArrayPipe} from './as-array.pipe';\n\n@NgModule({\n\tdeclarations: [NgDocAsArrayPipe],\n\texports: [NgDocAsArrayPipe],\n})\nexport class NgDocAsArrayModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAGa,gBAAgB,CAAA;AAC5B,IAAA,SAAS,CAAI,KAA+C,EAAA;AAC3D,QAAA,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;KACtB;8GAHW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAhB,gBAAgB,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,SAAS;AACf,iBAAA,CAAA;;;ACDD,MAIa,kBAAkB,CAAA;8GAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAlB,kBAAkB,EAAA,YAAA,EAAA,CAHf,gBAAgB,CAAA,EAAA,OAAA,EAAA,CACrB,gBAAgB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEd,kBAAkB,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,gBAAgB,CAAC;oBAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;AAC3B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocBindPipe {
|
|
5
|
+
transform(fn, _this) {
|
|
6
|
+
return fn.bind(_this);
|
|
7
|
+
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindPipe, name: "ngDocBind" }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindPipe, decorators: [{
|
|
12
|
+
type: Pipe,
|
|
13
|
+
args: [{
|
|
14
|
+
name: 'ngDocBind',
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
|
|
18
|
+
class NgDocBindModule {
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindModule, declarations: [NgDocBindPipe], exports: [NgDocBindPipe] }); }
|
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindModule }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocBindModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
declarations: [NgDocBindPipe],
|
|
27
|
+
exports: [NgDocBindPipe],
|
|
28
|
+
}]
|
|
29
|
+
}] });
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Generated bundle index. Do not edit.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
export { NgDocBindModule, NgDocBindPipe };
|
|
36
|
+
//# sourceMappingURL=ng-doc-ui-kit-pipes-bind.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-bind.mjs","sources":["../../../../libs/ui-kit/pipes/bind/bind.pipe.ts","../../../../libs/ui-kit/pipes/bind/bind.module.ts","../../../../libs/ui-kit/pipes/bind/ng-doc-ui-kit-pipes-bind.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {FunctionType} from '@ng-doc/core';\n\n@Pipe({\n\tname: 'ngDocBind',\n})\nexport class NgDocBindPipe implements PipeTransform {\n\ttransform<R>(fn: FunctionType<R>, _this: unknown): FunctionType<R> {\n\t\treturn fn.bind(_this);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocBindPipe} from './bind.pipe';\n\n@NgModule({\n\tdeclarations: [NgDocBindPipe],\n\texports: [NgDocBindPipe],\n})\nexport class NgDocBindModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA,MAGa,aAAa,CAAA;IACzB,SAAS,CAAI,EAAmB,EAAE,KAAc,EAAA;AAC/C,QAAA,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACtB;8GAHW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAb,aAAa,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAHzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,WAAW;AACjB,iBAAA,CAAA;;;ACDD,MAIa,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,YAAA,EAAA,CAHZ,aAAa,CAAA,EAAA,OAAA,EAAA,CAClB,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEX,eAAe,EAAA,CAAA,CAAA,EAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,aAAa,CAAC;AACxB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocHighlighterPipe {
|
|
5
|
+
transform(input, positions) {
|
|
6
|
+
positions
|
|
7
|
+
.sort((a, b) => b.start - a.start)
|
|
8
|
+
.forEach((position) => {
|
|
9
|
+
const { start, length } = position;
|
|
10
|
+
const end = start + length;
|
|
11
|
+
input = `${input.slice(0, start)}<mark class="ng-doc-mark">${input.slice(start, end)}</mark>${input.slice(end)}`;
|
|
12
|
+
});
|
|
13
|
+
return input;
|
|
14
|
+
}
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterPipe, name: "ngDocHighlighterPipe" }); }
|
|
17
|
+
}
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterPipe, decorators: [{
|
|
19
|
+
type: Pipe,
|
|
20
|
+
args: [{
|
|
21
|
+
name: 'ngDocHighlighterPipe',
|
|
22
|
+
}]
|
|
23
|
+
}] });
|
|
24
|
+
|
|
25
|
+
class NgDocHighlighterModule {
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterModule, declarations: [NgDocHighlighterPipe], exports: [NgDocHighlighterPipe] }); }
|
|
28
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterModule }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHighlighterModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
declarations: [NgDocHighlighterPipe],
|
|
34
|
+
exports: [NgDocHighlighterPipe],
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated bundle index. Do not edit.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
export { NgDocHighlighterModule, NgDocHighlighterPipe };
|
|
43
|
+
//# sourceMappingURL=ng-doc-ui-kit-pipes-highlighter.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-highlighter.mjs","sources":["../../../../libs/ui-kit/pipes/highlighter/highlighter.pipe.ts","../../../../libs/ui-kit/pipes/highlighter/highlighter.module.ts","../../../../libs/ui-kit/pipes/highlighter/ng-doc-ui-kit-pipes-highlighter.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\n\nexport interface NgDocHighlightPosition {\n\tstart: number;\n\tlength: number;\n}\n\n@Pipe({\n\tname: 'ngDocHighlighterPipe',\n})\nexport class NgDocHighlighterPipe implements PipeTransform {\n\ttransform(input: string, positions: NgDocHighlightPosition[]): string {\n\t\tpositions\n\t\t\t.sort((a: NgDocHighlightPosition, b: NgDocHighlightPosition) => b.start - a.start)\n\t\t\t.forEach((position: NgDocHighlightPosition) => {\n\t\t\t\tconst {start, length} = position;\n\t\t\t\tconst end = start + length;\n\n\t\t\t\tinput = `${input.slice(0, start)}<mark class=\"ng-doc-mark\">${input.slice(\n\t\t\t\t\tstart,\n\t\t\t\t\tend,\n\t\t\t\t)}</mark>${input.slice(end)}`;\n\t\t\t});\n\n\t\treturn input;\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocHighlighterPipe} from './highlighter.pipe';\n\n@NgModule({\n\tdeclarations: [NgDocHighlighterPipe],\n\texports: [NgDocHighlighterPipe],\n})\nexport class NgDocHighlighterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAOA,MAGa,oBAAoB,CAAA;IAChC,SAAS,CAAC,KAAa,EAAE,SAAmC,EAAA;QAC3D,SAAS;AACP,aAAA,IAAI,CAAC,CAAC,CAAyB,EAAE,CAAyB,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;AACjF,aAAA,OAAO,CAAC,CAAC,QAAgC,KAAI;AAC7C,YAAA,MAAM,EAAC,KAAK,EAAE,MAAM,EAAC,GAAG,QAAQ,CAAC;AACjC,YAAA,MAAM,GAAG,GAAG,KAAK,GAAG,MAAM,CAAC;YAE3B,KAAK,GAAG,CAAG,EAAA,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA,0BAAA,EAA6B,KAAK,CAAC,KAAK,CACvE,KAAK,EACL,GAAG,CACH,CAAU,OAAA,EAAA,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,CAAE,CAAC;AAC/B,SAAC,CAAC,CAAC;AAEJ,QAAA,OAAO,KAAK,CAAC;KACb;8GAfW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAApB,oBAAoB,EAAA,IAAA,EAAA,sBAAA,EAAA,CAAA,CAAA,EAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,sBAAsB;AAC5B,iBAAA,CAAA;;;ACLD,MAIa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAtB,sBAAsB,EAAA,YAAA,EAAA,CAHnB,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAElB,sBAAsB,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAC/B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocRunPipe {
|
|
5
|
+
transform(fn, ...args) {
|
|
6
|
+
return fn(...args);
|
|
7
|
+
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunPipe, name: "ngDocRun" }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunPipe, decorators: [{
|
|
12
|
+
type: Pipe,
|
|
13
|
+
args: [{
|
|
14
|
+
name: 'ngDocRun'
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
|
|
18
|
+
class NgDocRunModule {
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunModule, declarations: [NgDocRunPipe], exports: [NgDocRunPipe] }); }
|
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunModule }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRunModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
declarations: [NgDocRunPipe],
|
|
27
|
+
exports: [NgDocRunPipe],
|
|
28
|
+
}]
|
|
29
|
+
}] });
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Generated bundle index. Do not edit.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
export { NgDocRunModule, NgDocRunPipe };
|
|
36
|
+
//# sourceMappingURL=ng-doc-ui-kit-pipes-run.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-run.mjs","sources":["../../../../libs/ui-kit/pipes/run/run.pipe.ts","../../../../libs/ui-kit/pipes/run/run.module.ts","../../../../libs/ui-kit/pipes/run/ng-doc-ui-kit-pipes-run.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport {FunctionType} from '@ng-doc/core';\n\n\n\n@Pipe({\n name: 'ngDocRun'\n})\nexport class NgDocRunPipe implements PipeTransform {\n\n transform<R, F extends FunctionType<R>>(fn: F, ...args: Parameters<F>): R {\n return fn(...args);\n }\n\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocRunPipe} from './run.pipe';\n\n@NgModule({\n\tdeclarations: [NgDocRunPipe],\n\texports: [NgDocRunPipe],\n})\nexport class NgDocRunModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAKA,MAGa,YAAY,CAAA;AAEvB,IAAA,SAAS,CAA+B,EAAK,EAAE,GAAG,IAAmB,EAAA;AACnE,QAAA,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;KACpB;8GAJU,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAZ,YAAY,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA,EAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAHxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AACjB,iBAAA,CAAA;;;ACHD,MAIa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,YAAA,EAAA,CAHX,YAAY,CAAA,EAAA,OAAA,EAAA,CACjB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEV,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,YAAY,CAAC;oBAC5B,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable } from '@angular/core';
|
|
4
|
+
import { notificationOpenAnimation, notificationCloseAnimation } from '@ng-doc/ui-kit/animations';
|
|
5
|
+
import { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';
|
|
6
|
+
import * as i1 from '@ng-doc/ui-kit/services/overlay';
|
|
7
|
+
import { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';
|
|
8
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
9
|
+
import { Subject, timer } from 'rxjs';
|
|
10
|
+
import { tap, switchMap } from 'rxjs/operators';
|
|
11
|
+
|
|
12
|
+
let NgDocNotifyService = class NgDocNotifyService {
|
|
13
|
+
constructor(overlayService) {
|
|
14
|
+
this.overlayService = overlayService;
|
|
15
|
+
this.notify$ = new Subject();
|
|
16
|
+
this.notify$
|
|
17
|
+
.pipe(tap(() => this.overlayRef?.close()), tap((content) => this.openOverlay(content)), switchMap(() => timer(2000)), untilDestroyed(this))
|
|
18
|
+
.subscribe(() => this.overlayRef?.close());
|
|
19
|
+
}
|
|
20
|
+
notify(content) {
|
|
21
|
+
this.notify$.next(content);
|
|
22
|
+
}
|
|
23
|
+
openOverlay(content) {
|
|
24
|
+
this.overlayRef = this.overlayService.open(content, {
|
|
25
|
+
overlayContainer: NgDocOverlayContainerComponent,
|
|
26
|
+
panelClass: 'ng-doc-notify',
|
|
27
|
+
positionStrategy: this.overlayService.globalPositionStrategy().bottom('10px').centerHorizontally(),
|
|
28
|
+
openAnimation: notificationOpenAnimation,
|
|
29
|
+
closeAnimation: notificationCloseAnimation,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNotifyService, deps: [{ token: i1.NgDocOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
33
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNotifyService, providedIn: 'root' }); }
|
|
34
|
+
};
|
|
35
|
+
NgDocNotifyService = __decorate([
|
|
36
|
+
UntilDestroy(),
|
|
37
|
+
__metadata("design:paramtypes", [NgDocOverlayService])
|
|
38
|
+
], NgDocNotifyService);
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocNotifyService, decorators: [{
|
|
40
|
+
type: Injectable,
|
|
41
|
+
args: [{
|
|
42
|
+
providedIn: 'root',
|
|
43
|
+
}]
|
|
44
|
+
}], ctorParameters: function () { return [{ type: i1.NgDocOverlayService }]; } });
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Generated bundle index. Do not edit.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
export { NgDocNotifyService };
|
|
51
|
+
//# sourceMappingURL=ng-doc-ui-kit-services-notify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-notify.mjs","sources":["../../../../libs/ui-kit/services/notify/notify.service.ts","../../../../libs/ui-kit/services/notify/ng-doc-ui-kit-services-notify.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {notificationCloseAnimation, notificationOpenAnimation} from '@ng-doc/ui-kit/animations';\nimport {NgDocOverlayRef} from '@ng-doc/ui-kit/classes';\nimport {NgDocOverlayContainerComponent} from '@ng-doc/ui-kit/components/overlay-container';\nimport {NgDocOverlayService} from '@ng-doc/ui-kit/services/overlay';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {Subject, timer} from 'rxjs';\nimport {switchMap, tap} from 'rxjs/operators';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\n@UntilDestroy()\nexport class NgDocNotifyService {\n\tprivate overlayRef?: NgDocOverlayRef;\n\tprivate readonly notify$: Subject<NgDocContent> = new Subject<NgDocContent>();\n\n\tconstructor(private readonly overlayService: NgDocOverlayService) {\n\t\tthis.notify$\n\t\t\t.pipe(\n\t\t\t\ttap(() => this.overlayRef?.close()),\n\t\t\t\ttap((content: NgDocContent) => this.openOverlay(content)),\n\t\t\t\tswitchMap(() => timer(2000)),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t)\n\t\t\t.subscribe(() => this.overlayRef?.close());\n\t}\n\n\tnotify(content: NgDocContent): void {\n\t\tthis.notify$.next(content);\n\t}\n\n\tprivate openOverlay(content: NgDocContent): void {\n\t\tthis.overlayRef = this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpanelClass: 'ng-doc-notify',\n\t\t\tpositionStrategy: this.overlayService.globalPositionStrategy().bottom('10px').centerHorizontally(),\n\t\t\topenAnimation: notificationOpenAnimation,\n\t\t\tcloseAnimation: notificationCloseAnimation,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAca,IAAA,kBAAkB,GAJ/B,MAIa,kBAAkB,CAAA;AAI9B,IAAA,WAAA,CAA6B,cAAmC,EAAA;QAAnC,IAAc,CAAA,cAAA,GAAd,cAAc,CAAqB;AAF/C,QAAA,IAAA,CAAA,OAAO,GAA0B,IAAI,OAAO,EAAgB,CAAC;AAG7E,QAAA,IAAI,CAAC,OAAO;aACV,IAAI,CACJ,GAAG,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,EACnC,GAAG,CAAC,CAAC,OAAqB,KAAK,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,EACzD,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,EAC5B,cAAc,CAAC,IAAI,CAAC,CACpB;aACA,SAAS,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;KAC5C;AAED,IAAA,MAAM,CAAC,OAAqB,EAAA;AAC3B,QAAA,IAAI,CAAC,OAAO,CAAC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