@creatio/base 0.811.1 → 0.813.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/esm2020/lib/public/enums/index.mjs +2 -1
  3. package/esm2020/lib/public/enums/model-in-page-action.enum.mjs +20 -0
  4. package/esm2020/lib/public/esq/data-model/columns/base-query-column.mjs +7 -1
  5. package/esm2020/lib/public/esq/data-model/expressions/arithmetic/arithmetic-expression.mjs +7 -1
  6. package/esm2020/lib/public/esq/data-model/expressions/base-expression.mjs +1 -1
  7. package/esm2020/lib/public/esq/data-model/expressions/columns/column-expression.mjs +11 -1
  8. package/esm2020/lib/public/esq/data-model/expressions/functions/argument-function-expression.mjs +7 -1
  9. package/esm2020/lib/public/esq/data-model/expressions/functions/macros-function-expression.mjs +13 -4
  10. package/esm2020/lib/public/esq/data-model/expressions/mocks/expression.mock.mjs +7 -1
  11. package/esm2020/lib/public/esq/data-model/expressions/parameters/parameter-expression.mjs +7 -1
  12. package/esm2020/lib/public/esq/data-model/expressions/sub-queries/sub-query-expression.mjs +31 -8
  13. package/esm2020/lib/public/esq/data-model/filters/base-filter.mjs +1 -1
  14. package/esm2020/lib/public/esq/data-model/filters/between-filter.mjs +15 -2
  15. package/esm2020/lib/public/esq/data-model/filters/compare-filter.mjs +11 -2
  16. package/esm2020/lib/public/esq/data-model/filters/exists-filter.mjs +11 -2
  17. package/esm2020/lib/public/esq/data-model/filters/filter-group.mjs +57 -7
  18. package/esm2020/lib/public/esq/data-model/filters/filter-parser/filter-parser.mjs +7 -2
  19. package/esm2020/lib/public/esq/data-model/filters/in-filter.mjs +14 -2
  20. package/esm2020/lib/public/esq/data-model/filters/isnull-filter.mjs +5 -2
  21. package/esm2020/lib/public/esq/data-model/filters/mocks/filter.mock.mjs +7 -1
  22. package/esm2020/lib/public/esq/data-model/filters/single-filter.mjs +7 -1
  23. package/esm2020/lib/public/esq/data-model/index.mjs +2 -1
  24. package/esm2020/lib/public/esq/data-model/queries/base-filterable-query.mjs +19 -1
  25. package/esm2020/lib/public/esq/data-model/queries/entity-schema-query.mjs +18 -3
  26. package/esm2020/lib/public/esq/data-model/used-column.mjs +2 -0
  27. package/esm2020/lib/public/models/index.mjs +4 -1
  28. package/esm2020/lib/public/models/item-creation-config.mjs +2 -0
  29. package/esm2020/lib/public/models/model-init-config.mjs +2 -0
  30. package/esm2020/lib/public/models/request/index.mjs +2 -1
  31. package/esm2020/lib/public/models/request/request-registration-config.model.mjs +2 -0
  32. package/esm2020/lib/public/models/view-model-collection.mjs +2 -0
  33. package/esm2020/lib/public/services/dialog/dialog.service.mjs +2 -0
  34. package/esm2020/lib/public/services/dialog/index.mjs +3 -0
  35. package/esm2020/lib/public/services/dialog/models/base-dialog-button-config.mjs +2 -0
  36. package/esm2020/lib/public/services/dialog/models/dialog-action.mjs +2 -0
  37. package/esm2020/lib/public/services/dialog/models/dialog-config.mjs +2 -0
  38. package/esm2020/lib/public/services/dialog/models/index.mjs +4 -0
  39. package/esm2020/lib/public/services/index.mjs +3 -1
  40. package/esm2020/lib/public/services/mask-service/base-mask.service.mjs +2 -0
  41. package/esm2020/lib/public/services/mask-service/index.mjs +3 -0
  42. package/esm2020/lib/public/services/mask-service/schema-view-mask.request.mjs +24 -0
  43. package/esm2020/lib/public/services/model/data-source-aggregation-config.mjs +1 -1
  44. package/esm2020/lib/public/types/button-color.type.mjs +2 -0
  45. package/esm2020/lib/public/types/index.mjs +2 -1
  46. package/fesm2015/creatio-base.mjs +479 -216
  47. package/fesm2015/creatio-base.mjs.map +1 -1
  48. package/fesm2020/creatio-base.mjs +489 -233
  49. package/fesm2020/creatio-base.mjs.map +1 -1
  50. package/index.d.ts +283 -2
  51. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -4,6 +4,8 @@ declare interface BaseDataSourceFunctionConfig {
4
4
 
5
5
  /* Excluded from this release type: LookupMode */
6
6
 
7
+ /* Excluded from this release type: UsedColumn */
8
+
7
9
  /**
8
10
  * @public
9
11
  * @description Represents abstract class.
@@ -107,6 +109,7 @@ export declare abstract class ɵArgumentFunctionExpression extends ɵFunctionExp
107
109
  protected constructor(config: ɵArgumentFunctionExpressionConfig<ɵArgumentFunctionExpression>);
108
110
  abstract clone(): ɵArgumentFunctionExpression;
109
111
  toJson(): ɵJsonObject;
112
+ /* Excluded from this release type: _getUsedColumns */
110
113
  }
