@ng-doc/ui-kit 16.2.1 → 16.3.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdk/combobox-host/combobox-host.component.d.ts +1 -1
- package/cdk/combobox-host/index.d.ts +0 -1
- package/components/blockquote/blockquote.component.d.ts +1 -1
- package/components/blockquote/index.d.ts +0 -1
- package/components/button/button.component.d.ts +1 -1
- package/components/button/index.d.ts +0 -1
- package/components/button-icon/button-icon.component.d.ts +1 -1
- package/components/button-icon/index.d.ts +0 -1
- package/components/checkbox/checkbox.component.d.ts +1 -1
- package/components/checkbox/index.d.ts +0 -1
- package/components/clear-control/clear-control.component.d.ts +1 -1
- package/components/clear-control/index.d.ts +0 -1
- package/components/combobox/combobox.component.d.ts +1 -1
- package/components/combobox/combobox.module.d.ts +5 -12
- package/components/data-list/data-list.component.d.ts +1 -1
- package/components/data-list/index.d.ts +0 -1
- package/components/data-list-group/data-list-group.component.d.ts +1 -1
- package/components/data-list-group/index.d.ts +0 -1
- package/components/dot/dot.component.d.ts +1 -1
- package/components/dot/index.d.ts +0 -1
- package/components/dropdown/dropdown.component.d.ts +1 -1
- package/components/dropdown/dropdown.module.d.ts +3 -3
- package/components/expander/expander.component.d.ts +1 -1
- package/components/expander/index.d.ts +0 -1
- package/components/floated-border/floated-border.component.d.ts +1 -1
- package/components/floated-border/index.d.ts +0 -1
- package/components/floated-content/floated-content.component.d.ts +1 -1
- package/components/floated-content/index.d.ts +0 -1
- package/components/focus-control/focus-control.component.d.ts +1 -1
- package/components/focus-control/index.d.ts +0 -1
- package/components/icon/icon.component.d.ts +1 -1
- package/components/icon/index.d.ts +0 -1
- package/components/input-wrapper/index.d.ts +0 -1
- package/components/input-wrapper/input-wrapper.component.d.ts +1 -1
- package/components/label/index.d.ts +0 -1
- package/components/label/label.component.d.ts +1 -1
- package/components/line/index.d.ts +0 -1
- package/components/line/line.component.d.ts +1 -1
- package/components/list/index.d.ts +0 -1
- package/components/list/list.component.d.ts +1 -1
- package/components/option/index.d.ts +0 -1
- package/components/option/option.component.d.ts +1 -1
- package/components/option-group/index.d.ts +0 -1
- package/components/option-group/option-group.component.d.ts +2 -2
- package/components/overlay-container/index.d.ts +0 -1
- package/components/overlay-container/overlay-container.component.d.ts +1 -1
- package/components/overlay-pointer/index.d.ts +0 -1
- package/components/overlay-pointer/overlay-pointer.component.d.ts +1 -1
- package/components/pane/index.d.ts +0 -1
- package/components/pane/pane.component.d.ts +3 -3
- package/components/selection/index.d.ts +0 -1
- package/components/selection/selection-host.directive.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/index.d.ts +0 -1
- package/components/sidenav/sidenav.component.d.ts +1 -1
- package/components/smooth-resize/index.d.ts +1 -2
- package/components/smooth-resize/smooth-resize.component.d.ts +1 -1
- package/components/spinner/index.d.ts +1 -2
- package/components/spinner/spinner.component.d.ts +1 -1
- package/components/tab-group/index.d.ts +0 -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/index.d.ts +0 -1
- package/components/tag/tag.component.d.ts +1 -1
- package/components/text/index.d.ts +0 -1
- package/components/text/text-left.directive.d.ts +1 -1
- package/components/text/text-right.directive.d.ts +1 -1
- package/components/text/text.component.d.ts +1 -1
- package/components/toggle/index.d.ts +0 -1
- package/components/toggle/toggle.component.d.ts +1 -1
- package/components/wrapper/index.d.ts +0 -1
- package/components/wrapper/wrapper.component.d.ts +1 -1
- package/directives/autofocus/autofocus.directive.d.ts +1 -1
- package/directives/autofocus/index.d.ts +0 -1
- package/directives/checked-change/checked-change.directive.d.ts +1 -1
- package/directives/checked-change/index.d.ts +0 -1
- package/directives/data/data.directive.d.ts +1 -1
- package/directives/data/index.d.ts +0 -1
- package/directives/dropdown-handler/dropdown-handler.directive.d.ts +1 -1
- package/directives/dropdown-handler/index.d.ts +0 -1
- package/directives/dropdown-origin/dropdown-origin.directive.d.ts +1 -1
- package/directives/dropdown-origin/index.d.ts +0 -1
- package/directives/event-switcher/event-switcher.directive.d.ts +1 -1
- package/directives/event-switcher/index.d.ts +0 -1
- package/directives/focus-catcher/focus-catcher.directive.d.ts +1 -1
- package/directives/focus-catcher/index.d.ts +0 -1
- package/directives/focusable/focusable.directive.d.ts +1 -1
- package/directives/focusable/index.d.ts +0 -1
- package/directives/hotkey/hotkey.directive.d.ts +1 -1
- package/directives/hotkey/index.d.ts +0 -1
- package/directives/input-number/index.d.ts +0 -1
- package/directives/input-number/input-number.directive.d.ts +1 -1
- package/directives/input-string/index.d.ts +0 -1
- package/directives/input-string/input-string.directive.d.ts +1 -1
- package/directives/let/index.d.ts +0 -1
- package/directives/let/let.directive.d.ts +1 -1
- package/directives/media-query/index.d.ts +0 -1
- package/directives/media-query/media-query.directive.d.ts +1 -1
- package/directives/rotator/index.d.ts +0 -1
- package/directives/rotator/rotator.directive.d.ts +1 -1
- package/directives/tooltip/index.d.ts +0 -1
- package/directives/tooltip/tooltip.directive.d.ts +1 -1
- package/esm2022/cdk/combobox-host/combobox-host.component.mjs +8 -8
- package/esm2022/cdk/combobox-host/index.mjs +1 -2
- package/esm2022/components/blockquote/blockquote.component.mjs +5 -5
- package/esm2022/components/blockquote/index.mjs +1 -2
- package/esm2022/components/button/button.component.mjs +3 -3
- package/esm2022/components/button/index.mjs +1 -2
- package/esm2022/components/button-icon/button-icon.component.mjs +3 -3
- package/esm2022/components/button-icon/index.mjs +1 -2
- package/esm2022/components/checkbox/checkbox.component.mjs +10 -10
- package/esm2022/components/checkbox/index.mjs +1 -2
- package/esm2022/components/clear-control/clear-control.component.mjs +11 -11
- package/esm2022/components/clear-control/index.mjs +1 -2
- package/esm2022/components/combobox/combobox.component.mjs +23 -12
- package/esm2022/components/combobox/combobox.module.mjs +4 -41
- package/esm2022/components/data-list/data-list.component.mjs +9 -8
- package/esm2022/components/data-list/index.mjs +1 -2
- package/esm2022/components/data-list-group/data-list-group.component.mjs +19 -9
- package/esm2022/components/data-list-group/index.mjs +1 -2
- package/esm2022/components/dot/dot.component.mjs +3 -3
- package/esm2022/components/dot/index.mjs +1 -2
- package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.module.mjs +3 -4
- package/esm2022/components/expander/expander.component.mjs +6 -5
- package/esm2022/components/expander/index.mjs +1 -2
- package/esm2022/components/floated-border/floated-border.component.mjs +3 -3
- package/esm2022/components/floated-border/index.mjs +1 -2
- package/esm2022/components/floated-content/floated-content.component.mjs +3 -3
- package/esm2022/components/floated-content/index.mjs +1 -2
- package/esm2022/components/focus-control/focus-control.component.mjs +5 -5
- package/esm2022/components/focus-control/index.mjs +1 -2
- package/esm2022/components/icon/icon.component.mjs +3 -3
- package/esm2022/components/icon/index.mjs +1 -2
- package/esm2022/components/input-wrapper/index.mjs +1 -2
- package/esm2022/components/input-wrapper/input-wrapper.component.mjs +19 -12
- package/esm2022/components/label/index.mjs +1 -2
- package/esm2022/components/label/label.component.mjs +6 -5
- package/esm2022/components/line/index.mjs +1 -2
- package/esm2022/components/line/line.component.mjs +3 -3
- package/esm2022/components/list/index.mjs +1 -2
- package/esm2022/components/list/list.component.mjs +3 -3
- package/esm2022/components/option/index.mjs +1 -2
- package/esm2022/components/option/option.component.mjs +3 -3
- package/esm2022/components/option-group/index.mjs +1 -2
- package/esm2022/components/option-group/option-group.component.mjs +10 -7
- package/esm2022/components/overlay-container/index.mjs +1 -2
- package/esm2022/components/overlay-container/overlay-container.component.mjs +13 -8
- package/esm2022/components/overlay-pointer/index.mjs +1 -2
- package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +4 -4
- package/esm2022/components/pane/index.mjs +1 -2
- package/esm2022/components/pane/pane.component.mjs +7 -5
- package/esm2022/components/selection/index.mjs +1 -2
- package/esm2022/components/selection/selection-host.directive.mjs +3 -2
- package/esm2022/components/selection/selection-origin.directive.mjs +3 -2
- package/esm2022/components/selection/selection.component.mjs +3 -3
- package/esm2022/components/sidenav/index.mjs +1 -2
- package/esm2022/components/sidenav/sidenav.component.mjs +6 -5
- package/esm2022/components/smooth-resize/index.mjs +2 -3
- package/esm2022/components/smooth-resize/smooth-resize.component.mjs +3 -3
- package/esm2022/components/spinner/index.mjs +2 -3
- package/esm2022/components/spinner/spinner.component.mjs +3 -3
- package/esm2022/components/tab-group/index.mjs +1 -2
- package/esm2022/components/tab-group/tab/tab.component.mjs +3 -3
- package/esm2022/components/tab-group/tab-group.component.mjs +15 -7
- package/esm2022/components/tag/index.mjs +1 -2
- package/esm2022/components/tag/tag.component.mjs +3 -3
- package/esm2022/components/text/index.mjs +1 -2
- package/esm2022/components/text/text-left.directive.mjs +3 -2
- package/esm2022/components/text/text-right.directive.mjs +3 -2
- package/esm2022/components/text/text.component.mjs +4 -4
- package/esm2022/components/toggle/index.mjs +1 -2
- package/esm2022/components/toggle/toggle.component.mjs +3 -3
- package/esm2022/components/wrapper/index.mjs +1 -2
- package/esm2022/components/wrapper/wrapper.component.mjs +3 -3
- package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -2
- package/esm2022/directives/autofocus/index.mjs +1 -2
- package/esm2022/directives/checked-change/checked-change.directive.mjs +3 -2
- package/esm2022/directives/checked-change/index.mjs +1 -2
- package/esm2022/directives/data/data.directive.mjs +3 -2
- package/esm2022/directives/data/index.mjs +1 -2
- package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +3 -2
- package/esm2022/directives/dropdown-handler/index.mjs +1 -2
- package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +3 -2
- package/esm2022/directives/dropdown-origin/index.mjs +1 -2
- package/esm2022/directives/event-switcher/event-switcher.directive.mjs +3 -2
- package/esm2022/directives/event-switcher/index.mjs +1 -2
- package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +3 -2
- package/esm2022/directives/focus-catcher/index.mjs +1 -2
- package/esm2022/directives/focusable/focusable.directive.mjs +3 -2
- package/esm2022/directives/focusable/index.mjs +1 -2
- package/esm2022/directives/hotkey/hotkey.directive.mjs +3 -2
- package/esm2022/directives/hotkey/index.mjs +1 -2
- package/esm2022/directives/input-number/index.mjs +1 -2
- package/esm2022/directives/input-number/input-number.directive.mjs +3 -2
- package/esm2022/directives/input-string/index.mjs +1 -2
- package/esm2022/directives/input-string/input-string.directive.mjs +4 -7
- package/esm2022/directives/let/index.mjs +1 -2
- package/esm2022/directives/let/let.directive.mjs +3 -2
- package/esm2022/directives/media-query/index.mjs +1 -2
- package/esm2022/directives/media-query/media-query.directive.mjs +3 -2
- package/esm2022/directives/rotator/index.mjs +1 -2
- package/esm2022/directives/rotator/rotator.directive.mjs +3 -2
- package/esm2022/directives/tooltip/index.mjs +1 -2
- package/esm2022/directives/tooltip/tooltip.directive.mjs +3 -2
- package/esm2022/pipes/as-array/as-array.pipe.mjs +3 -2
- package/esm2022/pipes/as-array/index.mjs +1 -2
- package/esm2022/pipes/bind/bind.pipe.mjs +3 -2
- package/esm2022/pipes/bind/index.mjs +1 -2
- package/esm2022/pipes/highlighter/highlighter.pipe.mjs +3 -2
- package/esm2022/pipes/highlighter/index.mjs +1 -2
- package/esm2022/pipes/run/index.mjs +1 -2
- package/esm2022/pipes/run/run.pipe.mjs +3 -2
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +9 -26
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +6 -22
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +11 -29
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +12 -30
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +25 -54
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +19 -46
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +9 -27
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +4 -5
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +6 -21
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +4 -17
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +6 -21
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +21 -54
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +6 -22
- package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +4 -20
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +11 -24
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +15 -47
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +5 -20
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +9 -21
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +8 -21
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +6 -21
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +18 -29
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +9 -22
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +4 -19
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +5 -21
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs +4 -16
- package/fesm2022/ng-doc-ui-kit-pipes-run.mjs.map +1 -1
- package/package.json +2 -2
- package/pipes/as-array/as-array.pipe.d.ts +1 -1
- package/pipes/as-array/index.d.ts +0 -1
- package/pipes/bind/bind.pipe.d.ts +1 -1
- package/pipes/bind/index.d.ts +0 -1
- package/pipes/highlighter/highlighter.pipe.d.ts +1 -1
- package/pipes/highlighter/index.d.ts +0 -1
- package/pipes/run/index.d.ts +0 -1
- package/pipes/run/run.pipe.d.ts +1 -1
- package/cdk/combobox-host/combobox-host.module.d.ts +0 -10
- package/components/blockquote/blockquote.module.d.ts +0 -9
- package/components/button/button.module.d.ts +0 -8
- package/components/button-icon/button-icon.module.d.ts +0 -8
- package/components/checkbox/checkbox.module.d.ts +0 -11
- package/components/clear-control/clear-control.module.d.ts +0 -11
- package/components/data-list/data-list.module.d.ts +0 -12
- package/components/data-list-group/data-list-group.module.d.ts +0 -13
- package/components/dot/dot.module.d.ts +0 -8
- package/components/expander/expander.module.d.ts +0 -9
- package/components/floated-border/floated-border.module.d.ts +0 -8
- package/components/floated-content/floated-content.module.d.ts +0 -7
- package/components/focus-control/focus-control.module.d.ts +0 -8
- package/components/icon/icon.module.d.ts +0 -8
- package/components/input-wrapper/input-wrapper.module.d.ts +0 -14
- package/components/label/label.module.d.ts +0 -10
- package/components/line/line.module.d.ts +0 -8
- package/components/list/list.module.d.ts +0 -9
- package/components/option/option.module.d.ts +0 -8
- package/components/option-group/option-group.module.d.ts +0 -9
- package/components/overlay-container/overlay-container.module.d.ts +0 -14
- package/components/overlay-pointer/overlay-pointer.module.d.ts +0 -8
- package/components/pane/pane.module.d.ts +0 -8
- package/components/selection/selection.module.d.ts +0 -10
- package/components/sidenav/sidenav.module.d.ts +0 -9
- package/components/smooth-resize/smooth-resize.module.d.ts +0 -8
- package/components/spinner/spinner.module.d.ts +0 -8
- package/components/tab-group/tab-group.module.d.ts +0 -13
- package/components/tag/tag.module.d.ts +0 -8
- package/components/text/text.module.d.ts +0 -10
- package/components/toggle/toggle.module.d.ts +0 -8
- package/components/wrapper/wrapper.module.d.ts +0 -8
- package/directives/autofocus/autofocus.module.d.ts +0 -7
- package/directives/checked-change/checked-change.module.d.ts +0 -7
- package/directives/data/data.module.d.ts +0 -7
- package/directives/dropdown-handler/dropdown-handler.module.d.ts +0 -7
- package/directives/dropdown-origin/dropdown-origin.module.d.ts +0 -7
- package/directives/event-switcher/event-switcher.module.d.ts +0 -7
- package/directives/focus-catcher/focus-catcher.module.d.ts +0 -7
- package/directives/focusable/focusable.module.d.ts +0 -7
- package/directives/hotkey/hotkey.module.d.ts +0 -7
- package/directives/input-number/input-number.module.d.ts +0 -7
- package/directives/input-string/input-string.module.d.ts +0 -7
- package/directives/let/let.module.d.ts +0 -7
- package/directives/media-query/media-query.module.d.ts +0 -7
- package/directives/rotator/rotator.module.d.ts +0 -7
- package/directives/tooltip/tooltip.module.d.ts +0 -7
- package/esm2022/cdk/combobox-host/combobox-host.module.mjs +0 -21
- package/esm2022/components/blockquote/blockquote.module.mjs +0 -20
- package/esm2022/components/button/button.module.mjs +0 -19
- package/esm2022/components/button-icon/button-icon.module.mjs +0 -19
- package/esm2022/components/checkbox/checkbox.module.mjs +0 -22
- package/esm2022/components/clear-control/clear-control.module.mjs +0 -22
- package/esm2022/components/data-list/data-list.module.mjs +0 -23
- package/esm2022/components/data-list-group/data-list-group.module.mjs +0 -41
- package/esm2022/components/dot/dot.module.mjs +0 -19
- package/esm2022/components/expander/expander.module.mjs +0 -20
- package/esm2022/components/floated-border/floated-border.module.mjs +0 -19
- package/esm2022/components/floated-content/floated-content.module.mjs +0 -17
- package/esm2022/components/focus-control/focus-control.module.mjs +0 -19
- package/esm2022/components/icon/icon.module.mjs +0 -19
- package/esm2022/components/input-wrapper/input-wrapper.module.mjs +0 -45
- package/esm2022/components/label/label.module.mjs +0 -21
- package/esm2022/components/line/line.module.mjs +0 -19
- package/esm2022/components/list/list.module.mjs +0 -20
- package/esm2022/components/option/option.module.mjs +0 -19
- package/esm2022/components/option-group/option-group.module.mjs +0 -20
- package/esm2022/components/overlay-container/overlay-container.module.mjs +0 -44
- package/esm2022/components/overlay-pointer/overlay-pointer.module.mjs +0 -19
- package/esm2022/components/pane/pane.module.mjs +0 -19
- package/esm2022/components/selection/selection.module.mjs +0 -21
- package/esm2022/components/sidenav/sidenav.module.mjs +0 -20
- package/esm2022/components/smooth-resize/smooth-resize.module.mjs +0 -19
- package/esm2022/components/spinner/spinner.module.mjs +0 -19
- package/esm2022/components/tab-group/tab-group.module.mjs +0 -24
- package/esm2022/components/tag/tag.module.mjs +0 -19
- package/esm2022/components/text/text.module.mjs +0 -21
- package/esm2022/components/toggle/toggle.module.mjs +0 -19
- package/esm2022/components/wrapper/wrapper.module.mjs +0 -19
- package/esm2022/directives/autofocus/autofocus.module.mjs +0 -17
- package/esm2022/directives/checked-change/checked-change.module.mjs +0 -17
- package/esm2022/directives/data/data.module.mjs +0 -17
- package/esm2022/directives/dropdown-handler/dropdown-handler.module.mjs +0 -17
- package/esm2022/directives/dropdown-origin/dropdown-origin.module.mjs +0 -17
- package/esm2022/directives/event-switcher/event-switcher.module.mjs +0 -17
- package/esm2022/directives/focus-catcher/focus-catcher.module.mjs +0 -17
- package/esm2022/directives/focusable/focusable.module.mjs +0 -17
- package/esm2022/directives/hotkey/hotkey.module.mjs +0 -17
- package/esm2022/directives/input-number/input-number.module.mjs +0 -17
- package/esm2022/directives/input-string/input-string.module.mjs +0 -17
- package/esm2022/directives/let/let.module.mjs +0 -17
- package/esm2022/directives/media-query/media-query.module.mjs +0 -17
- package/esm2022/directives/rotator/rotator.module.mjs +0 -17
- package/esm2022/directives/tooltip/tooltip.module.mjs +0 -17
- package/esm2022/pipes/as-array/as-array.module.mjs +0 -17
- package/esm2022/pipes/bind/bind.module.mjs +0 -17
- package/esm2022/pipes/highlighter/highlighter.module.mjs +0 -17
- package/esm2022/pipes/run/run.module.mjs +0 -17
- package/pipes/as-array/as-array.module.d.ts +0 -7
- package/pipes/bind/bind.module.d.ts +0 -7
- package/pipes/highlighter/highlighter.module.d.ts +0 -7
- package/pipes/run/run.module.d.ts +0 -7
|
@@ -1 +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/
|
|
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/ng-doc-ui-kit-directives-data.ts"],"sourcesContent":["import {Directive, TemplateRef, ViewContainerRef} from '@angular/core';\n\n@Directive({\n\tselector: '[ngDocData]',\n\tstandalone: true,\n})\nexport class NgDocDataDirective {\n\tconstructor(protected template: TemplateRef<unknown>, protected viewContainerRef: ViewContainerRef) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAIa,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,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, HostListener
|
|
2
|
+
import { Directive, Input, HostListener } from '@angular/core';
|
|
3
3
|
import '@ng-doc/ui-kit/components/dropdown';
|
|
4
4
|
|
|
5
5
|
class NgDocDropdownHandlerDirective {
|
|
@@ -16,12 +16,13 @@ class NgDocDropdownHandlerDirective {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
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 }); }
|
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDropdownHandlerDirective, isStandalone: true, selector: "[ngDocDropdownHandler]", inputs: { dropdown: ["ngDocDropdownHandler", "dropdown"] }, host: { listeners: { "keydown": "keyboardEvent($event)" } }, ngImport: i0 }); }
|
|
20
20
|
}
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDropdownHandlerDirective, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: '[ngDocDropdownHandler]',
|
|
25
|
+
standalone: true,
|
|
25
26
|
}]
|
|
26
27
|
}], propDecorators: { dropdown: [{
|
|
27
28
|
type: Input,
|
|
@@ -31,22 +32,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
31
32
|
args: ['keydown', ['$event']]
|
|
32
33
|
}] } });
|
|
33
34
|
|
|
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
35
|
/**
|
|
48
36
|
* Generated bundle index. Do not edit.
|
|
49
37
|
*/
|
|
50
38
|
|
|
51
|
-
export { NgDocDropdownHandlerDirective
|
|
39
|
+
export { NgDocDropdownHandlerDirective };
|
|
52
40
|
//# sourceMappingURL=ng-doc-ui-kit-directives-dropdown-handler.mjs.map
|
|
@@ -1 +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/
|
|
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/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\tstandalone: true,\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAIa,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,YAAA,EAAA,IAAA,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;kBAJzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;8BAGA,QAAQ,EAAA,CAAA;sBADP,KAAK;uBAAC,sBAAsB,CAAA;gBAI7B,aAAa,EAAA,CAAA;sBADZ,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC,CAAA;;;ACXpC;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Directive
|
|
3
|
+
import { Directive } from '@angular/core';
|
|
4
4
|
import { NgDocOverlayHost } from '@ng-doc/ui-kit/classes/overlay-host';
|
|
5
5
|
|
|
6
6
|
class NgDocDropdownOriginDirective extends CdkOverlayOrigin {
|
|
@@ -9,7 +9,7 @@ class NgDocDropdownOriginDirective extends CdkOverlayOrigin {
|
|
|
9
9
|
this.origin = origin;
|
|
10
10
|
}
|
|
11
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: [
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDropdownOriginDirective, isStandalone: true, selector: "[ngDocDropdownOrigin]", providers: [
|
|
13
13
|
{
|
|
14
14
|
provide: NgDocOverlayHost,
|
|
15
15
|
useExisting: NgDocDropdownOriginDirective,
|
|
@@ -27,25 +27,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
27
27
|
useExisting: NgDocDropdownOriginDirective,
|
|
28
28
|
},
|
|
29
29
|
],
|
|
30
|
+
standalone: true,
|
|
30
31
|
}]
|
|
31
32
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
32
33
|
|
|
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
34
|
/**
|
|
47
35
|
* Generated bundle index. Do not edit.
|
|
48
36
|
*/
|
|
49
37
|
|
|
50
|
-
export { NgDocDropdownOriginDirective
|
|
38
|
+
export { NgDocDropdownOriginDirective };
|
|
51
39
|
//# sourceMappingURL=ng-doc-ui-kit-directives-dropdown-origin.mjs.map
|
|
@@ -1 +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/
|
|
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/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\tstandalone: true,\n})\nexport class NgDocDropdownOriginDirective extends CdkOverlayOrigin implements NgDocOverlayHost {\n\tconstructor(public origin: ElementRef<HTMLElement>) {\n\t\tsuper(origin);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA,MAWa,4BAA6B,SAAQ,gBAAgB,CAAA;AACjE,IAAA,WAAA,CAAmB,MAA+B,EAAA;QACjD,KAAK,CAAC,MAAM,CAAC,CAAC;QADI,IAAM,CAAA,MAAA,GAAN,MAAM,CAAyB;KAEjD;8GAHW,4BAA4B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAR7B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,SAAA,EAAA;AACV,YAAA;AACC,gBAAA,OAAO,EAAE,gBAAgB;AACzB,gBAAA,WAAW,EAAE,4BAA4B;AACzC,aAAA;AACD,SAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAGW,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAXxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,gBAAgB;AACzB,4BAAA,WAAW,EAA8B,4BAAA;AACzC,yBAAA;AACD,qBAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, NgZone, Directive, Input
|
|
3
|
+
import { ElementRef, NgZone, Directive, Input } from '@angular/core';
|
|
4
4
|
import { asArray } from '@ng-doc/core/helpers/as-array';
|
|
5
5
|
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
6
6
|
import { ngDocZoneDetach } from '@ng-doc/ui-kit/observables';
|
|
@@ -29,7 +29,7 @@ let NgDocEventSwitcherDirective = class NgDocEventSwitcherDirective {
|
|
|
29
29
|
target.dispatchEvent(new eventConstructor(from.type, from));
|
|
30
30
|
}
|
|
31
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 }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocEventSwitcherDirective, isStandalone: true, selector: "[ngDocEventSwitcher]", inputs: { switchTo: ["ngDocEventSwitcher", "switchTo"], events: "events" }, ngImport: i0 }); }
|
|
33
33
|
};
|
|
34
34
|
NgDocEventSwitcherDirective = __decorate([
|
|
35
35
|
UntilDestroy(),
|
|
@@ -39,6 +39,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[ngDocEventSwitcher]',
|
|
42
|
+
standalone: true,
|
|
42
43
|
}]
|
|
43
44
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { switchTo: [{
|
|
44
45
|
type: Input,
|
|
@@ -47,22 +48,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
47
48
|
type: Input
|
|
48
49
|
}] } });
|
|
49
50
|
|
|
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
51
|
/**
|
|
64
52
|
* Generated bundle index. Do not edit.
|
|
65
53
|
*/
|
|
66
54
|
|
|
67
|
-
export { NgDocEventSwitcherDirective
|
|
55
|
+
export { NgDocEventSwitcherDirective };
|
|
68
56
|
//# sourceMappingURL=ng-doc-ui-kit-directives-event-switcher.mjs.map
|
|
@@ -1 +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/
|
|
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/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\tstandalone: true,\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAca,IAAA,2BAA2B,GALxC,MAKa,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,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;AACxD,aAAA,SAAS,CAAC,CAAC,KAAY,KAAI;AAC3B,YAAA,IAAI,IAAI,CAAC,QAAQ,IAAI,CAAC,KAAK,CAAC,gBAAgB,IAAI,KAAK,CAAC,OAAO,EAAE;gBAC9D,KAAK,CAAC,eAAe,EAAE,CAAC;AACxB,gBAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;AAChD,aAAA;AACF,SAAC,CAAC,CAAC;KACJ;IAEO,SAAS,CAAC,IAAW,EAAE,MAAe,EAAA;AAC7C,QAAA,MAAM,gBAAgB,GAAuB,IAAI,CAAC,WAAiC,CAAC;AACpF,QAAA,MAAM,CAAC,aAAa,CAAC,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC;KAC5D;8GAvBW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,oBAAA,EAAA,UAAA,CAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAA3B,2BAA2B,GAAA,UAAA,CAAA;AADvC,IAAA,YAAY,EAAE;AAQkB,IAAA,UAAA,CAAA,mBAAA,EAAA,CAAA,UAAU,EAA+B,MAAM,CAAA,CAAA;AAPnE,CAAA,EAAA,2BAA2B,CAwBvC,CAAA;2FAxBY,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;sHAIA,QAAQ,EAAA,CAAA;sBADP,KAAK;uBAAC,oBAAoB,CAAA;gBAI3B,MAAM,EAAA,CAAA;sBADL,KAAK;;;AClBP;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, ElementRef, NgZone, ChangeDetectorRef, Directive, Output, HostBinding
|
|
3
|
+
import { EventEmitter, ElementRef, NgZone, ChangeDetectorRef, Directive, Output, HostBinding } from '@angular/core';
|
|
4
4
|
import { FOCUS_EVENT, BLUR_EVENT } from '@ng-doc/ui-kit/constants';
|
|
5
5
|
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
6
6
|
import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
|
|
@@ -29,7 +29,7 @@ let NgDocFocusCatcherDirective = NgDocFocusCatcherDirective_1 = class NgDocFocus
|
|
|
29
29
|
return merge(fromEvent(element, FOCUS_EVENT), fromEvent(element, BLUR_EVENT)).pipe(debounceTime(0), distinctUntilChanged((a, b) => a.type === b.type));
|
|
30
30
|
}
|
|
31
31
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent" }, host: { properties: { "attr.data-ng-doc-focused": "this.focused" } }, exportAs: ["ngDocFocusCatcher"], ngImport: i0 }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusCatcherDirective, isStandalone: true, selector: "[ngDocFocusCatcher]", outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent" }, host: { properties: { "attr.data-ng-doc-focused": "this.focused" } }, exportAs: ["ngDocFocusCatcher"], ngImport: i0 }); }
|
|
33
33
|
};
|
|
34
34
|
NgDocFocusCatcherDirective = NgDocFocusCatcherDirective_1 = __decorate([
|
|
35
35
|
UntilDestroy(),
|
|
@@ -42,6 +42,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[ngDocFocusCatcher]',
|
|
44
44
|
exportAs: 'ngDocFocusCatcher',
|
|
45
|
+
standalone: true,
|
|
45
46
|
}]
|
|
46
47
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { focusEvent: [{
|
|
47
48
|
type: Output
|
|
@@ -52,22 +53,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
52
53
|
args: ['attr.data-ng-doc-focused']
|
|
53
54
|
}] } });
|
|
54
55
|
|
|
55
|
-
class NgDocFocusCatcherModule {
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
57
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, declarations: [NgDocFocusCatcherDirective], exports: [NgDocFocusCatcherDirective] }); }
|
|
58
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule }); }
|
|
59
|
-
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusCatcherModule, decorators: [{
|
|
61
|
-
type: NgModule,
|
|
62
|
-
args: [{
|
|
63
|
-
declarations: [NgDocFocusCatcherDirective],
|
|
64
|
-
exports: [NgDocFocusCatcherDirective],
|
|
65
|
-
}]
|
|
66
|
-
}] });
|
|
67
|
-
|
|
68
56
|
/**
|
|
69
57
|
* Generated bundle index. Do not edit.
|
|
70
58
|
*/
|
|
71
59
|
|
|
72
|
-
export { NgDocFocusCatcherDirective
|
|
60
|
+
export { NgDocFocusCatcherDirective };
|
|
73
61
|
//# sourceMappingURL=ng-doc-ui-kit-directives-focus-catcher.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-focus-catcher.mjs","sources":["../../../../libs/ui-kit/directives/focus-catcher/focus-catcher.directive.ts","../../../../libs/ui-kit/directives/focus-catcher/
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-focus-catcher.mjs","sources":["../../../../libs/ui-kit/directives/focus-catcher/focus-catcher.directive.ts","../../../../libs/ui-kit/directives/focus-catcher/ng-doc-ui-kit-directives-focus-catcher.ts"],"sourcesContent":["import {ChangeDetectorRef, Directive, ElementRef, EventEmitter, HostBinding, NgZone, Output} from '@angular/core';\nimport {BLUR_EVENT, FOCUS_EVENT} from '@ng-doc/ui-kit/constants';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {debounceTime, distinctUntilChanged} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocFocusCatcher]',\n\texportAs: 'ngDocFocusCatcher',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocFocusCatcherDirective {\n\t@Output()\n\tfocusEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n\t@Output()\n\tblurEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n\t@HostBinding('attr.data-ng-doc-focused')\n\tfocused: boolean = false;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\tprivate ngZone: NgZone,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t) {\n\t\tNgDocFocusCatcherDirective.observeFocus(toElement(this.elementRef))\n\t\t\t.pipe(ngDocZoneOptimize(this.ngZone), untilDestroyed(this))\n\t\t\t.subscribe((event: FocusEvent) => {\n\t\t\t\tthis.focused = event.type === FOCUS_EVENT;\n\t\t\t\tthis.focused ? this.focusEvent.emit(event) : this.blurEvent.emit(event);\n\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t});\n\t}\n\n\tstatic observeFocus(element: HTMLElement): Observable<FocusEvent> {\n\t\treturn merge(fromEvent<FocusEvent>(element, FOCUS_EVENT), fromEvent<FocusEvent>(element, BLUR_EVENT)).pipe(\n\t\t\tdebounceTime(0),\n\t\t\tdistinctUntilChanged((a: FocusEvent, b: FocusEvent) => a.type === b.type),\n\t\t);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAca,IAAA,0BAA0B,GANvC,4BAAA,GAAA,MAMa,0BAA0B,CAAA;AAUtC,IAAA,WAAA,CACS,UAAmC,EACnC,MAAc,EACd,iBAAoC,EAAA;QAFpC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;AAX7C,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,YAAY,EAAS,CAAC;AAG5D,QAAA,IAAA,CAAA,SAAS,GAAwB,IAAI,YAAY,EAAS,CAAC;QAG3D,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;QAOxB,4BAA0B,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACjE,aAAA,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;AAC1D,aAAA,SAAS,CAAC,CAAC,KAAiB,KAAI;YAChC,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,IAAI,KAAK,WAAW,CAAC;YAC1C,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACxE,YAAA,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;AACvC,SAAC,CAAC,CAAC;KACJ;IAED,OAAO,YAAY,CAAC,OAAoB,EAAA;AACvC,QAAA,OAAO,KAAK,CAAC,SAAS,CAAa,OAAO,EAAE,WAAW,CAAC,EAAE,SAAS,CAAa,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,IAAI,CACzG,YAAY,CAAC,CAAC,CAAC,EACf,oBAAoB,CAAC,CAAC,CAAa,EAAE,CAAa,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CACzE,CAAC;KACF;8GA7BW,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAA1B,0BAA0B,GAAA,4BAAA,GAAA,UAAA,CAAA;AADtC,IAAA,YAAY,EAAE;qCAYO,UAAU;QACd,MAAM;QACK,iBAAiB,CAAA,CAAA;AAbjC,CAAA,EAAA,0BAA0B,CA8BtC,CAAA;2FA9BY,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBANtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;sJAIA,UAAU,EAAA,CAAA;sBADT,MAAM;gBAIP,SAAS,EAAA,CAAA;sBADR,MAAM;gBAIP,OAAO,EAAA,CAAA;sBADN,WAAW;uBAAC,0BAA0B,CAAA;;;ACrBxC;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, HostBinding
|
|
2
|
+
import { Directive, Input, HostBinding } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class NgDocFocusableDirective {
|
|
5
5
|
constructor() {
|
|
@@ -9,13 +9,14 @@ class NgDocFocusableDirective {
|
|
|
9
9
|
return this.focusable ? 0 : -1;
|
|
10
10
|
}
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusableDirective, selector: "[ngDocFocusable]", inputs: { focusable: ["ngDocFocusable", "focusable"] }, host: { properties: { "attr.tabIndex": "this.tabIndex" } }, exportAs: ["ngDocFocusable"], ngImport: i0 }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocFocusableDirective, isStandalone: true, selector: "[ngDocFocusable]", inputs: { focusable: ["ngDocFocusable", "focusable"] }, host: { properties: { "attr.tabIndex": "this.tabIndex" } }, exportAs: ["ngDocFocusable"], ngImport: i0 }); }
|
|
13
13
|
}
|
|
14
14
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableDirective, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: '[ngDocFocusable]',
|
|
18
18
|
exportAs: 'ngDocFocusable',
|
|
19
|
+
standalone: true,
|
|
19
20
|
}]
|
|
20
21
|
}], propDecorators: { focusable: [{
|
|
21
22
|
type: Input,
|
|
@@ -25,22 +26,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
25
26
|
args: ['attr.tabIndex']
|
|
26
27
|
}] } });
|
|
27
28
|
|
|
28
|
-
class NgDocFocusableModule {
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
30
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, declarations: [NgDocFocusableDirective], exports: [NgDocFocusableDirective] }); }
|
|
31
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocFocusableModule, decorators: [{
|
|
34
|
-
type: NgModule,
|
|
35
|
-
args: [{
|
|
36
|
-
declarations: [NgDocFocusableDirective],
|
|
37
|
-
exports: [NgDocFocusableDirective],
|
|
38
|
-
}]
|
|
39
|
-
}] });
|
|
40
|
-
|
|
41
29
|
/**
|
|
42
30
|
* Generated bundle index. Do not edit.
|
|
43
31
|
*/
|
|
44
32
|
|
|
45
|
-
export { NgDocFocusableDirective
|
|
33
|
+
export { NgDocFocusableDirective };
|
|
46
34
|
//# sourceMappingURL=ng-doc-ui-kit-directives-focusable.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-focusable.mjs","sources":["../../../../libs/ui-kit/directives/focusable/focusable.directive.ts","../../../../libs/ui-kit/directives/focusable/
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-focusable.mjs","sources":["../../../../libs/ui-kit/directives/focusable/focusable.directive.ts","../../../../libs/ui-kit/directives/focusable/ng-doc-ui-kit-directives-focusable.ts"],"sourcesContent":["import {Directive, HostBinding, Input} from '@angular/core';\n\n@Directive({\n\tselector: '[ngDocFocusable]',\n\texportAs: 'ngDocFocusable',\n\tstandalone: true,\n})\nexport class NgDocFocusableDirective {\n\t@Input('ngDocFocusable')\n\tfocusable: boolean = true;\n\n\t@HostBinding('attr.tabIndex')\n\tget tabIndex(): number {\n\t\treturn this.focusable ? 0 : -1;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAKa,uBAAuB,CAAA;AALpC,IAAA,WAAA,GAAA;QAOC,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC;AAM1B,KAAA;AAJA,IAAA,IACI,QAAQ,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/B;8GAPW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,CAAA,gBAAA,EAAA,WAAA,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,eAAA,EAAA,eAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;8BAGA,SAAS,EAAA,CAAA;sBADR,KAAK;uBAAC,gBAAgB,CAAA;gBAInB,QAAQ,EAAA,CAAA;sBADX,WAAW;uBAAC,eAAe,CAAA;;;ACX7B;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, NgZone, Directive, Input, Output
|
|
3
|
+
import { EventEmitter, NgZone, Directive, Input, Output } from '@angular/core';
|
|
4
4
|
import { isKeyboardEvent } from '@ng-doc/core/helpers/is-keyboard-event';
|
|
5
5
|
import { objectKeys } from '@ng-doc/core/helpers/object-keys';
|
|
6
6
|
import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
|
|
@@ -24,7 +24,7 @@ let NgDocHotkeyDirective = class NgDocHotkeyDirective {
|
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocHotkeyDirective, selector: "[ngDocHotkey]", inputs: { hotkey: ["ngDocHotkey", "hotkey"] }, outputs: { callback: "ngDocHotkey" }, ngImport: i0 }); }
|
|
27
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocHotkeyDirective, isStandalone: true, selector: "[ngDocHotkey]", inputs: { hotkey: ["ngDocHotkey", "hotkey"] }, outputs: { callback: "ngDocHotkey" }, ngImport: i0 }); }
|
|
28
28
|
};
|
|
29
29
|
NgDocHotkeyDirective = __decorate([
|
|
30
30
|
UntilDestroy(),
|
|
@@ -34,6 +34,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: '[ngDocHotkey]',
|
|
37
|
+
standalone: true,
|
|
37
38
|
}]
|
|
38
39
|
}], ctorParameters: function () { return [{ type: i0.NgZone }]; }, propDecorators: { hotkey: [{
|
|
39
40
|
type: Input,
|
|
@@ -43,22 +44,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
43
44
|
args: ['ngDocHotkey']
|
|
44
45
|
}] } });
|
|
45
46
|
|
|
46
|
-
class NgDocHotkeyModule {
|
|
47
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
48
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, declarations: [NgDocHotkeyDirective], exports: [NgDocHotkeyDirective] }); }
|
|
49
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule }); }
|
|
50
|
-
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocHotkeyModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [NgDocHotkeyDirective],
|
|
55
|
-
exports: [NgDocHotkeyDirective],
|
|
56
|
-
}]
|
|
57
|
-
}] });
|
|
58
|
-
|
|
59
47
|
/**
|
|
60
48
|
* Generated bundle index. Do not edit.
|
|
61
49
|
*/
|
|
62
50
|
|
|
63
|
-
export { NgDocHotkeyDirective
|
|
51
|
+
export { NgDocHotkeyDirective };
|
|
64
52
|
//# sourceMappingURL=ng-doc-ui-kit-directives-hotkey.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-hotkey.mjs","sources":["../../../../libs/ui-kit/directives/hotkey/hotkey.directive.ts","../../../../libs/ui-kit/directives/hotkey/
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-hotkey.mjs","sources":["../../../../libs/ui-kit/directives/hotkey/hotkey.directive.ts","../../../../libs/ui-kit/directives/hotkey/ng-doc-ui-kit-directives-hotkey.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, NgZone, Output} from '@angular/core';\nimport {isKeyboardEvent} from '@ng-doc/core/helpers/is-keyboard-event';\nimport {objectKeys} from '@ng-doc/core/helpers/object-keys';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, Observable} from 'rxjs';\nimport {filter, share} from 'rxjs/operators';\n\nconst KEYUP_EVENT: Observable<Event> = fromEvent(document, 'keyup').pipe(share());\n\n@Directive({\n\tselector: '[ngDocHotkey]',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocHotkeyDirective {\n\t@Input('ngDocHotkey')\n\thotkey?: Partial<KeyboardEvent>;\n\n\t@Output('ngDocHotkey')\n\tcallback: EventEmitter<void> = new EventEmitter<void>();\n\n\tconstructor(private readonly ngZone: NgZone) {\n\t\tKEYUP_EVENT.pipe(\n\t\t\tfilter(isKeyboardEvent),\n\t\t\tfilter((event: KeyboardEvent) =>\n\t\t\t\tobjectKeys(this.hotkey ?? {}).every(\n\t\t\t\t\t(key: keyof KeyboardEvent) => this.hotkey && this.hotkey[key] === event[key],\n\t\t\t\t),\n\t\t\t),\n\t\t\tfilter((event: KeyboardEvent) => {\n\t\t\t\tif (event.target instanceof HTMLElement) {\n\t\t\t\t\treturn !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}),\n\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\tuntilDestroyed(this),\n\t\t).subscribe((event: KeyboardEvent) => {\n\t\t\tevent.preventDefault();\n\t\t\tthis.callback.emit();\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAQA,MAAM,WAAW,GAAsB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;AAOrE,IAAA,oBAAoB,GALjC,MAKa,oBAAoB,CAAA;AAOhC,IAAA,WAAA,CAA6B,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;AAF3C,QAAA,IAAA,CAAA,QAAQ,GAAuB,IAAI,YAAY,EAAQ,CAAC;QAGvD,WAAW,CAAC,IAAI,CACf,MAAM,CAAC,eAAe,CAAC,EACvB,MAAM,CAAC,CAAC,KAAoB,KAC3B,UAAU,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,KAAK,CAClC,CAAC,GAAwB,KAAK,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,CAC5E,CACD,EACD,MAAM,CAAC,CAAC,KAAoB,KAAI;AAC/B,YAAA,IAAI,KAAK,CAAC,MAAM,YAAY,WAAW,EAAE;gBACxC,OAAO,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AACrF,aAAA;AACD,YAAA,OAAO,IAAI,CAAC;SACZ,CAAC,EACF,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAC9B,cAAc,CAAC,IAAI,CAAC,CACpB,CAAC,SAAS,CAAC,CAAC,KAAoB,KAAI;YACpC,KAAK,CAAC,cAAc,EAAE,CAAC;AACvB,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;AACtB,SAAC,CAAC,CAAC;KACH;8GA3BW,oBAAoB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,QAAA,CAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,aAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAApB,oBAAoB,GAAA,UAAA,CAAA;AADhC,IAAA,YAAY,EAAE;qCAQuB,MAAM,CAAA,CAAA;AAP/B,CAAA,EAAA,oBAAoB,CA4BhC,CAAA;2FA5BY,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;6FAIA,MAAM,EAAA,CAAA;sBADL,KAAK;uBAAC,aAAa,CAAA;gBAIpB,QAAQ,EAAA,CAAA;sBADP,MAAM;uBAAC,aAAa,CAAA;;;ACnBtB;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, Directive, HostListener
|
|
3
|
+
import { ElementRef, Directive, HostListener } from '@angular/core';
|
|
4
4
|
import { isPresent } from '@ng-doc/core/helpers/is-present';
|
|
5
5
|
import { NgDocBaseInput } from '@ng-doc/ui-kit/classes/base-input';
|
|
6
6
|
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
@@ -22,7 +22,7 @@ let NgDocInputNumberDirective = NgDocInputNumberDirective_1 = class NgDocInputNu
|
|
|
22
22
|
toElement(this.elementRef).value = isPresent(value) ? String(Number(value)) : '';
|
|
23
23
|
}
|
|
24
24
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputNumberDirective, selector: "input[ngDocInputNumber]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [{ provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective_1 }], usesInheritance: true, ngImport: i0 }); }
|
|
25
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputNumberDirective, isStandalone: true, selector: "input[ngDocInputNumber]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [{ provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective_1 }], usesInheritance: true, ngImport: i0 }); }
|
|
26
26
|
};
|
|
27
27
|
NgDocInputNumberDirective = NgDocInputNumberDirective_1 = __decorate([
|
|
28
28
|
UntilDestroy(),
|
|
@@ -33,6 +33,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
33
33
|
args: [{
|
|
34
34
|
selector: `input[ngDocInputNumber]`,
|
|
35
35
|
providers: [{ provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective }],
|
|
36
|
+
standalone: true,
|
|
36
37
|
}]
|
|
37
38
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { blurEvent: [{
|
|
38
39
|
type: HostListener,
|
|
@@ -42,22 +43,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
42
43
|
args: ['input']
|
|
43
44
|
}] } });
|
|
44
45
|
|
|
45
|
-
class NgDocInputNumberModule {
|
|
46
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
47
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, declarations: [NgDocInputNumberDirective], exports: [NgDocInputNumberDirective] }); }
|
|
48
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule }); }
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputNumberModule, decorators: [{
|
|
51
|
-
type: NgModule,
|
|
52
|
-
args: [{
|
|
53
|
-
declarations: [NgDocInputNumberDirective],
|
|
54
|
-
exports: [NgDocInputNumberDirective],
|
|
55
|
-
}]
|
|
56
|
-
}] });
|
|
57
|
-
|
|
58
46
|
/**
|
|
59
47
|
* Generated bundle index. Do not edit.
|
|
60
48
|
*/
|
|
61
49
|
|
|
62
|
-
export { NgDocInputNumberDirective
|
|
50
|
+
export { NgDocInputNumberDirective };
|
|
63
51
|
//# sourceMappingURL=ng-doc-ui-kit-directives-input-number.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-input-number.mjs","sources":["../../../../libs/ui-kit/directives/input-number/input-number.directive.ts","../../../../libs/ui-kit/directives/input-number/
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-input-number.mjs","sources":["../../../../libs/ui-kit/directives/input-number/input-number.directive.ts","../../../../libs/ui-kit/directives/input-number/ng-doc-ui-kit-directives-input-number.ts"],"sourcesContent":["import {Directive, ElementRef, HostListener} from '@angular/core';\nimport {isPresent} from '@ng-doc/core/helpers/is-present';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {UntilDestroy} from '@ngneat/until-destroy';\n\n@Directive({\n\tselector: `input[ngDocInputNumber]`,\n\tproviders: [{provide: NgDocBaseInput, useExisting: NgDocInputNumberDirective}],\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocInputNumberDirective extends NgDocBaseInput<number> {\n\tconstructor(override elementRef: ElementRef<HTMLInputElement>) {\n\t\tsuper();\n\t}\n\n\t@HostListener('blur')\n\tblurEvent(): void {\n\t\tthis.onTouched();\n\t}\n\n\t@HostListener('input')\n\tinputEvent(): void {\n\t\tthis.updateModel(Number(this.elementRef.nativeElement.value));\n\t}\n\n\tprotected override incomingUpdate(value: number | null): void {\n\t\ttoElement(this.elementRef).value = isPresent(value) ? String(Number(value)) : '';\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMA,IAMa,yBAAyB,GAAA,2BAAA,GANtC,MAMa,yBAA0B,SAAQ,cAAsB,CAAA;AACpE,IAAA,WAAA,CAAqB,UAAwC,EAAA;AAC5D,QAAA,KAAK,EAAE,CAAC;QADY,IAAU,CAAA,UAAA,GAAV,UAAU,CAA8B;KAE5D;IAGD,SAAS,GAAA;QACR,IAAI,CAAC,SAAS,EAAE,CAAC;KACjB;IAGD,UAAU,GAAA;AACT,QAAA,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9D;AAEkB,IAAA,cAAc,CAAC,KAAoB,EAAA;QACrD,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC;KACjF;8GAjBW,yBAAyB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,MAAA,EAAA,aAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EAAA,EAAA,SAAA,EAJ1B,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,2BAAyB,EAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAIlE,yBAAyB,GAAA,2BAAA,GAAA,UAAA,CAAA;AADrC,IAAA,YAAY,EAAE;qCAEmB,UAAU,CAAA,CAAA;AAD/B,CAAA,EAAA,yBAAyB,CAkBrC,CAAA;2FAlBY,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,CAAyB,uBAAA,CAAA;oBACnC,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAA2B,yBAAA,EAAC,CAAC;AAC9E,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;iGAQA,SAAS,EAAA,CAAA;sBADR,YAAY;uBAAC,MAAM,CAAA;gBAMpB,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,OAAO,CAAA;;;ACtBtB;;AAEG;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { ElementRef, Directive, HostListener
|
|
3
|
+
import { ElementRef, Directive, HostListener } from '@angular/core';
|
|
4
4
|
import { isPresent } from '@ng-doc/core/helpers/is-present';
|
|
5
5
|
import { NgDocBaseInput } from '@ng-doc/ui-kit/classes/base-input';
|
|
6
6
|
import { toElement } from '@ng-doc/ui-kit/helpers';
|
|
@@ -23,9 +23,7 @@ let NgDocInputStringDirective = NgDocInputStringDirective_1 = class NgDocInputSt
|
|
|
23
23
|
toElement(this.elementRef).value = isPresent(value) ? String(value) : '';
|
|
24
24
|
}
|
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputStringDirective, selector: "input[ngDocInputString]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
27
|
-
{ provide: NgDocBaseInput, useExisting: NgDocInputStringDirective_1 },
|
|
28
|
-
], usesInheritance: true, ngImport: i0 }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocInputStringDirective, isStandalone: true, selector: "input[ngDocInputString]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [{ provide: NgDocBaseInput, useExisting: NgDocInputStringDirective_1 }], usesInheritance: true, ngImport: i0 }); }
|
|
29
27
|
};
|
|
30
28
|
NgDocInputStringDirective = NgDocInputStringDirective_1 = __decorate([
|
|
31
29
|
UntilDestroy(),
|
|
@@ -35,9 +33,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
35
33
|
type: Directive,
|
|
36
34
|
args: [{
|
|
37
35
|
selector: `input[ngDocInputString]`,
|
|
38
|
-
providers: [
|
|
39
|
-
|
|
40
|
-
],
|
|
36
|
+
providers: [{ provide: NgDocBaseInput, useExisting: NgDocInputStringDirective }],
|
|
37
|
+
standalone: true,
|
|
41
38
|
}]
|
|
42
39
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { blurEvent: [{
|
|
43
40
|
type: HostListener,
|
|
@@ -47,22 +44,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
|
|
|
47
44
|
args: ['input']
|
|
48
45
|
}] } });
|
|
49
46
|
|
|
50
|
-
class NgDocInputStringModule {
|
|
51
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
52
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, declarations: [NgDocInputStringDirective], exports: [NgDocInputStringDirective] }); }
|
|
53
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule }); }
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocInputStringModule, decorators: [{
|
|
56
|
-
type: NgModule,
|
|
57
|
-
args: [{
|
|
58
|
-
declarations: [NgDocInputStringDirective],
|
|
59
|
-
exports: [NgDocInputStringDirective],
|
|
60
|
-
}]
|
|
61
|
-
}] });
|
|
62
|
-
|
|
63
47
|
/**
|
|
64
48
|
* Generated bundle index. Do not edit.
|
|
65
49
|
*/
|
|
66
50
|
|
|
67
|
-
export { NgDocInputStringDirective
|
|
51
|
+
export { NgDocInputStringDirective };
|
|
68
52
|
//# sourceMappingURL=ng-doc-ui-kit-directives-input-string.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-input-string.mjs","sources":["../../../../libs/ui-kit/directives/input-string/input-string.directive.ts","../../../../libs/ui-kit/directives/input-string/
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-input-string.mjs","sources":["../../../../libs/ui-kit/directives/input-string/input-string.directive.ts","../../../../libs/ui-kit/directives/input-string/ng-doc-ui-kit-directives-input-string.ts"],"sourcesContent":["import {Directive, ElementRef, HostListener} from '@angular/core';\nimport {isPresent} from '@ng-doc/core/helpers/is-present';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {UntilDestroy} from '@ngneat/until-destroy';\n\n/** Directive converts any input data or model to text */\n@Directive({\n\tselector: `input[ngDocInputString]`,\n\tproviders: [{provide: NgDocBaseInput, useExisting: NgDocInputStringDirective}],\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocInputStringDirective extends NgDocBaseInput<string> {\n\tconstructor(override elementRef: ElementRef<HTMLInputElement>) {\n\t\tsuper();\n\t}\n\n\t@HostListener('blur')\n\tblurEvent(): void {\n\t\tthis.onTouched();\n\t}\n\n\t@HostListener('input')\n\tinputEvent(): void {\n\t\tthis.updateModel(this.elementRef.nativeElement.value);\n\t}\n\n\tprotected override incomingUpdate(value: string | null): void {\n\t\ttoElement(this.elementRef).value = isPresent(value) ? String(value) : '';\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAMA;AACA,IAMa,yBAAyB,GAAA,2BAAA,GANtC,MAMa,yBAA0B,SAAQ,cAAsB,CAAA;AACpE,IAAA,WAAA,CAAqB,UAAwC,EAAA;AAC5D,QAAA,KAAK,EAAE,CAAC;QADY,IAAU,CAAA,UAAA,GAAV,UAAU,CAA8B;KAE5D;IAGD,SAAS,GAAA;QACR,IAAI,CAAC,SAAS,EAAE,CAAC;KACjB;IAGD,UAAU,GAAA;QACT,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACtD;AAEkB,IAAA,cAAc,CAAC,KAAoB,EAAA;QACrD,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC;KACzE;8GAjBW,yBAAyB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,MAAA,EAAA,aAAA,EAAA,OAAA,EAAA,cAAA,EAAA,EAAA,EAAA,SAAA,EAJ1B,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,2BAAyB,EAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAIlE,yBAAyB,GAAA,2BAAA,GAAA,UAAA,CAAA;AADrC,IAAA,YAAY,EAAE;qCAEmB,UAAU,CAAA,CAAA;AAD/B,CAAA,EAAA,yBAAyB,CAkBrC,CAAA;2FAlBY,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBANrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,CAAyB,uBAAA,CAAA;oBACnC,SAAS,EAAE,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,WAAW,EAA2B,yBAAA,EAAC,CAAC;AAC9E,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;iGAQA,SAAS,EAAA,CAAA;sBADR,YAAY;uBAAC,MAAM,CAAA;gBAMpB,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,OAAO,CAAA;;;ACvBtB;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
class NgDocLetContext {
|
|
5
5
|
constructor(internalDirectiveInstance) {
|
|
@@ -23,33 +23,21 @@ class NgDocLetDirective {
|
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
25
25
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLetDirective, selector: "[ngDocLet]", inputs: { ngDocLet: "ngDocLet" }, ngImport: i0 }); }
|
|
26
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLetDirective, isStandalone: true, selector: "[ngDocLet]", inputs: { ngDocLet: "ngDocLet" }, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetDirective, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[ngDocLet]',
|
|
32
|
+
standalone: true,
|
|
32
33
|
}]
|
|
33
34
|
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngDocLet: [{
|
|
34
35
|
type: Input
|
|
35
36
|
}] } });
|
|
36
37
|
|
|
37
|
-
class NgDocLetModule {
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
39
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, declarations: [NgDocLetDirective], exports: [NgDocLetDirective] }); }
|
|
40
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule }); }
|
|
41
|
-
}
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLetModule, decorators: [{
|
|
43
|
-
type: NgModule,
|
|
44
|
-
args: [{
|
|
45
|
-
declarations: [NgDocLetDirective],
|
|
46
|
-
exports: [NgDocLetDirective],
|
|
47
|
-
}]
|
|
48
|
-
}] });
|
|
49
|
-
|
|
50
38
|
/**
|
|
51
39
|
* Generated bundle index. Do not edit.
|
|
52
40
|
*/
|
|
53
41
|
|
|
54
|
-
export { NgDocLetContext, NgDocLetDirective
|
|
42
|
+
export { NgDocLetContext, NgDocLetDirective };
|
|
55
43
|
//# sourceMappingURL=ng-doc-ui-kit-directives-let.mjs.map
|