@arsedizioni/ars-utils 21.2.370 → 22.0.2
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 +40 -25
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +302 -178
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +151 -126
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +14 -12
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-help.mjs +26 -20
- package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs +9 -8
- package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +14 -11
- package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +11 -9
- package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +341 -200
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +197 -152
- package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +28 -19
- package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.application.d.ts +5 -1
|
@@ -1704,7 +1704,8 @@ var ClipperExportDocumentsFormat;
|
|
|
1704
1704
|
})(ClipperExportDocumentsFormat || (ClipperExportDocumentsFormat = {}));
|
|
1705
1705
|
class ClipperDashboard {
|
|
1706
1706
|
constructor() {
|
|
1707
|
-
this.items = signal([],
|
|
1707
|
+
this.items = signal([], /* @ts-ignore */
|
|
1708
|
+
...(ngDevMode ? [{ debugName: "items" }] : /* istanbul ignore next */ []));
|
|
1708
1709
|
this.isTrial = false;
|
|
1709
1710
|
this.unreadItems = computed(() => {
|
|
1710
1711
|
const states = [];
|
|
@@ -1716,7 +1717,8 @@ class ClipperDashboard {
|
|
|
1716
1717
|
states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
|
|
1717
1718
|
states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
|
|
1718
1719
|
return states;
|
|
1719
|
-
},
|
|
1720
|
+
}, /* @ts-ignore */
|
|
1721
|
+
...(ngDevMode ? [{ debugName: "unreadItems" }] : /* istanbul ignore next */ []));
|
|
1720
1722
|
this.unreadItemsByModel = computed(() => {
|
|
1721
1723
|
const states = [];
|
|
1722
1724
|
this.items().forEach(item => {
|
|
@@ -1750,7 +1752,8 @@ class ClipperDashboard {
|
|
|
1750
1752
|
}
|
|
1751
1753
|
});
|
|
1752
1754
|
return states;
|
|
1753
|
-
},
|
|
1755
|
+
}, /* @ts-ignore */
|
|
1756
|
+
...(ngDevMode ? [{ debugName: "unreadItemsByModel" }] : /* istanbul ignore next */ []));
|
|
1754
1757
|
}
|
|
1755
1758
|
/**
|
|
1756
1759
|
* Increments (or decrements) the unread item counter for the given module or model.
|
|
@@ -2195,23 +2198,35 @@ class ClipperService {
|
|
|
2195
2198
|
this.broadcastInitialized = false;
|
|
2196
2199
|
this._serviceUri = '';
|
|
2197
2200
|
this._flags = ClipperServiceFlags.None;
|
|
2198
|
-
this._loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null,
|
|
2201
|
+
this._loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, /* @ts-ignore */
|
|
2202
|
+
...(ngDevMode ? [{ debugName: "_loggedIn" }] : /* istanbul ignore next */ []));
|
|
2199
2203
|
this.loggedIn = this._loggedIn.asReadonly();
|
|
2200
|
-
this.loggingIn = signal(false,
|
|
2201
|
-
|
|
2202
|
-
this.
|
|
2203
|
-
|
|
2204
|
+
this.loggingIn = signal(false, /* @ts-ignore */
|
|
2205
|
+
...(ngDevMode ? [{ debugName: "loggingIn" }] : /* istanbul ignore next */ []));
|
|
2206
|
+
this.snapshot = signal(undefined, /* @ts-ignore */
|
|
2207
|
+
...(ngDevMode ? [{ debugName: "snapshot" }] : /* istanbul ignore next */ []));
|
|
2208
|
+
this.supportsRS = signal(false, /* @ts-ignore */
|
|
2209
|
+
...(ngDevMode ? [{ debugName: "supportsRS" }] : /* istanbul ignore next */ []));
|
|
2210
|
+
this.referencesSnapshot = signal(undefined, /* @ts-ignore */
|
|
2211
|
+
...(ngDevMode ? [{ debugName: "referencesSnapshot" }] : /* istanbul ignore next */ []));
|
|
2204
2212
|
this.dashboard = new ClipperDashboard();
|
|
2205
|
-
this.bag = signal([],
|
|
2206
|
-
|
|
2207
|
-
this.
|
|
2213
|
+
this.bag = signal([], /* @ts-ignore */
|
|
2214
|
+
...(ngDevMode ? [{ debugName: "bag" }] : /* istanbul ignore next */ []));
|
|
2215
|
+
this.bagTotal = computed(() => this.bag().length, /* @ts-ignore */
|
|
2216
|
+
...(ngDevMode ? [{ debugName: "bagTotal" }] : /* istanbul ignore next */ []));
|
|
2217
|
+
this.visible = signal(false, /* @ts-ignore */
|
|
2218
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
2208
2219
|
this._teams = [];
|
|
2209
|
-
this.availableChannels = signal([],
|
|
2220
|
+
this.availableChannels = signal([], /* @ts-ignore */
|
|
2221
|
+
...(ngDevMode ? [{ debugName: "availableChannels" }] : /* istanbul ignore next */ []));
|
|
2210
2222
|
this.activeChannels = computed(() => {
|
|
2211
2223
|
return this.availableChannels()?.filter(x => !x.suspended && !x.disabled && x.active === true);
|
|
2212
|
-
},
|
|
2213
|
-
|
|
2214
|
-
this.
|
|
2224
|
+
}, /* @ts-ignore */
|
|
2225
|
+
...(ngDevMode ? [{ debugName: "activeChannels" }] : /* istanbul ignore next */ []));
|
|
2226
|
+
this.allowTags = signal(false, /* @ts-ignore */
|
|
2227
|
+
...(ngDevMode ? [{ debugName: "allowTags" }] : /* istanbul ignore next */ []));
|
|
2228
|
+
this.pendingNotes = signal(undefined, /* @ts-ignore */
|
|
2229
|
+
...(ngDevMode ? [{ debugName: "pendingNotes" }] : /* istanbul ignore next */ []));
|
|
2215
2230
|
}
|
|
2216
2231
|
get appUri() {
|
|
2217
2232
|
return this._appUri;
|
|
@@ -3335,10 +3350,10 @@ class ClipperService {
|
|
|
3335
3350
|
countNotesTrackingsTroubled() {
|
|
3336
3351
|
return this.httpClient.get(this._serviceUri + '/account/notes/trackings/troubled');
|
|
3337
3352
|
}
|
|
3338
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3339
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3354
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
|
|
3340
3355
|
}
|
|
3341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperService, decorators: [{
|
|
3342
3357
|
type: Injectable,
|
|
3343
3358
|
args: [{
|
|
3344
3359
|
providedIn: 'root',
|
|
@@ -3423,19 +3438,19 @@ class ClipperAuthInterceptor {
|
|
|
3423
3438
|
service: this.clipperService.serviceUri
|
|
3424
3439
|
});
|
|
3425
3440
|
}
|
|
3426
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3427
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3441
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3442
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperAuthInterceptor }); }
|
|
3428
3443
|
}
|
|
3429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
|
|
3430
3445
|
type: Injectable
|
|
3431
3446
|
}] });
|
|
3432
3447
|
|
|
3433
3448
|
class ArsClipperCommonModule {
|
|
3434
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3435
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3436
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3450
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3451
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3437
3452
|
}
|
|
3438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
|
|
3439
3454
|
type: NgModule
|
|
3440
3455
|
}] });
|
|
3441
3456
|
|