@creatio-devkit/common 0.810.0 → 0.811.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 +2 -0
- package/esm2020/lib/base-exports.mjs +1 -1
- package/esm2020/lib/external/models/attribute-value-config.mjs +1 -1
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/internal/decorators/design-time-view-element/design-time-view-element.decorator.mjs +2 -1
- package/esm2020/lib/internal/enums/designer-group-type.enum.mjs +3 -1
- package/esm2020/lib/internal/enums/handler-source-type.enum.mjs +2 -1
- package/esm2020/lib/internal/enums/view-element-group-type.enum.mjs +2 -1
- package/esm2020/lib/internal/models/converter/converter-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/design-time-view-element-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/injection-context/injection-context.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-item/base-interface-designer-item-registration-config.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-item/interface-designer-item-registration-config.model.mjs +2 -1
- package/esm2020/lib/internal/models/interface-designer-item/toolbar-view-element-config.mjs +1 -1
- package/esm2020/lib/internal/models/interface-designer-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/handler-config.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/handler-source.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/request-handler-factory.mjs +1 -1
- package/esm2020/lib/internal/models/request-handler/request-handler-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/validator/validator-registry-item.mjs +1 -1
- package/esm2020/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +1 -1
- package/esm2020/lib/internal/models/view-element-registry-item.mjs +1 -1
- package/esm2020/lib/internal/services/base-registry/base-registry.mjs +5 -1
- package/esm2020/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +2 -1
- package/esm2020/lib/internal/services/global-converters-registry/converter-registry.mjs +2 -1
- package/esm2020/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +2 -1
- package/esm2020/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +17 -1
- package/esm2020/lib/internal/services/validator-registry/validator-registry.mjs +2 -1
- package/esm2020/lib/internal/services/view-element-registry/view-element-registry.mjs +2 -1
- package/esm2020/lib/public/enums/data-source-load-type.enum.mjs +10 -0
- package/esm2020/lib/public/enums/index.mjs +2 -0
- 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-reuse-strategy.enum.mjs +15 -0
- package/esm2020/lib/public/services/crt-zone/crt-zone.service.mjs +22 -0
- package/esm2020/lib/public/services/crt-zone/index.mjs +2 -0
- package/esm2020/lib/public/services/handler-chain/handler-chain.service.mjs +13 -1
- package/esm2020/lib/public/services/handler-chain/internal-handler-chain.mjs +33 -2
- package/esm2020/lib/public/services/index.mjs +2 -1
- package/esm2020/lib/public/services/model/model.mjs +18 -1
- package/esm2020/lib/public/types/index.mjs +2 -0
- package/esm2020/lib/public/types/teardown-logic.type.mjs +2 -0
- package/fesm2015/creatio-devkit-common.mjs +138 -2
- package/fesm2015/creatio-devkit-common.mjs.map +1 -1
- package/fesm2020/creatio-devkit-common.mjs +137 -2
- package/fesm2020/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +40 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -54,7 +54,6 @@ import { ɵDataSourceDatePartFunctionConfig as DataSourceDatePartFunctionConfig
|
|
|
54
54
|
import { ɵDataSourceFunctionConfig as DataSourceFunctionConfig } from '@creatio/base';
|
|
55
55
|
import { ɵDataSourceInsertResult as DataSourceInsertResult } from '@creatio/base';
|
|
56
56
|
import { ɵDataSourceInstanceConfig as DataSourceInstanceConfig } from '@creatio/base';
|
|
57
|
-
import { ɵDataSourceLoadOptions as DataSourceLoadOptions } from '@creatio/base';
|
|
58
57
|
import { ɵDataSourcePagingConfig as DataSourcePagingConfig } from '@creatio/base';
|
|
59
58
|
import { ɵDataSourceParameter as DataSourceParameter } from '@creatio/base';
|
|
60
59
|
import { ɵDataSourceParameterRelationConfig as DataSourceParameterRelationConfig } from '@creatio/base';
|
|
@@ -146,6 +145,7 @@ import { ɵWindowFunctionColumn as WindowFunctionColumn } from '@creatio/base';
|
|
|
146
145
|
import { ɵWindowFunctionExpression as WindowFunctionExpression } from '@creatio/base';
|
|
147
146
|
import { ɵWindowFunctionExpressionConfig as WindowFunctionExpressionConfig } from '@creatio/base';
|
|
148
147
|
import { ɵAggregationSubQueryExpressionConfig } from '@creatio/base';
|
|
148
|
+
import { ɵDataSourceLoadOptions } from '@creatio/base';
|
|
149
149
|
|
|
150
150
|
export { AbstractType }
|
|
151
151
|
|
|
@@ -369,6 +369,7 @@ export declare interface BaseViewElementRegistrationConfig {
|
|
|
369
369
|
* For previous example `countValidationInfo`
|
|
370
370
|
*/
|
|
371
371
|
validationInputs?: Record<string, unknown>;
|
|
372
|
+
/* Excluded from this release type: reuseStrategy */
|
|
372
373
|
}
|
|
373
374
|
|
|
374
375
|
export { BetweenFilter }
|
|
@@ -758,6 +759,21 @@ export declare function CrtViewElement(config: ViewElementRegistrationConfig): (
|
|
|
758
759
|
|
|
759
760
|
/* Excluded declaration from this release type: CrtViewElement */
|
|
760
761
|
|
|
762
|
+
/**
|
|
763
|
+
* @public
|
|
764
|
+
* @classdesc Service to handling a way of tasks execution in Creatio plaform
|
|
765
|
+
* @extends {BaseHandlerChainService}
|
|
766
|
+
*/
|
|
767
|
+
export declare class CrtZoneService extends BaseHandlerChainService {
|
|
768
|
+
/* Excluded from this release type: requestType */
|
|
769
|
+
/**
|
|
770
|
+
* @description Method designed to run task outside of Creatio zone
|
|
771
|
+
* @param {Function} callback - task which should be executed outside of tracking CrtZone
|
|
772
|
+
* @returns `unknown`
|
|
773
|
+
*/
|
|
774
|
+
runOutside: (callback: () => unknown) => unknown;
|
|
775
|
+
}
|
|
776
|
+
|
|
761
777
|
/**
|
|
762
778
|
* @public
|
|
763
779
|
* @class DataRequest
|
|
@@ -816,8 +832,17 @@ export { DataSourceInsertResult }
|
|
|
816
832
|
|
|
817
833
|
export { DataSourceInstanceConfig }
|
|
818
834
|
|
|
819
|
-
|
|
835
|
+
/**
|
|
836
|
+
* @public
|
|
837
|
+
* @description Represents a set of loading options.
|
|
838
|
+
* @property {string} pagingConfig - The paging options for loading.
|
|
839
|
+
* @property {string} sortingConfig - The sorting options.
|
|
840
|
+
*/
|
|
841
|
+
export declare interface DataSourceLoadOptions extends ɵDataSourceLoadOptions {
|
|
842
|
+
/* Excluded from this release type: loadType */
|
|
843
|
+
}
|
|
820
844
|
|
|
845
|
+
/* Excluded from this release type: DataSourceLoadType */
|
|
821
846
|
export { DataSourcePagingConfig }
|
|
822
847
|
|
|
823
848
|
export { DataSourceParameter }
|
|
@@ -943,6 +968,7 @@ export { FilterResolver }
|
|
|
943
968
|
|
|
944
969
|
export { FilterType }
|
|
945
970
|
|
|
971
|
+
/* Excluded from this release type: _from */
|
|
946
972
|
export { FunctionExpression }
|
|
947
973
|
|
|
948
974
|
export { FunctionExpressionConfig }
|
|
@@ -1003,6 +1029,7 @@ export declare class HandlerChainService {
|
|
|
1003
1029
|
* @return `Promise<unknown>`
|
|
1004
1030
|
*/
|
|
1005
1031
|
process(request: BaseRequest): Promise<unknown>;
|
|
1032
|
+
/* Excluded from this release type: subscribe */
|
|
1006
1033
|
}
|
|
1007
1034
|
|
|
1008
1035
|
/* Excluded from this release type: HandlerChainServiceRegistryItem */
|
|
@@ -1375,7 +1402,9 @@ export declare class Model extends BaseHandlerChainService implements BaseModel<
|
|
|
1375
1402
|
/* Excluded from this release type: requestType */
|
|
1376
1403
|
private constructor();
|
|
1377
1404
|
private static get instance();
|
|
1405
|
+
/* Excluded from this release type: name */
|
|
1378
1406
|
private _create;
|
|
1407
|
+
/* Excluded from this release type: [_from] */
|
|
1379
1408
|
static create(dataSchema: string): Promise<Model>;
|
|
1380
1409
|
getSchema(): Promise<DataSchema>;
|
|
1381
1410
|
load(config?: {
|
|
@@ -1831,6 +1860,8 @@ export declare class SysValuesService extends BaseHandlerChainService {
|
|
|
1831
1860
|
loadSysValues: () => Promise<SysValues>;
|
|
1832
1861
|
}
|
|
1833
1862
|
|
|
1863
|
+
/* Excluded from this release type: TeardownLogic */
|
|
1864
|
+
|
|
1834
1865
|
/* Excluded from this release type: toAggregationEval */
|
|
1835
1866
|
|
|
1836
1867
|
/* Excluded from this release type: toAggregationEvalType */
|
|
@@ -1946,6 +1977,8 @@ export declare interface ViewElementRegistrationConfig extends BaseViewElementRe
|
|
|
1946
1977
|
|
|
1947
1978
|
/* Excluded from this release type: viewElementRegistryKey */
|
|
1948
1979
|
|
|
1980
|
+
/* Excluded from this release type: ViewElementReuseStrategy */
|
|
1981
|
+
|
|
1949
1982
|
/**
|
|
1950
1983
|
* @public
|
|
1951
1984
|
* @description Config to specify view element slot.
|
|
@@ -1972,12 +2005,16 @@ export { ɵAggregationSubQueryExpressionConfig }
|
|
|
1972
2005
|
/**
|
|
1973
2006
|
* @public
|
|
1974
2007
|
* @description For internal use only.
|
|
2008
|
+
* @hostPublicApi
|
|
1975
2009
|
*/
|
|
1976
2010
|
export declare class ɵBaseRegistry {
|
|
1977
2011
|
private static readonly _prefix;
|
|
1978
2012
|
private static _instance;
|
|
1979
2013
|
protected static readonly registryKey: string;
|
|
1980
2014
|
protected static get store(): ɵRegistryItemsStore;
|
|
2015
|
+
/**
|
|
2016
|
+
* @hostPubicApi available through window.creatio.registry.<registryKey>.store
|
|
2017
|
+
*/
|
|
1981
2018
|
protected store: ɵRegistryItemsStore;
|
|
1982
2019
|
}
|
|
1983
2020
|
|
|
@@ -1996,6 +2033,7 @@ export declare function ɵinstantiate<T = unknown>(type: Type<T>, resolveDepende
|
|
|
1996
2033
|
/**
|
|
1997
2034
|
* @public
|
|
1998
2035
|
* @description For internal use only.
|
|
2036
|
+
* @hostPublicApi
|
|
1999
2037
|
*/
|
|
2000
2038
|
declare interface ɵRegistryItemsStore {
|
|
2001
2039
|
typeInfos: Map<string, any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creatio-devkit/common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.811.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": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"class-transformer": "^0.4.0",
|
|
15
15
|
"reflect-metadata": "^0.1.13",
|
|
16
16
|
"lodash": "^4.17.21",
|
|
17
|
-
"@creatio/base": "0.
|
|
17
|
+
"@creatio/base": "0.811.0",
|
|
18
18
|
"terser-webpack-plugin": "5.3.9"
|
|
19
19
|
},
|
|
20
20
|
"sideEffects": false,
|