@creatio-devkit/common 0.811.1 → 0.813.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/esm2020/lib/base-exports.mjs +4 -2
  3. package/esm2020/lib/external/models/index.mjs +1 -2
  4. package/esm2020/lib/internal/constants/default-size.const.mjs +5 -0
  5. package/esm2020/lib/internal/constants/index.mjs +2 -1
  6. package/esm2020/lib/internal/decorators/request/request.decorator.mjs +1 -1
  7. package/esm2020/lib/internal/enums/index.mjs +1 -2
  8. package/esm2020/lib/internal/models/attribute-property-config.interface.mjs +2 -0
  9. package/esm2020/lib/internal/models/converter/converter-registry-item.mjs +1 -1
  10. package/esm2020/lib/internal/models/index.mjs +4 -1
  11. package/esm2020/lib/internal/models/internal-interface-designer-item-registration-config.model.mjs +1 -1
  12. package/esm2020/lib/internal/models/internal-module-definition.mjs +2 -0
  13. package/esm2020/lib/internal/models/lazy-module-metadata.mjs +2 -0
  14. package/esm2020/lib/internal/models/lazy-module-ref.mjs +23 -0
  15. package/esm2020/lib/internal/models/lazy-registry-item.mjs +2 -0
  16. package/esm2020/lib/internal/models/request-handler/handler-config.mjs +1 -1
  17. package/esm2020/lib/internal/models/request-handler/request-handler-registration-config.model.mjs +1 -1
  18. package/esm2020/lib/internal/models/validator/validator-registry-item.mjs +1 -1
  19. package/esm2020/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +1 -1
  20. package/esm2020/lib/internal/models/view-element-registry-item.mjs +1 -1
  21. package/esm2020/lib/internal/services/global-converters-registry/converter-registry.mjs +9 -2
  22. package/esm2020/lib/internal/services/index.mjs +2 -1
  23. package/esm2020/lib/internal/services/lazy-modules-manager/index.mjs +2 -0
  24. package/esm2020/lib/internal/services/lazy-modules-manager/lazy-modules-manager.mjs +32 -0
  25. package/esm2020/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +18 -5
  26. package/esm2020/lib/internal/services/request-registry/request-registry.service.mjs +1 -1
  27. package/esm2020/lib/internal/services/validator-registry/validator-registry.mjs +11 -3
  28. package/esm2020/lib/internal/services/view-element-registry/view-element-registry.mjs +34 -2
  29. package/esm2020/lib/internal/utils/index.mjs +2 -1
  30. package/esm2020/lib/internal/utils/metadata-utils.mjs +1 -1
  31. package/esm2020/lib/internal/utils/request-handler-scopes.mjs +10 -0
  32. package/esm2020/lib/public/decorators/module/module.decorator.mjs +2 -18
  33. package/esm2020/lib/public/decorators/view-element/view-element.decorator.mjs +7 -1
  34. package/esm2020/lib/public/enums/index.mjs +2 -1
  35. package/esm2020/lib/public/enums/view-element-property.enum.mjs +9 -0
  36. package/esm2020/lib/public/functions/bootstrap-crt-module-handler-chain-services.mjs +6 -2
  37. package/esm2020/lib/public/functions/bootstrap-crt-module.mjs +92 -4
  38. package/esm2020/lib/public/functions/index.mjs +2 -1
  39. package/esm2020/lib/public/functions/reset-globals.mjs +35 -0
  40. package/esm2020/lib/public/models/index.mjs +2 -1
  41. package/esm2020/lib/public/models/input/input-registration-config.model.mjs +1 -1
  42. package/esm2020/lib/public/models/license/index.mjs +2 -0
  43. package/esm2020/lib/public/models/license/license-restriction-operation-values.model.mjs +2 -0
  44. package/esm2020/lib/public/models/request/index.mjs +1 -2
  45. package/esm2020/lib/public/models/view-element/base-view-element-registration-config.mjs +1 -1
  46. package/esm2020/lib/public/models/view-element/index.mjs +2 -1
  47. package/esm2020/lib/public/models/view-element/view-element-visibility-strategy.mjs +16 -0
  48. package/esm2020/lib/public/services/handler-chain/handler-chain.service.mjs +13 -1
  49. package/esm2020/lib/public/services/handler-chain/internal-handler-chain.mjs +43 -11
  50. package/esm2020/lib/public/services/index.mjs +2 -1
  51. package/esm2020/lib/public/services/license/index.mjs +2 -0
  52. package/esm2020/lib/public/services/license/license.service.mjs +22 -0
  53. package/esm2020/lib/public/services/mask-service/index.mjs +1 -2
  54. package/esm2020/lib/public/services/mask-service/mask.service.mjs +2 -2
  55. package/esm2020/lib/public/services/model/model.mjs +4 -1
  56. package/fesm2015/creatio-devkit-common.mjs +353 -70
  57. package/fesm2015/creatio-devkit-common.mjs.map +1 -1
  58. package/fesm2020/creatio-devkit-common.mjs +361 -69
  59. package/fesm2020/creatio-devkit-common.mjs.map +1 -1
  60. package/index.d.ts +79 -7
  61. package/package.json +4 -4
  62. package/esm2020/lib/external/models/model-init-config.mjs +0 -2
  63. package/esm2020/lib/internal/enums/model-in-page-action.enum.mjs +0 -10
  64. package/esm2020/lib/public/models/request/request-registration-config.model.mjs +0 -2
  65. package/esm2020/lib/public/services/mask-service/schema-view-mask.request.mjs +0 -22
