@ng-atomic/common 5.14.0 → 5.15.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.
@@ -0,0 +1,36 @@
1
+ import { Directive } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export class NgAtomicComponentStore {
4
+ dispatch(action) {
5
+ const handler = this._effectMap.get(action.id);
6
+ if (handler)
7
+ this[handler](action.payload);
8
+ }
9
+ }
10
+ NgAtomicComponentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
11
+ NgAtomicComponentStore.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponentStore, isStandalone: true, ngImport: i0 });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, decorators: [{
13
+ type: Directive,
14
+ args: [{ standalone: true }]
15
+ }] });
16
+ export class NgAtomicComponent {
17
+ dispatch(action) {
18
+ const handler = this._effectMap.get(action.id);
19
+ if (handler)
20
+ this[handler](action.payload);
21
+ }
22
+ }
23
+ NgAtomicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
24
+ NgAtomicComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponent, isStandalone: true, ngImport: i0 });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, decorators: [{
26
+ type: Directive,
27
+ args: [{ standalone: true }]
28
+ }] });
29
+ export function Effect(id) {
30
+ return function (target, propertyKey, descriptor) {
31
+ console.debug('target:', target);
32
+ target['_effectMap'] ?? (target['_effectMap']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tcG9uZW50IHtcbiAgcHJvdGVjdGVkIF9lZmZlY3RNYXA6IE1hcDxzdHJpbmcsIHN0cmluZz47XG5cbiAgZGlzcGF0Y2goYWN0aW9uOiBBY3Rpb24pIHtcbiAgICBjb25zdCBoYW5kbGVyID0gdGhpcy5fZWZmZWN0TWFwLmdldChhY3Rpb24uaWQpO1xuICAgIGlmIChoYW5kbGVyKSB0aGlzW2hhbmRsZXJdKGFjdGlvbi5wYXlsb2FkKTtcbiAgfVxufVxuXG5leHBvcnQgZnVuY3Rpb24gRWZmZWN0KGlkOiBzdHJpbmcpIHtcbiAgcmV0dXJuIGZ1bmN0aW9uICh0YXJnZXQ6IGFueSwgcHJvcGVydHlLZXk6IHN0cmluZywgZGVzY3JpcHRvcjogUHJvcGVydHlEZXNjcmlwdG9yKSB7XG4gICAgY29uc29sZS5kZWJ1ZygndGFyZ2V0OicsIHRhcmdldCk7XG4gICAgdGFyZ2V0WydfZWZmZWN0TWFwJ10gPz89IG5ldyBNYXA8c3RyaW5nLCBzdHJpbmc+KCk7XG4gICAgdGFyZ2V0WydfZWZmZWN0TWFwJ10uc2V0KGlkLCBwcm9wZXJ0eUtleSk7XG4gIH07XG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './component-store';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9AbmctYXRvbWljL2NvbW1vbi9zcmMvc3RvcmVzL2NvbXBvbmVudC1zdG9yZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnQtc3RvcmUnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmctYXRvbWljLWNvbW1vbi1zdG9yZXMtY29tcG9uZW50LXN0b3JlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvQG5nLWF0b21pYy9jb21tb24vc3JjL3N0b3Jlcy9jb21wb25lbnQtc3RvcmUvbmctYXRvbWljLWNvbW1vbi1zdG9yZXMtY29tcG9uZW50LXN0b3JlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,44 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive } from '@angular/core';
3
+
4
+ class NgAtomicComponentStore {
5
+ dispatch(action) {
6
+ const handler = this._effectMap.get(action.id);
7
+ if (handler)
8
+ this[handler](action.payload);
9
+ }
10
+ }
11
+ NgAtomicComponentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ NgAtomicComponentStore.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponentStore, isStandalone: true, ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, decorators: [{
14
+ type: Directive,
15
+ args: [{ standalone: true }]
16
+ }] });
17
+ class NgAtomicComponent {
18
+ dispatch(action) {
19
+ const handler = this._effectMap.get(action.id);
20
+ if (handler)
21
+ this[handler](action.payload);
22
+ }
23
+ }
24
+ NgAtomicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ NgAtomicComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponent, isStandalone: true, ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, decorators: [{
27
+ type: Directive,
28
+ args: [{ standalone: true }]
29
+ }] });
30
+ function Effect(id) {
31
+ return function (target, propertyKey, descriptor) {
32
+ var _a;
33
+ console.debug('target:', target);
34
+ (_a = target['_effectMap']) !== null && _a !== void 0 ? _a : (target['_effectMap'] = new Map());
35
+ target['_effectMap'].set(id, propertyKey);
36
+ };
37
+ }
38
+
39
+ /**
40
+ * Generated bundle index. Do not edit.
41
+ */
42
+
43
+ export { Effect, NgAtomicComponent, NgAtomicComponentStore };
44
+ //# sourceMappingURL=ng-atomic-common-stores-component-store.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-common-stores-component-store.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/component-store/component-store.ts","../../../../../packages/@ng-atomic/common/src/stores/component-store/ng-atomic-common-stores-component-store.ts"],"sourcesContent":["import { Directive } from \"@angular/core\";\nimport { Action } from \"@ng-atomic/common/models\";\n\n@Directive({ standalone: true })\nexport class NgAtomicComponentStore {\n protected _effectMap: Map<string, string>;\n\n dispatch(action: Action) {\n const handler = this._effectMap.get(action.id);\n if (handler) this[handler](action.payload);\n }\n}\n\n@Directive({ standalone: true })\nexport class NgAtomicComponent {\n protected _effectMap: Map<string, string>;\n\n dispatch(action: Action) {\n const handler = this._effectMap.get(action.id);\n if (handler) this[handler](action.payload);\n }\n}\n\nexport function Effect(id: string) {\n return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {\n console.debug('target:', target);\n target['_effectMap'] ??= new Map<string, string>();\n target['_effectMap'].set(id, propertyKey);\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,sBAAsB,CAAA;AAGjC,IAAA,QAAQ,CAAC,MAAc,EAAA;AACrB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC/C,QAAA,IAAI,OAAO;YAAE,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;KAC5C;;mHANU,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;mBAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAA;;MAWlB,iBAAiB,CAAA;AAG5B,IAAA,QAAQ,CAAC,MAAc,EAAA;AACrB,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAC/C,QAAA,IAAI,OAAO;YAAE,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;KAC5C;;8GANU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B,SAAS;mBAAC,EAAE,UAAU,EAAE,IAAI,EAAE,CAAA;;AAUzB,SAAU,MAAM,CAAC,EAAU,EAAA;AAC/B,IAAA,OAAO,UAAU,MAAW,EAAE,WAAmB,EAAE,UAA8B,EAAA;;AAC/E,QAAA,OAAO,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AACjC,QAAA,CAAA,EAAA,GAAA,MAAM,CAAC,YAAY,CAAA,oCAAnB,MAAM,CAAC,YAAY,CAAM,GAAA,IAAI,GAAG,EAAkB,CAAC,CAAA;QACnD,MAAM,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AAC5C,KAAC,CAAC;AACJ;;AC7BA;;AAEG;;;;"}
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive } from '@angular/core';
3
+
4
+ class NgAtomicComponentStore {
5
+ dispatch(action) {
6
+ const handler = this._effectMap.get(action.id);
7
+ if (handler)
8
+ this[handler](action.payload);
9
+ }
10
+ }
11
+ NgAtomicComponentStore.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ NgAtomicComponentStore.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponentStore, isStandalone: true, ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponentStore, decorators: [{
14
+ type: Directive,
15
+ args: [{ standalone: true }]
16
+ }] });
17
+ class NgAtomicComponent {
18
+ dispatch(action) {
19
+ const handler = this._effectMap.get(action.id);
20
+ if (handler)
21
+ this[handler](action.payload);
22
+ }
23
+ }
24
+ NgAtomicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
25
+ NgAtomicComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.3", type: NgAtomicComponent, isStandalone: true, ngImport: i0 });
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: NgAtomicComponent, decorators: [{
27
+ type: Directive,
28
+ args: [{ standalone: true }]
29
+ }] });
30
+ function Effect(id) {
31
+ return function (target, propertyKey, descriptor) {
32
+ console.debug('target:', target);
33
+ target['_effectMap'] ?? (target['_effectMap'] = new Map());
34
+ target['_effectMap'].set(id, propertyKey);
35
+ };
36
+ }
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { Effect, NgAtomicComponent, NgAtomicComponentStore };
43
+ //# sourceMappingURL=ng-atomic-common-stores-component-store.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-atomic-common-stores-component-store.mjs","sources":["../../../../../packages/@ng-atomic/common/src/stores/component-store/component-store.ts","../../../../../packages/@ng-atomic/common/src/stores/component-store/ng-atomic-common-stores-component-store.ts"],"sourcesContent":["import { Directive } from \"@angular/core\";\nimport { Action } from \"@ng-atomic/common/models\";\n\n@Directive({ standalone: true })\nexport class NgAtomicComponentStore {\n protected _effectMap: Map<string, string>;\n\n dispatch(action: Action) {\n const handler = this._effectMap.get(action.id);\n if (handler) this[handler](action.payload);\n }\n}\n\n@Directive({ standalone: true })\nexport class NgAtomicComponent {\n protected _effectMap: Map<string, string>;\n\n dispatch(action: Action) {\n const handler = this._effectMap.get(action.id);\n if (handler) this[handler](action.payload);\n }\n}\n\nexport function Effect(id: string) {\n return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {\n console.debug('target:', target);\n target['_effectMap'] ??= new Map<string, string>();\n target['_effectMap'].set(id, propertyKey);\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAIa,sBAAsB,CAAA;AAGjC,IAAA,QAAQ,CAAC,MAAc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KAAnB,MAAM,CAAC,YAAY,CAAM,GAAA,IAAI,GAAG,EAAkB,CAAC,CAAA;QACnD,MAAM,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC;AAC5C,KAAC,CAAC;AACJ;;AC7BA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-atomic/common",
3
- "version": "5.14.0",
3
+ "version": "5.15.0",
4
4
  "license": "MIT",