111
114
 
112
115
  export declare type ɵArgumentFunctionExpressionConfig<TExpression extends ɵArgumentFunctionExpression> = ɵFunctionExpressionConfig<TExpression> & Pick<ɵArgumentFunctionExpression, 'functionArgument'>;
@@ -129,6 +132,7 @@ export declare class ɵArithmeticExpression extends ɵBaseExpression {
129
132
  */
130
133
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser?: TExpressionParser): ɵArithmeticExpression;
131
134
  clone(): ɵArithmeticExpression;
135
+ /* Excluded from this release type: _getUsedColumns */
132
136
  }
133
137
 
134
138
  export declare type ɵArithmeticExpressionConfig = ɵExpressionConfig<ɵArithmeticExpression> & Pick<ɵArithmeticExpression, 'arithmeticOperation' | 'leftArithmeticOperand' | 'rightArithmeticOperand'>;
@@ -164,6 +168,57 @@ export declare interface ɵBaseDataSourceParameter {
164
168
  relationsConfigs?: ɵDataSourceParameterRelationConfig[];
165
169
  }
166
170
 
171
+ /**
172
+ * @public
173
+ * @description Config for button in dialog.
174
+ * @property {string} caption - Text witch will be displayed in button
175
+ * @property {ɵButtonColor} color - Color of button
176
+ */
177
+ export declare interface ɵBaseDialogButtonConfig {
178
+ /**
179
+ * @description Text witch will be displayed in button
180
+ */
181
+ caption: string;
182
+ /**
183
+ * @description Color of button
184
+ */
185
+ color: ɵButtonColor;
186
+ }
187
+
188
+ /**
189
+ * @public
190
+ * @description Dialog configuration object
191
+ * @property {string} title - Header of dialog
192
+ * @property {string} message - Message witch will be displayed in dialog
193
+ * @property {ɵDialogAction[]} actions - List of actions in dialog
194
+ */
195
+ export declare interface ɵBaseDialogConfig<TActionConfig extends ɵBaseDialogButtonConfig = ɵBaseDialogButtonConfig> {
196
+ /**
197
+ * @description Header text in dialog
198
+ */
199
+ title?: string;
200
+ /**
201
+ * @description Message witch will be displayed in dialog
202
+ */
203
+ message: string;
204
+ /**
205
+ * @description List of actions in dialog
206
+ */
207
+ actions: Array<ɵDialogAction<TActionConfig>>;
208
+ }
209
+
210
+ /**
211
+ * @public
212
+ * @description Service to working with dialog windows.
213
+ */
214
+ export declare interface ɵBaseDialogService<TConfig extends ɵBaseDialogConfig = ɵBaseDialogConfig> {
215
+ /**
216
+ * Opens dialog.
217
+ * @param {ɵBaseDialogConfig} config Dialog configuration object
218
+ */
219
+ open(config: TConfig): Promise<string>;
220
+ }
221
+
167
222
  export declare abstract class ɵBaseExpression implements ɵSerializable {
168
223
  /* Excluded from this release type: _instanceOfKey */
169
224
  /* Excluded from this release type: _instanceOfKeys */
@@ -183,6 +238,7 @@ export declare abstract class ɵBaseExpression implements ɵSerializable {
183
238
  * @public
184
239
  */
185
240
  toJson(): ɵJsonObject;
241
+ /* Excluded from this release type: _getUsedColumns */
186
242
  }
187
243
 
188
244
  /**
@@ -213,6 +269,7 @@ export declare abstract class ɵBaseFilter implements ɵSerializable {
213
269
  * @public
214
270
  */
215
271
  toJson(): ɵJsonObject;
272
+ /* Excluded from this release type: _getUsedColumns */
216
273
  }
