@arsedizioni/ars-utils 20.4.2 → 20.4.4
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/clipper.ui/index.d.ts +1 -1
- package/core/index.d.ts +6 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +10 -15
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +39 -39
- package/fesm2022/arsedizioni-ars-utils-core.mjs +135 -121
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +10 -10
- package/fesm2022/arsedizioni-ars-utils-help.mjs +13 -13
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +6 -6
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +7 -7
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +61 -61
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +40 -40
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +7 -7
- package/package.json +9 -9
package/clipper.ui/index.d.ts
CHANGED
|
@@ -1033,7 +1033,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1033
1033
|
private changeDetector;
|
|
1034
1034
|
private clipperService;
|
|
1035
1035
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1036
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1036
|
+
readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
|
|
1037
1037
|
protected selection: () => ClipperDocumentInfo[];
|
|
1038
1038
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1039
1039
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
package/core/index.d.ts
CHANGED
|
@@ -739,12 +739,13 @@ interface BroadcastChannelSubscriberInfo<T> {
|
|
|
739
739
|
*/
|
|
740
740
|
declare class BroadcastChannelManager {
|
|
741
741
|
private channel?;
|
|
742
|
+
private subject;
|
|
742
743
|
private subscriptions;
|
|
743
744
|
/**
|
|
744
745
|
* Get the current channel registration
|
|
745
746
|
*/
|
|
746
747
|
get currentBus(): string | undefined;
|
|
747
|
-
constructor(bus
|
|
748
|
+
constructor(bus?: string);
|
|
748
749
|
dispose(): void;
|
|
749
750
|
/**
|
|
750
751
|
* Send a message
|
|
@@ -805,6 +806,10 @@ interface BroadcastMessageInfo {
|
|
|
805
806
|
declare class BroadcastService implements OnDestroy {
|
|
806
807
|
private subject;
|
|
807
808
|
private channel;
|
|
809
|
+
/**
|
|
810
|
+
* Get a new instance of broadcast channel
|
|
811
|
+
*/
|
|
812
|
+
static GetChannel(): BroadcastChannelManager;
|
|
808
813
|
ngOnDestroy(): void;
|
|
809
814
|
/**
|
|
810
815
|
* Send a message
|
|
@@ -2057,10 +2057,6 @@ class ClipperService {
|
|
|
2057
2057
|
* @param flags: the service flags. Default is none.
|
|
2058
2058
|
*/
|
|
2059
2059
|
initialize(serviceUri, appUri, flags = ClipperServiceFlags.None) {
|
|
2060
|
-
// Create unique client id
|
|
2061
|
-
if (!localStorage.getItem('clipper_client_id')) {
|
|
2062
|
-
localStorage.setItem('clipper_client_id', SystemUtils.generateUUID());
|
|
2063
|
-
}
|
|
2064
2060
|
// Initialize
|
|
2065
2061
|
this._serviceUri = serviceUri;
|
|
2066
2062
|
this._appUri = appUri;
|
|
@@ -2207,7 +2203,6 @@ class ClipperService {
|
|
|
2207
2203
|
login(email, password, remember, oauth, oauthAccessToken = sessionStorage.getItem("clipper_oauth_token") ?? undefined) {
|
|
2208
2204
|
return this.httpClient
|
|
2209
2205
|
.post(this._serviceUri + '/login2', {
|
|
2210
|
-
clientId: localStorage.getItem("clipper_client_id"),
|
|
2211
2206
|
user: oauth ? null : email,
|
|
2212
2207
|
password: oauth ? null : password,
|
|
2213
2208
|
remember: remember,
|
|
@@ -3038,10 +3033,10 @@ class ClipperService {
|
|
|
3038
3033
|
downloadArchiveFile(id, otp) {
|
|
3039
3034
|
return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
|
|
3040
3035
|
}
|
|
3041
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3042
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3036
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3037
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
|
|
3043
3038
|
}
|
|
3044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperService, decorators: [{
|
|
3045
3040
|
type: Injectable,
|
|
3046
3041
|
args: [{
|
|
3047
3042
|
providedIn: 'root',
|
|
@@ -3092,19 +3087,19 @@ class ClipperAuthInterceptor {
|
|
|
3092
3087
|
}
|
|
3093
3088
|
return next.handle(request);
|
|
3094
3089
|
}
|
|
3095
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3096
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3090
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3091
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor }); }
|
|
3097
3092
|
}
|
|
3098
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
|
|
3099
3094
|
type: Injectable
|
|
3100
3095
|
}] });
|
|
3101
3096
|
|
|
3102
3097
|
class ArsClipperCommonModule {
|
|
3103
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3104
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
3105
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
3098
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3099
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3100
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3106
3101
|
}
|
|
3107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
|
|
3108
3103
|
type: NgModule
|
|
3109
3104
|
}] });
|
|
3110
3105
|
|