@o3r/transloco 0.0.0 → 14.4.0-rc.2

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.
Files changed (122) hide show
  1. package/LICENSE +26 -0
  2. package/README.md +64 -0
  3. package/builders/helpers/localization-generator.d.ts +126 -0
  4. package/builders/helpers/localization-generator.d.ts.map +1 -0
  5. package/builders/helpers/localization-generator.js +303 -0
  6. package/builders/helpers/localization-generator.js.map +1 -0
  7. package/builders/i18n/index.d.ts +7 -0
  8. package/builders/i18n/index.d.ts.map +1 -0
  9. package/builders/i18n/index.js +39 -0
  10. package/builders/i18n/index.js.map +1 -0
  11. package/builders/i18n/schema.d.ts +30 -0
  12. package/builders/i18n/schema.d.ts.map +1 -0
  13. package/builders/i18n/schema.js +3 -0
  14. package/builders/i18n/schema.js.map +1 -0
  15. package/builders/i18n/schema.json +35 -0
  16. package/builders/localization/index.d.ts +23 -0
  17. package/builders/localization/index.d.ts.map +1 -0
  18. package/builders/localization/index.js +416 -0
  19. package/builders/localization/index.js.map +1 -0
  20. package/builders/localization/schema.d.ts +29 -0
  21. package/builders/localization/schema.d.ts.map +1 -0
  22. package/builders/localization/schema.js +3 -0
  23. package/builders/localization/schema.js.map +1 -0
  24. package/builders/localization/schema.json +78 -0
  25. package/builders/localization-extractor/index.d.ts +8 -0
  26. package/builders/localization-extractor/index.d.ts.map +1 -0
  27. package/builders/localization-extractor/index.js +181 -0
  28. package/builders/localization-extractor/index.js.map +1 -0
  29. package/builders/localization-extractor/schema.d.ts +25 -0
  30. package/builders/localization-extractor/schema.d.ts.map +1 -0
  31. package/builders/localization-extractor/schema.js +3 -0
  32. package/builders/localization-extractor/schema.js.map +1 -0
  33. package/builders/localization-extractor/schema.json +62 -0
  34. package/builders/localization-extractor/validations.d.ts +17 -0
  35. package/builders/localization-extractor/validations.d.ts.map +1 -0
  36. package/builders/localization-extractor/validations.js +54 -0
  37. package/builders/localization-extractor/validations.js.map +1 -0
  38. package/builders/metadata-check/helpers/index.d.ts +2 -0
  39. package/builders/metadata-check/helpers/index.d.ts.map +1 -0
  40. package/builders/metadata-check/helpers/index.js +5 -0
  41. package/builders/metadata-check/helpers/index.js.map +1 -0
  42. package/builders/metadata-check/helpers/localization-metadata-comparison-helper.d.ts +14 -0
  43. package/builders/metadata-check/helpers/localization-metadata-comparison-helper.d.ts.map +1 -0
  44. package/builders/metadata-check/helpers/localization-metadata-comparison-helper.js +34 -0
  45. package/builders/metadata-check/helpers/localization-metadata-comparison-helper.js.map +1 -0
  46. package/builders/metadata-check/index.d.ts +7 -0
  47. package/builders/metadata-check/index.d.ts.map +1 -0
  48. package/builders/metadata-check/index.js +12 -0
  49. package/builders/metadata-check/index.js.map +1 -0
  50. package/builders/metadata-check/schema.d.ts +5 -0
  51. package/builders/metadata-check/schema.d.ts.map +1 -0
  52. package/builders/metadata-check/schema.js +3 -0
  53. package/builders/metadata-check/schema.js.map +1 -0
  54. package/builders/metadata-check/schema.json +46 -0
  55. package/builders/package.json +3 -0
  56. package/builders.json +25 -0
  57. package/collection.json +29 -0
  58. package/fesm2022/o3r-transloco-rules-engine.mjs +57 -0
  59. package/fesm2022/o3r-transloco-rules-engine.mjs.map +1 -0
  60. package/fesm2022/o3r-transloco.mjs +1177 -0
  61. package/fesm2022/o3r-transloco.mjs.map +1 -0
  62. package/package.json +190 -2
  63. package/rules-engine/package.json +4 -0
  64. package/schemas/localization.metadata.schema.json +84 -0
  65. package/schemas/localization.schema.json +116 -0
  66. package/schemas/rules-engine.localization-action.schema.json +26 -0
  67. package/schematics/add-localization-key/index.d.ts +13 -0
  68. package/schematics/add-localization-key/index.d.ts.map +1 -0
  69. package/schematics/add-localization-key/index.js +227 -0
  70. package/schematics/add-localization-key/index.js.map +1 -0
  71. package/schematics/add-localization-key/schema.d.ts +20 -0
  72. package/schematics/add-localization-key/schema.d.ts.map +1 -0
  73. package/schematics/add-localization-key/schema.js +3 -0
  74. package/schematics/add-localization-key/schema.js.map +1 -0
  75. package/schematics/add-localization-key/schema.json +49 -0
  76. package/schematics/cms-adapter/index.d.ts +8 -0
  77. package/schematics/cms-adapter/index.d.ts.map +1 -0
  78. package/schematics/cms-adapter/index.js +81 -0
  79. package/schematics/cms-adapter/index.js.map +1 -0
  80. package/schematics/localization-base/index.d.ts +14 -0
  81. package/schematics/localization-base/index.d.ts.map +1 -0
  82. package/schematics/localization-base/index.js +359 -0
  83. package/schematics/localization-base/index.js.map +1 -0
  84. package/schematics/localization-base/templates/src/assets/locales/__empty__.gitkeep +0 -0
  85. package/schematics/localization-to-component/index.d.ts +13 -0
  86. package/schematics/localization-to-component/index.d.ts.map +1 -0
  87. package/schematics/localization-to-component/index.js +264 -0
  88. package/schematics/localization-to-component/index.js.map +1 -0
  89. package/schematics/localization-to-component/schema.d.ts +12 -0
  90. package/schematics/localization-to-component/schema.d.ts.map +1 -0
  91. package/schematics/localization-to-component/schema.js +3 -0
  92. package/schematics/localization-to-component/schema.js.map +1 -0
  93. package/schematics/localization-to-component/schema.json +31 -0
  94. package/schematics/localization-to-component/templates/__name__-localization.json +3 -0
  95. package/schematics/localization-to-component/templates/__name__-translation.ts.template +5 -0
  96. package/schematics/migration-localization-to-transloco/index.d.ts +8 -0
  97. package/schematics/migration-localization-to-transloco/index.d.ts.map +1 -0
  98. package/schematics/migration-localization-to-transloco/index.js +194 -0
  99. package/schematics/migration-localization-to-transloco/index.js.map +1 -0
  100. package/schematics/migration-localization-to-transloco/schema.d.ts +15 -0
  101. package/schematics/migration-localization-to-transloco/schema.d.ts.map +1 -0
  102. package/schematics/migration-localization-to-transloco/schema.js +3 -0
  103. package/schematics/migration-localization-to-transloco/schema.js.map +1 -0
  104. package/schematics/migration-localization-to-transloco/schema.json +30 -0
  105. package/schematics/ng-add/helpers/devtools-registration.d.ts +8 -0
  106. package/schematics/ng-add/helpers/devtools-registration.d.ts.map +1 -0
  107. package/schematics/ng-add/helpers/devtools-registration.js +37 -0
  108. package/schematics/ng-add/helpers/devtools-registration.js.map +1 -0
  109. package/schematics/ng-add/index.d.ts +8 -0
  110. package/schematics/ng-add/index.d.ts.map +1 -0
  111. package/schematics/ng-add/index.js +62 -0
  112. package/schematics/ng-add/index.js.map +1 -0
  113. package/schematics/ng-add/schema.d.ts +11 -0
  114. package/schematics/ng-add/schema.d.ts.map +1 -0
  115. package/schematics/ng-add/schema.js +3 -0
  116. package/schematics/ng-add/schema.js.map +1 -0
  117. package/schematics/ng-add/schema.json +38 -0
  118. package/schematics/package.json +3 -0
  119. package/types/o3r-transloco-rules-engine.d.ts +40 -0
  120. package/types/o3r-transloco-rules-engine.d.ts.map +1 -0
  121. package/types/o3r-transloco.d.ts +804 -0
  122. package/types/o3r-transloco.d.ts.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devtools-registration.d.ts","sourceRoot":"","sources":["../../../../schematics/ng-add/helpers/devtools-registration.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAIpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,WAAW,CAAC;AAWnB;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,SAAS,qBAAqB,KAAG,IAejE,CAAC"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.registerDevtools = void 0;