217
274
 
218
275
  /**
@@ -223,6 +280,7 @@ export declare abstract class ɵBaseFilterableQuery extends ɵBaseQuery {
223
280
  protected constructor(operationType: ɵQueryOperationType, rootSchemaName: string);
224
281
  clearFilters(): void;
225
282
  getMetadata(): Record<string, unknown>;
283
+ /* Excluded from this release type: _getUsedColumns */
226
284
  }
227
285
 
228
286
  /**
@@ -233,6 +291,35 @@ export declare class ɵBaseFilterParser {
233
291
  static fromJson(dto: ɵJsonObject): unknown;
234
292
  }
235
293
 
294
+ /**
295
+ * @public
296
+ * @description Provides implementation of service to work with mask.
297
+ */
298
+ export declare interface ɵBaseMaskService {
299
+ /**
300
+ * @description Shows mask.
301
+ * @param taskName Name of task.
302
+ * @param context View model context.
303
+ */
304
+ showMask(taskName: string, context: ɵViewModelContext): Promise<void>;
305
+ /**
306
+ * @description Hides mask.
307
+ * @param taskName Name of task.
308
+ * @param context View model context.
309
+ */
310
+ hideMask(taskName: string, context: ɵViewModelContext): Promise<void>;
311
+ /**
312
+ * @description Shows mask for the whole available space on the screen.
313
+ * @param taskName Name of task.
314
+ */
315
+ showFullScreenMask(taskName: string): Promise<void>;
316
+ /**
317
+ * @description Hides full screen mask.
318
+ * @param taskName Name of task.
319
+ */
320
+ hideFullScreenMask(taskName: string): Promise<void>;
321
+ }
322
+
236
323
  export declare interface ɵBaseModel<TLoadOptions extends ɵDataSourceLoadOptions> {
237
324
  getSchema(): Promise<ɵDataSchema>;
238
325
  load(config?: {
@@ -287,6 +374,7 @@ export declare abstract class ɵBaseQueryColumn<TExpression extends ɵBaseExpres
287
374
  * @returns Self.
288
375
  */
289
376
  withCaption(caption: string): this;
377
+ /* Excluded from this release type: _getUsedColumns */
290
378
  }
291
379
 
292
380
  /**
@@ -344,8 +432,15 @@ export declare class ɵBetweenFilter extends ɵSingleFilter {
344
432
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵBetweenFilter;
345
433
  clone(): ɵBetweenFilter;
346
434
  toJson(): ɵJsonObject;
435
+ /* Excluded from this release type: _getUsedColumns */
347
436
  }
348
437
 
438
+ /**
439
+ * @public
440
+ * @description button color theme name
441
+ */
442
+ export declare type ɵButtonColor = 'primary' | 'accent' | 'warn' | 'default';
443
+
349
444
  export declare class ɵColumnExpression extends ɵBaseExpression {
350
445
  /* Excluded from this release type: _instanceOfKey */
351
446
  /* Excluded from this release type: _instanceOfKeys */
@@ -358,6 +453,7 @@ export declare class ɵColumnExpression extends ɵBaseExpression {
358
453
  */
359
454
  static fromJson(dto: ɵJsonObject): ɵColumnExpression;
360
455
  clone(): ɵColumnExpression;
456
+ /* Excluded from this release type: _getUsedColumns */
361
457
  }
362
458
 
363
459
  export declare type ɵColumnExpressionConfig = ɵExpressionConfig<ɵColumnExpression> & Pick<ɵColumnExpression, 'columnPath'>;
@@ -374,6 +470,7 @@ export declare class ɵCompareFilter extends ɵSingleFilter {
374
470
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵCompareFilter;
375
471
  clone(): ɵCompareFilter;
376
472
  toJson(): ɵJsonObject;
473
+ /* Excluded from this release type: _getUsedColumns */
377
474
  }
378
475
 
379
476
  export declare enum ɵComparisonType {
@@ -863,6 +960,23 @@ export declare class ɵDeleteQuery extends ɵBaseFilterableQuery {
863
960
  constructor(rootSchemaName: string);
864
961
  }
865
962
 
963
+ /**
964
+ * @public
965
+ * @description Config for action in dialog.
966
+ * @property {string} key - Result witch will be returned after choose action
967
+ * @property {ɵBaseDialogButtonConfig} config - Config for button in dialog
968
+ */
969
+ export declare interface ɵDialogAction<T extends ɵBaseDialogButtonConfig = ɵBaseDialogButtonConfig> {
970
+ /**
971
+ * @description Result witch will be returned after choose action
972
+ */
973
+ key: string;
974
+ /**
975
+ * @description Config for button in dialog
976
+ */
977
+ config: T;
978
+ }
979
+
866
980
  /**
867
981
  * Empty Guid constant.
868
982
  * @public
@@ -1001,6 +1115,7 @@ export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
1001
1115
  * @returns [WindowFunctionColumn] Column instance.
1002
1116
  */
1003
1117
  addWindowFunctionColumn(columnPath: string, aggregationType: ɵAggregationType, columnAlias: string, aggregationEvalType?: ɵAggregationEvalType): ɵWindowFunctionColumn;
1118
+ /* Excluded from this release type: _getUsedColumns */
1004
1119
  }
1005
1120
 
1006
1121
  export declare class ɵExistsFilter extends ɵSingleFilter {
@@ -1016,6 +1131,7 @@ export declare class ɵExistsFilter extends ɵSingleFilter {
1016
1131
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵExistsFilter;
1017
1132
  clone(): ɵExistsFilter;
1018
1133
  toJson(): ɵJsonObject;
1134
+ /* Excluded from this release type: _getUsedColumns */
1019
1135
  }
1020
1136
 
1021
1137
  export declare const ɵEXPRESSION_TYPE_MOCK: ɵExpressionType;
@@ -1029,6 +1145,7 @@ export declare class ɵExpressionMock extends ɵBaseExpression {
1029
1145
  constructor(config?: ɵExpressionConfig<ɵExpressionMock>);
1030
1146
  get plainObject(): object;
1031
1147
  clone(): ɵExpressionMock;
1148
+ /* Excluded from this release type: _getUsedColumns */
1032
1149
  }
1033
1150
 
1034
1151
  /**
@@ -1067,12 +1184,19 @@ export declare class ɵFilterGroup extends ɵBaseFilter {
1067
1184
  [key: string]: ɵBaseFilter;
1068
1185
  };
1069
1186
  logicalOperation: ɵLogicalOperatorType;
1070
- constructor(logicalOperation?: ɵLogicalOperatorType);
1187
+ rootSchemaName?: string;
1188
+ constructor(logicalOperation?: ɵLogicalOperatorType, rootSchemaName?: string);
1071
1189
  /**
1072
1190
  * Parses filter group from json.
1073
1191
  * @public
1074
1192
  */
1075
1193
  static fromJson<T extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: T): ɵFilterGroup;
1194
+ /**
1195
+ * Converts instance to json object.
1196
+ * @public
1197
+ */
1198
+ toJson(): ɵJsonObject;
1199
+ private _createParameterValueExpressions;
1076
1200
  /**
1077
1201
  * Returns filter item by index.
1078
1202
  * @param index Item index.
@@ -1095,6 +1219,12 @@ export declare class ɵFilterGroup extends ɵBaseFilter {
1095
1219
  * @param filterKey Filter key.
1096
1220
  */
1097
1221
  addSchemaColumnInFilterWithParameters(comparisonType: ɵComparisonType, columnPath: string, parameterValues: ɵEntityColumnValue[], filterKey?: string): void;
1222
+ /**
1223
+ * Creates and adds in filter for primary column.
1224
+ * @param primaryColumnValues Primary column values.
1225
+ * @param filterKey Filter key.
1226
+ */
1227
+ addPrimarySchemaColumnInFilter(primaryColumnValues: ɵEntityColumnValue[], filterKey?: string): void;
1098
1228
  addSchemaColumnIsNullFilter(columnPath: string, filterKey?: string): void;
1099
1229
  /**
1100
1230
  * Creates and adds not null filter.
@@ -1114,6 +1244,7 @@ export declare class ɵFilterGroup extends ɵBaseFilter {
1114
1244
  addNotExistsFilter(columnPath: string, subFilters?: ɵFilterGroup, filterKey?: string): void;
1115
1245
  add(filter: ɵBaseFilter, filterKey?: string): void;
1116
1246
  clone(): ɵFilterGroup;
1247
+ /* Excluded from this release type: _getUsedColumns */
1117
1248
  }
1118
1249
 
1119
1250
  export declare class ɵFilterMock extends ɵBaseFilter {
@@ -1122,6 +1253,7 @@ export declare class ɵFilterMock extends ɵBaseFilter {
1122
1253
  constructor(filterType?: ɵFilterType);
1123
1254
  get plainObject(): object;
1124
1255
  clone(): ɵFilterMock;
1256
+ /* Excluded from this release type: _getUsedColumns */
1125
1257
  }
1126
1258
 
1127
1259
  /**
@@ -1213,6 +1345,7 @@ export declare class ɵInFilter extends ɵSingleFilter {
1213
1345
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser: TFilterParser, expressionParser: TExpressionParser): ɵInFilter;
1214
1346
  clone(): ɵInFilter;
1215
1347
  toJson(): ɵJsonObject;
1348
+ /* Excluded from this release type: _getUsedColumns */
1216
1349
  }
1217
1350
 
1218
1351
  /**
@@ -1256,6 +1389,28 @@ export declare class ɵIsNullFilter extends ɵSingleFilter {
1256
1389
  clone(): ɵIsNullFilter;
1257
1390
  }
1258
1391
 
1392
+ /**
1393
+ * @public
1394
+ * @description Config to create item in collection.
1395
+ * @property {number} index - Index of item in collection.
1396
+ * @property {Record<string, unknown>} initialAttributeValues - Initial attribute values.
1397
+ * @property {ɵJsonObject} initialModelValues - Initial values of the model.
1398
+ */
1399
+ export declare interface ɵItemCreationConfig {
1400
+ /**
1401
+ * @description Index of item in collection.
1402
+ */
1403
+ index?: number;
1404
+ /**
1405
+ * @description Initial attribute values.
1406
+ */
1407
+ initialAttributeValues?: Record<string, unknown>;
1408
+ /**
1409
+ * @description Initial values of the model.
1410
+ */
1411
+ initialModelValues?: ɵJsonObject;
1412
+ }
1413
+
1259
1414
  export declare class ɵItemNotFoundException extends Error {
1260
1415
  constructor(key: string);
1261
1416
  }
@@ -1369,13 +1524,15 @@ export declare class ɵMacrosFunctionExpression extends ɵFunctionExpression {
1369
1524
  /* Excluded from this release type: _instanceOfKeys */
1370
1525
  readonly functionType: ɵFunctionType;
1371
1526
  readonly macrosType: ɵQueryMacrosType;
1527
+ readonly functionArgument?: ɵBaseExpression;
1372
1528
  constructor(config: ɵMacrosFunctionExpressionConfig);
1373
1529
  /**
1374
1530
  * Parses expression from json.
1375
1531
  * @public
1376
1532
  */
1377
- static fromJson(dto: ɵJsonObject): ɵMacrosFunctionExpression;
1533
+ static fromJson<TFilterParser extends typeof ɵBaseFilterParser, TExpressionParser extends typeof ɵBaseExpressionParser>(dto: ɵJsonObject, filterParser?: TFilterParser, expressionParser?: TExpressionParser): ɵMacrosFunctionExpression;
1378
1534
  clone(): ɵMacrosFunctionExpression;
1535
+ /* Excluded from this release type: _getUsedColumns */
1379
1536
  }
1380
1537
 
1381
1538
  export declare type ɵMacrosFunctionExpressionConfig = ɵFunctionExpressionConfig<ɵMacrosFunctionExpression> & Pick<ɵMacrosFunctionExpression, 'macrosType'>;
@@ -1387,6 +1544,69 @@ export declare interface ɵMetadataProvider<T> {
1387
1544
  getMetadata(): T;
1388
1545
  }
1389
1546
 
1547
+ /**
1548
+ * @public
1549
+ * @description Default value of the model.
1550
+ * @property {string} attributeName - Name of the attribute of the model.
1551
+ * @property {unknown} value - Value of the attribute of the model.
1552
+ */
1553
+ export declare interface ɵModelDefaultValue {
1554
+ /**
1555
+ * @description Name of the attribute of the model
1556
+ */
1557
+ attributeName: string;
1558
+ /**
1559
+ * @description Value of the attribute of the model
1560
+ */
1561
+ value: unknown;
1562
+ }
1563
+
1564
+ /**
1565
+ * @public
1566
+ * @description Initial config of the model.
1567
+ * @property {string} name - Name of the model.
1568
+ * @property {string} recordId - Primary value of the record.
1569
+ * @property {ɵModelInPageAction} action - Type of the action. {@link ɵModelInPageAction}
1570
+ * @property {Array<ɵModelDefaultValue>} defaultValues - Default values of the model. {@link ɵModelDefaultValue}
1571
+ */
1572
+ export declare interface ɵModelInitConfig {
1573
+ /**
1574
+ * @description Name of the model in modelConfig that should be initialized.
1575
+ */
1576
+ name?: string;
1577
+ /**
1578
+ * @description Primary value of the record.
1579
+ */
1580
+ recordId?: string;
1581
+ /**
1582
+ * @description Type of the action. {@link ɵModelInPageAction}
1583
+ */
1584
+ action: ɵModelInPageAction;
1585
+ /**
1586
+ * @description Default values of the model. {@link ɵModelDefaultValue}
1587
+ */
1588
+ defaultValues?: Array<ɵModelDefaultValue>;
1589
+ }
1590
+
1591
+ /**
1592
+ * @public
1593
+ * @description Type of the action of the model.
1594
+ */
1595
+ export declare enum ɵModelInPageAction {
1596
+ /**
1597
+ * @description Action for editing existed record.
1598
+ */
1599
+ Edit = "edit",
1600
+ /**
1601
+ * @description Action for adding new record.
1602
+ */
1603
+ Add = "add",
1604
+ /**
1605
+ * @description Action for copying the record.
1606
+ */
1607
+ Copy = "copy"
1608
+ }
1609
+
1390
1610
  /**
1391
1611
  * @public
1392
1612
  */
@@ -1431,6 +1651,7 @@ export declare class ɵParameterExpression extends ɵBaseExpression {
1431
1651
  private _convertStringToBlobArray;
1432
1652
  private _getParameterValueMetadata;
1433
1653
  clone(): ɵParameterExpression;
1654
+ /* Excluded from this release type: _getUsedColumns */
1434
1655
  }
1435
1656
 
1436
1657
  export declare type ɵParameterExpressionConfig = ɵExpressionConfig<ɵParameterExpression> & Pick<ɵParameterExpression, 'value'>;
@@ -1558,12 +1779,58 @@ export declare interface ɵRequestHandler<TRequest = ɵBaseRequest, TResult = un
1558
1779
  setNext(next: ɵRequestHandler): void;
1559
1780
  }
