@ng-doc/ui-kit 20.0.0-beta.1 → 20.0.0-beta.3
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/fesm2022/ng-doc-ui-kit-animations.mjs +49 -69
- package/fesm2022/ng-doc-ui-kit-animations.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-cdk.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-display-value-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-input-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-list-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-list-item.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-overlay-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +30 -13
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +9 -7
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs +8 -8
- package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +6 -6
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +12 -14
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +9 -9
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +9 -9
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +5 -20
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +8 -11
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs +6 -6
- package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +9 -9
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components.mjs +0 -1
- package/fesm2022/ng-doc-ui-kit-components.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-constants.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-decorators.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-helpers.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-interfaces.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-observables.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-pipes.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-providers-ng-doc-ui-kit-config.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-providers.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-dialog.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-dialog.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-tokens.mjs +8 -2
- package/fesm2022/ng-doc-ui-kit-tokens.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-types.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-utils.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit.mjs.map +1 -1
- package/package.json +139 -143
- package/types/ng-doc-ui-kit-animations.d.ts +10 -0
- package/{classes/base-input/index.d.ts → types/ng-doc-ui-kit-classes-base-input.d.ts} +1 -1
- package/{components/expander/index.d.ts → types/ng-doc-ui-kit-components-expander.d.ts} +5 -7
- package/{components/icon/index.d.ts → types/ng-doc-ui-kit-components-icon.d.ts} +1 -0
- package/{components/overlay-container/index.d.ts → types/ng-doc-ui-kit-components-overlay-container.d.ts} +0 -1
- package/{components/index.d.ts → types/ng-doc-ui-kit-components.d.ts} +0 -1
- package/{directives/checked-change/index.d.ts → types/ng-doc-ui-kit-directives-checked-change.d.ts} +1 -1
- package/{interfaces/index.d.ts → types/ng-doc-ui-kit-interfaces.d.ts} +3 -4
- package/{tokens/index.d.ts → types/ng-doc-ui-kit-tokens.d.ts} +3 -1
- package/types/{index.d.ts → ng-doc-ui-kit-types.d.ts} +3 -1
- package/animations/index.d.ts +0 -20
- package/components/smooth-resize/index.d.ts +0 -21
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +0 -60
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +0 -1
- /package/{cdk/combobox-host/index.d.ts → types/ng-doc-ui-kit-cdk-combobox-host.d.ts} +0 -0
- /package/{cdk/index.d.ts → types/ng-doc-ui-kit-cdk.d.ts} +0 -0
- /package/{classes/display-value-host/index.d.ts → types/ng-doc-ui-kit-classes-display-value-host.d.ts} +0 -0
- /package/{classes/input-host/index.d.ts → types/ng-doc-ui-kit-classes-input-host.d.ts} +0 -0
- /package/{classes/list-host/index.d.ts → types/ng-doc-ui-kit-classes-list-host.d.ts} +0 -0
- /package/{classes/list-item/index.d.ts → types/ng-doc-ui-kit-classes-list-item.d.ts} +0 -0
- /package/{classes/overlay-host/index.d.ts → types/ng-doc-ui-kit-classes-overlay-host.d.ts} +0 -0
- /package/{classes/overlay-ref/index.d.ts → types/ng-doc-ui-kit-classes-overlay-ref.d.ts} +0 -0
- /package/{classes/index.d.ts → types/ng-doc-ui-kit-classes.d.ts} +0 -0
- /package/{components/blockquote/index.d.ts → types/ng-doc-ui-kit-components-blockquote.d.ts} +0 -0
- /package/{components/button-icon/index.d.ts → types/ng-doc-ui-kit-components-button-icon.d.ts} +0 -0
- /package/{components/button-toggle/index.d.ts → types/ng-doc-ui-kit-components-button-toggle.d.ts} +0 -0
- /package/{components/button/index.d.ts → types/ng-doc-ui-kit-components-button.d.ts} +0 -0
- /package/{components/checkbox/index.d.ts → types/ng-doc-ui-kit-components-checkbox.d.ts} +0 -0
- /package/{components/clear-control/index.d.ts → types/ng-doc-ui-kit-components-clear-control.d.ts} +0 -0
- /package/{components/combobox/index.d.ts → types/ng-doc-ui-kit-components-combobox.d.ts} +0 -0
- /package/{components/data-list-group/index.d.ts → types/ng-doc-ui-kit-components-data-list-group.d.ts} +0 -0
- /package/{components/data-list/index.d.ts → types/ng-doc-ui-kit-components-data-list.d.ts} +0 -0
- /package/{components/dialog-outlet/index.d.ts → types/ng-doc-ui-kit-components-dialog-outlet.d.ts} +0 -0
- /package/{components/dot/index.d.ts → types/ng-doc-ui-kit-components-dot.d.ts} +0 -0
- /package/{components/dropdown/index.d.ts → types/ng-doc-ui-kit-components-dropdown.d.ts} +0 -0
- /package/{components/floated-border/index.d.ts → types/ng-doc-ui-kit-components-floated-border.d.ts} +0 -0
- /package/{components/floated-content/index.d.ts → types/ng-doc-ui-kit-components-floated-content.d.ts} +0 -0
- /package/{components/focus-control/index.d.ts → types/ng-doc-ui-kit-components-focus-control.d.ts} +0 -0
- /package/{components/input-wrapper/index.d.ts → types/ng-doc-ui-kit-components-input-wrapper.d.ts} +0 -0
- /package/{components/label/index.d.ts → types/ng-doc-ui-kit-components-label.d.ts} +0 -0
- /package/{components/line/index.d.ts → types/ng-doc-ui-kit-components-line.d.ts} +0 -0
- /package/{components/list/index.d.ts → types/ng-doc-ui-kit-components-list.d.ts} +0 -0
- /package/{components/magnifier-controller/index.d.ts → types/ng-doc-ui-kit-components-magnifier-controller.d.ts} +0 -0
- /package/{components/magnifier/index.d.ts → types/ng-doc-ui-kit-components-magnifier.d.ts} +0 -0
- /package/{components/option-group/index.d.ts → types/ng-doc-ui-kit-components-option-group.d.ts} +0 -0
- /package/{components/option/index.d.ts → types/ng-doc-ui-kit-components-option.d.ts} +0 -0
- /package/{components/overlay-pointer/index.d.ts → types/ng-doc-ui-kit-components-overlay-pointer.d.ts} +0 -0
- /package/{components/pane/index.d.ts → types/ng-doc-ui-kit-components-pane.d.ts} +0 -0
- /package/{components/selection/index.d.ts → types/ng-doc-ui-kit-components-selection.d.ts} +0 -0
- /package/{components/sidenav/index.d.ts → types/ng-doc-ui-kit-components-sidenav.d.ts} +0 -0
- /package/{components/spinner/index.d.ts → types/ng-doc-ui-kit-components-spinner.d.ts} +0 -0
- /package/{components/tab-group/index.d.ts → types/ng-doc-ui-kit-components-tab-group.d.ts} +0 -0
- /package/{components/tab-routes-group/index.d.ts → types/ng-doc-ui-kit-components-tab-routes-group.d.ts} +0 -0
- /package/{components/tag/index.d.ts → types/ng-doc-ui-kit-components-tag.d.ts} +0 -0
- /package/{components/text/index.d.ts → types/ng-doc-ui-kit-components-text.d.ts} +0 -0
- /package/{components/toggle/index.d.ts → types/ng-doc-ui-kit-components-toggle.d.ts} +0 -0
- /package/{components/wrapper/index.d.ts → types/ng-doc-ui-kit-components-wrapper.d.ts} +0 -0
- /package/{constants/index.d.ts → types/ng-doc-ui-kit-constants.d.ts} +0 -0
- /package/{decorators/index.d.ts → types/ng-doc-ui-kit-decorators.d.ts} +0 -0
- /package/{directives/autofocus/index.d.ts → types/ng-doc-ui-kit-directives-autofocus.d.ts} +0 -0
- /package/{directives/data/index.d.ts → types/ng-doc-ui-kit-directives-data.d.ts} +0 -0
- /package/{directives/dropdown-handler/index.d.ts → types/ng-doc-ui-kit-directives-dropdown-handler.d.ts} +0 -0
- /package/{directives/dropdown-origin/index.d.ts → types/ng-doc-ui-kit-directives-dropdown-origin.d.ts} +0 -0
- /package/{directives/event-switcher/index.d.ts → types/ng-doc-ui-kit-directives-event-switcher.d.ts} +0 -0
- /package/{directives/focus-catcher/index.d.ts → types/ng-doc-ui-kit-directives-focus-catcher.d.ts} +0 -0
- /package/{directives/focusable/index.d.ts → types/ng-doc-ui-kit-directives-focusable.d.ts} +0 -0
- /package/{directives/hotkey/index.d.ts → types/ng-doc-ui-kit-directives-hotkey.d.ts} +0 -0
- /package/{directives/input-number/index.d.ts → types/ng-doc-ui-kit-directives-input-number.d.ts} +0 -0
- /package/{directives/input-string/index.d.ts → types/ng-doc-ui-kit-directives-input-string.d.ts} +0 -0
- /package/{directives/let/index.d.ts → types/ng-doc-ui-kit-directives-let.d.ts} +0 -0
- /package/{directives/radio-group/index.d.ts → types/ng-doc-ui-kit-directives-radio-group.d.ts} +0 -0
- /package/{directives/rotator/index.d.ts → types/ng-doc-ui-kit-directives-rotator.d.ts} +0 -0
- /package/{directives/tooltip/index.d.ts → types/ng-doc-ui-kit-directives-tooltip.d.ts} +0 -0
- /package/{directives/index.d.ts → types/ng-doc-ui-kit-directives.d.ts} +0 -0
- /package/{helpers/index.d.ts → types/ng-doc-ui-kit-helpers.d.ts} +0 -0
- /package/{interceptors/index.d.ts → types/ng-doc-ui-kit-interceptors.d.ts} +0 -0
- /package/{observables/index.d.ts → types/ng-doc-ui-kit-observables.d.ts} +0 -0
- /package/{pipes/as-array/index.d.ts → types/ng-doc-ui-kit-pipes-as-array.d.ts} +0 -0
- /package/{pipes/bind/index.d.ts → types/ng-doc-ui-kit-pipes-bind.d.ts} +0 -0
- /package/{pipes/execute/index.d.ts → types/ng-doc-ui-kit-pipes-execute.d.ts} +0 -0
- /package/{pipes/highlighter/index.d.ts → types/ng-doc-ui-kit-pipes-highlighter.d.ts} +0 -0
- /package/{pipes/index.d.ts → types/ng-doc-ui-kit-pipes.d.ts} +0 -0
- /package/{providers/ng-doc-ui-kit-config/index.d.ts → types/ng-doc-ui-kit-providers-ng-doc-ui-kit-config.d.ts} +0 -0
- /package/{providers/index.d.ts → types/ng-doc-ui-kit-providers.d.ts} +0 -0
- /package/{services/dialog/index.d.ts → types/ng-doc-ui-kit-services-dialog.d.ts} +0 -0
- /package/{services/notify/index.d.ts → types/ng-doc-ui-kit-services-notify.d.ts} +0 -0
- /package/{services/overlay-strategy/index.d.ts → types/ng-doc-ui-kit-services-overlay-strategy.d.ts} +0 -0
- /package/{services/overlay/index.d.ts → types/ng-doc-ui-kit-services-overlay.d.ts} +0 -0
- /package/{services/scroll/index.d.ts → types/ng-doc-ui-kit-services-scroll.d.ts} +0 -0
- /package/{services/index.d.ts → types/ng-doc-ui-kit-services.d.ts} +0 -0
- /package/{utils/index.d.ts → types/ng-doc-ui-kit-utils.d.ts} +0 -0
- /package/{index.d.ts → types/ng-doc-ui-kit.d.ts} +0 -0
|
@@ -16,10 +16,10 @@ class NgDocAutofocusDirective {
|
|
|
16
16
|
Promise.resolve().then(() => element.select());
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocAutofocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
20
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocAutofocusDirective, isStandalone: true, selector: "[ngDocAutofocus]", inputs: { selectAll: "selectAll" }, ngImport: i0 }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocAutofocusDirective, decorators: [{
|
|
23
23
|
type: Directive,
|
|
24
24
|
args: [{
|
|
25
25
|
selector: '[ngDocAutofocus]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-autofocus.mjs","sources":["
|
|
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/ng-doc-ui-kit-directives-autofocus.ts"],"sourcesContent":["import { Directive, ElementRef, inject, Input, OnInit } from '@angular/core';\nimport { NgDocFocusUtils } from '@ng-doc/ui-kit/utils';\n\n@Directive({\n selector: '[ngDocAutofocus]',\n standalone: true,\n})\nexport class NgDocAutofocusDirective implements OnInit {\n private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n @Input()\n selectAll: boolean = false;\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor(...args: unknown[]);\n\n constructor() {}\n\n ngOnInit(): void {\n const element: HTMLElement = this.elementRef.nativeElement;\n\n if (NgDocFocusUtils.isNativeKeyboardFocusable(element)) {\n element.focus();\n }\n\n if (this.selectAll && element instanceof HTMLInputElement) {\n Promise.resolve().then(() => element.select());\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,uBAAuB,CAAA;AASlC,IAAA,WAAA,GAAA;AARQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;QAGhE,IAAA,CAAA,SAAS,GAAY,KAAK;IAKX;IAEf,QAAQ,GAAA;AACN,QAAA,MAAM,OAAO,GAAgB,IAAI,CAAC,UAAU,CAAC,aAAa;AAE1D,QAAA,IAAI,eAAe,CAAC,yBAAyB,CAAC,OAAO,CAAC,EAAE;YACtD,OAAO,CAAC,KAAK,EAAE;QACjB;QAEA,IAAI,IAAI,CAAC,SAAS,IAAI,OAAO,YAAY,gBAAgB,EAAE;AACzD,YAAA,OAAO,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,OAAO,CAAC,MAAM,EAAE,CAAC;QAChD;IACF;8GArBW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAIE;;;ACVH;;AAEG;;;;"}
|
|
@@ -12,17 +12,17 @@ class NgDocCheckedChangeDirective {
|
|
|
12
12
|
this.ngDocCheckedChange = new EventEmitter();
|
|
13
13
|
this.updateProperty('checked', false);
|
|
14
14
|
}
|
|
15
|
-
onChange(
|
|
15
|
+
onChange(target) {
|
|
16
16
|
this.updateProperty('indeterminate', false);
|
|
17
|
-
this.ngDocCheckedChange.emit(checked);
|
|
17
|
+
this.ngDocCheckedChange.emit(target instanceof HTMLInputElement ? target.checked : false);
|
|
18
18
|
}
|
|
19
19
|
updateProperty(property, value) {
|
|
20
20
|
this.renderer.setProperty(this.element.nativeElement, property, value);
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocCheckedChangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocCheckedChangeDirective, isStandalone: true, selector: "input[ngDocChecked], input[ngDocCheckedChange]", inputs: { ngDocChecked: "ngDocChecked" }, outputs: { ngDocCheckedChange: "ngDocCheckedChange" }, host: { listeners: { "change": "onChange($event.target)" } }, ngImport: i0 }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocCheckedChangeDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: 'input[ngDocChecked], input[ngDocCheckedChange]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-checked-change.mjs","sources":["
|
|
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/ng-doc-ui-kit-directives-checked-change.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n inject,\n Input,\n Output,\n Renderer2,\n} from '@angular/core';\n\n@Directive({\n selector: 'input[ngDocChecked], input[ngDocCheckedChange]',\n standalone: true,\n})\nexport class NgDocCheckedChangeDirective {\n private readonly element = inject<ElementRef<HTMLInputElement>>(ElementRef);\n private readonly renderer = inject(Renderer2);\n\n @Input()\n set ngDocChecked(checked: null | boolean) {\n this.updateProperty('checked', checked || false);\n this.updateProperty('indeterminate', checked === null);\n }\n\n @Output()\n readonly ngDocCheckedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n constructor() {\n this.updateProperty('checked', false);\n }\n\n @HostListener('change', ['$event.target'])\n onChange(target: EventTarget | null): void {\n this.updateProperty('indeterminate', false);\n this.ngDocCheckedChange.emit(target instanceof HTMLInputElement ? target.checked : false);\n }\n\n private updateProperty(property: 'checked' | 'indeterminate', value: boolean): void {\n this.renderer.setProperty(this.element.nativeElement, property, value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAea,2BAA2B,CAAA;IAItC,IACI,YAAY,CAAC,OAAuB,EAAA;QACtC,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,OAAO,IAAI,KAAK,CAAC;QAChD,IAAI,CAA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AA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAKE;;sBAMA;;sBAOA,YAAY;uBAAC,QAAQ,EAAE,CAAC,eAAe,CAAC;;;AChC3C;;AAEG;;;;"}
|
|
@@ -6,10 +6,10 @@ class NgDocDataDirective {
|
|
|
6
6
|
this.template = inject(TemplateRef);
|
|
7
7
|
this.viewContainerRef = inject(ViewContainerRef);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDataDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocDataDirective, isStandalone: true, selector: "[ngDocData]", ngImport: i0 }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDataDirective, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: '[ngDocData]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-data.mjs","sources":["
|
|
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, inject, TemplateRef, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[ngDocData]',\n standalone: true,\n})\nexport class NgDocDataDirective {\n protected template = inject<TemplateRef<unknown>>(TemplateRef);\n protected viewContainerRef = inject(ViewContainerRef);\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor(...args: unknown[]);\n\n constructor() {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAO7B,IAAA,WAAA,GAAA;AANU,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAuB,WAAW,CAAC;AACpD,QAAA,IAAA,CAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAKtC;8GAPJ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,aAAa;AACvB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -15,10 +15,10 @@ class NgDocDropdownHandlerDirective {
|
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDropdownHandlerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
19
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocDropdownHandlerDirective, isStandalone: true, selector: "[ngDocDropdownHandler]", inputs: { dropdown: ["ngDocDropdownHandler", "dropdown"] }, host: { listeners: { "keydown": "keyboardEvent($event)" } }, ngImport: i0 }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDropdownHandlerDirective, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: '[ngDocDropdownHandler]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-dropdown-handler.mjs","sources":["
|
|
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":";;;;MAOa,6BAA6B,CAAA;AAKzC,IAAA,aAAa,CAAC,KAAoB,EAAA;AACjC,QAAA,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;AACtB,gBAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;YACrB;AAEA,YAAA,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE;gBACrD,KAAK,CAAC,cAAc,EAAE;AACtB,gBAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;YACtB;QACD;IACD;8GAjBY,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;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;;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;;sBAEC,KAAK;uBAAC,sBAAsB;;sBAG5B,YAAY;uBAAC,SAAS,EAAE,CAAC,QAAQ,CAAC;;;ACXpC;;AAEG;;;;"}
|
|
@@ -9,15 +9,15 @@ class NgDocDropdownOriginDirective extends CdkOverlayOrigin {
|
|
|
9
9
|
super(origin);
|
|
10
10
|
this.origin = origin;
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDropdownOriginDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocDropdownOriginDirective, isStandalone: true, selector: "[ngDocDropdownOrigin]", providers: [
|
|
14
14
|
{
|
|
15
15
|
provide: NgDocOverlayHost,
|
|
16
16
|
useExisting: NgDocDropdownOriginDirective,
|
|
17
17
|
},
|
|
18
18
|
], exportAs: ["ngDocDropdownOrigin"], usesInheritance: true, ngImport: i0 }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocDropdownOriginDirective, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: '[ngDocDropdownOrigin]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-dropdown-origin.mjs","sources":["
|
|
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, inject } from '@angular/core';\nimport { NgDocOverlayHost } from '@ng-doc/ui-kit/classes/overlay-host';\n\n@Directive({\n selector: '[ngDocDropdownOrigin]',\n exportAs: 'ngDocDropdownOrigin',\n providers: [\n {\n provide: NgDocOverlayHost,\n useExisting: NgDocDropdownOriginDirective,\n },\n ],\n standalone: true,\n})\nexport class NgDocDropdownOriginDirective extends CdkOverlayOrigin implements NgDocOverlayHost {\n origin: ElementRef<HTMLElement>;\n\n /** Inserted by Angular inject() migration for backwards compatibility */\n constructor(...args: unknown[]);\n\n constructor() {\n const origin = inject<ElementRef<HTMLElement>>(ElementRef);\n\n super(origin);\n\n this.origin = origin;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAeM,MAAO,4BAA6B,SAAQ,gBAAgB,CAAA;AAMhE,IAAA,WAAA,GAAA;AACE,QAAA,MAAM,MAAM,GAAG,MAAM,CAA0B,UAAU,CAAC;QAE1D,KAAK,CAAC,MAAM,CAAC;AAEb,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM;IACtB;8GAZW,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAA5B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,SAAA,EAR5B;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,gBAAgB;AACzB,gBAAA,WAAW,EAAE,4BAA4B;AAC1C,aAAA;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAGU,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBAXxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,gBAAgB;AACzB,4BAAA,WAAW,EAAA,4BAA8B;AAC1C,yBAAA;AACF,qBAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACdD;;AAEG;;;;"}
|
|
@@ -28,10 +28,10 @@ class NgDocEventSwitcherDirective {
|
|
|
28
28
|
const eventConstructor = from.constructor;
|
|
29
29
|
target.dispatchEvent(new eventConstructor(from.type, from));
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
32
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocEventSwitcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
32
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocEventSwitcherDirective, isStandalone: true, selector: "[ngDocEventSwitcher]", inputs: { switchTo: ["ngDocEventSwitcher", "switchTo"], events: "events" }, ngImport: i0 }); }
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocEventSwitcherDirective, decorators: [{
|
|
35
35
|
type: Directive,
|
|
36
36
|
args: [{
|
|
37
37
|
selector: '[ngDocEventSwitcher]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-event-switcher.mjs","sources":["
|
|
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 { DestroyRef, Directive, ElementRef, inject, Input, NgZone, OnInit } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\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 { fromEvent, merge } from 'rxjs';\n\n@Directive({\n selector: '[ngDocEventSwitcher]',\n standalone: true,\n})\nexport class NgDocEventSwitcherDirective implements OnInit {\n private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private ngZone = inject(NgZone);\n\n @Input('ngDocEventSwitcher')\n switchTo: BaseElement<HTMLElement> | null = null;\n\n @Input()\n events: string | string[] = [];\n\n private readonly destroyRef = inject(DestroyRef);\n\n constructor() {}\n\n ngOnInit(): void {\n merge(\n ...asArray(this.events).map((eventName: string) =>\n fromEvent(this.elementRef.nativeElement, eventName),\n ),\n )\n .pipe(ngDocZoneDetach(this.ngZone), takeUntilDestroyed(this.destroyRef))\n .subscribe((event: Event) => {\n if (this.switchTo && !event.defaultPrevented && event.bubbles) {\n event.stopPropagation();\n this.makeEvent(event, toElement(this.switchTo));\n }\n });\n }\n\n private makeEvent(from: Event, target: Element): void {\n const eventConstructor: Constructor<Event> = from.constructor as Constructor<Event>;\n target.dispatchEvent(new eventConstructor(from.type, from));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAaa,2BAA2B,CAAA;AAYtC,IAAA,WAAA,GAAA;AAXQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAG/B,IAAA,CAAA,QAAQ,GAAoC,IAAI;QAGhD,IAAA,CAAA,MAAM,GAAsB,EAAE;AAEb,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC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AAE,sBAAsB;AAChC,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAKE,KAAK;uBAAC,oBAAoB;;sBAG1B;;;ACpBH;;AAEG;;;;"}
|
|
@@ -26,10 +26,10 @@ class NgDocFocusCatcherDirective {
|
|
|
26
26
|
static observeFocus(element) {
|
|
27
27
|
return merge(fromEvent(element, FOCUS_EVENT), fromEvent(element, BLUR_EVENT)).pipe(debounceTime(0), distinctUntilChanged((a, b) => a.type === b.type));
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocFocusCatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocFocusCatcherDirective, isStandalone: true, selector: "[ngDocFocusCatcher]", outputs: { focusEvent: "focusEvent", blurEvent: "blurEvent" }, host: { properties: { "attr.data-ng-doc-focused": "this.focused" } }, exportAs: ["ngDocFocusCatcher"], ngImport: i0 }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocFocusCatcherDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: '[ngDocFocusCatcher]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-focus-catcher.mjs","sources":["../tmp-esm2022/directives/focus-catcher/focus-catcher.directive.js","../tmp-esm2022/directives/focus-catcher/ng-doc-ui-kit-directives-focus-catcher.js"],"sourcesContent":["import { ChangeDetectorRef, Directive, ElementRef, EventEmitter, HostBinding, inject, NgZone, Output, } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\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 { fromEvent, merge } from 'rxjs';\nimport { debounceTime, distinctUntilChanged } from 'rxjs/operators';\nimport * as i0 from \"@angular/core\";\nexport class NgDocFocusCatcherDirective {\n constructor() {\n this.elementRef = inject(ElementRef);\n this.ngZone = inject(NgZone);\n this.changeDetectorRef = inject(ChangeDetectorRef);\n this.focusEvent = new EventEmitter();\n this.blurEvent = new EventEmitter();\n this.focused = false;\n NgDocFocusCatcherDirective.observeFocus(toElement(this.elementRef))\n .pipe(ngDocZoneOptimize(this.ngZone), takeUntilDestroyed())\n .subscribe((event) => {\n this.focused = event.type === FOCUS_EVENT;\n this.focused ? this.focusEvent.emit(event) : this.blurEvent.emit(event);\n this.changeDetectorRef.markForCheck();\n });\n }\n static observeFocus(element) {\n return merge(fromEvent(element, FOCUS_EVENT), fromEvent(element, BLUR_EVENT)).pipe(debounceTime(0), distinctUntilChanged((a, b) => a.type === b.type));\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: NgDocFocusCatcherDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }\n static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: \"14.0.0\", version: \"20.0.3\", type: NgDocFocusCatcherDirective, isStandalone: true, selector: \"[ngDocFocusCatcher]\", outputs: { focusEvent: \"focusEvent\", blurEvent: \"blurEvent\" }, host: { properties: { \"attr.data-ng-doc-focused\": \"this.focused\" } }, exportAs: [\"ngDocFocusCatcher\"], ngImport: i0 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.0.3\", ngImport: i0, type: NgDocFocusCatcherDirective, decorators: [{\n type: Directive,\n args: [{\n selector: '[ngDocFocusCatcher]',\n exportAs: 'ngDocFocusCatcher',\n standalone: true,\n }]\n }], ctorParameters: () => [], propDecorators: { focusEvent: [{\n type: Output\n }], blurEvent: [{\n type: Output\n }], focused: [{\n type: HostBinding,\n args: ['attr.data-ng-doc-focused']\n }] } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9jdXMtY2F0Y2hlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpLWtpdC9kaXJlY3RpdmVzL2ZvY3VzLWNhdGNoZXIvZm9jdXMtY2F0Y2hlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixTQUFTLEVBQ1QsVUFBVSxFQUNWLFlBQVksRUFDWixXQUFXLEVBQ1gsTUFBTSxFQUNOLE1BQU0sRUFDTixNQUFNLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDaEUsT0FBTyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDL0QsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQWMsTUFBTSxNQUFNLENBQUM7QUFDcEQsT0FBTyxFQUFFLFlBQVksRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGdCQUFnQixDQUFDOztBQU9wRSxNQUFNLE9BQU8s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m9uZU9wdGltaXplKHRoaXMubmdab25lKSwgdGFrZVVudGlsRGVzdHJveWVkKCkpXG4gICAgICAuc3Vic2NyaWJlKChldmVudDogRm9jdXNFdmVudCkgPT4ge1xuICAgICAgICB0aGlzLmZvY3VzZWQgPSBldmVudC50eXBlID09PSBGT0NVU19FVkVOVDtcbiAgICAgICAgdGhpcy5mb2N1c2VkID8gdGhpcy5mb2N1c0V2ZW50LmVtaXQoZXZlbnQpIDogdGhpcy5ibHVyRXZlbnQuZW1pdChldmVudCk7XG4gICAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYubWFya0ZvckNoZWNrKCk7XG4gICAgICB9KTtcbiAgfVxuXG4gIHN0YXRpYyBvYnNlcnZlRm9jdXMoZWxlbWVudDogSFRNTEVsZW1lbnQpOiBPYnNlcnZhYmxlPEZvY3VzRXZlbnQ+IHtcbiAgICByZXR1cm4gbWVyZ2UoXG4gICAgICBmcm9tRXZlbnQ8Rm9jdXNFdmVudD4oZWxlbWVudCwgRk9DVVNfRVZFTlQpLFxuICAgICAgZnJvbUV2ZW50PEZvY3VzRXZlbnQ+KGVsZW1lbnQsIEJMVVJfRVZFTlQpLFxuICAgICkucGlwZShcbiAgICAgIGRlYm91bmNlVGltZSgwKSxcbiAgICAgIGRpc3RpbmN0VW50aWxDaGFuZ2VkKChhOiBGb2N1c0V2ZW50LCBiOiBGb2N1c0V2ZW50KSA9PiBhLnR5cGUgPT09IGIudHlwZSksXG4gICAgKTtcbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctZG9jLXVpLWtpdC1kaXJlY3RpdmVzLWZvY3VzLWNhdGNoZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL3VpLWtpdC9kaXJlY3RpdmVzL2ZvY3VzLWNhdGNoZXIvbmctZG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;AACnD,oBAAoB,QAAQ,EAAE,mBAAmB;AACjD,oBAAoB,UAAU,EAAE,IAAI;AACpC,iBAAiB;AACjB,SAAS,CAAC,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,cAAc,EAAE,EAAE,UAAU,EAAE,CAAC;AACrE,gBAAgB,IAAI,EAAE;AACtB,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;AAC5B,gBAAgB,IAAI,EAAE;AACtB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;AAC1B,gBAAgB,IAAI,EAAE,WAAW;AACjC,gBAAgB,IAAI,EAAE,CAAC,0BAA0B;AACjD,aAAa,CAAC,EAAE,EAAE,CAAC;;AC5CnB;AACA;AACA;;;;"}
|
|
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 {\n ChangeDetectorRef,\n Directive,\n ElementRef,\n EventEmitter,\n HostBinding,\n inject,\n NgZone,\n Output,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\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 { fromEvent, merge, Observable } from 'rxjs';\nimport { debounceTime, distinctUntilChanged } from 'rxjs/operators';\n\n@Directive({\n selector: '[ngDocFocusCatcher]',\n exportAs: 'ngDocFocusCatcher',\n standalone: true,\n})\nexport class NgDocFocusCatcherDirective {\n private elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private ngZone = inject(NgZone);\n private changeDetectorRef = inject(ChangeDetectorRef);\n\n @Output()\n focusEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n @Output()\n blurEvent: EventEmitter<Event> = new EventEmitter<Event>();\n\n @HostBinding('attr.data-ng-doc-focused')\n focused: boolean = false;\n\n constructor() {\n NgDocFocusCatcherDirective.observeFocus(toElement(this.elementRef))\n .pipe(ngDocZoneOptimize(this.ngZone), takeUntilDestroyed())\n .subscribe((event: FocusEvent) => {\n this.focused = event.type === FOCUS_EVENT;\n this.focused ? this.focusEvent.emit(event) : this.blurEvent.emit(event);\n this.changeDetectorRef.markForCheck();\n });\n }\n\n static observeFocus(element: HTMLElement): Observable<FocusEvent> {\n return merge(\n fromEvent<FocusEvent>(element, FOCUS_EVENT),\n fromEvent<FocusEvent>(element, BLUR_EVENT),\n ).pipe(\n debounceTime(0),\n distinctUntilChanged((a: FocusEvent, b: FocusEvent) => a.type === b.type),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAsBa,0BAA0B,CAAA;AAcrC,IAAA,WAAA,GAAA;AAbQ,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAA0B,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACvB,QAAA,IAAA,CAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAGrD,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,YAAY,EAAS;AAG3D,QAAA,IAAA,CAAA,SAAS,GAAwB,IAAI,YAAY,EAAS;QAG1D,IAAA,CAAA,OAAO,GAAY,KAAK;QAGtB,0BAA0B,CAAC,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC;aAC/D,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,kBAAkB,EAAE;AACzD,aAAA,SAAS,CAAC,CAAC,KAAiB,KAAI;YAC/B,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,IAAI,KAAK,WAAW;YACzC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK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11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocFocusableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocFocusableDirective, isStandalone: true, selector: "[ngDocFocusable]", inputs: { focusable: ["ngDocFocusable", "focusable"] }, host: { properties: { "attr.tabIndex": "this.tabIndex" } }, exportAs: ["ngDocFocusable"], ngImport: i0 }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocFocusableDirective, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: '[ngDocFocusable]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-focusable.mjs","sources":["
|
|
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":";;;MAOa,uBAAuB,CAAA;AALpC,IAAA,WAAA,GAAA;QAOC,IAAA,CAAA,SAAS,GAAY,IAAI;AAMzB,IAAA;AAJA,IAAA,IACI,QAAQ,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC;IAC/B;8GAPY,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;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;;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;;sBAEC,KAAK;uBAAC,gBAAgB;;sBAGtB,WAAW;uBAAC,eAAe;;;ACX7B;;AAEG;;;;"}
|
|
@@ -26,10 +26,10 @@ class NgDocHotkeyDirective {
|
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocHotkeyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocHotkeyDirective, isStandalone: true, selector: "[ngDocHotkey]", inputs: { hotkey: ["ngDocHotkey", "hotkey"] }, outputs: { callback: "ngDocHotkey" }, ngImport: i0 }); }
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocHotkeyDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: '[ngDocHotkey]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-hotkey.mjs","sources":["
|
|
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 {\n afterNextRender,\n DestroyRef,\n Directive,\n EventEmitter,\n inject,\n Input,\n NgZone,\n Output,\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\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 { fromEvent } from 'rxjs';\nimport { filter } from 'rxjs/operators';\n\n@Directive({\n selector: '[ngDocHotkey]',\n standalone: true,\n})\nexport class NgDocHotkeyDirective {\n private readonly ngZone = inject(NgZone);\n\n @Input('ngDocHotkey')\n hotkey?: Partial<KeyboardEvent>;\n\n @Output('ngDocHotkey')\n callback: EventEmitter<void> = new EventEmitter<void>();\n\n constructor() {\n const destroyRef = inject(DestroyRef);\n\n afterNextRender(() => {\n fromEvent(document, 'keyup')\n .pipe(\n filter(isKeyboardEvent),\n filter((event: KeyboardEvent) =>\n objectKeys(this.hotkey ?? {}).every(\n (key: keyof KeyboardEvent) => this.hotkey && this.hotkey[key] === event[key],\n ),\n ),\n filter((event: KeyboardEvent) => {\n if (event.target instanceof HTMLElement) {\n return !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());\n }\n return true;\n }),\n ngDocZoneOptimize(this.ngZone),\n takeUntilDestroyed(destroyRef),\n )\n .subscribe((event: KeyboardEvent) => {\n event.preventDefault();\n this.callback.emit();\n });\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAqBa,oBAAoB,CAAA;AAS/B,IAAA,WAAA,GAAA;AARiB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAMxC,QAAA,IAAA,CAAA,QAAQ,GAAuB,IAAI,YAAY,EAAQ;AAGrD,QAAA,MAAM,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QAErC,eAAe,CAAC,MAAK;AACnB,YAAA,SAAS,CAAC,QAAQ,EAAE,OAAO;iBACxB,IAAI,CACH,MAAM,CAAC,eAAe,CAAC,EACvB,MAAM,CAAC,CAAC,KAAoB,KAC1B,UAAU,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,KAAK,CACjC,CAAC,GAAwB,KAAK,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,CAC7E,CACF,EACD,MAAM,CAAC,CAAC,KAAoB,KAAI;AAC9B,gBAAA,IAAI,KAAK,CAAC,MAAM,YAAY,WAAW,EAAE;oBACvC,OAAO,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;gBACtF;AACA,gBAAA,OAAO,IAAI;AACb,YAAA,CAAC,CAAC,EACF,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAC9B,kBAAkB,CAAC,UAAU,CAAC;AAE/B,iBAAA,SAAS,CAAC,CAAC,KAAoB,KAAI;gBAClC,KAAK,CAAC,cAAc,EAAE;AACtB,gBAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;AACtB,YAAA,CAAC,CAAC;AACN,QAAA,CAAC,CAAC;IACJ;8GAnCW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;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;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAIE,KAAK;uBAAC,aAAa;;sBAGnB,MAAM;uBAAC,aAAa;;;AC3BvB;;AAEG;;;;"}
|
|
@@ -18,12 +18,12 @@ class NgDocInputNumberDirective extends NgDocBaseInput {
|
|
|
18
18
|
inputEvent() {
|
|
19
19
|
this.updateModel(Number(this.elementRef.nativeElement.value));
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocInputNumberDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
22
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocInputNumberDirective, isStandalone: true, selector: "input[ngDocInputNumber]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
23
23
|
{ provide: NgDocBaseInput, useExisting: forwardRef(() => NgDocInputNumberDirective) },
|
|
24
24
|
], usesInheritance: true, ngImport: i0 }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocInputNumberDirective, decorators: [{
|
|
27
27
|
type: Directive,
|
|
28
28
|
args: [{
|
|
29
29
|
selector: `input[ngDocInputNumber]`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-input-number.mjs","sources":["
|
|
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, forwardRef, 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';\n\n@Directive({\n selector: `input[ngDocInputNumber]`,\n providers: [\n { provide: NgDocBaseInput, useExisting: forwardRef(() => NgDocInputNumberDirective) },\n ],\n standalone: true,\n})\nexport class NgDocInputNumberDirective extends NgDocBaseInput<number> {\n constructor() {\n super({\n onIncomingUpdate: (value) => {\n toElement(this.elementRef).value = isPresent(value) ? String(Number(value)) : '';\n },\n });\n }\n\n @HostListener('blur')\n blurEvent(): void {\n this.touch();\n }\n\n @HostListener('input')\n inputEvent(): void {\n this.updateModel(Number(this.elementRef.nativeElement.value));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAYM,MAAO,yBAA0B,SAAQ,cAAsB,CAAA;AACnE,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,CAAC;AACJ,YAAA,gBAAgB,EAAE,CAAC,KAAK,KAAI;gBAC1B,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE;YAClF,CAAC;AACF,SAAA,CAAC;IACJ;IAGA,SAAS,GAAA;QACP,IAAI,CAAC,KAAK,EAAE;IACd;IAGA,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC/D;8GAjBW,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,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,EALzB;AACT,YAAA,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,MAAM,yBAAyB,CAAC,EAAE;AACtF,SAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAGU,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBAPrC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,CAAA,uBAAA,CAAyB;AACnC,oBAAA,SAAS,EAAE;AACT,wBAAA,EAAE,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,CAAC,MAAK,yBAA0B,CAAC,EAAE;AACtF,qBAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;sBAUE,YAAY;uBAAC,MAAM;;sBAKnB,YAAY;uBAAC,OAAO;;;AC1BvB;;AAEG;;;;"}
|
|
@@ -19,12 +19,12 @@ class NgDocInputStringDirective extends NgDocBaseInput {
|
|
|
19
19
|
inputEvent() {
|
|
20
20
|
this.updateModel(this.elementRef.nativeElement.value);
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocInputStringDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: NgDocInputStringDirective, isStandalone: true, selector: "input[ngDocInputString]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
24
24
|
{ provide: NgDocBaseInput, useExisting: forwardRef(() => NgDocInputStringDirective) },
|
|
25
25
|
], usesInheritance: true, ngImport: i0 }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NgDocInputStringDirective, decorators: [{
|
|
28
28
|
type: Directive,
|
|
29
29
|
args: [{
|
|
30
30
|
selector: `input[ngDocInputString]`,
|