@creatio-devkit/common 0.1000.1 → 0.1000.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.
- package/AI_GUIDES_INDEX.md +9 -4
- package/CHANGELOG.md +3 -0
- package/DESIGN_TOKENS_AI_GUIDE.md +366 -0
- package/REMOTE_COMPONENT_RUNTIME_AI_GUIDE.md +5 -3
- package/REMOTE_COMPONENT_STYLING_AI_GUIDE.md +179 -0
- package/THIRD_PARTY_LICENSES.txt +12 -12
- package/fesm2022/creatio-devkit-common.mjs +17 -3
- package/fesm2022/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +7 -0
- package/package.json +2 -2
- package/types/creatio-devkit-common.d.ts +16 -2
package/index.d.ts
CHANGED
|
@@ -1350,7 +1350,14 @@ export { EMPTY_GUID }
|
|
|
1350
1350
|
|
|
1351
1351
|
export { encodeDate }
|
|
1352
1352
|
|
|
1353
|
+
/**
|
|
1354
|
+
* @public
|
|
1355
|
+
* @description A Creatio entity record represented as a map of column names to their values.
|
|
1356
|
+
*/
|
|
1353
1357
|
export declare interface Entity {
|
|
1358
|
+
/**
|
|
1359
|
+
* @description Value of the entity column addressed by its name (or column path).
|
|
1360
|
+
*/
|
|
1354
1361
|
[key: string]: EntityColumnValue;
|
|
1355
1362
|
}
|
|
1356
1363
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creatio-devkit/common",
|
|
3
|
-
"version": "0.1000.
|
|
3
|
+
"version": "0.1000.2",
|
|
4
4
|
"description": "Allows developers to create customizations and integrate them to Creatio platform.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"keywords": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"reflect-metadata": "^0.1.13",
|
|
13
13
|
"lodash": "^4.17.21",
|
|
14
|
-
"@creatio/base": "0.1000.
|
|
14
|
+
"@creatio/base": "0.1000.2",
|
|
15
15
|
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
|
@@ -602,11 +602,18 @@ declare enum ViewElementRenderStrategy {
|
|
|
602
602
|
*/
|
|
603
603
|
declare enum ViewElementReuseStrategy {
|
|
604
604
|
/**
|
|
605
|
-
* Reuse
|
|
605
|
+
* Reuse the previously created view element when its state changes
|
|
606
|
+
* To use this strategy, the view element must meet the following requirements:
|
|
607
|
+
* 1. View element must load data via an external data source or calculated attributes, never on its own
|
|
608
|
+
* 2. State of view element should be fully bound to input properties
|
|
609
|
+
* 3. View element should not depend on input properties setting order
|
|
610
|
+
* 4. View element should not directly use services working with schema and profile
|
|
611
|
+
* (e.g. SchemaService, SchemaPartsService)
|
|
612
|
+
* Details: https://creatio.atlassian.net/wiki/spaces/TER/pages/2878439446/View+Element+Reuse+Strategy
|
|
606
613
|
*/
|
|
607
614
|
Reuse = 0,
|
|
608
615
|
/**
|
|
609
|
-
* Rerender(recreate) view element when
|
|
616
|
+
* Rerender (recreate) the view element when its state changes
|
|
610
617
|
*/
|
|
611
618
|
Rerender = 1
|
|
612
619
|
}
|
|
@@ -1552,7 +1559,14 @@ interface ValueResponse<T> extends BaseResponse {
|
|
|
1552
1559
|
value: T;
|
|
1553
1560
|
}
|
|
1554
1561
|
|
|
1562
|
+
/**
|
|
1563
|
+
* @public
|
|
1564
|
+
* @description A Creatio entity record represented as a map of column names to their values.
|
|
1565
|
+
*/
|
|
1555
1566
|
interface Entity {
|
|
1567
|
+
/**
|
|
1568
|
+
* @description Value of the entity column addressed by its name (or column path).
|
|
1569
|
+
*/
|
|
1556
1570
|
[key: string]: _EntityColumnValue;
|
|
1557
1571
|
}
|
|
1558
1572
|
|