1560
1781
 
1782
+ /**
1783
+ * @public
1784
+ * @description Config for register request.
1785
+ * @property {string} type - The type of request.
1786
+ * @property {string[]} scopes - Scopes of request.
1787
+ * @property {string} title - Title of request.
1788
+ * @property {string} propertiesPanelComponentTypeName - Type of properties panel
1789
+ * @property {number} position - Position of the request
1790
+ */
1791
+ export declare interface ɵRequestRegistrationConfig {
1792
+ /**
1793
+ * @description The type of request.
1794
+ * @example
1795
+ * 'crt.RequestType'
1796
+ */
1797
+ readonly type: string;
1798
+ /**
1799
+ * @description Scopes of request
1800
+ */
1801
+ readonly scopes?: string[];
1802
+ /* Excluded from this release type: title */
1803
+ /* Excluded from this release type: propertiesPanelComponentTypeName */
1804
+ /* Excluded from this release type: position */
1805
+ }
1806
+
1561
1807
  /**
1562
1808
  * @public
1563
1809
  * @description Function that takes a injection token, and returns dependency instance.
1564
1810
  */
1565
1811
  export declare type ɵResolveDependencyFn = (token: unknown) => unknown;
1566
1812
 
1813
+ /**
1814
+ * @public
1815
+ * @description Request to show mask.
1816
+ */
1817
+ export declare class ɵSchemaViewMaskRequest extends ɵBaseRequest {
1818
+ readonly action: ɵSchemaViewMaskRequestAction;
1819
+ readonly taskName: string;
1820
+ readonly $context: ɵViewModelContext;
1821
+ readonly type = "crt.SchemaViewMaskRequest";
1822
+ constructor(action: ɵSchemaViewMaskRequestAction, taskName: string, $context: ɵViewModelContext);
1823
+ }
1824
+
1825
+ /**
1826
+ * @public
1827
+ * @description Actions of mask request.
1828
+ */
1829
+ export declare enum ɵSchemaViewMaskRequestAction {
1830
+ AddTask = "addTask",
1831
+ RemoveTask = "removeTask"
1832
+ }
1833
+
1567
1834
  /**
1568
1835
  * @public
1569
1836
  */
