@o3r/core 14.1.0-prerelease.4 → 14.1.0-prerelease.41
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/package.json +15 -15
- package/core/application/build-properties.d.ts +0 -50
- package/core/application/build-properties.d.ts.map +0 -1
- package/core/application/build-properties.js +0 -17
- package/core/application/build-properties.js.map +0 -1
- package/core/application/dgp-interfaces.d.ts +0 -35
- package/core/application/dgp-interfaces.d.ts.map +0 -1
- package/core/application/dgp-interfaces.js +0 -2
- package/core/application/dgp-interfaces.js.map +0 -1
- package/core/application/index.d.ts +0 -4
- package/core/application/index.d.ts.map +0 -1
- package/core/application/index.js +0 -4
- package/core/application/index.js.map +0 -1
- package/core/application/runtime.d.ts +0 -14
- package/core/application/runtime.d.ts.map +0 -1
- package/core/application/runtime.js +0 -2
- package/core/application/runtime.js.map +0 -1
- package/core/common/index.d.ts +0 -3
- package/core/common/index.d.ts.map +0 -1
- package/core/common/index.js +0 -3
- package/core/common/index.js.map +0 -1
- package/core/common/interface-utils.d.ts +0 -7
- package/core/common/interface-utils.d.ts.map +0 -1
- package/core/common/interface-utils.js +0 -2
- package/core/common/interface-utils.js.map +0 -1
- package/core/common/label-value.d.ts +0 -8
- package/core/common/label-value.d.ts.map +0 -1
- package/core/common/label-value.js +0 -2
- package/core/common/label-value.js.map +0 -1
- package/core/devkit/devtools-interface.d.ts +0 -34
- package/core/devkit/devtools-interface.d.ts.map +0 -1
- package/core/devkit/devtools-interface.js +0 -2
- package/core/devkit/devtools-interface.js.map +0 -1
- package/core/devkit/index.d.ts +0 -2
- package/core/devkit/index.d.ts.map +0 -1
- package/core/devkit/index.js +0 -2
- package/core/devkit/index.js.map +0 -1
- package/core/index.d.ts +0 -7
- package/core/index.d.ts.map +0 -1
- package/core/index.js +0 -7
- package/core/index.js.map +0 -1
- package/core/interfaces/configuration.d.ts +0 -90
- package/core/interfaces/configuration.d.ts.map +0 -1
- package/core/interfaces/configuration.js +0 -2
- package/core/interfaces/configuration.js.map +0 -1
- package/core/interfaces/context.d.ts +0 -57
- package/core/interfaces/context.d.ts.map +0 -1
- package/core/interfaces/context.js +0 -2
- package/core/interfaces/context.js.map +0 -1
- package/core/interfaces/index.d.ts +0 -5
- package/core/interfaces/index.d.ts.map +0 -1
- package/core/interfaces/index.js +0 -5
- package/core/interfaces/index.js.map +0 -1
- package/core/interfaces/item-identifier.d.ts +0 -14
- package/core/interfaces/item-identifier.d.ts.map +0 -1
- package/core/interfaces/item-identifier.js +0 -2
- package/core/interfaces/item-identifier.js.map +0 -1
- package/core/interfaces/translation.d.ts +0 -7
- package/core/interfaces/translation.d.ts.map +0 -1
- package/core/interfaces/translation.js +0 -2
- package/core/interfaces/translation.js.map +0 -1
- package/core/metadata/component-decorator.d.ts +0 -32
- package/core/metadata/component-decorator.d.ts.map +0 -1
- package/core/metadata/component-decorator.js +0 -18
- package/core/metadata/component-decorator.js.map +0 -1
- package/core/metadata/component-identifier.d.ts +0 -7
- package/core/metadata/component-identifier.d.ts.map +0 -1
- package/core/metadata/component-identifier.js +0 -9
- package/core/metadata/component-identifier.js.map +0 -1
- package/core/metadata/index.d.ts +0 -4
- package/core/metadata/index.d.ts.map +0 -1
- package/core/metadata/index.js +0 -4
- package/core/metadata/index.js.map +0 -1
- package/core/metadata/metadata-interface.d.ts +0 -10
- package/core/metadata/metadata-interface.d.ts.map +0 -1
- package/core/metadata/metadata-interface.js +0 -2
- package/core/metadata/metadata-interface.js.map +0 -1
- package/core/rules-engine/index.d.ts +0 -2
- package/core/rules-engine/index.d.ts.map +0 -1
- package/core/rules-engine/index.js +0 -2
- package/core/rules-engine/index.js.map +0 -1
- package/core/rules-engine/rules-engine-interfaces.d.ts +0 -24
- package/core/rules-engine/rules-engine-interfaces.d.ts.map +0 -1
- package/core/rules-engine/rules-engine-interfaces.js +0 -2
- package/core/rules-engine/rules-engine-interfaces.js.map +0 -1
- package/index.d.ts +0 -954
- package/index.d.ts.map +0 -1
- package/log/index.d.ts +0 -2
- package/log/index.d.ts.map +0 -1
- package/log/index.js +0 -2
- package/log/index.js.map +0 -1
- package/log/logger.d.ts +0 -36
- package/log/logger.d.ts.map +0 -1
- package/log/logger.js +0 -2
- package/log/logger.js.map +0 -1
- package/messages/common-message-interface.d.ts +0 -17
- package/messages/common-message-interface.d.ts.map +0 -1
- package/messages/common-message-interface.js +0 -2
- package/messages/common-message-interface.js.map +0 -1
- package/messages/index.d.ts +0 -4
- package/messages/index.d.ts.map +0 -1
- package/messages/index.js +0 -4
- package/messages/index.js.map +0 -1
- package/messages/message-helpers.d.ts +0 -24
- package/messages/message-helpers.d.ts.map +0 -1
- package/messages/message-helpers.js +0 -54
- package/messages/message-helpers.js.map +0 -1
- package/messages/message-interfaces.d.ts +0 -26
- package/messages/message-interfaces.d.ts.map +0 -1
- package/messages/message-interfaces.js +0 -5
- package/messages/message-interfaces.js.map +0 -1
- package/public_api.d.ts +0 -6
- package/public_api.d.ts.map +0 -1
- package/public_api.js +0 -6
- package/public_api.js.map +0 -1
- package/schematics/rule-factories/component/design-token.d.ts +0 -4
- package/schematics/rule-factories/component/design-token.d.ts.map +0 -1
- package/schematics/rule-factories/component/design-token.js +0 -10
- package/schematics/rule-factories/component/design-token.js.map +0 -1
- package/schematics/rule-factories/component/theming.d.ts +0 -4
- package/schematics/rule-factories/component/theming.d.ts.map +0 -1
- package/schematics/rule-factories/component/theming.js +0 -7
- package/schematics/rule-factories/component/theming.js.map +0 -1
- package/store/async/async-entity.adapter.d.ts +0 -62
- package/store/async/async-entity.adapter.d.ts.map +0 -1
- package/store/async/async-entity.adapter.js +0 -49
- package/store/async/async-entity.adapter.js.map +0 -1
- package/store/async/async.adapter.d.ts +0 -91
- package/store/async/async.adapter.d.ts.map +0 -1
- package/store/async/async.adapter.js +0 -94
- package/store/async/async.adapter.js.map +0 -1
- package/store/async/async.helpers.d.ts +0 -17
- package/store/async/async.helpers.d.ts.map +0 -1
- package/store/async/async.helpers.js +0 -25
- package/store/async/async.helpers.js.map +0 -1
- package/store/async/async.interfaces.d.ts +0 -91
- package/store/async/async.interfaces.d.ts.map +0 -1
- package/store/async/async.interfaces.js +0 -2
- package/store/async/async.interfaces.js.map +0 -1
- package/store/async/async.operators.d.ts +0 -22
- package/store/async/async.operators.d.ts.map +0 -1
- package/store/async/async.operators.js +0 -75
- package/store/async/async.operators.js.map +0 -1
- package/store/async/async.props.d.ts +0 -7
- package/store/async/async.props.d.ts.map +0 -1
- package/store/async/async.props.js +0 -10
- package/store/async/async.props.js.map +0 -1
- package/store/async/async.serializer.d.ts +0 -29
- package/store/async/async.serializer.d.ts.map +0 -1
- package/store/async/async.serializer.js +0 -34
- package/store/async/async.serializer.js.map +0 -1
- package/store/async/index.d.ts +0 -8
- package/store/async/index.d.ts.map +0 -1
- package/store/async/index.js +0 -8
- package/store/async/index.js.map +0 -1
- package/store/index.d.ts +0 -3
- package/store/index.d.ts.map +0 -1
- package/store/index.js +0 -3
- package/store/index.js.map +0 -1
- package/store/types.d.ts +0 -95
- package/store/types.d.ts.map +0 -1
- package/store/types.js +0 -11
- package/store/types.js.map +0 -1
- package/utils/debug/debug-helper.d.ts +0 -14
- package/utils/debug/debug-helper.d.ts.map +0 -1
- package/utils/debug/debug-helper.js +0 -19
- package/utils/debug/debug-helper.js.map +0 -1
- package/utils/deep-fill/deep-fill.d.ts +0 -37
- package/utils/deep-fill/deep-fill.d.ts.map +0 -1
- package/utils/deep-fill/deep-fill.js +0 -71
- package/utils/deep-fill/deep-fill.js.map +0 -1
- package/utils/index.d.ts +0 -4
- package/utils/index.d.ts.map +0 -1
- package/utils/index.js +0 -4
- package/utils/index.js.map +0 -1
- package/utils/rendering/rendering-helpers.d.ts +0 -10
- package/utils/rendering/rendering-helpers.d.ts.map +0 -1
- package/utils/rendering/rendering-helpers.js +0 -31
- package/utils/rendering/rendering-helpers.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"translation.js","sourceRoot":"","sources":["../../../src/core/interfaces/translation.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Translation } from '../interfaces';
|
|
2
|
-
/** Type of component */
|
|
3
|
-
export type ComponentType = 'Block' | 'Page' | 'ExposedComponent' | 'Component';
|
|
4
|
-
/**
|
|
5
|
-
* Information about an Otter component to provide
|
|
6
|
-
*/
|
|
7
|
-
export interface OtterComponentInfoToProvide {
|
|
8
|
-
/** Type of component */
|
|
9
|
-
componentType: ComponentType;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Information about an Otter component
|
|
13
|
-
*/
|
|
14
|
-
export interface OtterComponentInfo extends OtterComponentInfoToProvide {
|
|
15
|
-
/** Configuration ID */
|
|
16
|
-
configId?: string;
|
|
17
|
-
/** Translation keys */
|
|
18
|
-
translations?: Translation;
|
|
19
|
-
/** Component Name */
|
|
20
|
-
componentName: string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Private field where Otter component information are stored
|
|
24
|
-
*/
|
|
25
|
-
export declare const otterComponentInfoPropertyName = "__otter-info__";
|
|
26
|
-
/**
|
|
27
|
-
* Decorates an Angular component to provide Otter information
|
|
28
|
-
* @param info Information to define the Otter component
|
|
29
|
-
* @returns the component with the information
|
|
30
|
-
*/
|
|
31
|
-
export declare function O3rComponent(info: OtterComponentInfoToProvide): <T extends new (...args: any[]) => object>(constructor: T) => T;
|
|
32
|
-
//# sourceMappingURL=component-decorator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-decorator.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/component-decorator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACZ,MAAM,eAAe,CAAC;AAEvB,wBAAwB;AACxB,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,kBAAkB,GAAG,WAAW,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,wBAAwB;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,2BAA2B;IACrE,uBAAuB;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,qBAAqB;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAE/D;;;;GAIG;AAEH,wBAAgB,YAAY,CAAC,IAAI,EAAE,2BAA2B,IACpD,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,MAAM,EAAE,aAAa,CAAC,OAKjE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Private field where Otter component information are stored
|
|
3
|
-
*/
|
|
4
|
-
export const otterComponentInfoPropertyName = '__otter-info__';
|
|
5
|
-
/**
|
|
6
|
-
* Decorates an Angular component to provide Otter information
|
|
7
|
-
* @param info Information to define the Otter component
|
|
8
|
-
* @returns the component with the information
|
|
9
|
-
*/
|
|
10
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention -- decorator should be PascalCase
|
|
11
|
-
export function O3rComponent(info) {
|
|
12
|
-
return (constructor) => {
|
|
13
|
-
const componentName = constructor.name;
|
|
14
|
-
constructor.prototype[otterComponentInfoPropertyName] = { ...info, componentName };
|
|
15
|
-
return constructor;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=component-decorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-decorator.js","sourceRoot":"","sources":["../../../src/core/metadata/component-decorator.ts"],"names":[],"mappings":"AA2BA;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,gBAAgB,CAAC;AAE/D;;;;GAIG;AACH,kGAAkG;AAClG,MAAM,UAAU,YAAY,CAAC,IAAiC;IAC5D,OAAO,CAA2C,WAAc,EAAE,EAAE;QAClE,MAAM,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC;QACvC,WAAW,CAAC,SAAS,CAAC,8BAA8B,CAAC,GAAG,EAAE,GAAG,IAAI,EAAE,aAAa,EAAE,CAAC;QACnF,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compute the name of the component with the library's name to generate unique component identifier used in metadata and different modules
|
|
3
|
-
* @param componentName Name of the component to get the configuration
|
|
4
|
-
* @param libraryName Name of the library the component is coming from
|
|
5
|
-
*/
|
|
6
|
-
export declare function computeItemIdentifier<C extends string, L extends string>(componentName: C, libraryName?: L): `${L extends string ? `${L}#` : ''}${C}`;
|
|
7
|
-
//# sourceMappingURL=component-identifier.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-identifier.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/component-identifier.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,EAAE,aAAa,EAAE,CAAC,EAAE,WAAW,CAAC,EAAE,CAAC,GAAG,GAAG,CAAC,SAAS,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,EAAE,GAAG,CAAC,EAAE,CAErJ"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Compute the name of the component with the library's name to generate unique component identifier used in metadata and different modules
|
|
3
|
-
* @param componentName Name of the component to get the configuration
|
|
4
|
-
* @param libraryName Name of the library the component is coming from
|
|
5
|
-
*/
|
|
6
|
-
export function computeItemIdentifier(componentName, libraryName) {
|
|
7
|
-
return (libraryName ? libraryName + '#' : '') + componentName;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=component-identifier.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component-identifier.js","sourceRoot":"","sources":["../../../src/core/metadata/component-identifier.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAqC,aAAgB,EAAE,WAAe;IACzG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,aAAyD,CAAC;AAC5G,CAAC"}
|
package/core/metadata/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
|
package/core/metadata/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/metadata/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-interface.d.ts","sourceRoot":"","sources":["../../../src/core/metadata/metadata-interface.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,6BAA6B;IAC7B,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-interface.js","sourceRoot":"","sources":["../../../src/core/metadata/metadata-interface.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/rules-engine/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/rules-engine/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Minimum action field
|
|
3
|
-
*/
|
|
4
|
-
export interface RulesEngineAction<A extends string = string, V = any> {
|
|
5
|
-
/** Type of the action */
|
|
6
|
-
actionType: A;
|
|
7
|
-
/** Generic value of the action */
|
|
8
|
-
value: V;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Action handler executed by the rules engine
|
|
12
|
-
*/
|
|
13
|
-
export interface RulesEngineActionHandler<T extends RulesEngineAction = RulesEngineAction> {
|
|
14
|
-
/**
|
|
15
|
-
* Execute the actions resulting of the rules engine
|
|
16
|
-
* @param actions List of actions executed by the rules engine
|
|
17
|
-
*/
|
|
18
|
-
executeActions(actions: T[]): void | Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Actions supported by the handler
|
|
21
|
-
*/
|
|
22
|
-
supportingActions: readonly T['actionType'][];
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=rules-engine-interfaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rules-engine-interfaces.d.ts","sourceRoot":"","sources":["../../../src/core/rules-engine/rules-engine-interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,CAAC,GAAG,GAAG;IACnE,yBAAyB;IACzB,UAAU,EAAE,CAAC,CAAC;IACd,kCAAkC;IAClC,KAAK,EAAE,CAAC,CAAC;CACV;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,CAAC,SAAS,iBAAiB,GAAG,iBAAiB;IACvF;;;OAGG;IACH,cAAc,CAAC,OAAO,EAAE,CAAC,EAAE,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;OAEG;IACH,iBAAiB,EAAE,SAAS,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC;CAC/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rules-engine-interfaces.js","sourceRoot":"","sources":["../../../src/core/rules-engine/rules-engine-interfaces.ts"],"names":[],"mappings":""}
|