@creatio-devkit/common 0.1000.1 → 0.1000.3
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/package.json +2 -2
- package/types/creatio-devkit-common.d.ts +2711 -3515
- package/index.d.ts +0 -3692
package/index.d.ts
DELETED
|
@@ -1,3692 +0,0 @@
|
|
|
1
|
-
import { ɵAbstractType as AbstractType } from '@creatio/base';
|
|
2
|
-
import { ɵAggregationEval as AggregationEval } from '@creatio/base';
|
|
3
|
-
import { ɵAggregationEvalType as AggregationEvalType } from '@creatio/base';
|
|
4
|
-
import { ɵAggregationFunction as AggregationFunction } from '@creatio/base';
|
|
5
|
-
import { ɵAggregationFunctionColumn as AggregationFunctionColumn } from '@creatio/base';
|
|
6
|
-
import { ɵAggregationFunctionExpression as AggregationFunctionExpression } from '@creatio/base';
|
|
7
|
-
import { ɵAggregationFunctionExpressionConfig as AggregationFunctionExpressionConfig } from '@creatio/base';
|
|
8
|
-
import { ɵAggregationSubQueryColumn as AggregationSubQueryColumn } from '@creatio/base';
|
|
9
|
-
import { ɵAggregationSubQueryExpression as AggregationSubQueryExpression } from '@creatio/base';
|
|
10
|
-
import { ɵAggregationSubQueryExpressionConfig as AggregationSubQueryExpressionConfig } from '@creatio/base';
|
|
11
|
-
import { ɵAggregationType as AggregationType } from '@creatio/base';
|
|
12
|
-
import { ɵArgumentEmptyException as ArgumentEmptyException } from '@creatio/base';
|
|
13
|
-
import { ɵArgumentFunctionExpression as ArgumentFunctionExpression } from '@creatio/base';
|
|
14
|
-
import { ɵArgumentFunctionExpressionConfig as ArgumentFunctionExpressionConfig } from '@creatio/base';
|
|
15
|
-
import { ɵArgumentOutOfRangeException as ArgumentOutOfRangeException } from '@creatio/base';
|
|
16
|
-
import { ɵArithmeticExpression as ArithmeticExpression } from '@creatio/base';
|
|
17
|
-
import { ɵArithmeticExpressionConfig as ArithmeticExpressionConfig } from '@creatio/base';
|
|
18
|
-
import { ɵArithmeticOperation as ArithmeticOperation } from '@creatio/base';
|
|
19
|
-
import { ɵArithmeticQueryColumn as ArithmeticQueryColumn } from '@creatio/base';
|
|
20
|
-
import { ɵBaseDataSourceParameter as BaseDataSourceParameter } from '@creatio/base';
|
|
21
|
-
import { ɵBaseDialogButtonConfig as BaseDialogButtonConfig } from '@creatio/base';
|
|
22
|
-
import { ɵBaseDialogConfig as BaseDialogConfig } from '@creatio/base';
|
|
23
|
-
import { ɵBaseDialogService as BaseDialogService } from '@creatio/base';
|
|
24
|
-
import { ɵBaseExpression as BaseExpression } from '@creatio/base';
|
|
25
|
-
import { ɵBaseExpressionParser as BaseExpressionParser } from '@creatio/base';
|
|
26
|
-
import { ɵBaseFilter as BaseFilter } from '@creatio/base';
|
|
27
|
-
import { ɵBaseFilterableQuery as BaseFilterableQuery } from '@creatio/base';
|
|
28
|
-
import { ɵBaseFilterParser as BaseFilterParser } from '@creatio/base';
|
|
29
|
-
import { ɵBaseMessageChannelService as BaseMessageChannelService } from '@creatio/base';
|
|
30
|
-
import { ɵBaseModel as BaseModel } from '@creatio/base';
|
|
31
|
-
import { ɵBaseQuery as BaseQuery } from '@creatio/base';
|
|
32
|
-
import { ɵBaseQueryColumn as BaseQueryColumn } from '@creatio/base';
|
|
33
|
-
import { ɵBaseRequest as BaseRequest } from '@creatio/base';
|
|
34
|
-
import { ɵBetweenFilter as BetweenFilter } from '@creatio/base';
|
|
35
|
-
import { ɵButtonColor as ButtonColor } from '@creatio/base';
|
|
36
|
-
import { ɵColumnExpression as ColumnExpression } from '@creatio/base';
|
|
37
|
-
import { ɵColumnExpressionConfig as ColumnExpressionConfig } from '@creatio/base';
|
|
38
|
-
import { ɵCompareFilter as CompareFilter } from '@creatio/base';
|
|
39
|
-
import { ɵComparisonType as ComparisonType } from '@creatio/base';
|
|
40
|
-
import { ɵConditionalValueItem as ConditionalValueItem } from '@creatio/base';
|
|
41
|
-
import { ɵDataSchema as DataSchema } from '@creatio/base';
|
|
42
|
-
import { ɵDataSchemaAttribute as DataSchemaAttribute } from '@creatio/base';
|
|
43
|
-
import { ɵDataSchemaAttributeAggregationConfig as DataSchemaAttributeAggregationConfig } from '@creatio/base';
|
|
44
|
-
import { ɵDataSchemaAttributeAggregationFunctionConfig as DataSchemaAttributeAggregationFunctionConfig } from '@creatio/base';
|
|
45
|
-
import { ɵDataSchemaAttributeDatePartFunctionConfig as DataSchemaAttributeDatePartFunctionConfig } from '@creatio/base';
|
|
46
|
-
import { ɵDataSchemaAttributeFunctionConfig as DataSchemaAttributeFunctionConfig } from '@creatio/base';
|
|
47
|
-
import { ɵDataSchemaAttributeType as DataSchemaAttributeType } from '@creatio/base';
|
|
48
|
-
import { ɵDataSchemaAttributeUsageType as DataSchemaAttributeUsageType } from '@creatio/base';
|
|
49
|
-
import { ɵDataSchemaAttributeValidatorConfig as DataSchemaAttributeValidatorConfig } from '@creatio/base';
|
|
50
|
-
import { ɵDataSchemaAttributeValueMaskingSettings as DataSchemaAttributeValueMaskingSettings } from '@creatio/base';
|
|
51
|
-
import { ɵDataSchemaType as DataSchemaType } from '@creatio/base';
|
|
52
|
-
import { ɵDataSchemaValidatorConfig as DataSchemaValidatorConfig } from '@creatio/base';
|
|
53
|
-
import { ɵDataSourceAggregationConfig as DataSourceAggregationConfig } from '@creatio/base';
|
|
54
|
-
import { ɵDataSourceAggregationFunctionConfig as DataSourceAggregationFunctionConfig } from '@creatio/base';
|
|
55
|
-
import { ɵDataSourceAttribute as DataSourceAttribute } from '@creatio/base';
|
|
56
|
-
import { ɵDataSourceAttributeType as DataSourceAttributeType } from '@creatio/base';
|
|
57
|
-
import { ɵDataSourceCanExecuteOperationPayload as DataSourceCanExecuteOperationPayload } from '@creatio/base';
|
|
58
|
-
import { ɵDataSourceCanExecuteOperationResult as DataSourceCanExecuteOperationResult } from '@creatio/base';
|
|
59
|
-
import { ɵDataSourceConfig as DataSourceConfig } from '@creatio/base';
|
|
60
|
-
import { ɵDataSourceDatePartFunctionConfig as DataSourceDatePartFunctionConfig } from '@creatio/base';
|
|
61
|
-
import { ɵDataSourceFunctionConfig as DataSourceFunctionConfig } from '@creatio/base';
|
|
62
|
-
import { ɵDataSourceInsertResult as DataSourceInsertResult } from '@creatio/base';
|
|
63
|
-
import { ɵDataSourceInstanceConfig as DataSourceInstanceConfig } from '@creatio/base';
|
|
64
|
-
import { ɵDataSourcePagingConfig as DataSourcePagingConfig } from '@creatio/base';
|
|
65
|
-
import { ɵDataSourceParameter as DataSourceParameter } from '@creatio/base';
|
|
66
|
-
import { ɵDataSourceParameterRelationConfig as DataSourceParameterRelationConfig } from '@creatio/base';
|
|
67
|
-
import { ɵDataSourceParameters as DataSourceParameters } from '@creatio/base';
|
|
68
|
-
import { ɵDataSourceSaveResult as DataSourceSaveResult } from '@creatio/base';
|
|
69
|
-
import { ɵDataSourceScope as DataSourceScope } from '@creatio/base';
|
|
70
|
-
import { ɵDataSourceSortingConfig as DataSourceSortingConfig } from '@creatio/base';
|
|
71
|
-
import { ɵDataValueType as DataValueType } from '@creatio/base';
|
|
72
|
-
import { ɵDatePart as DatePart } from '@creatio/base';
|
|
73
|
-
import { ɵDatePartFunctionColumn as DatePartFunctionColumn } from '@creatio/base';
|
|
74
|
-
import { ɵDatePartFunctionExpression as DatePartFunctionExpression } from '@creatio/base';
|
|
75
|
-
import { ɵDatePartFunctionExpressionConfig as DatePartFunctionExpressionConfig } from '@creatio/base';
|
|
76
|
-
import { ɵDatePartType as DatePartType } from '@creatio/base';
|
|
77
|
-
import { ɵDefaultValueSchema as DefaultValueSchema } from '@creatio/base';
|
|
78
|
-
import { ɵDefaultValueSource as DefaultValueSource } from '@creatio/base';
|
|
79
|
-
import { ɵDeleteQuery as DeleteQuery } from '@creatio/base';
|
|
80
|
-
import { ɵEMPTY_GUID as EMPTY_GUID } from '@creatio/base';
|
|
81
|
-
import { ɵencodeDate as encodeDate } from '@creatio/base';
|
|
82
|
-
import { ɵEntityColumnValue as EntityColumnValue } from '@creatio/base';
|
|
83
|
-
import { ɵEntityQueryColumn as EntityQueryColumn } from '@creatio/base';
|
|
84
|
-
import { ɵEntitySchemaQuery as EntitySchemaQuery } from '@creatio/base';
|
|
85
|
-
import { ɵExistsFilter as ExistsFilter } from '@creatio/base';
|
|
86
|
-
import { ɵExpressionConfig as ExpressionConfig } from '@creatio/base';
|
|
87
|
-
import { ɵExpressionMock as ExpressionMock } from '@creatio/base';
|
|
88
|
-
import { ɵExpressionParser as ExpressionParser } from '@creatio/base';
|
|
89
|
-
import { ɵExpressionResolver as ExpressionResolver } from '@creatio/base';
|
|
90
|
-
import { ɵExpressionType as ExpressionType } from '@creatio/base';
|
|
91
|
-
import { ɵFilterGroup as FilterGroup } from '@creatio/base';
|
|
92
|
-
import { FilterGroupOrigin } from '@creatio/base';
|
|
93
|
-
import { ɵFilterGroupOriginType as FilterGroupOriginType } from '@creatio/base';
|
|
94
|
-
import { ɵFilterMock as FilterMock } from '@creatio/base';
|
|
95
|
-
import { ɵFilterParser as FilterParser } from '@creatio/base';
|
|
96
|
-
import { ɵFilterResolver as FilterResolver } from '@creatio/base';
|
|
97
|
-
import { ɵFilterType as FilterType } from '@creatio/base';
|
|
98
|
-
import { ɵFunctionExpression as FunctionExpression } from '@creatio/base';
|
|
99
|
-
import { ɵFunctionExpressionConfig as FunctionExpressionConfig } from '@creatio/base';
|
|
100
|
-
import { ɵFunctionStringType as FunctionStringType } from '@creatio/base';
|
|
101
|
-
import { ɵFunctionType as FunctionType } from '@creatio/base';
|
|
102
|
-
import { ɵgenerateGuid as generateGuid } from '@creatio/base';
|
|
103
|
-
import { ɵGuid as Guid } from '@creatio/base';
|
|
104
|
-
import { ɵInFilter as InFilter } from '@creatio/base';
|
|
105
|
-
import { ɵInsertQuery as InsertQuery } from '@creatio/base';
|
|
106
|
-
import { ɵisEmptyGuid as isEmptyGuid } from '@creatio/base';
|
|
107
|
-
import { ɵisGuid as isGuid } from '@creatio/base';
|
|
108
|
-
import { ɵIsNullFilter as IsNullFilter } from '@creatio/base';
|
|
109
|
-
import { ɵItemNotFoundException as ItemNotFoundException } from '@creatio/base';
|
|
110
|
-
import { ɵJsonArray as JsonArray } from '@creatio/base';
|
|
111
|
-
import { ɵJsonData as JsonData } from '@creatio/base';
|
|
112
|
-
import { ɵJsonObject as JsonObject } from '@creatio/base';
|
|
113
|
-
import { ɵLengthFunctionColumn as LengthFunctionColumn } from '@creatio/base';
|
|
114
|
-
import { ɵLengthFunctionExpression as LengthFunctionExpression } from '@creatio/base';
|
|
115
|
-
import { ɵLengthFunctionExpressionConfig as LengthFunctionExpressionConfig } from '@creatio/base';
|
|
116
|
-
import { ɵLocalizableString as LocalizableString } from '@creatio/base';
|
|
117
|
-
import { ɵLocalizeFn as LocalizeFn } from '@creatio/base';
|
|
118
|
-
import { ɵLogicalOperatorType as LogicalOperatorType } from '@creatio/base';
|
|
119
|
-
import { ɵLookupValue as LookupValue } from '@creatio/base';
|
|
120
|
-
import { ɵLookupValueWithCode as LookupValueWithCode } from '@creatio/base';
|
|
121
|
-
import { ɵMacrosFunctionColumn as MacrosFunctionColumn } from '@creatio/base';
|
|
122
|
-
import { ɵMacrosFunctionExpression as MacrosFunctionExpression } from '@creatio/base';
|
|
123
|
-
import { ɵMacrosFunctionExpressionConfig as MacrosFunctionExpressionConfig } from '@creatio/base';
|
|
124
|
-
import { ɵMessageChannelEvent as MessageChannelEvent } from '@creatio/base';
|
|
125
|
-
import { ɵMessageChannelType as MessageChannelType } from '@creatio/base';
|
|
126
|
-
import { ɵMetadataProvider as MetadataProvider } from '@creatio/base';
|
|
127
|
-
import { ɵModelDefaultValue as ModelDefaultValue } from '@creatio/base';
|
|
128
|
-
import { ɵModelInitConfig as ModelInitConfig } from '@creatio/base';
|
|
129
|
-
import { ɵModelInPageAction as ModelInPageAction } from '@creatio/base';
|
|
130
|
-
import { ɵModelParameterType as ModelParameterType } from '@creatio/base';
|
|
131
|
-
import { ɵNextHandlerAlreadySpecifiedException as NextHandlerAlreadySpecifiedException } from '@creatio/base';
|
|
132
|
-
import { ɵOrderDirection as OrderDirection } from '@creatio/base';
|
|
133
|
-
import { ɵParameterExpression as ParameterExpression } from '@creatio/base';
|
|
134
|
-
import { ɵParameterExpressionConfig as ParameterExpressionConfig } from '@creatio/base';
|
|
135
|
-
import { ɵParameterQueryColumn as ParameterQueryColumn } from '@creatio/base';
|
|
136
|
-
import { ɵPlatformAPIOptions as PlatformAPIOptions } from '@creatio/base';
|
|
137
|
-
import { ɵPlatformAPIs as PlatformAPIs } from '@creatio/base';
|
|
138
|
-
import { ɵPrimaryDisplayFilterDataSourceParameter as PrimaryDisplayFilterDataSourceParameter } from '@creatio/base';
|
|
139
|
-
import { ɵQueryMacrosType as QueryMacrosType } from '@creatio/base';
|
|
140
|
-
import { ɵQueryOperationType as QueryOperationType } from '@creatio/base';
|
|
141
|
-
import { ɵRequestHandler as RequestHandler } from '@creatio/base';
|
|
142
|
-
import { ɵRequestRegistrationConfig as RequestRegistrationConfig } from '@creatio/base';
|
|
143
|
-
import { ɵResolveDependencyFn as ResolveDependencyFn } from '@creatio/base';
|
|
144
|
-
import { ɵSchemaViewMaskRequest as SchemaViewMaskRequest } from '@creatio/base';
|
|
145
|
-
import { ɵSchemaViewMaskRequestAction as SchemaViewMaskRequestAction } from '@creatio/base';
|
|
146
|
-
import { ɵSegmentFilter as SegmentFilter } from '@creatio/base';
|
|
147
|
-
import { ɵSegmentFilterComparisonType as SegmentFilterComparisonType } from '@creatio/base';
|
|
148
|
-
import { ɵSegmentFilterDto as SegmentFilterDto } from '@creatio/base';
|
|
149
|
-
import { ɵSegmentFilterOptions as SegmentFilterOptions } from '@creatio/base';
|
|
150
|
-
import { ɵSegmentFilterOptionsDto as SegmentFilterOptionsDto } from '@creatio/base';
|
|
151
|
-
import { ɵSelectLocalizationQuery as SelectLocalizationQuery } from '@creatio/base';
|
|
152
|
-
import { ɵSingleFilter as SingleFilter } from '@creatio/base';
|
|
153
|
-
import { ɵSortColumnOptions as SortColumnOptions } from '@creatio/base';
|
|
154
|
-
import { ɵSortDirection as SortDirection } from '@creatio/base';
|
|
155
|
-
import { ɵSubQueryColumn as SubQueryColumn } from '@creatio/base';
|
|
156
|
-
import { ɵSubQueryExpression as SubQueryExpression } from '@creatio/base';
|
|
157
|
-
import { ɵSubQueryExpressionConfig as SubQueryExpressionConfig } from '@creatio/base';
|
|
158
|
-
import { ɵSubscription as Subscription } from '@creatio/base';
|
|
159
|
-
import { ɵTeardownLogic as TeardownLogic } from '@creatio/base';
|
|
160
|
-
import { ɵtoLocalISOString as toLocalISOString } from '@creatio/base';
|
|
161
|
-
import { ɵType as Type } from '@creatio/base';
|
|
162
|
-
import { ɵUpdateQuery as UpdateQuery } from '@creatio/base';
|
|
163
|
-
import { ɵValidationUtilities as ValidationUtilities } from '@creatio/base';
|
|
164
|
-
import { ɵViewModelContext as ViewModelContext } from '@creatio/base';
|
|
165
|
-
import { ɵWindowFunctionColumn as WindowFunctionColumn } from '@creatio/base';
|
|
166
|
-
import { ɵWindowFunctionExpression as WindowFunctionExpression } from '@creatio/base';
|
|
167
|
-
import { ɵWindowFunctionExpressionConfig as WindowFunctionExpressionConfig } from '@creatio/base';
|
|
168
|
-
import { ɵCompatibleAPIs } from '@creatio/base';
|
|
169
|
-
import { ɵDataSourceLoadOptions } from '@creatio/base';
|
|
170
|
-
import { ɵItemCreationConfig } from '@creatio/base';
|
|
171
|
-
import { ɵViewModelCollection } from '@creatio/base';
|
|
172
|
-
|
|
173
|
-
export { AbstractType }
|
|
174
|
-
|
|
175
|
-
/* Excluded from this release type: AddRequestHandlerListener */
|
|
176
|
-
export { AggregationEval }
|
|
177
|
-
|
|
178
|
-
export { AggregationEvalType }
|
|
179
|
-
|
|
180
|
-
export { AggregationFunction }
|
|
181
|
-
|
|
182
|
-
export { AggregationFunctionColumn }
|
|
183
|
-
|
|
184
|
-
export { AggregationFunctionExpression }
|
|
185
|
-
|
|
186
|
-
export { AggregationFunctionExpressionConfig }
|
|
187
|
-
|
|
188
|
-
export { AggregationSubQueryColumn }
|
|
189
|
-
|
|
190
|
-
export { AggregationSubQueryExpression }
|
|
191
|
-
|
|
192
|
-
export { AggregationSubQueryExpressionConfig }
|
|
193
|
-
|
|
194
|
-
export { AggregationType }
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Service for managing AI context parts and providing a unified context.
|
|
198
|
-
* This service allows adding, retrieving, and removing context parts, which can be
|
|
199
|
-
* either static values, promises, or dynamically provided through a function.
|
|
200
|
-
*/
|
|
201
|
-
export declare class AiContextService {
|
|
202
|
-
private _contextParts;
|
|
203
|
-
/**
|
|
204
|
-
* Retrieves the singleton instance of the `AiContextService`.
|
|
205
|
-
* If the instance does not exist, it will be created.
|
|
206
|
-
*/
|
|
207
|
-
static get instance(): AiContextService;
|
|
208
|
-
/**
|
|
209
|
-
* Generates a unique identifier for a context part.
|
|
210
|
-
* @returns A string representing a unique identifier.
|
|
211
|
-
*/
|
|
212
|
-
private _generateId;
|
|
213
|
-
/**
|
|
214
|
-
* @public
|
|
215
|
-
* Adds a new context part to the service.
|
|
216
|
-
* The context part can be a static value, a promise, or a function that provides the value.
|
|
217
|
-
*
|
|
218
|
-
* @param value - The context part to add. It can be one of the following:
|
|
219
|
-
* - `ContextProvider` (a function that provides the context part)
|
|
220
|
-
* @param id - (Optional) A unique identifier for the context part. If not provided, a new ID will be generated.
|
|
221
|
-
* @returns The unique identifier of the added context part.
|
|
222
|
-
*/
|
|
223
|
-
setContextPart(value: ContextProvider, id?: string): string;
|
|
224
|
-
/**
|
|
225
|
-
* @public
|
|
226
|
-
* Retrieves all context parts as an array of resolved values.
|
|
227
|
-
* If the context parts include promises or functions, they will be resolved.
|
|
228
|
-
*
|
|
229
|
-
* @returns A promise that resolves to an array of context parts, which can be
|
|
230
|
-
* either `CreatioPageContextPart` or `ConstantValuesContextPart`.
|
|
231
|
-
*/
|
|
232
|
-
getContext(): Promise<(CreatioPageContextPart | ConstantValuesContextPart)[]>;
|
|
233
|
-
/**
|
|
234
|
-
* @public
|
|
235
|
-
* Removes a specific context part by its unique identifier.
|
|
236
|
-
*
|
|
237
|
-
* @param id - The unique identifier of the context part to remove.
|
|
238
|
-
*/
|
|
239
|
-
removeContextPart(id: string): void;
|
|
240
|
-
/**
|
|
241
|
-
* @public
|
|
242
|
-
* Removes all context parts from the service.
|
|
243
|
-
*/
|
|
244
|
-
removeContext(): void;
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* Excluded from this release type: AngularViewElementRegistrationConfig */
|
|
248
|
-
|
|
249
|
-
/* Excluded from this release type: applyLocalizeMetadataFn */
|
|
250
|
-
export { ArgumentEmptyException }
|
|
251
|
-
|
|
252
|
-
export { ArgumentFunctionExpression }
|
|
253
|
-
|
|
254
|
-
export { ArgumentFunctionExpressionConfig }
|
|
255
|
-
|
|
256
|
-
export { ArgumentOutOfRangeException }
|
|
257
|
-
|
|
258
|
-
export { ArithmeticExpression }
|
|
259
|
-
|
|
260
|
-
export { ArithmeticExpressionConfig }
|
|
261
|
-
|
|
262
|
-
export { ArithmeticOperation }
|
|
263
|
-
|
|
264
|
-
export { ArithmeticQueryColumn }
|
|
265
|
-
|
|
266
|
-
/* Excluded from this release type: AttributePropertyConfig */
|
|
267
|
-
|
|
268
|
-
/* Excluded from this release type: AttributeValueConfig */
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* @public
|
|
272
|
-
* Base shape shared by all AI context parts.
|
|
273
|
-
*/
|
|
274
|
-
export declare interface BaseContextPart {
|
|
275
|
-
/** Discriminator identifying the concrete context part type. */
|
|
276
|
-
type?: string;
|
|
277
|
-
/**
|
|
278
|
-
* The unique identifier of the context part as registered in `AiContextService`.
|
|
279
|
-
* Populated by `AiContextService.getContext()` for each resolved part.
|
|
280
|
-
*/
|
|
281
|
-
contextId: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @description Common hierarchy options shared between client-side and server-side hierarchy modes.
|
|
286
|
-
* @property {'ClientSide' | 'ServerSide'} type Type of hierarchy handling.
|
|
287
|
-
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
288
|
-
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
289
|
-
*/
|
|
290
|
-
declare interface BaseDataSourceHierarchyConfig {
|
|
291
|
-
/**
|
|
292
|
-
* @description Type of hierarchy handling.
|
|
293
|
-
*/
|
|
294
|
-
type?: 'ClientSide' | 'ServerSide';
|
|
295
|
-
/**
|
|
296
|
-
* @description Name of the column that defines the hierarchy.
|
|
297
|
-
*/
|
|
298
|
-
hierarchicalColumnName: string;
|
|
299
|
-
/**
|
|
300
|
-
* @description Value of the hierarchical column to start loading from.
|
|
301
|
-
*/
|
|
302
|
-
hierarchicalColumnValue?: string;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
export { BaseDataSourceParameter }
|
|
306
|
-
|
|
307
|
-
export { BaseDialogButtonConfig }
|
|
308
|
-
|
|
309
|
-
export { BaseDialogConfig }
|
|
310
|
-
|
|
311
|
-
export { BaseDialogService }
|
|
312
|
-
|
|
313
|
-
export { BaseExpression }
|
|
314
|
-
|
|
315
|
-
export { BaseExpressionParser }
|
|
316
|
-
|
|
317
|
-
export { BaseFilter }
|
|
318
|
-
|
|
319
|
-
export { BaseFilterableQuery }
|
|
320
|
-
|
|
321
|
-
export { BaseFilterParser }
|
|
322
|
-
|
|
323
|
-
declare abstract class BaseHandlerChainService {
|
|
324
|
-
/* Excluded from this release type: requestType */
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/* Excluded from this release type: BaseInterfaceDesignerItemRegistrationConfig */
|
|
328
|
-
|
|
329
|
-
/* Excluded from this release type: BaseInterfaceDesignerItemRegistry */
|
|
330
|
-
|
|
331
|
-
/* Excluded from this release type: BaseItemRendererConfig */
|
|
332
|
-
|
|
333
|
-
/* Excluded from this release type: BaseItemRendererRegistry */
|
|
334
|
-
export { BaseMessageChannelService }
|
|
335
|
-
|
|
336
|
-
export { BaseModel }
|
|
337
|
-
|
|
338
|
-
export { BaseQuery }
|
|
339
|
-
|
|
340
|
-
export { BaseQueryColumn }
|
|
341
|
-
|
|
342
|
-
export { BaseRequest }
|
|
343
|
-
|
|
344
|
-
/**
|
|
345
|
-
* @public
|
|
346
|
-
* @description Request payload
|
|
347
|
-
* @property {string} request - request name.
|
|
348
|
-
* @property {unknown} params - request parameters.
|
|
349
|
-
*/
|
|
350
|
-
export declare interface BaseRequestConfig {
|
|
351
|
-
/**
|
|
352
|
-
* @description request name.
|
|
353
|
-
*/
|
|
354
|
-
request: string;
|
|
355
|
-
/**
|
|
356
|
-
* @description request parameters.
|
|
357
|
-
*/
|
|
358
|
-
params?: unknown;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
/* Excluded from this release type: BaseRequestCtor */
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* @public
|
|
365
|
-
* @abstract
|
|
366
|
-
* @classdesc Class for designing request handlers.
|
|
367
|
-
*/
|
|
368
|
-
export declare abstract class BaseRequestHandler<TRequest = BaseRequest, TResult = unknown> implements RequestHandler<TRequest, TResult> {
|
|
369
|
-
/* Excluded from this release type: _instanceOfKey */
|
|
370
|
-
private _next?;
|
|
371
|
-
protected handlerChain: HandlerChainService;
|
|
372
|
-
protected get next(): RequestHandler | undefined;
|
|
373
|
-
/* Excluded from this release type: [Symbol.hasInstance] */
|
|
374
|
-
/**
|
|
375
|
-
* @abstract
|
|
376
|
-
* @description Abstract async method which contains logic to handle request properly.
|
|
377
|
-
* @param {TRequest} request - {@link ɵBaseRequest}
|
|
378
|
-
*/
|
|
379
|
-
abstract handle(request: TRequest): Promise<TResult>;
|
|
380
|
-
/**
|
|
381
|
-
* @description Method to set request handler to handler chain.
|
|
382
|
-
* @param next - link for next request handler - {@link ɵRequestHandler}
|
|
383
|
-
*/
|
|
384
|
-
setNext(next: RequestHandler): void;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/* Excluded from this release type: BaseRequestsResolver */
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* @public
|
|
391
|
-
* @description Shape of response
|
|
392
|
-
* @property {boolean} success - Indicates whether operation was success.
|
|
393
|
-
* @property {ErrorInfo} errorInfo - detailed error description. {@link ErrorInfo}
|
|
394
|
-
*/
|
|
395
|
-
export declare interface BaseResponse {
|
|
396
|
-
/**
|
|
397
|
-
* @description Indicates whether operation was success.
|
|
398
|
-
*/
|
|
399
|
-
success: boolean;
|
|
400
|
-
/**
|
|
401
|
-
* @description detailed error description. {@link ErrorInfo}
|
|
402
|
-
*/
|
|
403
|
-
errorInfo?: ErrorInfo;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/* Excluded from this release type: BaseToolbarViewElementConfig */
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* @public
|
|
410
|
-
* @description Abstract Base Validator class for designing custom validators.
|
|
411
|
-
* @example
|
|
412
|
-
* @CrtValidator({
|
|
413
|
-
* type: 'crt.Required',
|
|
414
|
-
* })
|
|
415
|
-
* export class RequiredValidator extends BaseValidator {
|
|
416
|
-
* protected override async = false;
|
|
417
|
-
* public validate(controlState: CrtControlState, params?: ValidatorParametersValues): CrtValidationErrors | null {
|
|
418
|
-
* Implementation here...
|
|
419
|
-
* }
|
|
420
|
-
* }
|
|
421
|
-
*/
|
|
422
|
-
export declare abstract class BaseValidator {
|
|
423
|
-
/* Excluded from this release type: _instanceOfKey */
|
|
424
|
-
/**
|
|
425
|
-
* @abstract
|
|
426
|
-
* @description indicator to recognize whether validator asynchronous or synchronous
|
|
427
|
-
*/
|
|
428
|
-
protected abstract async: boolean;
|
|
429
|
-
/**
|
|
430
|
-
* @description getter for async/sync indicator
|
|
431
|
-
*/
|
|
432
|
-
get isAsync(): boolean;
|
|
433
|
-
/**
|
|
434
|
-
* @description Function used for validation
|
|
435
|
-
*/
|
|
436
|
-
get validateFn(): CrtValidatorFn;
|
|
437
|
-
/* Excluded from this release type: [Symbol.hasInstance] */
|
|
438
|
-
/**
|
|
439
|
-
* @description Method which contains main logic relates validation.
|
|
440
|
-
* @param controlState - {@link CrtControlState}
|
|
441
|
-
* @param params - incoming parameters for validation {@link ValidatorParametersValues}
|
|
442
|
-
*/
|
|
443
|
-
abstract validate(controlState: CrtControlState, params?: ValidatorParametersValues): CrtValidationErrors | null | Promise<CrtValidationErrors | null>;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* @public
|
|
448
|
-
* @description Registration config for defining user components in Creatio platform.
|
|
449
|
-
* @property {string} type - type of view element. Used to specify view element in schema.
|
|
450
|
-
* @property {Record<string, CrtInputRegistrationConfig>=} inputs {@link CrtInputRegistrationConfig} - map
|
|
451
|
-
* of component inputs. Communication chanel to send update from Creatio platform to component
|
|
452
|
-
* @property {Record<string, unknown>=} outputs - map of component outputs.
|
|
453
|
-
* Communication chanel to send update from component to Creatio platform.
|
|
454
|
-
* @property {Record<string, unknown>=} validationInputs - map of component validationInputs.
|
|
455
|
-
* Communication chanel to receive updates relates to validation.
|
|
456
|
-
* To properly declare validationInfo field:
|
|
457
|
-
* 1. Declare input field inside inputs section. For example `count`
|
|
458
|
-
* 2. In validationInputs section declare same field which ends with ValidationInfo.
|
|
459
|
-
* For previous example `countValidationInfo`
|
|
460
|
-
*
|
|
461
|
-
* @example
|
|
462
|
-
* const config: BaseViewElementRegistrationConfig = {
|
|
463
|
-
* type: 'usr.Component',
|
|
464
|
-
* inputs: {
|
|
465
|
-
* entitySchemaName: {},
|
|
466
|
-
* user: {},
|
|
467
|
-
* count: {}
|
|
468
|
-
* },
|
|
469
|
-
* outputs: {
|
|
470
|
-
* countChange: {}
|
|
471
|
-
* },
|
|
472
|
-
* validationInputs: {
|
|
473
|
-
* countValidationInfo: {}
|
|
474
|
-
* }
|
|
475
|
-
* }
|
|
476
|
-
*/
|
|
477
|
-
export declare type BaseViewElementRegistrationConfig = {
|
|
478
|
-
/**
|
|
479
|
-
* @description type of view element. Used to specify view element in schema.
|
|
480
|
-
*/
|
|
481
|
-
type: string;
|
|
482
|
-
/**
|
|
483
|
-
* @description Defines the content slots for the view element.
|
|
484
|
-
* The property allows you to project content from a parent component to a child component.
|
|
485
|
-
*/
|
|
486
|
-
contentSlots?: Array<string | ViewElementSlotDefinition>;
|
|
487
|
-
/**
|
|
488
|
-
* @description {@link CrtInputRegistrationConfig} map
|
|
489
|
-
* of component inputs. Communication chanel to send update from Creatio platform to component
|
|
490
|
-
*/
|
|
491
|
-
inputs?: Record<string, CrtInputRegistrationConfig>;
|
|
492
|
-
/**
|
|
493
|
-
* @description map of component outputs.
|
|
494
|
-
* Communication chanel to send update from component to Creatio platform.
|
|
495
|
-
*/
|
|
496
|
-
outputs?: Record<string, unknown>;
|
|
497
|
-
/**
|
|
498
|
-
* @description map of component validationInputs.
|
|
499
|
-
* Communication chanel to receive updates relates to validation.
|
|
500
|
-
* To properly declare validationInfo field:
|
|
501
|
-
* 1. Declare input field inside inputs section. For example `count`
|
|
502
|
-
* 2. In validationInputs section declare same field which ends with ValidationInfo.
|
|
503
|
-
* For previous example `countValidationInfo`
|
|
504
|
-
*/
|
|
505
|
-
validationInputs?: Record<string, unknown>;
|
|
506
|
-
/* Excluded from this release type: reuseStrategy */
|
|
507
|
-
/* Excluded from this release type: compatibleAPIs */
|
|
508
|
-
} & (OnViewportRenderConfig | DefaultRenderConfig);
|
|
509
|
-
|
|
510
|
-
/* Excluded from this release type: BaseViewElementRegistry */
|
|
511
|
-
export { BetweenFilter }
|
|
512
|
-
|
|
513
|
-
/* Excluded declaration from this release type: bootstrapCrtModule */
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* @public
|
|
517
|
-
* @description Function required to bootstrapping elements defined in CrtModules.
|
|
518
|
-
* Call this function as soon as possible during bootstrapping your application.
|
|
519
|
-
* @param type - module type
|
|
520
|
-
* @param options - {@link BootstrapOptions}
|
|
521
|
-
*
|
|
522
|
-
* @example
|
|
523
|
-
* bootstrapCrtModule(AppModule)
|
|
524
|
-
*/
|
|
525
|
-
export declare function bootstrapCrtModule(remoteName: string, type: Type, options?: BootstrapOptions): void;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* @public
|
|
529
|
-
* @deprecated
|
|
530
|
-
*/
|
|
531
|
-
export declare function bootstrapCrtModule(type: Type, options?: BootstrapOptions): void;
|
|
532
|
-
|
|
533
|
-
/* Excluded from this release type: bootstrapCrtModuleHandlerChainServices */
|
|
534
|
-
|
|
535
|
-
/* Excluded from this release type: BootstrapNotifier */
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* @public
|
|
539
|
-
* @description Module bootstrap options
|
|
540
|
-
*/
|
|
541
|
-
export declare interface BootstrapOptions {
|
|
542
|
-
/**
|
|
543
|
-
* Function to be used to translate localizable values of class metadata
|
|
544
|
-
*/
|
|
545
|
-
localizeMetadata?: LocalizeFn;
|
|
546
|
-
/**
|
|
547
|
-
* Function to be used to resolve class dependencies
|
|
548
|
-
*/
|
|
549
|
-
resolveDependency?: ResolveDependencyFn;
|
|
550
|
-
/* Excluded from this release type: moduleType */
|
|
551
|
-
/* Excluded from this release type: featureValues */
|
|
552
|
-
/* Excluded from this release type: onContextCreate */
|
|
553
|
-
/* Excluded from this release type: onContextUpdate */
|
|
554
|
-
/* Excluded from this release type: onContextDestroy */
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/* Excluded from this release type: BootstrappedCrtModules */
|
|
558
|
-
|
|
559
|
-
/* Excluded from this release type: bootstrappedCrtModules */
|
|
560
|
-
export { ButtonColor }
|
|
561
|
-
|
|
562
|
-
/* Excluded from this release type: callOnContextCreateHooks */
|
|
563
|
-
|
|
564
|
-
/* Excluded from this release type: callOnContextDestroyHooks */
|
|
565
|
-
|
|
566
|
-
/* Excluded from this release type: callOnContextUpdateHooks */
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* TODO: RND-55882
|
|
570
|
-
*/
|
|
571
|
-
export declare interface ChangeAttributeValueEventPayload extends ViewModelAttributeChangeEventOptionsType {
|
|
572
|
-
attributeName: string;
|
|
573
|
-
value: any;
|
|
574
|
-
oldValue: any;
|
|
575
|
-
/**
|
|
576
|
-
* @deprecated
|
|
577
|
-
*/
|
|
578
|
-
silent?: boolean;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* @public
|
|
583
|
-
* @description Config used to register component as a message type in chat.
|
|
584
|
-
*/
|
|
585
|
-
export declare interface ChatMessageTypeRegistrationConfig {
|
|
586
|
-
/**
|
|
587
|
-
* @description component tag selector; Element appears in DOM with this selector.
|
|
588
|
-
*/
|
|
589
|
-
selector: string;
|
|
590
|
-
/**
|
|
591
|
-
* @description type of message.
|
|
592
|
-
*/
|
|
593
|
-
messageType: string;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/* Excluded from this release type: ChatMessageTypeRegistry */
|
|
597
|
-
|
|
598
|
-
/* Excluded from this release type: checkCrtTypeNamePascalCase */
|
|
599
|
-
|
|
600
|
-
/* Excluded from this release type: checkIfTypeRegistered */
|
|
601
|
-
|
|
602
|
-
/* Excluded from this release type: checkOnlyOneRegistration */
|
|
603
|
-
|
|
604
|
-
/* Excluded from this release type: checkTypeNameFormat */
|
|
605
|
-
|
|
606
|
-
/* Excluded from this release type: checkTypeNamePascalCase */
|
|
607
|
-
|
|
608
|
-
/**
|
|
609
|
-
* @public
|
|
610
|
-
* @description Configuration for client-side hierarchy processing.
|
|
611
|
-
* @property {'ClientSide'} type Type of hierarchy handling.
|
|
612
|
-
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
613
|
-
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
614
|
-
* @property {string} hierarchicalChildrenCountColumnName Name of the column with children count for a node.
|
|
615
|
-
* @property {HierarchyState} hierarchicalState State of hierarchical rows (expanded/collapsed).
|
|
616
|
-
*/
|
|
617
|
-
export declare interface ClientSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
|
|
618
|
-
/**
|
|
619
|
-
* @description Type of hierarchy handling.
|
|
620
|
-
*/
|
|
621
|
-
type: 'ClientSide';
|
|
622
|
-
/**
|
|
623
|
-
* @description Name of the column with children count for a node.
|
|
624
|
-
*/
|
|
625
|
-
hierarchicalChildrenCountColumnName?: string;
|
|
626
|
-
/**
|
|
627
|
-
* @description State of hierarchical rows (expanded/collapsed).
|
|
628
|
-
*/
|
|
629
|
-
hierarchicalState?: HierarchyState;
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
export { ColumnExpression }
|
|
633
|
-
|
|
634
|
-
export { ColumnExpressionConfig }
|
|
635
|
-
|
|
636
|
-
export { CompareFilter }
|
|
637
|
-
|
|
638
|
-
export { ComparisonType }
|
|
639
|
-
|
|
640
|
-
export { ConditionalValueItem }
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* @public
|
|
644
|
-
* @description Represents a consent record.
|
|
645
|
-
* @property {Guid} id - Unique identifier of the consent record.
|
|
646
|
-
* @property {string} name - Name of the consent.
|
|
647
|
-
* @property {string} code - Code of the consent.
|
|
648
|
-
* @property {string} consentText - Text of the consent.
|
|
649
|
-
*/
|
|
650
|
-
export declare interface Consent {
|
|
651
|
-
/**
|
|
652
|
-
* @description Unique identifier of the consent record.
|
|
653
|
-
*/
|
|
654
|
-
id: Guid;
|
|
655
|
-
/**
|
|
656
|
-
* @description Name of the consent.
|
|
657
|
-
*/
|
|
658
|
-
name: string;
|
|
659
|
-
/**
|
|
660
|
-
* @description Code of the consent.
|
|
661
|
-
*/
|
|
662
|
-
code: string;
|
|
663
|
-
/**
|
|
664
|
-
* @description Text of the consent.
|
|
665
|
-
*/
|
|
666
|
-
consentText: string;
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
/**
|
|
670
|
-
* @public
|
|
671
|
-
* Context part holding a set of constant key/value pairs.
|
|
672
|
-
*/
|
|
673
|
-
export declare interface ConstantValuesContextPart extends BaseContextPart {
|
|
674
|
-
/** Discriminator identifying the context part as a `ConstantValuesContextPart`. */
|
|
675
|
-
type: 'ConstantValuesContextPart';
|
|
676
|
-
/** Optional human-readable title of the context part. */
|
|
677
|
-
title?: string;
|
|
678
|
-
/** The constant values exposed by this context part. */
|
|
679
|
-
values: Record<string, unknown>;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* @public
|
|
684
|
-
* A `ConstantValuesContextPart` returned from a `ContextProvider`, before the AI context service
|
|
685
|
-
* attaches the registered `contextId`.
|
|
686
|
-
*/
|
|
687
|
-
export declare type ConstantValuesContextPartInput = Omit<ConstantValuesContextPart, 'contextId'>;
|
|
688
|
-
|
|
689
|
-
/* Excluded from this release type: ContexedHandlerScopeConfig */
|
|
690
|
-
|
|
691
|
-
/**
|
|
692
|
-
* @public
|
|
693
|
-
* A single record exposed by a {@link ContextDataSourcePart}.
|
|
694
|
-
*/
|
|
695
|
-
export declare interface ContextDataRecord {
|
|
696
|
-
/** The unique identifier of the record. */
|
|
697
|
-
id: string;
|
|
698
|
-
/** The display value of the record. */
|
|
699
|
-
displayColumnValue: string;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* @public
|
|
704
|
-
* A data source exposed by a page context part, grouping records of a single entity schema.
|
|
705
|
-
*/
|
|
706
|
-
export declare interface ContextDataSourcePart {
|
|
707
|
-
/** The name of the entity schema the records belong to. */
|
|
708
|
-
entitySchemaName: string;
|
|
709
|
-
/** The name of the column used as the display value for each record. */
|
|
710
|
-
displayColumnName: string;
|
|
711
|
-
/** Whether the data source represents a collection of records rather than a single record. */
|
|
712
|
-
isCollection: boolean;
|
|
713
|
-
/** Whether this is the primary data source of the page. */
|
|
714
|
-
isPrimary: boolean;
|
|
715
|
-
/** The records exposed by this data source. */
|
|
716
|
-
records: Array<ContextDataRecord>;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* @public
|
|
721
|
-
* The action to perform on a context part.
|
|
722
|
-
*/
|
|
723
|
-
export declare type ContextPartAction = 'set' | 'update' | 'remove';
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* @public
|
|
727
|
-
* @classdesc Request handler for managing context parts in the AI context service.
|
|
728
|
-
* This handler processes requests to add, remove, or retrieve context parts.
|
|
729
|
-
*/
|
|
730
|
-
export declare class ContextPartRequest extends BaseRequest {
|
|
731
|
-
/** The unique identifier of the context part. */
|
|
732
|
-
id: string;
|
|
733
|
-
/** The provider that resolves the context part. */
|
|
734
|
-
contextPartProvider: ContextProvider;
|
|
735
|
-
/** The action to perform on the context part. */
|
|
736
|
-
action: ContextPartAction;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* @public
|
|
741
|
-
* A factory that produces a context part to register in `AiContextService`, synchronously or asynchronously.
|
|
742
|
-
*/
|
|
743
|
-
export declare type ContextProvider = () => CreatioPageContextPartInput | Promise<CreatioPageContextPartInput> | ConstantValuesContextPartInput | Promise<ConstantValuesContextPartInput>;
|
|
744
|
-
|
|
745
|
-
/**
|
|
746
|
-
* @public
|
|
747
|
-
* @description Shape to implementing Converter.
|
|
748
|
-
* @template V
|
|
749
|
-
* @template R
|
|
750
|
-
*/
|
|
751
|
-
export declare interface Converter<V = unknown, R = unknown> {
|
|
752
|
-
/**
|
|
753
|
-
* @description Function which convert incoming value.
|
|
754
|
-
* @param {V} value - input value.
|
|
755
|
-
* @param {ViewModelContext} context - view model context.
|
|
756
|
-
* @param {...unknown[]} arg - arguments rest.
|
|
757
|
-
* @return {*} {R}
|
|
758
|
-
*/
|
|
759
|
-
convert(value: V, context: ViewModelContext, ...args: unknown[]): R;
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* @public
|
|
764
|
-
* @description Config used to register converter in Creatio platform.
|
|
765
|
-
* @property {string} type - type of validator
|
|
766
|
-
*/
|
|
767
|
-
export declare interface ConverterConfig {
|
|
768
|
-
/**
|
|
769
|
-
* @description type used to register converter in Creatio platform.
|
|
770
|
-
*/
|
|
771
|
-
type: string;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/* Excluded from this release type: ConverterMetadata */
|
|
775
|
-
|
|
776
|
-
/* Excluded from this release type: ConverterRegistry */
|
|
777
|
-
|
|
778
|
-
/* Excluded from this release type: ConverterRegistryItem */
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* @public
|
|
782
|
-
* Context part describing a Creatio page together with the data sources available on it.
|
|
783
|
-
*/
|
|
784
|
-
export declare interface CreatioPageContextPart extends BaseContextPart {
|
|
785
|
-
/** Discriminator identifying the context part as a `CreatioPageContextPart`. */
|
|
786
|
-
type?: 'CreatioPageContextPart';
|
|
787
|
-
/** The human-readable title of the page. */
|
|
788
|
-
title: string;
|
|
789
|
-
/** The schema name of the page. */
|
|
790
|
-
pageSchemaName: string;
|
|
791
|
-
/** The data sources available on the page. */
|
|
792
|
-
dataSources: Array<ContextDataSourcePart>;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* @public
|
|
797
|
-
* A `CreatioPageContextPart` returned from a `ContextProvider`, before the AI context service
|
|
798
|
-
* attaches the registered `contextId`.
|
|
799
|
-
*/
|
|
800
|
-
export declare type CreatioPageContextPartInput = Omit<CreatioPageContextPart, 'contextId'>;
|
|
801
|
-
|
|
802
|
-
/* Excluded from this release type: CrtAngularViewElementConfig */
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* @public
|
|
806
|
-
* @description CrtChatMessageType decorator allows user to register components as a message type in chat.
|
|
807
|
-
* @param config - registration config. {@link ChatMessageTypeRegistrationConfig}.
|
|
808
|
-
*
|
|
809
|
-
* @example
|
|
810
|
-
* @CrtChatMessageType({
|
|
811
|
-
* selector: 'usr-video-message',
|
|
812
|
-
* messageType: 'video',
|
|
813
|
-
* })
|
|
814
|
-
* export class AppComponent { }
|
|
815
|
-
*/
|
|
816
|
-
export declare function CrtChatMessageType(config: ChatMessageTypeRegistrationConfig): (type: Type) => void;
|
|
817
|
-
|
|
818
|
-
/**
|
|
819
|
-
* @public
|
|
820
|
-
* @description Control state passed for validators
|
|
821
|
-
* @property {unknown} value - control value
|
|
822
|
-
*/
|
|
823
|
-
export declare interface CrtControlState {
|
|
824
|
-
/**
|
|
825
|
-
* @description control value
|
|
826
|
-
*/
|
|
827
|
-
value: unknown;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* @public
|
|
832
|
-
* @description Decorator to declare converter
|
|
833
|
-
* @param config - converter config {@link ConverterConfig}.
|
|
834
|
-
* if config is not passed, converter won't be declared,
|
|
835
|
-
* but still can be used as base class for another converter
|
|
836
|
-
*
|
|
837
|
-
* @example
|
|
838
|
-
* @CrtConverter({
|
|
839
|
-
* type: 'usr.ToBoolean',
|
|
840
|
-
* })
|
|
841
|
-
* export class ToBooleanConverter implements Converter<unknown, boolean> {
|
|
842
|
-
* public convert(value: unknown): boolean {
|
|
843
|
-
* return Boolean(value);
|
|
844
|
-
* }
|
|
845
|
-
* }
|
|
846
|
-
*/
|
|
847
|
-
export declare function CrtConverter(config: ConverterConfig): (type: Type) => void;
|
|
848
|
-
|
|
849
|
-
export declare function CrtConverter(): (type: Type | AbstractType) => void;
|
|
850
|
-
|
|
851
|
-
/* Excluded from this release type: CrtDesignTimeViewElement */
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* @public
|
|
855
|
-
* @description
|
|
856
|
-
* Constructor parameter decorator.
|
|
857
|
-
* Mark parameter as dependency that should be obtained by token.
|
|
858
|
-
* @param token - token by which the dependency instance will be obtained
|
|
859
|
-
* @example
|
|
860
|
-
* class MyHandler {
|
|
861
|
-
* constructor(@CrtInject(USER_NAME_TOKEN) userName: string) {}
|
|
862
|
-
* }
|
|
863
|
-
*/
|
|
864
|
-
export declare function CrtInject(token: unknown): any;
|
|
865
|
-
|
|
866
|
-
/* Excluded from this release type: crtInjectPrefix */
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* @public
|
|
870
|
-
* @description Creatio platform interacts with input's of user-defined component through CrtInput decorator.
|
|
871
|
-
* @param config {@link CrtInputRegistrationConfig}
|
|
872
|
-
*
|
|
873
|
-
* @example
|
|
874
|
-
* export class AppComponent {
|
|
875
|
-
* @CrtInput()
|
|
876
|
-
* public value!: string;
|
|
877
|
-
* }
|
|
878
|
-
*/
|
|
879
|
-
export declare function CrtInput(config?: CrtInputRegistrationConfig): (target: any, propertyKey: string) => void;
|
|
880
|
-
|
|
881
|
-
/* Excluded from this release type: crtInputPrefix */
|
|
882
|
-
|
|
883
|
-
/**
|
|
884
|
-
* @public
|
|
885
|
-
*/
|
|
886
|
-
export declare class CrtInputRegistrationConfig {
|
|
887
|
-
/* Excluded from this release type: propertyBindable */
|
|
888
|
-
/* Excluded from this release type: defaultValue */
|
|
889
|
-
/* Excluded from this release type: propertyName */
|
|
890
|
-
/* Excluded from this release type: reuseStrategy */
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
/**
|
|
894
|
-
* @public
|
|
895
|
-
* @description (Deprecated) Decorator to declare design time configuration for a view element that is
|
|
896
|
-
* registered eagerly during module bootstrap.
|
|
897
|
-
*
|
|
898
|
-
* @deprecated For new remote integrations, publish interface-designer metadata through
|
|
899
|
-
* {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
|
|
900
|
-
* Existing remotes may keep using this decorator for backward compatibility, but should migrate
|
|
901
|
-
* to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
|
|
902
|
-
*
|
|
903
|
-
* @param config - registration config {@link InterfaceDesignerItemDefinition}.
|
|
904
|
-
*
|
|
905
|
-
* @example
|
|
906
|
-
* @CrtViewElement({
|
|
907
|
-
* type: "usr.Example',
|
|
908
|
-
* selector: 'usr-example',
|
|
909
|
-
* })
|
|
910
|
-
* @CrtInterfaceDesignerItem({
|
|
911
|
-
* toolbarConfig: {
|
|
912
|
-
* caption: 'usrExampleCaption',
|
|
913
|
-
* icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
|
|
914
|
-
* hint: 'usrExampleHint',
|
|
915
|
-
* defaultPropertyValues: {
|
|
916
|
-
* value: 'This is default value',
|
|
917
|
-
* },
|
|
918
|
-
* },
|
|
919
|
-
* })
|
|
920
|
-
* @Component({
|
|
921
|
-
* selector: 'usr-example',
|
|
922
|
-
* templateUrl: './app.component.html',
|
|
923
|
-
* styleUrls: ['./app.component.scss'],
|
|
924
|
-
* encapsulation: ViewEncapsulation.ShadowDom,
|
|
925
|
-
* })
|
|
926
|
-
* export class AppComponent {
|
|
927
|
-
* @Input()
|
|
928
|
-
* @CrtInput()
|
|
929
|
-
* public value!: string;
|
|
930
|
-
* }
|
|
931
|
-
*/
|
|
932
|
-
export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* @public
|
|
936
|
-
* @description (Deprecated) Decorator to declare design time configuration for a mobile view element that is
|
|
937
|
-
* registered eagerly during module bootstrap.
|
|
938
|
-
*
|
|
939
|
-
* @deprecated For new remote integrations, publish interface-designer metadata through
|
|
940
|
-
* {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
|
|
941
|
-
* Existing remotes may keep using this decorator for backward compatibility, but should migrate
|
|
942
|
-
* to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
|
|
943
|
-
*
|
|
944
|
-
* @param config - registration config {@link InterfaceDesignerItemDefinition}.
|
|
945
|
-
*
|
|
946
|
-
* @example
|
|
947
|
-
* @CrtMobileViewElement({
|
|
948
|
-
* type: "usr.Example',
|
|
949
|
-
* selector: 'usr-example',
|
|
950
|
-
* })
|
|
951
|
-
* @CrtMobileInterfaceDesignerItem({
|
|
952
|
-
* toolbarConfig: {
|
|
953
|
-
* caption: 'usrExampleCaption',
|
|
954
|
-
* icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
|
|
955
|
-
* hint: 'usrExampleHint',
|
|
956
|
-
* defaultPropertyValues: {
|
|
957
|
-
* value: 'This is default value',
|
|
958
|
-
* },
|
|
959
|
-
* },
|
|
960
|
-
* })
|
|
961
|
-
* @Component({
|
|
962
|
-
* selector: 'usr-example',
|
|
963
|
-
* templateUrl: './app.component.html',
|
|
964
|
-
* styleUrls: ['./app.component.scss'],
|
|
965
|
-
* encapsulation: ViewEncapsulation.ShadowDom,
|
|
966
|
-
* })
|
|
967
|
-
* export class AppComponent {
|
|
968
|
-
* @Input()
|
|
969
|
-
* @CrtInput()
|
|
970
|
-
* public value!: string;
|
|
971
|
-
* }
|
|
972
|
-
*/
|
|
973
|
-
export declare function CrtMobileInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* @public
|
|
977
|
-
* @description CrtMobileViewElement decorator allows user to declare mobile components in a Creatio platform.
|
|
978
|
-
* Make sure the component is specified in the viewElements section of CrtModule.
|
|
979
|
-
* @param config - registration config. {@link ViewElementRegistrationConfig}.
|
|
980
|
-
*
|
|
981
|
-
* @example
|
|
982
|
-
* @CrtMobileViewElement({
|
|
983
|
-
* type: 'usr.Example',
|
|
984
|
-
* selector: 'usr-example',
|
|
985
|
-
* })
|
|
986
|
-
* export class AppComponent {
|
|
987
|
-
* @Input()
|
|
988
|
-
* @CrtInput()
|
|
989
|
-
* public value!: string;
|
|
990
|
-
* }
|
|
991
|
-
*/
|
|
992
|
-
export declare function CrtMobileViewElement(config: ViewElementRegistrationConfig): (type: Type) => void;
|
|
993
|
-
|
|
994
|
-
/* Excluded declaration from this release type: CrtMobileViewElement */
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* @public
|
|
998
|
-
* @description CrtModule decorator is a 'container' where user actually setup elements.
|
|
999
|
-
* In could contain viewElements, definitions of other CrtModules.
|
|
1000
|
-
* @param moduleDefinition - {@link ModuleDefinition}
|
|
1001
|
-
*
|
|
1002
|
-
* @example
|
|
1003
|
-
* @CrtModule({
|
|
1004
|
-
* viewElements: [AppComponent],
|
|
1005
|
-
* requestHandlers: [SomeRequestHandler],
|
|
1006
|
-
* validators: [SomeValidator],
|
|
1007
|
-
* })
|
|
1008
|
-
* @NgModule({
|
|
1009
|
-
* declarations: [AppComponent],
|
|
1010
|
-
* imports: [BrowserModule],
|
|
1011
|
-
* providers: [],
|
|
1012
|
-
* })
|
|
1013
|
-
* export class AppModule {}
|
|
1014
|
-
*/
|
|
1015
|
-
export declare function CrtModule(moduleDefinition: ModuleDefinition): (type: Type) => void;
|
|
1016
|
-
|
|
1017
|
-
/* Excluded declaration from this release type: CrtModule */
|
|
1018
|
-
|
|
1019
|
-
/* Excluded declaration from this release type: CrtModule */
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @public
|
|
1023
|
-
* @description User-defined components could notify Creatio platform about changes through CrtOutput decorator.
|
|
1024
|
-
* @example
|
|
1025
|
-
* export class AppComponent {
|
|
1026
|
-
* @Input()
|
|
1027
|
-
* @CrtOutput()
|
|
1028
|
-
* public valueChange;
|
|
1029
|
-
* }
|
|
1030
|
-
*/
|
|
1031
|
-
export declare function CrtOutput(): (target: any, propertyKey: string) => void;
|
|
1032
|
-
|
|
1033
|
-
/* Excluded from this release type: crtOutputPrefix */
|
|
1034
|
-
|
|
1035
|
-
/* Excluded from this release type: CrtRequest */
|
|
1036
|
-
|
|
1037
|
-
/**
|
|
1038
|
-
* @public
|
|
1039
|
-
* @description Decorator to declare request handler
|
|
1040
|
-
* @param config - request handler config {@link RequestHandlerRegistrationConfig}.
|
|
1041
|
-
* If no config is passed, the handler cannot be declared, but can be used as a base class for another handler.
|
|
1042
|
-
*
|
|
1043
|
-
* @example
|
|
1044
|
-
* *@CrtRequestHandler({
|
|
1045
|
-
* requestType: 'crt.SomeRequest',
|
|
1046
|
-
* type: 'crt.SomeRequestHandler',
|
|
1047
|
-
* })
|
|
1048
|
-
* export class SectionInitHandler extends BaseRequestHandler<SomeRequest> {
|
|
1049
|
-
* public async handle(request: SomeRequest): Promise<unknown> {
|
|
1050
|
-
* // Some business logic
|
|
1051
|
-
* return this.next?.handle(request);
|
|
1052
|
-
* }
|
|
1053
|
-
* }
|
|
1054
|
-
*/
|
|
1055
|
-
export declare function CrtRequestHandler<T extends RequestHandler>(config: RequestHandlerDefinition): (type: Type<T>) => void;
|
|
1056
|
-
|
|
1057
|
-
export declare function CrtRequestHandler(): (type: Type | AbstractType) => void;
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* @public
|
|
1061
|
-
* @description Validation error with message
|
|
1062
|
-
* @property {string} message - error message.
|
|
1063
|
-
*/
|
|
1064
|
-
export declare interface CrtValidationError {
|
|
1065
|
-
/**
|
|
1066
|
-
* @description error message.
|
|
1067
|
-
*/
|
|
1068
|
-
message: string;
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
/**
|
|
1072
|
-
* @public
|
|
1073
|
-
* @description Generic shape of validation errors
|
|
1074
|
-
*/
|
|
1075
|
-
export declare interface CrtValidationErrors {
|
|
1076
|
-
[key: string]: CrtValidationError;
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
/**
|
|
1080
|
-
* @public
|
|
1081
|
-
* @description Information relates validation.
|
|
1082
|
-
* Includes fields to customize behavior depends on validation
|
|
1083
|
-
* @property {boolean} valid - indicates whether input is valid.
|
|
1084
|
-
* @property {CrtValidationErrors | null} errors - validation errors shape. {@link CrtValidationErrors}
|
|
1085
|
-
* @property {boolean} dirty - indicates whether input was changed.
|
|
1086
|
-
* @property {boolean} touched - indicates whether input was touched.
|
|
1087
|
-
*/
|
|
1088
|
-
export declare interface CrtValidationInfo {
|
|
1089
|
-
/**
|
|
1090
|
-
* @description indicates whether input is valid.
|
|
1091
|
-
*/
|
|
1092
|
-
readonly valid: boolean;
|
|
1093
|
-
/**
|
|
1094
|
-
* @description - validation errors shape. {@link CrtValidationErrors}
|
|
1095
|
-
*/
|
|
1096
|
-
readonly errors: CrtValidationErrors | null;
|
|
1097
|
-
/**
|
|
1098
|
-
* @description indicates whether input was changed.
|
|
1099
|
-
*/
|
|
1100
|
-
readonly dirty: boolean;
|
|
1101
|
-
/**
|
|
1102
|
-
* @description indicates whether input was touched.
|
|
1103
|
-
*/
|
|
1104
|
-
readonly touched: boolean;
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* @public
|
|
1109
|
-
* @description User-defined components receive validationInfo changes through CrtValidationInput decorator.
|
|
1110
|
-
* Make sure you have defined input for every validationInfo input.
|
|
1111
|
-
* To properly declare validationInfo field:
|
|
1112
|
-
* 1. Declare input field inside inputs section. For example `value`
|
|
1113
|
-
* 2. In validationInputs section declare same field which ends with ValidationInfo.
|
|
1114
|
-
* For previous example `valueValidationInfo`
|
|
1115
|
-
*
|
|
1116
|
-
* @example
|
|
1117
|
-
* export class AppComponent {
|
|
1118
|
-
* @CrtInput()
|
|
1119
|
-
public value;
|
|
1120
|
-
*
|
|
1121
|
-
* @CrtValidationInput()
|
|
1122
|
-
* public valueValidationInfo;
|
|
1123
|
-
* }
|
|
1124
|
-
*/
|
|
1125
|
-
export declare function CrtValidationInput(): (target: any, propertyKey: string) => void;
|
|
1126
|
-
|
|
1127
|
-
/* Excluded from this release type: crtValidationInputPrefix */
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* @public
|
|
1131
|
-
* @description Decorator to declare validator
|
|
1132
|
-
* @param config - validator config {@link ValidatorConfig}.
|
|
1133
|
-
* If no config is passed, the validator cannot be declared, but can be used as a base class for another validator.
|
|
1134
|
-
*
|
|
1135
|
-
* @example
|
|
1136
|
-
* @CrtValidator({
|
|
1137
|
-
* type: 'crt.Required',
|
|
1138
|
-
* })
|
|
1139
|
-
* export class RequiredValidator extends BaseValidator {
|
|
1140
|
-
* protected override async = false;
|
|
1141
|
-
* public validate(controlState: CrtControlState, params?: ValidatorParametersValues): CrtValidationErrors | null {
|
|
1142
|
-
* Implementation here...
|
|
1143
|
-
* }
|
|
1144
|
-
* }
|
|
1145
|
-
*/
|
|
1146
|
-
export declare function CrtValidator(config: ValidatorConfig): (type: Type) => void;
|
|
1147
|
-
|
|
1148
|
-
export declare function CrtValidator(): (type: Type | AbstractType) => void;
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* @public
|
|
1152
|
-
* @description Function used for validation
|
|
1153
|
-
* @param controlState - {@link CrtControlState}
|
|
1154
|
-
* @param params - incoming parameters for validation {@link ValidatorParametersValues}
|
|
1155
|
-
*/
|
|
1156
|
-
export declare type CrtValidatorFn = (controlState: CrtControlState, params?: ValidatorParametersValues) => CrtValidationErrors | null | Promise<CrtValidationErrors | null>;
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
* @public
|
|
1160
|
-
* @description CrtViewElement decorator allows user to declare components in a Creatio platform.
|
|
1161
|
-
* Make sure the component is specified in the viewElements section of CrtModule.
|
|
1162
|
-
* @param config - registration config. {@link ViewElementRegistrationConfig}.
|
|
1163
|
-
*
|
|
1164
|
-
* @example
|
|
1165
|
-
* @CrtViewElement({
|
|
1166
|
-
* type: 'usr.Example',
|
|
1167
|
-
* selector: 'usr-example',
|
|
1168
|
-
* })
|
|
1169
|
-
* export class AppComponent {
|
|
1170
|
-
* @Input()
|
|
1171
|
-
* @CrtInput()
|
|
1172
|
-
* public value!: string;
|
|
1173
|
-
* }
|
|
1174
|
-
*/
|
|
1175
|
-
export declare function CrtViewElement(config: ViewElementRegistrationConfig): (type: Type) => void;
|
|
1176
|
-
|
|
1177
|
-
/* Excluded declaration from this release type: CrtViewElement */
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* @public
|
|
1181
|
-
* @classdesc Service to handling a way of tasks execution in Creatio plaform
|
|
1182
|
-
* @extends {BaseHandlerChainService}
|
|
1183
|
-
*/
|
|
1184
|
-
export declare class CrtZoneService extends BaseHandlerChainService {
|
|
1185
|
-
/* Excluded from this release type: requestType */
|
|
1186
|
-
/**
|
|
1187
|
-
* @description Method designed to run task outside of Creatio zone
|
|
1188
|
-
* @param {Function} callback - task which should be executed outside of tracking CrtZone
|
|
1189
|
-
* @returns `unknown`
|
|
1190
|
-
*/
|
|
1191
|
-
runOutside: (callback: () => unknown) => unknown;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* @public
|
|
1196
|
-
* @class DataRequest
|
|
1197
|
-
* @description Definition of data source request.
|
|
1198
|
-
* @extends {ɵBaseRequest} {@link ɵBaseRequest}
|
|
1199
|
-
* @property {string} dataSourceName - name of assigned data source.
|
|
1200
|
-
*/
|
|
1201
|
-
export declare class DataRequest extends BaseRequest {
|
|
1202
|
-
/**
|
|
1203
|
-
* @description name of assigned data source.
|
|
1204
|
-
*/
|
|
1205
|
-
readonly dataSourceName: string;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
export { DataSchema }
|
|
1209
|
-
|
|
1210
|
-
export { DataSchemaAttribute }
|
|
1211
|
-
|
|
1212
|
-
export { DataSchemaAttributeAggregationConfig }
|
|
1213
|
-
|
|
1214
|
-
export { DataSchemaAttributeAggregationFunctionConfig }
|
|
1215
|
-
|
|
1216
|
-
export { DataSchemaAttributeDatePartFunctionConfig }
|
|
1217
|
-
|
|
1218
|
-
export { DataSchemaAttributeFunctionConfig }
|
|
1219
|
-
|
|
1220
|
-
export { DataSchemaAttributeType }
|
|
1221
|
-
|
|
1222
|
-
export { DataSchemaAttributeUsageType }
|
|
1223
|
-
|
|
1224
|
-
export { DataSchemaAttributeValidatorConfig }
|
|
1225
|
-
|
|
1226
|
-
export { DataSchemaAttributeValueMaskingSettings }
|
|
1227
|
-
|
|
1228
|
-
export { DataSchemaType }
|
|
1229
|
-
|
|
1230
|
-
export { DataSchemaValidatorConfig }
|
|
1231
|
-
|
|
1232
|
-
export { DataSourceAggregationConfig }
|
|
1233
|
-
|
|
1234
|
-
export { DataSourceAggregationFunctionConfig }
|
|
1235
|
-
|
|
1236
|
-
export { DataSourceAttribute }
|
|
1237
|
-
|
|
1238
|
-
export { DataSourceAttributeType }
|
|
1239
|
-
|
|
1240
|
-
export { DataSourceCanExecuteOperationPayload }
|
|
1241
|
-
|
|
1242
|
-
export { DataSourceCanExecuteOperationResult }
|
|
1243
|
-
|
|
1244
|
-
export { DataSourceConfig }
|
|
1245
|
-
|
|
1246
|
-
export { DataSourceDatePartFunctionConfig }
|
|
1247
|
-
|
|
1248
|
-
export { DataSourceFunctionConfig }
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* @public
|
|
1252
|
-
* @description Union type describing all supported hierarchy configuration modes.
|
|
1253
|
-
*/
|
|
1254
|
-
export declare type DataSourceHierarchyConfig = ClientSideDataSourceHierarchyConfig | ServerSideDataSourceHierarchyConfig;
|
|
1255
|
-
|
|
1256
|
-
export { DataSourceInsertResult }
|
|
1257
|
-
|
|
1258
|
-
export { DataSourceInstanceConfig }
|
|
1259
|
-
|
|
1260
|
-
/**
|
|
1261
|
-
* @public
|
|
1262
|
-
* @description Represents a set of loading options.
|
|
1263
|
-
* @property {string} pagingConfig - The paging options for loading.
|
|
1264
|
-
* @property {string} sortingConfig - The sorting options.
|
|
1265
|
-
* @property {DataSourceHierarchyConfig} hierarchyConfig - The hierarchy options.
|
|
1266
|
-
*/
|
|
1267
|
-
export declare interface DataSourceLoadOptions extends ɵDataSourceLoadOptions {
|
|
1268
|
-
/**
|
|
1269
|
-
* @description Hierarchy options.
|
|
1270
|
-
*/
|
|
1271
|
-
hierarchyConfig?: DataSourceHierarchyConfig;
|
|
1272
|
-
/* Excluded from this release type: loadType */
|
|
1273
|
-
/* Excluded from this release type: throttled */
|
|
1274
|
-
/* Excluded from this release type: isDistinct */
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
/* Excluded from this release type: DataSourceLoadParameters */
|
|
1278
|
-
|
|
1279
|
-
/* Excluded from this release type: DataSourceLoadType */
|
|
1280
|
-
export { DataSourcePagingConfig }
|
|
1281
|
-
|
|
1282
|
-
export { DataSourceParameter }
|
|
1283
|
-
|
|
1284
|
-
export { DataSourceParameterRelationConfig }
|
|
1285
|
-
|
|
1286
|
-
export { DataSourceParameters }
|
|
1287
|
-
|
|
1288
|
-
export { DataSourceSaveResult }
|
|
1289
|
-
|
|
1290
|
-
export { DataSourceScope }
|
|
1291
|
-
|
|
1292
|
-
export { DataSourceSortingConfig }
|
|
1293
|
-
|
|
1294
|
-
export { DataValueType }
|
|
1295
|
-
|
|
1296
|
-
export { DatePart }
|
|
1297
|
-
|
|
1298
|
-
export { DatePartFunctionColumn }
|
|
1299
|
-
|
|
1300
|
-
export { DatePartFunctionExpression }
|
|
1301
|
-
|
|
1302
|
-
export { DatePartFunctionExpressionConfig }
|
|
1303
|
-
|
|
1304
|
-
export { DatePartType }
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* @public
|
|
1308
|
-
* @description Render config for an element with Default render strategy.
|
|
1309
|
-
*/
|
|
1310
|
-
export declare interface DefaultRenderConfig {
|
|
1311
|
-
/**
|
|
1312
|
-
* @description Determines that the element should render immediately.
|
|
1313
|
-
*/
|
|
1314
|
-
renderStrategy?: ViewElementRenderStrategy.Default;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
/* Excluded from this release type: DefaultSizeForGrid */
|
|
1318
|
-
export { DefaultValueSchema }
|
|
1319
|
-
|
|
1320
|
-
export { DefaultValueSource }
|
|
1321
|
-
|
|
1322
|
-
/* Excluded from this release type: defineRenderConfig */
|
|
1323
|
-
export { DeleteQuery }
|
|
1324
|
-
|
|
1325
|
-
/* Excluded from this release type: DesignerToolGroupType */
|
|
1326
|
-
|
|
1327
|
-
/* Excluded from this release type: DesignTimeViewElementRegistry */
|
|
1328
|
-
|
|
1329
|
-
/* Excluded from this release type: DesignTimeViewElementRegistryItem */
|
|
1330
|
-
|
|
1331
|
-
/* Excluded from this release type: designTimeViewElementRegistryKey */
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* @public
|
|
1335
|
-
* @classdesc Service to working with dialog using handler chain.
|
|
1336
|
-
* @extends {BaseHandlerChainService}
|
|
1337
|
-
*/
|
|
1338
|
-
export declare class DialogService extends BaseHandlerChainService implements BaseDialogService {
|
|
1339
|
-
/* Excluded from this release type: requestType */
|
|
1340
|
-
/**
|
|
1341
|
-
* @description Opens dialog window.
|
|
1342
|
-
* @param {BaseDialogConfig<BaseDialogButtonConfig>} config - The configuration of dialog window.
|
|
1343
|
-
* @returns `Promise<string>`.
|
|
1344
|
-
* The result of a user's choice.
|
|
1345
|
-
*/
|
|
1346
|
-
open: (config: BaseDialogConfig<BaseDialogButtonConfig>) => Promise<string>;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
export { EMPTY_GUID }
|
|
1350
|
-
|
|
1351
|
-
export { encodeDate }
|
|
1352
|
-
|
|
1353
|
-
export declare interface Entity {
|
|
1354
|
-
[key: string]: EntityColumnValue;
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
export { EntityColumnValue }
|
|
1358
|
-
|
|
1359
|
-
export { EntityQueryColumn }
|
|
1360
|
-
|
|
1361
|
-
export { EntitySchemaQuery }
|
|
1362
|
-
|
|
1363
|
-
/**
|
|
1364
|
-
* @public
|
|
1365
|
-
* @description Shape for detailed error explanation.
|
|
1366
|
-
* @property {string} errorCode - Error code.
|
|
1367
|
-
* @property {string} message - Error message.
|
|
1368
|
-
* @property {string} stackTrace - Stack at the moment of causing an error.
|
|
1369
|
-
*/
|
|
1370
|
-
export declare interface ErrorInfo {
|
|
1371
|
-
/**
|
|
1372
|
-
* @description Error code.
|
|
1373
|
-
*/
|
|
1374
|
-
errorCode: string;
|
|
1375
|
-
/**
|
|
1376
|
-
* @description Error message.
|
|
1377
|
-
*/
|
|
1378
|
-
message: string;
|
|
1379
|
-
/**
|
|
1380
|
-
* @description Stack at the moment of causing an error
|
|
1381
|
-
*/
|
|
1382
|
-
stackTrace: string;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
export { ExistsFilter }
|
|
1386
|
-
|
|
1387
|
-
export { ExpressionConfig }
|
|
1388
|
-
|
|
1389
|
-
export { ExpressionMock }
|
|
1390
|
-
|
|
1391
|
-
export { ExpressionParser }
|
|
1392
|
-
|
|
1393
|
-
export { ExpressionResolver }
|
|
1394
|
-
|
|
1395
|
-
export { ExpressionType }
|
|
1396
|
-
|
|
1397
|
-
/* Excluded from this release type: ExtraToolbarViewElementConfig */
|
|
1398
|
-
|
|
1399
|
-
/**
|
|
1400
|
-
* @public
|
|
1401
|
-
* @classdesc Service to working with Creatio platform features using handler chain
|
|
1402
|
-
* @extends {BaseHandlerChainService}
|
|
1403
|
-
*/
|
|
1404
|
-
export declare class FeatureService extends BaseHandlerChainService {
|
|
1405
|
-
/* Excluded from this release type: requestType */
|
|
1406
|
-
/**
|
|
1407
|
-
* @description Method designed to get state for single feature
|
|
1408
|
-
* @param {string} code - feature code
|
|
1409
|
-
* @returns `Promise<boolean>`
|
|
1410
|
-
*/
|
|
1411
|
-
getFeatureState: (code: string) => Promise<boolean>;
|
|
1412
|
-
/**
|
|
1413
|
-
* @description Method designed to get feature states
|
|
1414
|
-
* @param {string[]} codes - feature codes
|
|
1415
|
-
* @returns `Promise<boolean[]>`
|
|
1416
|
-
*/
|
|
1417
|
-
getFeaturesState: (codes: string[]) => Promise<boolean[]>;
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1420
|
-
/* Excluded from this release type: FileValue */
|
|
1421
|
-
|
|
1422
|
-
/* Excluded from this release type: FileViewerFactory */
|
|
1423
|
-
|
|
1424
|
-
/* Excluded from this release type: FileViewerInstance */
|
|
1425
|
-
|
|
1426
|
-
/* Excluded from this release type: FileViewerOptions */
|
|
1427
|
-
export { FilterGroup }
|
|
1428
|
-
|
|
1429
|
-
export { FilterGroupOrigin }
|
|
1430
|
-
|
|
1431
|
-
export { FilterGroupOriginType }
|
|
1432
|
-
|
|
1433
|
-
export { FilterMock }
|
|
1434
|
-
|
|
1435
|
-
export { FilterParser }
|
|
1436
|
-
|
|
1437
|
-
export { FilterResolver }
|
|
1438
|
-
|
|
1439
|
-
export { FilterType }
|
|
1440
|
-
|
|
1441
|
-
/* Excluded from this release type: _from */
|
|
1442
|
-
export { FunctionExpression }
|
|
1443
|
-
|
|
1444
|
-
export { FunctionExpressionConfig }
|
|
1445
|
-
|
|
1446
|
-
export { FunctionStringType }
|
|
1447
|
-
|
|
1448
|
-
export { FunctionType }
|
|
1449
|
-
|
|
1450
|
-
export { generateGuid }
|
|
1451
|
-
|
|
1452
|
-
/* Excluded from this release type: getConverterMetadata */
|
|
1453
|
-
|
|
1454
|
-
/* Excluded from this release type: getCrtInputsMetadata */
|
|
1455
|
-
|
|
1456
|
-
/* Excluded from this release type: getCrtOutputsMetadata */
|
|
1457
|
-
|
|
1458
|
-
/* Excluded from this release type: getCrtValidationInputsMetadata */
|
|
1459
|
-
|
|
1460
|
-
/* Excluded from this release type: getDeepModuleDependencies */
|
|
1461
|
-
|
|
1462
|
-
/* Excluded from this release type: getDesignTimeViewElementMetadata */
|
|
1463
|
-
|
|
1464
|
-
/* Excluded from this release type: getHandlerChainServiceMetadata */
|
|
1465
|
-
|
|
1466
|
-
/* Excluded from this release type: getInterfaceDesignerItemMetadata */
|
|
1467
|
-
|
|
1468
|
-
/* Excluded from this release type: getMobileInterfaceDesignerItemMetadata */
|
|
1469
|
-
|
|
1470
|
-
/* Excluded from this release type: getMobileViewElementMetadata */
|
|
1471
|
-
|
|
1472
|
-
/* Excluded from this release type: getModuleMetadata */
|
|
1473
|
-
|
|
1474
|
-
/* Excluded from this release type: getRequestHandlerMetadata */
|
|
1475
|
-
|
|
1476
|
-
/* Excluded from this release type: getTypeDependencies */
|
|
1477
|
-
|
|
1478
|
-
/* Excluded from this release type: getValidatorMetadata */
|
|
1479
|
-
|
|
1480
|
-
/* Excluded from this release type: getViewElementMetadata */
|
|
1481
|
-
|
|
1482
|
-
/* Excluded from this release type: GroupedDateValue */
|
|
1483
|
-
export { Guid }
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* @public
|
|
1487
|
-
* @class HandlerChainService
|
|
1488
|
-
* @classdesc Service to design handlers in chain.
|
|
1489
|
-
*/
|
|
1490
|
-
export declare class HandlerChainService {
|
|
1491
|
-
private get _chain();
|
|
1492
|
-
private set _chain(value);
|
|
1493
|
-
private static _instance;
|
|
1494
|
-
static get instance(): HandlerChainService;
|
|
1495
|
-
private constructor();
|
|
1496
|
-
private _createGlobalHandlerChain;
|
|
1497
|
-
/* Excluded from this release type: clearContextedHandlersCache */
|
|
1498
|
-
/* Excluded from this release type: register */
|
|
1499
|
-
/* Excluded from this release type: update */
|
|
1500
|
-
/**
|
|
1501
|
-
* @description Method to process passed request
|
|
1502
|
-
* @param request - {@link ɵBaseRequest}
|
|
1503
|
-
* @return `Promise<unknown>`
|
|
1504
|
-
*/
|
|
1505
|
-
process(request: BaseRequest): Promise<unknown>;
|
|
1506
|
-
/* Excluded from this release type: subscribe */
|
|
1507
|
-
/* Excluded from this release type: clear */
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
/* Excluded from this release type: HandlerChainServiceRegistryItem */
|
|
1511
|
-
|
|
1512
|
-
/* Excluded from this release type: HandlerChainServicesRegistry */
|
|
1513
|
-
|
|
1514
|
-
/* Excluded from this release type: HandlerConfig */
|
|
1515
|
-
|
|
1516
|
-
/* Excluded from this release type: HandlersOrderComparer */
|
|
1517
|
-
|
|
1518
|
-
/* Excluded from this release type: HandlerSource */
|
|
1519
|
-
|
|
1520
|
-
/* Excluded from this release type: HandlerSourceType */
|
|
1521
|
-
|
|
1522
|
-
/**
|
|
1523
|
-
* @hostPublicApi
|
|
1524
|
-
* TODO: RND-55882
|
|
1525
|
-
*/
|
|
1526
|
-
export declare class HandleViewModelAttributeChangeRequest extends BaseRequest<ChangeAttributeValueEventPayload> {
|
|
1527
|
-
readonly type = "crt.HandleViewModelAttributeChangeRequest";
|
|
1528
|
-
/**
|
|
1529
|
-
* @hostPublicApi
|
|
1530
|
-
*/
|
|
1531
|
-
readonly attributeName: string;
|
|
1532
|
-
/**
|
|
1533
|
-
* @hostPublicApi
|
|
1534
|
-
*/
|
|
1535
|
-
readonly value: unknown;
|
|
1536
|
-
/**
|
|
1537
|
-
* @hostPublicApi
|
|
1538
|
-
*/
|
|
1539
|
-
readonly oldValue: unknown;
|
|
1540
|
-
/**
|
|
1541
|
-
* @deprecated
|
|
1542
|
-
*/
|
|
1543
|
-
readonly silent: boolean;
|
|
1544
|
-
readonly preventAttributeChangeRequest: boolean;
|
|
1545
|
-
readonly preventStateChange: boolean;
|
|
1546
|
-
readonly preventRunBusinessRules: boolean;
|
|
1547
|
-
constructor(payload: ChangeAttributeValueEventPayload);
|
|
1548
|
-
}
|
|
1549
|
-
|
|
1550
|
-
/* Excluded from this release type: hasInterfaceDesignerItemMetadata */
|
|
1551
|
-
|
|
1552
|
-
/* Excluded from this release type: hasMobileInterfaceDesignerItemMetadata */
|
|
1553
|
-
|
|
1554
|
-
/**
|
|
1555
|
-
* @public
|
|
1556
|
-
* @description Union type that describes all supported hierarchy row states.
|
|
1557
|
-
*/
|
|
1558
|
-
export declare type HierarchyState = HierarchyStateCollapsed | HierarchyStateExpanded;
|
|
1559
|
-
|
|
1560
|
-
/**
|
|
1561
|
-
* @public
|
|
1562
|
-
* @description Hierarchy state where collapsed nodes are inferred and expanded nodes are listed explicitly.
|
|
1563
|
-
* @property {'collapsed'} mode State mode identifier.
|
|
1564
|
-
* @property {string[]} expandedIds Identifiers of expanded hierarchy nodes.
|
|
1565
|
-
*/
|
|
1566
|
-
export declare interface HierarchyStateCollapsed {
|
|
1567
|
-
/**
|
|
1568
|
-
* @description State mode identifier.
|
|
1569
|
-
*/
|
|
1570
|
-
mode: 'collapsed';
|
|
1571
|
-
/**
|
|
1572
|
-
* @description Identifiers of expanded hierarchy nodes.
|
|
1573
|
-
*/
|
|
1574
|
-
expandedIds: string[];
|
|
1575
|
-
}
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* @public
|
|
1579
|
-
* @description Hierarchy state where expanded nodes are inferred and collapsed nodes are listed explicitly.
|
|
1580
|
-
* @property {'expanded'} mode State mode identifier.
|
|
1581
|
-
* @property {string[]} collapsedIds Identifiers of collapsed hierarchy nodes.
|
|
1582
|
-
*/
|
|
1583
|
-
export declare interface HierarchyStateExpanded {
|
|
1584
|
-
/**
|
|
1585
|
-
* @description State mode identifier.
|
|
1586
|
-
*/
|
|
1587
|
-
mode: 'expanded';
|
|
1588
|
-
/**
|
|
1589
|
-
* @description Identifiers of collapsed hierarchy nodes.
|
|
1590
|
-
*/
|
|
1591
|
-
collapsedIds: string[];
|
|
1592
|
-
}
|
|
1593
|
-
|
|
1594
|
-
/* Excluded from this release type: HostHandlerSource */
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* @public
|
|
1598
|
-
* @classdesc Http service to perform Http requests
|
|
1599
|
-
* @extends {BaseHandlerChainService}
|
|
1600
|
-
*/
|
|
1601
|
-
export declare class HttpClientService extends BaseHandlerChainService {
|
|
1602
|
-
/* Excluded from this release type: requestType */
|
|
1603
|
-
get(url: string, options: {
|
|
1604
|
-
headers?: HttpHeaders;
|
|
1605
|
-
responseType: 'arraybuffer';
|
|
1606
|
-
}): Promise<HttpResponse<ArrayBuffer>>;
|
|
1607
|
-
get(url: string, options: {
|
|
1608
|
-
headers?: HttpHeaders;
|
|
1609
|
-
responseType: 'blob';
|
|
1610
|
-
}): Promise<HttpResponse<Blob>>;
|
|
1611
|
-
get(url: string, options: {
|
|
1612
|
-
headers?: HttpHeaders;
|
|
1613
|
-
responseType: 'text';
|
|
1614
|
-
}): Promise<HttpResponse<string>>;
|
|
1615
|
-
get(url: string, options: {
|
|
1616
|
-
headers?: HttpHeaders;
|
|
1617
|
-
responseType?: 'json';
|
|
1618
|
-
}): Promise<HttpResponse>;
|
|
1619
|
-
get<T>(url: string, options: {
|
|
1620
|
-
headers?: HttpHeaders;
|
|
1621
|
-
responseType?: 'json';
|
|
1622
|
-
}): Promise<HttpResponse<T>>;
|
|
1623
|
-
post(url: string, body: unknown | null, options: {
|
|
1624
|
-
headers?: HttpHeaders;
|
|
1625
|
-
responseType: 'arraybuffer';
|
|
1626
|
-
}): Promise<HttpResponse<ArrayBuffer>>;
|
|
1627
|
-
post(url: string, body: unknown | null, options: {
|
|
1628
|
-
headers?: HttpHeaders;
|
|
1629
|
-
responseType: 'blob';
|
|
1630
|
-
}): Promise<HttpResponse<Blob>>;
|
|
1631
|
-
post(url: string, body: unknown | null, options: {
|
|
1632
|
-
headers?: HttpHeaders;
|
|
1633
|
-
responseType: 'text';
|
|
1634
|
-
}): Promise<HttpResponse<string>>;
|
|
1635
|
-
post(url: string, body: unknown | null, options: {
|
|
1636
|
-
headers?: HttpHeaders;
|
|
1637
|
-
responseType?: 'json';
|
|
1638
|
-
}): Promise<HttpResponse>;
|
|
1639
|
-
post<T>(url: string, body: unknown | null, options: {
|
|
1640
|
-
headers?: HttpHeaders;
|
|
1641
|
-
responseType?: 'json';
|
|
1642
|
-
}): Promise<HttpResponse<T>>;
|
|
1643
|
-
delete(url: string, options: {
|
|
1644
|
-
headers?: HttpHeaders;
|
|
1645
|
-
responseType: 'arraybuffer';
|
|
1646
|
-
body?: unknown | null;
|
|
1647
|
-
}): Promise<HttpResponse<ArrayBuffer>>;
|
|
1648
|
-
delete(url: string, options: {
|
|
1649
|
-
headers?: HttpHeaders;
|
|
1650
|
-
responseType: 'blob';
|
|
1651
|
-
body?: unknown | null;
|
|
1652
|
-
}): Promise<HttpResponse<Blob>>;
|
|
1653
|
-
delete(url: string, options: {
|
|
1654
|
-
headers?: HttpHeaders;
|
|
1655
|
-
responseType: 'text';
|
|
1656
|
-
body?: unknown | null;
|
|
1657
|
-
}): Promise<HttpResponse<string>>;
|
|
1658
|
-
delete(url: string, options: {
|
|
1659
|
-
headers?: HttpHeaders;
|
|
1660
|
-
responseType?: 'json';
|
|
1661
|
-
body?: unknown | null;
|
|
1662
|
-
}): Promise<HttpResponse>;
|
|
1663
|
-
delete<T>(url: string, options: {
|
|
1664
|
-
headers?: HttpHeaders;
|
|
1665
|
-
responseType?: 'json';
|
|
1666
|
-
body?: unknown | null;
|
|
1667
|
-
}): Promise<HttpResponse<T>>;
|
|
1668
|
-
put(url: string, body: unknown | null, options: {
|
|
1669
|
-
headers?: HttpHeaders;
|
|
1670
|
-
responseType: 'arraybuffer';
|
|
1671
|
-
}): Promise<HttpResponse<ArrayBuffer>>;
|
|
1672
|
-
put(url: string, body: unknown | null, options: {
|
|
1673
|
-
headers?: HttpHeaders;
|
|
1674
|
-
responseType: 'blob';
|
|
1675
|
-
}): Promise<HttpResponse<Blob>>;
|
|
1676
|
-
put(url: string, body: unknown | null, options: {
|
|
1677
|
-
headers?: HttpHeaders;
|
|
1678
|
-
responseType: 'text';
|
|
1679
|
-
}): Promise<HttpResponse<string>>;
|
|
1680
|
-
put(url: string, body: unknown | null, options: {
|
|
1681
|
-
headers?: HttpHeaders;
|
|
1682
|
-
responseType?: 'json';
|
|
1683
|
-
}): Promise<HttpResponse>;
|
|
1684
|
-
put<T>(url: string, body: unknown | null, options: {
|
|
1685
|
-
headers?: HttpHeaders;
|
|
1686
|
-
responseType?: 'json';
|
|
1687
|
-
}): Promise<HttpResponse<T>>;
|
|
1688
|
-
patch(url: string, body: unknown | null, options: {
|
|
1689
|
-
headers?: HttpHeaders;
|
|
1690
|
-
responseType: 'arraybuffer';
|
|
1691
|
-
}): Promise<HttpResponse<ArrayBuffer>>;
|
|
1692
|
-
patch(url: string, body: unknown | null, options: {
|
|
1693
|
-
headers?: HttpHeaders;
|
|
1694
|
-
responseType: 'blob';
|
|
1695
|
-
}): Promise<HttpResponse<Blob>>;
|
|
1696
|
-
patch(url: string, body: unknown | null, options: {
|
|
1697
|
-
headers?: HttpHeaders;
|
|
1698
|
-
responseType: 'text';
|
|
1699
|
-
}): Promise<HttpResponse<string>>;
|
|
1700
|
-
patch(url: string, body: unknown | null, options: {
|
|
1701
|
-
headers?: HttpHeaders;
|
|
1702
|
-
responseType?: 'json';
|
|
1703
|
-
}): Promise<HttpResponse>;
|
|
1704
|
-
patch<T>(url: string, body: unknown | null, options: {
|
|
1705
|
-
headers?: HttpHeaders;
|
|
1706
|
-
responseType?: 'json';
|
|
1707
|
-
}): Promise<HttpResponse<T>>;
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
/**
|
|
1711
|
-
* @public
|
|
1712
|
-
* @description Key-value shape for HttpHeaders
|
|
1713
|
-
*/
|
|
1714
|
-
export declare interface HttpHeaders {
|
|
1715
|
-
[header: string]: string;
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* @public
|
|
1720
|
-
* @description Http response
|
|
1721
|
-
* @template T
|
|
1722
|
-
* @property {HttpHeaders} headers - response headers {@link HttpHeaders}
|
|
1723
|
-
* @property {number} status - response status
|
|
1724
|
-
* @property {string} statusText - text of response
|
|
1725
|
-
* @property {string | null} url - response url
|
|
1726
|
-
* @property {boolean} ok - ok status
|
|
1727
|
-
* @property {T | null} body - response body
|
|
1728
|
-
*/
|
|
1729
|
-
export declare interface HttpResponse<T = unknown> {
|
|
1730
|
-
/**
|
|
1731
|
-
* @description response headers {@link HttpHeaders}
|
|
1732
|
-
*/
|
|
1733
|
-
headers: HttpHeaders;
|
|
1734
|
-
/**
|
|
1735
|
-
* @description response status
|
|
1736
|
-
*/
|
|
1737
|
-
status: number;
|
|
1738
|
-
/**
|
|
1739
|
-
* @description text of response
|
|
1740
|
-
*/
|
|
1741
|
-
statusText: string;
|
|
1742
|
-
/**
|
|
1743
|
-
* @description response url
|
|
1744
|
-
*/
|
|
1745
|
-
url: string | null;
|
|
1746
|
-
/**
|
|
1747
|
-
* @description ok status
|
|
1748
|
-
*/
|
|
1749
|
-
ok: boolean;
|
|
1750
|
-
/**
|
|
1751
|
-
* @description response body
|
|
1752
|
-
*/
|
|
1753
|
-
body: T | null;
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
/* Excluded from this release type: IBaseItemRendererRegistry */
|
|
1757
|
-
|
|
1758
|
-
/* Excluded from this release type: ImplementUsingHandlerChain */
|
|
1759
|
-
export { InFilter }
|
|
1760
|
-
|
|
1761
|
-
/* Excluded from this release type: InjectionContext */
|
|
1762
|
-
export { InsertQuery }
|
|
1763
|
-
|
|
1764
|
-
/* Excluded from this release type: instantiate */
|
|
1765
|
-
|
|
1766
|
-
/**
|
|
1767
|
-
* @public
|
|
1768
|
-
* @description Config used to register view element options in interface designer.
|
|
1769
|
-
* User-defined view elements will be displayed in Custom Elements group of interface designer.
|
|
1770
|
-
*/
|
|
1771
|
-
export declare interface InterfaceDesignerItemDefinition {
|
|
1772
|
-
/**
|
|
1773
|
-
* Config for defining view element options in left panel of Interface designer.
|
|
1774
|
-
*/
|
|
1775
|
-
toolbarConfig: {
|
|
1776
|
-
/**
|
|
1777
|
-
* Caption of view element in toolbar.
|
|
1778
|
-
*/
|
|
1779
|
-
caption: string | LocalizableValue;
|
|
1780
|
-
/**
|
|
1781
|
-
* @deprecated
|
|
1782
|
-
* Name of view element icon in toolbar.
|
|
1783
|
-
*/
|
|
1784
|
-
name?: string;
|
|
1785
|
-
/**
|
|
1786
|
-
* Require path to load icon that will be displayed for view element
|
|
1787
|
-
* in left panel of Interface designer.
|
|
1788
|
-
* @example icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`),
|
|
1789
|
-
*/
|
|
1790
|
-
icon: string;
|
|
1791
|
-
/**
|
|
1792
|
-
* Hint which will be displayed on hover.
|
|
1793
|
-
*/
|
|
1794
|
-
hint?: string;
|
|
1795
|
-
/**
|
|
1796
|
-
* Map of default values which will be set after drag&drop.
|
|
1797
|
-
*/
|
|
1798
|
-
defaultPropertyValues?: Record<string, unknown | LocalizableValue>;
|
|
1799
|
-
/* Excluded from this release type: groupType */
|
|
1800
|
-
};
|
|
1801
|
-
/* Excluded from this release type: viewElementGroupType */
|
|
1802
|
-
/* Excluded from this release type: typeCaption */
|
|
1803
|
-
/* Excluded from this release type: typeRef */
|
|
1804
|
-
/**
|
|
1805
|
-
* @public
|
|
1806
|
-
* @description Allows to use a custom component for properties panel.
|
|
1807
|
-
* @example propertiesPanel: 'usr.CustomPanelComponent'
|
|
1808
|
-
*/
|
|
1809
|
-
propertiesPanel?: string;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
/* Excluded from this release type: InterfaceDesignerItemMetadata */
|
|
1813
|
-
|
|
1814
|
-
/* Excluded from this release type: interfaceDesignerItemRegister */
|
|
1815
|
-
|
|
1816
|
-
/* Excluded from this release type: InterfaceDesignerItemRegistrationConfig */
|
|
1817
|
-
|
|
1818
|
-
/* Excluded from this release type: InterfaceDesignerItemRegistry */
|
|
1819
|
-
|
|
1820
|
-
/* Excluded from this release type: interfaceDesignerItemRegistryKey */
|
|
1821
|
-
|
|
1822
|
-
/* Excluded from this release type: InterfaceDesignerRegistryItem */
|
|
1823
|
-
|
|
1824
|
-
/* Excluded from this release type: InternalDesignTimeViewElementRegistryItem */
|
|
1825
|
-
|
|
1826
|
-
/* Excluded from this release type: InternalInterfaceDesignerItemRegistrationConfig */
|
|
1827
|
-
|
|
1828
|
-
/* Excluded from this release type: InternalModuleDefinition */
|
|
1829
|
-
|
|
1830
|
-
/* Excluded from this release type: InternalRequestHandlerRegistry */
|
|
1831
|
-
|
|
1832
|
-
/* Excluded from this release type: InternalRequestHandlerRegistryType */
|
|
1833
|
-
|
|
1834
|
-
/* Excluded from this release type: InternalResolveDependencyFn */
|
|
1835
|
-
|
|
1836
|
-
/* Excluded from this release type: InternalToolbarViewElementCollectionItemConfig */
|
|
1837
|
-
|
|
1838
|
-
/* Excluded from this release type: InternalToolbarViewElementConfig */
|
|
1839
|
-
|
|
1840
|
-
/* Excluded from this release type: InternalToolbarViewElementConfigCollection */
|
|
1841
|
-
|
|
1842
|
-
/**
|
|
1843
|
-
* @public
|
|
1844
|
-
* @description Checks whether hierarchy configuration is client-side.
|
|
1845
|
-
* @param hierarchyConfig Hierarchy configuration to check.
|
|
1846
|
-
* @returns `true` if configuration is of type `ClientSideDataSourceHierarchyConfig`.
|
|
1847
|
-
*/
|
|
1848
|
-
export declare function isClientSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ClientSideDataSourceHierarchyConfig;
|
|
1849
|
-
|
|
1850
|
-
export { isEmptyGuid }
|
|
1851
|
-
|
|
1852
|
-
export { isGuid }
|
|
1853
|
-
|
|
1854
|
-
/**
|
|
1855
|
-
* @public
|
|
1856
|
-
* @description Determines whether the hierarchy node with the specified identifier is expanded
|
|
1857
|
-
* based on the provided hierarchy state.
|
|
1858
|
-
* @param hierarchyState Hierarchy state object.
|
|
1859
|
-
* @param itemId Identifier of the hierarchy node.
|
|
1860
|
-
* @returns True if the node is expanded; otherwise, false.
|
|
1861
|
-
* @remarks If the hierarchy state is not provided or does not contain necessary information,
|
|
1862
|
-
* the function returns false.
|
|
1863
|
-
*/
|
|
1864
|
-
export declare function isHierarchicalItemExpanded(hierarchyState: HierarchyState | undefined, itemId: string): boolean;
|
|
1865
|
-
|
|
1866
|
-
export { IsNullFilter }
|
|
1867
|
-
|
|
1868
|
-
/**
|
|
1869
|
-
* @public
|
|
1870
|
-
* @description Checks whether hierarchy configuration is server-side.
|
|
1871
|
-
* @param hierarchyConfig Hierarchy configuration to check.
|
|
1872
|
-
* @returns `true` if configuration is of type `ServerSideDataSourceHierarchyConfig`.
|
|
1873
|
-
*/
|
|
1874
|
-
export declare function isServerSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ServerSideDataSourceHierarchyConfig;
|
|
1875
|
-
|
|
1876
|
-
/**
|
|
1877
|
-
* @public
|
|
1878
|
-
* @description Config to create item in collection.
|
|
1879
|
-
*/
|
|
1880
|
-
export declare interface ItemCreationConfig extends ɵItemCreationConfig {
|
|
1881
|
-
/**
|
|
1882
|
-
* @description Indicates should business rules execute for created item immediately, default false.
|
|
1883
|
-
*/
|
|
1884
|
-
businessRulesActive?: boolean;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
|
-
export { ItemNotFoundException }
|
|
1888
|
-
|
|
1889
|
-
export declare interface ITransaction {
|
|
1890
|
-
get id(): Guid;
|
|
1891
|
-
createOperation<TResult>(action: (transactionOperation: ITransactionOperation<TResult>) => Promise<TResult>): ITransactionOperation<TResult>;
|
|
1892
|
-
createFailureOperation<TResult>(reason: TResult): ITransactionOperation<TResult>;
|
|
1893
|
-
commit(): Promise<Record<Guid, unknown>>;
|
|
1894
|
-
rollback(): Promise<void>;
|
|
1895
|
-
}
|
|
1896
|
-
|
|
1897
|
-
export declare interface ITransactionFactory {
|
|
1898
|
-
/**
|
|
1899
|
-
* @description Method create a transaction.
|
|
1900
|
-
* @returns `Promise<ITransaction>` {@link ITransaction}
|
|
1901
|
-
*/
|
|
1902
|
-
create(): Promise<ITransaction>;
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
export declare interface ITransactionOperation<TResult = unknown> {
|
|
1906
|
-
get asyncResult(): Promise<TResult>;
|
|
1907
|
-
/* Excluded from this release type: ready */
|
|
1908
|
-
get transactionId(): Guid;
|
|
1909
|
-
get id(): Guid;
|
|
1910
|
-
get payload(): Record<string, unknown>;
|
|
1911
|
-
/* Excluded from this release type: markAsReady */
|
|
1912
|
-
}
|
|
1913
|
-
|
|
1914
|
-
export { JsonArray }
|
|
1915
|
-
|
|
1916
|
-
export { JsonData }
|
|
1917
|
-
|
|
1918
|
-
export { JsonObject }
|
|
1919
|
-
|
|
1920
|
-
/* Excluded from this release type: LazyLoadRefsManager */
|
|
1921
|
-
|
|
1922
|
-
/* Excluded from this release type: LazyModuleDefinition */
|
|
1923
|
-
|
|
1924
|
-
/* Excluded from this release type: LazyModuleDefinitionWithMetadata */
|
|
1925
|
-
|
|
1926
|
-
/* Excluded from this release type: LazyModuleMetadata */
|
|
1927
|
-
|
|
1928
|
-
/* Excluded from this release type: LazyRegistryItem */
|
|
1929
|
-
export { LengthFunctionColumn }
|
|
1930
|
-
|
|
1931
|
-
export { LengthFunctionExpression }
|
|
1932
|
-
|
|
1933
|
-
export { LengthFunctionExpressionConfig }
|
|
1934
|
-
|
|
1935
|
-
/**
|
|
1936
|
-
* @public
|
|
1937
|
-
* @description Represents a object describes status of license operations
|
|
1938
|
-
* with keys as operations codes and values as operation statuses.
|
|
1939
|
-
*/
|
|
1940
|
-
export declare interface LicenseRestrictionOperationValues {
|
|
1941
|
-
[operation: string]: boolean;
|
|
1942
|
-
}
|
|
1943
|
-
|
|
1944
|
-
/**
|
|
1945
|
-
* @public
|
|
1946
|
-
* @classdesc Represents a service to working with license restrictions.
|
|
1947
|
-
* @extends {BaseHandlerChainService}
|
|
1948
|
-
*/
|
|
1949
|
-
export declare class LicenseService extends BaseHandlerChainService {
|
|
1950
|
-
/* Excluded from this release type: requestType */
|
|
1951
|
-
/**
|
|
1952
|
-
* @description Receives status of license operations by post http request.
|
|
1953
|
-
* @param operationCodes - The license operation names.
|
|
1954
|
-
* @returns `Promise<LicenseRestrictionOperationValues[]>`
|
|
1955
|
-
* An object with keys as operations codes and values as operation statuses.
|
|
1956
|
-
*/
|
|
1957
|
-
getLicenseOperationStatuses: (operationCodes: string[]) => Promise<LicenseRestrictionOperationValues>;
|
|
1958
|
-
/**
|
|
1959
|
-
* Receives status of explicit license operations by post http request.
|
|
1960
|
-
* @param operationCodes - The license operation names.
|
|
1961
|
-
* @returns `Promise<LicenseRestrictionOperationValues[]>`
|
|
1962
|
-
* An object with keys as operations codes and values as operation statuses.
|
|
1963
|
-
*/
|
|
1964
|
-
getExplicitLicenseOperationStatuses: (operationCodes: string[]) => Promise<LicenseRestrictionOperationValues>;
|
|
1965
|
-
/**
|
|
1966
|
-
* @deprecated Use `getExplicitLicenseOperationStatuses` instead.
|
|
1967
|
-
* @description Loads status of license operations.
|
|
1968
|
-
* @param {string[]} operationCodes - The license operation names.
|
|
1969
|
-
* @returns `Promise<LicenseRestrictionOperationValues>`
|
|
1970
|
-
* An object with keys as operations codes and values as operation statuses.
|
|
1971
|
-
*/
|
|
1972
|
-
loadLicenseOperationStatuses: (operationCodes: string[]) => Promise<LicenseRestrictionOperationValues>;
|
|
1973
|
-
}
|
|
1974
|
-
|
|
1975
|
-
export { LocalizableString }
|
|
1976
|
-
|
|
1977
|
-
/* Excluded from this release type: LocalizableStringValues */
|
|
1978
|
-
|
|
1979
|
-
/**
|
|
1980
|
-
* @public
|
|
1981
|
-
*/
|
|
1982
|
-
export declare class LocalizableValue {
|
|
1983
|
-
readonly key: string;
|
|
1984
|
-
/* Excluded from this release type: _instanceOfKey */
|
|
1985
|
-
constructor(key: string);
|
|
1986
|
-
/* Excluded from this release type: [Symbol.hasInstance] */
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
|
-
/* Excluded from this release type: LocalizableValues */
|
|
1990
|
-
|
|
1991
|
-
/**
|
|
1992
|
-
* @public
|
|
1993
|
-
* @description Use this function in decorators to indicate that a value should be localized.
|
|
1994
|
-
* Note that the "localizeMetadata" bootstrap option should be provided,
|
|
1995
|
-
* otherwise the value cannot be localized.
|
|
1996
|
-
*
|
|
1997
|
-
* @example
|
|
1998
|
-
*
|
|
1999
|
-
* ### Using 'localize' in decorator
|
|
2000
|
-
* ```ts
|
|
2001
|
-
* @CrtInterfaceDesignerItem({
|
|
2002
|
-
* toolbarConfig: {
|
|
2003
|
-
* caption: localize('MyElement.Caption')
|
|
2004
|
-
* }
|
|
2005
|
-
* })
|
|
2006
|
-
* class MyElement {}
|
|
2007
|
-
* ```
|
|
2008
|
-
* ### Passing 'localizeMetadata' bootstrap option
|
|
2009
|
-
* ```ts
|
|
2010
|
-
* bootstrapCrtModule(MyModule, {
|
|
2011
|
-
* localizeMetadata: (key: string) => thirdPartyTranslateService.translate(key)
|
|
2012
|
-
* });
|
|
2013
|
-
* ```
|
|
2014
|
-
*/
|
|
2015
|
-
export declare function localize(key: string): LocalizableValue;
|
|
2016
|
-
|
|
2017
|
-
export { LocalizeFn }
|
|
2018
|
-
|
|
2019
|
-
export { LogicalOperatorType }
|
|
2020
|
-
|
|
2021
|
-
export { LookupValue }
|
|
2022
|
-
|
|
2023
|
-
export { LookupValueWithCode }
|
|
2024
|
-
|
|
2025
|
-
export { MacrosFunctionColumn }
|
|
2026
|
-
|
|
2027
|
-
export { MacrosFunctionExpression }
|
|
2028
|
-
|
|
2029
|
-
export { MacrosFunctionExpressionConfig }
|
|
2030
|
-
|
|
2031
|
-
/**
|
|
2032
|
-
* @public
|
|
2033
|
-
* @classdesc Service to working with mask using handler chain
|
|
2034
|
-
* @extends {BaseHandlerChainService}
|
|
2035
|
-
*/
|
|
2036
|
-
export declare class MaskService extends BaseHandlerChainService {
|
|
2037
|
-
/* Excluded from this release type: requestType */
|
|
2038
|
-
/**
|
|
2039
|
-
* @description Method to show body mask on the page
|
|
2040
|
-
* @param {MaskSettings} settings - mask settings {@link MaskSettings}
|
|
2041
|
-
*/
|
|
2042
|
-
showBodyMask: (settings?: MaskSettings) => Promise<void>;
|
|
2043
|
-
/**
|
|
2044
|
-
* @description Method to hide body mask
|
|
2045
|
-
*/
|
|
2046
|
-
hideBodyMask: () => Promise<void>;
|
|
2047
|
-
/* Excluded from this release type: showMask */
|
|
2048
|
-
/* Excluded from this release type: hideMask */
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
/**
|
|
2052
|
-
* @public
|
|
2053
|
-
* @description Settings for displaying mask.
|
|
2054
|
-
* @property {number} delay - The duration in milliseconds until which the mask delaying.
|
|
2055
|
-
*/
|
|
2056
|
-
export declare interface MaskSettings {
|
|
2057
|
-
/**
|
|
2058
|
-
* @description The duration in milliseconds until which the mask delaying.
|
|
2059
|
-
*/
|
|
2060
|
-
delay: number;
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
/* Excluded from this release type: matchScopes */
|
|
2064
|
-
export { MessageChannelEvent }
|
|
2065
|
-
|
|
2066
|
-
/**
|
|
2067
|
-
* @public
|
|
2068
|
-
* @classdesc Service for working with messages sent or received through a server channel.
|
|
2069
|
-
* @extends {BaseHandlerChainService}
|
|
2070
|
-
* @implements {BaseMessageChannelService}
|
|
2071
|
-
*/
|
|
2072
|
-
export declare class MessageChannelService extends BaseHandlerChainService implements BaseMessageChannelService {
|
|
2073
|
-
/* Excluded from this release type: requestType */
|
|
2074
|
-
/**
|
|
2075
|
-
* @public
|
|
2076
|
-
* @description Subscribes on messages from a specific sender.
|
|
2077
|
-
* @param sender String identifier of the sender.
|
|
2078
|
-
* @param callback Callback that should be executed on each message.
|
|
2079
|
-
* @returns A promise to be resolved with a {@link ɵSubscription} object that can be used to unsubscribe.
|
|
2080
|
-
*/
|
|
2081
|
-
subscribe: <T>(sender: string, callback: (event: MessageChannelEvent<T>) => void) => Promise<Subscription>;
|
|
2082
|
-
/**
|
|
2083
|
-
* @public
|
|
2084
|
-
* @description Sends message to the channel.
|
|
2085
|
-
* @param sender String identifier of the sender, used to distinguish between messages from different senders.
|
|
2086
|
-
* @param body Body of the message that should be sent (payload). Should be JSON-serializable.
|
|
2087
|
-
* @param channelType Type of message channel.
|
|
2088
|
-
*/
|
|
2089
|
-
sendMessage: (sender: string, body: unknown, channelType: MessageChannelType) => Promise<void>;
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
export { MessageChannelType }
|
|
2093
|
-
|
|
2094
|
-
export { MetadataProvider }
|
|
2095
|
-
|
|
2096
|
-
/* Excluded from this release type: MethodInvokeRequest */
|
|
2097
|
-
|
|
2098
|
-
/* Excluded from this release type: MobileInterfaceDesignerItemRegistry */
|
|
2099
|
-
|
|
2100
|
-
/* Excluded from this release type: mobileInterfaceDesignerItemRegistryKey */
|
|
2101
|
-
|
|
2102
|
-
/* Excluded from this release type: MobileViewElementRegistry */
|
|
2103
|
-
|
|
2104
|
-
/* Excluded from this release type: mobileViewElementRegistryKey */
|
|
2105
|
-
|
|
2106
|
-
/**
|
|
2107
|
-
* @public
|
|
2108
|
-
*/
|
|
2109
|
-
export declare class Model extends BaseHandlerChainService implements BaseModel<DataSourceLoadOptions> {
|
|
2110
|
-
private static _instance;
|
|
2111
|
-
private readonly _crtModel;
|
|
2112
|
-
/* Excluded from this release type: requestType */
|
|
2113
|
-
private constructor();
|
|
2114
|
-
private static get instance();
|
|
2115
|
-
/* Excluded from this release type: name */
|
|
2116
|
-
private readonly _create;
|
|
2117
|
-
/* Excluded from this release type: [_from] */
|
|
2118
|
-
static create(dataSchema: string): Promise<Model>;
|
|
2119
|
-
getSchema(): Promise<DataSchema>;
|
|
2120
|
-
load(config?: {
|
|
2121
|
-
attributes?: string[] | DataSourceAttribute[];
|
|
2122
|
-
parameters?: DataSourceParameters;
|
|
2123
|
-
options?: DataSourceLoadOptions;
|
|
2124
|
-
/**
|
|
2125
|
-
* @deprecated Use options instead.
|
|
2126
|
-
*/
|
|
2127
|
-
loadOptions?: DataSourceLoadOptions;
|
|
2128
|
-
}): Promise<JsonArray>;
|
|
2129
|
-
insert(dto: JsonObject): Promise<DataSourceSaveResult>;
|
|
2130
|
-
update(dto: JsonObject, parameters: DataSourceParameters): Promise<DataSourceSaveResult>;
|
|
2131
|
-
copy(primaryColumnValue: string, data?: JsonObject): Promise<JsonObject>;
|
|
2132
|
-
create(data?: JsonObject): Promise<JsonObject>;
|
|
2133
|
-
delete(parameters: DataSourceParameters): Promise<DataSourceSaveResult>;
|
|
2134
|
-
canSave(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
|
|
2135
|
-
canDelete(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
|
|
2136
|
-
insertInTransaction(transaction: ITransaction, dto: JsonObject): ITransactionOperation<DataSourceSaveResult>;
|
|
2137
|
-
updateInTransaction(transaction: ITransaction, dto: JsonObject, parameters: DataSourceParameters): ITransactionOperation<DataSourceSaveResult>;
|
|
2138
|
-
deleteInTransaction(transaction: ITransaction, parameters: DataSourceParameters): ITransactionOperation<DataSourceSaveResult>;
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
|
-
export { ModelDefaultValue }
|
|
2142
|
-
|
|
2143
|
-
export { ModelInitConfig }
|
|
2144
|
-
|
|
2145
|
-
export { ModelInPageAction }
|
|
2146
|
-
|
|
2147
|
-
export { ModelParameterType }
|
|
2148
|
-
|
|
2149
|
-
/**
|
|
2150
|
-
* @public
|
|
2151
|
-
* @description Definition of CrtModule. Use this to register elements in Creatio platform.
|
|
2152
|
-
* @property {Type[]} includes - Array of other CrnModules which are included in current.
|
|
2153
|
-
* This allows easily create chains of CrtModules. Bootstrapping will be done through all module chain
|
|
2154
|
-
* @property {Type[]} viewElements - Array of user-defined view elements which will be registered in Creatio platform.
|
|
2155
|
-
* @property {Type[]} validators - Array of user-defined validators which will be registered in Creatio platform.
|
|
2156
|
-
* @property {Type<BaseRequestHandler>[]} requestHandlers - Array of user-defined request handlers
|
|
2157
|
-
|
|
2158
|
-
* which will be registered in Creatio platform.
|
|
2159
|
-
* @example
|
|
2160
|
-
* @CrtModule({
|
|
2161
|
-
* viewElements: [AppComponent, UserComponent],
|
|
2162
|
-
* includes: [NotifyModule],
|
|
2163
|
-
* requestHandlers: [SomeRequestHandler],
|
|
2164
|
-
* })
|
|
2165
|
-
* @NgModule({
|
|
2166
|
-
* declarations: [AppComponent, UserComponent],
|
|
2167
|
-
* imports: [BrowserModule],
|
|
2168
|
-
* providers: [],
|
|
2169
|
-
* })
|
|
2170
|
-
* export class AppModule {}
|
|
2171
|
-
*/
|
|
2172
|
-
export declare interface ModuleDefinition {
|
|
2173
|
-
/**
|
|
2174
|
-
* @description Array of other CrtModules which are included in current.
|
|
2175
|
-
* This allows easily create chains of CrtModules. Bootstrapping will be done through all module chain
|
|
2176
|
-
*/
|
|
2177
|
-
includes?: Type[];
|
|
2178
|
-
/**
|
|
2179
|
-
* @description Array of user-defined view elements which will be registered
|
|
2180
|
-
* in Creatio platform.
|
|
2181
|
-
*/
|
|
2182
|
-
viewElements?: Type[];
|
|
2183
|
-
/**
|
|
2184
|
-
* @description Array of user-defined validators which will be registered in Creatio platform
|
|
2185
|
-
*/
|
|
2186
|
-
validators?: Type<BaseValidator>[];
|
|
2187
|
-
/* Excluded from this release type: designTimeViewElements */
|
|
2188
|
-
/**
|
|
2189
|
-
* @description Array of user-defined request handlers which will be registered in Creatio platform
|
|
2190
|
-
*/
|
|
2191
|
-
requestHandlers?: Type<BaseRequestHandler>[];
|
|
2192
|
-
/**
|
|
2193
|
-
* @description Array of user-defined converters which will be registered in Creatio platform
|
|
2194
|
-
*/
|
|
2195
|
-
converters?: Type<Converter>[];
|
|
2196
|
-
/* Excluded from this release type: handlerChainServices */
|
|
2197
|
-
}
|
|
2198
|
-
|
|
2199
|
-
export { NextHandlerAlreadySpecifiedException }
|
|
2200
|
-
|
|
2201
|
-
/* Excluded from this release type: objectDeepKeys */
|
|
2202
|
-
|
|
2203
|
-
/**
|
|
2204
|
-
* @public
|
|
2205
|
-
* @description Render config for an element with OnViewport render strategy.
|
|
2206
|
-
*/
|
|
2207
|
-
export declare interface OnViewportRenderConfig {
|
|
2208
|
-
/**
|
|
2209
|
-
* @description Determines that the element should render on entering the viewport.
|
|
2210
|
-
*/
|
|
2211
|
-
renderStrategy: ViewElementRenderStrategy.OnViewport;
|
|
2212
|
-
/**
|
|
2213
|
-
* @description The size of the placeholder displayed while the element is
|
|
2214
|
-
* being rendered.
|
|
2215
|
-
*/
|
|
2216
|
-
placeholderSize: {
|
|
2217
|
-
height: string;
|
|
2218
|
-
};
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
|
-
/* Excluded from this release type: OptionChangeSubscribeFn */
|
|
2222
|
-
|
|
2223
|
-
/* Excluded from this release type: OptionChangeSubscription */
|
|
2224
|
-
|
|
2225
|
-
/* Excluded from this release type: OptionsChangeListener */
|
|
2226
|
-
export { OrderDirection }
|
|
2227
|
-
|
|
2228
|
-
export { ParameterExpression }
|
|
2229
|
-
|
|
2230
|
-
export { ParameterExpressionConfig }
|
|
2231
|
-
|
|
2232
|
-
export { ParameterQueryColumn }
|
|
2233
|
-
|
|
2234
|
-
/* Excluded from this release type: PkgTopology */
|
|
2235
|
-
|
|
2236
|
-
/* Excluded from this release type: Platform */
|
|
2237
|
-
export { PlatformAPIOptions }
|
|
2238
|
-
|
|
2239
|
-
export { PlatformAPIs }
|
|
2240
|
-
|
|
2241
|
-
/**
|
|
2242
|
-
* @public
|
|
2243
|
-
* @description Response for preload cachable system settings.
|
|
2244
|
-
* @extends {BaseResponse}
|
|
2245
|
-
* @property {Record<string, SysSetting>} values - system settings values
|
|
2246
|
-
*/
|
|
2247
|
-
export declare interface PreloadSysSettingsResponse extends BaseResponse {
|
|
2248
|
-
/**
|
|
2249
|
-
* @type {Record<string, SysSetting>}
|
|
2250
|
-
* @description system settings values. {@link SysSetting}
|
|
2251
|
-
*/
|
|
2252
|
-
values: Record<string, SysSetting>;
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
export { PrimaryDisplayFilterDataSourceParameter }
|
|
2256
|
-
|
|
2257
|
-
/**
|
|
2258
|
-
* @public
|
|
2259
|
-
* @class ProcessEngineService
|
|
2260
|
-
* @classdesc Service, used for starting and completing business processes using handler chain
|
|
2261
|
-
* @extends {BaseHandlerChainService}
|
|
2262
|
-
*/
|
|
2263
|
-
export declare class ProcessEngineService extends BaseHandlerChainService {
|
|
2264
|
-
/* Excluded from this release type: requestType */
|
|
2265
|
-
/**
|
|
2266
|
-
* Executes process by name.
|
|
2267
|
-
* @param processName Process name.
|
|
2268
|
-
* @param parameters Process parameters.
|
|
2269
|
-
* @param resultParameterNames Resulting process parameters.
|
|
2270
|
-
*/
|
|
2271
|
-
executeProcessByName: (processName: string, parameters?: Record<string, unknown>, resultParameterNames?: string[]) => Promise<RunProcessResponse>;
|
|
2272
|
-
/**
|
|
2273
|
-
* Completes process element execution.
|
|
2274
|
-
* @param {Guid} processElementUId Process element unique identifier.
|
|
2275
|
-
* @param {Record<string, JsonData>} parameters Process parameters.
|
|
2276
|
-
*/
|
|
2277
|
-
completeExecuting: (processElementUId: Guid, parameters?: Record<string, JsonData>) => Promise<BaseResponse>;
|
|
2278
|
-
}
|
|
2279
|
-
|
|
2280
|
-
/**
|
|
2281
|
-
* @public
|
|
2282
|
-
* @interface
|
|
2283
|
-
* @description Interface representing a process parameter value.
|
|
2284
|
-
* @property {string} name - The name of the process parameter.
|
|
2285
|
-
* @property {string} value - The value of the process parameter.
|
|
2286
|
-
*/
|
|
2287
|
-
export declare interface ProcessParameterValue {
|
|
2288
|
-
/**
|
|
2289
|
-
* @description The name of the process parameter.
|
|
2290
|
-
*/
|
|
2291
|
-
name: string;
|
|
2292
|
-
/**
|
|
2293
|
-
* @description The value of the process parameter.
|
|
2294
|
-
*/
|
|
2295
|
-
value: string;
|
|
2296
|
-
}
|
|
2297
|
-
|
|
2298
|
-
/**
|
|
2299
|
-
* @public
|
|
2300
|
-
* @description Enum representing the status of a process.
|
|
2301
|
-
*/
|
|
2302
|
-
export declare enum ProcessStatus {
|
|
2303
|
-
/**
|
|
2304
|
-
* The process is inactive.
|
|
2305
|
-
*/
|
|
2306
|
-
Inactive = 0,
|
|
2307
|
-
/**
|
|
2308
|
-
* The process is currently running.
|
|
2309
|
-
*/
|
|
2310
|
-
Running = 1,
|
|
2311
|
-
/**
|
|
2312
|
-
* The process has completed successfully.
|
|
2313
|
-
*/
|
|
2314
|
-
Completed = 2,
|
|
2315
|
-
/**
|
|
2316
|
-
* The process encountered an error.
|
|
2317
|
-
*/
|
|
2318
|
-
Error = 3,
|
|
2319
|
-
/**
|
|
2320
|
-
* The process was cancelled.
|
|
2321
|
-
*/
|
|
2322
|
-
Cancelled = 4
|
|
2323
|
-
}
|
|
2324
|
-
|
|
2325
|
-
export { QueryMacrosType }
|
|
2326
|
-
|
|
2327
|
-
export { QueryOperationType }
|
|
2328
|
-
|
|
2329
|
-
/**
|
|
2330
|
-
* @public
|
|
2331
|
-
* @description Response for querying of system settings
|
|
2332
|
-
* @extends {BaseResponse}
|
|
2333
|
-
* @property {Record<string, SysSetting>} values - system settings values
|
|
2334
|
-
*/
|
|
2335
|
-
export declare interface QuerySysSettingsResponse extends BaseResponse {
|
|
2336
|
-
/**
|
|
2337
|
-
* @type {Record<string, SysSetting>}
|
|
2338
|
-
* @description system settings values. {@link SysSetting}
|
|
2339
|
-
*/
|
|
2340
|
-
values: Record<string, SysSetting>;
|
|
2341
|
-
/**
|
|
2342
|
-
* @type {Array<string>}
|
|
2343
|
-
* @description not found system settings codes.
|
|
2344
|
-
*/
|
|
2345
|
-
notFoundSettings?: Array<string>;
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
/* Excluded from this release type: registerAngularViewElement */
|
|
2349
|
-
|
|
2350
|
-
/**
|
|
2351
|
-
* @public
|
|
2352
|
-
* @description Function allows to register user-defined component as view element in Creatio platform.
|
|
2353
|
-
* @param config - registration config. {@link ViewElementRegistrationConfig}
|
|
2354
|
-
* @example
|
|
2355
|
-
* sdk.registerViewElement({
|
|
2356
|
-
* type: 'usr.Timeline',
|
|
2357
|
-
* selector: 'usr-timeline',
|
|
2358
|
-
* inputs: {
|
|
2359
|
-
* primaryColumnValue: {},
|
|
2360
|
-
* cardSchemaName: {},
|
|
2361
|
-
* entitySchemaName: {}
|
|
2362
|
-
* }
|
|
2363
|
-
* });
|
|
2364
|
-
*/
|
|
2365
|
-
export declare function registerViewElement(config: ViewElementRegistrationConfig): void;
|
|
2366
|
-
|
|
2367
|
-
/* Excluded from this release type: registryKey */
|
|
2368
|
-
|
|
2369
|
-
/* Excluded from this release type: RemoteBuildInfo */
|
|
2370
|
-
|
|
2371
|
-
/**
|
|
2372
|
-
* Discovery metadata for a remote converter.
|
|
2373
|
-
*
|
|
2374
|
-
* @public
|
|
2375
|
-
*/
|
|
2376
|
-
export declare interface RemoteConverterDiscoveryMetadata {
|
|
2377
|
-
/**
|
|
2378
|
-
* Stable converter type published during discovery.
|
|
2379
|
-
*/
|
|
2380
|
-
readonly type: string;
|
|
2381
|
-
}
|
|
2382
|
-
|
|
2383
|
-
/**
|
|
2384
|
-
* Context passed to remote designer-definition loaders.
|
|
2385
|
-
*
|
|
2386
|
-
* @public
|
|
2387
|
-
*/
|
|
2388
|
-
export declare interface RemoteDesignerDefinitionsLoadContext {
|
|
2389
|
-
/**
|
|
2390
|
-
* Current user culture used to localize returned definitions.
|
|
2391
|
-
*
|
|
2392
|
-
* For example, a remote can use this culture name to load the corresponding translation bundle before
|
|
2393
|
-
* returning toolbox captions.
|
|
2394
|
-
*/
|
|
2395
|
-
readonly cultureName: string;
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
/* Excluded from this release type: RemoteEntriesRegistry */
|
|
2399
|
-
|
|
2400
|
-
/**
|
|
2401
|
-
* Entry-side definition exported by a remote module.
|
|
2402
|
-
*
|
|
2403
|
-
* The host loads this object from the remote entry point to discover the features published by
|
|
2404
|
-
* the remote build.
|
|
2405
|
-
*
|
|
2406
|
-
* @public
|
|
2407
|
-
*/
|
|
2408
|
-
export declare interface RemoteEntryDefinition {
|
|
2409
|
-
/**
|
|
2410
|
-
* Stable remote name matching the registered remote build.
|
|
2411
|
-
*/
|
|
2412
|
-
readonly remoteName: string;
|
|
2413
|
-
/**
|
|
2414
|
-
* Features published by the remote entry.
|
|
2415
|
-
*
|
|
2416
|
-
* Feature identifiers must be unique within the same remote entry.
|
|
2417
|
-
*/
|
|
2418
|
-
readonly features: readonly RemoteFeatureDefinition[];
|
|
2419
|
-
}
|
|
2420
|
-
|
|
2421
|
-
/* Excluded from this release type: RemoteEntryType */
|
|
2422
|
-
|
|
2423
|
-
/**
|
|
2424
|
-
* Defines a remote feature activated on demand.
|
|
2425
|
-
*
|
|
2426
|
-
* A feature can publish runtime types through {@link RemoteFeatureDefinition.discovery}, expose
|
|
2427
|
-
* interface-designer metadata through {@link RemoteFeatureDefinition.loadDesignerDefinitions}, and load its
|
|
2428
|
-
* implementation only when the runtime requests activation.
|
|
2429
|
-
*
|
|
2430
|
-
* @example
|
|
2431
|
-
* ```ts
|
|
2432
|
-
* const runtimeFeature: RemoteFeatureDefinition = {
|
|
2433
|
-
* id: 'runtime',
|
|
2434
|
-
* discovery: {
|
|
2435
|
-
* viewElements: [{ type: 'usr.Address' }],
|
|
2436
|
-
* requestHandlers: [{ type: 'usr.OpenAddressHandler', requestType: 'usr.OpenAddressRequest' }]
|
|
2437
|
-
* },
|
|
2438
|
-
* activate: async () => {
|
|
2439
|
-
* const { activateRuntimeFeature } = await import('./runtime.feature-activation');
|
|
2440
|
-
* await activateRuntimeFeature();
|
|
2441
|
-
* },
|
|
2442
|
-
* loadDesignerDefinitions: async ({ cultureName }) => {
|
|
2443
|
-
* const { loadRuntimeDesignerDefinitions } = await import('./runtime.designer-definitions');
|
|
2444
|
-
* return loadRuntimeDesignerDefinitions({ cultureName });
|
|
2445
|
-
* }
|
|
2446
|
-
* };
|
|
2447
|
-
* ```
|
|
2448
|
-
*
|
|
2449
|
-
* @public
|
|
2450
|
-
*/
|
|
2451
|
-
export declare interface RemoteFeatureDefinition {
|
|
2452
|
-
/**
|
|
2453
|
-
* Stable feature identifier inside the remote entry.
|
|
2454
|
-
*/
|
|
2455
|
-
readonly id: string;
|
|
2456
|
-
/**
|
|
2457
|
-
* Discovery metadata published during startup.
|
|
2458
|
-
*
|
|
2459
|
-
* Lists the public items exposed by the feature during discovery.
|
|
2460
|
-
* This field should declare metadata only. Register implementations in
|
|
2461
|
-
* {@link RemoteFeatureDefinition.activate}.
|
|
2462
|
-
*/
|
|
2463
|
-
readonly discovery?: RemoteFeatureDiscoveryMetadata;
|
|
2464
|
-
/**
|
|
2465
|
-
* Activates the feature when runtime needs its implementation.
|
|
2466
|
-
*
|
|
2467
|
-
* This callback should load and register the implementations for the items published through
|
|
2468
|
-
* {@link RemoteFeatureDefinition.discovery}.
|
|
2469
|
-
*/
|
|
2470
|
-
readonly activate: () => Promise<void>;
|
|
2471
|
-
/**
|
|
2472
|
-
* Loads localized interface-designer definitions exposed by the feature to register view elements
|
|
2473
|
-
* in the designer toolbox.
|
|
2474
|
-
*
|
|
2475
|
-
* This callback should only return metadata. Any returned item `type` should match the discovery metadata
|
|
2476
|
-
* published by the same feature.
|
|
2477
|
-
*
|
|
2478
|
-
* @example
|
|
2479
|
-
* ```ts
|
|
2480
|
-
* async loadDesignerDefinitions({ cultureName }) {
|
|
2481
|
-
* const translations = await loadTranslationsForCulture(cultureName);
|
|
2482
|
-
* return {
|
|
2483
|
-
* viewElements: [
|
|
2484
|
-
* {
|
|
2485
|
-
* type: 'usr.Address',
|
|
2486
|
-
* toolbarConfig: {
|
|
2487
|
-
* caption: translations['address.caption'],
|
|
2488
|
-
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2489
|
-
* },
|
|
2490
|
-
* defaultPropertyValues: {
|
|
2491
|
-
* city: translations['address.defaultCity']
|
|
2492
|
-
* },
|
|
2493
|
-
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2494
|
-
* }
|
|
2495
|
-
* ],
|
|
2496
|
-
* mobileViewElements: [
|
|
2497
|
-
* {
|
|
2498
|
-
* type: 'usr.MobileAddress',
|
|
2499
|
-
* toolbarConfig: {
|
|
2500
|
-
* caption: translations['mobileAddress.caption'],
|
|
2501
|
-
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2502
|
-
* },
|
|
2503
|
-
* propertiesPanel: 'usr.MobileAddressPropertiesPanel'
|
|
2504
|
-
* }
|
|
2505
|
-
* ]
|
|
2506
|
-
* };
|
|
2507
|
-
* }
|
|
2508
|
-
* ```
|
|
2509
|
-
*/
|
|
2510
|
-
readonly loadDesignerDefinitions?: (context: RemoteDesignerDefinitionsLoadContext) => Promise<RemoteFeatureDesignerDefinitions>;
|
|
2511
|
-
}
|
|
2512
|
-
|
|
2513
|
-
/**
|
|
2514
|
-
* Interface-designer definitions returned by a remote feature.
|
|
2515
|
-
*
|
|
2516
|
-
* Use this payload to register toolbox entries without activating the remote runtime implementation.
|
|
2517
|
-
*
|
|
2518
|
-
* @example
|
|
2519
|
-
* ```ts
|
|
2520
|
-
* {
|
|
2521
|
-
* viewElements: [
|
|
2522
|
-
* {
|
|
2523
|
-
* type: 'usr.Address',
|
|
2524
|
-
* toolbarConfig: {
|
|
2525
|
-
* caption: 'Address',
|
|
2526
|
-
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2527
|
-
* },
|
|
2528
|
-
* defaultPropertyValues: {
|
|
2529
|
-
* city: 'Boston'
|
|
2530
|
-
* },
|
|
2531
|
-
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2532
|
-
* }
|
|
2533
|
-
* ]
|
|
2534
|
-
* }
|
|
2535
|
-
* ```
|
|
2536
|
-
*
|
|
2537
|
-
* @public
|
|
2538
|
-
*/
|
|
2539
|
-
export declare interface RemoteFeatureDesignerDefinitions {
|
|
2540
|
-
/**
|
|
2541
|
-
* Designer metadata for discovered view elements.
|
|
2542
|
-
*
|
|
2543
|
-
* Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.viewElements}.
|
|
2544
|
-
*/
|
|
2545
|
-
readonly viewElements?: readonly RemoteViewElementDesignerDefinition[];
|
|
2546
|
-
/**
|
|
2547
|
-
* Designer metadata for discovered mobile view elements.
|
|
2548
|
-
*
|
|
2549
|
-
* Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.mobileViewElements}.
|
|
2550
|
-
*/
|
|
2551
|
-
readonly mobileViewElements?: readonly RemoteViewElementDesignerDefinition[];
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
|
-
/**
|
|
2555
|
-
* Aggregated discovery metadata for a remote feature.
|
|
2556
|
-
*
|
|
2557
|
-
* Lists the public items exposed by a feature during discovery.
|
|
2558
|
-
* Register their implementations in {@link RemoteFeatureDefinition.activate}.
|
|
2559
|
-
*
|
|
2560
|
-
* @public
|
|
2561
|
-
*/
|
|
2562
|
-
export declare interface RemoteFeatureDiscoveryMetadata {
|
|
2563
|
-
/**
|
|
2564
|
-
* View elements exposed by the feature.
|
|
2565
|
-
*/
|
|
2566
|
-
readonly viewElements?: readonly RemoteViewElementDiscoveryMetadata[];
|
|
2567
|
-
/**
|
|
2568
|
-
* Mobile view elements exposed by the feature.
|
|
2569
|
-
*/
|
|
2570
|
-
readonly mobileViewElements?: readonly RemoteViewElementDiscoveryMetadata[];
|
|
2571
|
-
/**
|
|
2572
|
-
* Converters exposed by the feature.
|
|
2573
|
-
*/
|
|
2574
|
-
readonly converters?: readonly RemoteConverterDiscoveryMetadata[];
|
|
2575
|
-
/**
|
|
2576
|
-
* Validators exposed by the feature.
|
|
2577
|
-
*/
|
|
2578
|
-
readonly validators?: readonly RemoteValidatorDiscoveryMetadata[];
|
|
2579
|
-
/**
|
|
2580
|
-
* Request handlers exposed by the feature.
|
|
2581
|
-
*/
|
|
2582
|
-
readonly requestHandlers?: readonly RemoteRequestHandlerDiscoveryMetadata[];
|
|
2583
|
-
}
|
|
2584
|
-
|
|
2585
|
-
/* Excluded from this release type: RemoteHandlerSource */
|
|
2586
|
-
|
|
2587
|
-
/**
|
|
2588
|
-
* Discovery metadata for a remote request handler.
|
|
2589
|
-
*
|
|
2590
|
-
* @public
|
|
2591
|
-
*/
|
|
2592
|
-
export declare interface RemoteRequestHandlerDiscoveryMetadata {
|
|
2593
|
-
/**
|
|
2594
|
-
* Stable request-handler type published during discovery.
|
|
2595
|
-
*/
|
|
2596
|
-
readonly type: string;
|
|
2597
|
-
/**
|
|
2598
|
-
* Request type handled by the handler.
|
|
2599
|
-
*/
|
|
2600
|
-
readonly requestType: string;
|
|
2601
|
-
/**
|
|
2602
|
-
* Optional scope restriction for the handler.
|
|
2603
|
-
*
|
|
2604
|
-
* When specified, the handler is considered only for requests executed inside the listed scopes.
|
|
2605
|
-
*/
|
|
2606
|
-
readonly scopes?: string[];
|
|
2607
|
-
}
|
|
2608
|
-
|
|
2609
|
-
/**
|
|
2610
|
-
* Discovery metadata for a remote validator.
|
|
2611
|
-
*
|
|
2612
|
-
* @public
|
|
2613
|
-
*/
|
|
2614
|
-
export declare interface RemoteValidatorDiscoveryMetadata {
|
|
2615
|
-
/**
|
|
2616
|
-
* Stable validator type published during discovery.
|
|
2617
|
-
*/
|
|
2618
|
-
readonly type: string;
|
|
2619
|
-
}
|
|
2620
|
-
|
|
2621
|
-
/**
|
|
2622
|
-
* Interface-designer metadata exposed by a remote view element.
|
|
2623
|
-
*
|
|
2624
|
-
* Use this payload to register toolbox entries in the interface designer without activating the
|
|
2625
|
-
* remote runtime implementation.
|
|
2626
|
-
*
|
|
2627
|
-
* @example
|
|
2628
|
-
* ```ts
|
|
2629
|
-
* {
|
|
2630
|
-
* type: 'usr.Address',
|
|
2631
|
-
* toolbarConfig: {
|
|
2632
|
-
* caption: 'Address',
|
|
2633
|
-
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2634
|
-
* },
|
|
2635
|
-
* defaultPropertyValues: {
|
|
2636
|
-
* street: 'Main st.',
|
|
2637
|
-
* city: 'Boston'
|
|
2638
|
-
* },
|
|
2639
|
-
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2640
|
-
* }
|
|
2641
|
-
* ```
|
|
2642
|
-
*
|
|
2643
|
-
* @public
|
|
2644
|
-
*/
|
|
2645
|
-
export declare interface RemoteViewElementDesignerDefinition {
|
|
2646
|
-
/**
|
|
2647
|
-
* Stable view element type already published through discovery metadata.
|
|
2648
|
-
*
|
|
2649
|
-
* Must match the `type` of a corresponding item from {@link RemoteFeatureDiscoveryMetadata.viewElements} or
|
|
2650
|
-
* {@link RemoteFeatureDiscoveryMetadata.mobileViewElements} published by the same feature.
|
|
2651
|
-
*/
|
|
2652
|
-
readonly type: string;
|
|
2653
|
-
/**
|
|
2654
|
-
* Toolbar configuration displayed in the interface designer.
|
|
2655
|
-
*/
|
|
2656
|
-
readonly toolbarConfig: {
|
|
2657
|
-
/**
|
|
2658
|
-
* Visible caption in the interface-designer toolbox.
|
|
2659
|
-
*/
|
|
2660
|
-
readonly caption: string;
|
|
2661
|
-
/**
|
|
2662
|
-
* Raw SVG markup displayed as the toolbox icon.
|
|
2663
|
-
*
|
|
2664
|
-
* @example
|
|
2665
|
-
* ```ts
|
|
2666
|
-
* icon: '<svg viewBox="0 0 16 16"></svg>'
|
|
2667
|
-
* ```
|
|
2668
|
-
*
|
|
2669
|
-
* @example
|
|
2670
|
-
* ```ts
|
|
2671
|
-
* icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
|
|
2672
|
-
* ```
|
|
2673
|
-
*/
|
|
2674
|
-
readonly icon: string;
|
|
2675
|
-
/**
|
|
2676
|
-
* Optional hint displayed on hover in the interface-designer toolbox.
|
|
2677
|
-
*/
|
|
2678
|
-
readonly hint?: string;
|
|
2679
|
-
};
|
|
2680
|
-
/**
|
|
2681
|
-
* Default property values applied when the item is added from the toolbox.
|
|
2682
|
-
*
|
|
2683
|
-
* Keys must match property names expected by the view element.
|
|
2684
|
-
*/
|
|
2685
|
-
readonly defaultPropertyValues?: Record<string, JsonData>;
|
|
2686
|
-
/**
|
|
2687
|
-
* Type name of the properties panel component used for configuring the view element in the interface designer.
|
|
2688
|
-
*
|
|
2689
|
-
* @example
|
|
2690
|
-
* ```ts
|
|
2691
|
-
* propertiesPanel: 'usr.AddressPropertiesPanel'
|
|
2692
|
-
* ```
|
|
2693
|
-
*/
|
|
2694
|
-
readonly propertiesPanel?: string;
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
/**
|
|
2698
|
-
* Discovery metadata for a remote view element.
|
|
2699
|
-
*
|
|
2700
|
-
* @public
|
|
2701
|
-
*/
|
|
2702
|
-
export declare interface RemoteViewElementDiscoveryMetadata {
|
|
2703
|
-
/**
|
|
2704
|
-
* Stable view element type published during discovery.
|
|
2705
|
-
*/
|
|
2706
|
-
readonly type: string;
|
|
2707
|
-
}
|
|
2708
|
-
|
|
2709
|
-
/* Excluded from this release type: RemoveRequestHandlerListener */
|
|
2710
|
-
export { RequestHandler }
|
|
2711
|
-
|
|
2712
|
-
/* Excluded from this release type: RequestHandlerCtor */
|
|
2713
|
-
|
|
2714
|
-
/**
|
|
2715
|
-
* @public
|
|
2716
|
-
* @description Config to register request handler.
|
|
2717
|
-
* @property {string} type - The type of request handler.
|
|
2718
|
-
* @property {string} requestType - The type of request for which the handler will be triggered.
|
|
2719
|
-
* @property {string[]} scopes - Scopes of the request for which the handler will be triggered
|
|
2720
|
-
*/
|
|
2721
|
-
export declare interface RequestHandlerDefinition {
|
|
2722
|
-
/**
|
|
2723
|
-
* The type of request handler.
|
|
2724
|
-
* @example
|
|
2725
|
-
* 'crt.EventHandlerType'
|
|
2726
|
-
*/
|
|
2727
|
-
readonly type: string;
|
|
2728
|
-
/**
|
|
2729
|
-
* The type of request for which the handler will be triggered.
|
|
2730
|
-
* @example
|
|
2731
|
-
* 'crt.EventType'
|
|
2732
|
-
*/
|
|
2733
|
-
readonly requestType: string;
|
|
2734
|
-
/**
|
|
2735
|
-
* Scopes of the request for which the handler will be triggered
|
|
2736
|
-
*/
|
|
2737
|
-
readonly scopes?: string[];
|
|
2738
|
-
}
|
|
2739
|
-
|
|
2740
|
-
/* Excluded from this release type: RequestHandlerFactory */
|
|
2741
|
-
|
|
2742
|
-
/* Excluded from this release type: RequestHandlerMapValue */
|
|
2743
|
-
|
|
2744
|
-
/* Excluded from this release type: RequestHandlerRegistrationConfig */
|
|
2745
|
-
|
|
2746
|
-
/* Excluded from this release type: RequestHandlerRegistryService */
|
|
2747
|
-
export { RequestRegistrationConfig }
|
|
2748
|
-
|
|
2749
|
-
/* Excluded from this release type: RequestRegistryService */
|
|
2750
|
-
|
|
2751
|
-
/* Excluded from this release type: RequestsResolver */
|
|
2752
|
-
|
|
2753
|
-
/* Excluded from this release type: resetGlobals */
|
|
2754
|
-
export { ResolveDependencyFn }
|
|
2755
|
-
|
|
2756
|
-
/**
|
|
2757
|
-
* @public
|
|
2758
|
-
* @classdesc Service to working rights using handler chain
|
|
2759
|
-
* @extends {BaseHandlerChainService}
|
|
2760
|
-
*/
|
|
2761
|
-
export declare class RightsService extends BaseHandlerChainService {
|
|
2762
|
-
/* Excluded from this release type: requestType */
|
|
2763
|
-
/**
|
|
2764
|
-
* @description Method to recognize whether user can execute operation
|
|
2765
|
-
* @param {string} operationName - operation name
|
|
2766
|
-
* @returns `Promise<boolean>`
|
|
2767
|
-
*/
|
|
2768
|
-
getCanExecuteOperation: (operationName: string) => Promise<boolean>;
|
|
2769
|
-
/**
|
|
2770
|
-
* @description Method to recognize whether user can execute operations
|
|
2771
|
-
* @param {string[]} operationNames - operation names
|
|
2772
|
-
* @returns `Promise<boolean[]>`
|
|
2773
|
-
*/
|
|
2774
|
-
getCanExecuteOperations: (operationNames: string[]) => Promise<boolean[]>;
|
|
2775
|
-
}
|
|
2776
|
-
|
|
2777
|
-
/**
|
|
2778
|
-
* @public
|
|
2779
|
-
* @class
|
|
2780
|
-
* @classdesc Class representing a request to run a process.
|
|
2781
|
-
* @property {Guid} schemaUId - The unique identifier of the process schema.
|
|
2782
|
-
* @property {string} schemaName - The name of the process schema.
|
|
2783
|
-
* @property {ProcessParameterValue[]} parameterValues - The values of the process parameters.
|
|
2784
|
-
* @property {string[]} resultParameterNames - The names of the resulting process parameters.
|
|
2785
|
-
*/
|
|
2786
|
-
export declare class RunProcessRequest {
|
|
2787
|
-
/**
|
|
2788
|
-
* @description Represents process schema unique identifier to run.
|
|
2789
|
-
*/
|
|
2790
|
-
schemaUId?: Guid;
|
|
2791
|
-
/**
|
|
2792
|
-
* @description Represents process schema name to run.
|
|
2793
|
-
*/
|
|
2794
|
-
schemaName?: string;
|
|
2795
|
-
/**
|
|
2796
|
-
* @description Used to pass the parameters to a starting process.
|
|
2797
|
-
*/
|
|
2798
|
-
parameterValues?: ProcessParameterValue[];
|
|
2799
|
-
/**
|
|
2800
|
-
* @description Used to specify the names of the result parameters to retrieve on process completion.
|
|
2801
|
-
*/
|
|
2802
|
-
resultParameterNames?: string[];
|
|
2803
|
-
}
|
|
2804
|
-
|
|
2805
|
-
/**
|
|
2806
|
-
* @public
|
|
2807
|
-
* @interface
|
|
2808
|
-
* @extends {BaseResponse}
|
|
2809
|
-
* @description Interface representing the response from running a process.
|
|
2810
|
-
* @property {string} message - The message returned from the process execution.
|
|
2811
|
-
* @property {Guid} processId - The unique identifier of the executed process.
|
|
2812
|
-
* @property {Record<string, unknown>} resultParameterValues - The resulting parameter values from the process.
|
|
2813
|
-
*/
|
|
2814
|
-
export declare interface RunProcessResponse extends BaseResponse {
|
|
2815
|
-
/**
|
|
2816
|
-
* @description The message returned from the process execution.
|
|
2817
|
-
*/
|
|
2818
|
-
message: string;
|
|
2819
|
-
/**
|
|
2820
|
-
* @description The unique identifier of the executed process.
|
|
2821
|
-
*/
|
|
2822
|
-
processId: Guid;
|
|
2823
|
-
/**
|
|
2824
|
-
* @description The status of the executed process.
|
|
2825
|
-
*/
|
|
2826
|
-
processStatus: ProcessStatus;
|
|
2827
|
-
/**
|
|
2828
|
-
* @description The resulting parameter values from the process execution.
|
|
2829
|
-
*/
|
|
2830
|
-
resultParameterValues?: Record<string, unknown>;
|
|
2831
|
-
}
|
|
2832
|
-
|
|
2833
|
-
/**
|
|
2834
|
-
* @public
|
|
2835
|
-
* @description Response for saving system settings
|
|
2836
|
-
* @extends {BaseResponse}
|
|
2837
|
-
* @property {Record<string, any>} saveResult - saving result
|
|
2838
|
-
* @property {number} rowsAffected - Count of affected rows
|
|
2839
|
-
*/
|
|
2840
|
-
export declare interface SaveSysSettingsResponse extends BaseResponse {
|
|
2841
|
-
/**
|
|
2842
|
-
* @description saving result
|
|
2843
|
-
*/
|
|
2844
|
-
saveResult: Record<string, any>;
|
|
2845
|
-
/**
|
|
2846
|
-
* @description Count of affected rows
|
|
2847
|
-
*/
|
|
2848
|
-
rowsAffected: number;
|
|
2849
|
-
/* Excluded from this release type: nextPrcElReady */
|
|
2850
|
-
}
|
|
2851
|
-
|
|
2852
|
-
/* Excluded from this release type: SchemaHandlerSource */
|
|
2853
|
-
|
|
2854
|
-
/**
|
|
2855
|
-
* @public
|
|
2856
|
-
* @description Configuration interface for schema modal dialogs.
|
|
2857
|
-
* @property {string} schemaName - Name of the schema to be displayed in the modal.
|
|
2858
|
-
* @property {ɵModelInPageAction} action - Action to be performed on the model (e.g., create, edit).
|
|
2859
|
-
* @property {string} recordId - Identifier of the record to be edited or viewed.
|
|
2860
|
-
* @property {Array<ɵModelDefaultValue>} defaultValues - Default values to initialize the model with.
|
|
2861
|
-
* @property {Record<string, ɵJsonData>} parameters - Additional parameters for the schema.
|
|
2862
|
-
* @property {boolean} preventDefaultCloseCommand - Flag to prevent the default close command.
|
|
2863
|
-
* @property {object} appearanceSettings - Settings for the appearance of the modal.
|
|
2864
|
-
*/
|
|
2865
|
-
export declare interface SchemaModalConfig {
|
|
2866
|
-
/**
|
|
2867
|
-
* @description Name of the schema to be displayed in the modal.
|
|
2868
|
-
*/
|
|
2869
|
-
schemaName: string;
|
|
2870
|
-
/**
|
|
2871
|
-
* @description Action to be performed on the model (e.g., create, edit).
|
|
2872
|
-
*/
|
|
2873
|
-
action?: ModelInPageAction;
|
|
2874
|
-
/**
|
|
2875
|
-
* @description Identifier of the record to be edited or viewed.
|
|
2876
|
-
*/
|
|
2877
|
-
recordId?: string;
|
|
2878
|
-
/**
|
|
2879
|
-
* @description Default values to initialize the model with.
|
|
2880
|
-
*/
|
|
2881
|
-
defaultValues?: Array<ModelDefaultValue>;
|
|
2882
|
-
/**
|
|
2883
|
-
* @description Additional parameters for the schema.
|
|
2884
|
-
*/
|
|
2885
|
-
parameters?: Record<string, JsonData>;
|
|
2886
|
-
/**
|
|
2887
|
-
* @description Flag to prevent the default close command.
|
|
2888
|
-
*/
|
|
2889
|
-
preventDefaultCloseCommand?: boolean;
|
|
2890
|
-
/**
|
|
2891
|
-
* @description Settings for the appearance of the modal.
|
|
2892
|
-
*/
|
|
2893
|
-
appearanceSettings?: {
|
|
2894
|
-
/**
|
|
2895
|
-
* @description CSS classes to be applied to the modal panel.
|
|
2896
|
-
*/
|
|
2897
|
-
panelClass?: string[];
|
|
2898
|
-
/**
|
|
2899
|
-
* @description Maximum height of the modal.
|
|
2900
|
-
*/
|
|
2901
|
-
maxHeight?: number | string;
|
|
2902
|
-
};
|
|
2903
|
-
}
|
|
2904
|
-
|
|
2905
|
-
/**
|
|
2906
|
-
* @public
|
|
2907
|
-
* @class SchemaModalService
|
|
2908
|
-
* @classdesc Service to work with schema modal windows using handler chain.
|
|
2909
|
-
* @extends {BaseHandlerChainService}
|
|
2910
|
-
*/
|
|
2911
|
-
export declare class SchemaModalService extends BaseHandlerChainService {
|
|
2912
|
-
/* Excluded from this release type: requestType */
|
|
2913
|
-
/**
|
|
2914
|
-
* @description Method to show schema in the modal window.
|
|
2915
|
-
* @param {SchemaModalConfig} config - Configuration object for the schema modal.
|
|
2916
|
-
* @returns `Promise<void>`
|
|
2917
|
-
*/
|
|
2918
|
-
show: (config: SchemaModalConfig) => Promise<void>;
|
|
2919
|
-
}
|
|
2920
|
-
|
|
2921
|
-
export { SchemaViewMaskRequest }
|
|
2922
|
-
|
|
2923
|
-
export { SchemaViewMaskRequestAction }
|
|
2924
|
-
|
|
2925
|
-
export { SegmentFilter }
|
|
2926
|
-
|
|
2927
|
-
export { SegmentFilterComparisonType }
|
|
2928
|
-
|
|
2929
|
-
export { SegmentFilterDto }
|
|
2930
|
-
|
|
2931
|
-
export { SegmentFilterOptions }
|
|
2932
|
-
|
|
2933
|
-
export { SegmentFilterOptionsDto }
|
|
2934
|
-
|
|
2935
|
-
export { SelectLocalizationQuery }
|
|
2936
|
-
|
|
2937
|
-
/**
|
|
2938
|
-
* @public
|
|
2939
|
-
* @description Configuration for server-side hierarchy processing.
|
|
2940
|
-
* @property {'ServerSide'} type Type of hierarchy handling.
|
|
2941
|
-
* @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
|
|
2942
|
-
* @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
|
|
2943
|
-
* @property {FilterGroup} hierarchicalColumnFiltersValue Filters to be applied on the hierarchical column.
|
|
2944
|
-
* @property {number} hierarchicalMaxDepth Maximum depth of the hierarchy to be loaded.
|
|
2945
|
-
* @property {boolean} hierarchicalFullDataLoad Whether to load the full hierarchy data.
|
|
2946
|
-
*/
|
|
2947
|
-
export declare interface ServerSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
|
|
2948
|
-
/**
|
|
2949
|
-
* @description Type of hierarchy handling.
|
|
2950
|
-
*/
|
|
2951
|
-
type?: 'ServerSide';
|
|
2952
|
-
/**
|
|
2953
|
-
* @description Filters to be applied on the hierarchical column.
|
|
2954
|
-
*/
|
|
2955
|
-
hierarchicalColumnFiltersValue?: FilterGroup;
|
|
2956
|
-
/**
|
|
2957
|
-
* @description Maximum depth of the hierarchy to be loaded.
|
|
2958
|
-
*/
|
|
2959
|
-
hierarchicalMaxDepth?: number;
|
|
2960
|
-
/**
|
|
2961
|
-
* @description Whether to load the full hierarchy data.
|
|
2962
|
-
*/
|
|
2963
|
-
hierarchicalFullDataLoad?: boolean;
|
|
2964
|
-
}
|
|
2965
|
-
|
|
2966
|
-
/* Excluded from this release type: setConverterMetadata */
|
|
2967
|
-
|
|
2968
|
-
/* Excluded from this release type: setDesignTimeViewElementMetadata */
|
|
2969
|
-
|
|
2970
|
-
/* Excluded from this release type: setInterfaceDesignerItemMetadata */
|
|
2971
|
-
|
|
2972
|
-
/* Excluded from this release type: setMobileInterfaceDesignerItemMetadata */
|
|
2973
|
-
|
|
2974
|
-
/* Excluded from this release type: setMobileViewElementMetadata */
|
|
2975
|
-
|
|
2976
|
-
/* Excluded from this release type: setModuleMetadata */
|
|
2977
|
-
|
|
2978
|
-
/* Excluded from this release type: setRequestHandlerMetadata */
|
|
2979
|
-
|
|
2980
|
-
/* Excluded from this release type: setValidatorMetadata */
|
|
2981
|
-
|
|
2982
|
-
/* Excluded from this release type: setViewElementMetadata */
|
|
2983
|
-
export { SingleFilter }
|
|
2984
|
-
|
|
2985
|
-
export { SortColumnOptions }
|
|
2986
|
-
|
|
2987
|
-
export { SortDirection }
|
|
2988
|
-
|
|
2989
|
-
export { SubQueryColumn }
|
|
2990
|
-
|
|
2991
|
-
export { SubQueryExpression }
|
|
2992
|
-
|
|
2993
|
-
export { SubQueryExpressionConfig }
|
|
2994
|
-
|
|
2995
|
-
/* Excluded from this release type: Subscriber */
|
|
2996
|
-
export { Subscription }
|
|
2997
|
-
|
|
2998
|
-
/* Excluded from this release type: Subscription_2 */
|
|
2999
|
-
|
|
3000
|
-
export declare interface SysImageValue extends LookupValue {
|
|
3001
|
-
url?: string;
|
|
3002
|
-
}
|
|
3003
|
-
|
|
3004
|
-
/**
|
|
3005
|
-
* @public
|
|
3006
|
-
* @class SysSetting
|
|
3007
|
-
* @classdesc Class contains info related system setting
|
|
3008
|
-
* @property {ɵGuid} id - id of system setting.
|
|
3009
|
-
* @property {string} name - name of system setting.
|
|
3010
|
-
* @property {string} code - code of system setting.
|
|
3011
|
-
* @property {isCacheable} boolean - indicator whether system setting is cacheable
|
|
3012
|
-
* @property {any} value - value of system setting
|
|
3013
|
-
* @property {string} displayValue - display value of system setting
|
|
3014
|
-
* @property {ɵDataValueType} ɵDataValueType - system setting {@link ɵDataValueType}
|
|
3015
|
-
*/
|
|
3016
|
-
export declare class SysSetting {
|
|
3017
|
-
/**
|
|
3018
|
-
* @description id of system setting
|
|
3019
|
-
*/
|
|
3020
|
-
id?: Guid;
|
|
3021
|
-
/**
|
|
3022
|
-
* @description name of system setting
|
|
3023
|
-
*/
|
|
3024
|
-
name?: string;
|
|
3025
|
-
/**
|
|
3026
|
-
* @description code of system setting
|
|
3027
|
-
*/
|
|
3028
|
-
code?: string;
|
|
3029
|
-
/**
|
|
3030
|
-
* @description indicator whether system setting is cacheable
|
|
3031
|
-
*/
|
|
3032
|
-
isCacheable?: boolean;
|
|
3033
|
-
/**
|
|
3034
|
-
* @description value of system setting
|
|
3035
|
-
*/
|
|
3036
|
-
value?: any;
|
|
3037
|
-
/**
|
|
3038
|
-
* @description display value of system setting
|
|
3039
|
-
*/
|
|
3040
|
-
displayValue?: string;
|
|
3041
|
-
/**
|
|
3042
|
-
* @description system setting {@link ɵDataValueType}
|
|
3043
|
-
*/
|
|
3044
|
-
dataValueType?: DataValueType;
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
|
-
/**
|
|
3048
|
-
* @public
|
|
3049
|
-
* @class SysSettingsService
|
|
3050
|
-
* @classdesc Service to working with system settings using handler chain
|
|
3051
|
-
* @extends {BaseHandlerChainService}
|
|
3052
|
-
*/
|
|
3053
|
-
export declare class SysSettingsService extends BaseHandlerChainService {
|
|
3054
|
-
/* Excluded from this release type: requestType */
|
|
3055
|
-
/**
|
|
3056
|
-
* @description Method to get system settings by codes
|
|
3057
|
-
* @param {string[]} sysSettingCodes - system settings codes
|
|
3058
|
-
* @returns `Promise<QuerySysSettingsResponse>` {@link QuerySysSettingsResponse}
|
|
3059
|
-
*/
|
|
3060
|
-
getByCodes: (sysSettingCodes: string[]) => Promise<QuerySysSettingsResponse>;
|
|
3061
|
-
/**
|
|
3062
|
-
* @description Method to get system setting by code
|
|
3063
|
-
* @param {string} sysSettingCode - system settings code
|
|
3064
|
-
* @returns `Promise<SysSetting>`
|
|
3065
|
-
*/
|
|
3066
|
-
getByCode: (sysSettingCode: string) => Promise<SysSetting>;
|
|
3067
|
-
/**
|
|
3068
|
-
* @description Method to update system setting
|
|
3069
|
-
* @param {SysSettingValue} sysSettingValue - {@link SysSettingValue}
|
|
3070
|
-
* @param {Boolean} isPersonal - Flag that indicates that sysSetting value is personal.
|
|
3071
|
-
* @returns `Promise<SaveSysSettingsResponse>` {@link SaveSysSettingsResponse}
|
|
3072
|
-
*/
|
|
3073
|
-
update: (sysSettingValue: SysSettingValue, isPersonal?: boolean) => Promise<SaveSysSettingsResponse>;
|
|
3074
|
-
/**
|
|
3075
|
-
* @description Method to bulk update system settings
|
|
3076
|
-
* @param {SysSettingValue[]} sysSettingValues - system settings values {@link SysSettingValue}
|
|
3077
|
-
* @param {Boolean} isPersonal - Flag that indicates that sysSetting values are personal.
|
|
3078
|
-
* @returns `Promise<SaveSysSettingsResponse>` {@link SaveSysSettingsResponse}
|
|
3079
|
-
*/
|
|
3080
|
-
updateMany: (sysSettingValues: SysSettingValue[], isPersonal?: boolean) => Promise<SaveSysSettingsResponse>;
|
|
3081
|
-
}
|
|
3082
|
-
|
|
3083
|
-
/**
|
|
3084
|
-
* @public
|
|
3085
|
-
* @class SysSettingValue
|
|
3086
|
-
* @classdesc Shape to describe system setting value
|
|
3087
|
-
* @property {string} code - code of system setting
|
|
3088
|
-
* @property {any} value - value of system setting
|
|
3089
|
-
*/
|
|
3090
|
-
export declare class SysSettingValue {
|
|
3091
|
-
/**
|
|
3092
|
-
* @description code of system setting.
|
|
3093
|
-
*/
|
|
3094
|
-
code?: string;
|
|
3095
|
-
/**
|
|
3096
|
-
* @description value of system setting
|
|
3097
|
-
*/
|
|
3098
|
-
value?: any;
|
|
3099
|
-
}
|
|
3100
|
-
|
|
3101
|
-
/**
|
|
3102
|
-
* @public
|
|
3103
|
-
* @description Shape of system values
|
|
3104
|
-
* @property {LookupValue} maintainer - maintainer
|
|
3105
|
-
* @property {number} moneyDisplayPrecision - precision used for displaying money
|
|
3106
|
-
* @property {number} maxEntitySchemaNameLength - max length of entity schema
|
|
3107
|
-
* @property {LookupValue} workspace - workplace info
|
|
3108
|
-
* @property {LookupValue} userAccount - user info
|
|
3109
|
-
* @property {string} userTimezoneCode - code of user's timezone
|
|
3110
|
-
* @property {number} userTimezoneOffset - offset for user timezone
|
|
3111
|
-
* @property {LookupValue} userContact - user contact info
|
|
3112
|
-
* @property {LookupValueWithCode} primaryLanguage - primary language
|
|
3113
|
-
* @property {LookupValue} primaryCulture - primary culture
|
|
3114
|
-
* @property {LookupValue} userCulture - user culture
|
|
3115
|
-
* @property {string} environmentType - type of the environment
|
|
3116
|
-
*/
|
|
3117
|
-
export declare interface SysValues {
|
|
3118
|
-
/**
|
|
3119
|
-
* @description maintainer
|
|
3120
|
-
*/
|
|
3121
|
-
maintainer: LookupValue;
|
|
3122
|
-
/**
|
|
3123
|
-
* @description precision used for displaying money
|
|
3124
|
-
*/
|
|
3125
|
-
moneyDisplayPrecision: number;
|
|
3126
|
-
/**
|
|
3127
|
-
* @description max length of entity schema
|
|
3128
|
-
*/
|
|
3129
|
-
maxEntitySchemaNameLength: number;
|
|
3130
|
-
/**
|
|
3131
|
-
* @description workplace info
|
|
3132
|
-
*/
|
|
3133
|
-
workspace: LookupValue;
|
|
3134
|
-
/**
|
|
3135
|
-
* @description user info
|
|
3136
|
-
*/
|
|
3137
|
-
userAccount: LookupValue;
|
|
3138
|
-
/**
|
|
3139
|
-
* @description code of user's timezone
|
|
3140
|
-
*/
|
|
3141
|
-
userTimezoneCode: string;
|
|
3142
|
-
/**
|
|
3143
|
-
* @description offset for user timezone
|
|
3144
|
-
*/
|
|
3145
|
-
userTimezoneOffset: number;
|
|
3146
|
-
/**
|
|
3147
|
-
* @description user contact info
|
|
3148
|
-
*/
|
|
3149
|
-
userContact: LookupValue;
|
|
3150
|
-
/**
|
|
3151
|
-
* @description primary language
|
|
3152
|
-
*/
|
|
3153
|
-
primaryLanguage: LookupValueWithCode;
|
|
3154
|
-
/**
|
|
3155
|
-
* @description primary culture
|
|
3156
|
-
*/
|
|
3157
|
-
primaryCulture: LookupValue;
|
|
3158
|
-
/**
|
|
3159
|
-
* @description user culture
|
|
3160
|
-
*/
|
|
3161
|
-
userCulture: LookupValue;
|
|
3162
|
-
/**
|
|
3163
|
-
* @description user
|
|
3164
|
-
*/
|
|
3165
|
-
user: LookupValue;
|
|
3166
|
-
/**
|
|
3167
|
-
* @description core version
|
|
3168
|
-
*/
|
|
3169
|
-
coreVersion: string;
|
|
3170
|
-
/**
|
|
3171
|
-
* @description Freedom UI new schema version
|
|
3172
|
-
*/
|
|
3173
|
-
freedomUiSchemaVersion: number;
|
|
3174
|
-
/**
|
|
3175
|
-
* @description environment type
|
|
3176
|
-
*/
|
|
3177
|
-
environmentType: string;
|
|
3178
|
-
/**
|
|
3179
|
-
* @description customer
|
|
3180
|
-
*/
|
|
3181
|
-
customer: string;
|
|
3182
|
-
}
|
|
3183
|
-
|
|
3184
|
-
/**
|
|
3185
|
-
* @public
|
|
3186
|
-
* @classdesc
|
|
3187
|
-
* @class SysValuesService Service to working with system values using handler chain
|
|
3188
|
-
* @extends {BaseHandlerChainService}
|
|
3189
|
-
*/
|
|
3190
|
-
export declare class SysValuesService extends BaseHandlerChainService {
|
|
3191
|
-
/* Excluded from this release type: requestType */
|
|
3192
|
-
/**
|
|
3193
|
-
* @description Method to load system values
|
|
3194
|
-
* @returns `Promise<SysValues>` {@link SysValues}
|
|
3195
|
-
*/
|
|
3196
|
-
loadSysValues: () => Promise<SysValues>;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
export { TeardownLogic }
|
|
3200
|
-
|
|
3201
|
-
/**
|
|
3202
|
-
* @public
|
|
3203
|
-
* @description Theme definition exposed through handler-chain services and shared runtime APIs.
|
|
3204
|
-
*/
|
|
3205
|
-
export declare interface ThemeDefinition {
|
|
3206
|
-
/**
|
|
3207
|
-
* @description Stable theme identifier.
|
|
3208
|
-
*/
|
|
3209
|
-
id: string;
|
|
3210
|
-
/**
|
|
3211
|
-
* @description Display caption.
|
|
3212
|
-
*/
|
|
3213
|
-
caption: string;
|
|
3214
|
-
/**
|
|
3215
|
-
* @description CSS class applied to the host when the theme is active.
|
|
3216
|
-
*/
|
|
3217
|
-
cssClassName: string;
|
|
3218
|
-
/**
|
|
3219
|
-
* @description Resolved theme stylesheet path or URL when external CSS is available.
|
|
3220
|
-
*/
|
|
3221
|
-
cssFilePath?: string;
|
|
3222
|
-
}
|
|
3223
|
-
|
|
3224
|
-
/**
|
|
3225
|
-
* @public
|
|
3226
|
-
* @classdesc Service to retrieve available themes using handler chain.
|
|
3227
|
-
* @extends {BaseHandlerChainService}
|
|
3228
|
-
*/
|
|
3229
|
-
export declare class ThemeService extends BaseHandlerChainService {
|
|
3230
|
-
/* Excluded from this release type: requestType */
|
|
3231
|
-
/**
|
|
3232
|
-
* @description Method designed to get all available themes.
|
|
3233
|
-
* @returns `Promise<ThemeDefinition[]>`
|
|
3234
|
-
*/
|
|
3235
|
-
getAvailableThemes: () => Promise<ThemeDefinition[]>;
|
|
3236
|
-
/**
|
|
3237
|
-
* @description Method designed to apply theme by id.
|
|
3238
|
-
* @param {string} themeId - theme identifier
|
|
3239
|
-
* @returns `Promise<void>`
|
|
3240
|
-
*/
|
|
3241
|
-
applyTheme: (themeId: string) => Promise<void>;
|
|
3242
|
-
/**
|
|
3243
|
-
* @description Checks whether the current user is allowed to customize branding.
|
|
3244
|
-
* @returns `Promise<boolean>`
|
|
3245
|
-
*/
|
|
3246
|
-
canCustomizeBranding: () => Promise<boolean>;
|
|
3247
|
-
/**
|
|
3248
|
-
* @description Checks whether the current user is allowed to change their own theme.
|
|
3249
|
-
* @returns `Promise<boolean>`
|
|
3250
|
-
*/
|
|
3251
|
-
canChangeOwnTheme: () => Promise<boolean>;
|
|
3252
|
-
}
|
|
3253
|
-
|
|
3254
|
-
/* Excluded from this release type: toAggregationEval */
|
|
3255
|
-
|
|
3256
|
-
/* Excluded from this release type: toAggregationEvalType */
|
|
3257
|
-
|
|
3258
|
-
/* Excluded from this release type: toAggregationFunction */
|
|
3259
|
-
|
|
3260
|
-
/* Excluded from this release type: toAggregationType */
|
|
3261
|
-
|
|
3262
|
-
/* Excluded from this release type: toDatePart */
|
|
3263
|
-
|
|
3264
|
-
/* Excluded from this release type: toDatePartType */
|
|
3265
|
-
export { toLocalISOString }
|
|
3266
|
-
|
|
3267
|
-
/* Excluded from this release type: toNumericFunctionType */
|
|
3268
|
-
|
|
3269
|
-
/* Excluded from this release type: ToolbarDefaultSize */
|
|
3270
|
-
|
|
3271
|
-
/* Excluded from this release type: ToolbarExtraProps */
|
|
3272
|
-
|
|
3273
|
-
/* Excluded from this release type: ToolbarViewElementConfig */
|
|
3274
|
-
|
|
3275
|
-
/* Excluded from this release type: ToolbarViewElementConfigType */
|
|
3276
|
-
|
|
3277
|
-
/* Excluded from this release type: toOrderDirection */
|
|
3278
|
-
|
|
3279
|
-
/* Excluded from this release type: toPascalCase */
|
|
3280
|
-
|
|
3281
|
-
/* Excluded from this release type: toSortDirection */
|
|
3282
|
-
|
|
3283
|
-
/* Excluded from this release type: toStringFunctionType */
|
|
3284
|
-
|
|
3285
|
-
/**
|
|
3286
|
-
* @public
|
|
3287
|
-
* @class TransactionFactoryService
|
|
3288
|
-
* @classdesc Service to working with transaction factory using a handler chain
|
|
3289
|
-
* @extends {BaseHandlerChainService}
|
|
3290
|
-
*/
|
|
3291
|
-
export declare class TransactionFactoryService extends BaseHandlerChainService implements ITransactionFactory {
|
|
3292
|
-
/* Excluded from this release type: _instance */
|
|
3293
|
-
/* Excluded from this release type: requestType */
|
|
3294
|
-
/**
|
|
3295
|
-
* @description Method create a transaction.
|
|
3296
|
-
* @returns `ITransaction` {@link ITransaction}
|
|
3297
|
-
* @public
|
|
3298
|
-
*/
|
|
3299
|
-
create: () => Promise<ITransaction>;
|
|
3300
|
-
/* Excluded from this release type: __constructor */
|
|
3301
|
-
/* Excluded from this release type: instance */
|
|
3302
|
-
static create(): Promise<ITransaction>;
|
|
3303
|
-
}
|
|
3304
|
-
|
|
3305
|
-
export { Type }
|
|
3306
|
-
|
|
3307
|
-
/* Excluded from this release type: UnsubscribeFn */
|
|
3308
|
-
|
|
3309
|
-
/* Excluded from this release type: UnsubscribeListener */
|
|
3310
|
-
export { UpdateQuery }
|
|
3311
|
-
|
|
3312
|
-
/**
|
|
3313
|
-
* @public
|
|
3314
|
-
* @description Represents a user consent history record.
|
|
3315
|
-
* @property {Guid} id - Unique identifier of the user consent record.
|
|
3316
|
-
* @property {string} consentCode - Consent code associated with the user consent.
|
|
3317
|
-
* @property {Date} dateOfConsent - Date when the user provided consent.
|
|
3318
|
-
* @property {Date | null} expirationDate - Date when the user consent expires; `null` for perpetual consent.
|
|
3319
|
-
*/
|
|
3320
|
-
export declare interface UserConsent {
|
|
3321
|
-
/**
|
|
3322
|
-
* @description Unique identifier of the user consent record.
|
|
3323
|
-
*/
|
|
3324
|
-
id: Guid;
|
|
3325
|
-
/**
|
|
3326
|
-
* @description Consent code associated with the user consent.
|
|
3327
|
-
*/
|
|
3328
|
-
consentCode: string;
|
|
3329
|
-
/**
|
|
3330
|
-
* @description Date when the user provided consent.
|
|
3331
|
-
*/
|
|
3332
|
-
dateOfConsent: Date;
|
|
3333
|
-
/**
|
|
3334
|
-
* @description Date when the user consent expires. `null` when the consent does not expire.
|
|
3335
|
-
*/
|
|
3336
|
-
expirationDate: Date | null;
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
/**
|
|
3340
|
-
* @public
|
|
3341
|
-
* @class UserConsentService
|
|
3342
|
-
* @classdesc Service to work with consents of the current user.
|
|
3343
|
-
*/
|
|
3344
|
-
export declare class UserConsentService {
|
|
3345
|
-
private static _instance;
|
|
3346
|
-
private readonly _consentSchemaName;
|
|
3347
|
-
private readonly _userConsentHistorySchemaName;
|
|
3348
|
-
private readonly _sysValuesService;
|
|
3349
|
-
private _currentUserContactId?;
|
|
3350
|
-
/**
|
|
3351
|
-
* @description Gets shared service instance.
|
|
3352
|
-
* @returns Shared `UserConsentService` instance.
|
|
3353
|
-
*/
|
|
3354
|
-
static get instance(): UserConsentService;
|
|
3355
|
-
/**
|
|
3356
|
-
* Retrieves the current user's contact ID.
|
|
3357
|
-
* @returns Current user contact id. Cached after first retrieval.
|
|
3358
|
-
*/
|
|
3359
|
-
private _getCurrentUserContactId;
|
|
3360
|
-
/**
|
|
3361
|
-
* Maps a JSON record to a UserConsent object.
|
|
3362
|
-
* @param record - JSON record to map.
|
|
3363
|
-
* @param code - Consent code associated with the user consent.
|
|
3364
|
-
* @returns User consent object.
|
|
3365
|
-
*/
|
|
3366
|
-
private _mapToUserConsent;
|
|
3367
|
-
/**
|
|
3368
|
-
* Creates filter parameters for model loading based on the provided filters.
|
|
3369
|
-
* @param filters - Filter values by column name.
|
|
3370
|
-
* @returns Model filter parameters.
|
|
3371
|
-
*/
|
|
3372
|
-
private _createFilterParameters;
|
|
3373
|
-
/**
|
|
3374
|
-
* Selects a consent record from the provided JSON records.
|
|
3375
|
-
* @param records - Records to select from.
|
|
3376
|
-
* @param code - Consent code associated with the consent.
|
|
3377
|
-
* @returns Consent object or `null` if not found.
|
|
3378
|
-
*/
|
|
3379
|
-
private _selectConsent;
|
|
3380
|
-
/**
|
|
3381
|
-
* Selects a user consent record from the provided JSON records.
|
|
3382
|
-
* @param records - Records to select from.
|
|
3383
|
-
* @param code - Consent code associated with the user consent.
|
|
3384
|
-
* @returns User consent object or `null` if no valid user consent is found.
|
|
3385
|
-
*/
|
|
3386
|
-
private _selectUserConsent;
|
|
3387
|
-
/**
|
|
3388
|
-
* Loads the consent model.
|
|
3389
|
-
* @returns Loaded consent model.
|
|
3390
|
-
*/
|
|
3391
|
-
private _loadConsentModel;
|
|
3392
|
-
/**
|
|
3393
|
-
* Loads the user consent history model.
|
|
3394
|
-
* @returns Loaded user consent history model.
|
|
3395
|
-
*/
|
|
3396
|
-
private _loadUserConsentModel;
|
|
3397
|
-
/**
|
|
3398
|
-
* Creates a new user consent record in the user consent history model.
|
|
3399
|
-
* @param consentId - Identifier of the consent record.
|
|
3400
|
-
* @param expirationDate - Optional expiration date of the user consent.
|
|
3401
|
-
*/
|
|
3402
|
-
private _insertUserConsent;
|
|
3403
|
-
/**
|
|
3404
|
-
* @description Gets consent by code.
|
|
3405
|
-
* @param code - Consent code.
|
|
3406
|
-
* @returns Consent record or `null` if not found.
|
|
3407
|
-
*/
|
|
3408
|
-
getConsent(code: string): Promise<Consent | null>;
|
|
3409
|
-
/**
|
|
3410
|
-
* @description Gets current user consent by code.
|
|
3411
|
-
* @param code - Consent code.
|
|
3412
|
-
* @returns User consent record or `null` if no active or perpetual consent exists.
|
|
3413
|
-
*/
|
|
3414
|
-
getCurrentUserConsent(code: string): Promise<UserConsent | null>;
|
|
3415
|
-
/**
|
|
3416
|
-
* @description Gives current user consent by code.
|
|
3417
|
-
* @param code - Consent code.
|
|
3418
|
-
* @param expirationDate - Optional expiration date for the user consent.
|
|
3419
|
-
*/
|
|
3420
|
-
giveCurrentUserConsent(code: string, expirationDate?: Date): Promise<void>;
|
|
3421
|
-
}
|
|
3422
|
-
|
|
3423
|
-
export { ValidationUtilities }
|
|
3424
|
-
|
|
3425
|
-
/**
|
|
3426
|
-
* @public
|
|
3427
|
-
* @description Config used to register validator in Creatio platform.
|
|
3428
|
-
* @property {string} type - type of validator
|
|
3429
|
-
*/
|
|
3430
|
-
export declare interface ValidatorConfig {
|
|
3431
|
-
/**
|
|
3432
|
-
* @description Config used to register validator in Creatio platform.
|
|
3433
|
-
*/
|
|
3434
|
-
type: string;
|
|
3435
|
-
/* Excluded from this release type: params */
|
|
3436
|
-
/* Excluded from this release type: scope */
|
|
3437
|
-
}
|
|
3438
|
-
|
|
3439
|
-
/* Excluded from this release type: ValidatorMapValue */
|
|
3440
|
-
|
|
3441
|
-
/* Excluded from this release type: ValidatorMetadata */
|
|
3442
|
-
|
|
3443
|
-
/* Excluded from this release type: ValidatorParameters */
|
|
3444
|
-
|
|
3445
|
-
/**
|
|
3446
|
-
* @public
|
|
3447
|
-
* @description Shape for specifying parameters passed to validator
|
|
3448
|
-
* @property {string} message - message should be displayed for error;
|
|
3449
|
-
*/
|
|
3450
|
-
export declare interface ValidatorParametersValues {
|
|
3451
|
-
[name: string]: unknown;
|
|
3452
|
-
message?: string;
|
|
3453
|
-
}
|
|
3454
|
-
|
|
3455
|
-
/* Excluded from this release type: ValidatorRegistry */
|
|
3456
|
-
|
|
3457
|
-
/* Excluded from this release type: ValidatorRegistryItem */
|
|
3458
|
-
|
|
3459
|
-
/* Excluded from this release type: validatorRegistryKey */
|
|
3460
|
-
|
|
3461
|
-
/* Excluded from this release type: ValidatorSchemaConfig */
|
|
3462
|
-
|
|
3463
|
-
/**
|
|
3464
|
-
* @public
|
|
3465
|
-
* @description - base response with returned value
|
|
3466
|
-
* @extends {BaseResponse} {@link BaseResponse}
|
|
3467
|
-
* @property {T} value - returned value
|
|
3468
|
-
* @template T
|
|
3469
|
-
*/
|
|
3470
|
-
export declare interface ValueResponse<T> extends BaseResponse {
|
|
3471
|
-
value: T;
|
|
3472
|
-
}
|
|
3473
|
-
|
|
3474
|
-
/* Excluded from this release type: VIEW_ELEMENT_DEFAULT_HEIGHT */
|
|
3475
|
-
|
|
3476
|
-
/* Excluded from this release type: ViewElementDataGroupType */
|
|
3477
|
-
|
|
3478
|
-
/* Excluded from this release type: ViewElementGroupType */
|
|
3479
|
-
|
|
3480
|
-
/* Excluded from this release type: ViewElementMetadata */
|
|
3481
|
-
|
|
3482
|
-
/* Excluded from this release type: ViewElementProperty */
|
|
3483
|
-
|
|
3484
|
-
/* Excluded from this release type: viewElementRegister */
|
|
3485
|
-
|
|
3486
|
-
/**
|
|
3487
|
-
* @public
|
|
3488
|
-
* @description Config to specify view element options.
|
|
3489
|
-
* @extends {BaseViewElementRegistrationConfig} {@link BaseViewElementRegistrationConfig}
|
|
3490
|
-
* @property {string} selector - view element tag selector; View element appears in DOM with this selector.
|
|
3491
|
-
*
|
|
3492
|
-
* @example
|
|
3493
|
-
* ```
|
|
3494
|
-
* @CrtViewElement({
|
|
3495
|
-
* type: 'usr.Example',
|
|
3496
|
-
* selector: 'usr-example',
|
|
3497
|
-
* })
|
|
3498
|
-
* ```
|
|
3499
|
-
*/
|
|
3500
|
-
export declare type ViewElementRegistrationConfig = BaseViewElementRegistrationConfig & {
|
|
3501
|
-
/**
|
|
3502
|
-
* @description view element tag selector; View element appears in DOM with this selector.
|
|
3503
|
-
*/
|
|
3504
|
-
selector: string;
|
|
3505
|
-
};
|
|
3506
|
-
|
|
3507
|
-
/* Excluded from this release type: ViewElementRegistry */
|
|
3508
|
-
|
|
3509
|
-
/* Excluded from this release type: ViewElementRegistryItem */
|
|
3510
|
-
|
|
3511
|
-
/* Excluded from this release type: viewElementRegistryKey */
|
|
3512
|
-
|
|
3513
|
-
/**
|
|
3514
|
-
* @public
|
|
3515
|
-
* @description Render strategy for view element.
|
|
3516
|
-
*/
|
|
3517
|
-
export declare enum ViewElementRenderStrategy {
|
|
3518
|
-
/**
|
|
3519
|
-
* @description Default render strategy.
|
|
3520
|
-
* The element is rendered immediately.
|
|
3521
|
-
*/
|
|
3522
|
-
Default = "default",
|
|
3523
|
-
/**
|
|
3524
|
-
* @description On viewport render strategy.
|
|
3525
|
-
* The element is rendered only when it becomes visible in the viewport.
|
|
3526
|
-
*/
|
|
3527
|
-
OnViewport = "on-viewport"
|
|
3528
|
-
}
|
|
3529
|
-
|
|
3530
|
-
/* Excluded from this release type: ViewElementReuseStrategy */
|
|
3531
|
-
|
|
3532
|
-
/**
|
|
3533
|
-
* @public
|
|
3534
|
-
* @description Config to specify view element slot.
|
|
3535
|
-
*/
|
|
3536
|
-
export declare interface ViewElementSlotDefinition {
|
|
3537
|
-
/**
|
|
3538
|
-
* @description Slot name.
|
|
3539
|
-
*/
|
|
3540
|
-
name: string;
|
|
3541
|
-
/* Excluded from this release type: lazy */
|
|
3542
|
-
/* Excluded from this release type: input */
|
|
3543
|
-
}
|
|
3544
|
-
|
|
3545
|
-
/**
|
|
3546
|
-
* TODO: RND-55882
|
|
3547
|
-
*/
|
|
3548
|
-
export declare interface ViewModelAttributeChangeEventOptionsType {
|
|
3549
|
-
preventAttributeChangeRequest?: boolean;
|
|
3550
|
-
preventStateChange?: boolean;
|
|
3551
|
-
preventRunBusinessRules?: boolean;
|
|
3552
|
-
/* Excluded from this release type: isMaskedValue */
|
|
3553
|
-
}
|
|
3554
|
-
|
|
3555
|
-
/**
|
|
3556
|
-
* @public
|
|
3557
|
-
* @description Interface for a view model collection that extends the base collection with
|
|
3558
|
-
* on collection change callbacks registration capabilities.
|
|
3559
|
-
*
|
|
3560
|
-
* @template T - The type of view model context that extends ViewModel
|
|
3561
|
-
*/
|
|
3562
|
-
export declare interface ViewModelCollection<T extends ViewModelContext> extends ɵViewModelCollection<T> {
|
|
3563
|
-
/**
|
|
3564
|
-
* @description Registers a handler to be called whenever the collection emits a change event.
|
|
3565
|
-
* @param callback Executes when the collection changes and receives change metadata.
|
|
3566
|
-
* @param action Optional action filter; omit to receive all collection change notifications.
|
|
3567
|
-
*/
|
|
3568
|
-
registerOnCollectionChangeCallback: (callback: (changes: ViewModelCollectionChange<T>) => void, action?: ViewModelCollectionActionType) => void;
|
|
3569
|
-
/**
|
|
3570
|
-
* @description Removes a previously registered collection change handler.
|
|
3571
|
-
* @param callback Previously registered callback to detach.
|
|
3572
|
-
* @param action Optional action filter, if provided, only detaches the callback for that action type.
|
|
3573
|
-
*/
|
|
3574
|
-
unregisterOnCollectionChangeCallback: (callback: (changes: ViewModelCollectionChange<T>) => void, action?: ViewModelCollectionActionType) => void;
|
|
3575
|
-
/**
|
|
3576
|
-
* @description Registers a handler that fires when attributes of any collection item change.
|
|
3577
|
-
* @param callback Executes with the item whose attributes were updated.
|
|
3578
|
-
*/
|
|
3579
|
-
registerOnItemAttributesChangesCallback: (callback: (item: T) => void) => void;
|
|
3580
|
-
/**
|
|
3581
|
-
* @description Removes a previously registered item attribute change handler.
|
|
3582
|
-
* @param callback Callback reference to detach from attribute change notifications.
|
|
3583
|
-
*/
|
|
3584
|
-
unregisterOnItemAttributesChangesCallback: (callback: (item: T) => void) => void;
|
|
3585
|
-
}
|
|
3586
|
-
|
|
3587
|
-
/**
|
|
3588
|
-
* @public
|
|
3589
|
-
* @description List of actions which can be performed on collection with a public API.
|
|
3590
|
-
*/
|
|
3591
|
-
export declare enum ViewModelCollectionActionType {
|
|
3592
|
-
/**
|
|
3593
|
-
* @description Create a collection element.
|
|
3594
|
-
*/
|
|
3595
|
-
Add = "add",
|
|
3596
|
-
/**
|
|
3597
|
-
* @description Remove an element from collection.
|
|
3598
|
-
*/
|
|
3599
|
-
Remove = "remove",
|
|
3600
|
-
/**
|
|
3601
|
-
* @description Update an element in collection.
|
|
3602
|
-
*/
|
|
3603
|
-
Move = "move",
|
|
3604
|
-
/**
|
|
3605
|
-
* @description Reload collection with new elements.
|
|
3606
|
-
*/
|
|
3607
|
-
Reload = "reload"
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
|
-
/**
|
|
3611
|
-
* @public
|
|
3612
|
-
* @description Interface describes the model of collection change event.
|
|
3613
|
-
*/
|
|
3614
|
-
export declare interface ViewModelCollectionChange<T extends ViewModelContext> {
|
|
3615
|
-
/**
|
|
3616
|
-
* @description The array of current collection elements.
|
|
3617
|
-
*/
|
|
3618
|
-
collection: T[];
|
|
3619
|
-
/**
|
|
3620
|
-
* @description The array of elements affected by the change.
|
|
3621
|
-
*/
|
|
3622
|
-
affectedElements: T[];
|
|
3623
|
-
/**
|
|
3624
|
-
* @description The type of action that triggered the change.
|
|
3625
|
-
*/
|
|
3626
|
-
action: ViewModelCollectionActionType;
|
|
3627
|
-
/**
|
|
3628
|
-
* @description The index at which the change occurred, if applicable.
|
|
3629
|
-
*/
|
|
3630
|
-
index?: number;
|
|
3631
|
-
}
|
|
3632
|
-
|
|
3633
|
-
export { ViewModelContext }
|
|
3634
|
-
|
|
3635
|
-
export { WindowFunctionColumn }
|
|
3636
|
-
|
|
3637
|
-
export { WindowFunctionExpression }
|
|
3638
|
-
|
|
3639
|
-
export { WindowFunctionExpressionConfig }
|
|
3640
|
-
|
|
3641
|
-
/**
|
|
3642
|
-
* @public
|
|
3643
|
-
* @description For internal use only.
|
|
3644
|
-
* @hostPublicApi
|
|
3645
|
-
*/
|
|
3646
|
-
export declare class ɵBaseRegistry {
|
|
3647
|
-
private static readonly _prefix;
|
|
3648
|
-
private static _instance;
|
|
3649
|
-
protected static readonly registryKey: string;
|
|
3650
|
-
protected static get store(): ɵRegistryItemsStore;
|
|
3651
|
-
/**
|
|
3652
|
-
* @hostPubicApi available through window.creatio.registry.<registryKey>.store
|
|
3653
|
-
*/
|
|
3654
|
-
protected store: ɵRegistryItemsStore;
|
|
3655
|
-
}
|
|
3656
|
-
|
|
3657
|
-
/**
|
|
3658
|
-
* @public
|
|
3659
|
-
* @description For internal use only.
|
|
3660
|
-
*/
|
|
3661
|
-
export declare function ɵcheckTypeNameFormat(type: string, element: string): void;
|
|
3662
|
-
|
|
3663
|
-
/* Excluded from this release type: ɵCrtInterfaceDesignerItem */
|
|
3664
|
-
|
|
3665
|
-
/* Excluded from this release type: ɵCrtMobileInterfaceDesignerItem */
|
|
3666
|
-
|
|
3667
|
-
/* Excluded from this release type: ɵFeatureActivationRef */
|
|
3668
|
-
|
|
3669
|
-
/**
|
|
3670
|
-
* @public
|
|
3671
|
-
* @description For internal use only.
|
|
3672
|
-
*/
|
|
3673
|
-
export declare function ɵinstantiate<T = unknown>(type: Type<T>, resolveDependency: ResolveDependencyFn | undefined): T;
|
|
3674
|
-
|
|
3675
|
-
/* Excluded from this release type: ɵLazyLoadRef */
|
|
3676
|
-
|
|
3677
|
-
/* Excluded from this release type: ɵLazyModuleRef */
|
|
3678
|
-
|
|
3679
|
-
/* Excluded from this release type: ɵloadLazyRef */
|
|
3680
|
-
|
|
3681
|
-
/* Excluded from this release type: ɵloadLazyRefs */
|
|
3682
|
-
|
|
3683
|
-
/**
|
|
3684
|
-
* @public
|
|
3685
|
-
* @description For internal use only.
|
|
3686
|
-
* @hostPublicApi
|
|
3687
|
-
*/
|
|
3688
|
-
declare interface ɵRegistryItemsStore {
|
|
3689
|
-
typeInfos: Map<string, any>;
|
|
3690
|
-
}
|
|
3691
|
-
|
|
3692
|
-
export { }
|