4
+ const node_fs_1 = require("node:fs");
5
+ const path = require("node:path");
6
+ const schematics_1 = require("@angular-devkit/schematics");
7
+ const schematics_2 = require("@o3r/schematics");
8
+ /** Name of the devtools module */
9
+ const DEVTOOL_MODULE_NAME = 'LocalizationDevtoolsModule';
10
+ /** Name of the message devtools service */
11
+ const MESSAGE_DEVTOOL_SERVICE_NAME = 'LocalizationDevtoolsMessageService';
12
+ /** Name of the console devtools service */
13
+ const CONSOLE_DEVTOOL_SERVICE_NAME = 'LocalizationDevtoolsConsoleService';
14
+ /** Package name from package.json */
15
+ const PACKAGE_NAME = JSON.parse((0, node_fs_1.readFileSync)(path.resolve(__dirname, '..', '..', '..', 'package.json'), { encoding: 'utf8' })).name;
16
+ /**
17
+ * Register Devtools to the application
18
+ * @param options
19
+ */
20
+ const registerDevtools = (options) => {
21
+ return (0, schematics_1.chain)([
22
+ (0, schematics_2.registerDevtoolsToApplication)({
23
+ moduleName: DEVTOOL_MODULE_NAME,
24
+ packageName: PACKAGE_NAME,
25
+ serviceName: MESSAGE_DEVTOOL_SERVICE_NAME,
26
+ projectName: options.projectName
27
+ }),
28
+ (0, schematics_2.registerDevtoolsToApplication)({
29
+ moduleName: DEVTOOL_MODULE_NAME,
30
+ packageName: PACKAGE_NAME,
31
+ serviceName: CONSOLE_DEVTOOL_SERVICE_NAME,
32
+ projectName: options.projectName
33
+ })
34
+ ]);
35
+ };
36
+ exports.registerDevtools = registerDevtools;
37
+ //# sourceMappingURL=devtools-registration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"devtools-registration.js","sourceRoot":"","sources":["../../../../schematics/ng-add/helpers/devtools-registration.ts"],"names":[],"mappings":";;;AAAA,qCAEiB;AACjB,kCAAkC;AAClC,2DAGoC;AACpC,gDAEyB;AAKzB,kCAAkC;AAClC,MAAM,mBAAmB,GAAG,4BAA4B,CAAC;AACzD,2CAA2C;AAC3C,MAAM,4BAA4B,GAAG,oCAAoC,CAAC;AAC1E,2CAA2C;AAC3C,MAAM,4BAA4B,GAAG,oCAAoC,CAAC;AAC1E,qCAAqC;AACrC,MAAM,YAAY,GAAW,IAAI,CAAC,KAAK,CAAC,IAAA,sBAAY,EAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;AAE5I;;;GAGG;AACI,MAAM,gBAAgB,GAAG,CAAC,OAA8B,EAAQ,EAAE;IACvE,OAAO,IAAA,kBAAK,EAAC;QACX,IAAA,0CAA6B,EAAC;YAC5B,UAAU,EAAE,mBAAmB;YAC/B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,4BAA4B;YACzC,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;QACF,IAAA,0CAA6B,EAAC;YAC5B,UAAU,EAAE,mBAAmB;YAC/B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,4BAA4B;YACzC,WAAW,EAAE,OAAO,CAAC,WAAW;SACjC,CAAC;KACH,CAAC,CAAC;AACL,CAAC,CAAC;AAfW,QAAA,gBAAgB,oBAe3B"}
@@ -0,0 +1,8 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import type { NgAddSchematicsSchema } from './schema';
3
+ /**
4
+ * Add Otter localization (Transloco) to an Angular Project
5
+ * @param options for the dependencies installations
6
+ */
7
+ export declare const ngAdd: (options: NgAddSchematicsSchema) => Rule;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,IAAI,EACL,MAAM,4BAA4B,CAAC;AAqBpC,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAmDlB;;;GAGG;AACH,eAAO,MAAM,KAAK,GAAI,SAAS,qBAAqB,SAA2C,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ngAdd = void 0;
4
+ const fs = require("node:fs");
5
+ const path = require("node:path");
6
+ const schematics_1 = require("@angular-devkit/schematics");
7
+ const schematics_2 = require("@o3r/schematics");
8
+ const cms_adapter_1 = require("../cms-adapter");
9
+ const localization_base_1 = require("../localization-base");
10
+ const devtools_registration_1 = require("./helpers/devtools-registration");
11
+ /**
12
+ * List of external dependencies to be added to the project as peer dependencies
13
+ */
14
+ const dependenciesToInstall = [
15
+ '@angular/cdk',
16
+ '@angular/common',
17
+ '@angular/core',
18
+ '@jsverse/transloco',
19
+ '@jsverse/transloco-messageformat',
20
+ '@jsverse/utils',
21
+ '@ngrx/store',
22
+ 'rxjs'
23
+ ];
24
+ /**
25
+ * List of external dependencies to be added to the project as dev dependencies
26
+ */
27
+ const devDependenciesToInstall = [
28
+ '@angular-devkit/core',
29
+ 'chokidar',
30
+ 'globby'
31
+ ];
32
+ /** Path to the package.json file */
33
+ const packageJsonPath = path.resolve(__dirname, '..', '..', 'package.json');
34
+ /** Package.json content */
35
+ const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, { encoding: 'utf8' }));
36
+ /**
37
+ * Add Otter localization (Transloco) to an Angular Project
38
+ * @param options for the dependencies installations
39
+ */
40
+ function ngAddFn(options) {
41
+ return (0, schematics_1.chain)([
42
+ (_, context) => {
43
+ context.logger.info(`The package @o3r/transloco comes with a debug mechanism`);
44
+ context.logger.info('Get information on https://github.com/AmadeusITGroup/otter/tree/main/docs/localization/LOCALIZATION.md#Debugging');
45
+ },
46
+ (0, localization_base_1.updateLocalization)(options, __dirname),
47
+ (0, localization_base_1.updateI18n)(options),
48
+ options.skipLinter ? (0, schematics_1.noop)() : (0, schematics_2.applyEsLintFix)(),
49
+ (0, schematics_2.ngAddDependenciesRule)(options, packageJsonPath, { dependenciesToInstall, devDependenciesToInstall }),
50
+ (0, cms_adapter_1.updateCmsAdapter)(options),
51
+ (0, schematics_2.registerPackageCollectionSchematics)(packageJson),
52
+ (0, schematics_2.setupSchematicsParamsForProject)({ '@o3r/core:component*': { useLocalization: true } }, options.projectName),
53
+ (0, devtools_registration_1.registerDevtools)(options)
54
+ ]);
55
+ }
56
+ /**
57
+ * Add Otter localization (Transloco) to an Angular Project
58
+ * @param options for the dependencies installations
59
+ */
60
+ const ngAdd = (options) => (0, schematics_2.createOtterSchematic)(ngAddFn)(options);
61
+ exports.ngAdd = ngAdd;
62
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAAA,8BAA8B;AAC9B,kCAAkC;AAClC,2DAIoC;AACpC,gDAMyB;AAIzB,gDAEwB;AACxB,4DAG8B;AAC9B,2EAEyC;AAKzC;;GAEG;AACH,MAAM,qBAAqB,GAAG;IAC5B,cAAc;IACd,iBAAiB;IACjB,eAAe;IACf,oBAAoB;IACpB,kCAAkC;IAClC,gBAAgB;IAChB,aAAa;IACb,MAAM;CACP,CAAC;AAEF;;GAEG;AACH,MAAM,wBAAwB,GAAG;IAC/B,sBAAsB;IACtB,UAAU;IACV,QAAQ;CACT,CAAC;AAEF,oCAAoC;AACpC,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,cAAc,CAAC,CAAC;AAC5E,2BAA2B;AAC3B,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAgB,CAAC;AAEtG;;;GAGG;AACH,SAAS,OAAO,CAAC,OAA8B;IAC7C,OAAO,IAAA,kBAAK,EAAC;QACX,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE;YACb,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAC;YAC/E,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,kHAAkH,CAAC,CAAC;QAC1I,CAAC;QACD,IAAA,sCAAkB,EAAC,OAAO,EAAE,SAAS,CAAC;QACtC,IAAA,8BAAU,EAAC,OAAO,CAAC;QACnB,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,IAAA,iBAAI,GAAE,CAAC,CAAC,CAAC,IAAA,2BAAc,GAAE;QAC9C,IAAA,kCAAqB,EAAC,OAAO,EAAE,eAAe,EAAE,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,CAAC;QACpG,IAAA,8BAAgB,EAAC,OAAO,CAAC;QACzB,IAAA,gDAAmC,EAAC,WAAW,CAAC;QAChD,IAAA,4CAA+B,EAAC,EAAE,sBAAsB,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,WAAW,CAAC;QAC3G,IAAA,wCAAgB,EAAC,OAAO,CAAC;KAC1B,CAAC,CAAC;AACL,CAAC;AAED;;;GAGG;AACI,MAAM,KAAK,GAAG,CAAC,OAA8B,EAAE,EAAE,CAAC,IAAA,iCAAoB,EAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC;AAAnF,QAAA,KAAK,SAA8E"}
@@ -0,0 +1,11 @@
1
+ import type { NgAddOptions, SchematicOptionObject } from '@o3r/schematics';
2
+ /**
3
+ * Schema for ng-add schematic
4
+ */
5
+ export interface NgAddSchematicsSchema extends NgAddOptions, SchematicOptionObject {
6
+ /** Skip the linter process which includes the run of EsLint and EditorConfig rules */
7
+ skipLinter: boolean;
8
+ /** Enable message format support (ICU messages) - adds provideTranslocoMessageformat() */
9
+ enableMessageFormat?: boolean;
10
+ }
11
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,qBAAqB,EACtB,MAAM,iBAAiB,CAAC;AAEzB;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,YAAY,EAAE,qBAAqB;IAChF,sFAAsF;IACtF,UAAU,EAAE,OAAO,CAAC;IAEpB,0FAA0F;IAC1F,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../schematics/ng-add/schema.ts"],"names":[],"mappings":""}
@@ -0,0 +1,38 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema",
3
+ "$id": "ngAddSchematicsSchema",
4
+ "title": "Add Otter Localization (Transloco)",
5
+ "description": "ngAdd Otter Localization (Transloco)",
6
+ "properties": {
7
+ "projectName": {
8
+ "type": "string",
9
+ "description": "Project name",
10
+ "$default": {
11
+ "$source": "projectName"
12
+ },
13
+ "alias": "project"
14
+ },
15
+ "skipLinter": {
16
+ "type": "boolean",
17
+ "description": "Skip the linter process which includes EsLint and EditorConfig rules applying",
18
+ "default": false
19
+ },
20
+ "skipInstall": {
21
+ "type": "boolean",
22
+ "description": "Skip the install process",
23
+ "default": true
24
+ },
25
+ "exactO3rVersion": {
26
+ "type": "boolean",
27
+ "description": "Use a pinned version for otter packages"
28
+ },
29
+ "enableMessageFormat": {
30
+ "type": "boolean",
31
+ "description": "Enable message format support (ICU messages) - adds provideTranslocoMessageformat()",
32
+ "default": true
33
+ }
34
+ },
35
+ "additionalProperties": true,
36
+ "required": [
37
+ ]
38
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,40 @@
1
+ import { RulesEngineAction, RulesEngineActionHandler } from '@o3r/core';
2
+ import * as i0 from '@angular/core';
3
+ import * as i1 from '@o3r/transloco';
4
+
5
+ /** Action type to update localization via the rules engine */
6
+ declare const RULES_ENGINE_LOCALIZATION_UPDATE_ACTION_TYPE = "UPDATE_LOCALIZATION";
7
+ /**
8
+ * Content of action that updates localization
9
+ */
10
+ interface ActionUpdateLocalizationBlock extends RulesEngineAction {
11
+ /** Type of the action */
12
+ actionType: typeof RULES_ENGINE_LOCALIZATION_UPDATE_ACTION_TYPE;
13
+ /** Localization key to override */
14
+ key: string;
15
+ /** New value for the localization key */
16
+ value: string;
17
+ }
18
+
19
+ /**
20
+ * Service to handle async Localization actions
21
+ */
22
+ declare class LocalizationRulesEngineActionHandler implements RulesEngineActionHandler<ActionUpdateLocalizationBlock> {
23
+ private readonly store;
24
+ /** @inheritdoc */
25
+ readonly supportingActions: readonly ["UPDATE_LOCALIZATION"];
26
+ /** @inheritdoc */
27
+ executeActions(actions: ActionUpdateLocalizationBlock[]): void | Promise<void>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationRulesEngineActionHandler, never>;
29
+ static ɵprov: i0.ɵɵInjectableDeclaration<LocalizationRulesEngineActionHandler>;
30
+ }
31
+
32
+ declare class LocalizationRulesEngineActionModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalizationRulesEngineActionModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LocalizationRulesEngineActionModule, never, [typeof i1.LocalizationOverrideStoreModule], never>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<LocalizationRulesEngineActionModule>;
36
+ }
37
+
38
+ export { LocalizationRulesEngineActionHandler, LocalizationRulesEngineActionModule, RULES_ENGINE_LOCALIZATION_UPDATE_ACTION_TYPE };
39
+ export type { ActionUpdateLocalizationBlock };
40
+ //# sourceMappingURL=o3r-transloco-rules-engine.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"o3r-transloco-rules-engine.d.ts","sources":["../../src/rules-engine/localization-interfaces.ts","../../src/rules-engine/localization-rules-engine-action-handler.ts","../../src/rules-engine/localization-rules-engine-module.ts"],"mappings":";;;;AAIA;AACA,cAAa,4CAA4C;AAEzD;;AAEG;AACG,UAAW,6BAA8B,SAAQ,iBAAiB;;uBAEnD,4CAA4C;;;;;AAKhE;;ACED;;AAEG;AACH,cACa,oCAAqC,YAAW,wBAAwB,CAAC,6BAA6B;AACjH;;AAGA;;4BAG+B,6BAA6B,YAAY,OAAO;yCAPpE,oCAAoC;6CAApC,oCAAoC;AAehD;;AC5BD,cAQa,mCAAmC;yCAAnC,mCAAmC;0CAAnC,mCAAmC,iBAAA,EAAA,CAAA,+BAAA;0CAAnC,mCAAmC;AAAG;;;;","names":[]}