5
5
  "module": "fesm2015/ng-atomic-common.mjs",
6
6
  "es2020": "fesm2020/ng-atomic-common.mjs",
@@ -172,6 +172,14 @@
172
172
  "node": "./fesm2015/ng-atomic-common-services-snack-bar.mjs",
173
173
  "default": "./fesm2020/ng-atomic-common-services-snack-bar.mjs"
174
174
  },
175
+ "./stores/component-store": {
176
+ "types": "./stores/component-store/index.d.ts",
177
+ "esm2020": "./esm2020/stores/component-store/ng-atomic-common-stores-component-store.mjs",
178
+ "es2020": "./fesm2020/ng-atomic-common-stores-component-store.mjs",
179
+ "es2015": "./fesm2015/ng-atomic-common-stores-component-store.mjs",
180
+ "node": "./fesm2015/ng-atomic-common-stores-component-store.mjs",
181
+ "default": "./fesm2020/ng-atomic-common-stores-component-store.mjs"
182
+ },
175
183
  "./stores/entities": {
176
184
  "types": "./stores/entities/index.d.ts",
177
185
  "esm2020": "./esm2020/stores/entities/ng-atomic-common-stores-entities.mjs",
@@ -0,0 +1,15 @@
1
+ import { Action } from "@ng-atomic/common/models";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgAtomicComponentStore {
4
+ protected _effectMap: Map<string, string>;
5
+ dispatch(action: Action): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicComponentStore, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicComponentStore, never, never, {}, {}, never, never, true, never>;
8
+ }
9
+ export declare class NgAtomicComponent {
10
+ protected _effectMap: Map<string, string>;
11
+ dispatch(action: Action): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgAtomicComponent, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgAtomicComponent, never, never, {}, {}, never, never, true, never>;
14
+ }
15
+ export declare function Effect(id: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
@@ -0,0 +1 @@
1
+ export * from './component-store';