@creatio-devkit/common 0.831.0 → 0.832.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/esm2022/lib/base-exports.mjs +1 -1
- package/esm2022/lib/external/file-viewer/file-viewer-factory.service.mjs +26 -0
- package/esm2022/lib/external/file-viewer/file-viewer-instance.model.mjs +51 -0
- package/esm2022/lib/external/file-viewer/file-viewer-options.model.mjs +2 -0
- package/esm2022/lib/external/file-viewer/index.mjs +4 -0
- package/esm2022/lib/external/models/file-value.model.mjs +1 -1
- package/esm2022/lib/index.mjs +2 -1
- package/esm2022/lib/internal/decorators/implement-using-handler-chain/implement-using-handler-chain.decorator.mjs +3 -2
- package/esm2022/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +1 -1
- package/esm2022/lib/internal/services/index.mjs +2 -1
- package/esm2022/lib/internal/services/request-resolver/base-requests-resolver.mjs +6 -0
- package/esm2022/lib/internal/services/request-resolver/index.mjs +3 -0
- package/esm2022/lib/internal/services/request-resolver/requests-resolver.mjs +17 -0
- package/esm2022/lib/internal/services/view-element-registry/base-view-element-registry.mjs +5 -1
- package/esm2022/lib/public/enums/index.mjs +2 -1
- package/esm2022/lib/public/enums/view-model-collection-action-type.enum.mjs +24 -0
- package/esm2022/lib/public/models/ai-context/ai-context-part.mjs +2 -2
- package/esm2022/lib/public/models/index.mjs +11 -11
- package/esm2022/lib/public/models/view-model-collection/index.mjs +3 -0
- package/esm2022/lib/public/models/view-model-collection/view-model-collection-change.model.mjs +2 -0
- package/esm2022/lib/public/models/view-model-collection/view-model-collection.model.mjs +2 -0
- package/esm2022/lib/public/services/handler-chain/internal-handler-chain.mjs +1 -1
- package/esm2022/lib/public/services/index.mjs +10 -9
- package/esm2022/lib/public/services/schema-modal/index.mjs +3 -0
- package/esm2022/lib/public/services/schema-modal/schema-modal-config.model.mjs +2 -0
- package/esm2022/lib/public/services/schema-modal/schema-modal.service.mjs +23 -0
- package/esm2022/lib/public/services/sys-values/sys-values.mjs +1 -1
- package/fesm2022/creatio-devkit-common.mjs +600 -454
- package/fesm2022/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +171 -2
- package/package.json +14 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ɵAggregationType as _AggregationType, ɵAggregationFunction as _AggregationFunction, ɵAggregationEvalType as _AggregationEvalType, ɵDatePartType as _DatePartType, ɵFunctionType as _FunctionType, ɵOrderDirection as _OrderDirection,
|
|
1
|
+
import { ɵgenerateGuid as _generateGuid, ɵNextHandlerAlreadySpecifiedException as _NextHandlerAlreadySpecifiedException, ɵAggregationType as _AggregationType, ɵAggregationFunction as _AggregationFunction, ɵAggregationEvalType as _AggregationEvalType, ɵDatePartType as _DatePartType, ɵFunctionType as _FunctionType, ɵOrderDirection as _OrderDirection, ɵBaseRequest as _BaseRequest, ɵSchemaViewMaskRequest as _SchemaViewMaskRequest, ɵSchemaViewMaskRequestAction as _SchemaViewMaskRequestAction } 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, ɵ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, ɵMessageChannelType as MessageChannelType, ɵModelInPageAction as ModelInPageAction, ɵModelParameterType as ModelParameterType, ɵNextHandlerAlreadySpecifiedException as NextHandlerAlreadySpecifiedException, ɵOrderDirection as OrderDirection, ɵParameterExpression as ParameterExpression, ɵParameterQueryColumn as ParameterQueryColumn, ɵPlatformAPIs as PlatformAPIs, ɵQueryMacrosType as QueryMacrosType, ɵQueryOperationType as QueryOperationType, ɵSchemaViewMaskRequest as SchemaViewMaskRequest, ɵSchemaViewMaskRequestAction as SchemaViewMaskRequestAction, ɵSelectLocalizationQuery as SelectLocalizationQuery, ɵSingleFilter as SingleFilter, ɵSubQueryColumn as SubQueryColumn, ɵSubQueryExpression as SubQueryExpression, ɵSubscription as Subscription, ɵUpdateQuery as UpdateQuery, ɵValidationUtilities as ValidationUtilities, ɵWindowFunctionColumn as WindowFunctionColumn, ɵWindowFunctionExpression as WindowFunctionExpression, ɵencodeDate as encodeDate, ɵgenerateGuid as generateGuid, ɵisEmptyGuid as isEmptyGuid, ɵisGuid as isGuid, ɵtoLocalISOString as toLocalISOString } from '@creatio/base';
|
|
3
3
|
import { get, set, upperFirst, camelCase, isEqual, cloneDeep, isEmpty } from 'lodash';
|
|
4
4
|
import 'reflect-metadata';
|
|
@@ -9,195 +9,29 @@ import { __decorate, __metadata } from 'tslib';
|
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return _AggregationType.Min;
|
|
22
|
-
case _AggregationFunction.Max:
|
|
23
|
-
return _AggregationType.Max;
|
|
24
|
-
case _AggregationFunction.TopOne:
|
|
25
|
-
return _AggregationType.TopOne;
|
|
26
|
-
default:
|
|
27
|
-
return _AggregationType.None;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
33
|
-
function toAggregationFunction(aggregationType) {
|
|
34
|
-
switch (aggregationType) {
|
|
35
|
-
case _AggregationType.Count:
|
|
36
|
-
return _AggregationFunction.Count;
|
|
37
|
-
case _AggregationType.Sum:
|
|
38
|
-
return _AggregationFunction.Sum;
|
|
39
|
-
case _AggregationType.Avg:
|
|
40
|
-
return _AggregationFunction.Avg;
|
|
41
|
-
case _AggregationType.Min:
|
|
42
|
-
return _AggregationFunction.Min;
|
|
43
|
-
case _AggregationType.Max:
|
|
44
|
-
return _AggregationFunction.Max;
|
|
45
|
-
case _AggregationType.TopOne:
|
|
46
|
-
return _AggregationFunction.TopOne;
|
|
47
|
-
default:
|
|
48
|
-
return _AggregationFunction.None;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
function toAggregationEvalType(aggregationEval) {
|
|
55
|
-
switch (aggregationEval) {
|
|
56
|
-
case 'all':
|
|
57
|
-
return _AggregationEvalType.All;
|
|
58
|
-
case 'distinct':
|
|
59
|
-
return _AggregationEvalType.Distinct;
|
|
60
|
-
default:
|
|
61
|
-
return _AggregationEvalType.None;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
function toAggregationEval(aggregationEvalType) {
|
|
68
|
-
switch (aggregationEvalType) {
|
|
69
|
-
case _AggregationEvalType.All:
|
|
70
|
-
return 'all';
|
|
71
|
-
case _AggregationEvalType.Distinct:
|
|
72
|
-
return 'distinct';
|
|
73
|
-
default:
|
|
74
|
-
return 'none';
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
function toDatePartType(aggregationFunction) {
|
|
82
|
-
switch (aggregationFunction) {
|
|
83
|
-
case 'minute':
|
|
84
|
-
return _DatePartType.HourMinute;
|
|
85
|
-
case 'hour':
|
|
86
|
-
return _DatePartType.Hour;
|
|
87
|
-
case 'day':
|
|
88
|
-
return _DatePartType.Day;
|
|
89
|
-
case 'weekday':
|
|
90
|
-
return _DatePartType.WeekDay;
|
|
91
|
-
case 'week':
|
|
92
|
-
return _DatePartType.Week;
|
|
93
|
-
case 'month':
|
|
94
|
-
return _DatePartType.Month;
|
|
95
|
-
case 'year':
|
|
96
|
-
return _DatePartType.Year;
|
|
97
|
-
default:
|
|
98
|
-
return _DatePartType.None;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
function toDatePart(aggregationType) {
|
|
105
|
-
switch (aggregationType) {
|
|
106
|
-
case _DatePartType.HourMinute:
|
|
107
|
-
return 'minute';
|
|
108
|
-
case _DatePartType.Hour:
|
|
109
|
-
return 'hour';
|
|
110
|
-
case _DatePartType.Day:
|
|
111
|
-
return 'day';
|
|
112
|
-
case _DatePartType.WeekDay:
|
|
113
|
-
return 'weekday';
|
|
114
|
-
case _DatePartType.Week:
|
|
115
|
-
return 'week';
|
|
116
|
-
case _DatePartType.Month:
|
|
117
|
-
return 'month';
|
|
118
|
-
case _DatePartType.Year:
|
|
119
|
-
return 'year';
|
|
120
|
-
default:
|
|
121
|
-
return 'none';
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* @internal
|
|
127
|
-
*/
|
|
128
|
-
function toStringFunctionType(functionType) {
|
|
129
|
-
switch (functionType) {
|
|
130
|
-
case _FunctionType.Aggregation:
|
|
131
|
-
return 'aggregation';
|
|
132
|
-
case _FunctionType.DatePart:
|
|
133
|
-
return 'datePart';
|
|
134
|
-
default:
|
|
135
|
-
return 'none';
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
function toNumericFunctionType(functionType) {
|
|
142
|
-
switch (functionType) {
|
|
143
|
-
case 'aggregation':
|
|
144
|
-
return _FunctionType.Aggregation;
|
|
145
|
-
case 'datePart':
|
|
146
|
-
return _FunctionType.DatePart;
|
|
147
|
-
default:
|
|
148
|
-
return _FunctionType.None;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @internal
|
|
154
|
-
*/
|
|
155
|
-
function toOrderDirection(sortDirection) {
|
|
156
|
-
switch (sortDirection) {
|
|
157
|
-
case 'asc':
|
|
158
|
-
return _OrderDirection.Asc;
|
|
159
|
-
case 'desc':
|
|
160
|
-
return _OrderDirection.Desc;
|
|
161
|
-
default:
|
|
162
|
-
return _OrderDirection.None;
|
|
12
|
+
class FileViewerFactory {
|
|
13
|
+
static { this._instances = new Map(); }
|
|
14
|
+
/**
|
|
15
|
+
* Registers a file viewer instance type with a given name.
|
|
16
|
+
* @param name Name.
|
|
17
|
+
* @param instanceType Instance type.
|
|
18
|
+
*/
|
|
19
|
+
static registerFileViewer(name, instanceType) {
|
|
20
|
+
this._instances.set(name, instanceType);
|
|
163
21
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
return
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
default:
|
|
175
|
-
return 'none';
|
|
22
|
+
/**
|
|
23
|
+
* Creates a file viewer instance by name.
|
|
24
|
+
* @param name Name.
|
|
25
|
+
*/
|
|
26
|
+
static createFileViewerInstance(name) {
|
|
27
|
+
const instance = this._instances.get(name);
|
|
28
|
+
if (!instance) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
return new instance();
|
|
176
32
|
}
|
|
177
33
|
}
|
|
178
34
|
|
|
179
|
-
/**
|
|
180
|
-
* @internal
|
|
181
|
-
*/
|
|
182
|
-
const crtInputPrefix = 'crtInput:';
|
|
183
|
-
/**
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
const crtOutputPrefix = 'crtOutput:';
|
|
187
|
-
/**
|
|
188
|
-
* @internal
|
|
189
|
-
*/
|
|
190
|
-
const crtValidationInputPrefix = 'crtValidationInput:';
|
|
191
|
-
/**
|
|
192
|
-
* @internal
|
|
193
|
-
*/
|
|
194
|
-
const crtInjectPrefix = 'crtInject:';
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
const VIEW_ELEMENT_DEFAULT_HEIGHT = '39px';
|
|
200
|
-
|
|
201
35
|
/**
|
|
202
36
|
* @internal
|
|
203
37
|
*/
|
|
@@ -359,6 +193,28 @@ class HandlersOrderComparer {
|
|
|
359
193
|
}
|
|
360
194
|
}
|
|
361
195
|
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
const crtInputPrefix = 'crtInput:';
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
*/
|
|
203
|
+
const crtOutputPrefix = 'crtOutput:';
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
const crtValidationInputPrefix = 'crtValidationInput:';
|
|
208
|
+
/**
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
const crtInjectPrefix = 'crtInject:';
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
const VIEW_ELEMENT_DEFAULT_HEIGHT = '39px';
|
|
217
|
+
|
|
362
218
|
const moduleMetadataKey = 'module';
|
|
363
219
|
const viewElementMetadataKey = 'viewElement';
|
|
364
220
|
const mobileViewElementMetadataKey = 'mobileViewElement';
|
|
@@ -939,42 +795,263 @@ class HandlerChainService {
|
|
|
939
795
|
/**
|
|
940
796
|
* @internal
|
|
941
797
|
*/
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
798
|
+
class FileViewerInstance {
|
|
799
|
+
constructor() {
|
|
800
|
+
this._handlerChain = HandlerChainService.instance;
|
|
801
|
+
this._optionsChangeListeners = new Set();
|
|
802
|
+
this.options = {};
|
|
803
|
+
/**
|
|
804
|
+
* Subscription that notifies when options change.
|
|
805
|
+
*/
|
|
806
|
+
this.optionsChanged = {
|
|
807
|
+
subscribe: (listener) => {
|
|
808
|
+
this._optionsChangeListeners.add(listener);
|
|
809
|
+
return () => this._optionsChangeListeners.delete(listener);
|
|
810
|
+
},
|
|
952
811
|
};
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
812
|
+
}
|
|
813
|
+
/**
|
|
814
|
+
* Processes a request.
|
|
815
|
+
* @param requestType Request type.
|
|
816
|
+
* @param payload Request payload.
|
|
817
|
+
*/
|
|
818
|
+
processRequest(requestType, payload) {
|
|
819
|
+
const request = {
|
|
820
|
+
type: requestType,
|
|
821
|
+
$context: null,
|
|
822
|
+
scopes: [],
|
|
823
|
+
...payload,
|
|
824
|
+
};
|
|
825
|
+
return this._handlerChain.process(request);
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
* Sets options for the file viewer instance.
|
|
829
|
+
* @param options Options to set.
|
|
830
|
+
*/
|
|
831
|
+
setOptions(options) {
|
|
832
|
+
this.options = { ...this.options, ...options };
|
|
833
|
+
this._optionsChangeListeners.forEach((listener) => listener(this.options));
|
|
834
|
+
return Promise.resolve();
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Cleans up resources used by the instance.
|
|
838
|
+
*/
|
|
839
|
+
destroy() {
|
|
840
|
+
this._optionsChangeListeners.clear();
|
|
841
|
+
return Promise.resolve();
|
|
842
|
+
}
|
|
960
843
|
}
|
|
961
844
|
|
|
962
845
|
/**
|
|
963
846
|
* @internal
|
|
964
847
|
*/
|
|
965
|
-
function
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
848
|
+
function toAggregationType(aggregationFunction) {
|
|
849
|
+
switch (aggregationFunction) {
|
|
850
|
+
case _AggregationFunction.Count:
|
|
851
|
+
return _AggregationType.Count;
|
|
852
|
+
case _AggregationFunction.Sum:
|
|
853
|
+
return _AggregationType.Sum;
|
|
854
|
+
case _AggregationFunction.Avg:
|
|
855
|
+
return _AggregationType.Avg;
|
|
856
|
+
case _AggregationFunction.Min:
|
|
857
|
+
return _AggregationType.Min;
|
|
858
|
+
case _AggregationFunction.Max:
|
|
859
|
+
return _AggregationType.Max;
|
|
860
|
+
case _AggregationFunction.TopOne:
|
|
861
|
+
return _AggregationType.TopOne;
|
|
862
|
+
default:
|
|
863
|
+
return _AggregationType.None;
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
/**
|
|
867
|
+
* @internal
|
|
868
|
+
*/
|
|
869
|
+
function toAggregationFunction(aggregationType) {
|
|
870
|
+
switch (aggregationType) {
|
|
871
|
+
case _AggregationType.Count:
|
|
872
|
+
return _AggregationFunction.Count;
|
|
873
|
+
case _AggregationType.Sum:
|
|
874
|
+
return _AggregationFunction.Sum;
|
|
875
|
+
case _AggregationType.Avg:
|
|
876
|
+
return _AggregationFunction.Avg;
|
|
877
|
+
case _AggregationType.Min:
|
|
878
|
+
return _AggregationFunction.Min;
|
|
879
|
+
case _AggregationType.Max:
|
|
880
|
+
return _AggregationFunction.Max;
|
|
881
|
+
case _AggregationType.TopOne:
|
|
882
|
+
return _AggregationFunction.TopOne;
|
|
883
|
+
default:
|
|
884
|
+
return _AggregationFunction.None;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
* @internal
|
|
889
|
+
*/
|
|
890
|
+
function toAggregationEvalType(aggregationEval) {
|
|
891
|
+
switch (aggregationEval) {
|
|
892
|
+
case 'all':
|
|
893
|
+
return _AggregationEvalType.All;
|
|
894
|
+
case 'distinct':
|
|
895
|
+
return _AggregationEvalType.Distinct;
|
|
896
|
+
default:
|
|
897
|
+
return _AggregationEvalType.None;
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
/**
|
|
901
|
+
* @internal
|
|
902
|
+
*/
|
|
903
|
+
function toAggregationEval(aggregationEvalType) {
|
|
904
|
+
switch (aggregationEvalType) {
|
|
905
|
+
case _AggregationEvalType.All:
|
|
906
|
+
return 'all';
|
|
907
|
+
case _AggregationEvalType.Distinct:
|
|
908
|
+
return 'distinct';
|
|
909
|
+
default:
|
|
910
|
+
return 'none';
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* @internal
|
|
916
|
+
*/
|
|
917
|
+
function toDatePartType(aggregationFunction) {
|
|
918
|
+
switch (aggregationFunction) {
|
|
919
|
+
case 'minute':
|
|
920
|
+
return _DatePartType.HourMinute;
|
|
921
|
+
case 'hour':
|
|
922
|
+
return _DatePartType.Hour;
|
|
923
|
+
case 'day':
|
|
924
|
+
return _DatePartType.Day;
|
|
925
|
+
case 'weekday':
|
|
926
|
+
return _DatePartType.WeekDay;
|
|
927
|
+
case 'week':
|
|
928
|
+
return _DatePartType.Week;
|
|
929
|
+
case 'month':
|
|
930
|
+
return _DatePartType.Month;
|
|
931
|
+
case 'year':
|
|
932
|
+
return _DatePartType.Year;
|
|
933
|
+
default:
|
|
934
|
+
return _DatePartType.None;
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @internal
|
|
939
|
+
*/
|
|
940
|
+
function toDatePart(aggregationType) {
|
|
941
|
+
switch (aggregationType) {
|
|
942
|
+
case _DatePartType.HourMinute:
|
|
943
|
+
return 'minute';
|
|
944
|
+
case _DatePartType.Hour:
|
|
945
|
+
return 'hour';
|
|
946
|
+
case _DatePartType.Day:
|
|
947
|
+
return 'day';
|
|
948
|
+
case _DatePartType.WeekDay:
|
|
949
|
+
return 'weekday';
|
|
950
|
+
case _DatePartType.Week:
|
|
951
|
+
return 'week';
|
|
952
|
+
case _DatePartType.Month:
|
|
953
|
+
return 'month';
|
|
954
|
+
case _DatePartType.Year:
|
|
955
|
+
return 'year';
|
|
956
|
+
default:
|
|
957
|
+
return 'none';
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* @internal
|
|
963
|
+
*/
|
|
964
|
+
function toStringFunctionType(functionType) {
|
|
965
|
+
switch (functionType) {
|
|
966
|
+
case _FunctionType.Aggregation:
|
|
967
|
+
return 'aggregation';
|
|
968
|
+
case _FunctionType.DatePart:
|
|
969
|
+
return 'datePart';
|
|
970
|
+
default:
|
|
971
|
+
return 'none';
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* @internal
|
|
976
|
+
*/
|
|
977
|
+
function toNumericFunctionType(functionType) {
|
|
978
|
+
switch (functionType) {
|
|
979
|
+
case 'aggregation':
|
|
980
|
+
return _FunctionType.Aggregation;
|
|
981
|
+
case 'datePart':
|
|
982
|
+
return _FunctionType.DatePart;
|
|
983
|
+
default:
|
|
984
|
+
return _FunctionType.None;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* @internal
|
|
990
|
+
*/
|
|
991
|
+
function toOrderDirection(sortDirection) {
|
|
992
|
+
switch (sortDirection) {
|
|
993
|
+
case 'asc':
|
|
994
|
+
return _OrderDirection.Asc;
|
|
995
|
+
case 'desc':
|
|
996
|
+
return _OrderDirection.Desc;
|
|
997
|
+
default:
|
|
998
|
+
return _OrderDirection.None;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @internal
|
|
1003
|
+
*/
|
|
1004
|
+
function toSortDirection(orderDirection) {
|
|
1005
|
+
switch (orderDirection) {
|
|
1006
|
+
case _OrderDirection.Asc:
|
|
1007
|
+
return 'asc';
|
|
1008
|
+
case _OrderDirection.Desc:
|
|
1009
|
+
return 'desc';
|
|
1010
|
+
default:
|
|
1011
|
+
return 'none';
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* @internal
|
|
1017
|
+
*/
|
|
1018
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
1019
|
+
function ImplementUsingHandlerChain(config) {
|
|
1020
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1021
|
+
return function (target, method, descriptor) {
|
|
1022
|
+
const methodImplementation = function (...args) {
|
|
1023
|
+
const result = HandlerChainService.instance.process({
|
|
1024
|
+
type: config?.requestType ? config.requestType : this.requestType,
|
|
1025
|
+
method: config?.methodName ? config.methodName : method,
|
|
1026
|
+
args,
|
|
1027
|
+
});
|
|
1028
|
+
return config?.omitResult ? Promise.resolve(void 0) : result;
|
|
1029
|
+
};
|
|
1030
|
+
if (descriptor) {
|
|
1031
|
+
descriptor.value = methodImplementation;
|
|
1032
|
+
}
|
|
1033
|
+
else {
|
|
1034
|
+
target[method] = methodImplementation;
|
|
1035
|
+
}
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* @internal
|
|
1041
|
+
*/
|
|
1042
|
+
function checkTypeNameFormat(type, element) {
|
|
1043
|
+
const typeParts = type.split('.');
|
|
1044
|
+
if (typeParts.length < 2) {
|
|
1045
|
+
throw new Error(`Error when register ${type}. Type property should have format "VendorPrefix.${element}"`);
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
/**
|
|
1049
|
+
* @public
|
|
1050
|
+
* @description For internal use only.
|
|
1051
|
+
*/
|
|
1052
|
+
function ɵcheckTypeNameFormat(type, element) {
|
|
1053
|
+
return checkTypeNameFormat(type, element);
|
|
1054
|
+
}
|
|
978
1055
|
/**
|
|
979
1056
|
* @internal
|
|
980
1057
|
*/
|
|
@@ -1242,6 +1319,10 @@ class BaseViewElementRegistry extends ɵBaseRegistry {
|
|
|
1242
1319
|
const config = this.store.typeInfos.get(type);
|
|
1243
1320
|
return (config && 'formControlConfig' in config && config.formControlConfig?.relatesTo) || null;
|
|
1244
1321
|
}
|
|
1322
|
+
static getValuePropertyName(type) {
|
|
1323
|
+
const config = this.store.typeInfos.get(type);
|
|
1324
|
+
return (config && 'valuePropertyName' in config && config.valuePropertyName) || null;
|
|
1325
|
+
}
|
|
1245
1326
|
static getViewElementInputs(type) {
|
|
1246
1327
|
const config = this.store.typeInfos.get(type);
|
|
1247
1328
|
return config?.inputs ?? {};
|
|
@@ -1531,6 +1612,27 @@ class ChatMessageTypeRegistry extends ɵBaseRegistry {
|
|
|
1531
1612
|
}
|
|
1532
1613
|
}
|
|
1533
1614
|
|
|
1615
|
+
/**
|
|
1616
|
+
* @internal
|
|
1617
|
+
*/
|
|
1618
|
+
class BaseRequestsResolver {
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* @internal
|
|
1623
|
+
*/
|
|
1624
|
+
class RequestsResolver extends BaseRequestsResolver {
|
|
1625
|
+
get(name) {
|
|
1626
|
+
return RequestRegistryService.requestsRegistrationInfos.get(name);
|
|
1627
|
+
}
|
|
1628
|
+
getAll() {
|
|
1629
|
+
return RequestRegistryService.requestsRegistrationInfos;
|
|
1630
|
+
}
|
|
1631
|
+
has(name) {
|
|
1632
|
+
return RequestRegistryService.requestsRegistrationInfos.has(name);
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1534
1636
|
/**
|
|
1535
1637
|
* @public
|
|
1536
1638
|
* @description Function allows to register user-defined component as view element in Creatio platform.
|
|
@@ -1631,6 +1733,38 @@ function ɵinstantiate(type, resolveDependency) {
|
|
|
1631
1733
|
class CrtInputRegistrationConfig {
|
|
1632
1734
|
}
|
|
1633
1735
|
|
|
1736
|
+
/**
|
|
1737
|
+
* @public
|
|
1738
|
+
*/
|
|
1739
|
+
class LocalizableValue {
|
|
1740
|
+
/**
|
|
1741
|
+
* @internal
|
|
1742
|
+
* @dontChange
|
|
1743
|
+
*/
|
|
1744
|
+
static { this._instanceOfKey = 'devkit_LocalizableValue'; }
|
|
1745
|
+
constructor(key) {
|
|
1746
|
+
this.key = key;
|
|
1747
|
+
}
|
|
1748
|
+
/**
|
|
1749
|
+
* @internal
|
|
1750
|
+
*/
|
|
1751
|
+
static [Symbol.hasInstance](instance) {
|
|
1752
|
+
return instance?.constructor?.['_instanceOfKey'] === LocalizableValue._instanceOfKey;
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
/**
|
|
1757
|
+
* @public
|
|
1758
|
+
* @class
|
|
1759
|
+
* @classdesc Class representing a request to run a process.
|
|
1760
|
+
* @property {Guid} schemaUId - The unique identifier of the process schema.
|
|
1761
|
+
* @property {string} schemaName - The name of the process schema.
|
|
1762
|
+
* @property {ProcessParameterValue[]} parameterValues - The values of the process parameters.
|
|
1763
|
+
* @property {string[]} resultParameterNames - The names of the resulting process parameters.
|
|
1764
|
+
*/
|
|
1765
|
+
class RunProcessRequest {
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1634
1768
|
/**
|
|
1635
1769
|
* @public
|
|
1636
1770
|
* @class DataRequest
|
|
@@ -1685,39 +1819,6 @@ HandleViewModelAttributeChangeRequest = __decorate([
|
|
|
1685
1819
|
__metadata("design:paramtypes", [Object])
|
|
1686
1820
|
], HandleViewModelAttributeChangeRequest);
|
|
1687
1821
|
|
|
1688
|
-
/**
|
|
1689
|
-
* @internal
|
|
1690
|
-
*/
|
|
1691
|
-
var ViewElementReuseStrategy;
|
|
1692
|
-
(function (ViewElementReuseStrategy) {
|
|
1693
|
-
/**
|
|
1694
|
-
* Reuse early created view element when it state changed
|
|
1695
|
-
*/
|
|
1696
|
-
ViewElementReuseStrategy[ViewElementReuseStrategy["Reuse"] = 0] = "Reuse";
|
|
1697
|
-
/**
|
|
1698
|
-
* Rerender(recreate) view element when it state changed
|
|
1699
|
-
*/
|
|
1700
|
-
ViewElementReuseStrategy[ViewElementReuseStrategy["Rerender"] = 1] = "Rerender";
|
|
1701
|
-
})(ViewElementReuseStrategy || (ViewElementReuseStrategy = {}));
|
|
1702
|
-
|
|
1703
|
-
/**
|
|
1704
|
-
* @public
|
|
1705
|
-
* @description Render strategy for view element.
|
|
1706
|
-
*/
|
|
1707
|
-
var ViewElementRenderStrategy;
|
|
1708
|
-
(function (ViewElementRenderStrategy) {
|
|
1709
|
-
/**
|
|
1710
|
-
* @description Default render strategy.
|
|
1711
|
-
* The element is rendered immediately.
|
|
1712
|
-
*/
|
|
1713
|
-
ViewElementRenderStrategy["Default"] = "default";
|
|
1714
|
-
/**
|
|
1715
|
-
* @description On viewport render strategy.
|
|
1716
|
-
* The element is rendered only when it becomes visible in the viewport.
|
|
1717
|
-
*/
|
|
1718
|
-
ViewElementRenderStrategy["OnViewport"] = "on-viewport";
|
|
1719
|
-
})(ViewElementRenderStrategy || (ViewElementRenderStrategy = {}));
|
|
1720
|
-
|
|
1721
1822
|
/**
|
|
1722
1823
|
* @public
|
|
1723
1824
|
* @description Abstract Base Validator class for designing custom validators.
|
|
@@ -1759,36 +1860,37 @@ class BaseValidator {
|
|
|
1759
1860
|
}
|
|
1760
1861
|
|
|
1761
1862
|
/**
|
|
1762
|
-
* @
|
|
1863
|
+
* @internal
|
|
1763
1864
|
*/
|
|
1764
|
-
|
|
1865
|
+
var ViewElementReuseStrategy;
|
|
1866
|
+
(function (ViewElementReuseStrategy) {
|
|
1765
1867
|
/**
|
|
1766
|
-
*
|
|
1767
|
-
* @dontChange
|
|
1868
|
+
* Reuse early created view element when it state changed
|
|
1768
1869
|
*/
|
|
1769
|
-
|
|
1770
|
-
constructor(key) {
|
|
1771
|
-
this.key = key;
|
|
1772
|
-
}
|
|
1870
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Reuse"] = 0] = "Reuse";
|
|
1773
1871
|
/**
|
|
1774
|
-
*
|
|
1872
|
+
* Rerender(recreate) view element when it state changed
|
|
1775
1873
|
*/
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1874
|
+
ViewElementReuseStrategy[ViewElementReuseStrategy["Rerender"] = 1] = "Rerender";
|
|
1875
|
+
})(ViewElementReuseStrategy || (ViewElementReuseStrategy = {}));
|
|
1780
1876
|
|
|
1781
1877
|
/**
|
|
1782
1878
|
* @public
|
|
1783
|
-
* @
|
|
1784
|
-
* @classdesc Class representing a request to run a process.
|
|
1785
|
-
* @property {Guid} schemaUId - The unique identifier of the process schema.
|
|
1786
|
-
* @property {string} schemaName - The name of the process schema.
|
|
1787
|
-
* @property {ProcessParameterValue[]} parameterValues - The values of the process parameters.
|
|
1788
|
-
* @property {string[]} resultParameterNames - The names of the resulting process parameters.
|
|
1879
|
+
* @description Render strategy for view element.
|
|
1789
1880
|
*/
|
|
1790
|
-
|
|
1791
|
-
|
|
1881
|
+
var ViewElementRenderStrategy;
|
|
1882
|
+
(function (ViewElementRenderStrategy) {
|
|
1883
|
+
/**
|
|
1884
|
+
* @description Default render strategy.
|
|
1885
|
+
* The element is rendered immediately.
|
|
1886
|
+
*/
|
|
1887
|
+
ViewElementRenderStrategy["Default"] = "default";
|
|
1888
|
+
/**
|
|
1889
|
+
* @description On viewport render strategy.
|
|
1890
|
+
* The element is rendered only when it becomes visible in the viewport.
|
|
1891
|
+
*/
|
|
1892
|
+
ViewElementRenderStrategy["OnViewport"] = "on-viewport";
|
|
1893
|
+
})(ViewElementRenderStrategy || (ViewElementRenderStrategy = {}));
|
|
1792
1894
|
|
|
1793
1895
|
/**
|
|
1794
1896
|
* @internal
|
|
@@ -2610,6 +2712,30 @@ var ViewElementProperty;
|
|
|
2610
2712
|
ViewElementProperty["Disabled"] = "DISABLED_PROPERTY";
|
|
2611
2713
|
})(ViewElementProperty || (ViewElementProperty = {}));
|
|
2612
2714
|
|
|
2715
|
+
/**
|
|
2716
|
+
* @public
|
|
2717
|
+
* @description List of actions which can be performed on collection with a public API.
|
|
2718
|
+
*/
|
|
2719
|
+
var ViewModelCollectionActionType;
|
|
2720
|
+
(function (ViewModelCollectionActionType) {
|
|
2721
|
+
/**
|
|
2722
|
+
* @description Create a collection element.
|
|
2723
|
+
*/
|
|
2724
|
+
ViewModelCollectionActionType["Add"] = "add";
|
|
2725
|
+
/**
|
|
2726
|
+
* @description Remove an element from collection.
|
|
2727
|
+
*/
|
|
2728
|
+
ViewModelCollectionActionType["Remove"] = "remove";
|
|
2729
|
+
/**
|
|
2730
|
+
* @description Update an element in collection.
|
|
2731
|
+
*/
|
|
2732
|
+
ViewModelCollectionActionType["Move"] = "move";
|
|
2733
|
+
/**
|
|
2734
|
+
* @description Reload collection with new elements.
|
|
2735
|
+
*/
|
|
2736
|
+
ViewModelCollectionActionType["Reload"] = "reload";
|
|
2737
|
+
})(ViewModelCollectionActionType || (ViewModelCollectionActionType = {}));
|
|
2738
|
+
|
|
2613
2739
|
/**
|
|
2614
2740
|
* @public
|
|
2615
2741
|
* @abstract
|
|
@@ -2645,131 +2771,157 @@ class BaseRequestHandler {
|
|
|
2645
2771
|
}
|
|
2646
2772
|
}
|
|
2647
2773
|
|
|
2648
|
-
class BaseHandlerChainService {
|
|
2649
|
-
}
|
|
2650
|
-
|
|
2651
2774
|
/**
|
|
2652
|
-
*
|
|
2653
|
-
*
|
|
2654
|
-
*
|
|
2775
|
+
* Service for managing AI context parts and providing a unified context.
|
|
2776
|
+
* This service allows adding, retrieving, and removing context parts, which can be
|
|
2777
|
+
* either static values, promises, or dynamically provided through a function.
|
|
2655
2778
|
*/
|
|
2656
|
-
class
|
|
2779
|
+
class AiContextService {
|
|
2657
2780
|
constructor() {
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2781
|
+
this._contextParts = [];
|
|
2782
|
+
}
|
|
2783
|
+
/**
|
|
2784
|
+
* Retrieves the singleton instance of the `AiContextService`.
|
|
2785
|
+
* If the instance does not exist, it will be created.
|
|
2786
|
+
*/
|
|
2787
|
+
static get instance() {
|
|
2788
|
+
return AiContextService._instance || (AiContextService._instance = new AiContextService());
|
|
2789
|
+
}
|
|
2790
|
+
/**
|
|
2791
|
+
* Generates a unique identifier for a context part.
|
|
2792
|
+
* @returns A string representing a unique identifier.
|
|
2793
|
+
*/
|
|
2794
|
+
_generateId() {
|
|
2795
|
+
const length = 9;
|
|
2796
|
+
const base = 36;
|
|
2797
|
+
const array = new Uint32Array(length);
|
|
2798
|
+
window.crypto.getRandomValues(array);
|
|
2799
|
+
return Array.from(array, (num) => (num % base).toString(base)).join('');
|
|
2800
|
+
}
|
|
2801
|
+
/**
|
|
2802
|
+
* @public
|
|
2803
|
+
* Adds a new context part to the service.
|
|
2804
|
+
* The context part can be a static value, a promise, or a function that provides the value.
|
|
2805
|
+
*
|
|
2806
|
+
* @param value - The context part to add. It can be one of the following:
|
|
2807
|
+
* - `ContextProvider` (a function that provides the context part)
|
|
2808
|
+
* @param id - (Optional) A unique identifier for the context part. If not provided, a new ID will be generated.
|
|
2809
|
+
* @returns The unique identifier of the added context part.
|
|
2810
|
+
*/
|
|
2811
|
+
setContextPart(value, id = this._generateId()) {
|
|
2812
|
+
const provider = typeof value === 'function' ? value : () => value;
|
|
2813
|
+
this._contextParts.push({ id, provider });
|
|
2814
|
+
return id;
|
|
2815
|
+
}
|
|
2816
|
+
/**
|
|
2817
|
+
* @public
|
|
2818
|
+
* Retrieves all context parts as an array of resolved values.
|
|
2819
|
+
* If the context parts include promises or functions, they will be resolved.
|
|
2820
|
+
*
|
|
2821
|
+
* @returns A promise that resolves to an array of context parts, which can be
|
|
2822
|
+
* either `CreatioPageContextPart` or `ConstantValuesContextPart`.
|
|
2823
|
+
*/
|
|
2824
|
+
async getContext() {
|
|
2825
|
+
if (!this._contextParts || this._contextParts.length === 0) {
|
|
2826
|
+
return [];
|
|
2827
|
+
}
|
|
2828
|
+
const resolved = await Promise.all(this._contextParts.map((c) => c.provider()));
|
|
2829
|
+
return resolved
|
|
2830
|
+
.filter((e) => e !== null)
|
|
2831
|
+
.map((p) => {
|
|
2832
|
+
const type = p.type;
|
|
2833
|
+
if (!type || type === 'CreatioPageContextPart' || type === 'ConstantValuesContextPart') {
|
|
2834
|
+
return {
|
|
2835
|
+
...p,
|
|
2836
|
+
type,
|
|
2837
|
+
};
|
|
2838
|
+
}
|
|
2839
|
+
throw new Error(`Invalid context part type: ${type}`);
|
|
2840
|
+
});
|
|
2841
|
+
}
|
|
2842
|
+
/**
|
|
2843
|
+
* @public
|
|
2844
|
+
* Removes a specific context part by its unique identifier.
|
|
2845
|
+
*
|
|
2846
|
+
* @param id - The unique identifier of the context part to remove.
|
|
2847
|
+
*/
|
|
2848
|
+
removeContextPart(id) {
|
|
2849
|
+
this._contextParts = this._contextParts.filter((ctx) => ctx.id !== id);
|
|
2850
|
+
}
|
|
2851
|
+
/**
|
|
2852
|
+
* @public
|
|
2853
|
+
* Removes all context parts from the service.
|
|
2854
|
+
*/
|
|
2855
|
+
removeContext() {
|
|
2856
|
+
this._contextParts = [];
|
|
2663
2857
|
}
|
|
2664
2858
|
}
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
], FeatureService.prototype, "getFeatureState", void 0);
|
|
2669
|
-
__decorate([
|
|
2670
|
-
ImplementUsingHandlerChain(),
|
|
2671
|
-
__metadata("design:type", Function)
|
|
2672
|
-
], FeatureService.prototype, "getFeaturesState", void 0);
|
|
2859
|
+
|
|
2860
|
+
class BaseHandlerChainService {
|
|
2861
|
+
}
|
|
2673
2862
|
|
|
2674
2863
|
/**
|
|
2675
2864
|
* @public
|
|
2676
|
-
* @classdesc Service to
|
|
2865
|
+
* @classdesc Service to handling a way of tasks execution in Creatio plaform
|
|
2677
2866
|
* @extends {BaseHandlerChainService}
|
|
2678
2867
|
*/
|
|
2679
|
-
class
|
|
2868
|
+
class CrtZoneService extends BaseHandlerChainService {
|
|
2680
2869
|
constructor() {
|
|
2681
2870
|
super(...arguments);
|
|
2682
2871
|
/**
|
|
2683
2872
|
* @internal
|
|
2684
2873
|
*/
|
|
2685
|
-
this.requestType = 'crt.
|
|
2874
|
+
this.requestType = 'crt.ZoneService';
|
|
2686
2875
|
}
|
|
2687
2876
|
}
|
|
2688
2877
|
__decorate([
|
|
2689
2878
|
ImplementUsingHandlerChain(),
|
|
2690
2879
|
__metadata("design:type", Function)
|
|
2691
|
-
],
|
|
2692
|
-
__decorate([
|
|
2693
|
-
ImplementUsingHandlerChain(),
|
|
2694
|
-
__metadata("design:type", Function)
|
|
2695
|
-
], RightsService.prototype, "getCanExecuteOperations", void 0);
|
|
2880
|
+
], CrtZoneService.prototype, "runOutside", void 0);
|
|
2696
2881
|
|
|
2697
2882
|
/**
|
|
2698
2883
|
* @public
|
|
2699
|
-
* @
|
|
2700
|
-
* @classdesc Service to working with system settings using handler chain
|
|
2884
|
+
* @classdesc Service to working with dialog using handler chain.
|
|
2701
2885
|
* @extends {BaseHandlerChainService}
|
|
2702
2886
|
*/
|
|
2703
|
-
|
|
2704
|
-
class SysSettingsService extends BaseHandlerChainService {
|
|
2887
|
+
class DialogService extends BaseHandlerChainService {
|
|
2705
2888
|
constructor() {
|
|
2706
2889
|
super(...arguments);
|
|
2707
2890
|
/**
|
|
2708
2891
|
* @internal
|
|
2709
2892
|
*/
|
|
2710
|
-
this.requestType = 'crt.
|
|
2893
|
+
this.requestType = 'crt.DialogService';
|
|
2711
2894
|
}
|
|
2712
2895
|
}
|
|
2713
2896
|
__decorate([
|
|
2714
|
-
ImplementUsingHandlerChain(
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
__decorate([
|
|
2718
|
-
ImplementUsingHandlerChain(),
|
|
2719
|
-
__metadata("design:type", Function)
|
|
2720
|
-
], SysSettingsService.prototype, "getByCode", void 0);
|
|
2721
|
-
__decorate([
|
|
2722
|
-
ImplementUsingHandlerChain(),
|
|
2723
|
-
__metadata("design:type", Function)
|
|
2724
|
-
], SysSettingsService.prototype, "update", void 0);
|
|
2725
|
-
__decorate([
|
|
2726
|
-
ImplementUsingHandlerChain(),
|
|
2897
|
+
ImplementUsingHandlerChain({
|
|
2898
|
+
methodName: 'openDialog',
|
|
2899
|
+
}),
|
|
2727
2900
|
__metadata("design:type", Function)
|
|
2728
|
-
],
|
|
2729
|
-
|
|
2730
|
-
/**
|
|
2731
|
-
* @public
|
|
2732
|
-
* @class SysSetting
|
|
2733
|
-
* @classdesc Class contains info related system setting
|
|
2734
|
-
* @property {ɵGuid} id - id of system setting.
|
|
2735
|
-
* @property {string} name - name of system setting.
|
|
2736
|
-
* @property {string} code - code of system setting.
|
|
2737
|
-
* @property {isCacheable} boolean - indicator whether system setting is cacheable
|
|
2738
|
-
* @property {any} value - value of system setting
|
|
2739
|
-
* @property {string} displayValue - display value of system setting
|
|
2740
|
-
* @property {ɵDataValueType} ɵDataValueType - system setting {@link ɵDataValueType}
|
|
2741
|
-
*/
|
|
2742
|
-
class SysSetting {
|
|
2743
|
-
}
|
|
2744
|
-
/**
|
|
2745
|
-
* @public
|
|
2746
|
-
* @class SysSettingValue
|
|
2747
|
-
* @classdesc Shape to describe system setting value
|
|
2748
|
-
* @property {string} code - code of system setting
|
|
2749
|
-
* @property {any} value - value of system setting
|
|
2750
|
-
*/
|
|
2751
|
-
class SysSettingValue {
|
|
2752
|
-
}
|
|
2901
|
+
], DialogService.prototype, "open", void 0);
|
|
2753
2902
|
|
|
2754
2903
|
/**
|
|
2755
2904
|
* @public
|
|
2756
|
-
* @classdesc
|
|
2757
|
-
* @class SysValuesService Service to working with system values using handler chain
|
|
2905
|
+
* @classdesc Service to working with Creatio platform features using handler chain
|
|
2758
2906
|
* @extends {BaseHandlerChainService}
|
|
2759
2907
|
*/
|
|
2760
|
-
class
|
|
2908
|
+
class FeatureService extends BaseHandlerChainService {
|
|
2761
2909
|
constructor() {
|
|
2762
2910
|
super(...arguments);
|
|
2763
2911
|
/**
|
|
2764
2912
|
* @internal
|
|
2765
2913
|
*/
|
|
2766
|
-
this.requestType = 'crt.
|
|
2914
|
+
this.requestType = 'crt.FeatureService';
|
|
2767
2915
|
}
|
|
2768
2916
|
}
|
|
2769
2917
|
__decorate([
|
|
2770
2918
|
ImplementUsingHandlerChain(),
|
|
2771
2919
|
__metadata("design:type", Function)
|
|
2772
|
-
],
|
|
2920
|
+
], FeatureService.prototype, "getFeatureState", void 0);
|
|
2921
|
+
__decorate([
|
|
2922
|
+
ImplementUsingHandlerChain(),
|
|
2923
|
+
__metadata("design:type", Function)
|
|
2924
|
+
], FeatureService.prototype, "getFeaturesState", void 0);
|
|
2773
2925
|
|
|
2774
2926
|
/**
|
|
2775
2927
|
* @public
|
|
@@ -2919,6 +3071,30 @@ __decorate([
|
|
|
2919
3071
|
__metadata("design:type", Function)
|
|
2920
3072
|
], MaskService.prototype, "hideBodyMask", void 0);
|
|
2921
3073
|
|
|
3074
|
+
/**
|
|
3075
|
+
* @public
|
|
3076
|
+
* @classdesc Service for working with messages sent or received through a server channel.
|
|
3077
|
+
* @extends {BaseHandlerChainService}
|
|
3078
|
+
* @implements {BaseMessageChannelService}
|
|
3079
|
+
*/
|
|
3080
|
+
class MessageChannelService extends BaseHandlerChainService {
|
|
3081
|
+
constructor() {
|
|
3082
|
+
super(...arguments);
|
|
3083
|
+
/**
|
|
3084
|
+
* @internal
|
|
3085
|
+
*/
|
|
3086
|
+
this.requestType = 'crt.MessageChannelService';
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
__decorate([
|
|
3090
|
+
ImplementUsingHandlerChain(),
|
|
3091
|
+
__metadata("design:type", Function)
|
|
3092
|
+
], MessageChannelService.prototype, "subscribe", void 0);
|
|
3093
|
+
__decorate([
|
|
3094
|
+
ImplementUsingHandlerChain(),
|
|
3095
|
+
__metadata("design:type", Function)
|
|
3096
|
+
], MessageChannelService.prototype, "sendMessage", void 0);
|
|
3097
|
+
|
|
2922
3098
|
/**
|
|
2923
3099
|
* @internal
|
|
2924
3100
|
*/
|
|
@@ -3020,177 +3196,147 @@ __decorate([
|
|
|
3020
3196
|
|
|
3021
3197
|
/**
|
|
3022
3198
|
* @public
|
|
3023
|
-
* @
|
|
3199
|
+
* @class ProcessEngineService
|
|
3200
|
+
* @classdesc Service, used for starting and completing business processes using handler chain
|
|
3024
3201
|
* @extends {BaseHandlerChainService}
|
|
3025
3202
|
*/
|
|
3026
|
-
class
|
|
3203
|
+
class ProcessEngineService extends BaseHandlerChainService {
|
|
3027
3204
|
constructor() {
|
|
3028
3205
|
super(...arguments);
|
|
3029
3206
|
/**
|
|
3030
3207
|
* @internal
|
|
3031
3208
|
*/
|
|
3032
|
-
this.requestType = 'crt.
|
|
3209
|
+
this.requestType = 'crt.ProcessEngineService';
|
|
3033
3210
|
}
|
|
3034
3211
|
}
|
|
3035
3212
|
__decorate([
|
|
3036
3213
|
ImplementUsingHandlerChain(),
|
|
3037
3214
|
__metadata("design:type", Function)
|
|
3038
|
-
],
|
|
3215
|
+
], ProcessEngineService.prototype, "executeProcessByName", void 0);
|
|
3216
|
+
__decorate([
|
|
3217
|
+
ImplementUsingHandlerChain(),
|
|
3218
|
+
__metadata("design:type", Function)
|
|
3219
|
+
], ProcessEngineService.prototype, "completeExecuting", void 0);
|
|
3039
3220
|
|
|
3040
3221
|
/**
|
|
3041
3222
|
* @public
|
|
3042
|
-
* @classdesc Service to working
|
|
3223
|
+
* @classdesc Service to working rights using handler chain
|
|
3043
3224
|
* @extends {BaseHandlerChainService}
|
|
3044
3225
|
*/
|
|
3045
|
-
class
|
|
3226
|
+
class RightsService extends BaseHandlerChainService {
|
|
3046
3227
|
constructor() {
|
|
3047
3228
|
super(...arguments);
|
|
3048
3229
|
/**
|
|
3049
3230
|
* @internal
|
|
3050
3231
|
*/
|
|
3051
|
-
this.requestType = 'crt.
|
|
3232
|
+
this.requestType = 'crt.RightsService';
|
|
3052
3233
|
}
|
|
3053
3234
|
}
|
|
3054
3235
|
__decorate([
|
|
3055
|
-
ImplementUsingHandlerChain(
|
|
3056
|
-
methodName: 'openDialog',
|
|
3057
|
-
}),
|
|
3236
|
+
ImplementUsingHandlerChain(),
|
|
3058
3237
|
__metadata("design:type", Function)
|
|
3059
|
-
],
|
|
3238
|
+
], RightsService.prototype, "getCanExecuteOperation", void 0);
|
|
3239
|
+
__decorate([
|
|
3240
|
+
ImplementUsingHandlerChain(),
|
|
3241
|
+
__metadata("design:type", Function)
|
|
3242
|
+
], RightsService.prototype, "getCanExecuteOperations", void 0);
|
|
3060
3243
|
|
|
3061
3244
|
/**
|
|
3062
3245
|
* @public
|
|
3063
|
-
* @
|
|
3246
|
+
* @class SchemaModalService
|
|
3247
|
+
* @classdesc Service to work with schema modal windows using handler chain.
|
|
3064
3248
|
* @extends {BaseHandlerChainService}
|
|
3065
|
-
* @implements {BaseMessageChannelService}
|
|
3066
3249
|
*/
|
|
3067
|
-
class
|
|
3250
|
+
class SchemaModalService extends BaseHandlerChainService {
|
|
3068
3251
|
constructor() {
|
|
3069
3252
|
super(...arguments);
|
|
3070
3253
|
/**
|
|
3071
3254
|
* @internal
|
|
3072
3255
|
*/
|
|
3073
|
-
this.requestType = 'crt.
|
|
3256
|
+
this.requestType = 'crt.SchemaModalService';
|
|
3074
3257
|
}
|
|
3075
3258
|
}
|
|
3076
3259
|
__decorate([
|
|
3077
|
-
ImplementUsingHandlerChain(),
|
|
3078
|
-
__metadata("design:type", Function)
|
|
3079
|
-
], MessageChannelService.prototype, "subscribe", void 0);
|
|
3080
|
-
__decorate([
|
|
3081
|
-
ImplementUsingHandlerChain(),
|
|
3260
|
+
ImplementUsingHandlerChain({ omitResult: true }),
|
|
3082
3261
|
__metadata("design:type", Function)
|
|
3083
|
-
],
|
|
3262
|
+
], SchemaModalService.prototype, "show", void 0);
|
|
3084
3263
|
|
|
3085
3264
|
/**
|
|
3086
3265
|
* @public
|
|
3087
|
-
* @class
|
|
3088
|
-
* @classdesc Service
|
|
3266
|
+
* @class SysSettingsService
|
|
3267
|
+
* @classdesc Service to working with system settings using handler chain
|
|
3089
3268
|
* @extends {BaseHandlerChainService}
|
|
3090
3269
|
*/
|
|
3091
|
-
|
|
3270
|
+
// TODO RND-45286 (implement BaseSysSettingsService)
|
|
3271
|
+
class SysSettingsService extends BaseHandlerChainService {
|
|
3092
3272
|
constructor() {
|
|
3093
3273
|
super(...arguments);
|
|
3094
3274
|
/**
|
|
3095
3275
|
* @internal
|
|
3096
3276
|
*/
|
|
3097
|
-
this.requestType = 'crt.
|
|
3277
|
+
this.requestType = 'crt.SysSettingsService';
|
|
3098
3278
|
}
|
|
3099
3279
|
}
|
|
3100
3280
|
__decorate([
|
|
3101
3281
|
ImplementUsingHandlerChain(),
|
|
3102
3282
|
__metadata("design:type", Function)
|
|
3103
|
-
],
|
|
3283
|
+
], SysSettingsService.prototype, "getByCodes", void 0);
|
|
3104
3284
|
__decorate([
|
|
3105
3285
|
ImplementUsingHandlerChain(),
|
|
3106
3286
|
__metadata("design:type", Function)
|
|
3107
|
-
],
|
|
3287
|
+
], SysSettingsService.prototype, "getByCode", void 0);
|
|
3288
|
+
__decorate([
|
|
3289
|
+
ImplementUsingHandlerChain(),
|
|
3290
|
+
__metadata("design:type", Function)
|
|
3291
|
+
], SysSettingsService.prototype, "update", void 0);
|
|
3292
|
+
__decorate([
|
|
3293
|
+
ImplementUsingHandlerChain(),
|
|
3294
|
+
__metadata("design:type", Function)
|
|
3295
|
+
], SysSettingsService.prototype, "updateMany", void 0);
|
|
3108
3296
|
|
|
3109
3297
|
/**
|
|
3110
|
-
*
|
|
3111
|
-
*
|
|
3112
|
-
*
|
|
3298
|
+
* @public
|
|
3299
|
+
* @class SysSetting
|
|
3300
|
+
* @classdesc Class contains info related system setting
|
|
3301
|
+
* @property {ɵGuid} id - id of system setting.
|
|
3302
|
+
* @property {string} name - name of system setting.
|
|
3303
|
+
* @property {string} code - code of system setting.
|
|
3304
|
+
* @property {isCacheable} boolean - indicator whether system setting is cacheable
|
|
3305
|
+
* @property {any} value - value of system setting
|
|
3306
|
+
* @property {string} displayValue - display value of system setting
|
|
3307
|
+
* @property {ɵDataValueType} ɵDataValueType - system setting {@link ɵDataValueType}
|
|
3113
3308
|
*/
|
|
3114
|
-
class
|
|
3309
|
+
class SysSetting {
|
|
3310
|
+
}
|
|
3311
|
+
/**
|
|
3312
|
+
* @public
|
|
3313
|
+
* @class SysSettingValue
|
|
3314
|
+
* @classdesc Shape to describe system setting value
|
|
3315
|
+
* @property {string} code - code of system setting
|
|
3316
|
+
* @property {any} value - value of system setting
|
|
3317
|
+
*/
|
|
3318
|
+
class SysSettingValue {
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* @public
|
|
3323
|
+
* @classdesc
|
|
3324
|
+
* @class SysValuesService Service to working with system values using handler chain
|
|
3325
|
+
* @extends {BaseHandlerChainService}
|
|
3326
|
+
*/
|
|
3327
|
+
class SysValuesService extends BaseHandlerChainService {
|
|
3115
3328
|
constructor() {
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
*/
|
|
3122
|
-
static get instance() {
|
|
3123
|
-
return AiContextService._instance || (AiContextService._instance = new AiContextService());
|
|
3124
|
-
}
|
|
3125
|
-
/**
|
|
3126
|
-
* Generates a unique identifier for a context part.
|
|
3127
|
-
* @returns A string representing a unique identifier.
|
|
3128
|
-
*/
|
|
3129
|
-
_generateId() {
|
|
3130
|
-
const length = 9;
|
|
3131
|
-
const base = 36;
|
|
3132
|
-
const array = new Uint32Array(length);
|
|
3133
|
-
window.crypto.getRandomValues(array);
|
|
3134
|
-
return Array.from(array, (num) => (num % base).toString(base)).join('');
|
|
3135
|
-
}
|
|
3136
|
-
/**
|
|
3137
|
-
* @public
|
|
3138
|
-
* Adds a new context part to the service.
|
|
3139
|
-
* The context part can be a static value, a promise, or a function that provides the value.
|
|
3140
|
-
*
|
|
3141
|
-
* @param value - The context part to add. It can be one of the following:
|
|
3142
|
-
* - `ContextProvider` (a function that provides the context part)
|
|
3143
|
-
* @param id - (Optional) A unique identifier for the context part. If not provided, a new ID will be generated.
|
|
3144
|
-
* @returns The unique identifier of the added context part.
|
|
3145
|
-
*/
|
|
3146
|
-
setContextPart(value, id = this._generateId()) {
|
|
3147
|
-
const provider = typeof value === 'function' ? value : () => value;
|
|
3148
|
-
this._contextParts.push({ id, provider });
|
|
3149
|
-
return id;
|
|
3150
|
-
}
|
|
3151
|
-
/**
|
|
3152
|
-
* @public
|
|
3153
|
-
* Retrieves all context parts as an array of resolved values.
|
|
3154
|
-
* If the context parts include promises or functions, they will be resolved.
|
|
3155
|
-
*
|
|
3156
|
-
* @returns A promise that resolves to an array of context parts, which can be
|
|
3157
|
-
* either `CreatioPageContextPart` or `ConstantValuesContextPart`.
|
|
3158
|
-
*/
|
|
3159
|
-
async getContext() {
|
|
3160
|
-
if (!this._contextParts || this._contextParts.length === 0) {
|
|
3161
|
-
return [];
|
|
3162
|
-
}
|
|
3163
|
-
const resolved = await Promise.all(this._contextParts.map((c) => c.provider()));
|
|
3164
|
-
return resolved
|
|
3165
|
-
.filter((e) => e !== null)
|
|
3166
|
-
.map((p) => {
|
|
3167
|
-
const type = p.type;
|
|
3168
|
-
if (!type || type === 'CreatioPageContextPart' || type === 'ConstantValuesContextPart') {
|
|
3169
|
-
return {
|
|
3170
|
-
...p,
|
|
3171
|
-
type,
|
|
3172
|
-
};
|
|
3173
|
-
}
|
|
3174
|
-
throw new Error(`Invalid context part type: ${type}`);
|
|
3175
|
-
});
|
|
3176
|
-
}
|
|
3177
|
-
/**
|
|
3178
|
-
* @public
|
|
3179
|
-
* Removes a specific context part by its unique identifier.
|
|
3180
|
-
*
|
|
3181
|
-
* @param id - The unique identifier of the context part to remove.
|
|
3182
|
-
*/
|
|
3183
|
-
removeContextPart(id) {
|
|
3184
|
-
this._contextParts = this._contextParts.filter((ctx) => ctx.id !== id);
|
|
3185
|
-
}
|
|
3186
|
-
/**
|
|
3187
|
-
* @public
|
|
3188
|
-
* Removes all context parts from the service.
|
|
3189
|
-
*/
|
|
3190
|
-
removeContext() {
|
|
3191
|
-
this._contextParts = [];
|
|
3329
|
+
super(...arguments);
|
|
3330
|
+
/**
|
|
3331
|
+
* @internal
|
|
3332
|
+
*/
|
|
3333
|
+
this.requestType = 'crt.SysValuesService';
|
|
3192
3334
|
}
|
|
3193
3335
|
}
|
|
3336
|
+
__decorate([
|
|
3337
|
+
ImplementUsingHandlerChain(),
|
|
3338
|
+
__metadata("design:type", Function)
|
|
3339
|
+
], SysValuesService.prototype, "loadSysValues", void 0);
|
|
3194
3340
|
|
|
3195
3341
|
/**
|
|
3196
3342
|
* @public
|
|
@@ -3233,5 +3379,5 @@ __decorate([
|
|
|
3233
3379
|
* Generated bundle index. Do not edit.
|
|
3234
3380
|
*/
|
|
3235
3381
|
|
|
3236
|
-
export { AiContextService, BaseInterfaceDesignerItemRegistry, BaseRequestHandler, BaseValidator, BaseViewElementRegistry, BootstrapNotifier, ChatMessageTypeRegistry, ConverterRegistry, CrtChatMessageType, CrtConverter, CrtDesignTimeViewElement, CrtInject, CrtInput, CrtInputRegistrationConfig, CrtInterfaceDesignerItem, CrtMobileInterfaceDesignerItem, CrtMobileViewElement, CrtModule, CrtOutput, CrtRequest, CrtRequestHandler, CrtValidationInput, CrtValidator, CrtViewElement, CrtZoneService, DataRequest, DataSourceLoadType, DesignTimeViewElementRegistry, DesignerToolGroupType, DialogService, FeatureService, HandleViewModelAttributeChangeRequest, HandlerChainService, HandlerChainServicesRegistry, HandlerSourceType, HandlersOrderComparer, HttpClientService, ImplementUsingHandlerChain, InterfaceDesignerItemRegistrationConfig, InterfaceDesignerItemRegistry, InternalRequestHandlerRegistry, InternalRequestHandlerRegistryType, LazyModuleRef, LazyModulesManager, LicenseService, LocalizableValue, MaskService, MessageChannelService, MethodInvokeRequest, MobileInterfaceDesignerItemRegistry, MobileViewElementRegistry, Model, PkgTopology, ProcessEngineService, ProcessStatus, RemoteEntriesRegistry, RemoteEntryType, RequestHandlerRegistryService, RequestRegistryService, RightsService, RunProcessRequest, SysSetting, SysSettingValue, SysSettingsService, SysValuesService, TransactionFactoryService, VIEW_ELEMENT_DEFAULT_HEIGHT, ValidatorMapValue, ValidatorRegistry, ViewElementDataGroupType, ViewElementGroupType, ViewElementProperty, ViewElementRegistry, ViewElementRenderStrategy, ViewElementReuseStrategy, _from, applyLocalizeMetadataFn, bootstrapCrtModule, bootstrapCrtModuleHandlerChainServices, bootstrappedCrtModules, callOnContextCreateHooks, callOnContextDestroyHooks, callOnContextUpdateHooks, checkCrtTypeNamePascalCase, checkIfTypeRegistered, checkOnlyOneRegistration, checkTypeNameFormat, checkTypeNamePascalCase, crtInjectPrefix, crtInputPrefix, crtOutputPrefix, crtValidationInputPrefix, defineRenderConfig, designTimeViewElementRegistryKey, getConverterMetadata, getCrtInputsMetadata, getCrtOutputsMetadata, getCrtValidationInputsMetadata, getDeepModuleDependencies, getDesignTimeViewElementMetadata, getHandlerChainServiceMetadata, getInterfaceDesignerItemMetadata, getMobileInterfaceDesignerItemMetadata, getMobileViewElementMetadata, getModuleMetadata, getRequestHandlerMetadata, getTypeDependencies, getValidatorMetadata, getViewElementMetadata, hasInterfaceDesignerItemMetadata, hasMobileInterfaceDesignerItemMetadata, instantiate, interfaceDesignerItemRegister, interfaceDesignerItemRegistryKey, localize, matchScopes, mobileInterfaceDesignerItemRegistryKey, mobileViewElementRegistryKey, objectDeepKeys, registerAngularViewElement, registerViewElement, registryKey, resetGlobals, setConverterMetadata, setDesignTimeViewElementMetadata, setInterfaceDesignerItemMetadata, setMobileInterfaceDesignerItemMetadata, setMobileViewElementMetadata, setModuleMetadata, setRequestHandlerMetadata, setValidatorMetadata, setViewElementMetadata, toAggregationEval, toAggregationEvalType, toAggregationFunction, toAggregationType, toDatePart, toDatePartType, toNumericFunctionType, toOrderDirection, toPascalCase, toSortDirection, toStringFunctionType, validatorRegistryKey, viewElementRegister, viewElementRegistryKey, ɵBaseRegistry, ɵcheckTypeNameFormat, ɵinstantiate };
|
|
3382
|
+
export { AiContextService, BaseInterfaceDesignerItemRegistry, BaseRequestHandler, BaseRequestsResolver, BaseValidator, BaseViewElementRegistry, BootstrapNotifier, ChatMessageTypeRegistry, ConverterRegistry, CrtChatMessageType, CrtConverter, CrtDesignTimeViewElement, CrtInject, CrtInput, CrtInputRegistrationConfig, CrtInterfaceDesignerItem, CrtMobileInterfaceDesignerItem, CrtMobileViewElement, CrtModule, CrtOutput, CrtRequest, CrtRequestHandler, CrtValidationInput, CrtValidator, CrtViewElement, CrtZoneService, DataRequest, DataSourceLoadType, DesignTimeViewElementRegistry, DesignerToolGroupType, DialogService, FeatureService, FileViewerFactory, FileViewerInstance, HandleViewModelAttributeChangeRequest, HandlerChainService, HandlerChainServicesRegistry, HandlerSourceType, HandlersOrderComparer, HttpClientService, ImplementUsingHandlerChain, InterfaceDesignerItemRegistrationConfig, InterfaceDesignerItemRegistry, InternalRequestHandlerRegistry, InternalRequestHandlerRegistryType, LazyModuleRef, LazyModulesManager, LicenseService, LocalizableValue, MaskService, MessageChannelService, MethodInvokeRequest, MobileInterfaceDesignerItemRegistry, MobileViewElementRegistry, Model, PkgTopology, ProcessEngineService, ProcessStatus, RemoteEntriesRegistry, RemoteEntryType, RequestHandlerRegistryService, RequestRegistryService, RequestsResolver, RightsService, RunProcessRequest, SchemaModalService, SysSetting, SysSettingValue, SysSettingsService, SysValuesService, TransactionFactoryService, VIEW_ELEMENT_DEFAULT_HEIGHT, ValidatorMapValue, ValidatorRegistry, ViewElementDataGroupType, ViewElementGroupType, ViewElementProperty, ViewElementRegistry, ViewElementRenderStrategy, ViewElementReuseStrategy, ViewModelCollectionActionType, _from, applyLocalizeMetadataFn, bootstrapCrtModule, bootstrapCrtModuleHandlerChainServices, bootstrappedCrtModules, callOnContextCreateHooks, callOnContextDestroyHooks, callOnContextUpdateHooks, checkCrtTypeNamePascalCase, checkIfTypeRegistered, checkOnlyOneRegistration, checkTypeNameFormat, checkTypeNamePascalCase, crtInjectPrefix, crtInputPrefix, crtOutputPrefix, crtValidationInputPrefix, defineRenderConfig, designTimeViewElementRegistryKey, getConverterMetadata, getCrtInputsMetadata, getCrtOutputsMetadata, getCrtValidationInputsMetadata, getDeepModuleDependencies, getDesignTimeViewElementMetadata, getHandlerChainServiceMetadata, getInterfaceDesignerItemMetadata, getMobileInterfaceDesignerItemMetadata, getMobileViewElementMetadata, getModuleMetadata, getRequestHandlerMetadata, getTypeDependencies, getValidatorMetadata, getViewElementMetadata, hasInterfaceDesignerItemMetadata, hasMobileInterfaceDesignerItemMetadata, instantiate, interfaceDesignerItemRegister, interfaceDesignerItemRegistryKey, localize, matchScopes, mobileInterfaceDesignerItemRegistryKey, mobileViewElementRegistryKey, objectDeepKeys, registerAngularViewElement, registerViewElement, registryKey, resetGlobals, setConverterMetadata, setDesignTimeViewElementMetadata, setInterfaceDesignerItemMetadata, setMobileInterfaceDesignerItemMetadata, setMobileViewElementMetadata, setModuleMetadata, setRequestHandlerMetadata, setValidatorMetadata, setViewElementMetadata, toAggregationEval, toAggregationEvalType, toAggregationFunction, toAggregationType, toDatePart, toDatePartType, toNumericFunctionType, toOrderDirection, toPascalCase, toSortDirection, toStringFunctionType, validatorRegistryKey, viewElementRegister, viewElementRegistryKey, ɵBaseRegistry, ɵcheckTypeNameFormat, ɵinstantiate };
|
|
3237
3383
|
//# sourceMappingURL=creatio-devkit-common.mjs.map
|