@ng-doc/ui-kit 15.13.0 → 16.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/cdk/combobox-host/combobox-host.component.d.ts +1 -1
- package/components/blockquote/blockquote.component.d.ts +1 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button-icon/button-icon.component.d.ts +1 -1
- package/components/checkbox/checkbox.component.d.ts +1 -1
- package/components/combobox/combobox.component.d.ts +1 -1
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list-group/data-list-group.component.d.ts +1 -1
- package/components/dot/dot.component.d.ts +1 -1
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/expander/expander.component.d.ts +1 -1
- package/components/floated-content/floated-content.component.d.ts +1 -1
- package/components/focus-control/focus-control.component.d.ts +1 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/input-wrapper/input-wrapper.component.d.ts +1 -1
- package/components/label/label.component.d.ts +1 -1
- package/components/overlay-pointer/overlay-pointer.component.d.ts +1 -1
- package/components/pane/pane.component.d.ts +1 -1
- package/components/selection/selection-origin.directive.d.ts +1 -1
- package/components/selection/selection.component.d.ts +1 -1
- package/components/sidenav/sidenav.component.d.ts +1 -1
- package/components/smooth-resize/smooth-resize.component.d.ts +1 -1
- package/components/spinner/spinner.component.d.ts +1 -1
- package/components/tab-group/tab/tab.component.d.ts +1 -1
- package/components/tab-group/tab-group.component.d.ts +1 -1
- package/components/tag/tag.component.d.ts +1 -1
- package/components/text/text.component.d.ts +1 -1
- package/directives/autofocus/autofocus.directive.d.ts +1 -1
- package/directives/checked-change/checked-change.directive.d.ts +1 -1
- package/directives/dropdown-handler/dropdown-handler.directive.d.ts +1 -1
- package/directives/event-switcher/event-switcher.directive.d.ts +1 -1
- package/directives/focusable/focusable.directive.d.ts +1 -1
- package/directives/hotkey/hotkey.directive.d.ts +1 -1
- package/directives/let/let.directive.d.ts +1 -1
- package/directives/media-query/media-query.directive.d.ts +1 -1
- package/directives/rotator/rotator.directive.d.ts +1 -1
- package/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/esm2022/cdk/combobox-host/combobox-host.component.mjs +125 -0
- package/esm2022/cdk/combobox-host/combobox-host.module.mjs +21 -0
- package/esm2022/classes/base-input/base-input.mjs +46 -0
- package/esm2022/components/blockquote/blockquote.component.mjs +22 -0
- package/esm2022/components/blockquote/blockquote.module.mjs +20 -0
- package/esm2022/components/button/button.component.mjs +32 -0
- package/esm2022/components/button/button.module.mjs +19 -0
- package/esm2022/components/button-icon/button-icon.component.mjs +26 -0
- package/esm2022/components/button-icon/button-icon.module.mjs +19 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +39 -0
- package/esm2022/components/checkbox/checkbox.module.mjs +22 -0
- package/esm2022/components/clear-control/clear-control.component.mjs +58 -0
- package/esm2022/components/clear-control/clear-control.module.mjs +22 -0
- package/esm2022/components/combobox/combobox.component.mjs +61 -0
- package/esm2022/components/combobox/combobox.module.mjs +57 -0
- package/esm2022/components/data-list/data-list.component.mjs +56 -0
- package/esm2022/components/data-list/data-list.module.mjs +23 -0
- package/esm2022/components/data-list-group/data-list-group.component.mjs +55 -0
- package/esm2022/components/data-list-group/data-list-group.module.mjs +41 -0
- package/esm2022/components/dot/dot.component.mjs +22 -0
- package/esm2022/components/dot/dot.module.mjs +19 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +239 -0
- package/esm2022/components/dropdown/dropdown.module.mjs +19 -0
- package/esm2022/components/expander/expander.component.mjs +36 -0
- package/esm2022/components/expander/expander.module.mjs +20 -0
- package/esm2022/components/floated-border/floated-border.component.mjs +12 -0
- package/esm2022/components/floated-border/floated-border.module.mjs +19 -0
- package/esm2022/components/floated-content/floated-content.component.mjs +47 -0
- package/esm2022/components/floated-content/floated-content.module.mjs +17 -0
- package/esm2022/components/focus-control/focus-control.component.mjs +42 -0
- package/esm2022/components/focus-control/focus-control.module.mjs +19 -0
- package/esm2022/components/icon/icon.component.mjs +57 -0
- package/esm2022/components/icon/icon.module.mjs +19 -0
- package/esm2022/components/input-wrapper/input-wrapper.component.mjs +107 -0
- package/esm2022/components/input-wrapper/input-wrapper.module.mjs +45 -0
- package/esm2022/components/label/label.component.mjs +26 -0
- package/esm2022/components/label/label.module.mjs +21 -0
- package/esm2022/components/line/line.component.mjs +12 -0
- package/esm2022/components/line/line.module.mjs +19 -0
- package/esm2022/components/list/list.component.mjs +75 -0
- package/esm2022/components/list/list.module.mjs +20 -0
- package/esm2022/components/option/option.component.mjs +74 -0
- package/esm2022/components/option/option.module.mjs +19 -0
- package/esm2022/components/option-group/option-group.component.mjs +47 -0
- package/esm2022/components/option-group/option-group.module.mjs +20 -0
- package/esm2022/components/overlay-container/overlay-container.component.mjs +109 -0
- package/esm2022/components/overlay-container/overlay-container.module.mjs +44 -0
- package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +30 -0
- package/esm2022/components/overlay-pointer/overlay-pointer.module.mjs +19 -0
- package/esm2022/components/pane/pane.component.mjs +118 -0
- package/esm2022/components/pane/pane.module.mjs +19 -0
- package/esm2022/components/selection/selection-host.directive.mjs +36 -0
- package/esm2022/components/selection/selection-origin.directive.mjs +33 -0
- package/esm2022/components/selection/selection.component.mjs +59 -0
- package/esm2022/components/selection/selection.module.mjs +21 -0
- package/esm2022/components/sidenav/sidenav.component.mjs +156 -0
- package/esm2022/components/sidenav/sidenav.module.mjs +20 -0
- package/esm2022/components/smooth-resize/smooth-resize.component.mjs +54 -0
- package/esm2022/components/smooth-resize/smooth-resize.module.mjs +19 -0
- package/esm2022/components/spinner/spinner.component.mjs +20 -0
- package/esm2022/components/spinner/spinner.module.mjs +19 -0
- package/esm2022/components/tab-group/tab/tab.component.mjs +24 -0
- package/esm2022/components/tab-group/tab-group.component.mjs +61 -0
- package/esm2022/components/tab-group/tab-group.module.mjs +24 -0
- package/esm2022/components/tag/tag.component.mjs +32 -0
- package/esm2022/components/tag/tag.module.mjs +19 -0
- package/esm2022/components/text/text-left.directive.mjs +15 -0
- package/esm2022/components/text/text-right.directive.mjs +15 -0
- package/esm2022/components/text/text.component.mjs +58 -0
- package/esm2022/components/text/text.module.mjs +21 -0
- package/esm2022/components/toggle/toggle.component.mjs +107 -0
- package/esm2022/components/toggle/toggle.module.mjs +19 -0
- package/esm2022/components/wrapper/wrapper.component.mjs +12 -0
- package/esm2022/components/wrapper/wrapper.module.mjs +19 -0
- package/esm2022/directives/autofocus/autofocus.directive.mjs +30 -0
- package/esm2022/directives/autofocus/autofocus.module.mjs +17 -0
- package/esm2022/directives/checked-change/checked-change.directive.mjs +38 -0
- package/esm2022/directives/checked-change/checked-change.module.mjs +17 -0
- package/esm2022/directives/data/data.directive.mjs +18 -0
- package/esm2022/directives/data/data.module.mjs +17 -0
- package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +33 -0
- package/esm2022/directives/dropdown-handler/dropdown-handler.module.mjs +17 -0
- package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +32 -0
- package/esm2022/directives/dropdown-origin/dropdown-origin.module.mjs +17 -0
- package/esm2022/directives/event-switcher/event-switcher.directive.mjs +49 -0
- package/esm2022/directives/event-switcher/event-switcher.module.mjs +17 -0
- package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +54 -0
- package/esm2022/directives/focus-catcher/focus-catcher.module.mjs +17 -0
- package/esm2022/directives/focusable/focusable.directive.mjs +27 -0
- package/esm2022/directives/focusable/focusable.module.mjs +17 -0
- package/esm2022/directives/hotkey/hotkey.directive.mjs +51 -0
- package/esm2022/directives/hotkey/hotkey.module.mjs +17 -0
- package/esm2022/directives/input-number/input-number.directive.mjs +62 -0
- package/esm2022/directives/input-number/input-number.module.mjs +17 -0
- package/esm2022/directives/input-string/input-string.directive.mjs +63 -0
- package/esm2022/directives/input-string/input-string.module.mjs +17 -0
- package/esm2022/directives/let/let.directive.mjs +25 -0
- package/esm2022/directives/let/let.module.mjs +17 -0
- package/esm2022/directives/media-query/media-query.directive.mjs +52 -0
- package/esm2022/directives/media-query/media-query.module.mjs +17 -0
- package/esm2022/directives/rotator/rotator.directive.mjs +46 -0
- package/esm2022/directives/rotator/rotator.module.mjs +17 -0
- package/esm2022/directives/tooltip/tooltip.directive.mjs +181 -0
- package/esm2022/directives/tooltip/tooltip.module.mjs +17 -0
- package/esm2022/interceptors/cache.interceptor.mjs +47 -0
- package/esm2022/modules/root/root.module.mjs +32 -0
- package/esm2022/pipes/as-array/as-array.module.mjs +17 -0
- package/esm2022/pipes/as-array/as-array.pipe.mjs +18 -0
- package/esm2022/pipes/bind/bind.module.mjs +17 -0
- package/esm2022/pipes/bind/bind.pipe.mjs +17 -0
- package/esm2022/pipes/highlighter/highlighter.module.mjs +17 -0
- package/esm2022/pipes/highlighter/highlighter.pipe.mjs +24 -0
- package/esm2022/pipes/run/run.module.mjs +17 -0
- package/esm2022/pipes/run/run.pipe.mjs +17 -0
- package/esm2022/services/notify/notify.service.mjs +45 -0
- package/esm2022/services/overlay/overlay.module.mjs +18 -0
- package/esm2022/services/overlay/overlay.service.mjs +81 -0
- package/esm2022/services/overlay-strategy/overlay-strategy.mjs +49 -0
- package/esm2022/services/scroll/scroll.service.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +148 -0
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +52 -0
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +44 -0
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +47 -0
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +63 -0
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +82 -0
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +120 -0
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +98 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +81 -0
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +259 -0
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +58 -0
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +66 -0
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +63 -0
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +77 -0
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +153 -0
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +49 -0
- package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +96 -0
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +68 -0
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +94 -0
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +151 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +136 -0
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +139 -0
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +178 -0
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +75 -0
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +41 -0
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +106 -0
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +101 -0
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +128 -0
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +33 -0
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +49 -0
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +57 -0
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +52 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +68 -0
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +73 -0
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +46 -0
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +70 -0
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +81 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +82 -0
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +55 -0
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +71 -0
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +65 -0
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +200 -0
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs +53 -0
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-modules-root.mjs +38 -0
- package/fesm2022/ng-doc-ui-kit-modules-root.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +37 -0
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +36 -0
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs +36 -0
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs +51 -0
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +55 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +99 -0
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -0
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +43 -0
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -0
- package/package.json +316 -486
- package/esm2020/cdk/combobox-host/combobox-host.component.mjs +0 -125
- package/esm2020/cdk/combobox-host/combobox-host.module.mjs +0 -20
- package/esm2020/classes/base-input/base-input.mjs +0 -45
- package/esm2020/components/blockquote/blockquote.component.mjs +0 -21
- package/esm2020/components/blockquote/blockquote.module.mjs +0 -19
- package/esm2020/components/button/button.component.mjs +0 -31
- package/esm2020/components/button/button.module.mjs +0 -18
- package/esm2020/components/button-icon/button-icon.component.mjs +0 -25
- package/esm2020/components/button-icon/button-icon.module.mjs +0 -18
- package/esm2020/components/checkbox/checkbox.component.mjs +0 -38
- package/esm2020/components/checkbox/checkbox.module.mjs +0 -21
- package/esm2020/components/clear-control/clear-control.component.mjs +0 -58
- package/esm2020/components/clear-control/clear-control.module.mjs +0 -21
- package/esm2020/components/combobox/combobox.component.mjs +0 -60
- package/esm2020/components/combobox/combobox.module.mjs +0 -56
- package/esm2020/components/data-list/data-list.component.mjs +0 -55
- package/esm2020/components/data-list/data-list.module.mjs +0 -22
- package/esm2020/components/data-list-group/data-list-group.component.mjs +0 -54
- package/esm2020/components/data-list-group/data-list-group.module.mjs +0 -40
- package/esm2020/components/dot/dot.component.mjs +0 -21
- package/esm2020/components/dot/dot.module.mjs +0 -18
- package/esm2020/components/dropdown/dropdown.component.mjs +0 -239
- package/esm2020/components/dropdown/dropdown.module.mjs +0 -18
- package/esm2020/components/expander/expander.component.mjs +0 -35
- package/esm2020/components/expander/expander.module.mjs +0 -19
- package/esm2020/components/floated-border/floated-border.component.mjs +0 -11
- package/esm2020/components/floated-border/floated-border.module.mjs +0 -18
- package/esm2020/components/floated-content/floated-content.component.mjs +0 -46
- package/esm2020/components/floated-content/floated-content.module.mjs +0 -16
- package/esm2020/components/focus-control/focus-control.component.mjs +0 -41
- package/esm2020/components/focus-control/focus-control.module.mjs +0 -18
- package/esm2020/components/icon/icon.component.mjs +0 -56
- package/esm2020/components/icon/icon.module.mjs +0 -18
- package/esm2020/components/input-wrapper/input-wrapper.component.mjs +0 -107
- package/esm2020/components/input-wrapper/input-wrapper.module.mjs +0 -44
- package/esm2020/components/label/label.component.mjs +0 -25
- package/esm2020/components/label/label.module.mjs +0 -20
- package/esm2020/components/line/line.component.mjs +0 -11
- package/esm2020/components/line/line.module.mjs +0 -18
- package/esm2020/components/list/list.component.mjs +0 -75
- package/esm2020/components/list/list.module.mjs +0 -19
- package/esm2020/components/option/option.component.mjs +0 -73
- package/esm2020/components/option/option.module.mjs +0 -18
- package/esm2020/components/option-group/option-group.component.mjs +0 -46
- package/esm2020/components/option-group/option-group.module.mjs +0 -19
- package/esm2020/components/overlay-container/overlay-container.component.mjs +0 -108
- package/esm2020/components/overlay-container/overlay-container.module.mjs +0 -43
- package/esm2020/components/overlay-pointer/overlay-pointer.component.mjs +0 -29
- package/esm2020/components/overlay-pointer/overlay-pointer.module.mjs +0 -18
- package/esm2020/components/pane/pane.component.mjs +0 -116
- package/esm2020/components/pane/pane.module.mjs +0 -18
- package/esm2020/components/selection/selection-host.directive.mjs +0 -35
- package/esm2020/components/selection/selection-origin.directive.mjs +0 -32
- package/esm2020/components/selection/selection.component.mjs +0 -59
- package/esm2020/components/selection/selection.module.mjs +0 -20
- package/esm2020/components/sidenav/sidenav.component.mjs +0 -155
- package/esm2020/components/sidenav/sidenav.module.mjs +0 -19
- package/esm2020/components/smooth-resize/smooth-resize.component.mjs +0 -53
- package/esm2020/components/smooth-resize/smooth-resize.module.mjs +0 -18
- package/esm2020/components/spinner/spinner.component.mjs +0 -19
- package/esm2020/components/spinner/spinner.module.mjs +0 -18
- package/esm2020/components/tab-group/tab/tab.component.mjs +0 -23
- package/esm2020/components/tab-group/tab-group.component.mjs +0 -61
- package/esm2020/components/tab-group/tab-group.module.mjs +0 -23
- package/esm2020/components/tag/tag.component.mjs +0 -31
- package/esm2020/components/tag/tag.module.mjs +0 -18
- package/esm2020/components/text/text-left.directive.mjs +0 -14
- package/esm2020/components/text/text-right.directive.mjs +0 -14
- package/esm2020/components/text/text.component.mjs +0 -57
- package/esm2020/components/text/text.module.mjs +0 -20
- package/esm2020/components/toggle/toggle.component.mjs +0 -107
- package/esm2020/components/toggle/toggle.module.mjs +0 -18
- package/esm2020/components/wrapper/wrapper.component.mjs +0 -11
- package/esm2020/components/wrapper/wrapper.module.mjs +0 -18
- package/esm2020/directives/autofocus/autofocus.directive.mjs +0 -29
- package/esm2020/directives/autofocus/autofocus.module.mjs +0 -16
- package/esm2020/directives/checked-change/checked-change.directive.mjs +0 -37
- package/esm2020/directives/checked-change/checked-change.module.mjs +0 -16
- package/esm2020/directives/data/data.directive.mjs +0 -17
- package/esm2020/directives/data/data.module.mjs +0 -16
- package/esm2020/directives/dropdown-handler/dropdown-handler.directive.mjs +0 -32
- package/esm2020/directives/dropdown-handler/dropdown-handler.module.mjs +0 -16
- package/esm2020/directives/dropdown-origin/dropdown-origin.directive.mjs +0 -31
- package/esm2020/directives/dropdown-origin/dropdown-origin.module.mjs +0 -16
- package/esm2020/directives/event-switcher/event-switcher.directive.mjs +0 -49
- package/esm2020/directives/event-switcher/event-switcher.module.mjs +0 -16
- package/esm2020/directives/focus-catcher/focus-catcher.directive.mjs +0 -54
- package/esm2020/directives/focus-catcher/focus-catcher.module.mjs +0 -16
- package/esm2020/directives/focusable/focusable.directive.mjs +0 -26
- package/esm2020/directives/focusable/focusable.module.mjs +0 -16
- package/esm2020/directives/hotkey/hotkey.directive.mjs +0 -51
- package/esm2020/directives/hotkey/hotkey.module.mjs +0 -16
- package/esm2020/directives/input-number/input-number.directive.mjs +0 -62
- package/esm2020/directives/input-number/input-number.module.mjs +0 -16
- package/esm2020/directives/input-string/input-string.directive.mjs +0 -63
- package/esm2020/directives/input-string/input-string.module.mjs +0 -16
- package/esm2020/directives/let/let.directive.mjs +0 -24
- package/esm2020/directives/let/let.module.mjs +0 -16
- package/esm2020/directives/media-query/media-query.directive.mjs +0 -52
- package/esm2020/directives/media-query/media-query.module.mjs +0 -16
- package/esm2020/directives/rotator/rotator.directive.mjs +0 -45
- package/esm2020/directives/rotator/rotator.module.mjs +0 -16
- package/esm2020/directives/tooltip/tooltip.directive.mjs +0 -181
- package/esm2020/directives/tooltip/tooltip.module.mjs +0 -16
- package/esm2020/interceptors/cache.interceptor.mjs +0 -46
- package/esm2020/modules/root/root.module.mjs +0 -31
- package/esm2020/pipes/as-array/as-array.module.mjs +0 -16
- package/esm2020/pipes/as-array/as-array.pipe.mjs +0 -17
- package/esm2020/pipes/bind/bind.module.mjs +0 -16
- package/esm2020/pipes/bind/bind.pipe.mjs +0 -16
- package/esm2020/pipes/highlighter/highlighter.module.mjs +0 -16
- package/esm2020/pipes/highlighter/highlighter.pipe.mjs +0 -23
- package/esm2020/pipes/run/run.module.mjs +0 -16
- package/esm2020/pipes/run/run.pipe.mjs +0 -16
- package/esm2020/services/notify/notify.service.mjs +0 -45
- package/esm2020/services/overlay/overlay.module.mjs +0 -17
- package/esm2020/services/overlay/overlay.service.mjs +0 -80
- package/esm2020/services/overlay-strategy/overlay-strategy.mjs +0 -48
- package/esm2020/services/scroll/scroll.service.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -153
- package/fesm2015/ng-doc-ui-kit-cdk-combobox-host.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-classes-base-input.mjs +0 -52
- package/fesm2015/ng-doc-ui-kit-classes-base-input.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-classes-overlay-ref.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-blockquote.mjs +0 -44
- package/fesm2015/ng-doc-ui-kit-components-blockquote.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-button-icon.mjs +0 -47
- package/fesm2015/ng-doc-ui-kit-components-button-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-button.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-components-button.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-checkbox.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-clear-control.mjs +0 -87
- package/fesm2015/ng-doc-ui-kit-components-clear-control.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-combobox.mjs +0 -120
- package/fesm2015/ng-doc-ui-kit-components-combobox.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-data-list-group.mjs +0 -99
- package/fesm2015/ng-doc-ui-kit-components-data-list-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-data-list.mjs +0 -81
- package/fesm2015/ng-doc-ui-kit-components-data-list.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-dot.mjs +0 -43
- package/fesm2015/ng-doc-ui-kit-components-dot.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs +0 -250
- package/fesm2015/ng-doc-ui-kit-components-dropdown.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-expander.mjs +0 -58
- package/fesm2015/ng-doc-ui-kit-components-expander.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-floated-border.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-floated-border.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-floated-content.mjs +0 -66
- package/fesm2015/ng-doc-ui-kit-components-floated-content.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-focus-control.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-components-focus-control.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-icon.mjs +0 -79
- package/fesm2015/ng-doc-ui-kit-components-icon.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-input-wrapper.mjs +0 -158
- package/fesm2015/ng-doc-ui-kit-components-input-wrapper.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-label.mjs +0 -49
- package/fesm2015/ng-doc-ui-kit-components-label.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-line.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-line.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-list.mjs +0 -101
- package/fesm2015/ng-doc-ui-kit-components-list.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-option-group.mjs +0 -68
- package/fesm2015/ng-doc-ui-kit-components-option-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-option.mjs +0 -98
- package/fesm2015/ng-doc-ui-kit-components-option.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-overlay-container.mjs +0 -157
- package/fesm2015/ng-doc-ui-kit-components-overlay-container.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-components-overlay-pointer.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-pane.mjs +0 -138
- package/fesm2015/ng-doc-ui-kit-components-pane.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-selection.mjs +0 -140
- package/fesm2015/ng-doc-ui-kit-components-selection.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-sidenav.mjs +0 -178
- package/fesm2015/ng-doc-ui-kit-components-sidenav.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-smooth-resize.mjs +0 -75
- package/fesm2015/ng-doc-ui-kit-components-smooth-resize.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-spinner.mjs +0 -41
- package/fesm2015/ng-doc-ui-kit-components-spinner.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-tab-group.mjs +0 -107
- package/fesm2015/ng-doc-ui-kit-components-tab-group.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-tag.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-components-tag.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-text.mjs +0 -101
- package/fesm2015/ng-doc-ui-kit-components-text.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-toggle.mjs +0 -131
- package/fesm2015/ng-doc-ui-kit-components-toggle.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-components-wrapper.mjs +0 -33
- package/fesm2015/ng-doc-ui-kit-components-wrapper.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-autofocus.mjs +0 -49
- package/fesm2015/ng-doc-ui-kit-directives-autofocus.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-checked-change.mjs +0 -57
- package/fesm2015/ng-doc-ui-kit-directives-checked-change.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-data.mjs +0 -37
- package/fesm2015/ng-doc-ui-kit-directives-data.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-event-switcher.mjs +0 -68
- package/fesm2015/ng-doc-ui-kit-directives-event-switcher.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -73
- package/fesm2015/ng-doc-ui-kit-directives-focus-catcher.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-focusable.mjs +0 -46
- package/fesm2015/ng-doc-ui-kit-directives-focusable.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-hotkey.mjs +0 -72
- package/fesm2015/ng-doc-ui-kit-directives-hotkey.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-input-number.mjs +0 -83
- package/fesm2015/ng-doc-ui-kit-directives-input-number.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-input-string.mjs +0 -84
- package/fesm2015/ng-doc-ui-kit-directives-input-string.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-let.mjs +0 -55
- package/fesm2015/ng-doc-ui-kit-directives-let.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-media-query.mjs +0 -72
- package/fesm2015/ng-doc-ui-kit-directives-media-query.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-rotator.mjs +0 -65
- package/fesm2015/ng-doc-ui-kit-directives-rotator.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-directives-tooltip.mjs +0 -193
- package/fesm2015/ng-doc-ui-kit-directives-tooltip.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-helpers.mjs +0 -39
- package/fesm2015/ng-doc-ui-kit-helpers.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-interceptors.mjs +0 -53
- package/fesm2015/ng-doc-ui-kit-interceptors.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-modules-root.mjs +0 -39
- package/fesm2015/ng-doc-ui-kit-modules-root.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-observables.mjs +0 -94
- package/fesm2015/ng-doc-ui-kit-observables.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-as-array.mjs +0 -37
- package/fesm2015/ng-doc-ui-kit-pipes-as-array.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-bind.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-pipes-bind.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-highlighter.mjs +0 -43
- package/fesm2015/ng-doc-ui-kit-pipes-highlighter.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-pipes-run.mjs +0 -36
- package/fesm2015/ng-doc-ui-kit-pipes-run.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-notify.mjs +0 -51
- package/fesm2015/ng-doc-ui-kit-services-notify.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -60
- package/fesm2015/ng-doc-ui-kit-services-overlay-strategy.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-overlay.mjs +0 -102
- package/fesm2015/ng-doc-ui-kit-services-overlay.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-services-scroll.mjs +0 -45
- package/fesm2015/ng-doc-ui-kit-services-scroll.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-types.mjs.map +0 -1
- package/fesm2015/ng-doc-ui-kit-utils.mjs +0 -280
- package/fesm2015/ng-doc-ui-kit-utils.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-animations.mjs +0 -62
- package/fesm2020/ng-doc-ui-kit-animations.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -148
- package/fesm2020/ng-doc-ui-kit-cdk-combobox-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-cdk.mjs +0 -6
- package/fesm2020/ng-doc-ui-kit-cdk.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-base-input.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-classes-base-input.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-display-value-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-display-value-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-input-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-input-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-list-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-list-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-list-item.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-list-item.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-overlay-host.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-classes-overlay-host.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -116
- package/fesm2020/ng-doc-ui-kit-classes.mjs +0 -12
- package/fesm2020/ng-doc-ui-kit-classes.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-blockquote.mjs +0 -44
- package/fesm2020/ng-doc-ui-kit-components-blockquote.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-button-icon.mjs +0 -47
- package/fesm2020/ng-doc-ui-kit-components-button-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-button.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-components-button.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-checkbox.mjs +0 -63
- package/fesm2020/ng-doc-ui-kit-components-checkbox.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-clear-control.mjs +0 -82
- package/fesm2020/ng-doc-ui-kit-components-clear-control.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-combobox.mjs +0 -120
- package/fesm2020/ng-doc-ui-kit-components-combobox.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-data-list-group.mjs +0 -98
- package/fesm2020/ng-doc-ui-kit-components-data-list-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-data-list.mjs +0 -81
- package/fesm2020/ng-doc-ui-kit-components-data-list.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-dot.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-components-dot.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs +0 -259
- package/fesm2020/ng-doc-ui-kit-components-dropdown.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-expander.mjs +0 -58
- package/fesm2020/ng-doc-ui-kit-components-expander.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-floated-border.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-floated-border.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-floated-content.mjs +0 -66
- package/fesm2020/ng-doc-ui-kit-components-floated-content.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-focus-control.mjs +0 -63
- package/fesm2020/ng-doc-ui-kit-components-focus-control.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-icon.mjs +0 -77
- package/fesm2020/ng-doc-ui-kit-components-icon.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-input-wrapper.mjs +0 -153
- package/fesm2020/ng-doc-ui-kit-components-input-wrapper.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-label.mjs +0 -49
- package/fesm2020/ng-doc-ui-kit-components-label.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-line.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-line.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-list.mjs +0 -96
- package/fesm2020/ng-doc-ui-kit-components-list.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-option-group.mjs +0 -68
- package/fesm2020/ng-doc-ui-kit-components-option-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-option.mjs +0 -94
- package/fesm2020/ng-doc-ui-kit-components-option.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-overlay-container.mjs +0 -151
- package/fesm2020/ng-doc-ui-kit-components-overlay-container.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-components-overlay-pointer.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-pane.mjs +0 -136
- package/fesm2020/ng-doc-ui-kit-components-pane.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-selection.mjs +0 -139
- package/fesm2020/ng-doc-ui-kit-components-selection.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-sidenav.mjs +0 -178
- package/fesm2020/ng-doc-ui-kit-components-sidenav.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-smooth-resize.mjs +0 -75
- package/fesm2020/ng-doc-ui-kit-components-smooth-resize.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-spinner.mjs +0 -41
- package/fesm2020/ng-doc-ui-kit-components-spinner.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-tab-group.mjs +0 -106
- package/fesm2020/ng-doc-ui-kit-components-tab-group.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-tag.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-components-tag.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-text.mjs +0 -101
- package/fesm2020/ng-doc-ui-kit-components-text.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-toggle.mjs +0 -128
- package/fesm2020/ng-doc-ui-kit-components-toggle.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components-wrapper.mjs +0 -33
- package/fesm2020/ng-doc-ui-kit-components-wrapper.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-components.mjs +0 -38
- package/fesm2020/ng-doc-ui-kit-components.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-constants.mjs +0 -14
- package/fesm2020/ng-doc-ui-kit-constants.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-decorators.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-decorators.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-autofocus.mjs +0 -49
- package/fesm2020/ng-doc-ui-kit-directives-autofocus.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-checked-change.mjs +0 -57
- package/fesm2020/ng-doc-ui-kit-directives-checked-change.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-data.mjs +0 -37
- package/fesm2020/ng-doc-ui-kit-directives-data.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -52
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-event-switcher.mjs +0 -68
- package/fesm2020/ng-doc-ui-kit-directives-event-switcher.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -73
- package/fesm2020/ng-doc-ui-kit-directives-focus-catcher.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-focusable.mjs +0 -46
- package/fesm2020/ng-doc-ui-kit-directives-focusable.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-hotkey.mjs +0 -70
- package/fesm2020/ng-doc-ui-kit-directives-hotkey.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-input-number.mjs +0 -81
- package/fesm2020/ng-doc-ui-kit-directives-input-number.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-input-string.mjs +0 -82
- package/fesm2020/ng-doc-ui-kit-directives-input-string.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-let.mjs +0 -55
- package/fesm2020/ng-doc-ui-kit-directives-let.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-media-query.mjs +0 -71
- package/fesm2020/ng-doc-ui-kit-directives-media-query.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-rotator.mjs +0 -65
- package/fesm2020/ng-doc-ui-kit-directives-rotator.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives-tooltip.mjs +0 -200
- package/fesm2020/ng-doc-ui-kit-directives-tooltip.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-directives.mjs +0 -20
- package/fesm2020/ng-doc-ui-kit-directives.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-interceptors.mjs +0 -53
- package/fesm2020/ng-doc-ui-kit-interceptors.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-interfaces.mjs +0 -4
- package/fesm2020/ng-doc-ui-kit-interfaces.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-modules-root.mjs +0 -38
- package/fesm2020/ng-doc-ui-kit-modules-root.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-modules.mjs +0 -6
- package/fesm2020/ng-doc-ui-kit-modules.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-as-array.mjs +0 -37
- package/fesm2020/ng-doc-ui-kit-pipes-as-array.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-bind.mjs +0 -36
- package/fesm2020/ng-doc-ui-kit-pipes-bind.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-highlighter.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-pipes-highlighter.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes-run.mjs +0 -36
- package/fesm2020/ng-doc-ui-kit-pipes-run.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-pipes.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-pipes.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-notify.mjs +0 -51
- package/fesm2020/ng-doc-ui-kit-services-notify.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -55
- package/fesm2020/ng-doc-ui-kit-services-overlay-strategy.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-overlay.mjs +0 -99
- package/fesm2020/ng-doc-ui-kit-services-overlay.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services-scroll.mjs +0 -43
- package/fesm2020/ng-doc-ui-kit-services-scroll.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-services.mjs +0 -9
- package/fesm2020/ng-doc-ui-kit-services.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-tokens.mjs +0 -14
- package/fesm2020/ng-doc-ui-kit-tokens.mjs.map +0 -1
- package/fesm2020/ng-doc-ui-kit-types.mjs +0 -31
- package/fesm2020/ng-doc-ui-kit.mjs +0 -20
- package/fesm2020/ng-doc-ui-kit.mjs.map +0 -1
- /package/{esm2020 → esm2022}/animations/expand-collapse.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/fade.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/index.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/ng-doc-ui-kit-animations.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/prevent-initial-animation.mjs +0 -0
- /package/{esm2020 → esm2022}/animations/tab-fade.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/combobox-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/index.mjs +0 -0
- /package/{esm2020 → esm2022}/cdk/ng-doc-ui-kit-cdk.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/base-input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/base-input/ng-doc-ui-kit-classes-base-input.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/display-value-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/display-value-host/ng-doc-ui-kit-classes-display-value-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/input-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/input-host/ng-doc-ui-kit-classes-input-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/list-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-host/ng-doc-ui-kit-classes-list-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/list-item.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/list-item/ng-doc-ui-kit-classes-list-item.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/ng-doc-ui-kit-classes.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/ng-doc-ui-kit-classes-overlay-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-host/overlay-host.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/index.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/classes/overlay-ref/overlay-ref.mjs +0 -0
- /package/{esm2020 → esm2022}/components/blockquote/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/blockquote/ng-doc-ui-kit-components-blockquote.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button/ng-doc-ui-kit-components-button.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/button-icon/ng-doc-ui-kit-components-button-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/checkbox/ng-doc-ui-kit-components-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/clear-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/clear-control/ng-doc-ui-kit-components-clear-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/combobox/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/combobox/ng-doc-ui-kit-components-combobox.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list/ng-doc-ui-kit-components-data-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/data-list-group/ng-doc-ui-kit-components-data-list-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dot/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dot/ng-doc-ui-kit-components-dot.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/dropdown/ng-doc-ui-kit-components-dropdown.mjs +0 -0
- /package/{esm2020 → esm2022}/components/expander/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/expander/ng-doc-ui-kit-components-expander.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-border/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-border/ng-doc-ui-kit-components-floated-border.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-content/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/floated-content/ng-doc-ui-kit-components-floated-content.mjs +0 -0
- /package/{esm2020 → esm2022}/components/focus-control/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/focus-control/ng-doc-ui-kit-components-focus-control.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/icon/ng-doc-ui-kit-components-icon.mjs +0 -0
- /package/{esm2020 → esm2022}/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/input-wrapper/ng-doc-ui-kit-components-input-wrapper.mjs +0 -0
- /package/{esm2020 → esm2022}/components/label/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/label/ng-doc-ui-kit-components-label.mjs +0 -0
- /package/{esm2020 → esm2022}/components/line/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/line/ng-doc-ui-kit-components-line.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/list/ng-doc-ui-kit-components-list.mjs +0 -0
- /package/{esm2020 → esm2022}/components/ng-doc-ui-kit-components.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option/ng-doc-ui-kit-components-option.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/option-group/ng-doc-ui-kit-components-option-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-container/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-container/ng-doc-ui-kit-components-overlay-container.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-pointer/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/overlay-pointer/ng-doc-ui-kit-components-overlay-pointer.mjs +0 -0
- /package/{esm2020 → esm2022}/components/pane/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/pane/ng-doc-ui-kit-components-pane.mjs +0 -0
- /package/{esm2020 → esm2022}/components/selection/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/selection/ng-doc-ui-kit-components-selection.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidenav/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/sidenav/ng-doc-ui-kit-components-sidenav.mjs +0 -0
- /package/{esm2020 → esm2022}/components/smooth-resize/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/smooth-resize/ng-doc-ui-kit-components-smooth-resize.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinner/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/spinner/ng-doc-ui-kit-components-spinner.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-group/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tab-group/ng-doc-ui-kit-components-tab-group.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tag/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/tag/ng-doc-ui-kit-components-tag.mjs +0 -0
- /package/{esm2020 → esm2022}/components/text/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/text/ng-doc-ui-kit-components-text.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/toggle/ng-doc-ui-kit-components-toggle.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wrapper/index.mjs +0 -0
- /package/{esm2020 → esm2022}/components/wrapper/ng-doc-ui-kit-components-wrapper.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/focus-events.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/handlers.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/index.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/ng-doc-ui-kit-constants.mjs +0 -0
- /package/{esm2020 → esm2022}/constants/stringify.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/ng-doc-ui-kit-decorators.mjs +0 -0
- /package/{esm2020 → esm2022}/decorators/pure.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/autofocus/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/autofocus/ng-doc-ui-kit-directives-autofocus.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/checked-change/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/checked-change/ng-doc-ui-kit-directives-checked-change.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/data/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/data/ng-doc-ui-kit-directives-data.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-handler/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-handler/ng-doc-ui-kit-directives-dropdown-handler.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-origin/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/dropdown-origin/ng-doc-ui-kit-directives-dropdown-origin.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/event-switcher/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/event-switcher/ng-doc-ui-kit-directives-event-switcher.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focus-catcher/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focus-catcher/ng-doc-ui-kit-directives-focus-catcher.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focusable/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/focusable/ng-doc-ui-kit-directives-focusable.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/hotkey/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/hotkey/ng-doc-ui-kit-directives-hotkey.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-number/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-number/ng-doc-ui-kit-directives-input-number.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-string/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/input-string/ng-doc-ui-kit-directives-input-string.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/let-context.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/let/ng-doc-ui-kit-directives-let.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/media-query/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/media-query/ng-doc-ui-kit-directives-media-query.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/ng-doc-ui-kit-directives.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/rotator/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/rotator/ng-doc-ui-kit-directives-rotator.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/tooltip/index.mjs +0 -0
- /package/{esm2020 → esm2022}/directives/tooltip/ng-doc-ui-kit-directives-tooltip.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/merge-overlay-configs.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/ng-doc-ui-kit-helpers.mjs +0 -0
- /package/{esm2020 → esm2022}/helpers/to-element.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interceptors/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interceptors/ng-doc-ui-kit-interceptors.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/context-with-implicit.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/ng-doc-ui-kit-interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-config.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-container.mjs +0 -0
- /package/{esm2020 → esm2022}/interfaces/overlay-properties.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/ng-doc-ui-kit-modules.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/index.mjs +0 -0
- /package/{esm2020 → esm2022}/modules/root/ng-doc-ui-kit-modules-root.mjs +0 -0
- /package/{esm2020 → esm2022}/ng-doc-ui-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/from-subscribe.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/index.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/ng-doc-ui-kit-observables.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/observable-state.mjs +0 -0
- /package/{esm2020 → esm2022}/observables/zone.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/as-array/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/as-array/ng-doc-ui-kit-pipes-as-array.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/bind/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/bind/ng-doc-ui-kit-pipes-bind.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/highlighter/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/highlighter/ng-doc-ui-kit-pipes-highlighter.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/ng-doc-ui-kit-pipes.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/run/index.mjs +0 -0
- /package/{esm2020 → esm2022}/pipes/run/ng-doc-ui-kit-pipes-run.mjs +0 -0
- /package/{esm2020 → esm2022}/services/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/ng-doc-ui-kit-services.mjs +0 -0
- /package/{esm2020 → esm2022}/services/notify/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/notify/ng-doc-ui-kit-services-notify.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay/ng-doc-ui-kit-services-overlay.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay-strategy/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/overlay-strategy/ng-doc-ui-kit-services-overlay-strategy.mjs +0 -0
- /package/{esm2020 → esm2022}/services/scroll/index.mjs +0 -0
- /package/{esm2020 → esm2022}/services/scroll/ng-doc-ui-kit-services-scroll.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/assets-path.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/component-context.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/input-control.mjs +0 -0
- /package/{esm2020 → esm2022}/tokens/ng-doc-ui-kit-tokens.mjs +0 -0
- /package/{esm2020 → esm2022}/types/align.mjs +0 -0
- /package/{esm2020 → esm2022}/types/base-element.mjs +0 -0
- /package/{esm2020 → esm2022}/types/blockquote-type.mjs +0 -0
- /package/{esm2020 → esm2022}/types/color.mjs +0 -0
- /package/{esm2020 → esm2022}/types/content.mjs +0 -0
- /package/{esm2020 → esm2022}/types/define-value-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/display-value-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/group-fn.mjs +0 -0
- /package/{esm2020 → esm2022}/types/handlers.mjs +0 -0
- /package/{esm2020 → esm2022}/types/icon-size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/index.mjs +0 -0
- /package/{esm2020 → esm2022}/types/ng-doc-ui-kit-types.mjs +0 -0
- /package/{esm2020 → esm2022}/types/orientation.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-animation-event.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-origin.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/overlay-relative-position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/palette-color.mjs +0 -0
- /package/{esm2020 → esm2022}/types/position.mjs +0 -0
- /package/{esm2020 → esm2022}/types/size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/subscribable.mjs +0 -0
- /package/{esm2020 → esm2022}/types/tag-size.mjs +0 -0
- /package/{esm2020 → esm2022}/types/text-color.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/focus-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/ng-doc-ui-kit-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/overlay-utils.mjs +0 -0
- /package/{esm2020 → esm2022}/utils/position-utils.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-animations.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-animations.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-cdk.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-cdk.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-display-value-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-display-value-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-input-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-input-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-item.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-list-item.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-host.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-host.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes-overlay-ref.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-classes-overlay-ref.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-classes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-components.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-components.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-constants.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-constants.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-decorators.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-decorators.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-directives.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-directives.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-helpers.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-helpers.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-interfaces.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-interfaces.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-modules.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-modules.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-observables.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-observables.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-pipes.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-pipes.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-services.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-services.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-tokens.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-tokens.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit-types.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-types.mjs.map +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-utils.mjs +0 -0
- /package/{fesm2020 → fesm2022}/ng-doc-ui-kit-utils.mjs.map +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ng-doc-ui-kit.mjs.map +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Renderer2, ChangeDetectorRef, Component, ChangeDetectionStrategy, Inject, Optional, ViewChild, HostBinding, NgModule } from '@angular/core';
|
|
4
|
+
import { NgDocPositionUtils } from '@ng-doc/ui-kit/utils';
|
|
5
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
6
|
+
import * as i1 from 'flex-controls';
|
|
7
|
+
import { FlControlSelector, FlCompareHost, FL_CONTROL_HOST, FlControlHost } from 'flex-controls';
|
|
8
|
+
import { fromEvent } from 'rxjs';
|
|
9
|
+
import { filter, switchMap, pairwise, map, tap, startWith, takeUntil, last } from 'rxjs/operators';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
|
|
12
|
+
let NgDocToggleComponent = class NgDocToggleComponent extends FlControlSelector {
|
|
13
|
+
constructor(renderer, changeDetectorRef, compareHost, host) {
|
|
14
|
+
super(compareHost, host);
|
|
15
|
+
this.renderer = renderer;
|
|
16
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
17
|
+
this.compareHost = compareHost;
|
|
18
|
+
this.host = host;
|
|
19
|
+
this.dragging = false;
|
|
20
|
+
this.maxPixelValue = 0;
|
|
21
|
+
}
|
|
22
|
+
ngOnInit() {
|
|
23
|
+
super.ngOnInit();
|
|
24
|
+
if (this.wrapper && this.circle) {
|
|
25
|
+
this.maxPixelValue = this.wrapper.nativeElement.offsetWidth - this.circle.nativeElement.offsetWidth - 6;
|
|
26
|
+
fromEvent(this.circle.nativeElement, 'mousedown')
|
|
27
|
+
.pipe(filter(() => !this.disabled), switchMap(() => {
|
|
28
|
+
const transition = this.circle?.nativeElement.style.transition ?? '';
|
|
29
|
+
this.renderer.setStyle(this.circle?.nativeElement, 'transition', '');
|
|
30
|
+
this.setDragging(true);
|
|
31
|
+
return fromEvent(document.body, 'mousemove').pipe(pairwise(), map(([newEvent, oldEvent]) => [newEvent, oldEvent]), map(([newEvent, oldEvent]) => oldEvent.clientX - newEvent.clientX), filter((deltaX) => deltaX !== 0), tap((deltaX) => this.changeCirclePosition(deltaX)), startWith(null), takeUntil(fromEvent(document.body, 'mouseup').pipe(tap(() => this.setDragging(false)))), last(), tap(() => this.circle &&
|
|
32
|
+
this.renderer.setStyle(this.circle.nativeElement, 'transition', transition)));
|
|
33
|
+
}), untilDestroyed(this))
|
|
34
|
+
.subscribe((deltaX) => {
|
|
35
|
+
deltaX === null ? this.toggle() : this.detectByCoordinates();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
incomingUpdate(value) {
|
|
40
|
+
super.incomingUpdate(value);
|
|
41
|
+
this.setState(!!this.checked);
|
|
42
|
+
}
|
|
43
|
+
updateModel(value) {
|
|
44
|
+
super.updateModel(value);
|
|
45
|
+
this.setState(!!this.checked);
|
|
46
|
+
}
|
|
47
|
+
setState(isSelected) {
|
|
48
|
+
isSelected
|
|
49
|
+
? this.circle &&
|
|
50
|
+
this.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(${this.maxPixelValue}px)`)
|
|
51
|
+
: this.circle && this.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(0)`);
|
|
52
|
+
}
|
|
53
|
+
setDragging(value) {
|
|
54
|
+
this.dragging = value;
|
|
55
|
+
this.changeDetectorRef.markForCheck();
|
|
56
|
+
}
|
|
57
|
+
detectByCoordinates() {
|
|
58
|
+
if (!this.disabled && this.wrapper && this.circle) {
|
|
59
|
+
const wrapperMiddle = NgDocPositionUtils.getElementPosition(this.wrapper.nativeElement).x +
|
|
60
|
+
this.wrapper.nativeElement.offsetWidth / 2;
|
|
61
|
+
const circleCenterLeft = NgDocPositionUtils.getElementPosition(this.circle.nativeElement).x +
|
|
62
|
+
this.circle.nativeElement.offsetWidth / 2;
|
|
63
|
+
circleCenterLeft > wrapperMiddle ? this.select() : this.deselect();
|
|
64
|
+
this.setState(!!this.checked);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
changeCirclePosition(delta) {
|
|
68
|
+
if (this.wrapper && this.circle) {
|
|
69
|
+
const wrapperLeft = NgDocPositionUtils.getElementPosition(this.wrapper.nativeElement).x;
|
|
70
|
+
const circleLeft = NgDocPositionUtils.getElementPosition(this.circle.nativeElement).x;
|
|
71
|
+
const newPosition = Math.max(Math.min(circleLeft - wrapperLeft - 3 + delta, this.maxPixelValue), 0);
|
|
72
|
+
this.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(${newPosition}px)`);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: FlCompareHost, optional: true }, { token: FL_CONTROL_HOST, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
76
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocToggleComponent, selector: "ng-doc-toggle", host: { properties: { "attr.data-ng-doc-dragging": "this.dragging" } }, viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true, static: true }, { propertyName: "circle", first: true, predicate: ["circle"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"ng-doc-toggle-wrapper\" (click)=\"toggle()\" #wrapper>\n\t<div class=\"ng-doc-toggle-circle\" #circle></div>\n</div>\n", styles: [":host .ng-doc-toggle-wrapper{position:relative;display:inline-block;width:40px;height:22px;border-radius:24px;background-color:var(--ng-doc-base-3);cursor:pointer;transition:background-color var(--ng-doc-transition)}:host .ng-doc-toggle-wrapper .ng-doc-toggle-circle{position:absolute;left:3px;top:3px;height:calc(var(--ng-doc-base-gutter) * 2);width:calc(var(--ng-doc-base-gutter) * 2);border-radius:50%;background-color:var(--ng-doc-base-0);-webkit-user-select:none;user-select:none;transition:transform var(--ng-doc-transition);box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}:host[data-checked=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-primary)}:host[data-ng-doc-dragging=true]{cursor:grabbing}:host[data-ng-doc-dragging=true] .ng-doc-toggle-wrapper{pointer-events:none}:host[data-disabled=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-base-2);cursor:unset}:host[data-disabled=true][data-checked=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-base-3)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
77
|
+
};
|
|
78
|
+
NgDocToggleComponent = __decorate([
|
|
79
|
+
UntilDestroy(),
|
|
80
|
+
__metadata("design:paramtypes", [Renderer2,
|
|
81
|
+
ChangeDetectorRef,
|
|
82
|
+
FlCompareHost,
|
|
83
|
+
FlControlHost])
|
|
84
|
+
], NgDocToggleComponent);
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleComponent, decorators: [{
|
|
86
|
+
type: Component,
|
|
87
|
+
args: [{ selector: 'ng-doc-toggle', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-toggle-wrapper\" (click)=\"toggle()\" #wrapper>\n\t<div class=\"ng-doc-toggle-circle\" #circle></div>\n</div>\n", styles: [":host .ng-doc-toggle-wrapper{position:relative;display:inline-block;width:40px;height:22px;border-radius:24px;background-color:var(--ng-doc-base-3);cursor:pointer;transition:background-color var(--ng-doc-transition)}:host .ng-doc-toggle-wrapper .ng-doc-toggle-circle{position:absolute;left:3px;top:3px;height:calc(var(--ng-doc-base-gutter) * 2);width:calc(var(--ng-doc-base-gutter) * 2);border-radius:50%;background-color:var(--ng-doc-base-0);-webkit-user-select:none;user-select:none;transition:transform var(--ng-doc-transition);box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}:host[data-checked=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-primary)}:host[data-ng-doc-dragging=true]{cursor:grabbing}:host[data-ng-doc-dragging=true] .ng-doc-toggle-wrapper{pointer-events:none}:host[data-disabled=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-base-2);cursor:unset}:host[data-disabled=true][data-checked=true] .ng-doc-toggle-wrapper{background-color:var(--ng-doc-base-3)}\n"] }]
|
|
88
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.FlCompareHost, decorators: [{
|
|
89
|
+
type: Inject,
|
|
90
|
+
args: [FlCompareHost]
|
|
91
|
+
}, {
|
|
92
|
+
type: Optional
|
|
93
|
+
}] }, { type: i1.FlControlHost, decorators: [{
|
|
94
|
+
type: Inject,
|
|
95
|
+
args: [FL_CONTROL_HOST]
|
|
96
|
+
}, {
|
|
97
|
+
type: Optional
|
|
98
|
+
}] }]; }, propDecorators: { wrapper: [{
|
|
99
|
+
type: ViewChild,
|
|
100
|
+
args: ['wrapper', { static: true }]
|
|
101
|
+
}], circle: [{
|
|
102
|
+
type: ViewChild,
|
|
103
|
+
args: ['circle', { static: true }]
|
|
104
|
+
}], dragging: [{
|
|
105
|
+
type: HostBinding,
|
|
106
|
+
args: ['attr.data-ng-doc-dragging']
|
|
107
|
+
}] } });
|
|
108
|
+
|
|
109
|
+
class NgDocToggleModule {
|
|
110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
111
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleModule, declarations: [NgDocToggleComponent], imports: [CommonModule], exports: [NgDocToggleComponent] }); }
|
|
112
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleModule, imports: [CommonModule] }); }
|
|
113
|
+
}
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocToggleModule, decorators: [{
|
|
115
|
+
type: NgModule,
|
|
116
|
+
args: [{
|
|
117
|
+
declarations: [NgDocToggleComponent],
|
|
118
|
+
imports: [CommonModule],
|
|
119
|
+
exports: [NgDocToggleComponent],
|
|
120
|
+
}]
|
|
121
|
+
}] });
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Generated bundle index. Do not edit.
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
export { NgDocToggleComponent, NgDocToggleModule };
|
|
128
|
+
//# sourceMappingURL=ng-doc-ui-kit-components-toggle.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-components-toggle.mjs","sources":["../../../../libs/ui-kit/components/toggle/toggle.component.ts","../../../../libs/ui-kit/components/toggle/toggle.component.html","../../../../libs/ui-kit/components/toggle/toggle.module.ts","../../../../libs/ui-kit/components/toggle/ng-doc-ui-kit-components-toggle.ts"],"sourcesContent":["import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tOnInit,\n\tOptional,\n\tRenderer2,\n\tViewChild,\n} from '@angular/core';\nimport {ControlValueAccessor} from '@angular/forms';\nimport {NgDocPositionUtils} from '@ng-doc/ui-kit/utils';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {FL_CONTROL_HOST, FlCompareHost, FlControlHost, FlControlSelector} from 'flex-controls';\nimport {fromEvent} from 'rxjs';\nimport {filter, last, map, pairwise, startWith, switchMap, takeUntil, tap} from 'rxjs/operators';\n\n@Component({\n\tselector: 'ng-doc-toggle',\n\ttemplateUrl: './toggle.component.html',\n\tstyleUrls: ['./toggle.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\n@UntilDestroy()\nexport class NgDocToggleComponent<T> extends FlControlSelector<T> implements OnInit, ControlValueAccessor {\n\t@ViewChild('wrapper', {static: true})\n\tprivate wrapper?: ElementRef<HTMLElement>;\n\n\t@ViewChild('circle', {static: true})\n\tprivate circle?: ElementRef<HTMLElement>;\n\n\t@HostBinding('attr.data-ng-doc-dragging')\n\tdragging: boolean = false;\n\n\tprivate maxPixelValue: number = 0;\n\n\tconstructor(\n\t\tprotected renderer: Renderer2,\n\t\tprotected override changeDetectorRef: ChangeDetectorRef,\n\t\t@Inject(FlCompareHost)\n\t\t@Optional()\n\t\tprotected override compareHost?: FlCompareHost<T | boolean | null>,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected override host?: FlControlHost<T>,\n\t) {\n\t\tsuper(compareHost, host);\n\t}\n\n\toverride ngOnInit(): void {\n\t\tsuper.ngOnInit();\n\t\tif (this.wrapper && this.circle) {\n\t\t\tthis.maxPixelValue = this.wrapper.nativeElement.offsetWidth - this.circle.nativeElement.offsetWidth - 6;\n\t\t\tfromEvent(this.circle.nativeElement, 'mousedown')\n\t\t\t\t.pipe(\n\t\t\t\t\tfilter(() => !this.disabled),\n\t\t\t\t\tswitchMap(() => {\n\t\t\t\t\t\tconst transition: string = this.circle?.nativeElement.style.transition ?? '';\n\t\t\t\t\t\tthis.renderer.setStyle(this.circle?.nativeElement, 'transition', '');\n\t\t\t\t\t\tthis.setDragging(true);\n\n\t\t\t\t\t\treturn fromEvent(document.body, 'mousemove').pipe(\n\t\t\t\t\t\t\tpairwise(),\n\t\t\t\t\t\t\tmap(\n\t\t\t\t\t\t\t\t([newEvent, oldEvent]: [Event, Event]) =>\n\t\t\t\t\t\t\t\t\t[newEvent, oldEvent] as [MouseEvent, MouseEvent],\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tmap(\n\t\t\t\t\t\t\t\t([newEvent, oldEvent]: [MouseEvent, MouseEvent]) => oldEvent.clientX - newEvent.clientX,\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\tfilter((deltaX: number) => deltaX !== 0),\n\t\t\t\t\t\t\ttap((deltaX: number) => this.changeCirclePosition(deltaX)),\n\t\t\t\t\t\t\tstartWith(null),\n\t\t\t\t\t\t\ttakeUntil(fromEvent(document.body, 'mouseup').pipe(tap(() => this.setDragging(false)))),\n\t\t\t\t\t\t\tlast(),\n\t\t\t\t\t\t\ttap(\n\t\t\t\t\t\t\t\t() =>\n\t\t\t\t\t\t\t\t\tthis.circle &&\n\t\t\t\t\t\t\t\t\tthis.renderer.setStyle(this.circle.nativeElement, 'transition', transition),\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t);\n\t\t\t\t\t}),\n\t\t\t\t\tuntilDestroyed(this),\n\t\t\t\t)\n\t\t\t\t.subscribe((deltaX: number | null) => {\n\t\t\t\t\tdeltaX === null ? this.toggle() : this.detectByCoordinates();\n\t\t\t\t});\n\t\t}\n\t}\n\n\tprotected override incomingUpdate(value: T | null): void {\n\t\tsuper.incomingUpdate(value);\n\t\tthis.setState(!!this.checked);\n\t}\n\n\toverride updateModel(value: boolean | T | null): void {\n\t\tsuper.updateModel(value);\n\t\tthis.setState(!!this.checked);\n\t}\n\n\tprotected setState(isSelected: boolean): void {\n\t\tisSelected\n\t\t\t? this.circle &&\n\t\t\t this.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(${this.maxPixelValue}px)`)\n\t\t\t: this.circle && this.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(0)`);\n\t}\n\n\tprivate setDragging(value: boolean): void {\n\t\tthis.dragging = value;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tprivate detectByCoordinates(): void {\n\t\tif (!this.disabled && this.wrapper && this.circle) {\n\t\t\tconst wrapperMiddle: number =\n\t\t\t\tNgDocPositionUtils.getElementPosition(this.wrapper.nativeElement).x +\n\t\t\t\tthis.wrapper.nativeElement.offsetWidth / 2;\n\t\t\tconst circleCenterLeft: number =\n\t\t\t\tNgDocPositionUtils.getElementPosition(this.circle.nativeElement).x +\n\t\t\t\tthis.circle.nativeElement.offsetWidth / 2;\n\t\t\tcircleCenterLeft > wrapperMiddle ? this.select() : this.deselect();\n\t\t\tthis.setState(!!this.checked);\n\t\t}\n\t}\n\n\tprivate changeCirclePosition(delta: number): void {\n\t\tif (this.wrapper && this.circle) {\n\t\t\tconst wrapperLeft: number = NgDocPositionUtils.getElementPosition(this.wrapper.nativeElement).x;\n\t\t\tconst circleLeft: number = NgDocPositionUtils.getElementPosition(this.circle.nativeElement).x;\n\t\t\tconst newPosition: number = Math.max(Math.min(circleLeft - wrapperLeft - 3 + delta, this.maxPixelValue), 0);\n\t\t\tthis.renderer.setStyle(this.circle.nativeElement, 'transform', `translateX(${newPosition}px)`);\n\t\t}\n\t}\n}\n","<div class=\"ng-doc-toggle-wrapper\" (click)=\"toggle()\" #wrapper>\n\t<div class=\"ng-doc-toggle-circle\" #circle></div>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocToggleComponent} from './toggle.component';\n\n@NgModule({\n\tdeclarations: [NgDocToggleComponent],\n\timports: [CommonModule],\n\texports: [NgDocToggleComponent],\n})\nexport class NgDocToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAmBA,IAOa,oBAAoB,GAPjC,MAOa,oBAAwB,SAAQ,iBAAoB,CAAA;AAYhE,IAAA,WAAA,CACW,QAAmB,EACV,iBAAoC,EAGpC,WAA+C,EAG/C,IAAuB,EAAA;AAE1C,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QATf,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QACV,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QAGpC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAoC;QAG/C,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAmB;QAZ3C,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAElB,IAAa,CAAA,aAAA,GAAW,CAAC,CAAC;KAajC;IAEQ,QAAQ,GAAA;QAChB,KAAK,CAAC,QAAQ,EAAE,CAAC;AACjB,QAAA,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,EAAE;YAChC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,WAAW,GAAG,CAAC,CAAC;YACxG,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,EAAE,WAA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,QAAQ,EAAA,CAAA;sBADP,WAAW;uBAAC,2BAA2B,CAAA;;;AE5BzC,MAKa,iBAAiB,CAAA;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EAJd,YAAA,EAAA,CAAA,oBAAoB,CACzB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA;AAElB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHnB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGV,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAC/B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class NgDocWrapperComponent {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocWrapperComponent, selector: "ng-doc-wrapper", ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, styles: [":host[data-ng-doc-focused=true]{--ng-doc-floated-border-color: var(--ng-doc-floated-focus-border-color, var(--ng-doc-primary))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{ selector: 'ng-doc-wrapper', template: ` <ng-content></ng-content> `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host[data-ng-doc-focused=true]{--ng-doc-floated-border-color: var(--ng-doc-floated-focus-border-color, var(--ng-doc-primary))}\n"] }]
|
|
12
|
+
}] });
|
|
13
|
+
|
|
14
|
+
class NgDocWrapperModule {
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
16
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperModule, declarations: [NgDocWrapperComponent], imports: [CommonModule], exports: [NgDocWrapperComponent] }); }
|
|
17
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperModule, imports: [CommonModule] }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocWrapperModule, decorators: [{
|
|
20
|
+
type: NgModule,
|
|
21
|
+
args: [{
|
|
22
|
+
declarations: [NgDocWrapperComponent],
|
|
23
|
+
imports: [CommonModule],
|
|
24
|
+
exports: [NgDocWrapperComponent],
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Generated bundle index. Do not edit.
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
export { NgDocWrapperComponent, NgDocWrapperModule };
|
|
33
|
+
//# sourceMappingURL=ng-doc-ui-kit-components-wrapper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-components-wrapper.mjs","sources":["../../../../libs/ui-kit/components/wrapper/wrapper.component.ts","../../../../libs/ui-kit/components/wrapper/wrapper.module.ts","../../../../libs/ui-kit/components/wrapper/ng-doc-ui-kit-components-wrapper.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n\tselector: 'ng-doc-wrapper',\n\ttemplate: ` <ng-content></ng-content> `,\n\tstyleUrls: ['./wrapper.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocWrapperComponent {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocWrapperComponent} from './wrapper.component';\n\n@NgModule({\n\tdeclarations: [NgDocWrapperComponent],\n\timports: [CommonModule],\n\texports: [NgDocWrapperComponent],\n})\nexport class NgDocWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAMa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,sDAJvB,CAA6B,2BAAA,CAAA,EAAA,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;AAEG;;;;"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NgDocFocusUtils } from '@ng-doc/ui-kit/utils';
|
|
4
|
+
|
|
5
|
+
class NgDocAutofocusDirective {
|
|
6
|
+
constructor(elementRef) {
|
|
7
|
+
this.elementRef = elementRef;
|
|
8
|
+
this.selectAll = false;
|
|
9
|
+
}
|
|
10
|
+
ngOnInit() {
|
|
11
|
+
const element = this.elementRef.nativeElement;
|
|
12
|
+
if (NgDocFocusUtils.isNativeKeyboardFocusable(element)) {
|
|
13
|
+
element.focus();
|
|
14
|
+
}
|
|
15
|
+
if (this.selectAll && element instanceof HTMLInputElement) {
|
|
16
|
+
Promise.resolve().then(() => element.select());
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocAutofocusDirective, selector: "[ngDocAutofocus]", inputs: { selectAll: "selectAll" }, ngImport: i0 }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: '[ngDocAutofocus]',
|
|
26
|
+
}]
|
|
27
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { selectAll: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}] } });
|
|
30
|
+
|
|
31
|
+
class NgDocAutofocusModule {
|
|
32
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
33
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusModule, declarations: [NgDocAutofocusDirective], exports: [NgDocAutofocusDirective] }); }
|
|
34
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusModule }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocAutofocusModule, decorators: [{
|
|
37
|
+
type: NgModule,
|
|
38
|
+
args: [{
|
|
39
|
+
declarations: [NgDocAutofocusDirective],
|
|
40
|
+
exports: [NgDocAutofocusDirective],
|
|
41
|
+
}]
|
|
42
|
+
}] });
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Generated bundle index. Do not edit.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
export { NgDocAutofocusDirective, NgDocAutofocusModule };
|
|
49
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-autofocus.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-autofocus.mjs","sources":["../../../../libs/ui-kit/directives/autofocus/autofocus.directive.ts","../../../../libs/ui-kit/directives/autofocus/autofocus.module.ts","../../../../libs/ui-kit/directives/autofocus/ng-doc-ui-kit-directives-autofocus.ts"],"sourcesContent":["import {Directive, ElementRef, Input, OnInit} from '@angular/core';\nimport {NgDocFocusUtils} from '@ng-doc/ui-kit/utils';\n\n@Directive({\n\tselector: '[ngDocAutofocus]',\n})\nexport class NgDocAutofocusDirective implements OnInit {\n\t@Input()\n\tselectAll: boolean = false;\n\n\tconstructor(private elementRef: ElementRef<HTMLElement>) {}\n\n\tngOnInit(): void {\n\t\tconst element: HTMLElement = this.elementRef.nativeElement;\n\n\t\tif (NgDocFocusUtils.isNativeKeyboardFocusable(element)) {\n\t\t\telement.focus();\n\t\t}\n\n\t\tif (this.selectAll && element instanceof HTMLInputElement) {\n\t\t\tPromise.resolve().then(() => element.select());\n\t\t}\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocAutofocusDirective} from './autofocus.directive';\n\n@NgModule({\n\tdeclarations: [NgDocAutofocusDirective],\n\texports: [NgDocAutofocusDirective],\n})\nexport class NgDocAutofocusModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAGa,uBAAuB,CAAA;AAInC,IAAA,WAAA,CAAoB,UAAmC,EAAA;QAAnC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAFvD,IAAS,CAAA,SAAA,GAAY,KAAK,CAAC;KAEgC;IAE3D,QAAQ,GAAA;AACP,QAAA,MAAM,OAAO,GAAgB,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;AAE3D,QAAA,IAAI,eAAe,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE;YACvD,OAAO,CAAC,KAAK,EAAE,CAAC;AAChB,SAAA;AAED,QAAA,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,YAAY,gBAAgB,EAAE;AAC1D,YAAA,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;AAC/C,SAAA;KACD;8GAhBW,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,iBAAA,CAAA;iGAGA,SAAS,EAAA,CAAA;sBADR,KAAK;;;ACHP,MAIa,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAApB,oBAAoB,EAAA,YAAA,EAAA,CAHjB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAC5B,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAErB,oBAAoB,EAAA,CAAA,CAAA,EAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AAClC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Directive, Input, Output, HostListener, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocCheckedChangeDirective {
|
|
5
|
+
set ngDocChecked(checked) {
|
|
6
|
+
this.updateProperty('checked', checked || false);
|
|
7
|
+
this.updateProperty('indeterminate', checked === null);
|
|
8
|
+
}
|
|
9
|
+
constructor(element, renderer) {
|
|
10
|
+
this.element = element;
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this.ngDocCheckedChange = new EventEmitter();
|
|
13
|
+
this.updateProperty('checked', false);
|
|
14
|
+
}
|
|
15
|
+
onChange({ checked }) {
|
|
16
|
+
this.updateProperty('indeterminate', false);
|
|
17
|
+
this.ngDocCheckedChange.emit(checked);
|
|
18
|
+
}
|
|
19
|
+
updateProperty(property, value) {
|
|
20
|
+
this.renderer.setProperty(this.element.nativeElement, property, value);
|
|
21
|
+
}
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocCheckedChangeDirective, selector: "input[ngDocChecked], input[ngDocCheckedChange]", inputs: { ngDocChecked: "ngDocChecked" }, outputs: { ngDocCheckedChange: "ngDocCheckedChange" }, host: { listeners: { "change": "onChange($event.target)" } }, ngImport: i0 }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: 'input[ngDocChecked], input[ngDocCheckedChange]',
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { ngDocChecked: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], ngDocCheckedChange: [{
|
|
33
|
+
type: Output
|
|
34
|
+
}], onChange: [{
|
|
35
|
+
type: HostListener,
|
|
36
|
+
args: ['change', ['$event.target']]
|
|
37
|
+
}] } });
|
|
38
|
+
|
|
39
|
+
class NgDocCheckedChangeModule {
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
41
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeModule, declarations: [NgDocCheckedChangeDirective], exports: [NgDocCheckedChangeDirective] }); }
|
|
42
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeModule }); }
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocCheckedChangeModule, decorators: [{
|
|
45
|
+
type: NgModule,
|
|
46
|
+
args: [{
|
|
47
|
+
declarations: [NgDocCheckedChangeDirective],
|
|
48
|
+
exports: [NgDocCheckedChangeDirective],
|
|
49
|
+
}]
|
|
50
|
+
}] });
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Generated bundle index. Do not edit.
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
export { NgDocCheckedChangeDirective, NgDocCheckedChangeModule };
|
|
57
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-checked-change.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-checked-change.mjs","sources":["../../../../libs/ui-kit/directives/checked-change/checked-change.directive.ts","../../../../libs/ui-kit/directives/checked-change/checked-change.module.ts","../../../../libs/ui-kit/directives/checked-change/ng-doc-ui-kit-directives-checked-change.ts"],"sourcesContent":["import {Directive, ElementRef, EventEmitter, HostListener, Input, Output, Renderer2} from '@angular/core';\n\n@Directive({\n\tselector: 'input[ngDocChecked], input[ngDocCheckedChange]',\n})\nexport class NgDocCheckedChangeDirective {\n\t@Input()\n\tset ngDocChecked(checked: null | boolean) {\n\t\tthis.updateProperty('checked', checked || false);\n\t\tthis.updateProperty('indeterminate', checked === null);\n\t}\n\n\t@Output()\n\treadonly ngDocCheckedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n\tconstructor(private readonly element: ElementRef<HTMLInputElement>, private readonly renderer: Renderer2) {\n\t\tthis.updateProperty('checked', false);\n\t}\n\n\t@HostListener('change', ['$event.target'])\n\tonChange({checked}: HTMLInputElement): void {\n\t\tthis.updateProperty('indeterminate', false);\n\t\tthis.ngDocCheckedChange.emit(checked);\n\t}\n\n\tprivate updateProperty(property: 'checked' | 'indeterminate', value: boolean): void {\n\t\tthis.renderer.setProperty(this.element.nativeElement, property, value);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocCheckedChangeDirective} from './checked-change.directive';\n\n@NgModule({\n\tdeclarations: [NgDocCheckedChangeDirective],\n\texports: [NgDocCheckedChangeDirective],\n})\nexport class NgDocCheckedChangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAGa,2BAA2B,CAAA;IACvC,IACI,YAAY,CAAC,OAAuB,EAAA;QACvC,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,IAAI,KAAK,CAAC,CAAC;QACjD,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC;KACvD;IAKD,WAA6B,CAAA,OAAqC,EAAmB,QAAmB,EAAA;QAA3E,IAAO,CAAA,OAAA,GAAP,OAAO,CAA8B;QAAmB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAF/F,QAAA,IAAA,CAAA,kBAAkB,GAA0B,IAAI,YAAY,EAAW,CAAC;AAGhF,QAAA,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;KACtC;IAGD,QAAQ,CAAC,EAAC,OAAO,EAAmB,EAAA;AACnC,QAAA,IAAI,CAAC,cAAc,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;AAC5C,QAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KACtC;IAEO,cAAc,CAAC,QAAqC,EAAE,KAAc,EAAA;AAC3E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,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AAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class NgDocDataDirective {
|
|
5
|
+
constructor(template, viewContainerRef) {
|
|
6
|
+
this.template = template;
|
|
7
|
+
this.viewContainerRef = viewContainerRef;
|
|
8
|
+
}
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDataDirective, selector: "[ngDocData]", ngImport: i0 }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: '[ngDocData]',
|
|
16
|
+
}]
|
|
17
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }]; } });
|
|
18
|
+
|
|
19
|
+
class NgDocDataModule {
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
21
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataModule, declarations: [NgDocDataDirective], exports: [NgDocDataDirective] }); }
|
|
22
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataModule }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDataModule, decorators: [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [NgDocDataDirective],
|
|
28
|
+
exports: [NgDocDataDirective],
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export { NgDocDataDirective, NgDocDataModule };
|
|
37
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-data.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-data.mjs","sources":["../../../../libs/ui-kit/directives/data/data.directive.ts","../../../../libs/ui-kit/directives/data/data.module.ts","../../../../libs/ui-kit/directives/data/ng-doc-ui-kit-directives-data.ts"],"sourcesContent":["import {Directive, TemplateRef, ViewContainerRef} from '@angular/core';\n\n@Directive({\n\tselector: '[ngDocData]',\n})\nexport class NgDocDataDirective {\n\tconstructor(protected template: TemplateRef<unknown>, protected viewContainerRef: ViewContainerRef) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocDataDirective} from './data.directive';\n\n@NgModule({\n\tdeclarations: [NgDocDataDirective],\n\texports: [NgDocDataDirective],\n})\nexport class NgDocDataModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAGa,kBAAkB,CAAA;IAC9B,WAAsB,CAAA,QAA8B,EAAY,gBAAkC,EAAA;QAA5E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAsB;QAAY,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;KAAI;8GAD1F,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,aAAa;AACvB,iBAAA,CAAA;;;ACAD,MAIa,eAAe,CAAA;8GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAf,eAAe,EAAA,YAAA,EAAA,CAHZ,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEhB,eAAe,EAAA,CAAA,CAAA,EAAA;;2FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,kBAAkB,CAAC;oBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC7B,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, HostListener, NgModule } from '@angular/core';
|
|
3
|
+
import '@ng-doc/ui-kit/components/dropdown';
|
|
4
|
+
|
|
5
|
+
class NgDocDropdownHandlerDirective {
|
|
6
|
+
keyboardEvent(event) {
|
|
7
|
+
if (this.dropdown) {
|
|
8
|
+
if (event.key === 'ArrowDown' && !this.dropdown.isOpened) {
|
|
9
|
+
event.preventDefault();
|
|
10
|
+
this.dropdown.open();
|
|
11
|
+
}
|
|
12
|
+
if (event.key === 'Escape' && this.dropdown.isOpened) {
|
|
13
|
+
event.preventDefault();
|
|
14
|
+
this.dropdown.close();
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDropdownHandlerDirective, selector: "[ngDocDropdownHandler]", inputs: { dropdown: ["ngDocDropdownHandler", "dropdown"] }, host: { listeners: { "keydown": "keyboardEvent($event)" } }, ngImport: i0 }); }
|
|
20
|
+
}
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[ngDocDropdownHandler]',
|
|
25
|
+
}]
|
|
26
|
+
}], propDecorators: { dropdown: [{
|
|
27
|
+
type: Input,
|
|
28
|
+
args: ['ngDocDropdownHandler']
|
|
29
|
+
}], keyboardEvent: [{
|
|
30
|
+
type: HostListener,
|
|
31
|
+
args: ['keydown', ['$event']]
|
|
32
|
+
}] } });
|
|
33
|
+
|
|
34
|
+
class NgDocDropdownHandlerModule {
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerModule, declarations: [NgDocDropdownHandlerDirective], exports: [NgDocDropdownHandlerDirective] }); }
|
|
37
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerModule }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
declarations: [NgDocDropdownHandlerDirective],
|
|
43
|
+
exports: [NgDocDropdownHandlerDirective],
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generated bundle index. Do not edit.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
export { NgDocDropdownHandlerDirective, NgDocDropdownHandlerModule };
|
|
52
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-dropdown-handler.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-dropdown-handler.mjs","sources":["../../../../libs/ui-kit/directives/dropdown-handler/dropdown-handler.directive.ts","../../../../libs/ui-kit/directives/dropdown-handler/dropdown-handler.module.ts","../../../../libs/ui-kit/directives/dropdown-handler/ng-doc-ui-kit-directives-dropdown-handler.ts"],"sourcesContent":["import {Directive, HostListener, Input} from '@angular/core';\nimport {NgDocDropdownComponent} from '@ng-doc/ui-kit/components/dropdown';\n\n@Directive({\n\tselector: '[ngDocDropdownHandler]',\n})\nexport class NgDocDropdownHandlerDirective {\n\t@Input('ngDocDropdownHandler')\n\tdropdown?: NgDocDropdownComponent;\n\n\t@HostListener('keydown', ['$event'])\n\tkeyboardEvent(event: KeyboardEvent): void {\n\t\tif (this.dropdown) {\n\t\t\tif (event.key === 'ArrowDown' && !this.dropdown.isOpened) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tthis.dropdown.open();\n\t\t\t}\n\n\t\t\tif (event.key === 'Escape' && this.dropdown.isOpened) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tthis.dropdown.close();\n\t\t\t}\n\t\t}\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocDropdownHandlerDirective} from './dropdown-handler.directive';\n\n@NgModule({\n\tdeclarations: [NgDocDropdownHandlerDirective],\n\texports: [NgDocDropdownHandlerDirective],\n})\nexport class NgDocDropdownHandlerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAGa,6BAA6B,CAAA;AAKzC,IAAA,aAAa,CAAC,KAAoB,EAAA;QACjC,IAAI,IAAI,CAAC,QAAQ,EAAE;AAClB,YAAA,IAAI,KAAK,CAAC,GAAG,KAAK,WAAW,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;gBACzD,KAAK,CAAC,cAAc,EAAE,CAAC;AACvB,gBAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;AACrB,aAAA;YAED,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;gBACrD,KAAK,CAAC,cAAc,EAAE,CAAC;AACvB,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;AACtB,aAAA;AACD,SAAA;KACD;8GAjBW,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA7B,6BAA6B,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,sBAAA,EAAA,UAAA,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,SAAA,EAAA,uBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,iBAAA,CAAA;8BAGA,QAAQ,EAAA,CAAA;sBADP,KAAK;uBAAC,sBAAsB,CAAA;gBAI7B,aAAa,EAAA,CAAA;sBADZ,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,CAAA;;;ACNpC,MAIa,0BAA0B,CAAA;8GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAA1B,0BAA0B,EAAA,YAAA,EAAA,CAHvB,6BAA6B,CAAA,EAAA,OAAA,EAAA,CAClC,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAE3B,0BAA0B,EAAA,CAAA,CAAA,EAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAJtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;AACxC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Directive, NgModule } from '@angular/core';
|
|
4
|
+
import { NgDocOverlayHost } from '@ng-doc/ui-kit/classes/overlay-host';
|
|
5
|
+
|
|
6
|
+
class NgDocDropdownOriginDirective extends CdkOverlayOrigin {
|
|
7
|
+
constructor(origin) {
|
|
8
|
+
super(origin);
|
|
9
|
+
this.origin = origin;
|
|
10
|
+
}
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDropdownOriginDirective, selector: "[ngDocDropdownOrigin]", providers: [
|
|
13
|
+
{
|
|
14
|
+
provide: NgDocOverlayHost,
|
|
15
|
+
useExisting: NgDocDropdownOriginDirective,
|
|
16
|
+
},
|
|
17
|
+
], exportAs: ["ngDocDropdownOrigin"], usesInheritance: true, ngImport: i0 }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: '[ngDocDropdownOrigin]',
|
|
23
|
+
exportAs: 'ngDocDropdownOrigin',
|
|
24
|
+
providers: [
|
|
25
|
+
{
|
|
26
|
+
provide: NgDocOverlayHost,
|
|
27
|
+
useExisting: NgDocDropdownOriginDirective,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
}]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
32
|
+
|
|
33
|
+
class NgDocDropdownOriginModule {
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
35
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginModule, declarations: [NgDocDropdownOriginDirective], exports: [NgDocDropdownOriginDirective] }); }
|
|
36
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginModule }); }
|
|
37
|
+
}
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownOriginModule, decorators: [{
|
|
39
|
+
type: NgModule,
|
|
40
|
+
args: [{
|
|
41
|
+
declarations: [NgDocDropdownOriginDirective],
|
|
42
|
+
exports: [NgDocDropdownOriginDirective],
|
|
43
|
+
}]
|
|
44
|
+
}] });
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Generated bundle index. Do not edit.
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
export { NgDocDropdownOriginDirective, NgDocDropdownOriginModule };
|
|
51
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-dropdown-origin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-dropdown-origin.mjs","sources":["../../../../libs/ui-kit/directives/dropdown-origin/dropdown-origin.directive.ts","../../../../libs/ui-kit/directives/dropdown-origin/dropdown-origin.module.ts","../../../../libs/ui-kit/directives/dropdown-origin/ng-doc-ui-kit-directives-dropdown-origin.ts"],"sourcesContent":["import {CdkOverlayOrigin} from '@angular/cdk/overlay';\nimport {Directive, ElementRef} from '@angular/core';\nimport {NgDocOverlayHost} from '@ng-doc/ui-kit/classes/overlay-host';\n\n@Directive({\n\tselector: '[ngDocDropdownOrigin]',\n\texportAs: 'ngDocDropdownOrigin',\n\tproviders: [\n\t\t{\n\t\t\tprovide: NgDocOverlayHost,\n\t\t\tuseExisting: NgDocDropdownOriginDirective,\n\t\t},\n\t],\n})\nexport class NgDocDropdownOriginDirective extends CdkOverlayOrigin implements NgDocOverlayHost {\n\tconstructor(public origin: ElementRef<HTMLElement>) {\n\t\tsuper(origin);\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocDropdownOriginDirective} from './dropdown-origin.directive';\n\n@NgModule({\n\tdeclarations: [NgDocDropdownOriginDirective],\n\texports: [NgDocDropdownOriginDirective],\n})\nexport class NgDocDropdownOriginModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,MAUa,4BAA6B,SAAQ,gBAAgB,CAAA;AACjE,IAAA,WAAA,CAAmB,MA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,EAAA,CAAA,CAAA,EAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAJrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;AACvC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { ElementRef, NgZone, Directive, Input, NgModule } from '@angular/core';
|
|
4
|
+
import { asArray } from '@ng-doc/core/helpers/as-array';
|
|
5
|
+
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
6
|
+
import { ngDocZoneDetach } from '@ng-doc/ui-kit/observables';
|
|
7
|
+
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
8
|
+
import { merge, fromEvent } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
let NgDocEventSwitcherDirective = class NgDocEventSwitcherDirective {
|
|
11
|
+
constructor(elementRef, ngZone) {
|
|
12
|
+
this.elementRef = elementRef;
|
|
13
|
+
this.ngZone = ngZone;
|
|
14
|
+
this.switchTo = null;
|
|
15
|
+
this.events = [];
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
merge(...asArray(this.events).map((eventName) => fromEvent(this.elementRef.nativeElement, eventName)))
|
|
19
|
+
.pipe(ngDocZoneDetach(this.ngZone), untilDestroyed(this))
|
|
20
|
+
.subscribe((event) => {
|
|
21
|
+
if (this.switchTo && !event.defaultPrevented && event.bubbles) {
|
|
22
|
+
event.stopPropagation();
|
|
23
|
+
this.makeEvent(event, toElement(this.switchTo));
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
makeEvent(from, target) {
|
|
28
|
+
const eventConstructor = from.constructor;
|
|
29
|
+
target.dispatchEvent(new eventConstructor(from.type, from));
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocEventSwitcherDirective, selector: "[ngDocEventSwitcher]", inputs: { switchTo: ["ngDocEventSwitcher", "switchTo"], events: "events" }, ngImport: i0 }); }
|
|
33
|
+
};
|
|
34
|
+
NgDocEventSwitcherDirective = __decorate([
|
|
35
|
+
UntilDestroy(),
|
|
36
|
+
__metadata("design:paramtypes", [ElementRef, NgZone])
|
|
37
|
+
], NgDocEventSwitcherDirective);
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherDirective, decorators: [{
|
|
39
|
+
type: Directive,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: '[ngDocEventSwitcher]',
|
|
42
|
+
}]
|
|
43
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { switchTo: [{
|
|
44
|
+
type: Input,
|
|
45
|
+
args: ['ngDocEventSwitcher']
|
|
46
|
+
}], events: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}] } });
|
|
49
|
+
|
|
50
|
+
class NgDocEventSwitcherModule {
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
52
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherModule, declarations: [NgDocEventSwitcherDirective], exports: [NgDocEventSwitcherDirective] }); }
|
|
53
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherModule }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocEventSwitcherModule, decorators: [{
|
|
56
|
+
type: NgModule,
|
|
57
|
+
args: [{
|
|
58
|
+
declarations: [NgDocEventSwitcherDirective],
|
|
59
|
+
exports: [NgDocEventSwitcherDirective],
|
|
60
|
+
}]
|
|
61
|
+
}] });
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Generated bundle index. Do not edit.
|
|
65
|
+
*/
|
|
66
|
+
|
|
67
|
+
export { NgDocEventSwitcherDirective, NgDocEventSwitcherModule };
|
|
68
|
+
//# sourceMappingURL=ng-doc-ui-kit-directives-event-switcher.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-event-switcher.mjs","sources":["../../../../libs/ui-kit/directives/event-switcher/event-switcher.directive.ts","../../../../libs/ui-kit/directives/event-switcher/event-switcher.module.ts","../../../../libs/ui-kit/directives/event-switcher/ng-doc-ui-kit-directives-event-switcher.ts"],"sourcesContent":["import {Directive, ElementRef, Input, NgZone, OnInit} from '@angular/core';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {Constructor} from '@ng-doc/core/types';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {ngDocZoneDetach} from '@ng-doc/ui-kit/observables';\nimport {BaseElement} from '@ng-doc/ui-kit/types';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, merge} from 'rxjs';\n\n@Directive({\n\tselector: '[ngDocEventSwitcher]',\n})\n@UntilDestroy()\nexport class NgDocEventSwitcherDirective implements OnInit {\n\t@Input('ngDocEventSwitcher')\n\tswitchTo: BaseElement<HTMLElement> | null = null;\n\n\t@Input()\n\tevents: string | string[] = [];\n\n\tconstructor(private elementRef: ElementRef<HTMLElement>, private ngZone: NgZone) {}\n\n\tngOnInit(): void {\n\t\tmerge(...asArray(this.events).map((eventName: string) => fromEvent(this.elementRef.nativeElement, eventName)))\n\t\t\t.pipe(ngDocZoneDetach(this.ngZone), untilDestroyed(this))\n\t\t\t.subscribe((event: Event) => {\n\t\t\t\tif (this.switchTo && !event.defaultPrevented && event.bubbles) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\tthis.makeEvent(event, toElement(this.switchTo));\n\t\t\t\t}\n\t\t\t});\n\t}\n\n\tprivate makeEvent(from: Event, target: Element): void {\n\t\tconst eventConstructor: Constructor<Event> = from.constructor as Constructor<Event>;\n\t\ttarget.dispatchEvent(new eventConstructor(from.type, from));\n\t}\n}\n","import {NgModule} from '@angular/core';\n\nimport {NgDocEventSwitcherDirective} from './event-switcher.directive';\n\n@NgModule({\n\tdeclarations: [NgDocEventSwitcherDirective],\n\texports: [NgDocEventSwitcherDirective],\n})\nexport class NgDocEventSwitcherModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAaa,IAAA,2BAA2B,GAJxC,MAIa,2BAA2B,CAAA;IAOvC,WAAoB,CAAA,UAAmC,EAAU,MAAc,EAAA;QAA3D,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAAU,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAL/E,IAAQ,CAAA,QAAA,GAAoC,IAAI,CAAC;QAGjD,IAAM,CAAA,MAAA,GAAsB,EAAE,CAAC;KAEoD;IAEnF,QAAQ,GAAA;QACP,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,SAAiB,KAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC,CAAC;AAC5G,aAAA,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,MAAM,CAA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