@creatio-devkit/common 0.823.0 → 0.831.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 (45) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/esm2022/lib/base-exports.mjs +1 -1
  3. package/esm2022/lib/internal/models/index.mjs +2 -1
  4. package/esm2022/lib/internal/models/interface-designer-item/toolbar-view-element-config.mjs +1 -1
  5. package/esm2022/lib/internal/models/transaction/index.mjs +4 -0
  6. package/esm2022/lib/internal/models/transaction/transaction-factory.mjs +2 -0
  7. package/esm2022/lib/internal/models/transaction/transaction-operation.mjs +2 -0
  8. package/esm2022/lib/internal/models/transaction/transaction.mjs +2 -0
  9. package/esm2022/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +4 -4
  10. package/esm2022/lib/internal/services/interface-designer-item-registry/index.mjs +2 -1
  11. package/esm2022/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +35 -10
  12. package/esm2022/lib/internal/services/interface-designer-item-registry/mobile-interface-designer-item-registry.mjs +12 -0
  13. package/esm2022/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +1 -1
  14. package/esm2022/lib/internal/services/view-element-registry/base-view-element-registry.mjs +70 -0
  15. package/esm2022/lib/internal/services/view-element-registry/index.mjs +3 -1
  16. package/esm2022/lib/internal/services/view-element-registry/mobile-view-element-registry.mjs +13 -0
  17. package/esm2022/lib/internal/services/view-element-registry/view-element-registry.mjs +3 -66
  18. package/esm2022/lib/internal/utils/index.mjs +1 -2
  19. package/esm2022/lib/internal/utils/metadata-utils.mjs +35 -7
  20. package/esm2022/lib/internal/utils/module-utils.mjs +1 -1
  21. package/esm2022/lib/public/decorators/interface-designer-item/index.mjs +3 -1
  22. package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item-decorator-utils.mjs +29 -0
  23. package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item.decorator.mjs +4 -19
  24. package/esm2022/lib/public/decorators/interface-designer-item/mobile-interface-designer-item.decorator.mjs +10 -0
  25. package/esm2022/lib/public/decorators/view-element/index.mjs +3 -1
  26. package/esm2022/lib/public/decorators/view-element/mobile-view-element.decorator.mjs +9 -0
  27. package/esm2022/lib/public/decorators/view-element/view-element-decorator-utils.mjs +33 -0
  28. package/esm2022/lib/public/decorators/view-element/view-element.decorator.mjs +4 -23
  29. package/esm2022/lib/public/functions/bootstrap-crt-module.mjs +34 -27
  30. package/esm2022/lib/public/models/ai-context/ai-context-part.mjs +2 -0
  31. package/esm2022/lib/public/models/ai-context/index.mjs +2 -0
  32. package/esm2022/lib/public/models/index.mjs +2 -1
  33. package/esm2022/lib/public/models/module-definition.mjs +1 -1
  34. package/esm2022/lib/public/models/request/view-model-attribute-change-event-options.mjs +1 -1
  35. package/esm2022/lib/public/services/ai-context/ai-context.service.mjs +86 -0
  36. package/esm2022/lib/public/services/ai-context/index.mjs +2 -0
  37. package/esm2022/lib/public/services/index.mjs +3 -1
  38. package/esm2022/lib/public/services/model/model.mjs +19 -2
  39. package/esm2022/lib/public/services/transaction-factory/index.mjs +2 -0
  40. package/esm2022/lib/public/services/transaction-factory/transaction-factory.service.mjs +40 -0
  41. package/fesm2022/creatio-devkit-common.mjs +331 -70
  42. package/fesm2022/creatio-devkit-common.mjs.map +1 -1
  43. package/index.d.ts +264 -5
  44. package/package.json +2 -2
  45. package/esm2022/lib/internal/utils/component-config-utils.mjs +0 -12
