@ng-atomic/common 1.5.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.js +15 -22
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.js.map +1 -1
- package/bundles/ng-atomic-common-directives.umd.js +15 -22
- package/bundles/ng-atomic-common-directives.umd.js.map +1 -1
- package/bundles/ng-atomic-common-models.umd.js +2 -2
- package/bundles/ng-atomic-common-models.umd.js.map +1 -1
- package/bundles/ng-atomic-common-pipes.umd.js +64 -96
- package/bundles/ng-atomic-common-pipes.umd.js.map +1 -1
- package/bundles/ng-atomic-common-services.umd.js +44 -47
- package/bundles/ng-atomic-common-services.umd.js.map +1 -1
- package/bundles/ng-atomic-common-store.umd.js +5 -5
- package/bundles/ng-atomic-common-store.umd.js.map +1 -1
- package/bundles/ng-atomic-common-utils.umd.js +83 -53
- package/bundles/ng-atomic-common-utils.umd.js.map +1 -1
- package/bundles/ng-atomic-common.umd.js +2 -2
- package/bundles/ng-atomic-common.umd.js.map +1 -1
- package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.d.ts +2 -2
- package/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.d.ts +3 -3
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.js +11 -11
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.js.map +1 -1
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.js +17 -18
- package/esm2015/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.js.map +1 -1
- package/esm2015/pipes/domain/domain.module.js +17 -18
- package/esm2015/pipes/domain/domain.module.js.map +1 -1
- package/esm2015/pipes/domain/domain.pipe.js +14 -14
- package/esm2015/pipes/domain/domain.pipe.js.map +1 -1
- package/esm2015/pipes/smart-clamp/smart-clamp.module.js +17 -18
- package/esm2015/pipes/smart-clamp/smart-clamp.module.js.map +1 -1
- package/esm2015/pipes/smart-clamp/smart-clamp.pipe.js +14 -14
- package/esm2015/pipes/smart-clamp/smart-clamp.pipe.js.map +1 -1
- package/esm2015/pipes/smart-exp/smart-exp.module.js +10 -11
- package/esm2015/pipes/smart-exp/smart-exp.module.js.map +1 -1
- package/esm2015/pipes/smart-exp/smart-exp.pipe.js +14 -14
- package/esm2015/pipes/smart-exp/smart-exp.pipe.js.map +1 -1
- package/esm2015/pipes/smart-field/smart-field.module.js +17 -18
- package/esm2015/pipes/smart-field/smart-field.module.js.map +1 -1
- package/esm2015/pipes/smart-field/smart-field.pipe.js +14 -14
- package/esm2015/pipes/smart-field/smart-field.pipe.js.map +1 -1
- package/esm2015/pipes/smart-sort-by/smart-sort-by.module.js +17 -18
- package/esm2015/pipes/smart-sort-by/smart-sort-by.module.js.map +1 -1
- package/esm2015/pipes/smart-sort-by/smart-sort-by.pipe.js +14 -14
- package/esm2015/pipes/smart-sort-by/smart-sort-by.pipe.js.map +1 -1
- package/esm2015/pipes/yen/yen.module.js +17 -18
- package/esm2015/pipes/yen/yen.module.js.map +1 -1
- package/esm2015/pipes/yen/yen.pipe.js +8 -8
- package/esm2015/pipes/yen/yen.pipe.js.map +1 -1
- package/esm2015/services/form/form.service.js +8 -6
- package/esm2015/services/form/form.service.js.map +1 -1
- package/esm2015/services/loading/loading.service.js +8 -8
- package/esm2015/services/loading/loading.service.js.map +1 -1
- package/esm2015/services/query-resolver/query-resolver.service.js +18 -15
- package/esm2015/services/query-resolver/query-resolver.service.js.map +1 -1
- package/esm2015/services/snack-bar/snack-bar.module.js +14 -15
- package/esm2015/services/snack-bar/snack-bar.module.js.map +1 -1
- package/esm2015/services/snack-bar/snack-bar.service.js +8 -8
- package/esm2015/services/snack-bar/snack-bar.service.js.map +1 -1
- package/esm2015/utils/date-utils/date-utils.js +1 -1
- package/esm2015/utils/date-utils/date-utils.js.map +1 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-date.adapter.js +9 -7
- package/esm2015/utils/mat-dayjs-date/dayjs-date.adapter.js.map +1 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-date.module.js +25 -26
- package/esm2015/utils/mat-dayjs-date/dayjs-date.module.js.map +1 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-jp-providers.js +1 -1
- package/esm2015/utils/mat-dayjs-date/dayjs-jp-providers.js.map +1 -1
- package/esm2015/utils/query/query.resolver.js +37 -4
- package/esm2015/utils/query/query.resolver.js.map +1 -1
- package/esm2015/utils/smart-exp-transformer/smart-exp-transformer.js +1 -1
- package/esm2015/utils/smart-exp-transformer/smart-exp-transformer.js.map +1 -1
- package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.js +29 -30
- package/fesm2015/ng-atomic-common-directives-ios-safari-scroll-buggyfill.js.map +1 -1
- package/fesm2015/ng-atomic-common-directives.js +29 -30
- package/fesm2015/ng-atomic-common-directives.js.map +1 -1
- package/fesm2015/ng-atomic-common-models.js.map +1 -1
- package/fesm2015/ng-atomic-common-pipes.js +174 -180
- package/fesm2015/ng-atomic-common-pipes.js.map +1 -1
- package/fesm2015/ng-atomic-common-services.js +63 -57
- package/fesm2015/ng-atomic-common-services.js.map +1 -1
- package/fesm2015/ng-atomic-common-store.js.map +1 -1
- package/fesm2015/ng-atomic-common-utils.js +79 -46
- package/fesm2015/ng-atomic-common-utils.js.map +1 -1
- package/fesm2015/ng-atomic-common.js.map +1 -1
- package/package.json +3 -6
- package/pipes/domain/domain.module.d.ts +3 -3
- package/pipes/domain/domain.pipe.d.ts +3 -3
- package/pipes/smart-clamp/smart-clamp.module.d.ts +3 -3
- package/pipes/smart-clamp/smart-clamp.pipe.d.ts +2 -2
- package/pipes/smart-exp/smart-exp.module.d.ts +3 -3
- package/pipes/smart-exp/smart-exp.pipe.d.ts +3 -3
- package/pipes/smart-field/smart-field.module.d.ts +3 -3
- package/pipes/smart-field/smart-field.pipe.d.ts +3 -3
- package/pipes/smart-sort-by/smart-sort-by.module.d.ts +3 -3
- package/pipes/smart-sort-by/smart-sort-by.pipe.d.ts +2 -2
- package/pipes/yen/yen.module.d.ts +3 -3
- package/pipes/yen/yen.pipe.d.ts +2 -2
- package/services/loading/loading.service.d.ts +3 -3
- package/services/query-resolver/query-resolver.service.d.ts +2 -2
- package/services/snack-bar/snack-bar.module.d.ts +3 -3
- package/services/snack-bar/snack-bar.service.d.ts +2 -2
- package/store/entity.page.store.d.ts +1 -1
- package/utils/date-utils/date-utils.d.ts +1 -1
- package/utils/mat-dayjs-date/dayjs-date.module.d.ts +6 -6
- package/utils/smart-exp-transformer/smart-exp-transformer.d.ts +1 -1
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.min.js +0 -2
- package/bundles/ng-atomic-common-directives-ios-safari-scroll-buggyfill.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-directives.umd.min.js +0 -2
- package/bundles/ng-atomic-common-directives.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-models.umd.min.js +0 -2
- package/bundles/ng-atomic-common-models.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-pipes.umd.min.js +0 -2
- package/bundles/ng-atomic-common-pipes.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-services.umd.min.js +0 -16
- package/bundles/ng-atomic-common-services.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-store.umd.min.js +0 -16
- package/bundles/ng-atomic-common-store.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common-utils.umd.min.js +0 -17
- package/bundles/ng-atomic-common-utils.umd.min.js.map +0 -1
- package/bundles/ng-atomic-common.umd.min.js +0 -2
- package/bundles/ng-atomic-common.umd.min.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Directive, HostListener, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
|
|
5
5
|
class IosSafariScrollBuggyfillDirective {
|
|
@@ -12,40 +12,39 @@ class IosSafariScrollBuggyfillDirective {
|
|
|
12
12
|
event.preventDefault();
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
IosSafariScrollBuggyfillDirective.ɵfac =
|
|
16
|
-
IosSafariScrollBuggyfillDirective.ɵdir =
|
|
17
|
-
(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
IosSafariScrollBuggyfillDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
IosSafariScrollBuggyfillDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: IosSafariScrollBuggyfillDirective, selector: "[iosSafariScrollBuggyfill]", host: { listeners: { "touchmove": "onTouchmove($event)" } }, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[iosSafariScrollBuggyfill]'
|
|
21
|
+
}]
|
|
22
|
+
}], propDecorators: { onTouchmove: [{
|
|
23
|
+
type: HostListener,
|
|
24
|
+
args: ['touchmove', ['$event']]
|
|
25
|
+
}] } });
|
|
26
26
|
|
|
27
27
|
class IosSafariScrollBuggyfillModule {
|
|
28
28
|
}
|
|
29
|
-
IosSafariScrollBuggyfillModule.ɵfac =
|
|
30
|
-
IosSafariScrollBuggyfillModule.ɵmod =
|
|
31
|
-
IosSafariScrollBuggyfillModule.ɵinj =
|
|
29
|
+
IosSafariScrollBuggyfillModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
30
|
+
IosSafariScrollBuggyfillModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillModule, declarations: [IosSafariScrollBuggyfillDirective], imports: [CommonModule], exports: [IosSafariScrollBuggyfillDirective] });
|
|
31
|
+
IosSafariScrollBuggyfillModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillModule, imports: [[
|
|
32
32
|
CommonModule,
|
|
33
33
|
]] });
|
|
34
|
-
(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
}], null, null); })();
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IosSafariScrollBuggyfillModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
declarations: [
|
|
38
|
+
IosSafariScrollBuggyfillDirective,
|
|
39
|
+
],
|
|
40
|
+
imports: [
|
|
41
|
+
CommonModule,
|
|
42
|
+
],
|
|
43
|
+
exports: [
|
|
44
|
+
IosSafariScrollBuggyfillDirective,
|
|
45
|
+
]
|
|
46
|
+
}]
|
|
47
|
+
}] });
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
50
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-directives.js","sources":["../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../libs/common/directives/ng-atomic-common-directives.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n selector: '[iosSafariScrollBuggyfill]'\n})\nexport class IosSafariScrollBuggyfillDirective implements AfterViewInit {\n\n ngAfterViewInit(): void {\n // this.el.nativeElement.addEventListener('touchmove', (e: Event) => {\n // e.preventDefault();\n // }, {passive: false});\n }\n\n @HostListener('touchmove', ['$event'])\n onTouchmove(event: Event) {\n event.preventDefault();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';\n\n\n\n@NgModule({\n declarations: [\n IosSafariScrollBuggyfillDirective,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n IosSafariScrollBuggyfillDirective,\n ]\n})\nexport class IosSafariScrollBuggyfillModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,iCAAiC;IAE5C,eAAe;;;;KAId;
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-directives.js","sources":["../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.directive.ts","../../../../libs/common/directives/ios-safari-scroll-buggyfill/ios-safari-scroll-buggyfill.module.ts","../../../../libs/common/directives/ng-atomic-common-directives.ts"],"sourcesContent":["import { AfterViewInit, Directive, HostListener } from '@angular/core';\n\n@Directive({\n selector: '[iosSafariScrollBuggyfill]'\n})\nexport class IosSafariScrollBuggyfillDirective implements AfterViewInit {\n\n ngAfterViewInit(): void {\n // this.el.nativeElement.addEventListener('touchmove', (e: Event) => {\n // e.preventDefault();\n // }, {passive: false});\n }\n\n @HostListener('touchmove', ['$event'])\n onTouchmove(event: Event) {\n event.preventDefault();\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { IosSafariScrollBuggyfillDirective } from './ios-safari-scroll-buggyfill.directive';\n\n\n\n@NgModule({\n declarations: [\n IosSafariScrollBuggyfillDirective,\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n IosSafariScrollBuggyfillDirective,\n ]\n})\nexport class IosSafariScrollBuggyfillModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,iCAAiC,CAAA;IAE5C,eAAe,GAAA;;;;KAId;AAGD,IAAA,WAAW,CAAC,KAAY,EAAA;QACtB,KAAK,CAAC,cAAc,EAAE,CAAC;KACxB;;+HAXU,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mHAAjC,iCAAiC,EAAA,QAAA,EAAA,4BAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAjC,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAH7C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,4BAA4B;AACvC,iBAAA,CAAA;8BAUC,WAAW,EAAA,CAAA;sBADV,YAAY;uBAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,CAAA;;;MCI1B,8BAA8B,CAAA;;4HAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA9B,8BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EATvC,YAAA,EAAA,CAAA,iCAAiC,CAGjC,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,iCAAiC,CAAA,EAAA,CAAA,CAAA;AAGxB,8BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,8BAA8B,EAPhC,OAAA,EAAA,CAAA;YACP,YAAY;AACb,SAAA,CAAA,EAAA,CAAA,CAAA;4FAKU,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAX1C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,iCAAiC;AAClC,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iCAAiC;AAClC,qBAAA;AACF,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-models.js","sources":["../../../../libs/common/models/ng-atomic-common-models.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-models.js","sources":["../../../../libs/common/models/ng-atomic-common-models.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken,
|
|
2
|
+
import { InjectionToken, Pipe, Optional, Inject, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule, SlicePipe } from '@angular/common';
|
|
4
4
|
import { sortBy } from 'lodash';
|
|
5
5
|
import { smartExpTransformer, SMART_EXP_TRANSFORMER, yenTransform } from '@ng-atomic/common/utils';
|
|
@@ -16,43 +16,42 @@ class DomainPipe {
|
|
|
16
16
|
return (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a[input]) !== null && _b !== void 0 ? _b : input;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
DomainPipe.ɵfac =
|
|
20
|
-
DomainPipe.ɵpipe =
|
|
21
|
-
(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
DomainPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainPipe, deps: [{ token: DOMAIN_LANG_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
|
+
DomainPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainPipe, name: "D" });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainPipe, decorators: [{
|
|
22
|
+
type: Pipe,
|
|
23
|
+
args: [{
|
|
24
|
+
name: 'D',
|
|
25
|
+
pure: true,
|
|
26
|
+
}]
|
|
27
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
28
|
+
type: Optional
|
|
29
|
+
}, {
|
|
30
|
+
type: Inject,
|
|
31
|
+
args: [DOMAIN_LANG_MAP]
|
|
32
|
+
}] }]; } });
|
|
33
33
|
|
|
34
34
|
class DomainModule {
|
|
35
35
|
}
|
|
36
|
-
DomainModule.ɵfac =
|
|
37
|
-
DomainModule.ɵmod =
|
|
38
|
-
DomainModule.ɵinj =
|
|
36
|
+
DomainModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
37
|
+
DomainModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainModule, declarations: [DomainPipe], imports: [CommonModule], exports: [DomainPipe] });
|
|
38
|
+
DomainModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainModule, imports: [[
|
|
39
39
|
CommonModule
|
|
40
40
|
]] });
|
|
41
|
-
(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
]
|
|
54
|
-
|
|
55
|
-
}], null, null); })();
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DomainModule, decorators: [{
|
|
42
|
+
type: NgModule,
|
|
43
|
+
args: [{
|
|
44
|
+
declarations: [
|
|
45
|
+
DomainPipe
|
|
46
|
+
],
|
|
47
|
+
imports: [
|
|
48
|
+
CommonModule
|
|
49
|
+
],
|
|
50
|
+
exports: [
|
|
51
|
+
DomainPipe
|
|
52
|
+
]
|
|
53
|
+
}]
|
|
54
|
+
}] });
|
|
56
55
|
|
|
57
56
|
const SMART_SORT_BY_TRANSFORMER = new InjectionToken('[@ng-atomic/common] Smart Sort By Transformer');
|
|
58
57
|
const smartSortByTransformer = (items, key, order) => {
|
|
@@ -68,43 +67,42 @@ class SmartSortByPipe {
|
|
|
68
67
|
return this.transformer(items, key, order);
|
|
69
68
|
}
|
|
70
69
|
}
|
|
71
|
-
SmartSortByPipe.ɵfac =
|
|
72
|
-
SmartSortByPipe.ɵpipe =
|
|
73
|
-
(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
70
|
+
SmartSortByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
71
|
+
SmartSortByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByPipe, name: "smartSortBy" });
|
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByPipe, decorators: [{
|
|
73
|
+
type: Pipe,
|
|
74
|
+
args: [{
|
|
75
|
+
name: 'smartSortBy',
|
|
76
|
+
pure: true,
|
|
77
|
+
}]
|
|
78
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
79
|
+
type: Optional
|
|
80
|
+
}, {
|
|
81
|
+
type: Inject,
|
|
82
|
+
args: [SMART_SORT_BY_TRANSFORMER]
|
|
83
|
+
}] }]; } });
|
|
85
84
|
|
|
86
85
|
class SmartSortByModule {
|
|
87
86
|
}
|
|
88
|
-
SmartSortByModule.ɵfac =
|
|
89
|
-
SmartSortByModule.ɵmod =
|
|
90
|
-
SmartSortByModule.ɵinj =
|
|
87
|
+
SmartSortByModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
88
|
+
SmartSortByModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByModule, declarations: [SmartSortByPipe], imports: [CommonModule], exports: [SmartSortByPipe] });
|
|
89
|
+
SmartSortByModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByModule, imports: [[
|
|
91
90
|
CommonModule
|
|
92
91
|
]] });
|
|
93
|
-
(
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
]
|
|
106
|
-
|
|
107
|
-
}], null, null); })();
|
|
92
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartSortByModule, decorators: [{
|
|
93
|
+
type: NgModule,
|
|
94
|
+
args: [{
|
|
95
|
+
declarations: [
|
|
96
|
+
SmartSortByPipe
|
|
97
|
+
],
|
|
98
|
+
imports: [
|
|
99
|
+
CommonModule
|
|
100
|
+
],
|
|
101
|
+
exports: [
|
|
102
|
+
SmartSortByPipe
|
|
103
|
+
]
|
|
104
|
+
}]
|
|
105
|
+
}] });
|
|
108
106
|
|
|
109
107
|
class SmartClampPipe {
|
|
110
108
|
constructor(transformer) {
|
|
@@ -132,43 +130,42 @@ class SmartClampPipe {
|
|
|
132
130
|
return this._output = items;
|
|
133
131
|
}
|
|
134
132
|
}
|
|
135
|
-
SmartClampPipe.ɵfac =
|
|
136
|
-
SmartClampPipe.ɵpipe =
|
|
137
|
-
(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
133
|
+
SmartClampPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampPipe, deps: [{ token: SMART_SORT_BY_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
134
|
+
SmartClampPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampPipe, name: "smartClamp", pure: false });
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampPipe, decorators: [{
|
|
136
|
+
type: Pipe,
|
|
137
|
+
args: [{
|
|
138
|
+
name: 'smartClamp',
|
|
139
|
+
pure: false,
|
|
140
|
+
}]
|
|
141
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
142
|
+
type: Optional
|
|
143
|
+
}, {
|
|
144
|
+
type: Inject,
|
|
145
|
+
args: [SMART_SORT_BY_TRANSFORMER]
|
|
146
|
+
}] }]; } });
|
|
149
147
|
|
|
150
148
|
class SmartClampModule {
|
|
151
149
|
}
|
|
152
|
-
SmartClampModule.ɵfac =
|
|
153
|
-
SmartClampModule.ɵmod =
|
|
154
|
-
SmartClampModule.ɵinj =
|
|
150
|
+
SmartClampModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
151
|
+
SmartClampModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampModule, declarations: [SmartClampPipe], imports: [CommonModule], exports: [SmartClampPipe] });
|
|
152
|
+
SmartClampModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampModule, imports: [[
|
|
155
153
|
CommonModule,
|
|
156
154
|
]] });
|
|
157
|
-
(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
]
|
|
170
|
-
|
|
171
|
-
}], null, null); })();
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartClampModule, decorators: [{
|
|
156
|
+
type: NgModule,
|
|
157
|
+
args: [{
|
|
158
|
+
declarations: [
|
|
159
|
+
SmartClampPipe
|
|
160
|
+
],
|
|
161
|
+
imports: [
|
|
162
|
+
CommonModule,
|
|
163
|
+
],
|
|
164
|
+
exports: [
|
|
165
|
+
SmartClampPipe
|
|
166
|
+
]
|
|
167
|
+
}]
|
|
168
|
+
}] });
|
|
172
169
|
|
|
173
170
|
class SmartExpPipe {
|
|
174
171
|
constructor(transformer) {
|
|
@@ -180,34 +177,33 @@ class SmartExpPipe {
|
|
|
180
177
|
return this.transformer(input, key);
|
|
181
178
|
}
|
|
182
179
|
}
|
|
183
|
-
SmartExpPipe.ɵfac =
|
|
184
|
-
SmartExpPipe.ɵpipe =
|
|
185
|
-
(
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
180
|
+
SmartExpPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpPipe, deps: [{ token: SMART_EXP_TRANSFORMER, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
181
|
+
SmartExpPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpPipe, name: "smartExp" });
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpPipe, decorators: [{
|
|
183
|
+
type: Pipe,
|
|
184
|
+
args: [{
|
|
185
|
+
name: 'smartExp',
|
|
186
|
+
pure: true,
|
|
187
|
+
}]
|
|
188
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
189
|
+
type: Optional
|
|
190
|
+
}, {
|
|
191
|
+
type: Inject,
|
|
192
|
+
args: [SMART_EXP_TRANSFORMER]
|
|
193
|
+
}] }]; } });
|
|
197
194
|
|
|
198
195
|
class SmartExpModule {
|
|
199
196
|
}
|
|
200
|
-
SmartExpModule.ɵfac =
|
|
201
|
-
SmartExpModule.ɵmod =
|
|
202
|
-
SmartExpModule.ɵinj =
|
|
203
|
-
(
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}], null, null); })();
|
|
197
|
+
SmartExpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
198
|
+
SmartExpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpModule, declarations: [SmartExpPipe], exports: [SmartExpPipe] });
|
|
199
|
+
SmartExpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpModule });
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartExpModule, decorators: [{
|
|
201
|
+
type: NgModule,
|
|
202
|
+
args: [{
|
|
203
|
+
declarations: [SmartExpPipe],
|
|
204
|
+
exports: [SmartExpPipe]
|
|
205
|
+
}]
|
|
206
|
+
}] });
|
|
211
207
|
|
|
212
208
|
const FORM_FIELD_MAP = new InjectionToken('[@ng-atomic] Smart Form Field');
|
|
213
209
|
class SmartFieldPipe {
|
|
@@ -225,80 +221,78 @@ class SmartFieldPipe {
|
|
|
225
221
|
return (_a = this.map[key]) !== null && _a !== void 0 ? _a : { type: 'input' };
|
|
226
222
|
}
|
|
227
223
|
}
|
|
228
|
-
SmartFieldPipe.ɵfac =
|
|
229
|
-
SmartFieldPipe.ɵpipe =
|
|
230
|
-
(
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
224
|
+
SmartFieldPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldPipe, deps: [{ token: FORM_FIELD_MAP, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
225
|
+
SmartFieldPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldPipe, name: "smartField" });
|
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldPipe, decorators: [{
|
|
227
|
+
type: Pipe,
|
|
228
|
+
args: [{
|
|
229
|
+
name: 'smartField',
|
|
230
|
+
pure: true,
|
|
231
|
+
}]
|
|
232
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
233
|
+
type: Optional
|
|
234
|
+
}, {
|
|
235
|
+
type: Inject,
|
|
236
|
+
args: [FORM_FIELD_MAP]
|
|
237
|
+
}] }]; } });
|
|
242
238
|
|
|
243
239
|
class SmartFieldModule {
|
|
244
240
|
}
|
|
245
|
-
SmartFieldModule.ɵfac =
|
|
246
|
-
SmartFieldModule.ɵmod =
|
|
247
|
-
SmartFieldModule.ɵinj =
|
|
241
|
+
SmartFieldModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
242
|
+
SmartFieldModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldModule, declarations: [SmartFieldPipe], imports: [CommonModule], exports: [SmartFieldPipe] });
|
|
243
|
+
SmartFieldModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldModule, imports: [[
|
|
248
244
|
CommonModule
|
|
249
245
|
]] });
|
|
250
|
-
(
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
]
|
|
263
|
-
|
|
264
|
-
}], null, null); })();
|
|
246
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SmartFieldModule, decorators: [{
|
|
247
|
+
type: NgModule,
|
|
248
|
+
args: [{
|
|
249
|
+
declarations: [
|
|
250
|
+
SmartFieldPipe
|
|
251
|
+
],
|
|
252
|
+
imports: [
|
|
253
|
+
CommonModule
|
|
254
|
+
],
|
|
255
|
+
exports: [
|
|
256
|
+
SmartFieldPipe
|
|
257
|
+
]
|
|
258
|
+
}]
|
|
259
|
+
}] });
|
|
265
260
|
|
|
266
261
|
class YenPipe {
|
|
267
262
|
transform(value, _unit) {
|
|
268
263
|
return yenTransform(value, _unit);
|
|
269
264
|
}
|
|
270
265
|
}
|
|
271
|
-
YenPipe.ɵfac =
|
|
272
|
-
YenPipe.ɵpipe =
|
|
273
|
-
(
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
266
|
+
YenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
267
|
+
YenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenPipe, name: "yen" });
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenPipe, decorators: [{
|
|
269
|
+
type: Pipe,
|
|
270
|
+
args: [{
|
|
271
|
+
name: 'yen'
|
|
272
|
+
}]
|
|
273
|
+
}] });
|
|
279
274
|
|
|
280
275
|
class YenModule {
|
|
281
276
|
}
|
|
282
|
-
YenModule.ɵfac =
|
|
283
|
-
YenModule.ɵmod =
|
|
284
|
-
YenModule.ɵinj =
|
|
277
|
+
YenModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
278
|
+
YenModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenModule, declarations: [YenPipe], imports: [CommonModule], exports: [YenPipe] });
|
|
279
|
+
YenModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenModule, imports: [[
|
|
285
280
|
CommonModule
|
|
286
281
|
]] });
|
|
287
|
-
(
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
]
|
|
300
|
-
|
|
301
|
-
}], null, null); })();
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: YenModule, decorators: [{
|
|
283
|
+
type: NgModule,
|
|
284
|
+
args: [{
|
|
285
|
+
declarations: [
|
|
286
|
+
YenPipe
|
|
287
|
+
],
|
|
288
|
+
imports: [
|
|
289
|
+
CommonModule
|
|
290
|
+
],
|
|
291
|
+
exports: [
|
|
292
|
+
YenPipe
|
|
293
|
+
]
|
|
294
|
+
}]
|
|
295
|
+
}] });
|
|
302
296
|
|
|
303
297
|
/**
|
|
304
298
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-atomic-common-pipes.js","sources":["../../../../libs/common/pipes/domain/domain.pipe.ts","../../../../libs/common/pipes/domain/domain.module.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.pipe.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.module.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.pipe.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.module.ts","../../../../libs/common/pipes/smart-exp/smart-exp.pipe.ts","../../../../libs/common/pipes/smart-exp/smart-exp.module.ts","../../../../libs/common/pipes/smart-field/smart-field.pipe.ts","../../../../libs/common/pipes/smart-field/smart-field.module.ts","../../../../libs/common/pipes/yen/yen.pipe.ts","../../../../libs/common/pipes/yen/yen.module.ts","../../../../libs/common/pipes/ng-atomic-common-pipes.ts"],"sourcesContent":["import { Inject, InjectionToken, Optional, Pipe } from '@angular/core';\n\nexport type DomainLangMap = Record<string, string>;\nexport const DOMAIN_LANG_MAP = new InjectionToken<DomainLangMap>('domain lang map');\n\n@Pipe({\n name: 'D',\n pure: true,\n})\nexport class DomainPipe {\n constructor(@Optional() @Inject(DOMAIN_LANG_MAP) private map: DomainLangMap) {\n this.map ??= {};\n }\n\n transform(input: string) {\n return this.map?.[input] ?? input;\n }\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DomainPipe } from './domain.pipe';\n\n\n\n@NgModule({\n declarations: [\n DomainPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n DomainPipe\n ]\n})\nexport class DomainModule { }\n","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { sortBy } from 'lodash';\n\nexport const SMART_SORT_BY_TRANSFORMER = new InjectionToken('[@ng-atomic/common] Smart Sort By Transformer');\nexport type SmartSortByTransformer = <T>(items: T[], key: string, order: 'asc' | 'desc') => T[];\nexport const smartSortByTransformer: SmartSortByTransformer = (items, key, order) => {\n return order === 'asc' ? sortBy(items, key) : sortBy(items, key).reverse();\n}\n\n@Pipe({\n name: 'smartSortBy',\n pure: true,\n})\nexport class SmartSortByPipe implements PipeTransform {\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], key: string, order: 'asc' | 'desc' = 'asc'): T[] {\n return this.transformer(items, key, order);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartSortByPipe } from './smart-sort-by.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartSortByPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartSortByPipe\n ]\n})\nexport class SmartSortByModule { }\n","import { SlicePipe } from '@angular/common';\nimport { Inject, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { EntitiesPageStore } from '@ng-atomic/common/store';\nimport { smartSortByTransformer, SmartSortByTransformer, SMART_SORT_BY_TRANSFORMER } from '../smart-sort-by';\n\n@Pipe({\n name: 'smartClamp',\n pure: false,\n})\nexport class SmartClampPipe implements PipeTransform {\n private slicePipe = new SlicePipe();\n private _input = null;\n private _output = [];\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], store: EntitiesPageStore<any, any>): T[] {\n const input = {\n items, \n sortKey: store.sortKey, \n sortOrder: store.sortOrder, \n start: store.page.start,\n end: store.page.end,\n };\n \n if (JSON.stringify(input) === JSON.stringify(this._input)) {\n return this._output;\n }\n\n this._input = input;\n items = this.transformer(items, store?.sortKey, store?.sortOrder as 'asc' | 'desc');\n items = this.slicePipe.transform(items, store.page.start, store.page.end);\n return this._output = items;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartClampPipe } from './smart-clamp.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartClampPipe\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n SmartClampPipe\n ]\n})\nexport class SmartClampModule { }\n","import { Inject, Optional, Pipe } from '@angular/core';\nimport * as dayjs from 'dayjs';\nimport { SMART_EXP_TRANSFORMER, smartExpTransformer, SmartExpTransformer } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'smartExp',\n pure: true,\n})\nexport class SmartExpPipe {\n constructor(\n @Optional() @Inject(SMART_EXP_TRANSFORMER) private transformer: SmartExpTransformer\n ) {\n this.transformer ??= smartExpTransformer;\n }\n\n transform(input: string | number | dayjs.Dayjs | any, key?: string): string {\n return this.transformer(input, key);\n }\n}","import { NgModule } from \"@angular/core\";\nimport { SmartExpPipe } from \"./smart-exp.pipe\";\n\n@NgModule({\n declarations: [SmartExpPipe],\n exports: [SmartExpPipe]\n})\nexport class SmartExpModule { }","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\n\ninterface Option<T> {\n name: string;\n value: T;\n}\n\ninterface InputField {\n type: 'input';\n}\n\ninterface DateInputField {\n type: 'date';\n}\n\ninterface SelectField<T> {\n type: 'select';\n options: Option<T>[];\n}\n\ninterface MultiSelectField<T> {\n type: 'multi-select';\n options: Option<T>[];\n}\n\ntype FormField<V> = InputField\n | DateInputField\n | SelectField<V>\n | MultiSelectField<V>;\n\nexport type FormFieldMap = Record<string, FormField<any>>;\n\nexport const FORM_FIELD_MAP = new InjectionToken<FormFieldMap>('[@ng-atomic] Smart Form Field');\n\n@Pipe({\n name: 'smartField',\n pure: true,\n})\nexport class SmartFieldPipe implements PipeTransform {\n\n constructor(\n @Optional() @Inject(FORM_FIELD_MAP) private map: Record<string, FormField<any>>\n ) {\n this.map ??= {\n createdAt: { type: 'date' },\n updatedAt: { type: 'date' },\n deletedAt: { type: 'date' },\n };\n }\n\n transform(key: string): FormField<any> {\n return this.map[key] ?? {type: 'input'};\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartFieldPipe } from './smart-field.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartFieldPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartFieldPipe\n ]\n})\nexport class SmartFieldModule { }\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { yenTransform } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'yen'\n})\nexport class YenPipe implements PipeTransform {\n\n transform(value: number, _unit?: string): string {\n return yenTransform(value, _unit);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { YenPipe } from './yen.pipe';\n\n\n\n@NgModule({\n declarations: [\n YenPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n YenPipe\n ]\n})\nexport class YenModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAGa,eAAe,GAAG,IAAI,cAAc,CAAgB,iBAAiB,EAAE;MAMvE,UAAU;IACrB,YAAyD,GAAkB;;QAAlB,QAAG,GAAH,GAAG,CAAe;QACzE,MAAA,IAAI,CAAC,GAAG,oCAAR,IAAI,CAAC,GAAG,GAAK,EAAE,EAAC;KACjB;IAED,SAAS,CAAC,KAAa;;QACrB,mBAAO,IAAI,CAAC,GAAG,0CAAG,KAAK,oCAAK,KAAK,CAAC;KACnC;;oEAPU,UAAU,oBACW,eAAe;6EADpC,UAAU;oFAAV,UAAU;cAJtB,IAAI;eAAC;gBACJ,IAAI,EAAE,GAAG;gBACT,IAAI,EAAE,IAAI;aACX;;sBAEc,QAAQ;;sBAAI,MAAM;uBAAC,eAAe;;;MCOpC,YAAY;;wEAAZ,YAAY;6CAAZ,YAAY;iDAPd;YACP,YAAY;SACb;qFAKU,YAAY,mBATrB,UAAU,aAGV,YAAY,aAGZ,UAAU;oFAGD,YAAY;cAXxB,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,UAAU;iBACX;gBACD,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,UAAU;iBACX;aACF;;;MCbY,yBAAyB,GAAG,IAAI,cAAc,CAAC,+CAA+C,EAAE;MAEhG,sBAAsB,GAA2B,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK;IAC9E,OAAO,KAAK,KAAK,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC;AAC7E,EAAC;MAMY,eAAe;IAE1B,YAGU,WAAoC;;QAApC,gBAAW,GAA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oBACZ,cAAc;iBACf;gBACD,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,cAAc;iBACf;aACF;;;MCVY,OAAO;IAElB,SAAS,CAAC,KAAa,EAAE,KAAc;QACrC,OAAO,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;KACnC;;8DAJU,OAAO;0EAAP,OAAO;oFAAP,OAAO;cAHnB,IAAI;eAAC;gBACJ,IAAI,EAAE,KAAK;aACZ;;;MCYY,SAAS;;kEAAT,SAAS;0CAAT,SAAS;8CAPX;YACP,YAAY;SACb;qFAKU,SAAS,mBATlB,OAAO,aAGP,YAAY,aAGZ,OAAO;oFAGE,SAAS;cAXrB,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,OAAO;iBACR;gBACD,OAAO,EAAE;oBACP,YAAY;iBACb;gBACD,OAAO,EAAE;oBACP,OAAO;iBACR;aACF;;;AChBD;;;;;;"}
|
|
1
|
+
{"version":3,"file":"ng-atomic-common-pipes.js","sources":["../../../../libs/common/pipes/domain/domain.pipe.ts","../../../../libs/common/pipes/domain/domain.module.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.pipe.ts","../../../../libs/common/pipes/smart-sort-by/smart-sort-by.module.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.pipe.ts","../../../../libs/common/pipes/smart-clamp/smart-clamp.module.ts","../../../../libs/common/pipes/smart-exp/smart-exp.pipe.ts","../../../../libs/common/pipes/smart-exp/smart-exp.module.ts","../../../../libs/common/pipes/smart-field/smart-field.pipe.ts","../../../../libs/common/pipes/smart-field/smart-field.module.ts","../../../../libs/common/pipes/yen/yen.pipe.ts","../../../../libs/common/pipes/yen/yen.module.ts","../../../../libs/common/pipes/ng-atomic-common-pipes.ts"],"sourcesContent":["import { Inject, InjectionToken, Optional, Pipe } from '@angular/core';\n\nexport type DomainLangMap = Record<string, string>;\nexport const DOMAIN_LANG_MAP = new InjectionToken<DomainLangMap>('domain lang map');\n\n@Pipe({\n name: 'D',\n pure: true,\n})\nexport class DomainPipe {\n constructor(@Optional() @Inject(DOMAIN_LANG_MAP) private map: DomainLangMap) {\n this.map ??= {};\n }\n\n transform(input: string) {\n return this.map?.[input] ?? input;\n }\n}\n\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { DomainPipe } from './domain.pipe';\n\n\n\n@NgModule({\n declarations: [\n DomainPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n DomainPipe\n ]\n})\nexport class DomainModule { }\n","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { sortBy } from 'lodash';\n\nexport const SMART_SORT_BY_TRANSFORMER = new InjectionToken('[@ng-atomic/common] Smart Sort By Transformer');\nexport type SmartSortByTransformer = <T>(items: T[], key: string, order: 'asc' | 'desc') => T[];\nexport const smartSortByTransformer: SmartSortByTransformer = (items, key, order) => {\n return order === 'asc' ? sortBy(items, key) : sortBy(items, key).reverse();\n}\n\n@Pipe({\n name: 'smartSortBy',\n pure: true,\n})\nexport class SmartSortByPipe implements PipeTransform {\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], key: string, order: 'asc' | 'desc' = 'asc'): T[] {\n return this.transformer(items, key, order);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartSortByPipe } from './smart-sort-by.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartSortByPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartSortByPipe\n ]\n})\nexport class SmartSortByModule { }\n","import { SlicePipe } from '@angular/common';\nimport { Inject, Optional, Pipe, PipeTransform } from '@angular/core';\nimport { EntitiesPageStore } from '@ng-atomic/common/store';\nimport { smartSortByTransformer, SmartSortByTransformer, SMART_SORT_BY_TRANSFORMER } from '../smart-sort-by';\n\n@Pipe({\n name: 'smartClamp',\n pure: false,\n})\nexport class SmartClampPipe implements PipeTransform {\n private slicePipe = new SlicePipe();\n private _input = null;\n private _output = [];\n\n constructor(\n @Optional()\n @Inject(SMART_SORT_BY_TRANSFORMER)\n private transformer?: SmartSortByTransformer,\n ) {\n this.transformer ??= smartSortByTransformer;\n }\n\n transform<T>(items: T[], store: EntitiesPageStore<any, any>): T[] {\n const input = {\n items, \n sortKey: store.sortKey, \n sortOrder: store.sortOrder, \n start: store.page.start,\n end: store.page.end,\n };\n \n if (JSON.stringify(input) === JSON.stringify(this._input)) {\n return this._output;\n }\n\n this._input = input;\n items = this.transformer(items, store?.sortKey, store?.sortOrder as 'asc' | 'desc');\n items = this.slicePipe.transform(items, store.page.start, store.page.end);\n return this._output = items;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartClampPipe } from './smart-clamp.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartClampPipe\n ],\n imports: [\n CommonModule,\n ],\n exports: [\n SmartClampPipe\n ]\n})\nexport class SmartClampModule { }\n","import { Inject, Optional, Pipe } from '@angular/core';\nimport dayjs from 'dayjs';\nimport { SMART_EXP_TRANSFORMER, smartExpTransformer, SmartExpTransformer } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'smartExp',\n pure: true,\n})\nexport class SmartExpPipe {\n constructor(\n @Optional() @Inject(SMART_EXP_TRANSFORMER) private transformer: SmartExpTransformer\n ) {\n this.transformer ??= smartExpTransformer;\n }\n\n transform(input: string | number | dayjs.Dayjs | any, key?: string): string {\n return this.transformer(input, key);\n }\n}","import { NgModule } from \"@angular/core\";\nimport { SmartExpPipe } from \"./smart-exp.pipe\";\n\n@NgModule({\n declarations: [SmartExpPipe],\n exports: [SmartExpPipe]\n})\nexport class SmartExpModule { }","import { Inject, InjectionToken, Optional, Pipe, PipeTransform } from '@angular/core';\n\ninterface Option<T> {\n name: string;\n value: T;\n}\n\ninterface InputField {\n type: 'input';\n}\n\ninterface DateInputField {\n type: 'date';\n}\n\ninterface SelectField<T> {\n type: 'select';\n options: Option<T>[];\n}\n\ninterface MultiSelectField<T> {\n type: 'multi-select';\n options: Option<T>[];\n}\n\ntype FormField<V> = InputField\n | DateInputField\n | SelectField<V>\n | MultiSelectField<V>;\n\nexport type FormFieldMap = Record<string, FormField<any>>;\n\nexport const FORM_FIELD_MAP = new InjectionToken<FormFieldMap>('[@ng-atomic] Smart Form Field');\n\n@Pipe({\n name: 'smartField',\n pure: true,\n})\nexport class SmartFieldPipe implements PipeTransform {\n\n constructor(\n @Optional() @Inject(FORM_FIELD_MAP) private map: Record<string, FormField<any>>\n ) {\n this.map ??= {\n createdAt: { type: 'date' },\n updatedAt: { type: 'date' },\n deletedAt: { type: 'date' },\n };\n }\n\n transform(key: string): FormField<any> {\n return this.map[key] ?? {type: 'input'};\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SmartFieldPipe } from './smart-field.pipe';\n\n\n\n@NgModule({\n declarations: [\n SmartFieldPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n SmartFieldPipe\n ]\n})\nexport class SmartFieldModule { }\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { yenTransform } from '@ng-atomic/common/utils';\n\n@Pipe({\n name: 'yen'\n})\nexport class YenPipe implements PipeTransform {\n\n transform(value: number, _unit?: string): string {\n return yenTransform(value, _unit);\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { YenPipe } from './yen.pipe';\n\n\n\n@NgModule({\n declarations: [\n YenPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n YenPipe\n ]\n})\nexport class YenModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAGa,eAAe,GAAG,IAAI,cAAc,CAAgB,iBAAiB,EAAE;MAMvE,UAAU,CAAA;AACrB,IAAA,WAAA,CAAyD,GAAkB,EAAA;;QAAlB,IAAG,CAAA,G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