@@ -1,5 +1,5 @@
1
- import { ɵAggregationType, ɵAggregationFunction, ɵAggregationEvalType, ɵDatePartType, ɵFunctionType, ɵOrderDirection, ɵgenerateGuid, ɵNextHandlerAlreadySpecifiedException, ɵBaseRequest } from '@creatio/base';
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';
1
+ import { ɵAggregationType, ɵAggregationFunction, ɵAggregationEvalType, ɵDatePartType, ɵFunctionType, ɵOrderDirection, ɵgenerateGuid, ɵNextHandlerAlreadySpecifiedException, ɵBaseRequest, ɵSchemaViewMaskRequest, ɵSchemaViewMaskRequestAction } from '@creatio/base';
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, ɵModelInPageAction as ModelInPageAction, ɵModelParameterType as ModelParameterType, ɵNextHandlerAlreadySpecifiedException as NextHandlerAlreadySpecifiedException, ɵOrderDirection as OrderDirection, ɵParameterExpression as ParameterExpression, ɵParameterQueryColumn as ParameterQueryColumn, ɵQueryMacrosType as QueryMacrosType, ɵQueryOperationType as QueryOperationType, ɵSchemaViewMaskRequest as SchemaViewMaskRequest, ɵSchemaViewMaskRequestAction as SchemaViewMaskRequestAction, ɵ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';
5
5
  import 'reflect-metadata';
@@ -191,6 +191,42 @@ const crtValidationInputPrefix = 'crtValidationInput:';
191
191
  */
192
192
  const crtInjectPrefix = 'crtInject:';
193
193
 
194
+ /**
195
+ * @internal
196
+ */
197
+ const VIEW_ELEMENT_DEFAULT_HEIGHT = '39px';
198
+
199
+ /**
200
+ * @internal
201
+ */
202
+ class LazyModulesManager {
203
+ constructor() {
204
+ this._refs = new Set();
205
+ this.lazyLoadingDisabled = false;
206
+ }
207
+ static get instance() {
208
+ if (!this._instance) {
209
+ let globalInstance = get(window, this._globalInstancePath);
210
+ if (!globalInstance) {
211
+ globalInstance = new this();
212
+ set(window, this._globalInstancePath, globalInstance);
213
+ }
214
+ this._instance = globalInstance;
215
+ }
216
+ return this._instance;
217
+ }
218
+ add(ref) {
219
+ this._refs.add(ref);
220
+ }
221
+ loadAll() {
222
+ return Promise.all(Array.from(this._refs).map((ref) => ref.loadAndBootstrap()));
223
+ }
224
+ clear() {
225
+ this._refs.clear();
226
+ }
227
+ }
228
+ LazyModulesManager._globalInstancePath = 'creatio._lazyModulesManager';
229
+
194
230
  /**
195
231
  * @internal
196
232
  * @hostPublicApi
@@ -231,16 +267,6 @@ var HandlerSourceType;
231
267
  HandlerSourceType[HandlerSourceType["Host"] = 2] = "Host";
232
268
  })(HandlerSourceType || (HandlerSourceType = {}));
233
269
 
234
- /**
235
- * @internal
236
- */
237
- var ModelInPageAction;
238
- (function (ModelInPageAction) {
239
- ModelInPageAction["Edit"] = "edit";
240
- ModelInPageAction["Add"] = "add";
241
- ModelInPageAction["Copy"] = "copy";
242
- })(ModelInPageAction || (ModelInPageAction = {}));
243
-
244
270
  const global$3 = window;
245
271
  /**
246
272
  * @public
@@ -329,6 +355,16 @@ class HandlersOrderComparer {
329
355
  }
330
356
  }
331
357
 
358
+ /**
359
+ * @internal
360
+ */
361
+ function matchScopes(handlerScopes, requestScopes) {
362
+ if (!(handlerScopes === null || handlerScopes === void 0 ? void 0 : handlerScopes.length)) {
363
+ return true;
364
+ }
365
+ return handlerScopes.some((s) => requestScopes === null || requestScopes === void 0 ? void 0 : requestScopes.includes(s));
366
+ }
367
+
332
368
  /**
333
369
  * @internal
334
370
  * @hostPublicApi available through window.handlerChain
@@ -347,7 +383,17 @@ class InternalHandlerChain {
347
383
  * @hostPublicApi
348
384
  */
349
385
  process: (request) => __awaiter(this, void 0, void 0, function* () {
350
- const handler = this._getHandler(request);
386
+ let handler;
387
+ if (this._hasCacheHandler(request)) {
388
+ handler = this._getCacheHandler(request);
389
+ }
390
+ else {
391
+ const handlers = this._getMatchedHandlers(request);
392
+ if (!LazyModulesManager.instance.lazyLoadingDisabled) {
393
+ yield this._loadLazyHandlers(handlers);
394
+ }
395
+ handler = this._buildHandlersChain(request, handlers);
396
+ }
351
397
  this._requestListeners.forEach((listener) => listener === null || listener === void 0 ? void 0 : listener(request));
352
398
  return handler === null || handler === void 0 ? void 0 : handler.handle(request);
353
399
  }),
