@o3r/core 10.3.0-prerelease.6 → 10.3.0-prerelease.8
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/core/interfaces/configuration.d.ts +14 -0
- package/core/interfaces/configuration.d.ts.map +1 -1
- package/esm2022/core/interfaces/configuration.mjs +1 -1
- package/package.json +4 -4
- package/schematics/component/index.d.ts.map +1 -1
- package/schematics/component/index.js +4 -22
- package/schematics/rule-factories/component/analytics.d.ts.map +1 -1
- package/schematics/rule-factories/component/analytics.js +1 -0
- package/schematics/rule-factories/component/common.js +2 -2
- package/schematics/rule-factories/component/configuration.d.ts.map +1 -1
- package/schematics/rule-factories/component/configuration.js +1 -0
- package/schematics/rule-factories/component/context.js +1 -1
- package/schematics/rule-factories/component/design-token.d.ts.map +1 -1
- package/schematics/rule-factories/component/design-token.js +4 -1
- package/schematics/rule-factories/component/fixture.d.ts.map +1 -1
- package/schematics/rule-factories/component/fixture.js +1 -0
- package/schematics/rule-factories/component/localization.d.ts.map +1 -1
- package/schematics/rule-factories/component/localization.js +1 -0
- package/schematics/rule-factories/component/rules-engine.js +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { InputSignal, Signal } from '@angular/core';
|
|
1
2
|
import type { Observable } from 'rxjs';
|
|
2
3
|
/**
|
|
3
4
|
* Types available for configuration
|
|
@@ -38,6 +39,19 @@ export interface DynamicConfigurable<T extends Configuration> {
|
|
|
38
39
|
*/
|
|
39
40
|
config$: Observable<T>;
|
|
40
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* Dynamically Configurable item working with signal
|
|
44
|
+
*/
|
|
45
|
+
export interface DynamicConfigurableWithSignal<T extends Configuration> {
|
|
46
|
+
/**
|
|
47
|
+
* Configuration override
|
|
48
|
+
*/
|
|
49
|
+
config: InputSignal<Partial<T> | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* Configuration signal
|
|
52
|
+
*/
|
|
53
|
+
configSignal: Signal<T>;
|
|
54
|
+
}
|
|
41
55
|
/**
|
|
42
56
|
* Configurable item
|
|
43
57
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/core/interfaces/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,GAAG,CAAC,MAAM,GAAG,mBAAmB,CAAC,EAAE,CAAC;CAC1E;AAED,8CAA8C;AAC9C,MAAM,WAAW,YAAY,CAAC,CAAC,SAAS,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAErF,qBAAqB;IACrB,IAAI,EAAE,MAAM,CAAC;IAEb,kEAAkE;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC;CACX;AAED;;GAEG;
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../src/core/interfaces/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/D;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WA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AO,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC;CACtF;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,UAAU,CAAC,EAAE,8BAA8B,CAAC;CAC7C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb3JlL2ludGVyZmFjZXMvY29uZmlndXJhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBJbnB1dFNpZ25hbCwgU2lnbmFsIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgdHlwZSB7IE9ic2VydmFibGUgfSBmcm9tICdyeGpzJztcblxuLyoqXG4gKiBUeXBlcyBhdmFpbGFibGUgZm9yIGNvbmZpZ3VyYXRpb25cbiAqL1xuZXhwb3J0IHR5cGUgQ29uZmlndXJhdGlvblZhbHVlVHlwZSA9IHN0cmluZyB8IG51bWJlciB8IGJvb2xlYW47XG5cbi8qKlxuICogTmVzdGVkIGNvbmZpZ3VyYXRpb24gYWxsb3dpbmcgb25lIGxldmVsIG9ubHlcbiAqIE9iamVjdCBzaG91bGQgb25seSBjb250YWluIHByaW1pdGl2ZSB0eXBlc1xuICovXG5leHBvcnQgaW50ZXJmYWNlIE5lc3RlZENvbmZpZ3VyYXRpb24ge1xuICBba2V5OiBzdHJpbmddOiBDb25maWd1cmF0aW9uVmFsdWVUeXBlO1xufVxuXG4vKipcbiAqIEludGVyZmFj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XRpb24nIHwgJ0V4cG9zZWRDb21wb25lbnQnO1xuXG4vKipcbiAqIEludGVyZmFjZSB0byBkZWZpbmUgd2lkZ2V0IHBhcmFtZXRlciB0byBiZSB1c2VkIG9uIENNUyBzaWRlXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgQ29uZmlnUHJvcGVydHlXaWRnZXRQYXJhbWV0ZXJzIHtcbiAgW3BhcmFtZXRlck5hbWU6IHN0cmluZ106IHN0cmluZyB8IGJvb2xlYW4gfCBudW1iZXIgfCBzdHJpbmdbXSB8IGJvb2xlYW5bXSB8IG51bWJlcltdO1xufVxuXG4vKipcbiAqIEludGVyZmFjZSB0byBkZWZpbmUgdGhlIHdpZGdldCB0byBiZSB1c2VkIG9uIENNUyBzaWRlXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgQ29uZmlnUHJvcGVydHlXaWRnZXQge1xuICAvKiogVHlwZSBvZiB0aGUgQ01TIHdpZGdldCAqL1xuICB0eXBlOiBzdHJpbmc7XG4gIC8qKiBQYXJhbWV0ZXJzIHByb3ZpZGVkIHRvIHRoZSBDTVMgd2lkZ2V0ICovXG4gIHBhcmFtZXRlcnM/OiBDb25maWdQcm9wZXJ0eVdpZGdldFBhcmFtZXRlcnM7XG59XG4iXX0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/core",
|
|
3
|
-
"version": "10.3.0-prerelease.
|
|
3
|
+
"version": "10.3.0-prerelease.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@ngrx/store": "~17.1.0",
|
|
27
27
|
"@nrwl/devkit": "~18.2.0",
|
|
28
28
|
"@nx/angular": "~18.2.0",
|
|
29
|
-
"@o3r/telemetry": "^10.3.0-prerelease.
|
|
29
|
+
"@o3r/telemetry": "^10.3.0-prerelease.8",
|
|
30
30
|
"@schematics/angular": "~17.3.0",
|
|
31
31
|
"chokidar": "^3.5.2",
|
|
32
32
|
"globby": "^11.1.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@o3r/schematics": "^10.3.0-prerelease.
|
|
67
|
+
"@o3r/schematics": "^10.3.0-prerelease.8",
|
|
68
68
|
"tslib": "^2.6.2",
|
|
69
69
|
"uuid": "^9.0.0"
|
|
70
70
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@ngrx/router-store": "~17.1.0",
|
|
75
75
|
"@ngrx/effects": "~17.1.0",
|
|
76
76
|
"@ngrx/store-devtools": "~17.1.0",
|
|
77
|
-
"@o3r/store-sync": "^10.3.0-prerelease.
|
|
77
|
+
"@o3r/store-sync": "^10.3.0-prerelease.8",
|
|
78
78
|
"@types/jest": "~29.5.2",
|
|
79
79
|
"nx": "~18.2.0",
|
|
80
80
|
"@typescript-eslint/parser": "^7.2.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/component/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAsD,IAAI,EAAoD,MAAM,4BAA4B,CAAC;AAWxJ,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../schematics/component/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAsD,IAAI,EAAoD,MAAM,4BAA4B,CAAC;AAWxJ,OAAO,EAAE,mCAAmC,EAAE,MAAM,UAAU,CAAC;AAoH/D;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wDAA+D,CAAC"}
|
|
@@ -12,18 +12,11 @@ const path = require("node:path");
|
|
|
12
12
|
*/
|
|
13
13
|
function generateComponentContainer(options) {
|
|
14
14
|
return (0, schematics_1.schematic)('component-container', {
|
|
15
|
+
...options,
|
|
15
16
|
projectName: options.projectName || undefined,
|
|
16
17
|
componentName: options.componentName || undefined,
|
|
17
18
|
prefix: options.prefix || undefined,
|
|
18
|
-
|
|
19
|
-
description: options.description || '',
|
|
20
|
-
useComponentFixtures: options.useComponentFixtures,
|
|
21
|
-
useOtterConfig: options.useOtterConfig,
|
|
22
|
-
useRulesEngine: options.useRulesEngine,
|
|
23
|
-
path: options.path,
|
|
24
|
-
useContext: options.useContext,
|
|
25
|
-
skipLinter: options.skipLinter,
|
|
26
|
-
standalone: options.standalone
|
|
19
|
+
description: options.description || ''
|
|
27
20
|
});
|
|
28
21
|
}
|
|
29
22
|
/**
|
|
@@ -33,21 +26,10 @@ function generateComponentContainer(options) {
|
|
|
33
26
|
*/
|
|
34
27
|
function generateComponentPresenter(options) {
|
|
35
28
|
return (0, schematics_1.schematic)('component-presenter', {
|
|
29
|
+
...options,
|
|
36
30
|
projectName: options.projectName || undefined,
|
|
37
|
-
componentName: options.componentName,
|
|
38
31
|
prefix: options.prefix || undefined,
|
|
39
|
-
|
|
40
|
-
description: options.description || '',
|
|
41
|
-
useComponentFixtures: options.useComponentFixtures,
|
|
42
|
-
useOtterTheming: options.useOtterTheming,
|
|
43
|
-
useOtterConfig: options.useOtterConfig,
|
|
44
|
-
path: options.path,
|
|
45
|
-
useLocalization: options.useLocalization,
|
|
46
|
-
useContext: options.useContext,
|
|
47
|
-
activateDummy: options.activateDummy,
|
|
48
|
-
useOtterAnalytics: options.useOtterAnalytics,
|
|
49
|
-
skipLinter: options.skipLinter,
|
|
50
|
-
standalone: options.standalone
|
|
32
|
+
description: options.description || ''
|
|
51
33
|
});
|
|
52
34
|
}
|
|
53
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/analytics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,oBAAoB,kBAChB,MAAM,WACZ,mCAAmC,KAC3C,
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/analytics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,oBAAoB,kBAChB,MAAM,WACZ,mCAAmC,KAC3C,IAaF,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddAnalyticsRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddAnalyticsRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useOtterAnalytics', options.useOtterAnalytics, 'Generate component with Otter analytics?', ['@o3r/core:component', '@o3r/core:component-presenter'], '@o3r/analytics', 'analytics-to-component', {
|
|
6
|
+
...options,
|
|
6
7
|
skipLinter: options.skipLinter,
|
|
7
8
|
activateDummy: options.activateDummy
|
|
8
9
|
});
|
|
@@ -61,8 +61,8 @@ const askQuestionsToGetRulesOrThrowIfPackageNotAvailable = (path, optionName, de
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
const options = {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
...schematicOptions,
|
|
65
|
+
path
|
|
66
66
|
};
|
|
67
67
|
return applyRule ? (0, schematics_1.chain)([
|
|
68
68
|
packageName !== '@o3r/core'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,wBAAwB,kBACpB,MAAM,WACZ,KAAK,mCAAmC,EAAE,gBAAgB,GAAG,YAAY,GAAG,aAAa,CAAC,GAAG,QAAQ,KAAK,mCAAmC,EAAE,oBAAoB,CAAC,CAAC,KAC7K,
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,wBAAwB,kBACpB,MAAM,WACZ,KAAK,mCAAmC,EAAE,gBAAgB,GAAG,YAAY,GAAG,aAAa,CAAC,GAAG,QAAQ,KAAK,mCAAmC,EAAE,oBAAoB,CAAC,CAAC,KAC7K,IAcF,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddConfigurationRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddConfigurationRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useOtterConfig', options.useOtterConfig, 'Generate component with Otter configuration?', ['@o3r/core:component', '@o3r/core:component-presenter', '@o3r/core:component-container'], '@o3r/configuration', 'configuration-to-component', {
|
|
6
|
+
...options,
|
|
6
7
|
skipLinter: options.skipLinter,
|
|
7
8
|
projectName: options.projectName,
|
|
8
9
|
exposeComponent: !!options.componentStructure && options.componentStructure !== 'full'
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddContextRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddContextRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useContext', options.useContext, 'Generate component with Otter context?', ['@o3r/core:component', '@o3r/core:component-container', '@o3r/core:component-presenter'], '@o3r/core', 'context-to-component', {
|
|
6
|
-
|
|
6
|
+
...options,
|
|
7
7
|
skipLinter: options.skipLinter
|
|
8
8
|
});
|
|
9
9
|
exports.getAddContextRules = getAddContextRules;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-token.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/design-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,oBAChB,MAAM,aACZ,MAAM,WACR,KAAK,mCAAmC,EAAE,qBAAqB,CAAC,KACxE,
|
|
1
|
+
{"version":3,"file":"design-token.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/design-token.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,sBAAsB,oBAChB,MAAM,aACZ,MAAM,WACR,KAAK,mCAAmC,EAAE,qBAAqB,CAAC,KACxE,IAYF,CAAC"}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getAddDesignTokenRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
|
-
const getAddDesignTokenRules = (designTokenPath, stylePath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(designTokenPath, 'useOtterDesignToken', options.useOtterDesignToken, 'Generate component with Design Token specification?', ['@o3r/core:component', '@o3r/core:component-presenter'], '@o3r/design', 'design-token-to-component', {
|
|
5
|
+
const getAddDesignTokenRules = (designTokenPath, stylePath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(designTokenPath, 'useOtterDesignToken', options.useOtterDesignToken, 'Generate component with Design Token specification?', ['@o3r/core:component', '@o3r/core:component-presenter'], '@o3r/design', 'design-token-to-component', {
|
|
6
|
+
...options,
|
|
7
|
+
stylePath
|
|
8
|
+
});
|
|
6
9
|
exports.getAddDesignTokenRules = getAddDesignTokenRules;
|
|
7
10
|
//# sourceMappingURL=design-token.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,KAAK,mCAAmC,EAAE,sBAAsB,GAAG,YAAY,CAAC,uBAExF,
|
|
1
|
+
{"version":3,"file":"fixture.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,kBAAkB,kBACd,MAAM,WACZ,KAAK,mCAAmC,EAAE,sBAAsB,GAAG,YAAY,CAAC,uBAExF,IAaF,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddFixtureRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddFixtureRules = (componentPath, options, isPage = false) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useComponentFixtures', options.useComponentFixtures, 'Generate component with Otter fixture?', ['@o3r/core:component', '@o3r/core:component-presenter', '@o3r/core:component-container'], '@o3r/testing', 'fixture-to-component', {
|
|
6
|
+
...options,
|
|
6
7
|
skipLinter: options.skipLinter,
|
|
7
8
|
page: isPage
|
|
8
9
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/localization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,uBAAuB,kBACnB,MAAM,WACZ,KAAK,mCAAmC,EAAE,iBAAiB,GAAG,YAAY,GAAG,eAAe,CAAC,KACrG,
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../../../schematics/rule-factories/component/localization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,wBAAwB,CAAC;AAGlF,eAAO,MAAM,uBAAuB,kBACnB,MAAM,WACZ,KAAK,mCAAmC,EAAE,iBAAiB,GAAG,YAAY,GAAG,eAAe,CAAC,KACrG,IAaF,CAAC"}
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddLocalizationRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddLocalizationRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useLocalization', options.useLocalization, 'Generate component with Otter localization?', ['@o3r/core:component', '@o3r/core:component-presenter', '@o3r/core:component-container'], '@o3r/localization', 'localization-to-component', {
|
|
6
|
+
...options,
|
|
6
7
|
skipLinter: options.skipLinter,
|
|
7
8
|
activateDummy: options.activateDummy
|
|
8
9
|
});
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getAddRulesEngineRules = void 0;
|
|
4
4
|
const common_1 = require("./common");
|
|
5
5
|
const getAddRulesEngineRules = (componentPath, options) => (0, common_1.askQuestionsToGetRulesOrThrowIfPackageNotAvailable)(componentPath, 'useRulesEngine', options.useRulesEngine, 'Generate component with rules-engine?', ['@o3r/core:component', '@o3r/core:component-container'], '@o3r/rules-engine', 'rules-engine-to-component', {
|
|
6
|
-
|
|
6
|
+
...options,
|
|
7
7
|
skipLinter: options.skipLinter,
|
|
8
8
|
projectName: options.projectName
|
|
9
9
|
});
|