@creatio-devkit/common 0.811.0 → 0.812.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/CHANGELOG.md +12 -0
- package/esm2020/lib/base-exports.mjs +2 -2
- package/esm2020/lib/external/models/index.mjs +1 -2
- package/esm2020/lib/internal/constants/default-size.const.mjs +5 -0
- package/esm2020/lib/internal/constants/index.mjs +2 -1
- package/esm2020/lib/internal/decorators/request/request.decorator.mjs +1 -1
- package/esm2020/lib/internal/enums/index.mjs +1 -2
- package/esm2020/lib/internal/models/attribute-property-config.interface.mjs +2 -0
- package/esm2020/lib/internal/models/index.mjs +2 -1
- package/esm2020/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +2 -2
- package/esm2020/lib/internal/services/view-element-registry/view-element-registry.mjs +21 -1
- package/esm2020/lib/public/decorators/view-element/view-element.decorator.mjs +7 -1
- package/esm2020/lib/public/enums/index.mjs +2 -1
- package/esm2020/lib/public/enums/view-element-property.enum.mjs +9 -0
- package/esm2020/lib/public/models/input/input-registration-config.model.mjs +1 -1
- package/esm2020/lib/public/models/view-element/base-view-element-registration-config.mjs +1 -1
- package/esm2020/lib/public/models/view-element/index.mjs +2 -1
- package/esm2020/lib/public/models/view-element/view-element-visibility-strategy.mjs +16 -0
- package/fesm2015/creatio-devkit-common.mjs +60 -13
- package/fesm2015/creatio-devkit-common.mjs.map +1 -1
- package/fesm2020/creatio-devkit-common.mjs +57 -13
- package/fesm2020/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +22 -3
- package/package.json +4 -4
- package/esm2020/lib/external/models/model-init-config.mjs +0 -2
- package/esm2020/lib/internal/enums/model-in-page-action.enum.mjs +0 -10
package/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { ɵBaseQuery as BaseQuery } from '@creatio/base';
|
|
|
27
27
|
import { ɵBaseQueryColumn as BaseQueryColumn } from '@creatio/base';
|
|
28
28
|
import { ɵBaseRequest as BaseRequest } from '@creatio/base';
|
|
29
29
|
import { ɵBetweenFilter as BetweenFilter } from '@creatio/base';
|
|
30
|
+
import { ɵButtonColor as ButtonColor } from '@creatio/base';
|
|
30
31
|
import { ɵColumnExpression as ColumnExpression } from '@creatio/base';
|
|
31
32
|
import { ɵColumnExpressionConfig as ColumnExpressionConfig } from '@creatio/base';
|
|
32
33
|
import { ɵCompareFilter as CompareFilter } from '@creatio/base';
|
|
@@ -117,6 +118,9 @@ import { ɵMacrosFunctionColumn as MacrosFunctionColumn } from '@creatio/base';
|
|
|
117
118
|
import { ɵMacrosFunctionExpression as MacrosFunctionExpression } from '@creatio/base';
|
|
118
119
|
import { ɵMacrosFunctionExpressionConfig as MacrosFunctionExpressionConfig } from '@creatio/base';
|
|
119
120
|
import { ɵMetadataProvider as MetadataProvider } from '@creatio/base';
|
|
121
|
+
import { ɵModelDefaultValue as ModelDefaultValue } from '@creatio/base';
|
|
122
|
+
import { ɵModelInitConfig as ModelInitConfig } from '@creatio/base';
|
|
123
|
+
import { ɵModelInPageAction as ModelInPageAction } from '@creatio/base';
|
|
120
124
|
import { ɵModelParameterType as ModelParameterType } from '@creatio/base';
|
|
121
125
|
import { ɵNextHandlerAlreadySpecifiedException as NextHandlerAlreadySpecifiedException } from '@creatio/base';
|
|
122
126
|
import { ɵOrderDirection as OrderDirection } from '@creatio/base';
|
|
@@ -187,6 +191,8 @@ export { ArithmeticOperation }
|
|
|
187
191
|
|
|
188
192
|
export { ArithmeticQueryColumn }
|
|
189
193
|
|
|
194
|
+
/* Excluded from this release type: AttributePropertyConfig */
|
|
195
|
+
|
|
190
196
|
/* Excluded from this release type: AttributeValueConfig */
|
|
191
197
|
export { BaseDataSourceParameter }
|
|
192
198
|
|
|
@@ -370,6 +376,8 @@ export declare interface BaseViewElementRegistrationConfig {
|
|
|
370
376
|
*/
|
|
371
377
|
validationInputs?: Record<string, unknown>;
|
|
372
378
|
/* Excluded from this release type: reuseStrategy */
|
|
379
|
+
/* Excluded from this release type: defaultSize */
|
|
380
|
+
/* Excluded from this release type: viewElementVisibilityStrategy */
|
|
373
381
|
}
|
|
374
382
|
|
|
375
383
|
export { BetweenFilter }
|
|
@@ -414,6 +422,8 @@ export declare interface BootstrapOptions {
|
|
|
414
422
|
/* Excluded from this release type: moduleType */
|
|
415
423
|
}
|
|
416
424
|
|
|
425
|
+
export { ButtonColor }
|
|
426
|
+
|
|
417
427
|
/* Excluded from this release type: checkCrtTypeNamePascalCase */
|
|
418
428
|
|
|
419
429
|
/* Excluded from this release type: checkIfTypeRegistered */
|
|
@@ -542,6 +552,8 @@ export declare function CrtInput(config?: CrtInputRegistrationConfig): (target:
|
|
|
542
552
|
*/
|
|
543
553
|
export declare class CrtInputRegistrationConfig {
|
|
544
554
|
/* Excluded from this release type: propertyBindable */
|
|
555
|
+
/* Excluded from this release type: defaultValue */
|
|
556
|
+
/* Excluded from this release type: propertyName */
|
|
545
557
|
}
|
|
546
558
|
|
|
547
559
|
/**
|
|
@@ -840,6 +852,7 @@ export { DataSourceInstanceConfig }
|
|
|
840
852
|
*/
|
|
841
853
|
export declare interface DataSourceLoadOptions extends ɵDataSourceLoadOptions {
|
|
842
854
|
/* Excluded from this release type: loadType */
|
|
855
|
+
/* Excluded from this release type: throttled */
|
|
843
856
|
}
|
|
844
857
|
|
|
845
858
|
/* Excluded from this release type: DataSourceLoadType */
|
|
@@ -1421,11 +1434,12 @@ export declare class Model extends BaseHandlerChainService implements BaseModel<
|
|
|
1421
1434
|
canDelete(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
|
|
1422
1435
|
}
|
|
1423
1436
|
|
|
1424
|
-
|
|
1437
|
+
export { ModelDefaultValue }
|
|
1438
|
+
|
|
1439
|
+
export { ModelInitConfig }
|
|
1425
1440
|
|
|
1426
|
-
|
|
1441
|
+
export { ModelInPageAction }
|
|
1427
1442
|
|
|
1428
|
-
/* Excluded from this release type: ModelInPageAction */
|
|
1429
1443
|
export { ModelParameterType }
|
|
1430
1444
|
|
|
1431
1445
|
/**
|
|
@@ -1944,12 +1958,16 @@ export declare interface ValueResponse<T> extends BaseResponse {
|
|
|
1944
1958
|
value: T;
|
|
1945
1959
|
}
|
|
1946
1960
|
|
|
1961
|
+
/* Excluded from this release type: VIEW_ELEMENT_DEFAULT_HEIGHT */
|
|
1962
|
+
|
|
1947
1963
|
/* Excluded from this release type: ViewElementDataGroupType */
|
|
1948
1964
|
|
|
1949
1965
|
/* Excluded from this release type: ViewElementGroupType */
|
|
1950
1966
|
|
|
1951
1967
|
/* Excluded from this release type: ViewElementMetadata */
|
|
1952
1968
|
|
|
1969
|
+
/* Excluded from this release type: ViewElementProperty */
|
|
1970
|
+
|
|
1953
1971
|
/**
|
|
1954
1972
|
* @public
|
|
1955
1973
|
* @description Config to specify view element options.
|
|
@@ -1992,6 +2010,7 @@ export declare interface ViewElementSlotDefinition {
|
|
|
1992
2010
|
/* Excluded from this release type: input */
|
|
1993
2011
|
}
|
|
1994
2012
|
|
|
2013
|
+
/* Excluded from this release type: ViewElementVisibilityStrategy */
|
|
1995
2014
|
export { ViewModelContext }
|
|
1996
2015
|
|
|
1997
2016
|
export { WindowFunctionColumn }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creatio-devkit/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.812.0",
|
|
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,11 +11,11 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.2.0",
|
|
13
13
|
"shortid-extend": "0.0.3",
|
|
14
|
-
"class-transformer": "^0.
|
|
14
|
+
"class-transformer": "^0.5.1",
|
|
15
15
|
"reflect-metadata": "^0.1.13",
|
|
16
16
|
"lodash": "^4.17.21",
|
|
17
|
-
"@creatio/base": "0.
|
|
18
|
-
"terser-webpack-plugin": "5.3.
|
|
17
|
+
"@creatio/base": "0.812.0",
|
|
18
|
+
"terser-webpack-plugin": "5.3.10"
|
|
19
19
|
},
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"module": "fesm2015/creatio-devkit-common.mjs",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWwtaW5pdC1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL2RldmtpdC9jb21tb24vc3JjL2xpYi9leHRlcm5hbC9tb2RlbHMvbW9kZWwtaW5pdC1jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE1vZGVsSW5QYWdlQWN0aW9uIH0gZnJvbSAnLi4vLi4vaW50ZXJuYWwvZW51bXMnO1xuLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGludGVyZmFjZSBNb2RlbERlZmF1bHRWYWx1ZSB7XG5cdGF0dHJpYnV0ZU5hbWU6IHN0cmluZztcblx0dmFsdWU6IHVua25vd247XG59XG5cbi8qKlxuICogQGludGVybmFsXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgTW9kZWxJbml0Q29uZmlnIHtcblx0bmFtZT86IHN0cmluZztcblx0cmVjb3JkSWQ/OiBzdHJpbmc7XG5cdGFjdGlvbjogTW9kZWxJblBhZ2VBY3Rpb247XG5cdGRlZmF1bHRWYWx1ZXM/OiBBcnJheTxNb2RlbERlZmF1bHRWYWx1ZT47XG59XG4iXX0=
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal
|
|
3
|
-
*/
|
|
4
|
-
export var ModelInPageAction;
|
|
5
|
-
(function (ModelInPageAction) {
|
|
6
|
-
ModelInPageAction["Edit"] = "edit";
|
|
7
|
-
ModelInPageAction["Add"] = "add";
|
|
8
|
-
ModelInPageAction["Copy"] = "copy";
|
|
9
|
-
})(ModelInPageAction || (ModelInPageAction = {}));
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWwtaW4tcGFnZS1hY3Rpb24uZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGV2a2l0L2NvbW1vbi9zcmMvbGliL2ludGVybmFsL2VudW1zL21vZGVsLWluLXBhZ2UtYWN0aW9uLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFDSCxNQUFNLENBQU4sSUFBWSxpQkFJWDtBQUpELFdBQVksaUJBQWlCO0lBQzVCLGtDQUFhLENBQUE7SUFDYixnQ0FBVyxDQUFBO0lBQ1gsa0NBQWEsQ0FBQTtBQUNkLENBQUMsRUFKVyxpQkFBaUIsS0FBakIsaUJBQWlCLFFBSTVCIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAaW50ZXJuYWxcbiAqL1xuZXhwb3J0IGVudW0gTW9kZWxJblBhZ2VBY3Rpb24ge1xuXHRFZGl0ID0gJ2VkaXQnLFxuXHRBZGQgPSAnYWRkJyxcblx0Q29weSA9ICdjb3B5Jyxcbn1cbiJdfQ==
|