@creatio-devkit/common 0.810.0 → 0.811.1
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 +4 -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ɵAggregationType, ɵAggregationFunction, ɵAggregationEvalType, ɵDatePartType, ɵFunctionType, ɵOrderDirection, ɵNextHandlerAlreadySpecifiedException, ɵBaseRequest } from '@creatio/base';
|
|
1
|
+
import { ɵAggregationType, ɵAggregationFunction, ɵAggregationEvalType, ɵDatePartType, ɵFunctionType, ɵOrderDirection, ɵgenerateGuid, ɵNextHandlerAlreadySpecifiedException, ɵBaseRequest } from '@creatio/base';
|
|
2
2
|
export { ɵAggregationEvalType as AggregationEvalType, ɵAggregationFunction as AggregationFunction, ɵAggregationFunctionColumn as AggregationFunctionColumn, ɵAggregationFunctionExpression as AggregationFunctionExpression, ɵAggregationSubQueryColumn as AggregationSubQueryColumn, ɵAggregationSubQueryExpression as AggregationSubQueryExpression, ɵAggregationType as AggregationType, ɵArgumentEmptyException as ArgumentEmptyException, ɵArgumentFunctionExpression as ArgumentFunctionExpression, ɵArgumentOutOfRangeException as ArgumentOutOfRangeException, ɵArithmeticExpression as ArithmeticExpression, ɵArithmeticOperation as ArithmeticOperation, ɵArithmeticQueryColumn as ArithmeticQueryColumn, ɵBaseExpression as BaseExpression, ɵBaseExpressionParser as BaseExpressionParser, ɵBaseFilter as BaseFilter, ɵBaseFilterParser as BaseFilterParser, ɵBaseFilterableQuery as BaseFilterableQuery, ɵBaseQuery as BaseQuery, ɵBaseQueryColumn as BaseQueryColumn, ɵBaseRequest as BaseRequest, ɵBetweenFilter as BetweenFilter, ɵColumnExpression as ColumnExpression, ɵCompareFilter as CompareFilter, ɵComparisonType as ComparisonType, ɵDEFAULT_COLUMN_PLAIN_OBJ as DEFAULT_COLUMN_PLAIN_OBJ, ɵDEFAULT_FILTER_PLAIN_OBJ as DEFAULT_FILTER_PLAIN_OBJ, ɵDataSchemaAttributeType as DataSchemaAttributeType, ɵDataSchemaAttributeUsageType as DataSchemaAttributeUsageType, ɵDataSchemaType as DataSchemaType, ɵDataSourceScope as DataSourceScope, ɵDataValueType as DataValueType, ɵDatePartFunctionColumn as DatePartFunctionColumn, ɵDatePartFunctionExpression as DatePartFunctionExpression, ɵDatePartType as DatePartType, ɵDefaultValueSource as DefaultValueSource, ɵDeleteQuery as DeleteQuery, ɵEMPTY_GUID as EMPTY_GUID, ɵEntityQueryColumn as EntityQueryColumn, ɵEntitySchemaQuery as EntitySchemaQuery, ɵExistsFilter as ExistsFilter, ɵExpressionMock as ExpressionMock, ɵExpressionParser as ExpressionParser, ɵExpressionResolver as ExpressionResolver, ɵExpressionType as ExpressionType, ɵFilterGroup as FilterGroup, ɵFilterMock as FilterMock, ɵFilterParser as FilterParser, ɵFilterResolver as FilterResolver, ɵFilterType as FilterType, ɵFunctionExpression as FunctionExpression, ɵFunctionType as FunctionType, ɵInFilter as InFilter, ɵInsertQuery as InsertQuery, ɵIsNullFilter as IsNullFilter, ɵItemNotFoundException as ItemNotFoundException, ɵLengthFunctionColumn as LengthFunctionColumn, ɵLengthFunctionExpression as LengthFunctionExpression, ɵLogicalOperatorType as LogicalOperatorType, ɵMacrosFunctionColumn as MacrosFunctionColumn, ɵMacrosFunctionExpression as MacrosFunctionExpression, ɵModelParameterType as ModelParameterType, ɵNextHandlerAlreadySpecifiedException as NextHandlerAlreadySpecifiedException, ɵOrderDirection as OrderDirection, ɵParameterExpression as ParameterExpression, ɵParameterQueryColumn as ParameterQueryColumn, ɵQueryMacrosType as QueryMacrosType, ɵQueryOperationType as QueryOperationType, ɵSelectLocalizationQuery as SelectLocalizationQuery, ɵSingleFilter as SingleFilter, ɵSubQueryColumn as SubQueryColumn, ɵSubQueryExpression as SubQueryExpression, ɵUpdateQuery as UpdateQuery, ɵValidationUtilities as ValidationUtilities, ɵWindowFunctionColumn as WindowFunctionColumn, ɵWindowFunctionExpression as WindowFunctionExpression, ɵencodeDate as encodeDate, ɵgenerateGuid as generateGuid, ɵgetColumnPlainObj as getColumnPlainObj, ɵgetFilterPlainObj as getFilterPlainObj, ɵisEmptyGuid as isEmptyGuid, ɵisGuid as isGuid, ɵparserMock as parserMock, ɵtoLocalISOString as toLocalISOString } from '@creatio/base';
|
|
3
3
|
import { get, set, upperFirst, camelCase, isEqual, cloneDeep } from 'lodash';
|
|
4
4
|
import 'reflect-metadata';
|
|
@@ -193,6 +193,7 @@ const crtInjectPrefix = 'crtInject:';
|
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
195
|
* @internal
|
|
196
|
+
* @hostPublicApi
|
|
196
197
|
*/
|
|
197
198
|
var ViewElementGroupType;
|
|
198
199
|
(function (ViewElementGroupType) {
|
|
@@ -205,6 +206,7 @@ var ViewElementGroupType;
|
|
|
205
206
|
|
|
206
207
|
/**
|
|
207
208
|
* @internal
|
|
209
|
+
* @hostPublicApi
|
|
208
210
|
*/
|
|
209
211
|
var ViewElementDataGroupType;
|
|
210
212
|
(function (ViewElementDataGroupType) {
|
|
@@ -212,6 +214,7 @@ var ViewElementDataGroupType;
|
|
|
212
214
|
})(ViewElementDataGroupType || (ViewElementDataGroupType = {}));
|
|
213
215
|
/**
|
|
214
216
|
* @internal
|
|
217
|
+
* @hostPublicApi
|
|
215
218
|
*/
|
|
216
219
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
217
220
|
const DesignerToolGroupType = { ...ViewElementDataGroupType, ...ViewElementGroupType };
|
|
@@ -219,6 +222,7 @@ const DesignerToolGroupType = { ...ViewElementDataGroupType, ...ViewElementGroup
|
|
|
219
222
|
/**
|
|
220
223
|
* Handler source types in order of call priority.
|
|
221
224
|
* @internal
|
|
225
|
+
* @hostPublicApi
|
|
222
226
|
*/
|
|
223
227
|
var HandlerSourceType;
|
|
224
228
|
(function (HandlerSourceType) {
|
|
@@ -241,10 +245,14 @@ const global$3 = window;
|
|
|
241
245
|
/**
|
|
242
246
|
* @public
|
|
243
247
|
* @description For internal use only.
|
|
248
|
+
* @hostPublicApi
|
|
244
249
|
*/
|
|
245
250
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
246
251
|
class ɵBaseRegistry {
|
|
247
252
|
constructor() {
|
|
253
|
+
/**
|
|
254
|
+
* @hostPubicApi available through window.creatio.registry.<registryKey>.store
|
|
255
|
+
*/
|
|
248
256
|
this.store = {
|
|
249
257
|
typeInfos: new Map(),
|
|
250
258
|
};
|
|
@@ -322,17 +330,29 @@ class HandlersOrderComparer {
|
|
|
322
330
|
|
|
323
331
|
/**
|
|
324
332
|
* @internal
|
|
333
|
+
* @hostPublicApi available through window.handlerChain
|
|
325
334
|
*/
|
|
326
335
|
class InternalHandlerChain {
|
|
327
336
|
constructor() {
|
|
328
337
|
this._handlers = [];
|
|
338
|
+
this._requestListeners = new Map();
|
|
329
339
|
this._handlersCache = new Map();
|
|
330
340
|
this._handlersScopesByContextId = new Map();
|
|
341
|
+
/**
|
|
342
|
+
* @hostPublicApi
|
|
343
|
+
*/
|
|
331
344
|
this.handlerChain$ = {
|
|
345
|
+
/**
|
|
346
|
+
* @hostPublicApi
|
|
347
|
+
*/
|
|
332
348
|
process: async (request) => {
|
|
333
349
|
const handler = this._getHandler(request);
|
|
350
|
+
this._requestListeners.forEach((listener) => listener?.(request));
|
|
334
351
|
return handler?.handle(request);
|
|
335
352
|
},
|
|
353
|
+
/**
|
|
354
|
+
* @hostPublicApi
|
|
355
|
+
*/
|
|
336
356
|
register: (info) => {
|
|
337
357
|
this._handlersCache.delete(info.requestType);
|
|
338
358
|
this._handlers.push(info);
|
|
@@ -347,8 +367,27 @@ class InternalHandlerChain {
|
|
|
347
367
|
}
|
|
348
368
|
};
|
|
349
369
|
},
|
|
370
|
+
/**
|
|
371
|
+
* @hostPublicApi
|
|
372
|
+
*/
|
|
373
|
+
subscribe: (callback, context) => {
|
|
374
|
+
if (!callback) {
|
|
375
|
+
return () => void 0;
|
|
376
|
+
}
|
|
377
|
+
const listenerId = ɵgenerateGuid();
|
|
378
|
+
const listenerFn = (request) => {
|
|
379
|
+
if (!context || request.$context === context) {
|
|
380
|
+
callback(request);
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
this._requestListeners.set(listenerId, listenerFn);
|
|
384
|
+
return () => this._requestListeners.delete(listenerId);
|
|
385
|
+
},
|
|
350
386
|
};
|
|
351
387
|
}
|
|
388
|
+
/**
|
|
389
|
+
* @hostPublicApi
|
|
390
|
+
*/
|
|
352
391
|
clearContextedHandlersCache(contextId) {
|
|
353
392
|
const configs = this._handlersScopesByContextId.get(contextId) ?? [];
|
|
354
393
|
return configs.every(({ requestType, scope }) => this._handlersCache.get(requestType)?.delete(scope));
|
|
@@ -485,6 +524,18 @@ class HandlerChainService {
|
|
|
485
524
|
process(request) {
|
|
486
525
|
return this._chain.handlerChain$.process(request);
|
|
487
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* @internal
|
|
529
|
+
* Subscribes to requests.
|
|
530
|
+
* @param callback A handler function for each request triggered.
|
|
531
|
+
* @param context (optional) A context in which the requests were triggered.
|
|
532
|
+
* The `callback` will be called only for requests with specified context.
|
|
533
|
+
* If not specified, will be called for all requests.
|
|
534
|
+
* @returns A function to cancel the subscription.
|
|
535
|
+
*/
|
|
536
|
+
subscribe(callback, context) {
|
|
537
|
+
return this._chain.handlerChain$.subscribe(callback, context);
|
|
538
|
+
}
|
|
488
539
|
}
|
|
489
540
|
|
|
490
541
|
/**
|
|
@@ -584,23 +635,36 @@ function checkOnlyOneRegistration(type, item, map) {
|
|
|
584
635
|
|
|
585
636
|
/**
|
|
586
637
|
* @internal
|
|
638
|
+
* @hostPublicApi available through window.creatio.requestHandlerRegistry
|
|
587
639
|
*/
|
|
588
640
|
class InternalRequestHandlerRegistryType {
|
|
641
|
+
/**
|
|
642
|
+
* @publicHostApi
|
|
643
|
+
*/
|
|
589
644
|
static get requestHandlersMap() {
|
|
590
645
|
return this._requestHandlersMap;
|
|
591
646
|
}
|
|
647
|
+
/**
|
|
648
|
+
* @publicHostApi
|
|
649
|
+
*/
|
|
592
650
|
static onAddRequestHandler(handler) {
|
|
593
651
|
this._addItemListeners.push(handler);
|
|
594
652
|
return () => {
|
|
595
653
|
this._addItemListeners.splice(this._addItemListeners.indexOf(handler), 1);
|
|
596
654
|
};
|
|
597
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* @publicHostApi
|
|
658
|
+
*/
|
|
598
659
|
static onRemoveRequestHandler(handler) {
|
|
599
660
|
this._removeItemListeners.push(handler);
|
|
600
661
|
return () => {
|
|
601
662
|
this._removeItemListeners.splice(this._removeItemListeners.indexOf(handler), 1);
|
|
602
663
|
};
|
|
603
664
|
}
|
|
665
|
+
/**
|
|
666
|
+
* @publicHostApi
|
|
667
|
+
*/
|
|
604
668
|
static addRequestHandler(handlerType, config) {
|
|
605
669
|
if (!this._requestHandlersMap.has(handlerType)) {
|
|
606
670
|
this._requestHandlersMap.set(handlerType, config);
|
|
@@ -609,6 +673,9 @@ class InternalRequestHandlerRegistryType {
|
|
|
609
673
|
}
|
|
610
674
|
}
|
|
611
675
|
}
|
|
676
|
+
/**
|
|
677
|
+
* @publicHostApi
|
|
678
|
+
*/
|
|
612
679
|
static removeRequestHandler(handlerType) {
|
|
613
680
|
const config = this._requestHandlersMap.get(handlerType);
|
|
614
681
|
if (config) {
|
|
@@ -693,6 +760,7 @@ RequestRegistryService._requestsRegistrationInfos = new Map();
|
|
|
693
760
|
|
|
694
761
|
/**
|
|
695
762
|
* @internal
|
|
763
|
+
* @hostPublicApi available through window.creatio.registry.ConverterRegistry
|
|
696
764
|
*/
|
|
697
765
|
class ConverterRegistry extends ɵBaseRegistry {
|
|
698
766
|
static get(type) {
|
|
@@ -719,6 +787,7 @@ ConverterRegistry.registryKey = 'ConverterRegistry';
|
|
|
719
787
|
const viewElementRegistryKey = 'ViewElementRegistry';
|
|
720
788
|
/**
|
|
721
789
|
* @internal
|
|
790
|
+
* @hostPublicApi available through window.creatio.registry.ValidatorRegistry
|
|
722
791
|
*/
|
|
723
792
|
class ViewElementRegistry extends ɵBaseRegistry {
|
|
724
793
|
static validate(config) {
|
|
@@ -744,6 +813,7 @@ ViewElementRegistry.registryKey = viewElementRegistryKey;
|
|
|
744
813
|
const interfaceDesignerItemRegistryKey = 'InterfaceDesignerItemRegistry';
|
|
745
814
|
/**
|
|
746
815
|
* @internal
|
|
816
|
+
* @hostPublicApi available through window.creatio.registry.InterfaceDesignerItemRegistry
|
|
747
817
|
*/
|
|
748
818
|
class InterfaceDesignerItemRegistry extends ɵBaseRegistry {
|
|
749
819
|
static validate(config) {
|
|
@@ -821,6 +891,7 @@ HandlerChainServicesRegistry.registryKey = 'HandlerChainServicesRegistry';
|
|
|
821
891
|
const designTimeViewElementRegistryKey = 'DesignTimeViewElementRegistry';
|
|
822
892
|
/**
|
|
823
893
|
* @internal
|
|
894
|
+
* @hostPublicApi available through window.creatio.registry.DesignTimeViewElementRegistry
|
|
824
895
|
*/
|
|
825
896
|
class DesignTimeViewElementRegistry extends ɵBaseRegistry {
|
|
826
897
|
static validate(config) {
|
|
@@ -855,6 +926,7 @@ class ValidatorMapValue {
|
|
|
855
926
|
const validatorRegistryKey = 'ValidatorRegistry';
|
|
856
927
|
/**
|
|
857
928
|
* @internal
|
|
929
|
+
* @hostPublicApi available through window.creatio.registry.ValidatorRegistry
|
|
858
930
|
*/
|
|
859
931
|
class ValidatorRegistry extends ɵBaseRegistry {
|
|
860
932
|
static _has(configType, type) {
|
|
@@ -1155,6 +1227,21 @@ class DataRequest extends ɵBaseRequest {
|
|
|
1155
1227
|
* @property {unknown} params - request parameters.
|
|
1156
1228
|
*/
|
|
1157
1229
|
|
|
1230
|
+
/**
|
|
1231
|
+
* @internal
|
|
1232
|
+
*/
|
|
1233
|
+
var ViewElementReuseStrategy;
|
|
1234
|
+
(function (ViewElementReuseStrategy) {
|
|
1235
|
+
/**
|
|
1236
|
+
* Reuse early created view element when it state changed
|
|
1237
|
+
*/
|
|
1238
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Reuse"] = 0] = "Reuse";
|
|
1239
|
+
/**
|
|
1240
|
+
* Rerender(recreate) view element when it state changed
|
|
1241
|
+
*/
|
|
1242
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Rerender"] = 1] = "Rerender";
|
|
1243
|
+
})(ViewElementReuseStrategy || (ViewElementReuseStrategy = {}));
|
|
1244
|
+
|
|
1158
1245
|
/**
|
|
1159
1246
|
* @public
|
|
1160
1247
|
* @description Abstract Base Validator class for designing custom validators.
|
|
@@ -1239,6 +1326,7 @@ function applyLocalizeMetadataFn(obj, localizeMetadata) {
|
|
|
1239
1326
|
/**
|
|
1240
1327
|
* @internal
|
|
1241
1328
|
*/
|
|
1329
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1242
1330
|
function CrtDesignTimeViewElement(config) {
|
|
1243
1331
|
return function (type) {
|
|
1244
1332
|
const registrationConfig = {
|
|
@@ -1263,6 +1351,7 @@ function CrtRequest(config) {
|
|
|
1263
1351
|
|
|
1264
1352
|
/**
|
|
1265
1353
|
* @internal
|
|
1354
|
+
* @hostPublicApi
|
|
1266
1355
|
*/
|
|
1267
1356
|
class InterfaceDesignerItemRegistrationConfig {
|
|
1268
1357
|
}
|
|
@@ -1496,6 +1585,16 @@ function CrtConverter(config) {
|
|
|
1496
1585
|
};
|
|
1497
1586
|
}
|
|
1498
1587
|
|
|
1588
|
+
/**
|
|
1589
|
+
* @internal
|
|
1590
|
+
*/
|
|
1591
|
+
var DataSourceLoadType;
|
|
1592
|
+
(function (DataSourceLoadType) {
|
|
1593
|
+
DataSourceLoadType["LoadNext"] = "loadNext";
|
|
1594
|
+
DataSourceLoadType["Load"] = "load";
|
|
1595
|
+
DataSourceLoadType["Reload"] = "reload";
|
|
1596
|
+
})(DataSourceLoadType || (DataSourceLoadType = {}));
|
|
1597
|
+
|
|
1499
1598
|
/**
|
|
1500
1599
|
* @public
|
|
1501
1600
|
* @description Function allows to register user-defined component as view element in Creatio platform.
|
|
@@ -2084,6 +2183,10 @@ __decorate([
|
|
|
2084
2183
|
__metadata("design:type", Function)
|
|
2085
2184
|
], MaskService.prototype, "hideBodyMask", void 0);
|
|
2086
2185
|
|
|
2186
|
+
/**
|
|
2187
|
+
* @internal
|
|
2188
|
+
*/
|
|
2189
|
+
const _from = Symbol('CreateModelFrom');
|
|
2087
2190
|
/**
|
|
2088
2191
|
* @public
|
|
2089
2192
|
*/
|
|
@@ -2102,6 +2205,19 @@ class Model extends BaseHandlerChainService {
|
|
|
2102
2205
|
}
|
|
2103
2206
|
return this._instance;
|
|
2104
2207
|
}
|
|
2208
|
+
/**
|
|
2209
|
+
* @internal
|
|
2210
|
+
* Gets the model name.
|
|
2211
|
+
*/
|
|
2212
|
+
get name() {
|
|
2213
|
+
return this._crtModel?.name;
|
|
2214
|
+
}
|
|
2215
|
+
/**
|
|
2216
|
+
* @internal
|
|
2217
|
+
*/
|
|
2218
|
+
static [_from](crtModel) {
|
|
2219
|
+
return new Model(crtModel);
|
|
2220
|
+
}
|
|
2105
2221
|
static async create(dataSchema) {
|
|
2106
2222
|
const crtModel = await this.instance._create({
|
|
2107
2223
|
type: 'crt.EntityDataSource',
|
|
@@ -2146,9 +2262,28 @@ __decorate([
|
|
|
2146
2262
|
__metadata("design:type", Function)
|
|
2147
2263
|
], Model.prototype, "_create", void 0);
|
|
2148
2264
|
|
|
2265
|
+
/**
|
|
2266
|
+
* @public
|
|
2267
|
+
* @classdesc Service to handling a way of tasks execution in Creatio plaform
|
|
2268
|
+
* @extends {BaseHandlerChainService}
|
|
2269
|
+
*/
|
|
2270
|
+
class CrtZoneService extends BaseHandlerChainService {
|
|
2271
|
+
constructor() {
|
|
2272
|
+
super(...arguments);
|
|
2273
|
+
/**
|
|
2274
|
+
* @internal
|
|
2275
|
+
*/
|
|
2276
|
+
this.requestType = 'crt.ZoneService';
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
__decorate([
|
|
2280
|
+
ImplementUsingHandlerChain(),
|
|
2281
|
+
__metadata("design:type", Function)
|
|
2282
|
+
], CrtZoneService.prototype, "runOutside", void 0);
|
|
2283
|
+
|
|
2149
2284
|
/**
|
|
2150
2285
|
* Generated bundle index. Do not edit.
|
|
2151
2286
|
*/
|
|
2152
2287
|
|
|
2153
|
-
export { BaseRequestHandler, BaseValidator, BootstrapNotifier, ConverterRegistry, CrtConverter, CrtDesignTimeViewElement, CrtInject, CrtInput, CrtInputRegistrationConfig, CrtInterfaceDesignerItem, CrtModule, CrtOutput, CrtRequest, CrtRequestHandler, CrtValidationInput, CrtValidator, CrtViewElement, DataRequest, DesignTimeViewElementRegistry, DesignerToolGroupType, FeatureService, HandlerChainService, HandlerChainServicesRegistry, HandlerSourceType, HandlersOrderComparer, HttpClientService, ImplementUsingHandlerChain, InterfaceDesignerItemRegistrationConfig, InterfaceDesignerItemRegistry, InternalRequestHandlerRegistry, InternalRequestHandlerRegistryType, LocalizableValue, MaskService, MethodInvokeRequest, Model, ModelInPageAction, PkgTopology, RemoteEntriesRegistry, RemoteEntryType, RequestHandlerRegistryService, RequestRegistryService, RightsService, SchemaViewMaskRequest, SchemaViewMaskRequestAction, SysSetting, SysSettingValue, SysSettingsService, SysValuesService, ValidatorMapValue, ValidatorRegistry, ViewElementDataGroupType, ViewElementGroupType, ViewElementRegistry, applyLocalizeMetadataFn, bootstrapCrtModule, bootstrapCrtModuleHandlerChainServices, checkCrtTypeNamePascalCase, checkIfTypeRegistered, checkOnlyOneRegistration, checkTypeNameFormat, checkTypeNamePascalCase, crtInjectPrefix, crtInputPrefix, crtOutputPrefix, crtValidationInputPrefix, designTimeViewElementRegistryKey, getConverterMetadata, getCrtInputsMetadata, getCrtOutputsMetadata, getCrtValidationInputsMetadata, getDesignTimeViewElementMetadata, getHandlerChainServiceMetadata, getInterfaceDesignerItemMetadata, getModuleMetadata, getRequestHandlerMetadata, getTypeDependencies, getValidatorMetadata, getViewElementMetadata, hasInterfaceDesignerItemMetadata, instantiate, interfaceDesignerItemRegistryKey, isComponentPropertyBindable, localize, objectDeepKeys, registerAngularViewElement, registerViewElement, setConverterMetadata, setDesignTimeViewElementMetadata, setInterfaceDesignerItemMetadata, setModuleMetadata, setRequestHandlerMetadata, setValidatorMetadata, setViewElementMetadata, toAggregationEval, toAggregationEvalType, toAggregationFunction, toAggregationType, toDatePart, toDatePartType, toNumericFunctionType, toOrderDirection, toPascalCase, toSortDirection, toStringFunctionType, validatorRegistryKey, viewElementRegistryKey, ɵBaseRegistry, ɵcheckTypeNameFormat, ɵinstantiate };
|
|
2288
|
+
export { BaseRequestHandler, BaseValidator, BootstrapNotifier, ConverterRegistry, CrtConverter, CrtDesignTimeViewElement, CrtInject, CrtInput, CrtInputRegistrationConfig, CrtInterfaceDesignerItem, CrtModule, CrtOutput, CrtRequest, CrtRequestHandler, CrtValidationInput, CrtValidator, CrtViewElement, CrtZoneService, DataRequest, DataSourceLoadType, DesignTimeViewElementRegistry, DesignerToolGroupType, FeatureService, HandlerChainService, HandlerChainServicesRegistry, HandlerSourceType, HandlersOrderComparer, HttpClientService, ImplementUsingHandlerChain, InterfaceDesignerItemRegistrationConfig, InterfaceDesignerItemRegistry, InternalRequestHandlerRegistry, InternalRequestHandlerRegistryType, LocalizableValue, MaskService, MethodInvokeRequest, Model, ModelInPageAction, PkgTopology, RemoteEntriesRegistry, RemoteEntryType, RequestHandlerRegistryService, RequestRegistryService, RightsService, SchemaViewMaskRequest, SchemaViewMaskRequestAction, SysSetting, SysSettingValue, SysSettingsService, SysValuesService, ValidatorMapValue, ValidatorRegistry, ViewElementDataGroupType, ViewElementGroupType, ViewElementRegistry, ViewElementReuseStrategy, _from, applyLocalizeMetadataFn, bootstrapCrtModule, bootstrapCrtModuleHandlerChainServices, checkCrtTypeNamePascalCase, checkIfTypeRegistered, checkOnlyOneRegistration, checkTypeNameFormat, checkTypeNamePascalCase, crtInjectPrefix, crtInputPrefix, crtOutputPrefix, crtValidationInputPrefix, designTimeViewElementRegistryKey, getConverterMetadata, getCrtInputsMetadata, getCrtOutputsMetadata, getCrtValidationInputsMetadata, getDesignTimeViewElementMetadata, getHandlerChainServiceMetadata, getInterfaceDesignerItemMetadata, getModuleMetadata, getRequestHandlerMetadata, getTypeDependencies, getValidatorMetadata, getViewElementMetadata, hasInterfaceDesignerItemMetadata, instantiate, interfaceDesignerItemRegistryKey, isComponentPropertyBindable, localize, objectDeepKeys, registerAngularViewElement, registerViewElement, setConverterMetadata, setDesignTimeViewElementMetadata, setInterfaceDesignerItemMetadata, setModuleMetadata, setRequestHandlerMetadata, setValidatorMetadata, setViewElementMetadata, toAggregationEval, toAggregationEvalType, toAggregationFunction, toAggregationType, toDatePart, toDatePartType, toNumericFunctionType, toOrderDirection, toPascalCase, toSortDirection, toStringFunctionType, validatorRegistryKey, viewElementRegistryKey, ɵBaseRegistry, ɵcheckTypeNameFormat, ɵinstantiate };
|
|
2154
2289
|
//# sourceMappingURL=creatio-devkit-common.mjs.map
|