@po-ui/ng-sync 19.26.0 → 20.0.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/fesm2022/po-ui-ng-sync.mjs +22 -22
- package/index.d.ts +1053 -3
- package/package.json +6 -6
- package/po-ui-ng-sync-20.0.0.tgz +0 -0
- package/schematics/migrations.json +7 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +1 -1
- package/schematics/ng-update/v19/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v20/changes.d.ts +2 -0
- package/schematics/ng-update/v20/changes.js +14 -0
- package/schematics/ng-update/v20/changes.js.map +1 -0
- package/schematics/ng-update/v20/index.d.ts +1 -0
- package/schematics/ng-update/v20/index.js +16 -0
- package/schematics/ng-update/v20/index.js.map +1 -0
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/lib/index.d.ts +0 -14
- package/lib/models/index.d.ts +0 -5
- package/lib/models/po-data-message.model.d.ts +0 -46
- package/lib/models/po-data-transform.model.d.ts +0 -52
- package/lib/models/po-entity/po-entity.model.d.ts +0 -122
- package/lib/models/po-event-sourcing-error-response.model.d.ts +0 -20
- package/lib/models/po-network-status.model.d.ts +0 -25
- package/lib/models/po-network-type.enum.d.ts +0 -28
- package/lib/models/po-query-builder/po-query-builder.model.d.ts +0 -126
- package/lib/models/po-request-type.enum.d.ts +0 -14
- package/lib/po-sync.module.d.ts +0 -11
- package/lib/services/po-event-sourcing/enums/po-event-sourcing-operation.enum.d.ts +0 -11
- package/lib/services/po-event-sourcing/index.d.ts +0 -3
- package/lib/services/po-event-sourcing/interfaces/po-event-sourcing-item.interface.d.ts +0 -26
- package/lib/services/po-event-sourcing/interfaces/po-event-sourcing-summary-item.interface.d.ts +0 -16
- package/lib/services/po-event-sourcing/po-event-sourcing.service.d.ts +0 -74
- package/lib/services/po-http-client/interfaces/po-http-header-option.interface.d.ts +0 -15
- package/lib/services/po-http-client/interfaces/po-http-request-data.interface.d.ts +0 -24
- package/lib/services/po-http-client/interfaces/po-response-api.interface.d.ts +0 -14
- package/lib/services/po-http-client/po-http-client.service.d.ts +0 -78
- package/lib/services/po-http-client/po-http-request-type.enum.d.ts +0 -23
- package/lib/services/po-network/po-network.service.d.ts +0 -35
- package/lib/services/po-schema/index.d.ts +0 -3
- package/lib/services/po-schema/po-schema-definition/po-schema-definition.service.d.ts +0 -51
- package/lib/services/po-schema/po-schema-util/po-schema-util.model.d.ts +0 -79
- package/lib/services/po-schema/po-schema.service.d.ts +0 -98
- package/lib/services/po-sync/interfaces/po-sync-config.interface.d.ts +0 -24
- package/lib/services/po-sync/interfaces/po-sync-field-options.interface.d.ts +0 -15
- package/lib/services/po-sync/interfaces/po-sync-response.interface.d.ts +0 -20
- package/lib/services/po-sync/interfaces/po-sync-schema.interface.d.ts +0 -37
- package/lib/services/po-sync/po-sync.service.d.ts +0 -162
- package/lib/utils/utils.d.ts +0 -36
- package/po-ui-ng-sync-19.26.0.tgz +0 -0
- package/public-api.d.ts +0 -1
|
@@ -364,10 +364,10 @@ class PoSchemaDefinitionService {
|
|
|
364
364
|
schemas = schemas.map(replaceUpdatedSchema);
|
|
365
365
|
return this.saveAll(schemas);
|
|
366
366
|
}
|
|
367
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
368
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
367
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, deps: [{ token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
368
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, providedIn: 'root' });
|
|
369
369
|
}
|
|
370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
370
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaDefinitionService, decorators: [{
|
|
371
371
|
type: Injectable,
|
|
372
372
|
args: [{
|
|
373
373
|
providedIn: 'root'
|
|
@@ -538,10 +538,10 @@ class PoSchemaService {
|
|
|
538
538
|
await this.remove(schemaName, recordId);
|
|
539
539
|
return Object.assign(record, localRecord);
|
|
540
540
|
}
|
|
541
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
542
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
541
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, deps: [{ token: PoSchemaDefinitionService }, { token: i1.PoStorageService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
542
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, providedIn: 'root' });
|
|
543
543
|
}
|
|
544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
544
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSchemaService, decorators: [{
|
|
545
545
|
type: Injectable,
|
|
546
546
|
args: [{
|
|
547
547
|
providedIn: 'root'
|
|
@@ -685,10 +685,10 @@ class PoHttpClientService {
|
|
|
685
685
|
}
|
|
686
686
|
return httpHeaders;
|
|
687
687
|
}
|
|
688
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
689
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
688
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
689
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, providedIn: 'root' });
|
|
690
690
|
}
|
|
691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoHttpClientService, decorators: [{
|
|
692
692
|
type: Injectable,
|
|
693
693
|
args: [{
|
|
694
694
|
providedIn: 'root'
|
|
@@ -1052,10 +1052,10 @@ class PoEventSourcingService {
|
|
|
1052
1052
|
updateStorageSchemas(schemas) {
|
|
1053
1053
|
return schemas.map((schema) => this.updateStorageBySchema(schema));
|
|
1054
1054
|
}
|
|
1055
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1056
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1055
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, deps: [{ token: PoSchemaDefinitionService }, { token: PoSchemaService }, { token: i1.PoStorageService }, { token: PoHttpClientService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1056
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, providedIn: 'root' });
|
|
1057
1057
|
}
|
|
1058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoEventSourcingService, decorators: [{
|
|
1059
1059
|
type: Injectable,
|
|
1060
1060
|
args: [{
|
|
1061
1061
|
providedIn: 'root'
|
|
@@ -1697,10 +1697,10 @@ class PoNetworkService {
|
|
|
1697
1697
|
this.networkTypeNow.next({ status: status.connected, type: this.networkType });
|
|
1698
1698
|
});
|
|
1699
1699
|
}
|
|
1700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1701
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1701
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, providedIn: 'root' });
|
|
1702
1702
|
}
|
|
1703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoNetworkService, decorators: [{
|
|
1704
1704
|
type: Injectable,
|
|
1705
1705
|
args: [{
|
|
1706
1706
|
providedIn: 'root'
|
|
@@ -2023,10 +2023,10 @@ class PoSyncService {
|
|
|
2023
2023
|
syncError() {
|
|
2024
2024
|
this.finishSync();
|
|
2025
2025
|
}
|
|
2026
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2027
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2026
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, deps: [{ token: PoEventSourcingService }, { token: PoHttpClientService }, { token: PoNetworkService }, { token: PoSchemaDefinitionService }, { token: PoSchemaService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2027
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, providedIn: 'root' });
|
|
2028
2028
|
}
|
|
2029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncService, decorators: [{
|
|
2030
2030
|
type: Injectable,
|
|
2031
2031
|
args: [{
|
|
2032
2032
|
providedIn: 'root'
|
|
@@ -2039,9 +2039,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.7", ngImpor
|
|
|
2039
2039
|
* Módulo do componente PoSync responsável pela sincronia de dados com backends
|
|
2040
2040
|
*/
|
|
2041
2041
|
class PoSyncModule {
|
|
2042
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2043
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2044
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2042
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2043
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule });
|
|
2044
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, providers: [
|
|
2045
2045
|
PoEventSourcingService,
|
|
2046
2046
|
PoNetworkService,
|
|
2047
2047
|
PoSchemaDefinitionService,
|
|
@@ -2050,7 +2050,7 @@ class PoSyncModule {
|
|
|
2050
2050
|
PoHttpClientService
|
|
2051
2051
|
] });
|
|
2052
2052
|
}
|
|
2053
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: PoSyncModule, decorators: [{
|
|
2054
2054
|
type: NgModule,
|
|
2055
2055
|
args: [{
|
|
2056
2056
|
providers: [
|