@@ -368,6 +414,15 @@ class InternalHandlerChain {
368
414
  }
369
415
  };
370
416
  },
417
+ /**
418
+ * @hostPublicApi
419
+ */
420
+ update: (updatedInfo) => {
421
+ const config = this._handlers.find((h) => h.type === updatedInfo.type);
422
+ if (config) {
423
+ config.createHandler = updatedInfo.createHandler;
424
+ }
425
+ },
371
426
  /**
372
427
  * @hostPublicApi
373
428
  */
@@ -394,8 +449,11 @@ class InternalHandlerChain {
394
449
  const configs = (_a = this._handlersScopesByContextId.get(contextId)) !== null && _a !== void 0 ? _a : [];
395
450
  return configs.every(({ requestType, scope }) => { var _a; return (_a = this._handlersCache.get(requestType)) === null || _a === void 0 ? void 0 : _a.delete(scope); });
396
451
  }
397
- _getHandler(request) {
398
- return this._hasCacheHandler(request) ? this._getCacheHandler(request) : this._buildHandlersChain(request);
452
+ clear() {
453
+ this._handlers.splice(0);
454
+ this._requestListeners.clear();
455
+ this._handlersCache.clear();
456
+ this._handlersScopesByContextId.clear();
399
457
  }
400
458
  _getCacheHandler(request) {
401
459
  const map = this._handlersCache.get(request.type);
@@ -446,22 +504,31 @@ class InternalHandlerChain {
446
504
  throw new Error('Handler should implement "BaseRequestHandler"');
447
505
  }
448
506
  }
449
- _buildHandlersChain(request) {
450
- const handlers = this._handlers.filter((h) => {
451
- var _a;
507
+ _loadLazyHandlers(configs) {
508
+ return __awaiter(this, void 0, void 0, function* () {
509
+ const lazyModules = new Set();
510
+ configs.forEach((config) => {
511
+ if (config.lazy && !config.createHandler) {
512
+ lazyModules.add(config.lazyModuleRef);
513
+ }
514
+ });
515
+ yield Promise.all(Array.from(lazyModules).map((m) => m.loadAndBootstrap()));
516
+ });
517
+ }
518
+ _getMatchedHandlers(request) {
519
+ return this._handlers.filter((h) => {
452
520
  if (h.requestType !== request.type) {
453
521
  return false;
454
522
  }
455
- if (!((_a = h.scopes) === null || _a === void 0 ? void 0 : _a.length)) {
456
- return true;
457
- }
458
- return h.scopes.some((s) => { var _a; return (_a = request.scopes) === null || _a === void 0 ? void 0 : _a.includes(s); });
523
+ return matchScopes(h.scopes, request.scopes);
459
524
  });
525
+ }
526
+ _buildHandlersChain(request, handlers) {
460
527
  const comparer = new HandlersOrderComparer(request);
461
528
  handlers.sort((a, b) => comparer.compare(a, b));
462
529
  const handlerInstances = handlers.map((handlerConfig) => {
463
530
  const injectionContext = this._getInjectionContext(request === null || request === void 0 ? void 0 : request.$context);
464
- return handlerConfig.createHandler(injectionContext);
531
+ return handlerConfig.createHandler.call(handlerConfig, injectionContext);
465
532
  });
466
533
  handlerInstances.forEach((handler) => this._checkHandlerInstanceOf(handler));
467
534
  this._joinHandlersInChain(handlerInstances);
@@ -522,6 +589,12 @@ class HandlerChainService {
522
589
  register(handlerConfig) {
523
590
  return this._chain.handlerChain$.register(handlerConfig);
524
591
  }
592
+ /**
593
+ * @internal
594
+ */
595
+ update(handlerConfig) {
596
+ return this._chain.handlerChain$.update(handlerConfig);
597
+ }
525
598
  /**
526
599
  * @description Method to process passed request
527
600
  * @param request - {@link ɵBaseRequest}
@@ -542,6 +615,12 @@ class HandlerChainService {
542
615
  subscribe(callback, context) {
543
616
  return this._chain.handlerChain$.subscribe(callback, context);
544
617
  }
618
+ /**
619
+ * @internal
620
+ */
621
+ clear() {
622
+ this._chain.clear();
623
+ }
545
624
  }
546
625
 
547
626
  /**
@@ -673,10 +752,16 @@ class InternalRequestHandlerRegistryType {
673
752
  * @publicHostApi
674
753
  */
675
754
  static addRequestHandler(handlerType, config) {
676
- if (!this._requestHandlersMap.has(handlerType)) {
677
- this._requestHandlersMap.set(handlerType, config);
755
+ var _a, _b;
756
+ const existingHandler = this._requestHandlersMap.get(handlerType);
757
+ if (!existingHandler || (((_a = existingHandler.instanceConfig) === null || _a === void 0 ? void 0 : _a.lazy) && !existingHandler.instanceType)) {
758
+ const mergedConfig = {
759
+ instanceType: config.instanceType,
760
+ instanceConfig: Object.assign(Object.assign({}, ((_b = existingHandler === null || existingHandler === void 0 ? void 0 : existingHandler.instanceConfig) !== null && _b !== void 0 ? _b : {})), config.instanceConfig),
761
+ };
762
+ this._requestHandlersMap.set(handlerType, mergedConfig);
678
763
  for (const listener of this._addItemListeners) {
679
- listener(handlerType, config);
764
+ listener(handlerType, mergedConfig);
680
765
  }
681
766
  }
682
767
  }
@@ -692,6 +777,11 @@ class InternalRequestHandlerRegistryType {
692
777
  }
693
778
  }
694
779
  }
780
+ static clear() {
781
+ for (const type of this._requestHandlersMap.keys()) {
782
+ this.removeRequestHandler(type);
783
+ }
784
+ }
695
785
  }
696
786
  InternalRequestHandlerRegistryType._addItemListeners = [];
697
787
  InternalRequestHandlerRegistryType._removeItemListeners = [];
@@ -708,7 +798,7 @@ if (!global$1.creatio.requestHandlerRegistry) {
708
798
  * @internal
709
799
  */
710
800
  // eslint-disable-next-line @typescript-eslint/naming-convention
711
- const InternalRequestHandlerRegistry = InternalRequestHandlerRegistryType;
801
+ const InternalRequestHandlerRegistry = global$1.creatio.requestHandlerRegistry;
712
802
  /**
713
803
  * @internal
714
804
  */
@@ -770,6 +860,9 @@ RequestRegistryService._requestsRegistrationInfos = new Map();
770
860
  * @hostPublicApi available through window.creatio.registry.ConverterRegistry
771
861
  */
772
862
  class ConverterRegistry extends ɵBaseRegistry {
863
+ static has(type) {
864
+ return this.store.typeInfos.has(type);
865
+ }
773
866
  static get(type) {
774
867
  if (!this.store.typeInfos.has(type)) {
775
868
  throw new Error(`'${type}' converter doesn't exist`);
@@ -780,7 +873,8 @@ class ConverterRegistry extends ɵBaseRegistry {
780
873
  checkTypeNameFormat(item.type, 'ConverterTypeName');
781
874
  checkCrtTypeNamePascalCase(item.type);
782
875
  // TODO RND-21723
783
- this.store.typeInfos.set(item.type, item);
876
+ const existingItem = this.store.typeInfos.get(item.type);
877
+ this.store.typeInfos.set(item.type, Object.assign(Object.assign({}, (existingItem !== null && existingItem !== void 0 ? existingItem : {})), item));
784
878
  }
785
879
  static clear() {
786
880
  this.store.typeInfos.clear();
@@ -799,19 +893,51 @@ const viewElementRegistryKey = 'ViewElementRegistry';
799
893
  class ViewElementRegistry extends ɵBaseRegistry {
800
894
  static validate(config) {
801
895
  checkTypeNameFormat(config.type, 'ViewElementTypeName');
896
+ const existingItem = ViewElementRegistry.viewElements.get(config.type);
897
+ if ((existingItem === null || existingItem === void 0 ? void 0 : existingItem.lazy) && !('selector' in existingItem) && !existingItem.typeRef) {
898
+ return;
899
+ }
802
900
  checkOnlyOneRegistration(config.type, config, ViewElementRegistry.viewElements);
803
901
  }
804
902
  static get viewElements() {
805
903
  return this.store.typeInfos;
806
904
  }
807
905
  static register(config) {
808
- this.viewElements.set(config.type, config);
906
+ const existingConfig = this.viewElements.get(config.type);
907
+ this.viewElements.set(config.type, Object.assign(Object.assign({}, (existingConfig !== null && existingConfig !== void 0 ? existingConfig : {})), config));
809
908
  }
810
909
  static getFormControlRelatesAttribute(type) {
811
910
  var _a;
812
911
  const config = this.store.typeInfos.get(type);
813
912
  return (config && 'formControlConfig' in config && ((_a = config.formControlConfig) === null || _a === void 0 ? void 0 : _a.relatesTo)) || null;
814
913
  }
914
+ static getViewElementInputs(type) {
915
+ var _a;
916
+ const config = this.store.typeInfos.get(type);
917
+ return (_a = config === null || config === void 0 ? void 0 : config.inputs) !== null && _a !== void 0 ? _a : {};
918
+ }
919
+ static getViewElementOutputs(type) {
920
+ var _a;
921
+ const config = this.store.typeInfos.get(type);
922
+ return (_a = config === null || config === void 0 ? void 0 : config.outputs) !== null && _a !== void 0 ? _a : {};
923
+ }
924
+ static getViewElementPropertiesDefaultValues(type) {
925
+ var _a;
926
+ const config = this.store.typeInfos.get(type);
927
+ const propertiesDefaultValues = Object.entries((_a = config === null || config === void 0 ? void 0 : config.inputs) !== null && _a !== void 0 ? _a : {})
928
+ .filter(([_, inputConfig]) => Object.prototype.hasOwnProperty.call(inputConfig, 'defaultValue'))
929
+ .map(([propertyName, propertyConfig]) => ({
930
+ name: propertyName,
931
+ defaultValue: propertyConfig.defaultValue,
932
+ }));
933
+ return [
934
+ ...propertiesDefaultValues,
935
+ {
936
+ name: 'visible',
937
+ defaultValue: true,
938
+ },
939
+ ];
940
+ }
815
941
  }
816
942
  ViewElementRegistry.registryKey = viewElementRegistryKey;
817
943
 
@@ -939,11 +1065,15 @@ const validatorRegistryKey = 'ValidatorRegistry';
939
1065
  class ValidatorRegistry extends ɵBaseRegistry {
940
1066
  static _has(configType, type) {
941
1067
  var _a;
1068
+ const config = ValidatorRegistry.items.get(configType);
1069
+ if ((config === null || config === void 0 ? void 0 : config.lazy) && !(config === null || config === void 0 ? void 0 : config.typeRef)) {
1070
+ return false;
1071
+ }
942
1072
  return ValidatorRegistry.items.has(configType) && ((_a = ValidatorRegistry.items.get(configType)) === null || _a === void 0 ? void 0 : _a.typeRef) !== type;
943
1073
  }
944
1074
  static validate(config) {
945
1075
  checkTypeNameFormat(config.type, 'ValidatorTypeName');
946
- if (ValidatorRegistry._has(config.type, config.typeRef)) {
1076
+ if (config.typeRef && ValidatorRegistry._has(config.type, config.typeRef)) {
947
1077
  throw new Error(`Error when register ${config.type}. Element with this type has already exist`);
948
1078
  }
949
1079
  }
@@ -951,7 +1081,8 @@ class ValidatorRegistry extends ɵBaseRegistry {
951
1081
  return this.store.typeInfos;
952
1082
  }
953
1083
  static register(config) {
954
- this.items.set(config.type, config);
1084
+ const existingConfig = this.items.get(config.type);
1085
+ this.items.set(config.type, Object.assign(Object.assign({}, (existingConfig !== null && existingConfig !== void 0 ? existingConfig : {})), config));
955
1086
  }
956
1087
  }
957
1088
  ValidatorRegistry.registryKey = validatorRegistryKey;
@@ -1245,6 +1376,22 @@ var ViewElementReuseStrategy;
1245
1376
  ViewElementReuseStrategy[ViewElementReuseStrategy["Rerender"] = 1] = "Rerender";
1246
1377
  })(ViewElementReuseStrategy || (ViewElementReuseStrategy = {}));
1247
1378
 
1379
+ /**
1380
+ * @internal
1381
+ * @description Visibility strategy for view element.
1382
+ */
1383
+ var ViewElementVisibilityStrategy;
1384
+ (function (ViewElementVisibilityStrategy) {
1385
+ /**
1386
+ * @description Default visibility strategy.
1387
+ */
1388
+ ViewElementVisibilityStrategy["Default"] = "default";
1389
+ /**
1390
+ * @description On demand visibility strategy.
1391
+ */
1392
+ ViewElementVisibilityStrategy["OnDemand"] = "on-demand";
1393
+ })(ViewElementVisibilityStrategy || (ViewElementVisibilityStrategy = {}));
1394
+
1248
1395
  /**
1249
1396
  * @public
1250
1397
  * @description Abstract Base Validator class for designing custom validators.
@@ -1379,6 +1526,29 @@ var RemoteEntryType;
1379
1526
  RemoteEntryType["Module"] = "module";
1380
1527
  })(RemoteEntryType || (RemoteEntryType = {}));
1381
1528
 
1529
+ /**
1530
+ * @internal
1531
+ */
1532
+ class LazyModuleRef {
1533
+ get typeRef() {
1534
+ return this._typeRef;
1535
+ }
1536
+ constructor(_metadata, _bootstrapFn) {
1537
+ this._metadata = _metadata;
1538
+ this._bootstrapFn = _bootstrapFn;
1539
+ }
1540
+ loadAndBootstrap() {
1541
+ if (!this._modulePromise) {
1542
+ this._modulePromise = this._metadata.load().then((type) => {
1543
+ this._typeRef = type;
1544
+ this._bootstrapFn(type);
1545
+ return type;
1546
+ });
1547
+ }
1548
+ return this._modulePromise;
1549
+ }
1550
+ }
1551
+
1382
1552
  /**
1383
1553
  * @public
1384
1554
  * @description Creatio platform interacts with input's of user-defined component through CrtInput decorator.
@@ -1450,6 +1620,7 @@ function CrtValidationInput() {
1450
1620
  // eslint-disable-next-line @typescript-eslint/naming-convention
1451
1621
  function CrtViewElement(config) {
1452
1622
  return function (type) {
1623
+ var _a, _b;
1453
1624
  checkTypeNamePascalCase(config.type);
1454
1625
  const inputs = getCrtInputsMetadata(type);
1455
1626
  const outputs = getCrtOutputsMetadata(type);
@@ -1459,28 +1630,16 @@ function CrtViewElement(config) {
1459
1630
  validationInputs });
1460
1631
  const registrationConfig = 'selector' in config
1461
1632
  ? Object.assign(Object.assign({}, baseRegistrationConfig), { selector: config.selector }) : Object.assign(Object.assign({}, baseRegistrationConfig), { typeRef: type });
1633
+ registrationConfig.reuseStrategy = (_a = config === null || config === void 0 ? void 0 : config.reuseStrategy) !== null && _a !== void 0 ? _a : ViewElementReuseStrategy.Rerender;
1634
+ registrationConfig.defaultSize = (_b = config.defaultSize) !== null && _b !== void 0 ? _b : {
1635
+ height: VIEW_ELEMENT_DEFAULT_HEIGHT,
1636
+ };
1462
1637
  setViewElementMetadata(registrationConfig, type);
1463
1638
  };
1464
1639
  }
1465
1640
 
1466
1641
  /**
1467
- * @public
1468
- * @description CrtModule decorator is a 'container' where user actually setup elements.
1469
- * In could contain viewElements, definitions of other CrtModules.
1470
- * @param moduleDefinition - {@link ModuleDefinition}
1471
- *
1472
- * @example
1473
- * @CrtModule({
1474
- * viewElements: [AppComponent],
1475
- * requestHandlers: [SomeRequestHandler],
1476
- * validators: [SomeValidator],
1477
- * })
1478
- * @NgModule({
1479
- * declarations: [AppComponent],
1480
- * imports: [BrowserModule],
1481
- * providers: [],
1482
- * })
1483
- * export class AppModule {}
1642
+ * @internal
1484
1643
  */
1485
1644
  function CrtModule(moduleDefinition) {
1486
1645
  return (type) => setModuleMetadata(moduleDefinition, type);
@@ -1592,6 +1751,15 @@ var DataSourceLoadType;
1592
1751
  DataSourceLoadType["Reload"] = "reload";
1593
1752
  })(DataSourceLoadType || (DataSourceLoadType = {}));
1594
1753
 
1754
+ /**
1755
+ * @internal
1756
+ */
1757
+ var ViewElementProperty;
1758
+ (function (ViewElementProperty) {
1759
+ ViewElementProperty["Readonly"] = "READONLY_PROPERTY";
1760
+ ViewElementProperty["Disabled"] = "DISABLED_PROPERTY";
1761
+ })(ViewElementProperty || (ViewElementProperty = {}));
1762
+
1595
1763
  /**
1596
1764
  * @public
1597
1765
  * @description Function allows to register user-defined component as view element in Creatio platform.
@@ -1649,6 +1817,16 @@ function registerViewElements(types) {
1649
1817
  ViewElementRegistry.register(registrationConfig);
1650
1818
  });
1651
1819
  }
1820
+ /**
1821
+ * @internal
1822
+ */
1823
+ function registerLazyViewElements(configs, lazyModuleRef) {
1824
+ resistantForEach(configs, (config) => {
1825
+ const registryItem = Object.assign(Object.assign({}, config), { lazy: true, lazyModuleRef });
1826
+ ViewElementRegistry.validate(registryItem);
1827
+ ViewElementRegistry.register(registryItem);
1828
+ });
1829
+ }
1652
1830
  /**
1653
1831
  * @internal
1654
1832
  */
@@ -1691,6 +1869,16 @@ function registerValidators(types, options) {
1691
1869
  ValidatorRegistry.register(registrationConfig);
1692
1870
  });
1693
1871
  }
1872
+ /**
1873
+ * @internal
1874
+ */
1875
+ function registerLazyValidators(configs, lazyModuleRef) {
1876
+ resistantForEach(configs, (config) => {
1877
+ const registryItem = Object.assign(Object.assign({}, config), { lazy: true, lazyModuleRef });
1878
+ ValidatorRegistry.validate(registryItem);
1879
+ ValidatorRegistry.register(registryItem);
1880
+ });
1881
+ }
1694
1882
  /**
1695
1883
  * @internal
1696
1884
  */
@@ -1706,6 +1894,15 @@ function registerConverters(types, options) {
1706
1894
  ConverterRegistry.register(registrationConfig);
1707
1895
  });
1708
1896
  }
1897
+ /**
1898
+ * @internal
1899
+ */
1900
+ function registerLazyConverters(descriptors, lazyModuleRef) {
1901
+ resistantForEach(descriptors, (descriptor) => {
1902
+ const registryItem = Object.assign(Object.assign({}, descriptor), { lazy: true, lazyModuleRef });
1903
+ ConverterRegistry.register(registryItem);
1904
+ });
1905
+ }
1709
1906
  /**
1710
1907
  * @internal
1711
1908
  */
@@ -1736,6 +1933,54 @@ function registerRequestHandlers(types, options, remoteName) {
1736
1933
  RequestHandlerRegistryService.register(registrationConfig, type);
1737
1934
  });
1738
1935
  }
