@ng-doc/ui-kit 17.1.3 → 17.2.0
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/components/pane/pane.component.d.ts +2 -3
- package/directives/media-query/media-query.directive.d.ts +3 -4
- package/esm2022/cdk/combobox-host/combobox-host.component.mjs +3 -3
- package/esm2022/classes/base-input/base-input.mjs +6 -5
- package/esm2022/components/blockquote/blockquote.component.mjs +3 -3
- package/esm2022/components/button/button.component.mjs +3 -3
- package/esm2022/components/button-icon/button-icon.component.mjs +3 -3
- package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/components/clear-control/clear-control.component.mjs +3 -3
- package/esm2022/components/combobox/combobox.component.mjs +3 -3
- package/esm2022/components/data-list/data-list.component.mjs +3 -3
- package/esm2022/components/data-list-group/data-list-group.component.mjs +3 -3
- package/esm2022/components/dialog-outlet/dialog-outlet.component.mjs +3 -3
- package/esm2022/components/dot/dot.component.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
- package/esm2022/components/expander/expander.component.mjs +3 -3
- package/esm2022/components/floated-border/floated-border.component.mjs +3 -3
- package/esm2022/components/floated-content/floated-content.component.mjs +3 -3
- package/esm2022/components/focus-control/focus-control.component.mjs +3 -3
- package/esm2022/components/icon/icon.component.mjs +3 -3
- package/esm2022/components/input-wrapper/input-wrapper.component.mjs +3 -3
- package/esm2022/components/label/label.component.mjs +3 -3
- package/esm2022/components/line/line.component.mjs +3 -3
- package/esm2022/components/list/list.component.mjs +3 -3
- package/esm2022/components/option/option.component.mjs +3 -3
- package/esm2022/components/option-group/option-group.component.mjs +6 -6
- package/esm2022/components/overlay-container/overlay-container.component.mjs +3 -3
- package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +3 -3
- package/esm2022/components/pane/pane.component.mjs +36 -36
- package/esm2022/components/selection/selection-host.directive.mjs +3 -3
- package/esm2022/components/selection/selection-origin.directive.mjs +3 -3
- package/esm2022/components/selection/selection.component.mjs +3 -3
- package/esm2022/components/sidenav/sidenav.component.mjs +3 -3
- package/esm2022/components/smooth-resize/smooth-resize.component.mjs +6 -6
- package/esm2022/components/spinner/spinner.component.mjs +3 -3
- package/esm2022/components/tab-group/tab/tab.component.mjs +3 -3
- package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
- package/esm2022/components/tag/tag.component.mjs +3 -3
- package/esm2022/components/text/text-left.directive.mjs +3 -3
- package/esm2022/components/text/text-right.directive.mjs +3 -3
- package/esm2022/components/text/text.component.mjs +3 -3
- package/esm2022/components/toggle/toggle.component.mjs +3 -3
- package/esm2022/components/wrapper/wrapper.component.mjs +3 -3
- package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -3
- package/esm2022/directives/checked-change/checked-change.directive.mjs +3 -3
- package/esm2022/directives/data/data.directive.mjs +3 -3
- package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +3 -3
- package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +3 -3
- package/esm2022/directives/event-switcher/event-switcher.directive.mjs +3 -3
- package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +3 -3
- package/esm2022/directives/focusable/focusable.directive.mjs +3 -3
- package/esm2022/directives/hotkey/hotkey.directive.mjs +18 -15
- package/esm2022/directives/input-number/input-number.directive.mjs +3 -3
- package/esm2022/directives/input-string/input-string.directive.mjs +3 -3
- package/esm2022/directives/let/let.directive.mjs +3 -3
- package/esm2022/directives/media-query/media-query.directive.mjs +7 -10
- package/esm2022/directives/rotator/rotator.directive.mjs +3 -3
- package/esm2022/directives/tooltip/tooltip.directive.mjs +3 -3
- package/esm2022/interceptors/cache.interceptor.mjs +3 -3
- package/esm2022/pipes/as-array/as-array.pipe.mjs +3 -3
- package/esm2022/pipes/bind/bind.pipe.mjs +3 -3
- package/esm2022/pipes/execute/execute.pipe.mjs +3 -3
- package/esm2022/pipes/highlighter/highlighter.pipe.mjs +3 -3
- package/esm2022/services/dialog/dialog.service.mjs +3 -3
- package/esm2022/services/notify/notify.service.mjs +3 -3
- package/esm2022/services/overlay/overlay.service.mjs +3 -3
- package/esm2022/services/overlay-strategy/overlay-strategy.mjs +3 -3
- package/esm2022/services/scroll/scroll.service.mjs +3 -3
- package/esm2022/types/content.mjs +3 -4
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +5 -4
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-button.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dot.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-label.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-line.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-list.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +6 -6
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs +35 -35
- 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-sidenav.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +6 -6
- package/fesm2022/ng-doc-ui-kit-components-tag.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-text.mjs +9 -9
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +17 -14
- 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-string.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +6 -9
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-interceptors.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-dialog.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +3 -3
- package/fesm2022/ng-doc-ui-kit-types.mjs +2 -3
- package/fesm2022/ng-doc-ui-kit-types.mjs.map +1 -1
- package/package.json +45 -45
- package/types/content.d.ts +2 -2
|
@@ -1,36 +1,39 @@
|
|
|
1
1
|
import { __metadata, __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { EventEmitter, NgZone, Directive, Input, Output } from '@angular/core';
|
|
3
|
+
import { EventEmitter, afterNextRender, 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';
|
|
7
7
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
8
8
|
import { fromEvent } from 'rxjs';
|
|
9
|
-
import {
|
|
9
|
+
import { filter } from 'rxjs/operators';
|
|
10
10
|
|
|
11
|
-
const KEYUP_EVENT = fromEvent(document, 'keyup').pipe(share());
|
|
12
11
|
let NgDocHotkeyDirective = class NgDocHotkeyDirective {
|
|
13
12
|
constructor(ngZone) {
|
|
14
13
|
this.ngZone = ngZone;
|
|
15
14
|
this.callback = new EventEmitter();
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
this.
|
|
15
|
+
afterNextRender(() => {
|
|
16
|
+
fromEvent(document, 'keyup')
|
|
17
|
+
.pipe(filter(isKeyboardEvent), filter((event) => objectKeys(this.hotkey ?? {}).every((key) => this.hotkey && this.hotkey[key] === event[key])), filter((event) => {
|
|
18
|
+
if (event.target instanceof HTMLElement) {
|
|
19
|
+
return !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());
|
|
20
|
+
}
|
|
21
|
+
return true;
|
|
22
|
+
}), ngDocZoneOptimize(this.ngZone), untilDestroyed(this))
|
|
23
|
+
.subscribe((event) => {
|
|
24
|
+
event.preventDefault();
|
|
25
|
+
this.callback.emit();
|
|
26
|
+
});
|
|
24
27
|
});
|
|
25
28
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
27
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocHotkeyDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
30
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocHotkeyDirective, isStandalone: true, selector: "[ngDocHotkey]", inputs: { hotkey: ["ngDocHotkey", "hotkey"] }, outputs: { callback: "ngDocHotkey" }, ngImport: i0 }); }
|
|
28
31
|
};
|
|
29
32
|
NgDocHotkeyDirective = __decorate([
|
|
30
33
|
UntilDestroy(),
|
|
31
34
|
__metadata("design:paramtypes", [NgZone])
|
|
32
35
|
], NgDocHotkeyDirective);
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocHotkeyDirective, decorators: [{
|
|
34
37
|
type: Directive,
|
|
35
38
|
args: [{
|
|
36
39
|
selector: '[ngDocHotkey]',
|
|
@@ -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/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
|
|
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 { afterNextRender, 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 } from 'rxjs';\nimport { filter } from 'rxjs/operators';\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\tafterNextRender(() => {\n\t\t\tfromEvent(document, 'keyup')\n\t\t\t\t.pipe(\n\t\t\t\t\tfilter(isKeyboardEvent),\n\t\t\t\t\tfilter((event: KeyboardEvent) =>\n\t\t\t\t\t\tobjectKeys(this.hotkey ?? {}).every(\n\t\t\t\t\t\t\t(key: keyof KeyboardEvent) => this.hotkey && this.hotkey[key] === event[key],\n\t\t\t\t\t\t),\n\t\t\t\t\t),\n\t\t\t\t\tfilter((event: KeyboardEvent) => {\n\t\t\t\t\t\tif (event.target instanceof HTMLElement) {\n\t\t\t\t\t\t\treturn !['input', 'textarea', 'select'].includes(event.target.tagName.toLowerCase());\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t\tuntilDestroyed(this),\n\t\t\t\t)\n\t\t\t\t.subscribe((event: KeyboardEvent) => {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tthis.callback.emit();\n\t\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":";;;;;;;;;;AAaa,IAAA,oBAAoB,GAA1B,MAAM,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,eAAe,CAAC,MAAK;AACpB,YAAA,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC;iBAC1B,IAAI,CACJ,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,gBAAA,IAAI,KAAK,CAAC,MAAM,YAAY,WAAW,EAAE;oBACxC,OAAO,CAAC,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;AACrF,iBAAA;AACD,gBAAA,OAAO,IAAI,CAAC;AACb,aAAC,CAAC,EACF,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,EAC9B,cAAc,CAAC,IAAI,CAAC,CACpB;AACA,iBAAA,SAAS,CAAC,CAAC,KAAoB,KAAI;gBACnC,KAAK,CAAC,cAAc,EAAE,CAAC;AACvB,gBAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;AACtB,aAAC,CAAC,CAAC;AACL,SAAC,CAAC,CAAC;KACH;8GA/BW,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,CAgChC,CAAA;2FAhCY,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;2EAIA,MAAM,EAAA,CAAA;sBADL,KAAK;uBAAC,aAAa,CAAA;gBAIpB,QAAQ,EAAA,CAAA;sBADP,MAAM;uBAAC,aAAa,CAAA;;;ACjBtB;;AAEG;;;;"}
|
|
@@ -20,8 +20,8 @@ let NgDocInputNumberDirective = class NgDocInputNumberDirective extends NgDocBas
|
|
|
20
20
|
inputEvent() {
|
|
21
21
|
this.updateModel(Number(this.elementRef.nativeElement.value));
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
24
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocInputNumberDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
24
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocInputNumberDirective, isStandalone: true, selector: "input[ngDocInputNumber]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
25
25
|
{ provide: NgDocBaseInput, useExisting: forwardRef(() => NgDocInputNumberDirective) },
|
|
26
26
|
], usesInheritance: true, ngImport: i0 }); }
|
|
27
27
|
};
|
|
@@ -29,7 +29,7 @@ NgDocInputNumberDirective = __decorate([
|
|
|
29
29
|
UntilDestroy(),
|
|
30
30
|
__metadata("design:paramtypes", [])
|
|
31
31
|
], NgDocInputNumberDirective);
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocInputNumberDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: `input[ngDocInputNumber]`,
|
|
@@ -21,8 +21,8 @@ let NgDocInputStringDirective = class NgDocInputStringDirective extends NgDocBas
|
|
|
21
21
|
inputEvent() {
|
|
22
22
|
this.updateModel(this.elementRef.nativeElement.value);
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
25
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocInputStringDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocInputStringDirective, isStandalone: true, selector: "input[ngDocInputString]", host: { listeners: { "blur": "blurEvent()", "input": "inputEvent()" } }, providers: [
|
|
26
26
|
{ provide: NgDocBaseInput, useExisting: forwardRef(() => NgDocInputStringDirective) },
|
|
27
27
|
], usesInheritance: true, ngImport: i0 }); }
|
|
28
28
|
};
|
|
@@ -30,7 +30,7 @@ NgDocInputStringDirective = __decorate([
|
|
|
30
30
|
UntilDestroy(),
|
|
31
31
|
__metadata("design:paramtypes", [])
|
|
32
32
|
], NgDocInputStringDirective);
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocInputStringDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: `input[ngDocInputString]`,
|
|
@@ -22,10 +22,10 @@ class NgDocLetDirective {
|
|
|
22
22
|
static ngTemplateContextGuard(_dir, _ctx) {
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
26
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", 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: "17.0.7", type: NgDocLetDirective, isStandalone: true, selector: "[ngDocLet]", inputs: { ngDocLet: "ngDocLet" }, ngImport: i0 }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocLetDirective, decorators: [{
|
|
29
29
|
type: Directive,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: '[ngDocLet]',
|
|
@@ -4,8 +4,7 @@ import { Breakpoints, BreakpointObserver } from '@angular/cdk/layout';
|
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { TemplateRef, ViewContainerRef, Directive, Input } from '@angular/core';
|
|
6
6
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
7
|
-
import {
|
|
8
|
-
import { pluck, distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
7
|
+
import { pluck, distinctUntilChanged } from 'rxjs/operators';
|
|
9
8
|
|
|
10
9
|
let NgDocMediaQueryDirective = class NgDocMediaQueryDirective {
|
|
11
10
|
constructor(templateRef, viewContainerRef, breakpointObserver) {
|
|
@@ -14,13 +13,11 @@ let NgDocMediaQueryDirective = class NgDocMediaQueryDirective {
|
|
|
14
13
|
this.breakpointObserver = breakpointObserver;
|
|
15
14
|
this.match = [];
|
|
16
15
|
this.breakpoints = Breakpoints;
|
|
17
|
-
this.unsubscribe$ = new Subject();
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
this.unsubscribe$.next();
|
|
17
|
+
ngOnInit() {
|
|
21
18
|
this.breakpointObserver
|
|
22
19
|
.observe(this.match)
|
|
23
|
-
.pipe(pluck('matches'), distinctUntilChanged(),
|
|
20
|
+
.pipe(pluck('matches'), distinctUntilChanged(), untilDestroyed(this))
|
|
24
21
|
.subscribe((matches) => {
|
|
25
22
|
this.viewRef?.destroy();
|
|
26
23
|
this.viewRef = undefined;
|
|
@@ -30,8 +27,8 @@ let NgDocMediaQueryDirective = class NgDocMediaQueryDirective {
|
|
|
30
27
|
}
|
|
31
28
|
});
|
|
32
29
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
34
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocMediaQueryDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocMediaQueryDirective, isStandalone: true, selector: "[ngDocMediaQuery]", inputs: { match: ["ngDocMediaQuery", "match"] }, exportAs: ["ngDocMediaQuery"], ngImport: i0 }); }
|
|
35
32
|
};
|
|
36
33
|
NgDocMediaQueryDirective = __decorate([
|
|
37
34
|
UntilDestroy(),
|
|
@@ -39,7 +36,7 @@ NgDocMediaQueryDirective = __decorate([
|
|
|
39
36
|
ViewContainerRef,
|
|
40
37
|
BreakpointObserver])
|
|
41
38
|
], NgDocMediaQueryDirective);
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocMediaQueryDirective, decorators: [{
|
|
43
40
|
type: Directive,
|
|
44
41
|
args: [{
|
|
45
42
|
selector: '[ngDocMediaQuery]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-directives-media-query.mjs","sources":["../../../../libs/ui-kit/directives/media-query/media-query.directive.ts","../../../../libs/ui-kit/directives/media-query/ng-doc-ui-kit-directives-media-query.ts"],"sourcesContent":["import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport {\n\tDirective,\n\tEmbeddedViewRef,\n\tInput,\n\
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-directives-media-query.mjs","sources":["../../../../libs/ui-kit/directives/media-query/media-query.directive.ts","../../../../libs/ui-kit/directives/media-query/ng-doc-ui-kit-directives-media-query.ts"],"sourcesContent":["import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport {\n\tDirective,\n\tEmbeddedViewRef,\n\tInput,\n\tOnInit,\n\tTemplateRef,\n\tViewContainerRef,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { distinctUntilChanged, pluck } from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocMediaQuery]',\n\texportAs: 'ngDocMediaQuery',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocMediaQueryDirective implements OnInit {\n\t@Input('ngDocMediaQuery')\n\tmatch: string | string[] = [];\n\n\treadonly breakpoints: typeof Breakpoints = Breakpoints;\n\n\tprivate viewRef?: EmbeddedViewRef<unknown>;\n\n\tconstructor(\n\t\tprivate readonly templateRef: TemplateRef<unknown>,\n\t\tprivate readonly viewContainerRef: ViewContainerRef,\n\t\tprivate readonly breakpointObserver: BreakpointObserver,\n\t) {}\n\n\tngOnInit(): void {\n\t\tthis.breakpointObserver\n\t\t\t.observe(this.match)\n\t\t\t.pipe(pluck('matches'), distinctUntilChanged(), untilDestroyed(this))\n\t\t\t.subscribe((matches: boolean) => {\n\t\t\t\tthis.viewRef?.destroy();\n\t\t\t\tthis.viewRef = undefined;\n\n\t\t\t\tif (matches) {\n\t\t\t\t\tthis.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);\n\t\t\t\t\tthis.viewRef.markForCheck();\n\t\t\t\t}\n\t\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAkBa,IAAA,wBAAwB,GAA9B,MAAM,wBAAwB,CAAA;AAQpC,IAAA,WAAA,CACkB,WAAiC,EACjC,gBAAkC,EAClC,kBAAsC,EAAA;QAFtC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAsB;QACjC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAClC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAoB;QATxD,IAAK,CAAA,KAAA,GAAsB,EAAE,CAAC;QAErB,IAAW,CAAA,WAAA,GAAuB,WAAW,CAAC;KAQnD;IAEJ,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,kBAAkB;AACrB,aAAA,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACnB,aAAA,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,oBAAoB,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;AACpE,aAAA,SAAS,CAAC,CAAC,OAAgB,KAAI;AAC/B,YAAA,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;AACxB,YAAA,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;AAEzB,YAAA,IAAI,OAAO,EAAE;AACZ,gBAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC1E,gBAAA,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC;AAC5B,aAAA;AACF,SAAC,CAAC,CAAC;KACJ;8GA3BW,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,iBAAA,EAAA,OAAA,CAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAAxB,wBAAwB,GAAA,UAAA,CAAA;AADpC,IAAA,YAAY,EAAE;qCAUiB,WAAW;QACN,gBAAgB;QACd,kBAAkB,CAAA,CAAA;AAX5C,CAAA,EAAA,wBAAwB,CA4BpC,CAAA;2FA5BY,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;gJAIA,KAAK,EAAA,CAAA;sBADJ,KAAK;uBAAC,iBAAiB,CAAA;;;ACnBzB;;AAEG;;;;"}
|
|
@@ -27,10 +27,10 @@ class NgDocRotatorDirective {
|
|
|
27
27
|
}
|
|
28
28
|
this.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);
|
|
29
29
|
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
31
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocRotatorDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocRotatorDirective, isStandalone: true, selector: "[ngDocRotator]", inputs: { rotated: ["ngDocRotator", "rotated"], from: "from", to: "to" }, usesOnChanges: true, ngImport: i0 }); }
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocRotatorDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: '[ngDocRotator]',
|
|
@@ -128,8 +128,8 @@ let NgDocTooltipDirective = class NgDocTooltipDirective {
|
|
|
128
128
|
? positions
|
|
129
129
|
: ['bottom-center', 'top-center', 'right-center', 'left-center'], this.displayOriginElement, 0, true);
|
|
130
130
|
}
|
|
131
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
132
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
131
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i1.NgDocOverlayService }, { token: i0.NgZone }, { token: i2.NgDocOverlayStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
132
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: NgDocTooltipDirective, isStandalone: true, selector: "[ngDocTooltip]", inputs: { content: ["ngDocTooltip", "content"], delay: "delay", displayOrigin: "displayOrigin", pointerOrigin: "pointerOrigin", positions: "positions", canOpen: "canOpen", panelClass: "panelClass", minHeight: "minHeight", maxHeight: "maxHeight", height: "height", minWidth: "minWidth", maxWidth: "maxWidth", width: "width" }, outputs: { beforeOpen: "beforeOpen", afterOpen: "afterOpen", beforeClose: "beforeClose", afterClose: "afterClose" }, exportAs: ["ngDocTooltip"], ngImport: i0 }); }
|
|
133
133
|
};
|
|
134
134
|
NgDocTooltipDirective = __decorate([
|
|
135
135
|
UntilDestroy(),
|
|
@@ -140,7 +140,7 @@ NgDocTooltipDirective = __decorate([
|
|
|
140
140
|
NgZone,
|
|
141
141
|
NgDocOverlayStrategy])
|
|
142
142
|
], NgDocTooltipDirective);
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocTooltipDirective, decorators: [{
|
|
144
144
|
type: Directive,
|
|
145
145
|
args: [{
|
|
146
146
|
selector: '[ngDocTooltip]',
|
|
@@ -38,10 +38,10 @@ class NgDocCacheInterceptor {
|
|
|
38
38
|
this.cache.set(request.url, newHandler);
|
|
39
39
|
return newHandler;
|
|
40
40
|
}
|
|
41
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
42
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
41
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocCacheInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
42
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocCacheInterceptor }); }
|
|
43
43
|
}
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocCacheInterceptor, decorators: [{
|
|
45
45
|
type: Injectable
|
|
46
46
|
}] });
|
|
47
47
|
|
|
@@ -6,10 +6,10 @@ class NgDocAsArrayPipe {
|
|
|
6
6
|
transform(value) {
|
|
7
7
|
return asArray(value);
|
|
8
8
|
}
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocAsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: NgDocAsArrayPipe, isStandalone: true, name: "asArray" }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocAsArrayPipe, decorators: [{
|
|
13
13
|
type: Pipe,
|
|
14
14
|
args: [{
|
|
15
15
|
name: 'asArray',
|
|
@@ -5,10 +5,10 @@ class NgDocBindPipe {
|
|
|
5
5
|
transform(fn, _this) {
|
|
6
6
|
return fn.bind(_this);
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocBindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: NgDocBindPipe, isStandalone: true, name: "bind" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocBindPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'bind',
|
|
@@ -5,10 +5,10 @@ class NgDocExecutePipe {
|
|
|
5
5
|
transform(fn, ...args) {
|
|
6
6
|
return fn(...args);
|
|
7
7
|
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocExecutePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: NgDocExecutePipe, isStandalone: true, name: "execute" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocExecutePipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'execute',
|
|
@@ -12,10 +12,10 @@ class NgDocHighlighterPipe {
|
|
|
12
12
|
});
|
|
13
13
|
return input;
|
|
14
14
|
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
16
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: NgDocHighlighterPipe, isStandalone: true, name: "ngDocHighlighterPipe" }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocHighlighterPipe, decorators: [{
|
|
19
19
|
type: Pipe,
|
|
20
20
|
args: [{
|
|
21
21
|
name: 'ngDocHighlighterPipe',
|
|
@@ -20,10 +20,10 @@ class NgDocDialogService {
|
|
|
20
20
|
panelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
24
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocDialogService, providedIn: 'root' }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocDialogService, decorators: [{
|
|
27
27
|
type: Injectable,
|
|
28
28
|
args: [{
|
|
29
29
|
providedIn: 'root',
|
|
@@ -32,14 +32,14 @@ let NgDocNotifyService = class NgDocNotifyService {
|
|
|
32
32
|
closeAnimation: notificationCloseAnimation,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocNotifyService, deps: [{ token: i1.NgDocOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
36
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocNotifyService, providedIn: 'root' }); }
|
|
37
37
|
};
|
|
38
38
|
NgDocNotifyService = __decorate([
|
|
39
39
|
UntilDestroy(),
|
|
40
40
|
__metadata("design:paramtypes", [NgDocOverlayService])
|
|
41
41
|
], NgDocNotifyService);
|
|
42
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocNotifyService, decorators: [{
|
|
43
43
|
type: Injectable,
|
|
44
44
|
args: [{
|
|
45
45
|
providedIn: 'root',
|
|
@@ -40,10 +40,10 @@ class NgDocOverlayStrategy {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
44
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayStrategy, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
44
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayStrategy, providedIn: 'root' }); }
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayStrategy, decorators: [{
|
|
47
47
|
type: Injectable,
|
|
48
48
|
args: [{ providedIn: 'root' }]
|
|
49
49
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
@@ -67,10 +67,10 @@ class NgDocOverlayService {
|
|
|
67
67
|
parent: injector || this.injector,
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayService, deps: [{ token: i1.Overlay }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
71
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayService, providedIn: 'root' }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocOverlayService, decorators: [{
|
|
74
74
|
type: Injectable,
|
|
75
75
|
args: [{ providedIn: 'root' }]
|
|
76
76
|
}], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.Router, decorators: [{
|
|
@@ -22,10 +22,10 @@ class NgDocScrollService {
|
|
|
22
22
|
unblock() {
|
|
23
23
|
this.scrollStrategy.disable();
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocScrollService, deps: [{ token: DOCUMENT }, { token: i1.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocScrollService, providedIn: 'root' }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: NgDocScrollService, decorators: [{
|
|
29
29
|
type: Injectable,
|
|
30
30
|
args: [{
|
|
31
31
|
providedIn: 'root',
|
|
@@ -9,15 +9,14 @@ class NgDocComponentContent extends PolymorpheusComponent {
|
|
|
9
9
|
this.component = component;
|
|
10
10
|
this.injectorRef = injectorRef;
|
|
11
11
|
}
|
|
12
|
-
createInjector(injector,
|
|
12
|
+
createInjector(injector, useValue) {
|
|
13
13
|
return Injector.create({
|
|
14
14
|
parent: this.injectorRef || injector,
|
|
15
15
|
providers: [
|
|
16
16
|
{
|
|
17
17
|
provide: NG_DOC_COMPONENT_CONTEXT,
|
|
18
|
-
useValue
|
|
18
|
+
useValue,
|
|
19
19
|
},
|
|
20
|
-
...providers,
|
|
21
20
|
],
|
|
22
21
|
});
|
|
23
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-types.mjs","sources":["../../../../libs/ui-kit/types/content.ts","../../../../libs/ui-kit/types/ng-doc-ui-kit-types.ts"],"sourcesContent":["import { Injector,
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-types.mjs","sources":["../../../../libs/ui-kit/types/content.ts","../../../../libs/ui-kit/types/ng-doc-ui-kit-types.ts"],"sourcesContent":["import { Injector, TemplateRef, Type } from '@angular/core';\nimport { NG_DOC_COMPONENT_CONTEXT } from '@ng-doc/ui-kit/tokens';\nimport {\n\tPolymorpheusComponent,\n\tPolymorpheusHandler,\n\tPolymorpheusTemplate,\n} from '@tinkoff/ng-polymorpheus';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type NgDocContent<C extends object = {}> =\n\t| string\n\t| number\n\t| null\n\t| undefined\n\t| TemplateRef<C>\n\t| PolymorpheusTemplate<C>\n\t| PolymorpheusHandler<C>\n\t| NgDocComponentContent<object, C>;\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport class NgDocComponentContent<\n\tT extends object,\n\tC extends object = object,\n> extends PolymorpheusComponent<T, C> {\n\tconstructor(override readonly component: Type<T>, readonly injectorRef?: Injector) {\n\t\tsuper(component);\n\t}\n\n\toverride createInjector<C>(injector: Injector, useValue?: C): Injector {\n\t\treturn Injector.create({\n\t\t\tparent: this.injectorRef || injector,\n\t\t\tproviders: [\n\t\t\t\t{\n\t\t\t\t\tprovide: NG_DOC_COMPONENT_CONTEXT,\n\t\t\t\t\tuseValue,\n\t\t\t\t},\n\t\t\t],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAmBA;AACM,MAAO,qBAGX,SAAQ,qBAA2B,CAAA;IACpC,WAA8B,CAAA,SAAkB,EAAW,WAAsB,EAAA;QAChF,KAAK,CAAC,SAAS,CAAC,CAAC;QADY,IAAS,CAAA,SAAA,GAAT,SAAS,CAAS;QAAW,IAAW,CAAA,WAAA,GAAX,WAAW,CAAW;KAEhF;IAEQ,cAAc,CAAI,QAAkB,EAAE,QAAY,EAAA;QAC1D,OAAO,QAAQ,CAAC,MAAM,CAAC;AACtB,YAAA,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI,QAAQ;AACpC,YAAA,SAAS,EAAE;AACV,gBAAA;AACC,oBAAA,OAAO,EAAE,wBAAwB;oBACjC,QAAQ;AACR,iBAAA;AACD,aAAA;AACD,SAAA,CAAC,CAAC;KACH;AACD;;ACvCD;;AAEG;;;;"}
|