@@ -1581,6 +1848,7 @@ export declare abstract class ɵSingleFilter extends ɵBaseFilter {
1581
1848
  readonly leftExpression: ɵBaseExpression;
1582
1849
  protected constructor(filterType: ɵFilterType, comparisonType: ɵComparisonType, leftExpression: ɵBaseExpression);
1583
1850
  toJson(): ɵJsonObject;
1851
+ /* Excluded from this release type: _getUsedColumns */
1584
1852
  }
1585
1853
 
1586
1854
  /**
@@ -1617,6 +1885,7 @@ export declare class ɵSubQueryExpression extends ɵBaseExpression {
1617
1885
  static fromJson<TFilterParser extends typeof ɵBaseFilterParser>(dto: ɵJsonObject, filterParser: TFilterParser): ɵSubQueryExpression;
1618
1886
  clone(): ɵSubQueryExpression;
1619
1887
  toJson(): ɵJsonObject;
1888
+ /* Excluded from this release type: _getUsedColumns */
1620
1889
  }
1621
1890
 
1622
1891
  export declare type ɵSubQueryExpressionConfig = ɵExpressionConfig<ɵSubQueryExpression> & Pick<ɵSubQueryExpression, 'columnPath'>;
@@ -1670,6 +1939,18 @@ export declare class ɵValidationUtilities {
1670
1939
  }): void;
1671
1940
  }
1672
1941
 
1942
+ /**
1943
+ * @public
1944
+ * @description Interface describes the collection of view models.
1945
+ */
1946
+ export declare interface ɵViewModelCollection<T extends ɵViewModelContext> {
1947
+ /**
1948
+ * @description Abstract async method to create item in collection.
1949
+ * @param {ɵItemCreationConfig} config - {@link ɵItemCreationConfig}
1950
+ */
1951
+ createItem(config?: ɵItemCreationConfig): Promise<T>;
1952
+ }
1953
+
1673
1954
  /**
1674
1955
  * @public
1675
1956
  * @description Interface describes view model context.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creatio/base",
3
- "version": "0.811.1",
3
+ "version": "0.813.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "Internal API to create customizations and integrations for Creatio platform.",
6
6
  "keywords": [
@@ -9,7 +9,7 @@
9
9
  "base"
10
10
  ],
11
11
  "peerDependencies": {
12
- "class-transformer": "^0.4.0"
12
+ "class-transformer": "0.5.1"
13
13
  },
14
14
  "dependencies": {
15
15
  "tslib": "^2.3.0"