@arsedizioni/ars-utils 21.2.109 → 21.2.110
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/arsedizioni-ars-utils-clipper.common.mjs +27 -27
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +112 -112
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +119 -119
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +12 -12
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +17 -17
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +8 -8
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +8 -8
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +8 -8
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +140 -140
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +597 -597
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +15 -15
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.common.d.ts +3 -3
|
@@ -1709,7 +1709,7 @@ var ClipperExportDocumentsFormat;
|
|
|
1709
1709
|
})(ClipperExportDocumentsFormat || (ClipperExportDocumentsFormat = {}));
|
|
1710
1710
|
class ClipperDashboard {
|
|
1711
1711
|
constructor() {
|
|
1712
|
-
this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
1712
|
+
this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
1713
1713
|
this.isTrial = false;
|
|
1714
1714
|
this.unreadItems = computed(() => {
|
|
1715
1715
|
const states = [];
|
|
@@ -1721,7 +1721,7 @@ class ClipperDashboard {
|
|
|
1721
1721
|
states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
|
|
1722
1722
|
states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
|
|
1723
1723
|
return states;
|
|
1724
|
-
}, ...(ngDevMode ? [{ debugName: "unreadItems" }] : []));
|
|
1724
|
+
}, ...(ngDevMode ? [{ debugName: "unreadItems" }] : /* istanbul ignore next */ []));
|
|
1725
1725
|
this.unreadItemsByModel = computed(() => {
|
|
1726
1726
|
const states = [];
|
|
1727
1727
|
this.items().forEach(item => {
|
|
@@ -1755,7 +1755,7 @@ class ClipperDashboard {
|
|
|
1755
1755
|
}
|
|
1756
1756
|
});
|
|
1757
1757
|
return states;
|
|
1758
|
-
}, ...(ngDevMode ? [{ debugName: "unreadItemsByModel" }] : []));
|
|
1758
|
+
}, ...(ngDevMode ? [{ debugName: "unreadItemsByModel" }] : /* istanbul ignore next */ []));
|
|
1759
1759
|
}
|
|
1760
1760
|
/**
|
|
1761
1761
|
* Update unread items
|
|
@@ -2186,28 +2186,28 @@ class ClipperService {
|
|
|
2186
2186
|
this.dialogService = inject(DialogService);
|
|
2187
2187
|
this._serviceUri = '';
|
|
2188
2188
|
this._flags = ClipperServiceFlags.None;
|
|
2189
|
-
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, ...(ngDevMode ? [{ debugName: "loggedIn" }] : []));
|
|
2190
|
-
this.loggingIn = signal(false, ...(ngDevMode ? [{ debugName: "loggingIn" }] : []));
|
|
2191
|
-
this.snapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "snapshot" }] : []));
|
|
2192
|
-
this.supportsRS = signal(false, ...(ngDevMode ? [{ debugName: "supportsRS" }] : []));
|
|
2193
|
-
this.referencesSnapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "referencesSnapshot" }] : []));
|
|
2189
|
+
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, ...(ngDevMode ? [{ debugName: "loggedIn" }] : /* istanbul ignore next */ []));
|
|
2190
|
+
this.loggingIn = signal(false, ...(ngDevMode ? [{ debugName: "loggingIn" }] : /* istanbul ignore next */ []));
|
|
2191
|
+
this.snapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "snapshot" }] : /* istanbul ignore next */ []));
|
|
2192
|
+
this.supportsRS = signal(false, ...(ngDevMode ? [{ debugName: "supportsRS" }] : /* istanbul ignore next */ []));
|
|
2193
|
+
this.referencesSnapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "referencesSnapshot" }] : /* istanbul ignore next */ []));
|
|
2194
2194
|
this.dashboard = new ClipperDashboard();
|
|
2195
|
-
this.bag = signal([], ...(ngDevMode ? [{ debugName: "bag" }] : []));
|
|
2195
|
+
this.bag = signal([], ...(ngDevMode ? [{ debugName: "bag" }] : /* istanbul ignore next */ []));
|
|
2196
2196
|
this.bagTotal = computed(() => {
|
|
2197
2197
|
return this.bag().length;
|
|
2198
|
-
}, ...(ngDevMode ? [{ debugName: "bagTotal" }] : []));
|
|
2199
|
-
this.visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
|
|
2198
|
+
}, ...(ngDevMode ? [{ debugName: "bagTotal" }] : /* istanbul ignore next */ []));
|
|
2199
|
+
this.visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
2200
2200
|
this._teams = [];
|
|
2201
|
-
this.currentTeamId = signal(SystemUtils.emptyUUID(), ...(ngDevMode ? [{ debugName: "currentTeamId" }] : []));
|
|
2202
|
-
this.currentTeamName = signal("PERSONALE", ...(ngDevMode ? [{ debugName: "currentTeamName" }] : []));
|
|
2201
|
+
this.currentTeamId = signal(SystemUtils.emptyUUID(), ...(ngDevMode ? [{ debugName: "currentTeamId" }] : /* istanbul ignore next */ []));
|
|
2202
|
+
this.currentTeamName = signal("PERSONALE", ...(ngDevMode ? [{ debugName: "currentTeamName" }] : /* istanbul ignore next */ []));
|
|
2203
2203
|
this.currentTeamIsPrivate = computed(() => {
|
|
2204
2204
|
return this.currentTeamId() !== SystemUtils.emptyUUID();
|
|
2205
|
-
}, ...(ngDevMode ? [{ debugName: "currentTeamIsPrivate" }] : []));
|
|
2206
|
-
this.availableChannels = signal([], ...(ngDevMode ? [{ debugName: "availableChannels" }] : []));
|
|
2205
|
+
}, ...(ngDevMode ? [{ debugName: "currentTeamIsPrivate" }] : /* istanbul ignore next */ []));
|
|
2206
|
+
this.availableChannels = signal([], ...(ngDevMode ? [{ debugName: "availableChannels" }] : /* istanbul ignore next */ []));
|
|
2207
2207
|
this.activeChannels = computed(() => {
|
|
2208
2208
|
return this.availableChannels()?.filter(x => !x.suspended && !x.disabled && x.active === true);
|
|
2209
|
-
}, ...(ngDevMode ? [{ debugName: "activeChannels" }] : []));
|
|
2210
|
-
this.allowTags = signal(false, ...(ngDevMode ? [{ debugName: "allowTags" }] : []));
|
|
2209
|
+
}, ...(ngDevMode ? [{ debugName: "activeChannels" }] : /* istanbul ignore next */ []));
|
|
2210
|
+
this.allowTags = signal(false, ...(ngDevMode ? [{ debugName: "allowTags" }] : /* istanbul ignore next */ []));
|
|
2211
2211
|
}
|
|
2212
2212
|
get appUri() {
|
|
2213
2213
|
return this._appUri;
|
|
@@ -3230,10 +3230,10 @@ class ClipperService {
|
|
|
3230
3230
|
downloadArchiveFile(id, otp) {
|
|
3231
3231
|
return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
|
|
3232
3232
|
}
|
|
3233
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3234
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
|
|
3235
3235
|
}
|
|
3236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperService, decorators: [{
|
|
3237
3237
|
type: Injectable,
|
|
3238
3238
|
args: [{
|
|
3239
3239
|
providedIn: 'root',
|
|
@@ -3290,19 +3290,19 @@ class ClipperAuthInterceptor {
|
|
|
3290
3290
|
}
|
|
3291
3291
|
return next.handle(request);
|
|
3292
3292
|
}
|
|
3293
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3294
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3293
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3294
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperAuthInterceptor }); }
|
|
3295
3295
|
}
|
|
3296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
|
|
3297
3297
|
type: Injectable
|
|
3298
3298
|
}] });
|
|
3299
3299
|
|
|
3300
3300
|
class ArsClipperCommonModule {
|
|
3301
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3302
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
3303
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3301
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3302
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3303
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3304
3304
|
}
|
|
3305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
|
|
3306
3306
|
type: NgModule
|
|
3307
3307
|
}] });
|
|
3308
3308
|
|