@anglr/common 17.0.0-beta.20230711095959 → 17.0.0-beta.20230815112307
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/changelog.md +89 -3
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js +15 -2
- package/es2022/floating-ui/src/services/floatingUiDomPosition.service.js.map +1 -1
- package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js +1 -1
- package/es2022/forms/src/modules/errorMessage/components/groupErrors/groupErrors.component.js.map +1 -1
- package/es2022/numeral/src/modules/numeral.module.js +4 -4
- package/es2022/numeral/src/modules/numeral.module.js.map +1 -1
- package/es2022/numeral/src/pipes/numeral.pipe.js +6 -6
- package/es2022/numeral/src/pipes/numeral.pipe.js.map +1 -1
- package/es2022/src/{modules/clickOutside/directives → directives}/clickOutside/clickOutside.directive.js +29 -22
- package/es2022/src/directives/clickOutside/clickOutside.directive.js.map +1 -0
- package/es2022/src/{modules/goBack/directives → directives}/goBack/goBack.directive.js +7 -6
- package/es2022/src/directives/goBack/goBack.directive.js.map +1 -0
- package/es2022/src/{modules/position/directives → directives}/positionTo/positionTo.directive.js +9 -8
- package/es2022/src/directives/positionTo/positionTo.directive.js.map +1 -0
- package/es2022/src/index.js +6 -5
- package/es2022/src/index.js.map +1 -1
- package/es2022/src/modules/commonUtils.module.js +21 -21
- package/es2022/src/modules/commonUtils.module.js.map +1 -1
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js +15 -15
- package/es2022/src/modules/tooltip/components/tooltip/tooltip.component.js.map +1 -1
- package/es2022/src/pipes/isNaN/isNaN.pipe.js +7 -6
- package/es2022/src/pipes/isNaN/isNaN.pipe.js.map +1 -1
- package/es2022/src/pipes/isPresent/isPresent.pipe.js +7 -6
- package/es2022/src/pipes/isPresent/isPresent.pipe.js.map +1 -1
- package/es2022/src/pipes/keys/keys.pipe.js +6 -6
- package/es2022/src/pipes/keys/keys.pipe.js.map +1 -1
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js +6 -6
- package/es2022/src/pipes/mergeCssClasses/mergeCssClasses.pipe.js.map +1 -1
- package/es2022/src/pipes/urlEncode/urlEncode.pipe.js +6 -6
- package/es2022/src/pipes/urlEncode/urlEncode.pipe.js.map +1 -1
- package/es2022/src/services/logger/logger.interface.js.map +1 -1
- package/es2022/src/services/notifications/defaultNotifications.service.js +12 -12
- package/es2022/src/services/notifications/defaultNotifications.service.js.map +1 -1
- package/es2022/src/services/notifications/notifications.interface.js +10 -1
- package/es2022/src/services/notifications/notifications.interface.js.map +1 -1
- package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js +22 -0
- package/es2022/src/services/permanentStorage/cookiePermanentStorage.service.js.map +1 -1
- package/es2022/src/services/permanentStorage/permanentStorage.interface.js.map +1 -1
- package/es2022/src/services/position/position.interface.js.map +1 -1
- package/es2022/src/services/stringLocalization/noStringLocalization.service.js +2 -4
- package/es2022/src/services/stringLocalization/noStringLocalization.service.js.map +1 -1
- package/es2022/src/services/stringLocalization/stringLocalization.interface.js.map +1 -1
- package/es2022/src/services/temporaryStorage/temporaryStorage.interface.js.map +1 -1
- package/es2022/src/types/providerDecoratedType.js +32 -0
- package/es2022/src/types/providerDecoratedType.js.map +1 -0
- package/es2022/src/types/providers.js +48 -0
- package/es2022/src/types/providers.js.map +1 -0
- package/es2022/store/src/index.js +1 -1
- package/es2022/store/src/index.js.map +1 -1
- package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js +21 -1
- package/es2022/store/src/services/permanentStorage/localPermanentStorage.service.js.map +1 -1
- package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js +21 -0
- package/es2022/store/src/services/temporaryStorage/sessionTemporaryStorage.service.js.map +1 -1
- package/es2022/structured-log/src/components/console/console.component.js +2 -2
- package/es2022/structured-log/src/components/console/console.component.js.map +1 -1
- package/es2022/structured-log/src/index.js +1 -0
- package/es2022/structured-log/src/index.js.map +1 -1
- package/es2022/structured-log/src/misc/providers.js +12 -0
- package/es2022/structured-log/src/misc/providers.js.map +1 -0
- package/es2022/structured-log/src/modules/consoleLog.module.js +0 -15
- package/es2022/structured-log/src/modules/consoleLog.module.js.map +1 -1
- package/es2022/structured-log/src/services/logger.service.js +21 -0
- package/es2022/structured-log/src/services/logger.service.js.map +1 -1
- package/es2022/structured-log/src/types/tokens.js +0 -9
- package/es2022/structured-log/src/types/tokens.js.map +1 -1
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts +3 -4
- package/floating-ui/src/services/floatingUiDomPosition.service.d.ts.map +1 -1
- package/numeral/src/modules/numeral.module.d.ts +1 -1
- package/numeral/src/pipes/numeral.pipe.d.ts +3 -3
- package/numeral/src/pipes/numeral.pipe.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/directives/clickOutside/clickOutside.directive.d.ts +48 -0
- package/src/directives/clickOutside/clickOutside.directive.d.ts.map +1 -0
- package/src/{modules/goBack/directives → directives}/goBack/goBack.directive.d.ts +3 -3
- package/src/directives/goBack/goBack.directive.d.ts.map +1 -0
- package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts +4 -4
- package/src/{modules/position/directives → directives}/positionTo/positionTo.directive.d.ts.map +1 -1
- package/src/index.d.ts +9 -8
- package/src/index.d.ts.map +1 -1
- package/src/modules/commonUtils.module.d.ts +1 -1
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts +10 -9
- package/src/modules/tooltip/components/tooltip/tooltip.component.d.ts.map +1 -1
- package/src/pipes/isNaN/isNaN.pipe.d.ts +3 -3
- package/src/pipes/isNaN/isNaN.pipe.d.ts.map +1 -1
- package/src/pipes/isPresent/isPresent.pipe.d.ts +4 -4
- package/src/pipes/isPresent/isPresent.pipe.d.ts.map +1 -1
- package/src/pipes/keys/keys.pipe.d.ts +3 -3
- package/src/pipes/keys/keys.pipe.d.ts.map +1 -1
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts +3 -3
- package/src/pipes/mergeCssClasses/mergeCssClasses.pipe.d.ts.map +1 -1
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts +3 -3
- package/src/pipes/urlEncode/urlEncode.pipe.d.ts.map +1 -1
- package/src/services/logger/logger.interface.d.ts +6 -0
- package/src/services/logger/logger.interface.d.ts.map +1 -1
- package/src/services/notifications/defaultNotifications.service.d.ts +6 -6
- package/src/services/notifications/defaultNotifications.service.d.ts.map +1 -1
- package/src/services/notifications/notifications.interface.d.ts +19 -7
- package/src/services/notifications/notifications.interface.d.ts.map +1 -1
- package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts +5 -1
- package/src/services/permanentStorage/cookiePermanentStorage.service.d.ts.map +1 -1
- package/src/services/permanentStorage/permanentStorage.interface.d.ts +6 -0
- package/src/services/permanentStorage/permanentStorage.interface.d.ts.map +1 -1
- package/src/services/position/position.interface.d.ts +6 -0
- package/src/services/position/position.interface.d.ts.map +1 -1
- package/src/services/stringLocalization/noStringLocalization.service.d.ts +1 -2
- package/src/services/stringLocalization/noStringLocalization.service.d.ts.map +1 -1
- package/src/services/stringLocalization/stringLocalization.interface.d.ts +6 -0
- package/src/services/stringLocalization/stringLocalization.interface.d.ts.map +1 -1
- package/src/services/temporaryStorage/temporaryStorage.interface.d.ts +6 -0
- package/src/services/temporaryStorage/temporaryStorage.interface.d.ts.map +1 -1
- package/src/types/providerDecoratedType.d.ts +12 -0
- package/src/types/providerDecoratedType.d.ts.map +1 -0
- package/src/types/providers.d.ts +32 -0
- package/src/types/providers.d.ts.map +1 -0
- package/store/src/index.d.ts +1 -1
- package/store/src/index.d.ts.map +1 -1
- package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts +5 -1
- package/store/src/services/permanentStorage/localPermanentStorage.service.d.ts.map +1 -1
- package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts +5 -1
- package/store/src/services/temporaryStorage/sessionTemporaryStorage.service.d.ts.map +1 -1
- package/structured-log/src/components/console/console.component.d.ts.map +1 -1
- package/structured-log/src/components/console/console.component.html +1 -1
- package/structured-log/src/index.d.ts +1 -0
- package/structured-log/src/index.d.ts.map +1 -1
- package/structured-log/src/misc/providers.d.ts +6 -0
- package/structured-log/src/misc/providers.d.ts.map +1 -0
- package/structured-log/src/modules/consoleLog.module.d.ts +0 -5
- package/structured-log/src/modules/consoleLog.module.d.ts.map +1 -1
- package/structured-log/src/services/logger.service.d.ts +5 -1
- package/structured-log/src/services/logger.service.d.ts.map +1 -1
- package/structured-log/src/types/tokens.d.ts +0 -4
- package/structured-log/src/types/tokens.d.ts.map +1 -1
- package/version.bak +1 -1
- package/es2022/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.js.map +0 -1
- package/es2022/src/modules/clickOutside/modules/clickOutside.module.js +0 -25
- package/es2022/src/modules/clickOutside/modules/clickOutside.module.js.map +0 -1
- package/es2022/src/modules/goBack/directives/goBack/goBack.directive.js.map +0 -1
- package/es2022/src/modules/goBack/directives/index.js +0 -2
- package/es2022/src/modules/goBack/directives/index.js.map +0 -1
- package/es2022/src/modules/goBack/index.js +0 -3
- package/es2022/src/modules/goBack/index.js.map +0 -1
- package/es2022/src/modules/goBack/modules/goBack.module.js +0 -24
- package/es2022/src/modules/goBack/modules/goBack.module.js.map +0 -1
- package/es2022/src/modules/goBack/modules/index.js +0 -2
- package/es2022/src/modules/goBack/modules/index.js.map +0 -1
- package/es2022/src/modules/position/directives/index.js +0 -2
- package/es2022/src/modules/position/directives/index.js.map +0 -1
- package/es2022/src/modules/position/directives/positionTo/positionTo.directive.js.map +0 -1
- package/es2022/src/modules/position/index.js +0 -3
- package/es2022/src/modules/position/index.js.map +0 -1
- package/es2022/src/modules/position/modules/index.js +0 -2
- package/es2022/src/modules/position/modules/index.js.map +0 -1
- package/es2022/src/modules/position/modules/position.module.js +0 -25
- package/es2022/src/modules/position/modules/position.module.js.map +0 -1
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts +0 -47
- package/src/modules/clickOutside/directives/clickOutside/clickOutside.directive.d.ts.map +0 -1
- package/src/modules/clickOutside/modules/clickOutside.module.d.ts +0 -11
- package/src/modules/clickOutside/modules/clickOutside.module.d.ts.map +0 -1
- package/src/modules/goBack/directives/goBack/goBack.directive.d.ts.map +0 -1
- package/src/modules/goBack/directives/index.d.ts +0 -2
- package/src/modules/goBack/directives/index.d.ts.map +0 -1
- package/src/modules/goBack/index.d.ts +0 -3
- package/src/modules/goBack/index.d.ts.map +0 -1
- package/src/modules/goBack/modules/goBack.module.d.ts +0 -11
- package/src/modules/goBack/modules/goBack.module.d.ts.map +0 -1
- package/src/modules/goBack/modules/index.d.ts +0 -2
- package/src/modules/goBack/modules/index.d.ts.map +0 -1
- package/src/modules/position/directives/index.d.ts +0 -2
- package/src/modules/position/directives/index.d.ts.map +0 -1
- package/src/modules/position/index.d.ts +0 -3
- package/src/modules/position/index.d.ts.map +0 -1
- package/src/modules/position/modules/index.d.ts +0 -2
- package/src/modules/position/modules/index.d.ts.map +0 -1
- package/src/modules/position/modules/position.module.d.ts +0 -11
- package/src/modules/position/modules/position.module.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/position/directives/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './positionTo/positionTo.directive';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"positionTo.directive.js","sourceRoot":"","sources":["../../../../../../src/modules/position/directives/positionTo/positionTo.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAE,KAAK,EAAE,UAAU,EAA4B,MAAM,EAAE,MAAM,EAAE,YAAY,EAAY,MAAM,eAAe,CAAC;AAC9H,OAAO,EAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAoB,MAAM,gBAAgB,CAAC;AAE9E,OAAO,EAAC,mBAAmB,EAAY,iBAAiB,EAA+F,MAAM,+BAA+B,CAAC;AAC7L,OAAO,EAAC,Q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;mBACV;oBACI,QAAQ,EAAE,cAAc;iBAC3B;;0BA0FgB,MAAM;2BAAC,QAAQ;4CAhEjB,MAAM;sBADhB,KAAK;uBAAC,YAAY;gBAqBR,SAAS;sBADnB,KAAK;gBAqBC,MAAM;sBADZ,KAAK;gBAOC,UAAU;sBADhB,KAAK;gBASC,IAAI;sBADV,MAAM;gBAOA,IAAI;sBADV,MAAM","sourcesContent":["import {Directive, Input, ElementRef, OnChanges, SimpleChanges, Inject, Output, EventEmitter, OnDestroy} from '@angular/core';\nimport {nameof, isPresent, isString, Func1, NoopAction} from '@jscrpt/common';\n\nimport {applyPositionResult, Position, PositionPlacement, PositionOptions, PositionOffsetString, PositionOffsets, PositionArguments, AutoUpdateOptions} from '../../../../services/position';\nimport {POSITION} from '../../../../types/tokens';\n\n/**\n * Sets position of attached element relative to provided element\n */\n@Directive(\n{\n selector: '[positionTo]'\n})\nexport class PositionToDirective implements OnChanges, OnDestroy\n{\n //######################### protected fields #########################\n\n /**\n * Position placement value\n */\n protected ɵPlacement: PositionPlacement|undefined|null;\n\n /**\n * Html element which is used as source for positioning\n */\n protected ɵSource: HTMLElement|undefined|null;\n\n /**\n * Method used for disposing auto positioning\n */\n protected dispose: NoopAction|undefined|null;\n\n //######################### public properties - inputs #########################\n\n /**\n * Gets or sets html element which is used as source for positioning\n */\n @Input('positionTo')\n public get source(): HTMLElement|undefined|null\n {\n return this.ɵSource;\n }\n public set source(value: HTMLElement|undefined|null)\n {\n if(value instanceof ElementRef)\n {\n this.ɵSource = (value as ElementRef).nativeElement;\n\n return;\n }\n\n this.ɵSource = value;\n }\n\n /**\n * Gets or sets position placement value\n */\n @Input()\n public get placement(): PositionPlacement|undefined|null\n {\n return this.ɵPlacement;\n }\n public set placement(value: PositionPlacement|undefined|null)\n {\n if(isString(value))\n {\n this.ɵPlacement = PositionPlacement[value as keyof typeof PositionPlacement];\n\n return;\n }\n\n this.ɵPlacement = value;\n }\n\n /**\n * Offset which allows moving target element along the cross axis of placement, or any chosed direction\n */\n @Input()\n public offset: PositionOffsetString|number|PositionOffsets|Func1<number|PositionOffsets, PositionArguments> = 'None';\n\n /**\n * Indication whether set up 'auto updating' of position\n */\n @Input()\n public autoUpdate: boolean|AutoUpdateOptions = true;\n\n //######################### public properties - outputs #########################\n\n /**\n * Occurs when flip occurs during positioning\n */\n @Output()\n public flip: EventEmitter<void> = new EventEmitter<void>();\n\n /**\n * Occurs when element was positioned\n */\n @Output()\n public done: EventEmitter<void> = new EventEmitter<void>();\n\n //######################### constructor #########################\n constructor(protected target: ElementRef<HTMLElement>,\n @Inject(POSITION) protected position: Position)\n {\n }\n\n //######################### public methods - implementation of OnChanges #########################\n\n /**\n * Called when input value changes\n */\n public ngOnChanges(changes: SimpleChanges): void\n {\n if((nameof<PositionToDirective>('source') in changes ||\n nameof<PositionToDirective>('placement') in changes) &&\n isPresent(this.source))\n {\n this._applyPosition();\n }\n }\n\n //######################### public methods - implementation of OnDestroy #########################\n \n /**\n * Called when component is destroyed\n */\n public ngOnDestroy(): void\n {\n this.dispose?.();\n }\n\n //######################### protected methods #########################\n\n /**\n * Applies position according to specified parameters to specified elements\n */\n protected _applyPosition(): void\n {\n if(!this.ɵSource)\n {\n return;\n }\n\n const options: Partial<PositionOptions> =\n {\n flip: true,\n autoUpdate: this.autoUpdate,\n offset: this.offset,\n };\n\n if(this.ɵPlacement)\n {\n options.placement = this.ɵPlacement;\n }\n\n this.dispose?.();\n\n this.position.placeElement(this.target.nativeElement,\n this.ɵSource,\n options)\n .subscribe(result =>\n {\n this.dispose = result.dispose;\n\n applyPositionResult(result);\n\n if(result.flip)\n {\n this.flip.emit();\n }\n\n this.done.emit();\n });\n }\n\n //######################### ng language server #########################\n\n /**\n * Custom input type for `placement` input\n */\n public static ngAcceptInputType_placement: PositionPlacement|undefined|null|keyof typeof PositionPlacement;\n\n //######################### ng language server #########################\n\n /**\n * Custom input type for `source` input\n */\n public static ngAcceptInputType_source: HTMLElement|ElementRef<HTMLElement>;\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/position/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC","sourcesContent":["export * from './directives';\nexport * from './modules';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/position/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './position.module';\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { PositionToDirective } from '../directives/positionTo/positionTo.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Module for position to directive
|
|
6
|
-
*/
|
|
7
|
-
class PositionModule {
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PositionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.4", ngImport: i0, type: PositionModule, declarations: [PositionToDirective], exports: [PositionToDirective] });
|
|
10
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PositionModule });
|
|
11
|
-
}
|
|
12
|
-
export { PositionModule };
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: PositionModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [],
|
|
17
|
-
declarations: [
|
|
18
|
-
PositionToDirective
|
|
19
|
-
],
|
|
20
|
-
exports: [
|
|
21
|
-
PositionToDirective
|
|
22
|
-
]
|
|
23
|
-
}]
|
|
24
|
-
}] });
|
|
25
|
-
//# sourceMappingURL=position.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"position.module.js","sourceRoot":"","sources":["../../../../../src/modules/position/modules/position.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,mBAAmB,EAAC,MAAM,+CAA+C,CAAC;;AAElF;;GAEG;AACH,MAca,cAAc;uGAAd,cAAc;wGAAd,cAAc,iBAPnB,mBAAmB,aAInB,mBAAmB;wGAGd,cAAc;;SAAd,cAAc;2FAAd,cAAc;kBAd1B,QAAQ;mBACT;oBACI,OAAO,EACP,EACC;oBACD,YAAY,EACZ;wBACI,mBAAmB;qBACtB;oBACD,OAAO,EACP;wBACI,mBAAmB;qBACtB;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {PositionToDirective} from '../directives/positionTo/positionTo.directive';\n\n/**\n * Module for position to directive\n */\n@NgModule(\n{\n imports:\n [\n ],\n declarations:\n [\n PositionToDirective\n ],\n exports:\n [\n PositionToDirective\n ]\n})\nexport class PositionModule\n{\n}\n"]}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { OnInit, OnDestroy, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Directive that handles click outside of element
|
|
5
|
-
*/
|
|
6
|
-
export declare class ClickOutsideDirective implements OnInit, OnDestroy {
|
|
7
|
-
protected _element: ElementRef<HTMLElement>;
|
|
8
|
-
protected _document: Document;
|
|
9
|
-
/**
|
|
10
|
-
* Variable that is used for displaying element that handles click outside
|
|
11
|
-
*/
|
|
12
|
-
protected _clickOutsideCondition: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Variable that is used for displaying element that handles click outside
|
|
15
|
-
*/
|
|
16
|
-
get clickOutsideCondition(): boolean;
|
|
17
|
-
set clickOutsideCondition(value: boolean);
|
|
18
|
-
/**
|
|
19
|
-
* Additional element that is checked for click
|
|
20
|
-
*/
|
|
21
|
-
clickOutsideElement: HTMLElement;
|
|
22
|
-
/**
|
|
23
|
-
* Used for emitting event when click outside occurs
|
|
24
|
-
*/
|
|
25
|
-
clickOutsideConditionChange: EventEmitter<boolean>;
|
|
26
|
-
constructor(_element: ElementRef<HTMLElement>, _document: Document);
|
|
27
|
-
/**
|
|
28
|
-
* Initialize component
|
|
29
|
-
*/
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
/**
|
|
32
|
-
* Called when component is destroyed
|
|
33
|
-
*/
|
|
34
|
-
ngOnDestroy(): void;
|
|
35
|
-
/**
|
|
36
|
-
* Handles click outside of element
|
|
37
|
-
* @param event - Mouse event object
|
|
38
|
-
*/
|
|
39
|
-
protected _handleClickOutside: (event: MouseEvent) => void;
|
|
40
|
-
/**
|
|
41
|
-
* Custom input type for `clickOutsideCondition` input
|
|
42
|
-
*/
|
|
43
|
-
static ngAcceptInputType_clickOutsideCondition: boolean | '';
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
|
|
45
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[clickOutside]", never, { "clickOutsideCondition": { "alias": "clickOutside"; "required": false; }; "clickOutsideElement": { "alias": "clickOutsideElement"; "required": false; }; }, { "clickOutsideConditionChange": "clickOutsideChange"; }, never, never, false, never>;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=clickOutside.directive.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutside.directive.d.ts","sourceRoot":"","sources":["clickOutside.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,SAAS,EAAS,YAAY,EAAU,UAAU,EAAS,MAAM,eAAe,CAAC;;AAI5G;;GAEG;AACH,qBAIa,qBAAsB,YAAW,MAAM,EAAE,SAAS;IA8C/C,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC;IACzB,SAAS,CAAC,SAAS,EAAE,QAAQ;IA3C3D;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,OAAO,CAAC;IAI1C;;OAEG;IACH,IACW,qBAAqB,IAAI,OAAO,CAG1C;IACD,IAAW,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAU9C;IAED;;OAEG;IAEI,mBAAmB,EAAE,WAAW,CAAC;IAIxC;;OAEG;IAEI,2BAA2B,EAAE,YAAY,CAAC,OAAO,CAAC,CAA+B;gBAGlE,QAAQ,EAAE,UAAU,CAAC,WAAW,CAAC,EACf,SAAS,EAAE,QAAQ;IAM3D;;OAEG;IACI,QAAQ,IAAI,IAAI;IAOvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAO1B;;;OAGG;IACH,SAAS,CAAC,mBAAmB,UAAW,UAAU,UAUjD;IAID;;OAEG;IACH,OAAc,uCAAuC,EAAE,OAAO,GAAC,EAAE,CAAC;yCA9FzD,qBAAqB;2CAArB,qBAAqB;CA+FjC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../directives/clickOutside/clickOutside.directive";
|
|
3
|
-
/**
|
|
4
|
-
* Module for ClickOutside directive
|
|
5
|
-
*/
|
|
6
|
-
export declare class ClickOutsideModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClickOutsideModule, [typeof i1.ClickOutsideDirective], never, [typeof i1.ClickOutsideDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ClickOutsideModule>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=clickOutside.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"clickOutside.module.d.ts","sourceRoot":"","sources":["clickOutside.module.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAca,kBAAkB;yCAAlB,kBAAkB;0CAAlB,kBAAkB;0CAAlB,kBAAkB;CAE9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"goBack.directive.d.ts","sourceRoot":"","sources":["goBack.directive.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;;AAEzC;;GAEG;AACH,qBAIa,eAAe;IAGZ,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,QAAQ;IAMvC;;;OAGG;IAEI,MAAM,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCAd7B,eAAe;2CAAf,eAAe;CAqB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../directives/goBack/goBack.directive";
|
|
3
|
-
/**
|
|
4
|
-
* Module for GoBack directive
|
|
5
|
-
*/
|
|
6
|
-
export declare class GoBackModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GoBackModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GoBackModule, [typeof i1.GoBackDirective], never, [typeof i1.GoBackDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<GoBackModule>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=goBack.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"goBack.module.d.ts","sourceRoot":"","sources":["goBack.module.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAWa,YAAY;yCAAZ,YAAY;0CAAZ,YAAY;0CAAZ,YAAY;CAExB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "../directives/positionTo/positionTo.directive";
|
|
3
|
-
/**
|
|
4
|
-
* Module for position to directive
|
|
5
|
-
*/
|
|
6
|
-
export declare class PositionModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PositionModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PositionModule, [typeof i1.PositionToDirective], never, [typeof i1.PositionToDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PositionModule>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=position.module.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"position.module.d.ts","sourceRoot":"","sources":["position.module.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAca,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAE1B"}
|