@anglr/common 11.0.0 → 11.1.0-beta.20220222192210
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 +21 -0
- package/es2015/forms/src/index.js +1 -0
- package/es2015/forms/src/index.js.map +1 -1
- package/es2015/forms/src/modules/formPipes/index.js +3 -0
- package/es2015/forms/src/modules/formPipes/index.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js +35 -0
- package/es2015/forms/src/modules/formPipes/modules/formPipes.module.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/modules/index.js +2 -0
- package/es2015/forms/src/modules/formPipes/modules/index.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +24 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +24 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +24 -0
- package/es2015/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +31 -0
- package/es2015/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -0
- package/es2015/forms/src/modules/formPipes/pipes/index.js +5 -0
- package/es2015/forms/src/modules/formPipes/pipes/index.js.map +1 -0
- package/es2015/src/decorators/componentDisplay.decorator.js +11 -0
- package/es2015/src/decorators/componentDisplay.decorator.js.map +1 -0
- package/es2015/src/decorators/componentDisplayBlock.decorator.js +10 -0
- package/es2015/src/decorators/componentDisplayBlock.decorator.js.map +1 -0
- package/es2015/src/decorators/componentDisplayFlex.decorator.js +10 -0
- package/es2015/src/decorators/componentDisplayFlex.decorator.js.map +1 -0
- package/es2015/src/decorators/componentHostStyle.decorator.js +22 -0
- package/es2015/src/decorators/componentHostStyle.decorator.js.map +1 -0
- package/es2015/src/decorators/index.js +6 -0
- package/es2015/src/decorators/index.js.map +1 -0
- package/es2015/src/decorators/scrollableContent.decorator.js +10 -0
- package/es2015/src/decorators/scrollableContent.decorator.js.map +1 -0
- package/es2015/src/index.js +3 -1
- package/es2015/src/index.js.map +1 -1
- package/es2015/src/modules/castPipes/index.js +3 -0
- package/es2015/src/modules/castPipes/index.js.map +1 -0
- package/es2015/src/modules/castPipes/modules/castPipes.module.js +35 -0
- package/es2015/src/modules/castPipes/modules/castPipes.module.js.map +1 -0
- package/es2015/src/modules/castPipes/modules/index.js +2 -0
- package/es2015/src/modules/castPipes/modules/index.js.map +1 -0
- package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +15 -0
- package/es2015/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js.map +1 -0
- package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +21 -0
- package/es2015/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js.map +1 -0
- package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +23 -0
- package/es2015/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js.map +1 -0
- package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js +55 -0
- package/es2015/src/modules/castPipes/pipes/castType/castType.pipe.js.map +1 -0
- package/es2015/src/modules/castPipes/pipes/index.js +5 -0
- package/es2015/src/modules/castPipes/pipes/index.js.map +1 -0
- package/es2015/src/modules/{commonLocalize.js → commonLocalize.module.js} +1 -1
- package/es2015/src/modules/commonLocalize.module.js.map +1 -0
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js +1 -1
- package/es2015/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
- package/es2020/forms/src/index.js +1 -0
- package/es2020/forms/src/index.js.map +1 -1
- package/es2020/forms/src/modules/formPipes/index.js +3 -0
- package/es2020/forms/src/modules/formPipes/index.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js +35 -0
- package/es2020/forms/src/modules/formPipes/modules/formPipes.module.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/modules/index.js +2 -0
- package/es2020/forms/src/modules/formPipes/modules/index.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js +24 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js +24 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js +24 -0
- package/es2020/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js +31 -0
- package/es2020/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.js.map +1 -0
- package/es2020/forms/src/modules/formPipes/pipes/index.js +5 -0
- package/es2020/forms/src/modules/formPipes/pipes/index.js.map +1 -0
- package/es2020/src/decorators/componentDisplay.decorator.js +11 -0
- package/es2020/src/decorators/componentDisplay.decorator.js.map +1 -0
- package/es2020/src/decorators/componentDisplayBlock.decorator.js +10 -0
- package/es2020/src/decorators/componentDisplayBlock.decorator.js.map +1 -0
- package/es2020/src/decorators/componentDisplayFlex.decorator.js +10 -0
- package/es2020/src/decorators/componentDisplayFlex.decorator.js.map +1 -0
- package/es2020/src/decorators/componentHostStyle.decorator.js +22 -0
- package/es2020/src/decorators/componentHostStyle.decorator.js.map +1 -0
- package/es2020/src/decorators/index.js +6 -0
- package/es2020/src/decorators/index.js.map +1 -0
- package/es2020/src/decorators/scrollableContent.decorator.js +10 -0
- package/es2020/src/decorators/scrollableContent.decorator.js.map +1 -0
- package/es2020/src/index.js +3 -1
- package/es2020/src/index.js.map +1 -1
- package/es2020/src/modules/castPipes/index.js +3 -0
- package/es2020/src/modules/castPipes/index.js.map +1 -0
- package/es2020/src/modules/castPipes/modules/castPipes.module.js +35 -0
- package/es2020/src/modules/castPipes/modules/castPipes.module.js.map +1 -0
- package/es2020/src/modules/castPipes/modules/index.js +2 -0
- package/es2020/src/modules/castPipes/modules/index.js.map +1 -0
- package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js +15 -0
- package/es2020/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.js.map +1 -0
- package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js +21 -0
- package/es2020/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.js.map +1 -0
- package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js +23 -0
- package/es2020/src/modules/castPipes/pipes/asRequired/asRequired.pipe.js.map +1 -0
- package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js +54 -0
- package/es2020/src/modules/castPipes/pipes/castType/castType.pipe.js.map +1 -0
- package/es2020/src/modules/castPipes/pipes/index.js +5 -0
- package/es2020/src/modules/castPipes/pipes/index.js.map +1 -0
- package/es2020/src/modules/{commonLocalize.js → commonLocalize.module.js} +1 -1
- package/es2020/src/modules/commonLocalize.module.js.map +1 -0
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js +1 -1
- package/es2020/src/modules/progressIndicator/modules/progressIndicator.module.js.map +1 -1
- package/forms/src/index.d.ts +1 -0
- package/forms/src/index.d.ts.map +1 -1
- package/forms/src/modules/formPipes/index.d.ts +3 -0
- package/forms/src/modules/formPipes/index.d.ts.map +1 -0
- package/forms/src/modules/formPipes/modules/formPipes.module.d.ts +14 -0
- package/forms/src/modules/formPipes/modules/formPipes.module.d.ts.map +1 -0
- package/forms/src/modules/formPipes/modules/index.d.ts +2 -0
- package/forms/src/modules/formPipes/modules/index.d.ts.map +1 -0
- package/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.d.ts +15 -0
- package/forms/src/modules/formPipes/pipes/asFormArray/asFormArray.pipe.d.ts.map +1 -0
- package/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.d.ts +15 -0
- package/forms/src/modules/formPipes/pipes/asFormControl/asFormControl.pipe.d.ts.map +1 -0
- package/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.d.ts +15 -0
- package/forms/src/modules/formPipes/pipes/asFormGroup/asFormGroup.pipe.d.ts.map +1 -0
- package/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.d.ts +18 -0
- package/forms/src/modules/formPipes/pipes/getControl/getControl.pipe.d.ts.map +1 -0
- package/forms/src/modules/formPipes/pipes/index.d.ts +5 -0
- package/forms/src/modules/formPipes/pipes/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/decorators/componentDisplay.decorator.d.ts +9 -0
- package/src/decorators/componentDisplay.decorator.d.ts.map +1 -0
- package/src/decorators/componentDisplayBlock.decorator.d.ts +7 -0
- package/src/decorators/componentDisplayBlock.decorator.d.ts.map +1 -0
- package/src/decorators/componentDisplayFlex.decorator.d.ts +7 -0
- package/src/decorators/componentDisplayFlex.decorator.d.ts.map +1 -0
- package/src/decorators/componentHostStyle.decorator.d.ts +8 -0
- package/src/decorators/componentHostStyle.decorator.d.ts.map +1 -0
- package/src/decorators/index.d.ts +6 -0
- package/src/decorators/index.d.ts.map +1 -0
- package/src/decorators/scrollableContent.decorator.d.ts +7 -0
- package/src/decorators/scrollableContent.decorator.d.ts.map +1 -0
- package/src/index.d.ts +3 -1
- package/src/index.d.ts.map +1 -1
- package/src/modules/castPipes/index.d.ts +3 -0
- package/src/modules/castPipes/index.d.ts.map +1 -0
- package/src/modules/castPipes/modules/castPipes.module.d.ts +14 -0
- package/src/modules/castPipes/modules/castPipes.module.d.ts.map +1 -0
- package/src/modules/castPipes/modules/index.d.ts +2 -0
- package/src/modules/castPipes/modules/index.d.ts.map +1 -0
- package/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.d.ts +10 -0
- package/src/modules/castPipes/pipes/asHtmlElement/asHtmlElement.pipe.d.ts.map +1 -0
- package/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.d.ts +15 -0
- package/src/modules/castPipes/pipes/asNgClassRequired/asNgClassRequired.pipe.d.ts.map +1 -0
- package/src/modules/castPipes/pipes/asRequired/asRequired.pipe.d.ts +17 -0
- package/src/modules/castPipes/pipes/asRequired/asRequired.pipe.d.ts.map +1 -0
- package/src/modules/castPipes/pipes/castType/castType.pipe.d.ts +28 -0
- package/src/modules/castPipes/pipes/castType/castType.pipe.d.ts.map +1 -0
- package/src/modules/castPipes/pipes/index.d.ts +5 -0
- package/src/modules/castPipes/pipes/index.d.ts.map +1 -0
- package/src/modules/{commonLocalize.d.ts → commonLocalize.module.d.ts} +1 -1
- package/src/modules/commonLocalize.module.d.ts.map +1 -0
- package/src/modules/progressIndicator/modules/progressIndicator.module.d.ts +1 -1
- package/version.bak +1 -1
- package/es2015/src/modules/commonLocalize.js.map +0 -1
- package/es2020/src/modules/commonLocalize.js.map +0 -1
- package/src/modules/commonLocalize.d.ts.map +0 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { Inject, Optional, Pipe } from '@angular/core';
|
|
2
|
+
import { isBlank } from '@jscrpt/common';
|
|
3
|
+
import { LOGGER } from '../../../../types/tokens';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Allows casting of type for templates, should be used inherited
|
|
7
|
+
*/
|
|
8
|
+
export class CastTypePipe {
|
|
9
|
+
//######################### constructors #########################
|
|
10
|
+
constructor(_logger) {
|
|
11
|
+
this._logger = _logger;
|
|
12
|
+
//######################### protected fields #########################
|
|
13
|
+
/**
|
|
14
|
+
* Predicate for testing whether is value instance of something
|
|
15
|
+
*/
|
|
16
|
+
this._isInstanceOfPredicate = () => true;
|
|
17
|
+
}
|
|
18
|
+
//######################### public methods - implementation of PipeTransform #########################
|
|
19
|
+
/**
|
|
20
|
+
* Allows casting of type for templates, should be used inherited
|
|
21
|
+
* @param value - Value to be cast to another type
|
|
22
|
+
* @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
|
|
23
|
+
*/
|
|
24
|
+
transform(value, _valueHash) {
|
|
25
|
+
if (isBlank(value)) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
if (this._isInstanceOf(value)) {
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
this._logger?.warn('Failed to cast value to target');
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
//######################### protected methods #########################
|
|
35
|
+
/**
|
|
36
|
+
* Checks whether is value instance of TTarget
|
|
37
|
+
* @param value - Value to be checked whether is instance of TTarget
|
|
38
|
+
*/
|
|
39
|
+
_isInstanceOf(value) {
|
|
40
|
+
return this._isInstanceOfPredicate(value);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
CastTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CastTypePipe, deps: [{ token: LOGGER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
44
|
+
CastTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CastTypePipe, name: "castType" });
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.2", ngImport: i0, type: CastTypePipe, decorators: [{
|
|
46
|
+
type: Pipe,
|
|
47
|
+
args: [{ name: 'castType' }]
|
|
48
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
49
|
+
type: Optional
|
|
50
|
+
}, {
|
|
51
|
+
type: Inject,
|
|
52
|
+
args: [LOGGER]
|
|
53
|
+
}] }]; } });
|
|
54
|
+
//# sourceMappingURL=castType.pipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"castType.pipe.js","sourceRoot":"","sources":["../../../../../../src/modules/castPipes/pipes/castType/castType.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAgB,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,OAAO,EAAC,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC;;AAEhD;;GAEG;AAEH,MAAM,OAAO,YAAY;IASrB,kEAAkE;IAClE,YAAgD,OAAgB;QAAhB,YAAO,GAAP,OAAO,CAAS;QARhE,sEAAsE;QAEtE;;WAEG;QACO,2BAAsB,GAAgC,GAAG,EAAE,CAAC,IAAI,CAAC;IAK3E,CAAC;IAED,sGAAsG;IAEtG;;;;OAIG;IACI,SAAS,CAAC,KAAc,EAAE,UAAgB;QAE7C,IAAG,OAAO,CAAC,KAAK,CAAC,EACjB;YACI,OAAO,IAAI,CAAC;SACf;QAED,IAAG,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAC5B;YACI,OAAO,KAAK,CAAC;SAChB;QAED,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,gCAAgC,CAAC,CAAC;QAErD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,uEAAuE;IAEvE;;;OAGG;IACO,aAAa,CAAC,KAAc;QAElC,OAAO,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC;;yGA/CQ,YAAY,kBAUW,MAAM;uGAV7B,YAAY;2FAAZ,YAAY;kBADxB,IAAI;mBAAC,EAAC,IAAI,EAAE,UAAU,EAAC;;0BAWP,QAAQ;;0BAAI,MAAM;2BAAC,MAAM","sourcesContent":["import {Inject, Optional, Pipe, PipeTransform} from '@angular/core';\nimport {isBlank} from '@jscrpt/common';\n\nimport {Logger} from '../../../../services/logger/logger.interface';\nimport {LOGGER} from '../../../../types/tokens';\n\n/**\n * Allows casting of type for templates, should be used inherited\n */\n@Pipe({name: 'castType'})\nexport class CastTypePipe<TSource, TTarget extends TSource> implements PipeTransform\n{\n //######################### protected fields #########################\n\n /**\n * Predicate for testing whether is value instance of something\n */\n protected _isInstanceOfPredicate: (value: TSource) => boolean = () => true;\n\n //######################### constructors #########################\n constructor(@Optional() @Inject(LOGGER) private _logger?: Logger)\n {\n }\n\n //######################### public methods - implementation of PipeTransform #########################\n\n /**\n * Allows casting of type for templates, should be used inherited\n * @param value - Value to be cast to another type\n * @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed\n */\n public transform(value: TSource, _valueHash?: any): TTarget\n {\n if(isBlank(value))\n {\n return null;\n }\n\n if(this._isInstanceOf(value))\n {\n return value;\n }\n\n this._logger?.warn('Failed to cast value to target');\n\n return null;\n }\n\n //######################### protected methods #########################\n\n /**\n * Checks whether is value instance of TTarget\n * @param value - Value to be checked whether is instance of TTarget\n */\n protected _isInstanceOf(value: TSource): value is TTarget\n {\n return this._isInstanceOfPredicate(value);\n }\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/castPipes/pipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC","sourcesContent":["export * from './asHtmlElement/asHtmlElement.pipe';\nexport * from './asNgClassRequired/asNgClassRequired.pipe';\nexport * from './asRequired/asRequired.pipe';\nexport * from './castType/castType.pipe';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonLocalize.module.js","sourceRoot":"","sources":["../../../src/modules/commonLocalize.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;;AAE7D;;GAEG;AAYH,MAAM,OAAO,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAPzB,YAAY,aAIZ,YAAY;kHAGP,oBAAoB;2FAApB,oBAAoB;kBAXhC,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,YAAY;qBACf;oBACD,OAAO,EACP;wBACI,YAAY;qBACf;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {LocalizePipe} from '../pipes/localize/localize.pipe';\n\n/**\n * Module for common localization stuff\n */\n@NgModule(\n{\n declarations:\n [\n LocalizePipe,\n ],\n exports: \n [\n LocalizePipe,\n ]\n})\nexport class CommonLocalizeModule\n{\n}"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CommonLocalizeModule } from '../../commonLocalize';
|
|
3
|
+
import { CommonLocalizeModule } from '../../commonLocalize.module';
|
|
4
4
|
import { ProgressIndicatorComponent } from '../components/progressIndicator/progressIndicator.component';
|
|
5
5
|
import { ProgressOverlayDirective } from '../directives/progressOverlay/progressOverlay.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progressIndicator.module.js","sourceRoot":"","sources":["../../../../../src/modules/progressIndicator/modules/progressIndicator.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"progressIndicator.module.js","sourceRoot":"","sources":["../../../../../src/modules/progressIndicator/modules/progressIndicator.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AACvC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAE7C,OAAO,EAAC,oBAAoB,EAAC,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAC,0BAA0B,EAAC,MAAM,6DAA6D,CAAC;AACvG,OAAO,EAAC,wBAAwB,EAAC,MAAM,yDAAyD,CAAC;;AAEjG;;GAEG;AAmBH,MAAM,OAAO,uBAAuB;;oHAAvB,uBAAuB;qHAAvB,uBAAuB,iBAT5B,0BAA0B;QAC1B,wBAAwB,aANxB,YAAY;QACZ,oBAAoB,aASpB,0BAA0B;QAC1B,wBAAwB;qHAGnB,uBAAuB,YAfhC;YACI,YAAY;YACZ,oBAAoB;SACvB;2FAYQ,uBAAuB;kBAlBnC,QAAQ;mBACT;oBACI,OAAO,EACP;wBACI,YAAY;wBACZ,oBAAoB;qBACvB;oBACD,YAAY,EACZ;wBACI,0BAA0B;wBAC1B,wBAAwB;qBAC3B;oBACD,OAAO,EACP;wBACI,0BAA0B;wBAC1B,wBAAwB;qBAC3B;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\n\nimport {CommonLocalizeModule} from '../../commonLocalize.module';\nimport {ProgressIndicatorComponent} from '../components/progressIndicator/progressIndicator.component';\nimport {ProgressOverlayDirective} from '../directives/progressOverlay/progressOverlay.directive';\n\n/**\n * Module for progress indicator\n */\n@NgModule(\n{\n imports:\n [\n CommonModule,\n CommonLocalizeModule,\n ],\n declarations:\n [\n ProgressIndicatorComponent,\n ProgressOverlayDirective\n ],\n exports:\n [\n ProgressIndicatorComponent,\n ProgressOverlayDirective\n ]\n})\nexport class ProgressIndicatorModule\n{\n}"]}
|
package/forms/src/index.d.ts
CHANGED
|
@@ -16,5 +16,6 @@ export * from './misc/types';
|
|
|
16
16
|
export * from './modules/numberInput.module';
|
|
17
17
|
export * from './modules/hasError.module';
|
|
18
18
|
export * from './modules/requiredClass.module';
|
|
19
|
+
export * from './modules/formPipes';
|
|
19
20
|
export * from './misc/formModel';
|
|
20
21
|
//# sourceMappingURL=index.d.ts.map
|
package/forms/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,4DAA4D,CAAC;AAC3E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,yDAAyD,CAAC;AACxE,cAAc,oEAAoE,CAAC;AACnF,cAAc,0CAA0C,CAAC;AACzD,cAAc,oDAAoD,CAAC;AACnE,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,oEAAoE,CAAC;AACnF,cAAc,kEAAkE,CAAC;AACjF,cAAc,sEAAsE,CAAC;AACrF,cAAc,oEAAoE,CAAC;AACnF,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../pipes/asFormArray/asFormArray.pipe";
|
|
3
|
+
import * as i2 from "../pipes/asFormControl/asFormControl.pipe";
|
|
4
|
+
import * as i3 from "../pipes/asFormGroup/asFormGroup.pipe";
|
|
5
|
+
import * as i4 from "../pipes/getControl/getControl.pipe";
|
|
6
|
+
/**
|
|
7
|
+
* Module that holds form util pipes
|
|
8
|
+
*/
|
|
9
|
+
export declare class FormPipesModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormPipesModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormPipesModule, [typeof i1.AsFormArrayPipe, typeof i2.AsFormControlPipe, typeof i3.AsFormGroupPipe, typeof i4.GetControlPipe], never, [typeof i1.AsFormArrayPipe, typeof i2.AsFormControlPipe, typeof i3.AsFormGroupPipe, typeof i4.GetControlPipe]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormPipesModule>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=formPipes.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formPipes.module.d.ts","sourceRoot":"","sources":["formPipes.module.ts"],"names":[],"mappings":";;;;;AAIA;;GAEG;AACH,qBAiBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAE3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractControl, FormArray } from '@angular/forms';
|
|
2
|
+
import { CastTypePipe } from '@anglr/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Tries to convert `AbstractControl` to `FormArray`
|
|
6
|
+
*/
|
|
7
|
+
export declare class AsFormArrayPipe extends CastTypePipe<AbstractControl, FormArray> {
|
|
8
|
+
/**
|
|
9
|
+
* @inheritdoc
|
|
10
|
+
*/
|
|
11
|
+
protected _isInstanceOfPredicate: (value: AbstractControl) => boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsFormArrayPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsFormArrayPipe, "asFormArray">;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=asFormArray.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asFormArray.pipe.d.ts","sourceRoot":"","sources":["asFormArray.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AACH,qBACa,eAAgB,SAAQ,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC;IAIzE;;OAEG;IACH,UAAmB,sBAAsB,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAuC;yCAP5G,eAAe;uCAAf,eAAe;CAQ3B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractControl, FormControl } from '@angular/forms';
|
|
2
|
+
import { CastTypePipe } from '@anglr/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Tries to convert `AbstractControl` to `FormControl`
|
|
6
|
+
*/
|
|
7
|
+
export declare class AsFormControlPipe extends CastTypePipe<AbstractControl, FormControl> {
|
|
8
|
+
/**
|
|
9
|
+
* @inheritdoc
|
|
10
|
+
*/
|
|
11
|
+
protected _isInstanceOfPredicate: (value: AbstractControl) => boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsFormControlPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsFormControlPipe, "asFormControl">;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=asFormControl.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asFormControl.pipe.d.ts","sourceRoot":"","sources":["asFormControl.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAE,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AACH,qBACa,iBAAkB,SAAQ,YAAY,CAAC,eAAe,EAAE,WAAW,CAAC;IAI7E;;OAEG;IACH,UAAmB,sBAAsB,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAyC;yCAP9G,iBAAiB;uCAAjB,iBAAiB;CAQ7B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
2
|
+
import { CastTypePipe } from '@anglr/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Tries to convert `AbstractControl` to `FormGroup`
|
|
6
|
+
*/
|
|
7
|
+
export declare class AsFormGroupPipe extends CastTypePipe<AbstractControl, FormGroup> {
|
|
8
|
+
/**
|
|
9
|
+
* @inheritdoc
|
|
10
|
+
*/
|
|
11
|
+
protected _isInstanceOfPredicate: (value: AbstractControl) => boolean;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsFormGroupPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsFormGroupPipe, "asFormGroup">;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=asFormGroup.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asFormGroup.pipe.d.ts","sourceRoot":"","sources":["asFormGroup.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAE,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;;AAE3C;;GAEG;AACH,qBACa,eAAgB,SAAQ,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC;IAIzE;;OAEG;IACH,UAAmB,sBAAsB,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,OAAO,CAAuC;yCAP5G,eAAe;uCAAf,eAAe;CAQ3B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Gets control from `FormGroup`
|
|
6
|
+
*/
|
|
7
|
+
export declare class GetControlPipe<TFormGroup> implements PipeTransform {
|
|
8
|
+
/**
|
|
9
|
+
* Gets control from `FormGroup`
|
|
10
|
+
* @param value - FormGroup which contains requested control
|
|
11
|
+
* @param control - Control name to be obtained
|
|
12
|
+
* @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
|
|
13
|
+
*/
|
|
14
|
+
transform(value: AbstractControl, control: keyof TFormGroup, _valueHash?: any): AbstractControl | null;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GetControlPipe<any>, never>;
|
|
16
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GetControlPipe<any>, "getControl">;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=getControl.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getControl.pipe.d.ts","sourceRoot":"","sources":["getControl.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;AAClD,OAAO,EAAC,eAAe,EAAuB,MAAM,gBAAgB,CAAC;;AAGrE;;GAEG;AACH,qBACa,cAAc,CAAC,UAAU,CAAE,YAAW,aAAa;IAE5D;;;;;OAKG;IACI,SAAS,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,UAAU,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,eAAe,GAAC,IAAI;yCARlG,cAAc;uCAAd,cAAc;CAsB1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oCAAoC,CAAC;AACnD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CssDisplay } from '@jscrpt/common';
|
|
2
|
+
/**
|
|
3
|
+
* Applies css display style to host of component, requires at least empty style on Component
|
|
4
|
+
* @param display - Css display value
|
|
5
|
+
*
|
|
6
|
+
* @experimental
|
|
7
|
+
*/
|
|
8
|
+
export declare function ComponentDisplay(display: CssDisplay): ClassDecorator;
|
|
9
|
+
//# sourceMappingURL=componentDisplay.decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentDisplay.decorator.d.ts","sourceRoot":"","sources":["componentDisplay.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAI1C;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,UAAU,GAAG,cAAc,CAGpE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentDisplayBlock.decorator.d.ts","sourceRoot":"","sources":["componentDisplayBlock.decorator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,cAAc,CAGtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentDisplayFlex.decorator.d.ts","sourceRoot":"","sources":["componentDisplayFlex.decorator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,CAGrD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Applies css styles to host of component, requires at least empty style on Component
|
|
3
|
+
* @param cssStyle - Css style properties to be applied
|
|
4
|
+
*
|
|
5
|
+
* @experimental
|
|
6
|
+
*/
|
|
7
|
+
export declare function ComponentHostStyle(cssStyle: string): ClassDecorator;
|
|
8
|
+
//# sourceMappingURL=componentHostStyle.decorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentHostStyle.decorator.d.ts","sourceRoot":"","sources":["componentHostStyle.decorator.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,cAAc,CAsBnE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './componentDisplay.decorator';
|
|
2
|
+
export * from './componentDisplayBlock.decorator';
|
|
3
|
+
export * from './componentDisplayFlex.decorator';
|
|
4
|
+
export * from './componentHostStyle.decorator';
|
|
5
|
+
export * from './scrollableContent.decorator';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scrollableContent.decorator.d.ts","sourceRoot":"","sources":["scrollableContent.decorator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,cAAc,CAGlD"}
|
package/src/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { GlobalizationService } from './services/globalization/globalization.service';
|
|
2
2
|
export { CommonDynamicModule } from './modules/commonDynamic.module';
|
|
3
|
-
export { CommonLocalizeModule } from './modules/commonLocalize';
|
|
3
|
+
export { CommonLocalizeModule } from './modules/commonLocalize.module';
|
|
4
4
|
export { CommonUtilsModule } from './modules/commonUtils.module';
|
|
5
5
|
export * from './modules/goBack';
|
|
6
6
|
export { ProgressIndicatorOptions } from './modules/progressIndicator/services/progressIndicatorOptions';
|
|
@@ -17,9 +17,11 @@ export { MultiButtonComponent } from './modules/multiButton/components/multiButt
|
|
|
17
17
|
export { MultiButtonCssClasses } from './modules/multiButton/components/multiButton/multiButton.interface';
|
|
18
18
|
export { MULTI_BUTTON_CSS_CLASSES } from './modules/multiButton/misc/tokens';
|
|
19
19
|
export { MultiButtonModule } from './modules/multiButton/modules/multiButton.module';
|
|
20
|
+
export * from './modules/castPipes';
|
|
20
21
|
export * from './types/tokens';
|
|
21
22
|
export * from './utils';
|
|
22
23
|
export * from './pipes';
|
|
24
|
+
export * from './decorators';
|
|
23
25
|
export { CookieService } from './services/cookies/cookies.service';
|
|
24
26
|
export { StatusCodeService } from './services/statusCode/statusCode.service';
|
|
25
27
|
export { CookiePermanentStorageService, PermanentStorage } from './services/permanentStorage';
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAC,oBAAoB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAC,mBAAmB,EAAC,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAC,oBAAoB,EAAC,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAC/D,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAC,wBAAwB,EAAC,MAAM,+DAA+D,CAAC;AACvG,OAAO,EAAC,0BAA0B,EAAC,MAAM,sFAAsF,CAAC;AAChI,OAAO,EAAC,uBAAuB,EAAC,MAAM,8DAA8D,CAAC;AACrG,OAAO,EAAC,wBAAwB,EAAC,MAAM,gEAAgE,CAAC;AACxG,OAAO,EAAC,6BAA6B,EAAC,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAC,kBAAkB,EAAC,MAAM,8DAA8D,CAAC;AAChG,OAAO,EAAC,uBAAuB,EAAC,MAAM,wEAAwE,CAAC;AAC/G,OAAO,EAAC,qBAAqB,EAAC,MAAM,uEAAuE,CAAC;AAC5G,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAC,oBAAoB,EAAC,MAAM,oEAAoE,CAAC;AACxG,OAAO,EAAC,qBAAqB,EAAC,MAAM,oEAAoE,CAAC;AACzG,OAAO,EAAC,wBAAwB,EAAC,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAC,MAAM,kDAAkD,CAAC;AACnF,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAC,aAAa,EAAC,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAC,iBAAiB,EAAC,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAC,6BAA6B,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAC,6BAA6B,EAAE,gBAAgB,EAAC,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAAC,2BAA2B,EAAE,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;AAC9F,OAAO,EAAC,MAAM,EAAC,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,UAAU,EAAE,uBAAuB,EAAE,mBAAmB,EAAC,MAAM,SAAS,CAAC;AACjF,OAAO,EAAC,6BAA6B,EAAE,mBAAmB,EAAC,MAAM,8DAA8D,CAAC;AAChI,OAAO,EAAC,qBAAqB,EAAE,2BAA2B,EAAE,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,iCAAiC,EAAC,MAAM,0BAA0B,CAAC;AAC3P,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "../pipes/asHtmlElement/asHtmlElement.pipe";
|
|
3
|
+
import * as i2 from "../pipes/asNgClassRequired/asNgClassRequired.pipe";
|
|
4
|
+
import * as i3 from "../pipes/asRequired/asRequired.pipe";
|
|
5
|
+
import * as i4 from "../pipes/castType/castType.pipe";
|
|
6
|
+
/**
|
|
7
|
+
* Module that holds cast pipes
|
|
8
|
+
*/
|
|
9
|
+
export declare class CastPipesModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CastPipesModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CastPipesModule, [typeof i1.AsHtmlElementPipe, typeof i2.AsNgClassRequiredPipe, typeof i3.AsRequiredTypePipe, typeof i4.CastTypePipe], never, [typeof i1.AsHtmlElementPipe, typeof i2.AsNgClassRequiredPipe, typeof i3.AsRequiredTypePipe, typeof i4.CastTypePipe]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CastPipesModule>;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=castPipes.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"castPipes.module.d.ts","sourceRoot":"","sources":["castPipes.module.ts"],"names":[],"mappings":";;;;;AAIA;;GAEG;AACH,qBAiBa,eAAe;yCAAf,eAAe;0CAAf,eAAe;0CAAf,eAAe;CAE3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CastTypePipe } from '../castType/castType.pipe';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Casts EventTarget to HTMLELement
|
|
5
|
+
*/
|
|
6
|
+
export declare class AsHtmlElementPipe extends CastTypePipe<EventTarget, HTMLElement> {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsHtmlElementPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsHtmlElementPipe, "asHtmlElement">;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=asHtmlElement.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asHtmlElement.pipe.d.ts","sourceRoot":"","sources":["asHtmlElement.pipe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,YAAY,EAAC,MAAM,2BAA2B,CAAC;;AAEvD;;GAEG;AACH,qBACa,iBAAkB,SAAQ,YAAY,CAAC,WAAW,EAAE,WAAW,CAAC;yCAAhE,iBAAiB;uCAAjB,iBAAiB;CAE7B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Dictionary } from '@jscrpt/common';
|
|
2
|
+
import { AsRequiredTypePipe } from '../asRequired/asRequired.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Transforms nullable NgClass input to NgClass non nullable input
|
|
6
|
+
*/
|
|
7
|
+
export declare class AsNgClassRequiredPipe extends AsRequiredTypePipe<string | string[] | Set<string> | Dictionary<any>> {
|
|
8
|
+
/**
|
|
9
|
+
* @inheritdoc
|
|
10
|
+
*/
|
|
11
|
+
transform(value: string | string[] | Set<string> | Dictionary<any> | null | undefined, valueHash?: any): string | string[] | Set<string> | Dictionary<any>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsNgClassRequiredPipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsNgClassRequiredPipe, "asNgClassRequired">;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=asNgClassRequired.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asNgClassRequired.pipe.d.ts","sourceRoot":"","sources":["asNgClassRequired.pipe.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAC,kBAAkB,EAAC,MAAM,+BAA+B,CAAC;;AAEjE;;GAEG;AACH,qBACa,qBAAsB,SAAQ,kBAAkB,CAAC,MAAM,GAAC,MAAM,EAAE,GAAC,GAAG,CAAC,MAAM,CAAC,GAAC,UAAU,CAAC,GAAG,CAAC,CAAC;IAEtG;;OAEG;IACa,SAAS,CAAC,KAAK,EAAE,MAAM,GAAC,MAAM,EAAE,GAAC,GAAG,CAAC,MAAM,CAAC,GAAC,UAAU,CAAC,GAAG,CAAC,GAAC,IAAI,GAAC,SAAS,EAAE,SAAS,CAAC,EAAE,GAAG,GAAG,MAAM,GAAC,MAAM,EAAE,GAAC,GAAG,CAAC,MAAM,CAAC,GAAC,UAAU,CAAC,GAAG,CAAC;yCALjJ,qBAAqB;uCAArB,qBAAqB;CASjC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Transforms type to required from nullable or undefined type
|
|
5
|
+
*/
|
|
6
|
+
export declare class AsRequiredTypePipe<TType> implements PipeTransform {
|
|
7
|
+
/**
|
|
8
|
+
* Transforms type to required from nullable or undefined type
|
|
9
|
+
* @param value - Value to be transformed
|
|
10
|
+
* @param defaultValue - Default value to be used if undefined or null
|
|
11
|
+
* @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
|
|
12
|
+
*/
|
|
13
|
+
transform(value: TType | null | undefined, defaultValue: TType, _valueHash?: any): TType;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AsRequiredTypePipe<any>, never>;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AsRequiredTypePipe<any>, "asRequired">;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=asRequired.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asRequired.pipe.d.ts","sourceRoot":"","sources":["asRequired.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,aAAa,EAAC,MAAM,eAAe,CAAC;;AAElD;;GAEG;AACH,qBACa,kBAAkB,CAAC,KAAK,CAAE,YAAW,aAAa;IAE3D;;;;;OAKG;IACI,SAAS,CAAC,KAAK,EAAE,KAAK,GAAC,IAAI,GAAC,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,KAAK;yCARlF,kBAAkB;uCAAlB,kBAAkB;CAY9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Logger } from '../../../../services/logger/logger.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Allows casting of type for templates, should be used inherited
|
|
6
|
+
*/
|
|
7
|
+
export declare class CastTypePipe<TSource, TTarget extends TSource> implements PipeTransform {
|
|
8
|
+
private _logger?;
|
|
9
|
+
/**
|
|
10
|
+
* Predicate for testing whether is value instance of something
|
|
11
|
+
*/
|
|
12
|
+
protected _isInstanceOfPredicate: (value: TSource) => boolean;
|
|
13
|
+
constructor(_logger?: Logger);
|
|
14
|
+
/**
|
|
15
|
+
* Allows casting of type for templates, should be used inherited
|
|
16
|
+
* @param value - Value to be cast to another type
|
|
17
|
+
* @param _valueHash - Parameter that can be used to change value, indicates that pipe input value has changed
|
|
18
|
+
*/
|
|
19
|
+
transform(value: TSource, _valueHash?: any): TTarget;
|
|
20
|
+
/**
|
|
21
|
+
* Checks whether is value instance of TTarget
|
|
22
|
+
* @param value - Value to be checked whether is instance of TTarget
|
|
23
|
+
*/
|
|
24
|
+
protected _isInstanceOf(value: TSource): value is TTarget;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CastTypePipe<any, any>, [{ optional: true; }]>;
|
|
26
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CastTypePipe<any, any>, "castType">;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=castType.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"castType.pipe.d.ts","sourceRoot":"","sources":["castType.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,aAAa,EAAC,MAAM,eAAe,CAAC;AAGpE,OAAO,EAAC,MAAM,EAAC,MAAM,8CAA8C,CAAC;;AAGpE;;GAEG;AACH,qBACa,YAAY,CAAC,OAAO,EAAE,OAAO,SAAS,OAAO,CAAE,YAAW,aAAa;IAUxC,OAAO,CAAC,OAAO,CAAC;IANxD;;OAEG;IACH,SAAS,CAAC,sBAAsB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAc;gBAG3B,OAAO,CAAC,EAAE,MAAM;IAMhE;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,GAAG,GAAG,OAAO;IAmB3D;;;OAGG;IACH,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,OAAO;yCA5ChD,YAAY;uCAAZ,YAAY;CAgDxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC"}
|
|
@@ -8,4 +8,4 @@ export declare class CommonLocalizeModule {
|
|
|
8
8
|
static ɵmod: i0.ɵɵNgModuleDeclaration<CommonLocalizeModule, [typeof i1.LocalizePipe], never, [typeof i1.LocalizePipe]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<CommonLocalizeModule>;
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=commonLocalize.d.ts.map
|
|
11
|
+
//# sourceMappingURL=commonLocalize.module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commonLocalize.module.d.ts","sourceRoot":"","sources":["commonLocalize.module.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAWa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAEhC"}
|
|
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "../components/progressIndicator/progressIndicator.component";
|
|
3
3
|
import * as i2 from "../directives/progressOverlay/progressOverlay.directive";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../../commonLocalize";
|
|
5
|
+
import * as i4 from "../../commonLocalize.module";
|
|
6
6
|
/**
|
|
7
7
|
* Module for progress indicator
|
|
8
8
|
*/
|
package/version.bak
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.0.
|
|
1
|
+
11.1.0-beta.20220222192210
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commonLocalize.js","sourceRoot":"","sources":["../../../src/modules/commonLocalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;;AAE7D;;GAEG;AAYH,MAAM,OAAO,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAPzB,YAAY,aAIZ,YAAY;kHAGP,oBAAoB;2FAApB,oBAAoB;kBAXhC,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,YAAY;qBACf;oBACD,OAAO,EACP;wBACI,YAAY;qBACf;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {LocalizePipe} from '../pipes/localize/localize.pipe';\n\n/**\n * Module for common localization stuff\n */\n@NgModule(\n{\n declarations:\n [\n LocalizePipe,\n ],\n exports: \n [\n LocalizePipe,\n ]\n})\nexport class CommonLocalizeModule\n{\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commonLocalize.js","sourceRoot":"","sources":["../../../src/modules/commonLocalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAC;AAEvC,OAAO,EAAC,YAAY,EAAC,MAAM,iCAAiC,CAAC;;AAE7D;;GAEG;AAYH,MAAM,OAAO,oBAAoB;;iHAApB,oBAAoB;kHAApB,oBAAoB,iBAPzB,YAAY,aAIZ,YAAY;kHAGP,oBAAoB;2FAApB,oBAAoB;kBAXhC,QAAQ;mBACT;oBACI,YAAY,EACZ;wBACI,YAAY;qBACf;oBACD,OAAO,EACP;wBACI,YAAY;qBACf;iBACJ","sourcesContent":["import {NgModule} from '@angular/core';\n\nimport {LocalizePipe} from '../pipes/localize/localize.pipe';\n\n/**\n * Module for common localization stuff\n */\n@NgModule(\n{\n declarations:\n [\n LocalizePipe,\n ],\n exports: \n [\n LocalizePipe,\n ]\n})\nexport class CommonLocalizeModule\n{\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commonLocalize.d.ts","sourceRoot":"","sources":["commonLocalize.ts"],"names":[],"mappings":";;AAIA;;GAEG;AACH,qBAWa,oBAAoB;yCAApB,oBAAoB;0CAApB,oBAAoB;0CAApB,oBAAoB;CAEhC"}
|