@ng-doc/ui-kit 15.13.0 → 16.0.0-beta.2
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 +317 -487
- 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,73 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, ElementRef, NgZone, ChangeDetectorRef, Directive, Output, HostBinding, NgModule } from '@angular/core';
|
|
4
|
+
import { FOCUS_EVENT, BLUR_EVENT } from '@ng-doc/ui-kit/constants';
|
|
5
|
+
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
6
|
+
import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
|
|
7
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
8
|
+
import { merge, fromEvent } from 'rxjs';
|
|
9
|
+
import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
10
|
+
|
|
11
|
+
var NgDocFocusCatcherDirective_1;
|
|
12
|
+
let NgDocFocusCatcherDirective = NgDocFocusCatcherDirective_1 = class NgDocFocusCatcherDirective {
|
|
13
|
+
constructor(elementRef, ngZone, changeDetectorRef) {
|
|
14
|
+
this.elementRef = elementRef;
|
|
15
|
+
this.ngZone = ngZone;
|
|
16
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
17
|
+
this.focusEvent = new EventEmitter();
|
|
18
|
+
this.blurEvent = new EventEmitter();
|
|
19
|
+
this.focused = false;
|
|
20
|
+
NgDocFocusCatcherDirective_1.observeFocus(toElement(this.elementRef))
|
|
21
|
+
.pipe(ngDocZoneOptimize(this.ngZone), untilDestroyed(this))
|
|
22
|
+
.subscribe((event) => {
|
|
23
|
+
this.focused = event.type === FOCUS_EVENT;
|
|
24
|
+
this.focused ? this.focusEvent.emit(event) : this.blurEvent.emit(event);
|
|
25
|
+
this.changeDetectorRef.markForCheck();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
static observeFocus(element) {
|
|
29
|
+
return merge(fromEvent(element, FOCUS_EVENT), fromEvent(element, BLUR_EVENT)).pipe(debounceTime(0), distinctUntilChanged((a, b) => a.type === b.type));
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent" }, host: { properties: { "attr.data-ng-doc-focused": "this.focused" } }, exportAs: ["ngDocFocusCatcher"], ngImport: i0 }); }
|
|
33
|
+
};
|
|
34
|
+
NgDocFocusCatcherDirective = NgDocFocusCatcherDirective_1 = __decorate([
|
|
35
|
+
UntilDestroy(),
|
|
36
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
37
|
+
NgZone,
|
|
38
|
+
ChangeDetectorRef])
|
|
39
|
+
], NgDocFocusCatcherDirective);
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherDirective, decorators: [{
|
|
41
|
+
type: Directive,
|
|
42
|
+
args: [{
|
|
43
|
+
selector: '[ngDocFocusCatcher]',
|
|
44
|
+
exportAs: 'ngDocFocusCatcher',
|
|
45
|
+
}]
|
|
46
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { focusEvent: [{
|
|
47
|
+
type: Output
|
|
48
|
+
}], blurEvent: [{
|
|
49
|
+
type: Output
|
|
50
|
+
}], focused: [{
|
|
51
|
+
type: HostBinding,
|
|
52
|
+
args: ['attr.data-ng-doc-focused']
|
|
53
|
+
}] } });
|
|
54
|
+
|
|
55
|
+
class NgDocFocusCatcherModule {
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
57
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, declarations: [NgDocFocusCatcherDirective], exports: [NgDocFocusCatcherDirective] }); }
|
|
58
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule }); }
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, decorators: [{
|
|
61
|
+
type: NgModule,
|
|
62
|
+
args: [{
|
|
63
|
+
declarations: [NgDocFocusCatcherDirective],
|
|
64
|
+
exports: [NgDocFocusCatcherDirective],
|
|
65
|
+
}]
|
|
66
|
+
}] });
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Generated bundle index. Do not edit.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
export { NgDocFocusCatcherDirective, NgDocFocusCatcherModule };
|
|
73
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-focus-catcher.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-focus-catcher.mjs","sources":["../../../../libs/ui-kit/directives/focus-catcher/focus-catcher.directive.ts","../../../../libs/ui-kit/directives/focus-catcher/focus-catcher.module.ts","../../../../libs/ui-kit/directives/focus-catcher/ng-doc-ui-kit-directives-focus-catcher.ts"],"sourcesContent":["import {ChangeDetectorRef, Directive, ElementRef, EventEmitter, HostBinding, NgZone, Output} from '@angular/core';\nimport {BLUR_EVENT, FOCUS_EVENT} from '@ng-doc/ui-kit/constants';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocFocusCatcher]',\n\texportAs: 'ngDocFocusCatcher',\n})\n@UntilDestroy()\nexport class NgDocFocusCatcherDirective {\n\t@Output()\n\tfocusEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n\t@Output()\n\tblurEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n\t@HostBinding('attr.data-ng-doc-focused')\n\tfocused: boolean = false;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\tprivate ngZone: NgZone,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t) {\n\t\tNgDocFocusCatcherDirective.observeFocus(toElement(this.elementRef))\n\t\t\t.pipe(ngDocZoneOptimize(this.ngZone), untilDestroyed(this))\n\t\t\t.subscribe((event: FocusEvent) => {\n\t\t\t\tthis.focused = event.type === FOCUS_EVENT;\n\t\t\t\tthis.focused ? this.focusEvent.emit(event) : this.blurEvent.emit(event);\n\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t});\n\t}\n\n\tstatic observeFocus(element: HTMLElement): Observable<FocusEvent> {\n\t\treturn merge(fromEvent<FocusEvent>(element, FOCUS_EVENT), fromEvent<FocusEvent>(element, BLUR_EVENT)).pipe(\n\t\t\tdebounceTime(0),\n\t\t\tdistinctUntilChanged((a: FocusEvent, b: FocusEvent) => a.type === b.type),\n\t\t);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocFocusCatcherDirective} from './focus-catcher.directive';\n\n@NgModule({\n\tdeclarations: [NgDocFocusCatcherDirective],\n\texports: [NgDocFocusCatcherDirective],\n})\nexport class NgDocFocusCatcherModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAaa,IAAA,0BAA0B,GALvC,4BAAA,GAAA,MAKa,0BAA0B,CAAA;AAUtC,IAAA,WAAA,CACS,UAAmC,EACnC,MAAc,EACd,iBAAoC,EAAA;QAFpC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;AAX7C,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,YAAY,EAAS,CAAC;AAG5D,QAAA,IAAA,CAAA,SAAS,GAAwB,IAAI,YAAY,EAAS,CAAC;QAG3D,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;QAOxB,4BA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ective {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.focusable = true;
|
|
7
|
+
}
|
|
8
|
+
get tabIndex() {
|
|
9
|
+
return this.focusable ? 0 : -1;
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: { focusable: ["ngDocFocusable", "focusable"] }, host: { properties: { "attr.tabIndex": "this.tabIndex" } }, exportAs: ["ngDocFocusable"], ngImport: i0 }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableDirective, decorators: [{
|
|
15
|
+
type: Directive,
|
|
16
|
+
args: [{
|
|
17
|
+
selector: '[ngDocFocusable]',
|
|
18
|
+
exportAs: 'ngDocFocusable',
|
|
19
|
+
}]
|
|
20
|
+
}], propDecorators: { focusable: [{
|
|
21
|
+
type: Input,
|
|
22
|
+
args: ['ngDocFocusable']
|
|
23
|
+
}], tabIndex: [{
|
|
24
|
+
type: HostBinding,
|
|
25
|
+
args: ['attr.tabIndex']
|
|
26
|
+
}] } });
|
|
27
|
+
|
|
28
|
+
class NgDocFocusableModule {
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, declarations: [NgDocFocusableDirective], exports: [NgDocFocusableDirective] }); }
|
|
31
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, decorators: [{
|
|
34
|
+
type: NgModule,
|
|
35
|
+
args: [{
|
|
36
|
+
declarations: [NgDocFocusableDirective],
|
|
37
|
+
exports: [NgDocFocusableDirective],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Generated bundle index. Do not edit.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
export { NgDocFocusableDirective, NgDocFocusableModule };
|
|
46
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-focusable.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-focusable.mjs","sources":["../../../../libs/ui-kit/directives/focusable/focusable.directive.ts","../../../../libs/ui-kit/directives/focusable/focusable.module.ts","../../../../libs/ui-kit/directives/focusable/ng-doc-ui-kit-directives-focusable.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\n\n@Directive({\n\tselector: '[ngDocFocusable]',\n\texportAs: 'ngDocFocusable',\n})\nexport class NgDocFocusableDirective {\n\t@Input('ngDocFocusable')\n\tfocusable: boolean = true;\n\n\t@HostBinding('attr.tabIndex')\n\tget tabIndex(): number {\n\t\treturn this.focusable ? 0 : -1;\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocFocusableDirective} from './focusable.directive';\n\n@NgModule({\n\tdeclarations: [NgDocFocusableDirective],\n\texports: [NgDocFocusableDirective],\n})\nexport class NgDocFocusableModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAIa,uBAAuB,CAAA;AAJpC,IAAA,WAAA,GAAA;QAMC,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC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C,OAAO,EAAE,CAAC,uBAAuB,CAAC;AAClC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, NgZone, Directive, Inject, Input, Output, NgModule } from '@angular/core';
|
|
5
|
+
import { isKeyboardEvent } from '@ng-doc/core/helpers/is-keyboard-event';
|
|
6
|
+
import { objectKeys } from '@ng-doc/core/helpers/object-keys';
|
|
7
|
+
import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
|
|
8
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
9
|
+
import { fromEvent } from 'rxjs';
|
|
10
|
+
import { share, filter } from 'rxjs/operators';
|
|
11
|
+
|
|
12
|
+
const KEYUP_EVENT = fromEvent(document, 'keyup').pipe(share());
|
|
13
|
+
let NgDocHotkeyDirective = class NgDocHotkeyDirective {
|
|
14
|
+
constructor(document, ngZone) {
|
|
15
|
+
this.document = document;
|
|
16
|
+
this.ngZone = ngZone;
|
|
17
|
+
this.callback = new EventEmitter();
|
|
18
|
+
KEYUP_EVENT.pipe(filter(isKeyboardEvent), filter((event) => objectKeys(this.hotkey ?? {}).every((key) => this.hotkey && this.hotkey[key] === event[key])), filter((event) => {
|
|
19
|
+
if (event.target instanceof HTMLElement) {
|
|
20
|
+
return !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());
|
|
21
|
+
}
|
|
22
|
+
return true;
|
|
23
|
+
}), ngDocZoneOptimize(this.ngZone), untilDestroyed(this)).subscribe((event) => {
|
|
24
|
+
event.preventDefault();
|
|
25
|
+
this.callback.emit();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyDirective, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
29
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocHotkeyDirective, selector: "[ngDocHotkey]", inputs: { hotkey: ["ngDocHotkey", "hotkey"] }, outputs: { callback: "ngDocHotkey" }, ngImport: i0 }); }
|
|
30
|
+
};
|
|
31
|
+
NgDocHotkeyDirective = __decorate([
|
|
32
|
+
UntilDestroy(),
|
|
33
|
+
__metadata("design:paramtypes", [Document,
|
|
34
|
+
NgZone])
|
|
35
|
+
], NgDocHotkeyDirective);
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyDirective, decorators: [{
|
|
37
|
+
type: Directive,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: '[ngDocHotkey]',
|
|
40
|
+
}]
|
|
41
|
+
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
42
|
+
type: Inject,
|
|
43
|
+
args: [DOCUMENT]
|
|
44
|
+
}] }, { type: i0.NgZone }]; }, propDecorators: { hotkey: [{
|
|
45
|
+
type: Input,
|
|
46
|
+
args: ['ngDocHotkey']
|
|
47
|
+
}], callback: [{
|
|
48
|
+
type: Output,
|
|
49
|
+
args: ['ngDocHotkey']
|
|
50
|
+
}] } });
|
|
51
|
+
|
|
52
|
+
class NgDocHotkeyModule {
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
54
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, declarations: [NgDocHotkeyDirective], exports: [NgDocHotkeyDirective] }); }
|
|
55
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule }); }
|
|
56
|
+
}
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, decorators: [{
|
|
58
|
+
type: NgModule,
|
|
59
|
+
args: [{
|
|
60
|
+
declarations: [NgDocHotkeyDirective],
|
|
61
|
+
exports: [NgDocHotkeyDirective],
|
|
62
|
+
}]
|
|
63
|
+
}] });
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Generated bundle index. Do not edit.
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
export { NgDocHotkeyDirective, NgDocHotkeyModule };
|
|
70
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-hotkey.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-hotkey.mjs","sources":["../../../../libs/ui-kit/directives/hotkey/hotkey.directive.ts","../../../../libs/ui-kit/directives/hotkey/hotkey.module.ts","../../../../libs/ui-kit/directives/hotkey/ng-doc-ui-kit-directives-hotkey.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, EventEmitter, Inject, Input, NgZone, Output} from '@angular/core';\nimport {isKeyboardEvent} from '@ng-doc/core/helpers/is-keyboard-event';\nimport {objectKeys} from '@ng-doc/core/helpers/object-keys';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, Observable} from 'rxjs';\nimport {filter, share} from 'rxjs/operators';\n\nconst KEYUP_EVENT: Observable<Event> = fromEvent(document, 'keyup').pipe(share());\n\n@Directive({\n\tselector: '[ngDocHotkey]',\n})\n@UntilDestroy()\nexport class NgDocHotkeyDirective {\n\t@Input('ngDocHotkey')\n\thotkey?: Partial<KeyboardEvent>;\n\n\t@Output('ngDocHotkey')\n\tcallback: EventEmitter<void> = new EventEmitter<void>();\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\tprivate readonly ngZone: NgZone,\n\t) {\n\t\tKEYUP_EVENT.pipe(\n\t\t\tfilter(isKeyboardEvent),\n\t\t\tfilter((event: KeyboardEvent) =>\n\t\t\t\tobjectKeys(this.hotkey ?? {}).every(\n\t\t\t\t\t(key: keyof KeyboardEvent) => this.hotkey && this.hotkey[key] === event[key],\n\t\t\t\t),\n\t\t\t),\n\t\t\tfilter((event: KeyboardEvent) => {\n\t\t\t\tif (event.target instanceof HTMLElement) {\n\t\t\t\t\treturn !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}),\n\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\tuntilDestroyed(this),\n\t\t).subscribe((event: KeyboardEvent) => {\n\t\t\tevent.preventDefault();\n\t\t\tthis.callback.emit();\n\t\t});\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocHotkeyDirective} from './hotkey.directive';\n\n@NgModule({\n\tdeclarations: [NgDocHotkeyDirective],\n\texports: [NgDocHotkeyDirective],\n})\nexport class NgDocHotkeyModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AASA,MAAM,WAAW,GAAsB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAMrE,IAAA,oBAAoB,GAJjC,MAIa,oBAAoB,CAAA;IAOhC,WAEkB,CAAA,QAAkB,EAClB,MAAc,EAAA;QADd,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAClB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AALhC,QAAA,IAAA,CAAA,QAAQ,GAAuB,IAAI,YAAY,EAAQ,CAAC;QAOvD,WAAW,CAAC,IAAI,CACf,MAAM,CAAC,eAAe,CAAC,E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AA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAApB,oBAAoB,GAAA,UAAA,CAAA;AADhC,IAAA,YAAY,EAAE;qCAUc,QAAQ;QACV,MAAM,CAAA,CAAA;AAVpB,CAAA,EAAA,oBAAoB,CAgChC,CAAA;2FAhCY,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,eAAe;AACzB,iBAAA,CAAA;;0BAUE,MAAM;2BAAC,QAAQ,CAAA;iEANjB,MAAM,EAAA,CAAA;sBADL,KAAK;uBAAC,aAAa,CAAA;gBAIpB,QAAQ,EAAA,CAAA;sBADP,MAAM;uBAAC,aAAa,CAAA;;;ACftB,MAIa,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAHd,oBAAoB,CAAA,EAAA,OAAA,EAAA,CACzB,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAElB,iBAAiB,EAAA,CAAA,CAAA,EAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,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,81 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ElementRef, Renderer2, Directive, Inject, Optional, HostListener, NgModule } from '@angular/core';
|
|
4
|
+
import { isPresent } from '@ng-doc/core/helpers/is-present';
|
|
5
|
+
import { NgDocBaseInput } from '@ng-doc/ui-kit/classes/base-input';
|
|
6
|
+
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
7
|
+
import { NG_DOC_INPUT_CONTROL } from '@ng-doc/ui-kit/tokens';
|
|
8
|
+
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
9
|
+
import * as i1 from 'flex-controls';
|
|
10
|
+
import { FL_CONTROL_HOST, FlControlHost } from 'flex-controls';
|
|
11
|
+
|
|
12
|
+
var NgDocInputNumberDirective_1;
|
|
13
|
+
let NgDocInputNumberDirective = NgDocInputNumberDirective_1 = class NgDocInputNumberDirective extends NgDocBaseInput {
|
|
14
|
+
constructor(elementRef, renderer, host) {
|
|
15
|
+
super(elementRef, renderer, host);
|
|
16
|
+
this.elementRef = elementRef;
|
|
17
|
+
this.renderer = renderer;
|
|
18
|
+
this.host = host;
|
|
19
|
+
}
|
|
20
|
+
blurEvent() {
|
|
21
|
+
this.onTouched();
|
|
22
|
+
}
|
|
23
|
+
inputEvent() {
|
|
24
|
+
this.updateModel(Number(this.elementRef.nativeElement.value));
|
|
25
|
+
}
|
|
26
|
+
incomingUpdate(value) {
|
|
27
|
+
toElement(this.elementRef).value = isPresent(value) ? String(Number(value)) : '';
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FL_CONTROL_HOST, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputNumberDirective, selector: "input[ngDocInputNumber]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
31
|
+
{ provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputNumberDirective_1 },
|
|
32
|
+
{ provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective_1 },
|
|
33
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
34
|
+
};
|
|
35
|
+
NgDocInputNumberDirective = NgDocInputNumberDirective_1 = __decorate([
|
|
36
|
+
UntilDestroy(),
|
|
37
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
38
|
+
Renderer2,
|
|
39
|
+
FlControlHost])
|
|
40
|
+
], NgDocInputNumberDirective);
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberDirective, decorators: [{
|
|
42
|
+
type: Directive,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: `input[ngDocInputNumber]`,
|
|
45
|
+
providers: [
|
|
46
|
+
{ provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputNumberDirective },
|
|
47
|
+
{ provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective },
|
|
48
|
+
],
|
|
49
|
+
}]
|
|
50
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FlControlHost, decorators: [{
|
|
51
|
+
type: Inject,
|
|
52
|
+
args: [FL_CONTROL_HOST]
|
|
53
|
+
}, {
|
|
54
|
+
type: Optional
|
|
55
|
+
}] }]; }, propDecorators: { blurEvent: [{
|
|
56
|
+
type: HostListener,
|
|
57
|
+
args: ['blur']
|
|
58
|
+
}], inputEvent: [{
|
|
59
|
+
type: HostListener,
|
|
60
|
+
args: ['input']
|
|
61
|
+
}] } });
|
|
62
|
+
|
|
63
|
+
class NgDocInputNumberModule {
|
|
64
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
65
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, declarations: [NgDocInputNumberDirective], exports: [NgDocInputNumberDirective] }); }
|
|
66
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule }); }
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, decorators: [{
|
|
69
|
+
type: NgModule,
|
|
70
|
+
args: [{
|
|
71
|
+
declarations: [NgDocInputNumberDirective],
|
|
72
|
+
exports: [NgDocInputNumberDirective],
|
|
73
|
+
}]
|
|
74
|
+
}] });
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Generated bundle index. Do not edit.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
export { NgDocInputNumberDirective, NgDocInputNumberModule };
|
|
81
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-input-number.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-input-number.mjs","sources":["../../../../libs/ui-kit/directives/input-number/input-number.directive.ts","../../../../libs/ui-kit/directives/input-number/input-number.module.ts","../../../../libs/ui-kit/directives/input-number/ng-doc-ui-kit-directives-input-number.ts"],"sourcesContent":["import {Directive, ElementRef, HostListener, Inject, Optional, Renderer2} from '@angular/core';\nimport {isPresent} from '@ng-doc/core/helpers/is-present';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NG_DOC_INPUT_CONTROL} from '@ng-doc/ui-kit/tokens';\nimport {UntilDestroy} from '@ngneat/until-destroy';\nimport {FL_CONTROL_HOST, FlControlHost} from 'flex-controls';\n\n@Directive({\n\tselector: `input[ngDocInputNumber]`,\n\tproviders: [\n\t\t{provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputNumberDirective},\n\t\t{provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective},\n\t],\n})\n@UntilDestroy()\nexport class NgDocInputNumberDirective extends NgDocBaseInput<number> {\n\tconstructor(\n\t\tpublic override elementRef: ElementRef<HTMLInputElement>,\n\t\tprotected override renderer: Renderer2,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected override host?: FlControlHost<number>,\n\t) {\n\t\tsuper(elementRef, renderer, host);\n\t}\n\n\t@HostListener('blur')\n\tblurEvent(): void {\n\t\tthis.onTouched();\n\t}\n\n\t@HostListener('input')\n\tinputEvent(): void {\n\t\tthis.updateModel(Number(this.elementRef.nativeElement.value));\n\t}\n\n\tprotected override incomingUpdate(value: number | null): void {\n\t\ttoElement(this.elementRef).value = isPresent(value) ? String(Number(value)) : '';\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocInputNumberDirective} from './input-number.directive';\n\n@NgModule({\n\tdeclarations: [NgDocInputNumberDirective],\n\texports: [NgDocInputNumberDirective],\n})\nexport class NgDocInputNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA,IAQa,yBAAyB,GAAA,2BAAA,GARtC,MAQa,yBAA0B,SAAQ,cAAsB,CAAA;AACpE,IAAA,WAAA,CACiB,UAAwC,EACrC,QAAmB,EAGnB,IAA4B,EAAA;AAE/C,QAAA,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QANlB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA8B;QACrC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAGnB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAwB;KAG/C;IAGD,SAAS,GAAA;QACR,IAAI,CAAC,SAAS,EAAE,CAAC;KACjB;IAGD,UAAU,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9D;AAEkB,IAAA,cAAc,CAAC,KAAoB,EAAA;QACrD,SAAS,CAAC,IAAI,CAAC,U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,EAAE;AACV,wBAAA,EAAC,OAAO,EAAE,oBAAoB,EAAE,WAAW,2BAA2B,EAAC;AACvE,wBAAA,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,2BAA2B,EAAC;AACjE,qBAAA;AACD,iBAAA,CAAA;;0BAME,MAAM;2BAAC,eAAe,CAAA;;0BACtB,QAAQ;4CAOV,SAAS,EAAA,CAAA;sBADR,YAAY;uBAAC,MAAM,CAAA;gBAMpB,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,OAAO,CAAA;;;AC5BtB,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,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAC9B,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEvB,sBAAsB,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACpC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ElementRef, Renderer2, Directive, Inject, Optional, HostListener, NgModule } from '@angular/core';
|
|
4
|
+
import { isPresent } from '@ng-doc/core/helpers/is-present';
|
|
5
|
+
import { NgDocBaseInput } from '@ng-doc/ui-kit/classes/base-input';
|
|
6
|
+
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
7
|
+
import { NG_DOC_INPUT_CONTROL } from '@ng-doc/ui-kit/tokens';
|
|
8
|
+
import { UntilDestroy } from '@ngneat/until-destroy';
|
|
9
|
+
import * as i1 from 'flex-controls';
|
|
10
|
+
import { FL_CONTROL_HOST, FlControlHost } from 'flex-controls';
|
|
11
|
+
|
|
12
|
+
var NgDocInputStringDirective_1;
|
|
13
|
+
/** Directive converts any input data or model to text */
|
|
14
|
+
let NgDocInputStringDirective = NgDocInputStringDirective_1 = class NgDocInputStringDirective extends NgDocBaseInput {
|
|
15
|
+
constructor(elementRef, renderer, host) {
|
|
16
|
+
super(elementRef, renderer, host);
|
|
17
|
+
this.elementRef = elementRef;
|
|
18
|
+
this.renderer = renderer;
|
|
19
|
+
this.host = host;
|
|
20
|
+
}
|
|
21
|
+
blurEvent() {
|
|
22
|
+
this.onTouched();
|
|
23
|
+
}
|
|
24
|
+
inputEvent() {
|
|
25
|
+
this.updateModel(this.elementRef.nativeElement.value);
|
|
26
|
+
}
|
|
27
|
+
incomingUpdate(value) {
|
|
28
|
+
toElement(this.elementRef).value = isPresent(value) ? String(value) : '';
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FL_CONTROL_HOST, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputStringDirective, selector: "input[ngDocInputString]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
32
|
+
{ provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputStringDirective_1 },
|
|
33
|
+
{ provide: NgDocBaseInput, useExisting: NgDocInputStringDirective_1 },
|
|
34
|
+
], usesInheritance: true, ngImport: i0 }); }
|
|
35
|
+
};
|
|
36
|
+
NgDocInputStringDirective = NgDocInputStringDirective_1 = __decorate([
|
|
37
|
+
UntilDestroy(),
|
|
38
|
+
__metadata("design:paramtypes", [ElementRef,
|
|
39
|
+
Renderer2,
|
|
40
|
+
FlControlHost])
|
|
41
|
+
], NgDocInputStringDirective);
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringDirective, decorators: [{
|
|
43
|
+
type: Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: `input[ngDocInputString]`,
|
|
46
|
+
providers: [
|
|
47
|
+
{ provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputStringDirective },
|
|
48
|
+
{ provide: NgDocBaseInput, useExisting: NgDocInputStringDirective },
|
|
49
|
+
],
|
|
50
|
+
}]
|
|
51
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FlControlHost, decorators: [{
|
|
52
|
+
type: Inject,
|
|
53
|
+
args: [FL_CONTROL_HOST]
|
|
54
|
+
}, {
|
|
55
|
+
type: Optional
|
|
56
|
+
}] }]; }, propDecorators: { blurEvent: [{
|
|
57
|
+
type: HostListener,
|
|
58
|
+
args: ['blur']
|
|
59
|
+
}], inputEvent: [{
|
|
60
|
+
type: HostListener,
|
|
61
|
+
args: ['input']
|
|
62
|
+
}] } });
|
|
63
|
+
|
|
64
|
+
class NgDocInputStringModule {
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
66
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, declarations: [NgDocInputStringDirective], exports: [NgDocInputStringDirective] }); }
|
|
67
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule }); }
|
|
68
|
+
}
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, decorators: [{
|
|
70
|
+
type: NgModule,
|
|
71
|
+
args: [{
|
|
72
|
+
declarations: [NgDocInputStringDirective],
|
|
73
|
+
exports: [NgDocInputStringDirective],
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Generated bundle index. Do not edit.
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
export { NgDocInputStringDirective, NgDocInputStringModule };
|
|
82
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-input-string.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-input-string.mjs","sources":["../../../../libs/ui-kit/directives/input-string/input-string.directive.ts","../../../../libs/ui-kit/directives/input-string/input-string.module.ts","../../../../libs/ui-kit/directives/input-string/ng-doc-ui-kit-directives-input-string.ts"],"sourcesContent":["import {Directive, ElementRef, HostListener, Inject, Optional, Renderer2} from '@angular/core';\nimport {isPresent} from '@ng-doc/core/helpers/is-present';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NG_DOC_INPUT_CONTROL} from '@ng-doc/ui-kit/tokens';\nimport {UntilDestroy} from '@ngneat/until-destroy';\nimport {FL_CONTROL_HOST, FlControlHost} from 'flex-controls';\n\n/** Directive converts any input data or model to text */\n@Directive({\n\tselector: `input[ngDocInputString]`,\n\tproviders: [\n\t\t{provide: NG_DOC_INPUT_CONTROL, useExisting: NgDocInputStringDirective},\n\t\t{provide: NgDocBaseInput, useExisting: NgDocInputStringDirective},\n\t],\n})\n@UntilDestroy()\nexport class NgDocInputStringDirective extends NgDocBaseInput<string> {\n\tconstructor(\n\t\tpublic override elementRef: ElementRef<HTMLInputElement>,\n\t\tprotected override renderer: Renderer2,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected override host?: FlControlHost<string>,\n\t) {\n\t\tsuper(elementRef, renderer, host);\n\t}\n\n\t@HostListener('blur')\n\tblurEvent(): void {\n\t\tthis.onTouched();\n\t}\n\n\t@HostListener('input')\n\tinputEvent(): void {\n\t\tthis.updateModel(this.elementRef.nativeElement.value);\n\t}\n\n\tprotected override incomingUpdate(value: string | null): void {\n\t\ttoElement(this.elementRef).value = isPresent(value) ? String(value) : '';\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocInputStringDirective} from './input-string.directive';\n\n@NgModule({\n\tdeclarations: [NgDocInputStringDirective],\n\texports: [NgDocInputStringDirective],\n})\nexport class NgDocInputStringModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAQA;AACA,IAQa,yBAAyB,GAAA,2BAAA,GARtC,MAQa,yBAA0B,SAAQ,cAAsB,CAAA;AACpE,IAAA,WAAA,CACiB,UAAwC,EACrC,QAAmB,EAGnB,IAA4B,EAAA;AAE/C,QAAA,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;QANlB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA8B;QACrC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAGnB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAwB;KAG/C;IAGD,SAAS,GAAA;QACR,IAAI,CAAC,SAAS,EAAE,CAAC;KACjB;IAGD,UAAU,GAAA;QACT,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACtD;AAEkB,IAAA,cAAc,CAAC,KAAoB,EAAA;QACrD,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;KACzE;AAvBW,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAA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M;2BAAC,eAAe,CAAA;;0BACtB,QAAQ;4CAOV,SAAS,EAAA,CAAA;sBADR,YAAY;uBAAC,MAAM,CAAA;gBAMpB,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,OAAO,CAAA;;;AC7BtB,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,yBAAyB,CAAA,EAAA,OAAA,EAAA,CAC9B,yBAAyB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEvB,sBAAsB,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;AACpC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocLetContext {
|
|
5
|
+
constructor(internalDirectiveInstance) {
|
|
6
|
+
this.internalDirectiveInstance = internalDirectiveInstance;
|
|
7
|
+
}
|
|
8
|
+
get $implicit() {
|
|
9
|
+
return this.internalDirectiveInstance.ngDocLet;
|
|
10
|
+
}
|
|
11
|
+
get ngDocLet() {
|
|
12
|
+
return this.internalDirectiveInstance.ngDocLet;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
class NgDocLetDirective {
|
|
17
|
+
constructor(viewContainer, templateRef) {
|
|
18
|
+
this.viewContainer = viewContainer;
|
|
19
|
+
this.templateRef = templateRef;
|
|
20
|
+
viewContainer.createEmbeddedView(templateRef, new NgDocLetContext(this));
|
|
21
|
+
}
|
|
22
|
+
static ngTemplateContextGuard(_dir, _ctx) {
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLetDirective, selector: "[ngDocLet]", inputs: { ngDocLet: "ngDocLet" }, ngImport: i0 }); }
|
|
27
|
+
}
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[ngDocLet]',
|
|
32
|
+
}]
|
|
33
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngDocLet: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}] } });
|
|
36
|
+
|
|
37
|
+
class NgDocLetModule {
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
39
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, declarations: [NgDocLetDirective], exports: [NgDocLetDirective] }); }
|
|
40
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule }); }
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, decorators: [{
|
|
43
|
+
type: NgModule,
|
|
44
|
+
args: [{
|
|
45
|
+
declarations: [NgDocLetDirective],
|
|
46
|
+
exports: [NgDocLetDirective],
|
|
47
|
+
}]
|
|
48
|
+
}] });
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generated bundle index. Do not edit.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { NgDocLetContext, NgDocLetDirective, NgDocLetModule };
|
|
55
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-let.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-let.mjs","sources":["../../../../libs/ui-kit/directives/let/let-context.ts","../../../../libs/ui-kit/directives/let/let.directive.ts","../../../../libs/ui-kit/directives/let/let.module.ts","../../../../libs/ui-kit/directives/let/ng-doc-ui-kit-directives-let.ts"],"sourcesContent":["import {NgDocContextWithImplicit} from '@ng-doc/ui-kit/interfaces';\n\nimport {NgDocLetDirective} from './let.directive';\n\nexport class NgDocLetContext<T> implements NgDocContextWithImplicit<T> {\n\tconstructor(private readonly internalDirectiveInstance: NgDocLetDirective<T>) {}\n\n\tget $implicit(): T {\n\t\treturn this.internalDirectiveInstance.ngDocLet;\n\t}\n\n\tget ngDocLet(): T {\n\t\treturn this.internalDirectiveInstance.ngDocLet;\n\t}\n}\n","import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core';\n\nimport {NgDocLetContext} from './let-context';\n\n@Directive({\n\tselector: '[ngDocLet]',\n})\nexport class NgDocLetDirective<T> {\n\t@Input()\n\tngDocLet!: T;\n\n\tconstructor(\n\t\tprivate readonly viewContainer: ViewContainerRef,\n\t\tprivate readonly templateRef: TemplateRef<NgDocLetContext<T>>,\n\t) {\n\t\tviewContainer.createEmbeddedView(templateRef, new NgDocLetContext<T>(this));\n\t}\n\n\tstatic ngTemplateContextGuard<T>(_dir: NgDocLetDirective<T>, _ctx: unknown): _ctx is NgDocLetDirective<T> {\n\t\treturn true;\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocLetDirective} from './let.directive';\n\n@NgModule({\n\tdeclarations: [NgDocLetDirective],\n\texports: [NgDocLetDirective],\n})\nexport class NgDocLetModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,eAAe,CAAA;AAC3B,IAAA,WAAA,CAA6B,yBAA+C,EAAA;QAA/C,IAAyB,CAAA,yBAAA,GAAzB,yBAAyB,CAAsB;KAAI;AAEhF,IAAA,IAAI,SAAS,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC;KAC/C;AAED,IAAA,IAAI,QAAQ,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC;KAC/C;AACD;;ACVD,MAGa,iBAAiB,CAAA;IAI7B,WACkB,CAAA,aAA+B,EAC/B,WAA4C,EAAA;QAD5C,IAAa,CAAA,aAAA,GAAb,aAAa,CAAkB;QAC/B,IAAW,CAAA,WAAA,GAAX,WAAW,CAAiC;QAE7D,aAAa,CAAC,kBAAkB,CAAC,WAAW,EAAE,IAAI,eAAe,CAAI,IAAI,CAAC,CAAC,CAAC;KAC5E;AAED,IAAA,OAAO,sBAAsB,CAAI,IAA0B,EAAE,IAAa,EAAA;AACzE,QAAA,OAAO,IAAI,CAAC;KACZ;8GAbW,iBAAiB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAjB,iBAAiB,EAAA,QAAA,EAAA,YAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,YAAY;AACtB,iBAAA,CAAA;iIAGA,QAAQ,EAAA,CAAA;sBADP,KAAK;;;ACJP,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,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEf,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i1 from '@angular/cdk/layout';
|
|
3
|
+
import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import { TemplateRef, ViewContainerRef, Directive, Input, NgModule } from '@angular/core';
|
|
6
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
7
|
+
import { Subject } from 'rxjs';
|
|
8
|
+
import { pluck, distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
9
|
+
|
|
10
|
+
let NgDocMediaQueryDirective = class NgDocMediaQueryDirective {
|
|
11
|
+
constructor(templateRef, viewContainerRef, breakpointObserver) {
|
|
12
|
+
this.templateRef = templateRef;
|
|
13
|
+
this.viewContainerRef = viewContainerRef;
|
|
14
|
+
this.breakpointObserver = breakpointObserver;
|
|
15
|
+
this.match = [];
|
|
16
|
+
this.breakpoints = Breakpoints;
|
|
17
|
+
this.unsubscribe$ = new Subject();
|
|
18
|
+
}
|
|
19
|
+
ngOnChanges() {
|
|
20
|
+
this.unsubscribe$.next();
|
|
21
|
+
this.breakpointObserver
|
|
22
|
+
.observe(this.match)
|
|
23
|
+
.pipe(pluck('matches'), distinctUntilChanged(), takeUntil(this.unsubscribe$), untilDestroyed(this))
|
|
24
|
+
.subscribe((matches) => {
|
|
25
|
+
this.viewRef?.destroy();
|
|
26
|
+
this.viewRef = undefined;
|
|
27
|
+
if (matches) {
|
|
28
|
+
this.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);
|
|
29
|
+
this.viewRef.detectChanges();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocMediaQueryDirective, selector: "[ngDocMediaQuery]", inputs: { match: ["ngDocMediaQuery", "match"] }, exportAs: ["ngDocMediaQuery"], usesOnChanges: true, ngImport: i0 }); }
|
|
35
|
+
};
|
|
36
|
+
NgDocMediaQueryDirective = __decorate([
|
|
37
|
+
UntilDestroy(),
|
|
38
|
+
__metadata("design:paramtypes", [TemplateRef,
|
|
39
|
+
ViewContainerRef,
|
|
40
|
+
BreakpointObserver])
|
|
41
|
+
], NgDocMediaQueryDirective);
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryDirective, decorators: [{
|
|
43
|
+
type: Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: '[ngDocMediaQuery]',
|
|
46
|
+
exportAs: 'ngDocMediaQuery',
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i1.BreakpointObserver }]; }, propDecorators: { match: [{
|
|
49
|
+
type: Input,
|
|
50
|
+
args: ['ngDocMediaQuery']
|
|
51
|
+
}] } });
|
|
52
|
+
|
|
53
|
+
class NgDocMediaQueryModule {
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
55
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryModule, declarations: [NgDocMediaQueryDirective], exports: [NgDocMediaQueryDirective] }); }
|
|
56
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryModule }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocMediaQueryModule, decorators: [{
|
|
59
|
+
type: NgModule,
|
|
60
|
+
args: [{
|
|
61
|
+
declarations: [NgDocMediaQueryDirective],
|
|
62
|
+
exports: [NgDocMediaQueryDirective],
|
|
63
|
+
}]
|
|
64
|
+
}] });
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Generated bundle index. Do not edit.
|
|
68
|
+
*/
|
|
69
|
+
|
|
70
|
+
export { NgDocMediaQueryDirective, NgDocMediaQueryModule };
|
|
71
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-media-query.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-media-query.mjs","sources":["../../../../libs/ui-kit/directives/media-query/media-query.directive.ts","../../../../libs/ui-kit/directives/media-query/media-query.module.ts","../../../../libs/ui-kit/directives/media-query/ng-doc-ui-kit-directives-media-query.ts"],"sourcesContent":["import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';\nimport {Directive, EmbeddedViewRef, Input, OnChanges, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {Subject} from 'rxjs';\nimport {debounceTime, distinctUntilChanged, pluck, takeUntil} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocMediaQuery]',\n\texportAs: 'ngDocMediaQuery',\n})\n@UntilDestroy()\nexport class NgDocMediaQueryDirective implements OnChanges {\n\t@Input('ngDocMediaQuery')\n\tmatch: string | string[] = [];\n\n\treadonly breakpoints: typeof Breakpoints = Breakpoints;\n\n\tprivate readonly unsubscribe$: Subject<void> = new Subject<void>();\n\tprivate viewRef?: EmbeddedViewRef<unknown>;\n\n\tconstructor(\n\t\tprivate readonly templateRef: TemplateRef<unknown>,\n\t\tprivate readonly viewContainerRef: ViewContainerRef,\n\t\tprivate readonly breakpointObserver: BreakpointObserver,\n\t) {}\n\n\tngOnChanges(): void {\n\t\tthis.unsubscribe$.next();\n\n\t\tthis.breakpointObserver\n\t\t\t.observe(this.match)\n\t\t\t.pipe(pluck('matches'), distinctUntilChanged(), takeUntil(this.unsubscribe$), untilDestroyed(this))\n\t\t\t.subscribe((matches: boolean) => {\n\t\t\t\tthis.viewRef?.destroy();\n\t\t\t\tthis.viewRef = undefined;\n\n\t\t\t\tif (matches) {\n\t\t\t\t\tthis.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);\n\t\t\t\t\tthis.viewRef.detectChanges();\n\t\t\t\t}\n\t\t\t});\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocMediaQueryDirective} from './media-query.directive';\n\n@NgModule({\n\tdeclarations: [NgDocMediaQueryDirective],\n\texports: [NgDocMediaQueryDirective],\n})\nexport class NgDocMediaQueryModule {}\n","/**\n * Generated bundle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EAAE,CAAC,wBAAwB,CAAC;AACnC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/** Directive rotates host with transition */
|
|
5
|
+
class NgDocRotatorDirective {
|
|
6
|
+
constructor(elementRef, renderer) {
|
|
7
|
+
this.elementRef = elementRef;
|
|
8
|
+
this.renderer = renderer;
|
|
9
|
+
/** Rotator state */
|
|
10
|
+
this.rotated = false;
|
|
11
|
+
/** Start position angle */
|
|
12
|
+
this.from = 0;
|
|
13
|
+
/** End position anle */
|
|
14
|
+
this.to = 90;
|
|
15
|
+
}
|
|
16
|
+
ngOnChanges({ rotated }) {
|
|
17
|
+
if (rotated) {
|
|
18
|
+
this.rotate(this.rotated ? this.to : this.from, true);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.rotate(this.rotated ? this.to : this.from);
|
|
23
|
+
}
|
|
24
|
+
rotate(degree, animated) {
|
|
25
|
+
if (animated) {
|
|
26
|
+
this.renderer.setStyle(this.elementRef.nativeElement, `transition`, `var(--ng-doc-transition)`);
|
|
27
|
+
}
|
|
28
|
+
this.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocRotatorDirective, selector: "[ngDocRotator]", inputs: { rotated: ["ngDocRotator", "rotated"], from: "from", to: "to" }, usesOnChanges: true, ngImport: i0 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: '[ngDocRotator]',
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { rotated: [{
|
|
39
|
+
type: Input,
|
|
40
|
+
args: ['ngDocRotator']
|
|
41
|
+
}], from: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], to: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}] } });
|
|
46
|
+
|
|
47
|
+
class NgDocRotatorModule {
|
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
49
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorModule, declarations: [NgDocRotatorDirective], exports: [NgDocRotatorDirective] }); }
|
|
50
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorModule }); }
|
|
51
|
+
}
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocRotatorModule, decorators: [{
|
|
53
|
+
type: NgModule,
|
|
54
|
+
args: [{
|
|
55
|
+
declarations: [NgDocRotatorDirective],
|
|
56
|
+
exports: [NgDocRotatorDirective],
|
|
57
|
+
}]
|
|
58
|
+
}] });
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Generated bundle index. Do not edit.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
export { NgDocRotatorDirective, NgDocRotatorModule };
|
|
65
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-rotator.mjs.map
|