@creatio-devkit/common 0.830.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.
- package/CHANGELOG.md +2 -0
- package/esm2022/lib/base-exports.mjs +1 -1
- package/esm2022/lib/internal/models/transaction/index.mjs +2 -1
- package/esm2022/lib/internal/models/transaction/transaction-factory.mjs +2 -0
- package/esm2022/lib/internal/models/transaction/transaction-operation.mjs +1 -1
- package/esm2022/lib/internal/models/transaction/transaction.mjs +1 -1
- package/esm2022/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +4 -4
- package/esm2022/lib/internal/services/interface-designer-item-registry/index.mjs +2 -1
- package/esm2022/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +35 -10
- package/esm2022/lib/internal/services/interface-designer-item-registry/mobile-interface-designer-item-registry.mjs +12 -0
- package/esm2022/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +1 -1
- package/esm2022/lib/internal/services/view-element-registry/base-view-element-registry.mjs +70 -0
- package/esm2022/lib/internal/services/view-element-registry/index.mjs +3 -1
- package/esm2022/lib/internal/services/view-element-registry/mobile-view-element-registry.mjs +13 -0
- package/esm2022/lib/internal/services/view-element-registry/view-element-registry.mjs +3 -66
- package/esm2022/lib/internal/utils/index.mjs +1 -2
- package/esm2022/lib/internal/utils/metadata-utils.mjs +35 -7
- package/esm2022/lib/internal/utils/module-utils.mjs +1 -1
- package/esm2022/lib/public/decorators/interface-designer-item/index.mjs +3 -1
- package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item-decorator-utils.mjs +29 -0
- package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item.decorator.mjs +4 -19
- package/esm2022/lib/public/decorators/interface-designer-item/mobile-interface-designer-item.decorator.mjs +10 -0
- package/esm2022/lib/public/decorators/view-element/index.mjs +3 -1
- package/esm2022/lib/public/decorators/view-element/mobile-view-element.decorator.mjs +9 -0
- package/esm2022/lib/public/decorators/view-element/view-element-decorator-utils.mjs +33 -0
- package/esm2022/lib/public/decorators/view-element/view-element.decorator.mjs +4 -23
- package/esm2022/lib/public/functions/bootstrap-crt-module.mjs +30 -13
- package/esm2022/lib/public/models/module-definition.mjs +1 -1
- package/esm2022/lib/public/models/request/view-model-attribute-change-event-options.mjs +1 -1
- package/esm2022/lib/public/services/index.mjs +2 -1
- package/esm2022/lib/public/services/model/model.mjs +19 -2
- package/esm2022/lib/public/services/transaction-factory/index.mjs +2 -0
- package/esm2022/lib/public/services/transaction-factory/transaction-factory.service.mjs +40 -0
- package/fesm2022/creatio-devkit-common.mjs +241 -56
- package/fesm2022/creatio-devkit-common.mjs.map +1 -1
- package/index.d.ts +138 -7
- package/package.json +2 -2
- package/esm2022/lib/internal/utils/component-config-utils.mjs +0 -12
package/index.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ import { ɵOrderDirection as OrderDirection } from '@creatio/base';
|
|
|
131
131
|
import { ɵParameterExpression as ParameterExpression } from '@creatio/base';
|
|
132
132
|
import { ɵParameterExpressionConfig as ParameterExpressionConfig } from '@creatio/base';
|
|
133
133
|
import { ɵParameterQueryColumn as ParameterQueryColumn } from '@creatio/base';
|
|
134
|
+
import { ɵPlatformAPIOptions as PlatformAPIOptions } from '@creatio/base';
|
|
134
135
|
import { ɵPlatformAPIs as PlatformAPIs } from '@creatio/base';
|
|
135
136
|
import { ɵPrimaryDisplayFilterDataSourceParameter as PrimaryDisplayFilterDataSourceParameter } from '@creatio/base';
|
|
136
137
|
import { ɵQueryMacrosType as QueryMacrosType } from '@creatio/base';
|
|
@@ -161,7 +162,6 @@ import { ɵWindowFunctionExpressionConfig as WindowFunctionExpressionConfig } fr
|
|
|
161
162
|
import { ɵCompatibleAPIs } from '@creatio/base';
|
|
162
163
|
import { ɵDataSourceLoadOptions } from '@creatio/base';
|
|
163
164
|
import { ɵItemCreationConfig } from '@creatio/base';
|
|
164
|
-
import { ɵPlatformAPIOptions } from '@creatio/base';
|
|
165
165
|
|
|
166
166
|
export { AbstractType }
|
|
167
167
|
|
|
@@ -291,6 +291,8 @@ declare abstract class BaseHandlerChainService {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
/* Excluded from this release type: BaseInterfaceDesignerItemRegistrationConfig */
|
|
294
|
+
|
|
295
|
+
/* Excluded from this release type: BaseInterfaceDesignerItemRegistry */
|
|
294
296
|
export { BaseMessageChannelService }
|
|
295
297
|
|
|
296
298
|
export { BaseModel }
|
|
@@ -465,6 +467,7 @@ export declare type BaseViewElementRegistrationConfig = {
|
|
|
465
467
|
/* Excluded from this release type: compatibleAPIs */
|
|
466
468
|
} & (OnViewportRenderConfig | DefaultRenderConfig);
|
|
467
469
|
|
|
470
|
+
/* Excluded from this release type: BaseViewElementRegistry */
|
|
468
471
|
export { BetweenFilter }
|
|
469
472
|
|
|
470
473
|
/* Excluded declaration from this release type: bootstrapCrtModule */
|
|
@@ -792,6 +795,63 @@ export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDe
|
|
|
792
795
|
|
|
793
796
|
/* Excluded declaration from this release type: CrtInterfaceDesignerItem */
|
|
794
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
|
+
|
|
795
855
|
/**
|
|
796
856
|
* @public
|
|
797
857
|
* @description CrtModule decorator is a 'container' where user actually setup elements.
|
|
@@ -956,8 +1016,8 @@ export declare type CrtValidatorFn = (controlState: CrtControlState, params?: Va
|
|
|
956
1016
|
|
|
957
1017
|
/**
|
|
958
1018
|
* @public
|
|
959
|
-
* @description CrtViewElement decorator allows user to declare components in Creatio platform.
|
|
960
|
-
* 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.
|
|
961
1021
|
* @param config - registration config. {@link ViewElementRegistrationConfig}.
|
|
962
1022
|
*
|
|
963
1023
|
* @example
|
|
@@ -1243,6 +1303,10 @@ export { generateGuid }
|
|
|
1243
1303
|
|
|
1244
1304
|
/* Excluded from this release type: getInterfaceDesignerItemMetadata */
|
|
1245
1305
|
|
|
1306
|
+
/* Excluded from this release type: getMobileInterfaceDesignerItemMetadata */
|
|
1307
|
+
|
|
1308
|
+
/* Excluded from this release type: getMobileViewElementMetadata */
|
|
1309
|
+
|
|
1246
1310
|
/* Excluded from this release type: getModuleMetadata */
|
|
1247
1311
|
|
|
1248
1312
|
/* Excluded from this release type: getRequestHandlerMetadata */
|
|
@@ -1323,6 +1387,8 @@ export declare class HandleViewModelAttributeChangeRequest extends BaseRequest<C
|
|
|
1323
1387
|
|
|
1324
1388
|
/* Excluded from this release type: hasInterfaceDesignerItemMetadata */
|
|
1325
1389
|
|
|
1390
|
+
/* Excluded from this release type: hasMobileInterfaceDesignerItemMetadata */
|
|
1391
|
+
|
|
1326
1392
|
/* Excluded from this release type: HostHandlerSource */
|
|
1327
1393
|
|
|
1328
1394
|
/**
|
|
@@ -1535,6 +1601,8 @@ export declare interface InterfaceDesignerItemDefinition {
|
|
|
1535
1601
|
|
|
1536
1602
|
/* Excluded from this release type: InterfaceDesignerItemMetadata */
|
|
1537
1603
|
|
|
1604
|
+
/* Excluded from this release type: interfaceDesignerItemRegister */
|
|
1605
|
+
|
|
1538
1606
|
/* Excluded from this release type: InterfaceDesignerItemRegistrationConfig */
|
|
1539
1607
|
|
|
1540
1608
|
/* Excluded from this release type: InterfaceDesignerItemRegistry */
|
|
@@ -1560,8 +1628,6 @@ export declare interface InterfaceDesignerItemDefinition {
|
|
|
1560
1628
|
/* Excluded from this release type: InternalToolbarViewElementConfig */
|
|
1561
1629
|
|
|
1562
1630
|
/* Excluded from this release type: InternalToolbarViewElementConfigCollection */
|
|
1563
|
-
|
|
1564
|
-
/* Excluded from this release type: isComponentPropertyBindable */
|
|
1565
1631
|
export { isEmptyGuid }
|
|
1566
1632
|
|
|
1567
1633
|
export { isGuid }
|
|
@@ -1581,9 +1647,31 @@ export declare interface ItemCreationConfig extends ɵItemCreationConfig {
|
|
|
1581
1647
|
|
|
1582
1648
|
export { ItemNotFoundException }
|
|
1583
1649
|
|
|
1584
|
-
|
|
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
|
+
}
|
|
1585
1674
|
|
|
1586
|
-
/* Excluded from this release type: ITransactionOperation */
|
|
1587
1675
|
export { JsonArray }
|
|
1588
1676
|
|
|
1589
1677
|
export { JsonData }
|
|
@@ -1770,6 +1858,14 @@ export { MetadataProvider }
|
|
|
1770
1858
|
|
|
1771
1859
|
/* Excluded from this release type: MethodInvokeRequest */
|
|
1772
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
|
+
|
|
1773
1869
|
/**
|
|
1774
1870
|
* @public
|
|
1775
1871
|
*/
|
|
@@ -1800,6 +1896,9 @@ export declare class Model extends BaseHandlerChainService implements BaseModel<
|
|
|
1800
1896
|
delete(parameters: DataSourceParameters): Promise<DataSourceSaveResult>;
|
|
1801
1897
|
canSave(params: DataSourceCanExecuteOperationPayload): Promise<DataSourceCanExecuteOperationResult>;
|
|
1802
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>;
|
|
1803
1902
|
}
|
|
1804
1903
|
|
|
1805
1904
|
export { ModelDefaultValue }
|
|
@@ -1891,6 +1990,10 @@ export { ParameterExpressionConfig }
|
|
|
1891
1990
|
export { ParameterQueryColumn }
|
|
1892
1991
|
|
|
1893
1992
|
/* Excluded from this release type: PkgTopology */
|
|
1993
|
+
|
|
1994
|
+
/* Excluded from this release type: Platform */
|
|
1995
|
+
export { PlatformAPIOptions }
|
|
1996
|
+
|
|
1894
1997
|
export { PlatformAPIs }
|
|
1895
1998
|
|
|
1896
1999
|
/**
|
|
@@ -2183,6 +2286,10 @@ export { SelectLocalizationQuery }
|
|
|
2183
2286
|
|
|
2184
2287
|
/* Excluded from this release type: setInterfaceDesignerItemMetadata */
|
|
2185
2288
|
|
|
2289
|
+
/* Excluded from this release type: setMobileInterfaceDesignerItemMetadata */
|
|
2290
|
+
|
|
2291
|
+
/* Excluded from this release type: setMobileViewElementMetadata */
|
|
2292
|
+
|
|
2186
2293
|
/* Excluded from this release type: setModuleMetadata */
|
|
2187
2294
|
|
|
2188
2295
|
/* Excluded from this release type: setRequestHandlerMetadata */
|
|
@@ -2430,6 +2537,27 @@ export { toLocalISOString }
|
|
|
2430
2537
|
/* Excluded from this release type: toSortDirection */
|
|
2431
2538
|
|
|
2432
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
|
+
|
|
2433
2561
|
export { Type }
|
|
2434
2562
|
|
|
2435
2563
|
/* Excluded from this release type: UnsubscribeListener */
|
|
@@ -2496,6 +2624,8 @@ export declare interface ValueResponse<T> extends BaseResponse {
|
|
|
2496
2624
|
|
|
2497
2625
|
/* Excluded from this release type: ViewElementProperty */
|
|
2498
2626
|
|
|
2627
|
+
/* Excluded from this release type: viewElementRegister */
|
|
2628
|
+
|
|
2499
2629
|
/**
|
|
2500
2630
|
* @public
|
|
2501
2631
|
* @description Config to specify view element options.
|
|
@@ -2562,6 +2692,7 @@ export declare interface ViewModelAttributeChangeEventOptionsType {
|
|
|
2562
2692
|
preventAttributeChangeRequest?: boolean;
|
|
2563
2693
|
preventStateChange?: boolean;
|
|
2564
2694
|
preventRunBusinessRules?: boolean;
|
|
2695
|
+
/* Excluded from this release type: isMaskedValue */
|
|
2565
2696
|
}
|
|
2566
2697
|
|
|
2567
2698
|
export { ViewModelCollection }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creatio-devkit/common",
|
|
3
|
-
"version": "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.
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWx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