@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
|
@@ -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 { __awaiter, __decorate, __metadata } from 'tslib';
|
|
4
4
|
import { get, set, upperFirst, camelCase, isEqual, cloneDeep } from 'lodash';
|
|
@@ -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 = Object.assign(Object.assign({}, ViewElementDataGroupType), ViewElementGroupType);
|
|
@@ -219,6 +222,7 @@ const DesignerToolGroupType = Object.assign(Object.assign({}, ViewElementDataGro
|
|
|
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
|
};
|
|
@@ -323,17 +331,29 @@ class HandlersOrderComparer {
|
|
|
323
331
|
|
|
324
332
|
/**
|
|
325
333
|
* @internal
|
|
334
|
+
* @hostPublicApi available through window.handlerChain
|
|
326
335
|
*/
|
|
327
336
|
class InternalHandlerChain {
|
|
328
337
|
constructor() {
|
|
329
338
|
this._handlers = [];
|
|
339
|
+
this._requestListeners = new Map();
|
|
330
340
|
this._handlersCache = new Map();
|
|
331
341
|
this._handlersScopesByContextId = new Map();
|
|
342
|
+
/**
|
|
343
|
+
* @hostPublicApi
|
|
344
|
+
*/
|
|
332
345
|
this.handlerChain$ = {
|
|
346
|
+
/**
|
|
347
|
+
* @hostPublicApi
|
|
348
|
+
*/
|
|
333
349
|
process: (request) => __awaiter(this, void 0, void 0, function* () {
|
|
334
350
|
const handler = this._getHandler(request);
|
|
351
|
+
this._requestListeners.forEach((listener) => listener === null || listener === void 0 ? void 0 : listener(request));
|
|
335
352
|
return handler === null || handler === void 0 ? void 0 : handler.handle(request);
|
|
336
353
|
}),
|
|
354
|
+
/**
|
|
355
|
+
* @hostPublicApi
|
|
356
|
+
*/
|
|
337
357
|
register: (info) => {
|
|
338
358
|
this._handlersCache.delete(info.requestType);
|
|
339
359
|
this._handlers.push(info);
|
|
@@ -348,8 +368,27 @@ class InternalHandlerChain {
|
|
|
348
368
|
}
|
|
349
369
|
};
|
|
350
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
* @hostPublicApi
|
|
373
|
+
*/
|
|
374
|
+
subscribe: (callback, context) => {
|
|
375
|
+
if (!callback) {
|
|
376
|
+
return () => void 0;
|
|
377
|
+
}
|
|
378
|
+
const listenerId = ɵgenerateGuid();
|
|
379
|
+
const listenerFn = (request) => {
|
|
380
|
+
if (!context || request.$context === context) {
|
|
381
|
+
callback(request);
|
|
382
|
+
}
|
|
383
|
+
};
|
|
384
|
+
this._requestListeners.set(listenerId, listenerFn);
|
|
385
|
+
return () => this._requestListeners.delete(listenerId);
|
|
386
|
+
},
|
|
351
387
|
};
|
|
352
388
|
}
|
|
389
|
+
/**
|
|
390
|
+
* @hostPublicApi
|
|
391
|
+
*/
|
|
353
392
|
clearContextedHandlersCache(contextId) {
|
|
354
393
|
var _a;
|
|
355
394
|
const configs = (_a = this._handlersScopesByContextId.get(contextId)) !== null && _a !== void 0 ? _a : [];
|
|
@@ -491,6 +530,18 @@ class HandlerChainService {
|
|
|
491
530
|
process(request) {
|
|
492
531
|
return this._chain.handlerChain$.process(request);
|
|
493
532
|
}
|
|
533
|
+
/**
|
|
534
|
+
* @internal
|
|
535
|
+
* Subscribes to requests.
|
|
536
|
+
* @param callback A handler function for each request triggered.
|
|
537
|
+
* @param context (optional) A context in which the requests were triggered.
|
|
538
|
+
* The `callback` will be called only for requests with specified context.
|
|
539
|
+
* If not specified, will be called for all requests.
|
|
540
|
+
* @returns A function to cancel the subscription.
|
|
541
|
+
*/
|
|
542
|
+
subscribe(callback, context) {
|
|
543
|
+
return this._chain.handlerChain$.subscribe(callback, context);
|
|
544
|
+
}
|
|
494
545
|
}
|
|
495
546
|
|
|
496
547
|
/**
|
|
@@ -591,23 +642,36 @@ function checkOnlyOneRegistration(type, item, map) {
|
|
|
591
642
|
var _a;
|
|
592
643
|
/**
|
|
593
644
|
* @internal
|
|
645
|
+
* @hostPublicApi available through window.creatio.requestHandlerRegistry
|
|
594
646
|
*/
|
|
595
647
|
class InternalRequestHandlerRegistryType {
|
|
648
|
+
/**
|
|
649
|
+
* @publicHostApi
|
|
650
|
+
*/
|
|
596
651
|
static get requestHandlersMap() {
|
|
597
652
|
return this._requestHandlersMap;
|
|
598
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
* @publicHostApi
|
|
656
|
+
*/
|
|
599
657
|
static onAddRequestHandler(handler) {
|
|
600
658
|
this._addItemListeners.push(handler);
|
|
601
659
|
return () => {
|
|
602
660
|
this._addItemListeners.splice(this._addItemListeners.indexOf(handler), 1);
|
|
603
661
|
};
|
|
604
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* @publicHostApi
|
|
665
|
+
*/
|
|
605
666
|
static onRemoveRequestHandler(handler) {
|
|
606
667
|
this._removeItemListeners.push(handler);
|
|
607
668
|
return () => {
|
|
608
669
|
this._removeItemListeners.splice(this._removeItemListeners.indexOf(handler), 1);
|
|
609
670
|
};
|
|
610
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @publicHostApi
|
|
674
|
+
*/
|
|
611
675
|
static addRequestHandler(handlerType, config) {
|
|
612
676
|
if (!this._requestHandlersMap.has(handlerType)) {
|
|
613
677
|
this._requestHandlersMap.set(handlerType, config);
|
|
@@ -616,6 +680,9 @@ class InternalRequestHandlerRegistryType {
|
|
|
616
680
|
}
|
|
617
681
|
}
|
|
618
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* @publicHostApi
|
|
685
|
+
*/
|
|
619
686
|
static removeRequestHandler(handlerType) {
|
|
620
687
|
const config = this._requestHandlersMap.get(handlerType);
|
|
621
688
|
if (config) {
|
|
@@ -700,6 +767,7 @@ RequestRegistryService._requestsRegistrationInfos = new Map();
|
|
|
700
767
|
|
|
701
768
|
/**
|
|
702
769
|
* @internal
|
|
770
|
+
* @hostPublicApi available through window.creatio.registry.ConverterRegistry
|
|
703
771
|
*/
|
|
704
772
|
class ConverterRegistry extends ɵBaseRegistry {
|
|
705
773
|
static get(type) {
|
|
@@ -726,6 +794,7 @@ ConverterRegistry.registryKey = 'ConverterRegistry';
|
|
|
726
794
|
const viewElementRegistryKey = 'ViewElementRegistry';
|
|
727
795
|
/**
|
|
728
796
|
* @internal
|
|
797
|
+
* @hostPublicApi available through window.creatio.registry.ValidatorRegistry
|
|
729
798
|
*/
|
|
730
799
|
class ViewElementRegistry extends ɵBaseRegistry {
|
|
731
800
|
static validate(config) {
|
|
@@ -752,6 +821,7 @@ ViewElementRegistry.registryKey = viewElementRegistryKey;
|
|
|
752
821
|
const interfaceDesignerItemRegistryKey = 'InterfaceDesignerItemRegistry';
|
|
753
822
|
/**
|
|
754
823
|
* @internal
|
|
824
|
+
* @hostPublicApi available through window.creatio.registry.InterfaceDesignerItemRegistry
|
|
755
825
|
*/
|
|
756
826
|
class InterfaceDesignerItemRegistry extends ɵBaseRegistry {
|
|
757
827
|
static validate(config) {
|
|
@@ -829,6 +899,7 @@ HandlerChainServicesRegistry.registryKey = 'HandlerChainServicesRegistry';
|
|
|
829
899
|
const designTimeViewElementRegistryKey = 'DesignTimeViewElementRegistry';
|
|
830
900
|
/**
|
|
831
901
|
* @internal
|
|
902
|
+
* @hostPublicApi available through window.creatio.registry.DesignTimeViewElementRegistry
|
|
832
903
|
*/
|
|
833
904
|
class DesignTimeViewElementRegistry extends ɵBaseRegistry {
|
|
834
905
|
static validate(config) {
|
|
@@ -863,6 +934,7 @@ class ValidatorMapValue {
|
|
|
863
934
|
const validatorRegistryKey = 'ValidatorRegistry';
|
|
864
935
|
/**
|
|
865
936
|
* @internal
|
|
937
|
+
* @hostPublicApi available through window.creatio.registry.ValidatorRegistry
|
|
866
938
|
*/
|
|
867
939
|
class ValidatorRegistry extends ɵBaseRegistry {
|
|
868
940
|
static _has(configType, type) {
|
|
@@ -1158,6 +1230,21 @@ class CrtInputRegistrationConfig {
|
|
|
1158
1230
|
class DataRequest extends ɵBaseRequest {
|
|
1159
1231
|
}
|
|
1160
1232
|
|
|
1233
|
+
/**
|
|
1234
|
+
* @internal
|
|
1235
|
+
*/
|
|
1236
|
+
var ViewElementReuseStrategy;
|
|
1237
|
+
(function (ViewElementReuseStrategy) {
|
|
1238
|
+
/**
|
|
1239
|
+
* Reuse early created view element when it state changed
|
|
1240
|
+
*/
|
|
1241
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Reuse"] = 0] = "Reuse";
|
|
1242
|
+
/**
|
|
1243
|
+
* Rerender(recreate) view element when it state changed
|
|
1244
|
+
*/
|
|
1245
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Rerender"] = 1] = "Rerender";
|
|
1246
|
+
})(ViewElementReuseStrategy || (ViewElementReuseStrategy = {}));
|
|
1247
|
+
|
|
1161
1248
|
/**
|
|
1162
1249
|
* @public
|
|
1163
1250
|
* @description Abstract Base Validator class for designing custom validators.
|
|
@@ -1245,6 +1332,7 @@ function applyLocalizeMetadataFn(obj, localizeMetadata) {
|
|
|
1245
1332
|
/**
|
|
1246
1333
|
* @internal
|
|
1247
1334
|
*/
|
|
1335
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1248
1336
|
function CrtDesignTimeViewElement(config) {
|
|
1249
1337
|
return function (type) {
|
|
1250
1338
|
const registrationConfig = Object.assign(Object.assign({}, config), { typeRef: type });
|
|
@@ -1266,6 +1354,7 @@ function CrtRequest(config) {
|
|
|
1266
1354
|
|
|
1267
1355
|
/**
|
|
1268
1356
|
* @internal
|
|
1357
|
+
* @hostPublicApi
|
|
1269
1358
|
*/
|
|
1270
1359
|
class InterfaceDesignerItemRegistrationConfig {
|
|
1271
1360
|
}
|
|
@@ -1493,6 +1582,16 @@ function CrtConverter(config) {
|
|
|
1493
1582
|
};
|
|
1494
1583
|
}
|
|
1495
1584
|
|
|
1585
|
+
/**
|
|
1586
|
+
* @internal
|
|
1587
|
+
*/
|
|
1588
|
+
var DataSourceLoadType;
|
|
1589
|
+
(function (DataSourceLoadType) {
|
|
1590
|
+
DataSourceLoadType["LoadNext"] = "loadNext";
|
|
1591
|
+
DataSourceLoadType["Load"] = "load";
|
|
1592
|
+
DataSourceLoadType["Reload"] = "reload";
|
|
1593
|
+
})(DataSourceLoadType || (DataSourceLoadType = {}));
|
|
1594
|
+
|
|
1496
1595
|
/**
|
|
1497
1596
|
* @public
|
|
1498
1597
|
* @description Function allows to register user-defined component as view element in Creatio platform.
|
|
@@ -2072,6 +2171,10 @@ __decorate([
|
|
|
2072
2171
|
__metadata("design:type", Function)
|
|
2073
2172
|
], MaskService.prototype, "hideBodyMask", void 0);
|
|
2074
2173
|
|
|
2174
|
+
/**
|
|
2175
|
+
* @internal
|
|
2176
|
+
*/
|
|
2177
|
+
const _from = Symbol('CreateModelFrom');
|
|
2075
2178
|
/**
|
|
2076
2179
|
* @public
|
|
2077
2180
|
*/
|
|
@@ -2090,6 +2193,20 @@ class Model extends BaseHandlerChainService {
|
|
|
2090
2193
|
}
|
|
2091
2194
|
return this._instance;
|
|
2092
2195
|
}
|
|
2196
|
+
/**
|
|
2197
|
+
* @internal
|
|
2198
|
+
* Gets the model name.
|
|
2199
|
+
*/
|
|
2200
|
+
get name() {
|
|
2201
|
+
var _a;
|
|
2202
|
+
return (_a = this._crtModel) === null || _a === void 0 ? void 0 : _a.name;
|
|
2203
|
+
}
|
|
2204
|
+
/**
|
|
2205
|
+
* @internal
|
|
2206
|
+
*/
|
|
2207
|
+
static [_from](crtModel) {
|
|
2208
|
+
return new Model(crtModel);
|
|
2209
|
+
}
|
|
2093
2210
|
static create(dataSchema) {
|
|
2094
2211
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2095
2212
|
const crtModel = yield this.instance._create({
|
|
@@ -2136,9 +2253,28 @@ __decorate([
|
|
|
2136
2253
|
__metadata("design:type", Function)
|
|
2137
2254
|
], Model.prototype, "_create", void 0);
|
|
2138
2255
|
|
|
2256
|
+
/**
|
|
2257
|
+
* @public
|
|
2258
|
+
* @classdesc Service to handling a way of tasks execution in Creatio plaform
|
|
2259
|
+
* @extends {BaseHandlerChainService}
|
|
2260
|
+
*/
|
|
2261
|
+
class CrtZoneService extends BaseHandlerChainService {
|
|
2262
|
+
constructor() {
|
|
2263
|
+
super(...arguments);
|
|
2264
|
+
/**
|
|
2265
|
+
* @internal
|
|
2266
|
+
*/
|
|
2267
|
+
this.requestType = 'crt.ZoneService';
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
__decorate([
|
|
2271
|
+
ImplementUsingHandlerChain(),
|
|
2272
|
+
__metadata("design:type", Function)
|
|
2273
|
+
], CrtZoneService.prototype, "runOutside", void 0);
|
|
2274
|
+
|
|
2139
2275
|
/**
|
|
2140
2276
|
* Generated bundle index. Do not edit.
|
|
2141
2277
|
*/
|
|
2142
2278
|
|
|
2143
|
-
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 };
|
|
2279
|
+
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 };
|
|
2144
2280
|
//# sourceMappingURL=creatio-devkit-common.mjs.map
|