package/index.d.ts CHANGED
@@ -47,6 +47,7 @@ import { ɵDataSchemaAttributeFunctionConfig as DataSchemaAttributeFunctionConfi
47
47
  import { ɵDataSchemaAttributeType as DataSchemaAttributeType } from '@creatio/base';
48
48
  import { ɵDataSchemaAttributeUsageType as DataSchemaAttributeUsageType } from '@creatio/base';
49
49
  import { ɵDataSchemaAttributeValidatorConfig as DataSchemaAttributeValidatorConfig } from '@creatio/base';
50
+ import { ɵDataSchemaAttributeValueMaskingSettings as DataSchemaAttributeValueMaskingSettings } from '@creatio/base';
50
51
  import { ɵDataSchemaType as DataSchemaType } from '@creatio/base';
51
52
  import { ɵDataSchemaValidatorConfig as DataSchemaValidatorConfig } from '@creatio/base';
52
53
  import { ɵDataSourceAggregationConfig as DataSourceAggregationConfig } from '@creatio/base';
@@ -130,6 +131,7 @@ import { ɵOrderDirection as OrderDirection } from '@creatio/base';
130
131
  import { ɵParameterExpression as ParameterExpression } from '@creatio/base';
131
132
  import { ɵParameterExpressionConfig as ParameterExpressionConfig } from '@creatio/base';
132
133
  import { ɵParameterQueryColumn as ParameterQueryColumn } from '@creatio/base';
134
+ import { ɵPlatformAPIOptions as PlatformAPIOptions } from '@creatio/base';
133
135
  import { ɵPlatformAPIs as PlatformAPIs } from '@creatio/base';
134
136
  import { ɵPrimaryDisplayFilterDataSourceParameter as PrimaryDisplayFilterDataSourceParameter } from '@creatio/base';
135
137
  import { ɵQueryMacrosType as QueryMacrosType } from '@creatio/base';
@@ -160,7 +162,6 @@ import { ɵWindowFunctionExpressionConfig as WindowFunctionExpressionConfig } fr
160
162
  import { ɵCompatibleAPIs } from '@creatio/base';
161
163
  import { ɵDataSourceLoadOptions } from '@creatio/base';
162
164
  import { ɵItemCreationConfig } from '@creatio/base';
163
- import { ɵPlatformAPIOptions } from '@creatio/base';
164
165
 
165
166
  export { AbstractType }
166
167
 
@@ -185,6 +186,58 @@ export { AggregationSubQueryExpressionConfig }
185
186
 
186
187
  export { AggregationType }
187
188
 
189
+ /**
190
+ * Service for managing AI context parts and providing a unified context.
191
+ * This service allows adding, retrieving, and removing context parts, which can be
192
+ * either static values, promises, or dynamically provided through a function.
193
+ */
194
+ export declare class AiContextService {
195
+ private _contextParts;
196
+ private static _instance;
197
+ /**
198
+ * Retrieves the singleton instance of the `AiContextService`.
199
+ * If the instance does not exist, it will be created.
200
+ */
201
+ static get instance(): AiContextService;
202
+ /**
203
+ * Generates a unique identifier for a context part.
204
+ * @returns A string representing a unique identifier.
205
+ */
206
+ private _generateId;
207
+ /**
208
+ * @public
209
+ * Adds a new context part to the service.
210
+ * The context part can be a static value, a promise, or a function that provides the value.
211
+ *
212
+ * @param value - The context part to add. It can be one of the following:
213
+ * - `ContextProvider` (a function that provides the context part)
214
+ * @param id - (Optional) A unique identifier for the context part. If not provided, a new ID will be generated.
215
+ * @returns The unique identifier of the added context part.
216
+ */
217
+ setContextPart(value: ContextProvider, id?: string): string;
218
+ /**
219
+ * @public
220
+ * Retrieves all context parts as an array of resolved values.
221
+ * If the context parts include promises or functions, they will be resolved.
222
+ *
223
+ * @returns A promise that resolves to an array of context parts, which can be
224
+ * either `CreatioPageContextPart` or `ConstantValuesContextPart`.
225
+ */
226
+ getContext(): Promise<(CreatioPageContextPart | ConstantValuesContextPart)[]>;
227
+ /**
228
+ * @public
229
+ * Removes a specific context part by its unique identifier.
230
+ *
231
+ * @param id - The unique identifier of the context part to remove.
232
+ */
233
+ removeContextPart(id: string): void;
234
+ /**
235
+ * @public
236
+ * Removes all context parts from the service.
237
+ */
238
+ removeContext(): void;
239
+ }
240
+
188
241
  /* Excluded from this release type: AngularViewElementRegistrationConfig */
189
242
 
190
243
  /* Excluded from this release type: applyLocalizeMetadataFn */
@@ -207,6 +260,14 @@ export { ArithmeticQueryColumn }
207
260
  /* Excluded from this release type: AttributePropertyConfig */
208
261
 
209
262
  /* Excluded from this release type: AttributeValueConfig */
263
+
264
+ /**
265
+ * @public
266
+ */
267
+ export declare interface BaseContextPart {
268
+ type?: string;
269
+ }
270
+
210
271
  export { BaseDataSourceParameter }
211
272
 
212
273
  export { BaseDialogButtonConfig }
@@ -230,6 +291,8 @@ declare abstract class BaseHandlerChainService {
230
291
  }
231
292
 
232
293
  /* Excluded from this release type: BaseInterfaceDesignerItemRegistrationConfig */
294
+
295
+ /* Excluded from this release type: BaseInterfaceDesignerItemRegistry */
233
296
  export { BaseMessageChannelService }
234
297
 
235
298
  export { BaseModel }
@@ -404,6 +467,7 @@ export declare type BaseViewElementRegistrationConfig = {
404
467
  /* Excluded from this release type: compatibleAPIs */
405
468
  } & (OnViewportRenderConfig | DefaultRenderConfig);
406
469
 
470
+ /* Excluded from this release type: BaseViewElementRegistry */
407
471
  export { BetweenFilter }
408
472
 
409
473
  /* Excluded declaration from this release type: bootstrapCrtModule */
@@ -510,8 +574,56 @@ export { ComparisonType }
510
574
 
511
575
  export { ConditionalValueItem }
512
576
 
577
+ /**
578
+ * @public
579
+ */
580
+ export declare interface ConstantValuesContextPart extends BaseContextPart {
581
+ type: 'ConstantValuesContextPart';
582
+ values: Record<string, unknown>;
583
+ }
584
+
513
585
  /* Excluded from this release type: ContexedHandlerScopeConfig */
514
586
 
587
+ /**
588
+ * @public
589
+ */
590
+ export declare interface ContextDataRecord {
591
+ id: string;
592
+ displayColumnValue: string;
593
+ }
594
+
595
+ /**
596
+ * @public
597
+ */
598
+ export declare interface ContextDataSourcePart {
599
+ entitySchemaName: string;
600
+ displayColumnName: string;
601
+ isCollection: boolean;
602
+ isPrimary: boolean;
603
+ records: Array<ContextDataRecord>;
604
+ }
605
+
606
+ /**
607
+ * @public
608
+ */
609
+ export declare type ContextPartAction = 'set' | 'update' | 'remove';
610
+
611
+ /**
612
+ * @public
613
+ * @classdesc Request handler for managing context parts in the AI context service.
614
+ * This handler processes requests to add, remove, or retrieve context parts.
615
+ */
616
+ export declare class ContextPartRequest extends BaseRequest {
617
+ id: string;
618
+ contextPartProvider: ContextProvider;
619
+ action: ContextPartAction;
620
+ }
621
+
622
+ /**
623
+ * @public
624
+ */
625
+ export declare type ContextProvider = () => CreatioPageContextPart | Promise<CreatioPageContextPart> | ConstantValuesContextPart | Promise<ConstantValuesContextPart>;
626
+
515
627
  /**
516
628
  * @public
517
629
  * @description Shape to implementing Converter.
@@ -547,6 +659,15 @@ export declare interface ConverterConfig {
547
659
 
548
660
  /* Excluded from this release type: ConverterRegistryItem */
549
661
 
662
+ /**
663
+ * @public
664
+ */
665
+ export declare interface CreatioPageContextPart extends BaseContextPart {
666
+ type?: 'CreatioPageContextPart';
667
+ pageSchemaName: string;
668
+ dataSources: Array<ContextDataSourcePart>;
669
+ }
670
+
550
671
  /* Excluded from this release type: CrtAngularViewElementConfig */
551
672
 
552
673
  /**
@@ -674,6 +795,63 @@ export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDe
674
795
 
675
796
  /* Excluded declaration from this release type: CrtInterfaceDesignerItem */
676
797
 
798
+ /**
799
+ * @public
800
+ * @description Decorator to declare design time configuration for view element.
801
+ * @param config - registration config {@link InterfaceDesignerItemDefinition}.
802
+ *
803
+ * @example
804
+ * @CrtMobileViewElement({
805
+ * type: "usr.Example',
806
+ * selector: 'usr-example',
807
+ * })
808
+ * @CrtMobileInterfaceDesignerItem({
809
+ * toolbarConfig: {
810
+ * caption: 'usrExampleCaption',
811
+ * icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
812
+ * hint: 'usrExampleHint',
813
+ * defaultPropertyValues: {
814
+ * value: 'This is default value',
815
+ * },
816
+ * },
817
+ * })
818
+ * @Component({
819
+ * selector: 'usr-example',
820
+ * templateUrl: './app.component.html',
821
+ * styleUrls: ['./app.component.scss'],
822
+ * encapsulation: ViewEncapsulation.ShadowDom,
823
+ * })
824
+ * export class AppComponent {
825
+ * @Input()
826
+ * @CrtInput()
827
+ * public value!: string;
828
+ * }
829
+ */
830
+ export declare function CrtMobileInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
831
+
832
+ /* Excluded declaration from this release type: CrtMobileInterfaceDesignerItem */
833
+
834
+ /**
835
+ * @public
836
+ * @description CrtMobileViewElement decorator allows user to declare mobile components in a Creatio platform.
837
+ * Make sure the component is specified in the viewElements section of CrtModule.
838
+ * @param config - registration config. {@link ViewElementRegistrationConfig}.
839
+ *
840
+ * @example
841
+ * @CrtMobileViewElement({
842
+ * type: 'usr.Example',
843
+ * selector: 'usr-example',
844
+ * })
845
+ * export class AppComponent {
846
+ * @Input()
847
+ * @CrtInput()
848
+ * public value!: string;
849
+ * }
850
+ */
851
+ export declare function CrtMobileViewElement(config: ViewElementRegistrationConfig): (type: Type) => void;
852
+
853
+ /* Excluded declaration from this release type: CrtMobileViewElement */
854
+
677
855
  /**
678
856
  * @public
679
857
  * @description CrtModule decorator is a 'container' where user actually setup elements.
@@ -838,8 +1016,8 @@ export declare type CrtValidatorFn = (controlState: CrtControlState, params?: Va
838
1016
 
839
1017
  /**
840
1018
  * @public
841
- * @description CrtViewElement decorator allows user to declare components in Creatio platform.
842
- * Make sure component is specified in viewElements section of CrtModule.
1019
+ * @description CrtViewElement decorator allows user to declare components in a Creatio platform.
1020
+ * Make sure the component is specified in the viewElements section of CrtModule.
843
1021
  * @param config - registration config. {@link ViewElementRegistrationConfig}.
844
1022
  *
845
1023
  * @example
@@ -904,6 +1082,8 @@ export { DataSchemaAttributeUsageType }
904
1082
 
905
1083
  export { DataSchemaAttributeValidatorConfig }
906
1084
 
1085
+ export { DataSchemaAttributeValueMaskingSettings }
1086
+
907
1087
  export { DataSchemaType }
908
1088
 
909
1089
  export { DataSchemaValidatorConfig }
@@ -982,6 +1162,7 @@ export declare interface DefaultRenderConfig {
982
1162
  renderStrategy?: ViewElementRenderStrategy.Default;
983
1163
  }
984
1164
 
1165
+ /* Excluded from this release type: DefaultSizeForGrid */
985
1166
  export { DefaultValueSchema }
986
1167
 
987
1168
  export { DefaultValueSource }
@@ -1122,6 +1303,10 @@ export { generateGuid }
1122
1303
 
1123
1304
  /* Excluded from this release type: getInterfaceDesignerItemMetadata */
1124
1305
 
1306
+ /* Excluded from this release type: getMobileInterfaceDesignerItemMetadata */
1307
+
1308
+ /* Excluded from this release type: getMobileViewElementMetadata */
1309
+
1125
1310
  /* Excluded from this release type: getModuleMetadata */
1126
1311
 
1127
1312
  /* Excluded from this release type: getRequestHandlerMetadata */
@@ -1202,6 +1387,8 @@ export declare class HandleViewModelAttributeChangeRequest extends BaseRequest<C
1202
1387
 
1203
1388
  /* Excluded from this release type: hasInterfaceDesignerItemMetadata */
1204
1389
 
1390
+ /* Excluded from this release type: hasMobileInterfaceDesignerItemMetadata */
1391
+
1205
1392
  /* Excluded from this release type: HostHandlerSource */
1206
1393
 
1207
1394
  /**
@@ -1414,6 +1601,8 @@ export declare interface InterfaceDesignerItemDefinition {
1414
1601
 
1415
1602
  /* Excluded from this release type: InterfaceDesignerItemMetadata */
1416
1603
 
1604
+ /* Excluded from this release type: interfaceDesignerItemRegister */
1605
+
1417
1606
  /* Excluded from this release type: InterfaceDesignerItemRegistrationConfig */
1418
1607
 
1419
1608
  /* Excluded from this release type: InterfaceDesignerItemRegistry */
@@ -1439,8 +1628,6 @@ export declare interface InterfaceDesignerItemDefinition {
1439
1628
  /* Excluded from this release type: InternalToolbarViewElementConfig */
1440
1629
 
1441
1630
  /* Excluded from this release type: InternalToolbarViewElementConfigCollection */
1442
-
1443
- /* Excluded from this release type: isComponentPropertyBindable */
1444
1631
  export { isEmptyGuid }
1445
1632
 
1446
1633
  export { isGuid }
@@ -1460,6 +1647,31 @@ export declare interface ItemCreationConfig extends ɵItemCreationConfig {
1460
1647
 
1461
1648
  export { ItemNotFoundException }
1462
1649
 
1650
+ export declare interface ITransaction {
1651
+ get id(): Guid;
1652
+ createOperation<TResult>(action: (transactionOperation: ITransactionOperation<TResult>) => Promise<TResult>): ITransactionOperation<TResult>;
1653
+ createFailureOperation<TResult>(reason: TResult): ITransactionOperation<TResult>;
1654
+ commit(): Promise<Record<Guid, unknown>>;
1655
+ rollback(): Promise<void>;
1656
+ }
1657
+
1658
+ export declare interface ITransactionFactory {
1659
+ /**
1660
+ * @description Method create a transaction.
1661
+ * @returns `Promise<ITransaction>` {@link ITransaction}
1662
+ */
1663
+ create(): Promise<ITransaction>;
1664
+ }
1665
+
1666
+ export declare interface ITransactionOperation<TResult = unknown> {
1667
+ get asyncResult(): Promise<TResult>;
1668
+ /* Excluded from this release type: ready */
1669
+ get transactionId(): Guid;
1670
+ get id(): Guid;
1671
+ get payload(): Record<string, unknown>;
1672
+ /* Excluded from this release type: markAsReady */
1673
+ }
1674
+
1463
1675
  export { JsonArray }
1464
1676
 
1465
1677
  export { JsonData }
@@ -1646,6 +1858,14 @@ export { MetadataProvider }
1646
1858
 
1647
1859
  /* Excluded from this release type: MethodInvokeRequest */
1648
1860
 
1861
+ /* Excluded from this release type: MobileInterfaceDesignerItemRegistry */
1862
+
1863
+ /* Excluded from this release type: mobileInterfaceDesignerItemRegistryKey */
1864
+
1865
+ /* Excluded from this release type: MobileViewElementRegistry */
1866
+
1867
+ /* Excluded from this release type: mobileViewElementRegistryKey */
1868
+
1649
1869
  /**
1650
1870
  * @public
1651
1871
  */
@@ -1676,6 +1896,9 @@ export declare class Model extends BaseHandlerChainService implements BaseModel<
1676
1896
  delete(parameters: DataSourceParameters): Promise<DataSourceSaveResult>;
1677
1897
  canSave(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
1678
1898
  canDelete(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
1899
+ insertInTransaction(transaction: ITransaction, dto: JsonObject): ITransactionOperation<DataSourceSaveResult>;
1900
+ updateInTransaction(transaction: ITransaction, dto: JsonObject, parameters: DataSourceParameters): ITransactionOperation<DataSourceSaveResult>;
1901
+ deleteInTransaction(transaction: ITransaction, parameters: DataSourceParameters): ITransactionOperation<DataSourceSaveResult>;
1679
1902
  }
1680
1903
 
1681
1904
  export { ModelDefaultValue }
@@ -1767,6 +1990,10 @@ export { ParameterExpressionConfig }
1767
1990
  export { ParameterQueryColumn }
1768
1991
 
1769
1992
  /* Excluded from this release type: PkgTopology */
1993
+
1994
+ /* Excluded from this release type: Platform */
1995
+ export { PlatformAPIOptions }
1996
+
1770
1997
  export { PlatformAPIs }
1771
1998
 
1772
1999
  /**
@@ -2059,6 +2286,10 @@ export { SelectLocalizationQuery }
2059
2286
 
2060
2287
  /* Excluded from this release type: setInterfaceDesignerItemMetadata */
2061
2288
 
2289
+ /* Excluded from this release type: setMobileInterfaceDesignerItemMetadata */
2290
+
2291
+ /* Excluded from this release type: setMobileViewElementMetadata */
2292
+
2062
2293
  /* Excluded from this release type: setModuleMetadata */
2063
2294
 
2064
2295
  /* Excluded from this release type: setRequestHandlerMetadata */
@@ -2291,6 +2522,10 @@ export { toLocalISOString }
2291
2522
 
2292
2523
  /* Excluded from this release type: toNumericFunctionType */
2293
2524
 
2525
+ /* Excluded from this release type: ToolbarDefaultSize */
2526
+
2527
+ /* Excluded from this release type: ToolbarExtraProps */
2528
+
2294
2529
  /* Excluded from this release type: ToolbarViewElementConfig */
2295
2530
 
2296
2531
  /* Excluded from this release type: ToolbarViewElementConfigType */
@@ -2302,6 +2537,27 @@ export { toLocalISOString }
2302
2537
  /* Excluded from this release type: toSortDirection */
2303
2538
 
2304
2539
  /* Excluded from this release type: toStringFunctionType */
2540
+
2541
+ /**
2542
+ * @public
2543
+ * @class TransactionFactoryService
2544
+ * @classdesc Service to working with transaction factory using a handler chain
2545
+ * @extends {BaseHandlerChainService}
2546
+ */
2547
+ export declare class TransactionFactoryService extends BaseHandlerChainService implements ITransactionFactory {
2548
+ /* Excluded from this release type: _instance */
2549
+ /* Excluded from this release type: requestType */
2550
+ /**
2551
+ * @description Method create a transaction.
2552
+ * @returns `ITransaction` {@link ITransaction}
2553
+ * @public
2554
+ */
2555
+ create: () => Promise<ITransaction>;
2556
+ /* Excluded from this release type: __constructor */
2557
+ /* Excluded from this release type: instance */
2558
+ static create(): Promise<ITransaction>;
2559
+ }
2560
+
2305
2561
  export { Type }
2306
2562
 
2307
2563
  /* Excluded from this release type: UnsubscribeListener */
@@ -2368,6 +2624,8 @@ export declare interface ValueResponse<T> extends BaseResponse {
2368
2624
 
2369
2625
  /* Excluded from this release type: ViewElementProperty */
2370
2626
 
2627
+ /* Excluded from this release type: viewElementRegister */
2628
+
2371
2629
  /**
2372
2630
  * @public
2373
2631
  * @description Config to specify view element options.
@@ -2434,6 +2692,7 @@ export declare interface ViewModelAttributeChangeEventOptionsType {
2434
2692
  preventAttributeChangeRequest?: boolean;
2435
2693
  preventStateChange?: boolean;
2436
2694
  preventRunBusinessRules?: boolean;
2695
+ /* Excluded from this release type: isMaskedValue */
2437
2696
  }
2438
2697
 
2439
2698
  export { ViewModelCollection }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creatio-devkit/common",
3
- "version": "0.823.0",
3
+ "version": "0.831.0",
4
4
  "description": "Allows developers to create customizations and integrate them to Creatio platform.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "keywords": [
@@ -14,7 +14,7 @@
14
14
  "class-transformer": "^0.5.1",
15
15
  "reflect-metadata": "^0.1.13",
16
16
  "lodash": "^4.17.21",
17
- "@creatio/base": "0.823.0"
17
+ "@creatio/base": "0.831.0"
18
18
  },
19
19
  "sideEffects": false,
20
20
  "module": "fesm2022/creatio-devkit-common.mjs",
@@ -1,12 +0,0 @@
1
- import { ViewElementRegistry } from '../services';
2
- /**
3
- * @internal
4
- */
5
- export function isComponentPropertyBindable(viewConfigType, componentProperty) {
6
- const componentConfig = ViewElementRegistry.viewElements.get(viewConfigType);
7
- if (!componentConfig?.inputs) {
8
- return false;
9
- }
10
- return !!componentConfig?.inputs[componentProperty]?.propertyBindable;
11
- }
12
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50LWNvbmZpZy11dGlscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvZGV2a2l0L2NvbW1vbi9zcmMvbGliL2ludGVybmFsL3V0aWxzL2NvbXBvbmVudC1jb25maWctdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sYUFBYSxDQUFDO0FBRWxEOztHQUVHO0FBQ0gsTUFBTSxVQUFVLDJCQUEyQixDQUFDLGNBQXNCLEVBQUUsaUJBQXlCO0lBQzVGLE1BQU0sZUFBZSxHQUFHLG1CQUFtQixDQUFDLFlBQVksQ0FBQyxHQUFHLENBQUMsY0FBYyxDQUE0QixDQUFDO0lBQ3hHLElBQUksQ0FBQyxlQUFlLEVBQUUsTUFBTSxFQUFFLENBQUM7UUFDOUIsT0FBTyxLQUFLLENBQUM7SUFDZCxDQUFDO0lBQ0QsT0FBTyxDQUFDLENBQUMsZUFBZSxFQUFFLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxFQUFFLGdCQUFnQixDQUFDO0FBQ3ZFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBWaWV3RWxlbWVudFJlZ2lzdHJ5SXRlbSB9IGZyb20gJy4uL21vZGVscyc7XG5pbXBvcnQgeyBWaWV3RWxlbWVudFJlZ2lzdHJ5IH0gZnJvbSAnLi4vc2VydmljZXMnO1xuXG4vKipcbiAqIEBpbnRlcm5hbFxuICovXG5leHBvcnQgZnVuY3Rpb24gaXNDb21wb25lbnRQcm9wZXJ0eUJpbmRhYmxlKHZpZXdDb25maWdUeXBlOiBzdHJpbmcsIGNvbXBvbmVudFByb3BlcnR5OiBzdHJpbmcpOiBib29sZWFuIHtcblx0Y29uc3QgY29tcG9uZW50Q29uZmlnID0gVmlld0VsZW1lbnRSZWdpc3RyeS52aWV3RWxlbWVudHMuZ2V0KHZpZXdDb25maWdUeXBlKSBhcyBWaWV3RWxlbWVudFJlZ2lzdHJ5SXRlbTtcblx0aWYgKCFjb21wb25lbnRDb25maWc/LmlucHV0cykge1xuXHRcdHJldHVybiBmYWxzZTtcblx0fVxuXHRyZXR1cm4gISFjb21wb25lbnRDb25maWc/LmlucHV0c1tjb21wb25lbnRQcm9wZXJ0eV0/LnByb3BlcnR5QmluZGFibGU7XG59XG4iXX0=