@ng-doc/ui-kit 16.17.0 → 16.18.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdk/combobox-host/combobox-host.component.d.ts +6 -7
- package/classes/base-input/base-input.d.ts +8 -5
- package/classes/input-host/input-host.d.ts +2 -2
- package/components/button/button.component.d.ts +1 -2
- package/components/checkbox/checkbox.component.d.ts +4 -6
- package/components/clear-control/clear-control.component.d.ts +6 -9
- package/components/combobox/combobox.component.d.ts +4 -5
- package/components/input-wrapper/input-wrapper.component.d.ts +3 -5
- package/components/list/list.component.d.ts +3 -3
- package/components/option/option.component.d.ts +7 -10
- package/components/toggle/toggle.component.d.ts +5 -10
- package/directives/input-number/input-number.directive.d.ts +1 -4
- package/directives/input-string/input-string.directive.d.ts +1 -4
- package/esm2022/cdk/combobox-host/combobox-host.component.mjs +30 -43
- package/esm2022/classes/base-input/base-input.mjs +19 -12
- package/esm2022/classes/input-host/input-host.mjs +1 -1
- package/esm2022/classes/list-item/list-item.mjs +2 -1
- package/esm2022/classes/overlay-host/overlay-host.mjs +2 -1
- package/esm2022/components/blockquote/blockquote.component.mjs +5 -6
- package/esm2022/components/button/button.component.mjs +5 -9
- package/esm2022/components/button-icon/button-icon.component.mjs +5 -6
- package/esm2022/components/checkbox/checkbox.component.mjs +14 -25
- package/esm2022/components/clear-control/clear-control.component.mjs +18 -30
- package/esm2022/components/combobox/combobox.component.mjs +13 -15
- package/esm2022/components/data-list/data-list.component.mjs +5 -6
- package/esm2022/components/data-list-group/data-list-group.component.mjs +5 -6
- package/esm2022/components/dialog-outlet/dialog-outlet.component.mjs +4 -4
- package/esm2022/components/dot/dot.component.mjs +5 -6
- package/esm2022/components/dropdown/dropdown.component.mjs +6 -6
- package/esm2022/components/expander/expander.component.mjs +5 -6
- package/esm2022/components/floated-border/floated-border.component.mjs +5 -6
- package/esm2022/components/floated-content/floated-content.component.mjs +6 -7
- package/esm2022/components/focus-control/focus-control.component.mjs +7 -8
- package/esm2022/components/icon/icon.component.mjs +6 -7
- package/esm2022/components/input-wrapper/input-wrapper.component.mjs +13 -23
- package/esm2022/components/label/label.component.mjs +5 -6
- package/esm2022/components/line/line.component.mjs +5 -6
- package/esm2022/components/list/list.component.mjs +6 -6
- package/esm2022/components/option/option.component.mjs +19 -33
- package/esm2022/components/option-group/option-group.component.mjs +9 -10
- package/esm2022/components/overlay-container/overlay-container.component.mjs +7 -8
- package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +5 -6
- package/esm2022/components/pane/pane.component.mjs +14 -16
- package/esm2022/components/selection/selection-host.directive.mjs +5 -6
- package/esm2022/components/selection/selection-origin.directive.mjs +6 -7
- package/esm2022/components/selection/selection.component.mjs +5 -5
- package/esm2022/components/sidenav/sidenav.component.mjs +5 -6
- package/esm2022/components/smooth-resize/smooth-resize.component.mjs +6 -7
- package/esm2022/components/spinner/spinner.component.mjs +5 -6
- package/esm2022/components/tab-group/tab/tab.component.mjs +5 -6
- package/esm2022/components/tab-group/tab-group.component.mjs +5 -5
- package/esm2022/components/tag/tag.component.mjs +5 -6
- package/esm2022/components/text/text-left.directive.mjs +5 -6
- package/esm2022/components/text/text-right.directive.mjs +5 -6
- package/esm2022/components/text/text.component.mjs +6 -7
- package/esm2022/components/toggle/toggle.component.mjs +18 -34
- package/esm2022/components/wrapper/wrapper.component.mjs +5 -6
- package/esm2022/directives/autofocus/autofocus.directive.mjs +6 -7
- package/esm2022/directives/checked-change/checked-change.directive.mjs +6 -7
- package/esm2022/directives/data/data.directive.mjs +6 -7
- package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +5 -6
- package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +6 -7
- package/esm2022/directives/event-switcher/event-switcher.directive.mjs +5 -5
- package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +7 -6
- package/esm2022/directives/focusable/focusable.directive.mjs +5 -6
- package/esm2022/directives/hotkey/hotkey.directive.mjs +5 -5
- package/esm2022/directives/input-number/input-number.directive.mjs +17 -18
- package/esm2022/directives/input-string/input-string.directive.mjs +17 -18
- package/esm2022/directives/let/let.directive.mjs +6 -7
- package/esm2022/directives/media-query/media-query.directive.mjs +5 -5
- package/esm2022/directives/rotator/rotator.directive.mjs +6 -7
- package/esm2022/directives/tooltip/tooltip.directive.mjs +5 -5
- package/esm2022/interceptors/cache.interceptor.mjs +5 -6
- package/esm2022/pipes/as-array/as-array.pipe.mjs +5 -6
- package/esm2022/pipes/bind/bind.pipe.mjs +5 -6
- package/esm2022/pipes/execute/execute.pipe.mjs +5 -6
- package/esm2022/pipes/highlighter/highlighter.pipe.mjs +5 -6
- package/esm2022/services/dialog/dialog.service.mjs +5 -6
- package/esm2022/services/notify/notify.service.mjs +5 -5
- package/esm2022/services/overlay/overlay.service.mjs +7 -8
- package/esm2022/services/overlay-strategy/overlay-strategy.mjs +7 -8
- package/esm2022/services/scroll/scroll.service.mjs +7 -8
- package/fesm2022/ng-doc-ui-kit-animations.mjs +1 -1
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +30 -43
- package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +18 -10
- package/fesm2022/ng-doc-ui-kit-classes-base-input.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-item.mjs +1 -0
- package/fesm2022/ng-doc-ui-kit-classes-list-item.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-classes-overlay-host.mjs +1 -0
- package/fesm2022/ng-doc-ui-kit-classes-overlay-host.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.mjs +3 -6
- package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +13 -23
- package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +18 -30
- package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +11 -12
- package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs +5 -5
- 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 +6 -6
- package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-expander.mjs +3 -3
- 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 +5 -5
- package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +13 -23
- 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 +8 -8
- package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +8 -8
- package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-option.mjs +19 -31
- package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +5 -5
- 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 +13 -13
- package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs +12 -12
- package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
- 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-spinner.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +8 -8
- package/fesm2022/ng-doc-ui-kit-components-tab-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 +10 -10
- package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +19 -35
- 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-directives-autofocus.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-data.mjs +4 -4
- 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 +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +6 -6
- package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +8 -7
- 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 +5 -5
- package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +17 -18
- package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +17 -18
- package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +4 -4
- package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +7 -7
- package/fesm2022/ng-doc-ui-kit-directives-tooltip.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-observables.mjs +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-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 +5 -5
- package/fesm2022/ng-doc-ui-kit-services-notify.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -1
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +5 -5
- package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -1
- package/package.json +23 -23
- package/services/overlay-strategy/overlay-strategy.d.ts +2 -2
|
@@ -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: "
|
|
10
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocAsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
10
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: NgDocAsArrayPipe, isStandalone: true, name: "asArray" }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocAsArrayPipe, decorators: [{
|
|
13
13
|
type: Pipe,
|
|
14
14
|
args: [{
|
|
15
15
|
name: 'asArray',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-pipes-as-array.mjs","sources":["../../../../libs/ui-kit/pipes/as-array/as-array.pipe.ts","../../../../libs/ui-kit/pipes/as-array/ng-doc-ui-kit-pipes-as-array.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\n\n@Pipe({\n\tname: 'asArray',\n\tstandalone: true,\n})\nexport class NgDocAsArrayPipe implements PipeTransform {\n\ttransform<T>(value: T | T[] | Iterable<T> | null | undefined): T[] {\n\t\treturn asArray(value);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-as-array.mjs","sources":["../../../../libs/ui-kit/pipes/as-array/as-array.pipe.ts","../../../../libs/ui-kit/pipes/as-array/ng-doc-ui-kit-pipes-as-array.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\n\n@Pipe({\n\tname: 'asArray',\n\tstandalone: true,\n})\nexport class NgDocAsArrayPipe implements PipeTransform {\n\ttransform<T>(value: T | T[] | Iterable<T> | null | undefined): T[] {\n\t\treturn asArray(value);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,gBAAgB,CAAA;AAC5B,IAAA,SAAS,CAAI,KAA+C,EAAA;AAC3D,QAAA,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;KACtB;8GAHW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,SAAS;AACf,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -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: "
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocBindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: NgDocBindPipe, isStandalone: true, name: "bind" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocBindPipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'bind',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-pipes-bind.mjs","sources":["../../../../libs/ui-kit/pipes/bind/bind.pipe.ts","../../../../libs/ui-kit/pipes/bind/ng-doc-ui-kit-pipes-bind.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n\tname: 'bind',\n\tstandalone: true,\n})\nexport class NgDocBindPipe implements PipeTransform {\n\ttransform<R>(fn: FunctionType<R>, _this: unknown): FunctionType<R> {\n\t\treturn fn.bind(_this);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-bind.mjs","sources":["../../../../libs/ui-kit/pipes/bind/bind.pipe.ts","../../../../libs/ui-kit/pipes/bind/ng-doc-ui-kit-pipes-bind.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n\tname: 'bind',\n\tstandalone: true,\n})\nexport class NgDocBindPipe implements PipeTransform {\n\ttransform<R>(fn: FunctionType<R>, _this: unknown): FunctionType<R> {\n\t\treturn fn.bind(_this);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,aAAa,CAAA;IACzB,SAAS,CAAI,EAAmB,EAAE,KAAc,EAAA;AAC/C,QAAA,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACtB;8GAHW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -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: "
|
|
9
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocExecutePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
9
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: NgDocExecutePipe, isStandalone: true, name: "execute" }); }
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocExecutePipe, decorators: [{
|
|
12
12
|
type: Pipe,
|
|
13
13
|
args: [{
|
|
14
14
|
name: 'execute',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-pipes-execute.mjs","sources":["../../../../libs/ui-kit/pipes/execute/execute.pipe.ts","../../../../libs/ui-kit/pipes/execute/ng-doc-ui-kit-pipes-execute.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n\tname: 'execute',\n\tstandalone: true,\n})\nexport class NgDocExecutePipe implements PipeTransform {\n\ttransform<F extends FunctionType>(fn: F, ...args: Parameters<F>): ReturnType<F> {\n\t\treturn fn(...args);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-execute.mjs","sources":["../../../../libs/ui-kit/pipes/execute/execute.pipe.ts","../../../../libs/ui-kit/pipes/execute/ng-doc-ui-kit-pipes-execute.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n\tname: 'execute',\n\tstandalone: true,\n})\nexport class NgDocExecutePipe implements PipeTransform {\n\ttransform<F extends FunctionType>(fn: F, ...args: Parameters<F>): ReturnType<F> {\n\t\treturn fn(...args);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,gBAAgB,CAAA;AAC5B,IAAA,SAAS,CAAyB,EAAK,EAAE,GAAG,IAAmB,EAAA;AAC9D,QAAA,OAAO,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;KACnB;8GAHW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,SAAS;AACf,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -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: "
|
|
16
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
15
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
16
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.2", ngImport: i0, type: NgDocHighlighterPipe, isStandalone: true, name: "ngDocHighlighterPipe" }); }
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocHighlighterPipe, decorators: [{
|
|
19
19
|
type: Pipe,
|
|
20
20
|
args: [{
|
|
21
21
|
name: 'ngDocHighlighterPipe',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-pipes-highlighter.mjs","sources":["../../../../libs/ui-kit/pipes/highlighter/highlighter.pipe.ts","../../../../libs/ui-kit/pipes/highlighter/ng-doc-ui-kit-pipes-highlighter.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nexport interface NgDocHighlightPosition {\n\tstart: number;\n\tlength: number;\n}\n\n@Pipe({\n\tname: 'ngDocHighlighterPipe',\n\tstandalone: true,\n})\nexport class NgDocHighlighterPipe implements PipeTransform {\n\ttransform(input: string, positions: NgDocHighlightPosition[]): string {\n\t\tpositions\n\t\t\t.sort((a: NgDocHighlightPosition, b: NgDocHighlightPosition) => b.start - a.start)\n\t\t\t.forEach((position: NgDocHighlightPosition) => {\n\t\t\t\tconst { start, length } = position;\n\t\t\t\tconst end = start + length;\n\n\t\t\t\tinput = `${input.slice(0, start)}<mark class=\"ng-doc-mark\">${input.slice(\n\t\t\t\t\tstart,\n\t\t\t\t\tend,\n\t\t\t\t)}</mark>${input.slice(end)}`;\n\t\t\t});\n\n\t\treturn input;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-pipes-highlighter.mjs","sources":["../../../../libs/ui-kit/pipes/highlighter/highlighter.pipe.ts","../../../../libs/ui-kit/pipes/highlighter/ng-doc-ui-kit-pipes-highlighter.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\nexport interface NgDocHighlightPosition {\n\tstart: number;\n\tlength: number;\n}\n\n@Pipe({\n\tname: 'ngDocHighlighterPipe',\n\tstandalone: true,\n})\nexport class NgDocHighlighterPipe implements PipeTransform {\n\ttransform(input: string, positions: NgDocHighlightPosition[]): string {\n\t\tpositions\n\t\t\t.sort((a: NgDocHighlightPosition, b: NgDocHighlightPosition) => b.start - a.start)\n\t\t\t.forEach((position: NgDocHighlightPosition) => {\n\t\t\t\tconst { start, length } = position;\n\t\t\t\tconst end = start + length;\n\n\t\t\t\tinput = `${input.slice(0, start)}<mark class=\"ng-doc-mark\">${input.slice(\n\t\t\t\t\tstart,\n\t\t\t\t\tend,\n\t\t\t\t)}</mark>${input.slice(end)}`;\n\t\t\t});\n\n\t\treturn input;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAWa,oBAAoB,CAAA;IAChC,SAAS,CAAC,KAAa,EAAE,SAAmC,EAAA;QAC3D,SAAS;AACP,aAAA,IAAI,CAAC,CAAC,CAAyB,EAAE,CAAyB,KAAK,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC;AACjF,aAAA,OAAO,CAAC,CAAC,QAAgC,KAAI;AAC7C,YAAA,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC;AACnC,YAAA,MAAM,GAAG,GAAG,KAAK,GAAG,MAAM,CAAC;YAE3B,KAAK,GAAG,CAAG,EAAA,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,KAAK,CAAC,CAAA,0BAAA,EAA6B,KAAK,CAAC,KAAK,CACvE,KAAK,EACL,GAAG,CACH,CAAU,OAAA,EAAA,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA,CAAE,CAAC;AAC/B,SAAC,CAAC,CAAC;AAEJ,QAAA,OAAO,KAAK,CAAC;KACb;8GAfW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,sBAAA,EAAA,CAAA,CAAA,EAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,sBAAsB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -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: "
|
|
24
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocDialogService, providedIn: 'root' }); }
|
|
25
25
|
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocDialogService, decorators: [{
|
|
27
27
|
type: Injectable,
|
|
28
28
|
args: [{
|
|
29
29
|
providedIn: 'root',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-services-dialog.mjs","sources":["../../../../libs/ui-kit/services/dialog/dialog.service.ts","../../../../libs/ui-kit/services/dialog/ng-doc-ui-kit-services-dialog.ts"],"sourcesContent":["import { inject, Injectable } from '@angular/core';\nimport { asArray } from '@ng-doc/core';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\n\nimport { NgDocDialogConfig } from './dialog.config';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class NgDocDialogService {\n\tprotected overlayService: NgDocOverlayService = inject(NgDocOverlayService);\n\n\topen<R = unknown>(content: NgDocContent, config?: NgDocDialogConfig): NgDocOverlayRef<R> {\n\t\treturn this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpositionStrategy: this.overlayService\n\t\t\t\t.globalPositionStrategy()\n\t\t\t\t.centerHorizontally()\n\t\t\t\t.centerVertically(),\n\t\t\tscrollStrategy: this.overlayService.scrollStrategy().block(),\n\t\t\t...config,\n\t\t\tpanelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-dialog.mjs","sources":["../../../../libs/ui-kit/services/dialog/dialog.service.ts","../../../../libs/ui-kit/services/dialog/ng-doc-ui-kit-services-dialog.ts"],"sourcesContent":["import { inject, Injectable } from '@angular/core';\nimport { asArray } from '@ng-doc/core';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\n\nimport { NgDocDialogConfig } from './dialog.config';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class NgDocDialogService {\n\tprotected overlayService: NgDocOverlayService = inject(NgDocOverlayService);\n\n\topen<R = unknown>(content: NgDocContent, config?: NgDocDialogConfig): NgDocOverlayRef<R> {\n\t\treturn this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpositionStrategy: this.overlayService\n\t\t\t\t.globalPositionStrategy()\n\t\t\t\t.centerHorizontally()\n\t\t\t\t.centerVertically(),\n\t\t\tscrollStrategy: this.overlayService.scrollStrategy().block(),\n\t\t\t...config,\n\t\t\tpanelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIW,QAAA,IAAA,CAAA,cAAc,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAc5E,KAAA;IAZA,IAAI,CAAc,OAAqB,EAAE,MAA0B,EAAA;AAClE,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE;AACxC,YAAA,gBAAgB,EAAE,8BAA8B;YAChD,gBAAgB,EAAE,IAAI,CAAC,cAAc;AACnC,iBAAA,sBAAsB,EAAE;AACxB,iBAAA,kBAAkB,EAAE;AACpB,iBAAA,gBAAgB,EAAE;YACpB,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE;AAC5D,YAAA,GAAG,MAAM;YACT,UAAU,EAAE,CAAC,eAAe,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC7D,SAAA,CAAC,CAAC;KACH;8GAdW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFlB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __metadata, __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Injectable } from '@angular/core';
|
|
4
4
|
import { notificationOpenAnimation, notificationCloseAnimation } from '@ng-doc/ui-kit/animations';
|
|
@@ -32,19 +32,19 @@ let NgDocNotifyService = class NgDocNotifyService {
|
|
|
32
32
|
closeAnimation: notificationCloseAnimation,
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", 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.2", 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: "
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocNotifyService, decorators: [{
|
|
43
43
|
type: Injectable,
|
|
44
44
|
args: [{
|
|
45
45
|
providedIn: 'root',
|
|
46
46
|
}]
|
|
47
|
-
}], ctorParameters:
|
|
47
|
+
}], ctorParameters: () => [{ type: i1.NgDocOverlayService }] });
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-services-notify.mjs","sources":["../../../../libs/ui-kit/services/notify/notify.service.ts","../../../../libs/ui-kit/services/notify/ng-doc-ui-kit-services-notify.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { notificationCloseAnimation, notificationOpenAnimation } from '@ng-doc/ui-kit/animations';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { Subject, timer } from 'rxjs';\nimport { switchMap, tap } from 'rxjs/operators';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\n@UntilDestroy()\nexport class NgDocNotifyService {\n\tprivate overlayRef?: NgDocOverlayRef;\n\tprivate readonly notify$: Subject<NgDocContent> = new Subject<NgDocContent>();\n\n\tconstructor(private readonly overlayService: NgDocOverlayService) {\n\t\tthis.notify$\n\t\t\t.pipe(\n\t\t\t\ttap(() => this.overlayRef?.close()),\n\t\t\t\ttap((content: NgDocContent) => this.openOverlay(content)),\n\t\t\t\tswitchMap(() => timer(2000)),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t)\n\t\t\t.subscribe(() => this.overlayRef?.close());\n\t}\n\n\tnotify(content: NgDocContent): void {\n\t\tthis.notify$.next(content);\n\t}\n\n\tprivate openOverlay(content: NgDocContent): void {\n\t\tthis.overlayRef = this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpanelClass: 'ng-doc-notify',\n\t\t\tpositionStrategy: this.overlayService\n\t\t\t\t.globalPositionStrategy()\n\t\t\t\t.bottom('10px')\n\t\t\t\t.centerHorizontally(),\n\t\t\topenAnimation: notificationOpenAnimation,\n\t\t\tcloseAnimation: notificationCloseAnimation,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAca,IAAA,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-notify.mjs","sources":["../../../../libs/ui-kit/services/notify/notify.service.ts","../../../../libs/ui-kit/services/notify/ng-doc-ui-kit-services-notify.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { notificationCloseAnimation, notificationOpenAnimation } from '@ng-doc/ui-kit/animations';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { Subject, timer } from 'rxjs';\nimport { switchMap, tap } from 'rxjs/operators';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\n@UntilDestroy()\nexport class NgDocNotifyService {\n\tprivate overlayRef?: NgDocOverlayRef;\n\tprivate readonly notify$: Subject<NgDocContent> = new Subject<NgDocContent>();\n\n\tconstructor(private readonly overlayService: NgDocOverlayService) {\n\t\tthis.notify$\n\t\t\t.pipe(\n\t\t\t\ttap(() => this.overlayRef?.close()),\n\t\t\t\ttap((content: NgDocContent) => this.openOverlay(content)),\n\t\t\t\tswitchMap(() => timer(2000)),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t)\n\t\t\t.subscribe(() => this.overlayRef?.close());\n\t}\n\n\tnotify(content: NgDocContent): void {\n\t\tthis.notify$.next(content);\n\t}\n\n\tprivate openOverlay(content: NgDocContent): void {\n\t\tthis.overlayRef = this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpanelClass: 'ng-doc-notify',\n\t\t\tpositionStrategy: this.overlayService\n\t\t\t\t.globalPositionStrategy()\n\t\t\t\t.bottom('10px')\n\t\t\t\t.centerHorizontally(),\n\t\t\topenAnimation: notificationOpenAnimation,\n\t\t\tcloseAnimation: notificationCloseAnimation,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAca,IAAA,kBAAkB,GAAxB,MAAM,kBAAkB,CAAA;AAI9B,IAAA,WAAA,CAA6B,cAAmC,EAAA;QAAnC,IAAc,CAAA,cAAA,GAAd,cAAc,CAAqB;AAF/C,QAAA,IAAA,CAAA,OAAO,GAA0B,IAAI,OAAO,EAAgB,CAAC;AAG7E,QAAA,IAAI,CAAC,OAAO;aACV,IAAI,CACJ,GAAG,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,EACnC,GAAG,CAAC,CAAC,OAAqB,KAAK,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,EACzD,SAAS,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC,EAC5B,cAAc,CAAC,IAAI,CAAC,CACpB;aACA,SAAS,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;KAC5C;AAED,IAAA,MAAM,CAAC,OAAqB,EAAA;AAC3B,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC3B;AAEO,IAAA,WAAW,CAAC,OAAqB,EAAA;QACxC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE;AACnD,YAAA,gBAAgB,EAAE,8BAA8B;AAChD,YAAA,UAAU,EAAE,eAAe;YAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;AACnC,iBAAA,sBAAsB,EAAE;iBACxB,MAAM,CAAC,MAAM,CAAC;AACd,iBAAA,kBAAkB,EAAE;AACtB,YAAA,aAAa,EAAE,yBAAyB;AACxC,YAAA,cAAc,EAAE,0BAA0B;AAC1C,SAAA,CAAC,CAAC;KACH;8GA9BW,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAHlB,MAAM,EAAA,CAAA,CAAA,EAAA;;AAGN,kBAAkB,GAAA,UAAA,CAAA;AAD9B,IAAA,YAAY,EAAE;qCAK+B,mBAAmB,CAAA,CAAA;AAJpD,CAAA,EAAA,kBAAkB,CA+B9B,CAAA;2FA/BY,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
|
|
@@ -40,16 +40,16 @@ class NgDocOverlayStrategy {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
44
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
43
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", 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.2", ngImport: i0, type: NgDocOverlayStrategy, providedIn: 'root' }); }
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocOverlayStrategy, decorators: [{
|
|
47
47
|
type: Injectable,
|
|
48
48
|
args: [{ providedIn: 'root' }]
|
|
49
|
-
}], ctorParameters:
|
|
49
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
50
50
|
type: Inject,
|
|
51
51
|
args: [DOCUMENT]
|
|
52
|
-
}] }, { type: i0.NgZone }]
|
|
52
|
+
}] }, { type: i0.NgZone }] });
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-services-overlay-strategy.mjs","sources":["../../../../libs/ui-kit/services/overlay-strategy/overlay-strategy.ts","../../../../libs/ui-kit/services/overlay-strategy/ng-doc-ui-kit-services-overlay-strategy.ts"],"sourcesContent":["import { ScrollStrategy } from '@angular/cdk/overlay';\nimport { DOCUMENT } from '@angular/common';\nimport { Inject, Injectable, NgZone } from '@angular/core';\nimport { toElement } from '@ng-doc/ui-kit/helpers';\nimport { NgDocOverlayConfig } from '@ng-doc/ui-kit/interfaces';\nimport { ngDocZoneDetach } from '@ng-doc/ui-kit/observables';\nimport { fromEvent, Subject } from 'rxjs';\nimport { filter, map, takeUntil, throttleTime } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayStrategy implements ScrollStrategy {\n\tprivate overlayRef:
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-overlay-strategy.mjs","sources":["../../../../libs/ui-kit/services/overlay-strategy/overlay-strategy.ts","../../../../libs/ui-kit/services/overlay-strategy/ng-doc-ui-kit-services-overlay-strategy.ts"],"sourcesContent":["import { OverlayRef, ScrollStrategy } from '@angular/cdk/overlay';\nimport { DOCUMENT } from '@angular/common';\nimport { Inject, Injectable, NgZone } from '@angular/core';\nimport { toElement } from '@ng-doc/ui-kit/helpers';\nimport { NgDocOverlayConfig } from '@ng-doc/ui-kit/interfaces';\nimport { ngDocZoneDetach } from '@ng-doc/ui-kit/observables';\nimport { fromEvent, Subject } from 'rxjs';\nimport { filter, map, takeUntil, throttleTime } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayStrategy implements ScrollStrategy {\n\tprivate overlayRef: OverlayRef | null = null;\n\tprivate destroy$: Subject<void> = new Subject<void>();\n\n\tconstructor(\n\t\t@Inject(DOCUMENT) private documentRef: Document,\n\t\tprivate ngZone: NgZone,\n\t) {}\n\n\tattach(overlayRef: OverlayRef): void {\n\t\tthis.overlayRef = overlayRef;\n\t}\n\n\tenable(): void {\n\t\tfromEvent(this.documentRef, 'scroll', { capture: true })\n\t\t\t.pipe(\n\t\t\t\tngDocZoneDetach(this.ngZone),\n\t\t\t\tthrottleTime(10),\n\t\t\t\tmap((scrollEvent: Event) =>\n\t\t\t\t\tscrollEvent.target instanceof Document\n\t\t\t\t\t\t? scrollEvent.target.scrollingElement\n\t\t\t\t\t\t: scrollEvent.target,\n\t\t\t\t),\n\t\t\t\tfilter((target: EventTarget | null) =>\n\t\t\t\t\ttarget instanceof Node ? target.contains(this.origin) || !this.origin : false,\n\t\t\t\t),\n\t\t\t\ttakeUntil(this.destroy$),\n\t\t\t)\n\t\t\t.subscribe(() => this.detach());\n\t}\n\n\tprivate get origin(): HTMLElement | null {\n\t\tconst config: NgDocOverlayConfig | undefined =\n\t\t\tthis.overlayRef?.getConfig() as NgDocOverlayConfig;\n\t\treturn config?.viewContainerRef\n\t\t\t? (toElement(config.viewContainerRef.element) as HTMLElement)\n\t\t\t: null;\n\t}\n\n\tdisable(): void {\n\t\tthis.destroy$.next();\n\t}\n\n\tdetach(): void {\n\t\tthis.disable();\n\t\tif (this.overlayRef?.hasAttached()) {\n\t\t\tthis.ngZone.run(() => {\n\t\t\t\tthis.overlayRef?.detach();\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":";;;;;;;;MAUa,oBAAoB,CAAA;IAIhC,WAC2B,CAAA,WAAqB,EACvC,MAAc,EAAA;QADI,IAAW,CAAA,WAAA,GAAX,WAAW,CAAU;QACvC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QALf,IAAU,CAAA,UAAA,GAAsB,IAAI,CAAC;AACrC,QAAA,IAAA,CAAA,QAAQ,GAAkB,IAAI,OAAO,EAAQ,CAAC;KAKlD;AAEJ,IAAA,MAAM,CAAC,UAAsB,EAAA;AAC5B,QAAA,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;KAC7B;IAED,MAAM,GAAA;AACL,QAAA,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;aACtD,IAAI,CACJ,eAAe,CAAC,IAAI,CAAC,MAAM,CAAC,EAC5B,YAAY,CAAC,EAAE,CAAC,EAChB,GAAG,CAAC,CAAC,WAAkB,KACtB,WAAW,CAAC,MAAM,YAAY,QAAQ;AACrC,cAAE,WAAW,CAAC,MAAM,CAAC,gBAAgB;cACnC,WAAW,CAAC,MAAM,CACrB,EACD,MAAM,CAAC,CAAC,MAA0B,KACjC,MAAM,YAAY,IAAI,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAC7E,EACD,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CACxB;aACA,SAAS,CAAC,MAAM,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;KACjC;AAED,IAAA,IAAY,MAAM,GAAA;QACjB,MAAM,MAAM,GACX,IAAI,CAAC,UAAU,EAAE,SAAS,EAAwB,CAAC;QACpD,OAAO,MAAM,EAAE,gBAAgB;cAC3B,SAAS,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAiB;cAC3D,IAAI,CAAC;KACR;IAED,OAAO,GAAA;AACN,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;KACrB;IAED,MAAM,GAAA;QACL,IAAI,CAAC,OAAO,EAAE,CAAC;AACf,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE,WAAW,EAAE,EAAE;AACnC,YAAA,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,MAAK;AACpB,gBAAA,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;AAC3B,aAAC,CAAC,CAAC;AACH,SAAA;KACD;AAlDW,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,kBAKvB,QAAQ,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AALL,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cADP,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;0BAM/B,MAAM;2BAAC,QAAQ,CAAA;;;ACflB;;AAEG;;;;"}
|
|
@@ -67,15 +67,15 @@ class NgDocOverlayService {
|
|
|
67
67
|
parent: injector || this.injector,
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", 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.2", ngImport: i0, type: NgDocOverlayService, providedIn: 'root' }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocOverlayService, decorators: [{
|
|
74
74
|
type: Injectable,
|
|
75
75
|
args: [{ providedIn: 'root' }]
|
|
76
|
-
}], ctorParameters:
|
|
76
|
+
}], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.Router, decorators: [{
|
|
77
77
|
type: Optional
|
|
78
|
-
}] }]
|
|
78
|
+
}] }] });
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-services-overlay.mjs","sources":["../../../../libs/ui-kit/services/overlay/overlay.service.ts","../../../../libs/ui-kit/services/overlay/ng-doc-ui-kit-services-overlay.ts"],"sourcesContent":["import {\n\tFlexibleConnectedPositionStrategy,\n\tGlobalPositionStrategy,\n\tOverlay,\n\tOverlayRef,\n\tScrollStrategyOptions,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n\tComponentRef,\n\tInjectable,\n\tInjector,\n\tNgZone,\n\tOptional,\n\tStaticProvider,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayConfig, NgDocOverlayContainer } from '@ng-doc/ui-kit/interfaces';\nimport { NgDocContent, NgDocOverlayOrigin, NgDocOverlayPosition } from '@ng-doc/ui-kit/types';\nimport { NgDocOverlayUtils } from '@ng-doc/ui-kit/utils';\nimport { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';\nimport { take } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayService {\n\tconstructor(\n\t\tprivate overlay: Overlay,\n\t\tprivate ngZone: NgZone,\n\t\tprivate injector: Injector,\n\t\t@Optional()\n\t\tprivate router?: Router,\n\t) {}\n\n\topen<R>(\n\t\tcontent: NgDocContent,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[] = [],\n\t): NgDocOverlayRef<R> {\n\t\tconst overlayRef: OverlayRef = this.createOverlay(config);\n\t\treturn this.attachTooltipContainer(content, overlayRef, config, providers);\n\t}\n\n\tprivate attachTooltipContainer<R>(\n\t\tcontent: NgDocContent,\n\t\toverlay: OverlayRef,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[],\n\t): NgDocOverlayRef<R> {\n\t\tconst containerPortal: ComponentPortal<NgDocOverlayContainer> = new ComponentPortal(\n\t\t\tconfig.overlayContainer,\n\t\t\tconfig.viewContainerRef,\n\t\t\tconfig.viewContainerRef?.injector,\n\t\t);\n\t\tconst containerRef: ComponentRef<NgDocOverlayContainer> = overlay.attach(containerPortal);\n\t\tconst overlayRef: NgDocOverlayRef<R> = new NgDocOverlayRef<R>(\n\t\t\toverlay,\n\t\t\tconfig,\n\t\t\tcontainerRef.instance,\n\t\t\tthis.ngZone,\n\t\t\tthis.router,\n\t\t);\n\n\t\tif (content instanceof PolymorpheusComponent) {\n\t\t\tcontent = new PolymorpheusComponent(\n\t\t\t\tcontent.component,\n\t\t\t\tthis.createInjector(overlayRef, providers, config.viewContainerRef?.injector),\n\t\t\t);\n\t\t}\n\n\t\tcontainerRef.instance.config = config;\n\t\tcontainerRef.instance.content = content;\n\t\tcontainerRef.instance.markForCheck();\n\n\t\treturn overlayRef;\n\t}\n\n\tprivate createOverlay(config: NgDocOverlayConfig): OverlayRef {\n\t\tconst overlayRef: OverlayRef = this.overlay.create(config);\n\t\toverlayRef\n\t\t\t.detachments()\n\t\t\t.pipe(take(1))\n\t\t\t.subscribe(() => {\n\t\t\t\toverlayRef.hasAttached() && overlayRef.detach();\n\t\t\t});\n\t\treturn overlayRef;\n\t}\n\n\tconnectedPositionStrategy(\n\t\torigin: NgDocOverlayOrigin,\n\t\tpositions: NgDocOverlayPosition | NgDocOverlayPosition[],\n\t): FlexibleConnectedPositionStrategy {\n\t\treturn this.overlay\n\t\t\t.position()\n\t\t\t.flexibleConnectedTo(origin)\n\t\t\t.withPositions(NgDocOverlayUtils.toConnectedPositions(asArray(positions)))\n\t\t\t.withPush(true);\n\t}\n\n\tglobalPositionStrategy(): GlobalPositionStrategy {\n\t\treturn this.overlay.position().global();\n\t}\n\n\tscrollStrategy(): ScrollStrategyOptions {\n\t\treturn this.overlay.scrollStrategies;\n\t}\n\n\tprivate createInjector<R>(\n\t\toverlayRef: NgDocOverlayRef<R>,\n\t\tproviders: StaticProvider[],\n\t\tinjector?: Injector,\n\t): Injector {\n\t\treturn Injector.create({\n\t\t\tproviders: [\n\t\t\t\t...providers,\n\t\t\t\t{\n\t\t\t\t\tprovide: NgDocOverlayRef,\n\t\t\t\t\tuseValue: overlayRef,\n\t\t\t\t},\n\t\t\t],\n\t\t\tparent: injector || this.injector,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-overlay.mjs","sources":["../../../../libs/ui-kit/services/overlay/overlay.service.ts","../../../../libs/ui-kit/services/overlay/ng-doc-ui-kit-services-overlay.ts"],"sourcesContent":["import {\n\tFlexibleConnectedPositionStrategy,\n\tGlobalPositionStrategy,\n\tOverlay,\n\tOverlayRef,\n\tScrollStrategyOptions,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n\tComponentRef,\n\tInjectable,\n\tInjector,\n\tNgZone,\n\tOptional,\n\tStaticProvider,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayConfig, NgDocOverlayContainer } from '@ng-doc/ui-kit/interfaces';\nimport { NgDocContent, NgDocOverlayOrigin, NgDocOverlayPosition } from '@ng-doc/ui-kit/types';\nimport { NgDocOverlayUtils } from '@ng-doc/ui-kit/utils';\nimport { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';\nimport { take } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayService {\n\tconstructor(\n\t\tprivate overlay: Overlay,\n\t\tprivate ngZone: NgZone,\n\t\tprivate injector: Injector,\n\t\t@Optional()\n\t\tprivate router?: Router,\n\t) {}\n\n\topen<R>(\n\t\tcontent: NgDocContent,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[] = [],\n\t): NgDocOverlayRef<R> {\n\t\tconst overlayRef: OverlayRef = this.createOverlay(config);\n\t\treturn this.attachTooltipContainer(content, overlayRef, config, providers);\n\t}\n\n\tprivate attachTooltipContainer<R>(\n\t\tcontent: NgDocContent,\n\t\toverlay: OverlayRef,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[],\n\t): NgDocOverlayRef<R> {\n\t\tconst containerPortal: ComponentPortal<NgDocOverlayContainer> = new ComponentPortal(\n\t\t\tconfig.overlayContainer,\n\t\t\tconfig.viewContainerRef,\n\t\t\tconfig.viewContainerRef?.injector,\n\t\t);\n\t\tconst containerRef: ComponentRef<NgDocOverlayContainer> = overlay.attach(containerPortal);\n\t\tconst overlayRef: NgDocOverlayRef<R> = new NgDocOverlayRef<R>(\n\t\t\toverlay,\n\t\t\tconfig,\n\t\t\tcontainerRef.instance,\n\t\t\tthis.ngZone,\n\t\t\tthis.router,\n\t\t);\n\n\t\tif (content instanceof PolymorpheusComponent) {\n\t\t\tcontent = new PolymorpheusComponent(\n\t\t\t\tcontent.component,\n\t\t\t\tthis.createInjector(overlayRef, providers, config.viewContainerRef?.injector),\n\t\t\t);\n\t\t}\n\n\t\tcontainerRef.instance.config = config;\n\t\tcontainerRef.instance.content = content;\n\t\tcontainerRef.instance.markForCheck();\n\n\t\treturn overlayRef;\n\t}\n\n\tprivate createOverlay(config: NgDocOverlayConfig): OverlayRef {\n\t\tconst overlayRef: OverlayRef = this.overlay.create(config);\n\t\toverlayRef\n\t\t\t.detachments()\n\t\t\t.pipe(take(1))\n\t\t\t.subscribe(() => {\n\t\t\t\toverlayRef.hasAttached() && overlayRef.detach();\n\t\t\t});\n\t\treturn overlayRef;\n\t}\n\n\tconnectedPositionStrategy(\n\t\torigin: NgDocOverlayOrigin,\n\t\tpositions: NgDocOverlayPosition | NgDocOverlayPosition[],\n\t): FlexibleConnectedPositionStrategy {\n\t\treturn this.overlay\n\t\t\t.position()\n\t\t\t.flexibleConnectedTo(origin)\n\t\t\t.withPositions(NgDocOverlayUtils.toConnectedPositions(asArray(positions)))\n\t\t\t.withPush(true);\n\t}\n\n\tglobalPositionStrategy(): GlobalPositionStrategy {\n\t\treturn this.overlay.position().global();\n\t}\n\n\tscrollStrategy(): ScrollStrategyOptions {\n\t\treturn this.overlay.scrollStrategies;\n\t}\n\n\tprivate createInjector<R>(\n\t\toverlayRef: NgDocOverlayRef<R>,\n\t\tproviders: StaticProvider[],\n\t\tinjector?: Injector,\n\t): Injector {\n\t\treturn Injector.create({\n\t\t\tproviders: [\n\t\t\t\t...providers,\n\t\t\t\t{\n\t\t\t\t\tprovide: NgDocOverlayRef,\n\t\t\t\t\tuseValue: overlayRef,\n\t\t\t\t},\n\t\t\t],\n\t\t\tparent: injector || this.injector,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -22,18 +22,18 @@ class NgDocScrollService {
|
|
|
22
22
|
unblock() {
|
|
23
23
|
this.scrollStrategy.disable();
|
|
24
24
|
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.2", 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.2", ngImport: i0, type: NgDocScrollService, providedIn: 'root' }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.2", ngImport: i0, type: NgDocScrollService, decorators: [{
|
|
29
29
|
type: Injectable,
|
|
30
30
|
args: [{
|
|
31
31
|
providedIn: 'root',
|
|
32
32
|
}]
|
|
33
|
-
}], ctorParameters:
|
|
33
|
+
}], ctorParameters: () => [{ type: Document, decorators: [{
|
|
34
34
|
type: Inject,
|
|
35
35
|
args: [DOCUMENT]
|
|
36
|
-
}] }, { type: i1.ViewportRuler }]
|
|
36
|
+
}] }, { type: i1.ViewportRuler }] });
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-doc-ui-kit-services-scroll.mjs","sources":["../../../../libs/ui-kit/services/scroll/scroll.service.ts","../../../../libs/ui-kit/services/scroll/ng-doc-ui-kit-services-scroll.ts"],"sourcesContent":["import { BlockScrollStrategy, ViewportRuler } from '@angular/cdk/overlay';\nimport { DOCUMENT } from '@angular/common';\nimport { Inject, Injectable } from '@angular/core';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class NgDocScrollService {\n\tprivate readonly scrollStrategy: BlockScrollStrategy;\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\tprivate readonly viewportRuler: ViewportRuler,\n\t) {\n\t\tthis.scrollStrategy = new BlockScrollStrategy(this.viewportRuler, this.document);\n\t}\n\n\t/**\n\t * Block global scroll\n\t */\n\tblock(): void {\n\t\tthis.scrollStrategy.enable();\n\t}\n\n\t/**\n\t * Unblock global scroll\n\t */\n\tunblock(): void {\n\t\tthis.scrollStrategy.disable();\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"ng-doc-ui-kit-services-scroll.mjs","sources":["../../../../libs/ui-kit/services/scroll/scroll.service.ts","../../../../libs/ui-kit/services/scroll/ng-doc-ui-kit-services-scroll.ts"],"sourcesContent":["import { BlockScrollStrategy, ViewportRuler } from '@angular/cdk/overlay';\nimport { DOCUMENT } from '@angular/common';\nimport { Inject, Injectable } from '@angular/core';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class NgDocScrollService {\n\tprivate readonly scrollStrategy: BlockScrollStrategy;\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\tprivate readonly viewportRuler: ViewportRuler,\n\t) {\n\t\tthis.scrollStrategy = new BlockScrollStrategy(this.viewportRuler, this.document);\n\t}\n\n\t/**\n\t * Block global scroll\n\t */\n\tblock(): void {\n\t\tthis.scrollStrategy.enable();\n\t}\n\n\t/**\n\t * Unblock global scroll\n\t */\n\tunblock(): void {\n\t\tthis.scrollStrategy.disable();\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAOa,kBAAkB,CAAA;IAG9B,WAEkB,CAAA,QAAkB,EAClB,aAA4B,EAAA;QAD5B,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAClB,IAAa,CAAA,aAAA,GAAb,aAAa,CAAe;AAE7C,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;KACjF;AAED;;AAEG;IACH,KAAK,GAAA;AACJ,QAAA,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC;KAC7B;AAED;;AAEG;IACH,OAAO,GAAA;AACN,QAAA,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;KAC9B;AAvBW,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,kBAIrB,QAAQ,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,aAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAJL,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFlB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA,CAAA;;0BAKE,MAAM;2BAAC,QAAQ,CAAA;;;ACXlB;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-doc/ui-kit",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.18.0-beta.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": ">=
|
|
6
|
-
"@angular/core": ">=
|
|
5
|
+
"@angular/common": ">=17.0.0",
|
|
6
|
+
"@angular/core": ">=17.0.0",
|
|
7
7
|
"@ngneat/until-destroy": "9.2.0",
|
|
8
8
|
"flex-controls": "2.0.1",
|
|
9
9
|
"@tinkoff/ng-polymorpheus": "4.0.11",
|
|
10
10
|
"rxjs": "^7.0.0"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"tslib": "^2.
|
|
14
|
-
"@ng-doc/core": "16.
|
|
13
|
+
"tslib": "^2.6.2",
|
|
14
|
+
"@ng-doc/core": "16.18.0-beta.1",
|
|
15
15
|
"@angular/cdk": "^16.0.0"
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
@@ -35,30 +35,30 @@
|
|
|
35
35
|
"esm": "./esm2022/animations/ng-doc-ui-kit-animations.mjs",
|
|
36
36
|
"default": "./fesm2022/ng-doc-ui-kit-animations.mjs"
|
|
37
37
|
},
|
|
38
|
-
"./classes": {
|
|
39
|
-
"types": "./classes/index.d.ts",
|
|
40
|
-
"esm2022": "./esm2022/classes/ng-doc-ui-kit-classes.mjs",
|
|
41
|
-
"esm": "./esm2022/classes/ng-doc-ui-kit-classes.mjs",
|
|
42
|
-
"default": "./fesm2022/ng-doc-ui-kit-classes.mjs"
|
|
43
|
-
},
|
|
44
|
-
"./constants": {
|
|
45
|
-
"types": "./constants/index.d.ts",
|
|
46
|
-
"esm2022": "./esm2022/constants/ng-doc-ui-kit-constants.mjs",
|
|
47
|
-
"esm": "./esm2022/constants/ng-doc-ui-kit-constants.mjs",
|
|
48
|
-
"default": "./fesm2022/ng-doc-ui-kit-constants.mjs"
|
|
49
|
-
},
|
|
50
38
|
"./cdk": {
|
|
51
39
|
"types": "./cdk/index.d.ts",
|
|
52
40
|
"esm2022": "./esm2022/cdk/ng-doc-ui-kit-cdk.mjs",
|
|
53
41
|
"esm": "./esm2022/cdk/ng-doc-ui-kit-cdk.mjs",
|
|
54
42
|
"default": "./fesm2022/ng-doc-ui-kit-cdk.mjs"
|
|
55
43
|
},
|
|
44
|
+
"./classes": {
|
|
45
|
+
"types": "./classes/index.d.ts",
|
|
46
|
+
"esm2022": "./esm2022/classes/ng-doc-ui-kit-classes.mjs",
|
|
47
|
+
"esm": "./esm2022/classes/ng-doc-ui-kit-classes.mjs",
|
|
48
|
+
"default": "./fesm2022/ng-doc-ui-kit-classes.mjs"
|
|
49
|
+
},
|
|
56
50
|
"./components": {
|
|
57
51
|
"types": "./components/index.d.ts",
|
|
58
52
|
"esm2022": "./esm2022/components/ng-doc-ui-kit-components.mjs",
|
|
59
53
|
"esm": "./esm2022/components/ng-doc-ui-kit-components.mjs",
|
|
60
54
|
"default": "./fesm2022/ng-doc-ui-kit-components.mjs"
|
|
61
55
|
},
|
|
56
|
+
"./constants": {
|
|
57
|
+
"types": "./constants/index.d.ts",
|
|
58
|
+
"esm2022": "./esm2022/constants/ng-doc-ui-kit-constants.mjs",
|
|
59
|
+
"esm": "./esm2022/constants/ng-doc-ui-kit-constants.mjs",
|
|
60
|
+
"default": "./fesm2022/ng-doc-ui-kit-constants.mjs"
|
|
61
|
+
},
|
|
62
62
|
"./decorators": {
|
|
63
63
|
"types": "./decorators/index.d.ts",
|
|
64
64
|
"esm2022": "./esm2022/decorators/ng-doc-ui-kit-decorators.mjs",
|
|
@@ -131,6 +131,12 @@
|
|
|
131
131
|
"esm": "./esm2022/utils/ng-doc-ui-kit-utils.mjs",
|
|
132
132
|
"default": "./fesm2022/ng-doc-ui-kit-utils.mjs"
|
|
133
133
|
},
|
|
134
|
+
"./cdk/combobox-host": {
|
|
135
|
+
"types": "./cdk/combobox-host/index.d.ts",
|
|
136
|
+
"esm2022": "./esm2022/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs",
|
|
137
|
+
"esm": "./esm2022/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs",
|
|
138
|
+
"default": "./fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs"
|
|
139
|
+
},
|
|
134
140
|
"./classes/base-input": {
|
|
135
141
|
"types": "./classes/base-input/index.d.ts",
|
|
136
142
|
"esm2022": "./esm2022/classes/base-input/ng-doc-ui-kit-classes-base-input.mjs",
|
|
@@ -173,12 +179,6 @@
|
|
|
173
179
|
"esm": "./esm2022/classes/overlay-ref/ng-doc-ui-kit-classes-overlay-ref.mjs",
|
|
174
180
|
"default": "./fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs"
|
|
175
181
|
},
|
|
176
|
-
"./cdk/combobox-host": {
|
|
177
|
-
"types": "./cdk/combobox-host/index.d.ts",
|
|
178
|
-
"esm2022": "./esm2022/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs",
|
|
179
|
-
"esm": "./esm2022/cdk/combobox-host/ng-doc-ui-kit-cdk-combobox-host.mjs",
|
|
180
|
-
"default": "./fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs"
|
|
181
|
-
},
|
|
182
182
|
"./components/blockquote": {
|
|
183
183
|
"types": "./components/blockquote/index.d.ts",
|
|
184
184
|
"esm2022": "./esm2022/components/blockquote/ng-doc-ui-kit-components-blockquote.mjs",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ScrollStrategy } from '@angular/cdk/overlay';
|
|
1
|
+
import { OverlayRef, ScrollStrategy } from '@angular/cdk/overlay';
|
|
2
2
|
import { NgZone } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NgDocOverlayStrategy implements ScrollStrategy {
|
|
@@ -7,7 +7,7 @@ export declare class NgDocOverlayStrategy implements ScrollStrategy {
|
|
|
7
7
|
private overlayRef;
|
|
8
8
|
private destroy$;
|
|
9
9
|
constructor(documentRef: Document, ngZone: NgZone);
|
|
10
|
-
attach(overlayRef:
|
|
10
|
+
attach(overlayRef: OverlayRef): void;
|
|
11
11
|
enable(): void;
|
|
12
12
|
private get origin();
|
|
13
13
|
disable(): void;
|