@o3r/configuration 11.0.0-prerelease.9 → 11.1.0-prerelease.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/README.md +8 -77
- package/esm2022/devkit/configuration-devtools.console.service.mjs +4 -4
- package/esm2022/devkit/configuration-devtools.message.service.mjs +4 -4
- package/esm2022/devkit/configuration-devtools.module.mjs +5 -5
- package/esm2022/devkit/configuration-devtools.service.mjs +4 -4
- package/esm2022/rules-engine/configuration.handler-action.mjs +4 -4
- package/esm2022/rules-engine/configuration.rules-engine.module.mjs +5 -5
- package/esm2022/services/configuration/configuration.base.module.mjs +5 -5
- package/esm2022/services/configuration/configuration.base.service.mjs +4 -4
- package/esm2022/stores/config-override/config-override.module.mjs +5 -5
- package/esm2022/stores/configuration/configuration.module.mjs +5 -5
- package/esm2022/tools/configuration.signal.mjs +7 -10
- package/fesm2022/o3r-configuration-rules-engine.mjs +7 -7
- package/fesm2022/o3r-configuration-rules-engine.mjs.map +1 -1
- package/fesm2022/o3r-configuration.mjs +33 -38
- package/fesm2022/o3r-configuration.mjs.map +1 -1
- package/package.json +16 -12
- package/schematics/configuration-to-component/index.d.ts.map +1 -1
- package/schematics/configuration-to-component/index.js +1 -4
- package/schematics/use-config-signal/index.d.ts.map +1 -1
- package/schematics/use-config-signal/index.js +1 -4
- package/stores/config-override/config-override.actions.d.ts +1 -1
- package/stores/config-override/config-override.actions.d.ts.map +1 -1
- package/stores/config-override/config-override.module.d.ts +2 -2
- package/stores/config-override/config-override.module.d.ts.map +1 -1
- package/stores/config-override/config-override.reducer.d.ts +1 -1
- package/stores/config-override/config-override.reducer.d.ts.map +1 -1
- package/stores/configuration/configuration.actions.d.ts +6 -6
- package/stores/configuration/configuration.actions.d.ts.map +1 -1
- package/stores/configuration/configuration.module.d.ts +2 -2
- package/stores/configuration/configuration.module.d.ts.map +1 -1
- package/stores/configuration/configuration.reducer.d.ts +1 -1
- package/stores/configuration/configuration.reducer.d.ts.map +1 -1
- package/tools/configuration.signal.d.ts +11 -3
- package/tools/configuration.signal.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.module.d.ts","sourceRoot":"","sources":["../../../src/stores/configuration/configuration.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAe,MAAM,aAAa,CAAC;AAEjE,OAAO,EAA4B,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;;;AAErF,yCAAyC;AACzC,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"configuration.module.d.ts","sourceRoot":"","sources":["../../../src/stores/configuration/configuration.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,aAAa,EAAe,MAAM,aAAa,CAAC;AAEjE,OAAO,EAA4B,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;;;AAErF,yCAAyC;AACzC,eAAO,MAAM,2BAA2B,mEAAiG,CAAC;AAE1I,sDAAsD;AACtD,wBAAgB,8BAA8B,sDAE7C;AAED,qBAQa,wBAAwB;WACrB,OAAO,CAAC,CAAC,SAAS,kBAAkB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,mBAAmB,CAAC,wBAAwB,CAAC;yCADvI,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CASpC"}
|
|
@@ -16,5 +16,5 @@ export declare const configurationReducerFeatures: ReducerTypes<ConfigurationSta
|
|
|
16
16
|
/**
|
|
17
17
|
* Configuration Store reducer
|
|
18
18
|
*/
|
|
19
|
-
export declare const configurationReducer: import("@ngrx/store").ActionReducer<ConfigurationState, import("@ngrx/store").Action
|
|
19
|
+
export declare const configurationReducer: import("@ngrx/store").ActionReducer<ConfigurationState, import("@ngrx/store").Action<string>>;
|
|
20
20
|
//# sourceMappingURL=configuration.reducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.reducer.d.ts","sourceRoot":"","sources":["../../../src/stores/configuration/configuration.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,aAAa,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAqB,YAAY,EAAC,MAAM,aAAa,CAAC;AAG3E,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,kBAAkB,CAEjE,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,kBAA6D,CAAC;AAEtG;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,YAAY,CAAC,kBAAkB,EAAE,aAAa,EAAE,CAAC,EAe3F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"configuration.reducer.d.ts","sourceRoot":"","sources":["../../../src/stores/configuration/configuration.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,aAAa,EAAC,MAAM,cAAc,CAAC;AAChE,OAAO,EAAC,aAAa,EAAqB,YAAY,EAAC,MAAM,aAAa,CAAC;AAG3E,OAAO,EAAC,kBAAkB,EAAE,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAE7E;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAAa,CAAC,kBAAkB,CAEjE,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,kBAA6D,CAAC;AAEtG;;GAEG;AACH,eAAO,MAAM,4BAA4B,EAAE,YAAY,CAAC,kBAAkB,EAAE,aAAa,EAAE,CAAC,EAe3F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,+FAGhC,CAAC"}
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type InputSignal, type Signal } from '@angular/core';
|
|
2
2
|
import type { Configuration } from '@o3r/core';
|
|
3
|
-
import
|
|
3
|
+
import { ConfigurationBaseService } from '../services';
|
|
4
4
|
/** Configuration signal */
|
|
5
5
|
export type ConfigurationSignal<T> = Signal<T> & {
|
|
6
6
|
configId: string;
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* Get a configuration signal
|
|
10
|
+
* @param configInput
|
|
11
|
+
* @param configId
|
|
12
|
+
* @param defaultConfig
|
|
13
|
+
*/
|
|
14
|
+
export declare function configSignal<T extends Configuration>(configInput: InputSignal<Partial<T> | undefined>, configId: string, defaultConfig: T): ConfigurationSignal<T>;
|
|
8
15
|
/**
|
|
9
16
|
* Get a configuration signal
|
|
10
17
|
* @param configInput
|
|
11
18
|
* @param configId
|
|
12
19
|
* @param defaultConfig
|
|
13
20
|
* @param configurationService
|
|
21
|
+
* @deprecated please do not provide `configurationService`, will be removed in v12
|
|
14
22
|
*/
|
|
15
|
-
export declare
|
|
23
|
+
export declare function configSignal<T extends Configuration>(configInput: InputSignal<Partial<T> | undefined>, configId: string, defaultConfig: T, configurationService?: ConfigurationBaseService | null): ConfigurationSignal<T>;
|
|
16
24
|
//# sourceMappingURL=configuration.signal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.signal.d.ts","sourceRoot":"","sources":["../../src/tools/configuration.signal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"configuration.signal.d.ts","sourceRoot":"","sources":["../../src/tools/configuration.signal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAEtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAG/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAEvD,2BAA2B;AAC3B,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,EAClD,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,EAChD,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,CAAC,GACf,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAC1B;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,aAAa,EAClD,WAAW,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,EAChD,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,CAAC,EAEhB,oBAAoB,CAAC,EAAE,wBAAwB,GAAG,IAAI,GACrD,mBAAmB,CAAC,CAAC,CAAC,CAAC"}
|