1936
+ /**
1937
+ * @internal
1938
+ */
1939
+ function registerLazyRequestHandlers(descriptors, options, remoteName, lazyModuleRef) {
1940
+ resistantForEach(descriptors, (descriptor) => {
1941
+ const registrationConfig = Object.assign(Object.assign({}, descriptor), { lazy: true, lazyModuleRef });
1942
+ if (options.moduleType === 'host') {
1943
+ registrationConfig.source = { type: HandlerSourceType.Host };
1944
+ }
1945
+ else {
1946
+ const remote = RemoteEntriesRegistry.items.get(remoteName);
1947
+ registrationConfig.source = {
1948
+ type: HandlerSourceType.Remote,
1949
+ packageName: remote.packageName,
1950
+ };
1951
+ }
1952
+ RequestHandlerRegistryService.register(registrationConfig);
1953
+ });
1954
+ }
1955
+ /**
1956
+ * @internal
1957
+ */
1958
+ function bootstrapLazyCrtModule(name, descriptor, options, lazyModuleRef) {
1959
+ var _a;
1960
+ try {
1961
+ if (descriptor.viewElements) {
1962
+ registerLazyViewElements(descriptor.viewElements, lazyModuleRef);
1963
+ }
1964
+ if (descriptor.requestHandlers) {
1965
+ registerLazyRequestHandlers(descriptor.requestHandlers, options, name, lazyModuleRef);
1966
+ }
1967
+ if (descriptor.validators) {
1968
+ registerLazyValidators(descriptor.validators, lazyModuleRef);
1969
+ }
1970
+ if (descriptor.converters) {
1971
+ registerLazyConverters(descriptor.converters, lazyModuleRef);
1972
+ }
1973
+ (_a = descriptor.includes) === null || _a === void 0 ? void 0 : _a.forEach((m) => {
1974
+ bootstrapLazyCrtModule(name, m, options, lazyModuleRef);
1975
+ });
1976
+ }
1977
+ catch (error) {
1978
+ console.error(error);
1979
+ }
1980
+ }
1981
+ /**
1982
+ * @internal
1983
+ */
1739
1984
  function bootstrapDefaultCrtModule(name, type, options) {
1740
1985
  var _a;
1741
1986
  try {
@@ -1757,8 +2002,15 @@ function bootstrapDefaultCrtModule(name, type, options) {
1757
2002
  registerConverters(moduleDefinition.converters, options);
1758
2003
  }
1759
2004
  (_a = moduleDefinition.includes) === null || _a === void 0 ? void 0 : _a.forEach((t) => {
1760
- bootstrapDefaultCrtModule(name, t, options);
1761
- bootstrapPredefinedModules(name, t, options);
2005
+ if (typeof t === 'function') {
2006
+ bootstrapDefaultCrtModule(name, t, options);
2007
+ bootstrapPredefinedModules(name, t, options);
2008
+ }
2009
+ else if (typeof t === 'object') {
2010
+ const ref = new LazyModuleRef(t, (x) => bootstrapDefaultCrtModule(name, x, options));
2011
+ bootstrapLazyCrtModule(name, t, options, ref);
2012
+ LazyModulesManager.instance.add(ref);
2013
+ }
1762
2014
  });
1763
2015
  }
1764
2016
  catch (error) {
@@ -1854,7 +2106,11 @@ function _bootstrapCrtModuleHandlerChainServices(type) {
1854
2106
  if (moduleDefinition.handlerChainServices) {
1855
2107
  registerHandlerChainServices(moduleDefinition.handlerChainServices);
1856
2108
  }
1857
- (_a = moduleDefinition.includes) === null || _a === void 0 ? void 0 : _a.forEach((t) => _bootstrapCrtModuleHandlerChainServices(t));
2109
+ (_a = moduleDefinition.includes) === null || _a === void 0 ? void 0 : _a.forEach((t) => {
2110
+ if (typeof t === 'function') {
2111
+ _bootstrapCrtModuleHandlerChainServices(t);
2112
+ }
2113
+ });
1858
2114
  }
1859
2115
  /**
1860
2116
  * @internal
@@ -1863,6 +2119,32 @@ function bootstrapCrtModuleHandlerChainServices(type) {
1863
2119
  _bootstrapCrtModuleHandlerChainServices(type);
1864
2120
  }
1865
2121
 
2122
+ /**
2123
+ * @internal
2124
+ * Clears global registries, resets state of global services.
2125
+ * Can be used in unit tests to clear global registries after bootstrapping module.
2126
+ * @example
2127
+ * beforeEach(() => {
2128
+ * bootstrapCrtModule('test', TestModule);
2129
+ * });
2130
+ *
2131
+ * afterEach(() => {
2132
+ * resetGlobals();
2133
+ * });
2134
+ */
2135
+ function resetGlobals() {
2136
+ ViewElementRegistry.viewElements.clear();
2137
+ InternalRequestHandlerRegistry.clear();
2138
+ HandlerChainService.instance.clear();
2139
+ ValidatorRegistry.items.clear();
2140
+ ConverterRegistry.clear();
2141
+ RemoteEntriesRegistry.items.clear();
2142
+ PkgTopology.items.clear();
2143
+ LazyModulesManager.instance.clear();
2144
+ LazyModulesManager.instance.lazyLoadingDisabled = false;
2145
+ DesignTimeViewElementRegistry.infos.clear();
2146
+ }
2147
+
1866
2148
  /**
1867
2149
  * @public
1868
2150
  * @abstract
@@ -2106,25 +2388,23 @@ __decorate([
2106
2388
  ], HttpClientService.prototype, "patch", null);
2107
2389
 
2108
2390
  /**
2109
- * @internal
2110
- */
2111
- var SchemaViewMaskRequestAction;
2112
- (function (SchemaViewMaskRequestAction) {
2113
- SchemaViewMaskRequestAction["AddTask"] = "addTask";
2114
- SchemaViewMaskRequestAction["RemoveTask"] = "removeTask";
2115
- })(SchemaViewMaskRequestAction || (SchemaViewMaskRequestAction = {}));
2116
- /**
2117
- * @internal
2391
+ * @public
2392
+ * @classdesc Represents a service to working with license restrictions.
2393
+ * @extends {BaseHandlerChainService}
2118
2394
  */
2119
- class SchemaViewMaskRequest extends ɵBaseRequest {
2120
- constructor(action, taskName, $context) {
2121
- super();
2122
- this.action = action;
2123
- this.taskName = taskName;
2124
- this.$context = $context;
2125
- this.type = 'crt.SchemaViewMaskRequest';
2395
+ class LicenseService extends BaseHandlerChainService {
2396
+ constructor() {
2397
+ super(...arguments);
2398
+ /**
2399
+ * @internal
2400
+ */
2401
+ this.requestType = 'crt.LicenseService';
2126
2402
  }
2127
2403
  }
2404
+ __decorate([
2405
+ ImplementUsingHandlerChain(),
2406
+ __metadata("design:type", Function)
2407
+ ], LicenseService.prototype, "loadLicenseOperationStatuses", void 0);
2128
2408
 
2129
2409
  /**
2130
2410
  * @public
@@ -2146,7 +2426,7 @@ class MaskService extends BaseHandlerChainService {
2146
2426
  */
2147
2427
  showMask(taskName, context) {
2148
2428
  return __awaiter(this, void 0, void 0, function* () {
2149
- const request = new SchemaViewMaskRequest(SchemaViewMaskRequestAction.AddTask, taskName, context);
2429
+ const request = new ɵSchemaViewMaskRequest(ɵSchemaViewMaskRequestAction.AddTask, taskName, context);
2150
2430
  yield HandlerChainService.instance.process(request);
2151
2431
  });
2152
2432
  }
@@ -2157,7 +2437,7 @@ class MaskService extends BaseHandlerChainService {
2157
2437
  */
2158
2438
  hideMask(taskName, context) {
2159
2439
  return __awaiter(this, void 0, void 0, function* () {
2160
- const request = new SchemaViewMaskRequest(SchemaViewMaskRequestAction.RemoveTask, taskName, context);
2440
+ const request = new ɵSchemaViewMaskRequest(ɵSchemaViewMaskRequestAction.RemoveTask, taskName, context);
2161
2441
  yield HandlerChainService.instance.process(request);
2162
2442
  });
2163
2443
  }
@@ -2222,6 +2502,9 @@ class Model extends BaseHandlerChainService {
2222
2502
  return this._crtModel._getAsyncResult(this._crtModel.getSchema());
2223
2503
  }
2224
2504
  load(config) {
2505
+ if ((config === null || config === void 0 ? void 0 : config.loadOptions) && !(config === null || config === void 0 ? void 0 : config.options)) {
2506
+ config.options = config.loadOptions;
2507
+ }
2225
2508
  return this._crtModel._getAsyncResult(this._crtModel.load(config));
2226
2509
  }
2227
2510
  insert(dto) {
@@ -2276,5 +2559,5 @@ __decorate([
2276
2559
  * Generated bundle index. Do not edit.
2277
2560
  */
2278
2561
 
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 };
2562
+ 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, LazyModuleRef, LazyModulesManager, LicenseService, LocalizableValue, MaskService, MethodInvokeRequest, Model, PkgTopology, RemoteEntriesRegistry, RemoteEntryType, RequestHandlerRegistryService, RequestRegistryService, RightsService, SysSetting, SysSettingValue, SysSettingsService, SysValuesService, VIEW_ELEMENT_DEFAULT_HEIGHT, ValidatorMapValue, ValidatorRegistry, ViewElementDataGroupType, ViewElementGroupType, ViewElementProperty, ViewElementRegistry, ViewElementReuseStrategy, ViewElementVisibilityStrategy, _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, matchScopes, objectDeepKeys, registerAngularViewElement, registerViewElement, resetGlobals, setConverterMetadata, setDesignTimeViewElementMetadata, setInterfaceDesignerItemMetadata, setModuleMetadata, setRequestHandlerMetadata, setValidatorMetadata, setViewElementMetadata, toAggregationEval, toAggregationEvalType, toAggregationFunction, toAggregationType, toDatePart, toDatePartType, toNumericFunctionType, toOrderDirection, toPascalCase, toSortDirection, toStringFunctionType, validatorRegistryKey, viewElementRegistryKey, ɵBaseRegistry, ɵcheckTypeNameFormat, ɵinstantiate };
2280
2563
  //# sourceMappingURL=creatio-devkit-common.mjs.map