@arsedizioni/ars-utils 20.4.68 → 21.0.1
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 +116 -116
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +127 -127
- 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 +18 -18
- 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 +10 -10
- 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 +149 -149
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +59 -59
- 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 +14 -14
- package/{clipper.common/index.d.ts → types/arsedizioni-ars-utils-clipper.common.d.ts} +3 -3
- /package/{clipper.ui/index.d.ts → types/arsedizioni-ars-utils-clipper.ui.d.ts} +0 -0
- /package/{core/index.d.ts → types/arsedizioni-ars-utils-core.d.ts} +0 -0
- /package/{evolution.common/index.d.ts → types/arsedizioni-ars-utils-evolution.common.d.ts} +0 -0
- /package/{help/index.d.ts → types/arsedizioni-ars-utils-help.d.ts} +0 -0
- /package/{support.common/index.d.ts → types/arsedizioni-ars-utils-support.common.d.ts} +0 -0
- /package/{support.ui/index.d.ts → types/arsedizioni-ars-utils-support.ui.d.ts} +0 -0
- /package/{tinymce/index.d.ts → types/arsedizioni-ars-utils-tinymce.d.ts} +0 -0
- /package/{ui.application/index.d.ts → types/arsedizioni-ars-utils-ui.application.d.ts} +0 -0
- /package/{ui/index.d.ts → types/arsedizioni-ars-utils-ui.d.ts} +0 -0
- /package/{ui.oauth/index.d.ts → types/arsedizioni-ars-utils-ui.oauth.d.ts} +0 -0
- /package/{index.d.ts → types/arsedizioni-ars-utils.d.ts} +0 -0
|
@@ -1115,7 +1115,7 @@ var ClipperExportDocumentsFormat;
|
|
|
1115
1115
|
})(ClipperExportDocumentsFormat || (ClipperExportDocumentsFormat = {}));
|
|
1116
1116
|
class ClipperDashboard {
|
|
1117
1117
|
constructor() {
|
|
1118
|
-
this.items = signal([], ...(ngDevMode ?
|
|
1118
|
+
this.items = signal([], { ...(ngDevMode ? { debugName: "items" } : {}) });
|
|
1119
1119
|
this.isTrial = false;
|
|
1120
1120
|
this.unreadItems = computed(() => {
|
|
1121
1121
|
const states = [];
|
|
@@ -1127,7 +1127,7 @@ class ClipperDashboard {
|
|
|
1127
1127
|
states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
|
|
1128
1128
|
states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
|
|
1129
1129
|
return states;
|
|
1130
|
-
}, ...(ngDevMode ?
|
|
1130
|
+
}, { ...(ngDevMode ? { debugName: "unreadItems" } : {}) });
|
|
1131
1131
|
this.unreadItemsByModel = computed(() => {
|
|
1132
1132
|
const states = [];
|
|
1133
1133
|
this.items().forEach(item => {
|
|
@@ -1161,7 +1161,7 @@ class ClipperDashboard {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
});
|
|
1163
1163
|
return states;
|
|
1164
|
-
}, ...(ngDevMode ?
|
|
1164
|
+
}, { ...(ngDevMode ? { debugName: "unreadItemsByModel" } : {}) });
|
|
1165
1165
|
}
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Update unread items
|
|
@@ -1571,28 +1571,28 @@ class ClipperService {
|
|
|
1571
1571
|
this.dialogService = inject(DialogService);
|
|
1572
1572
|
this._serviceUri = '';
|
|
1573
1573
|
this._flags = ClipperServiceFlags.None;
|
|
1574
|
-
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, ...(ngDevMode ?
|
|
1575
|
-
this.loggingIn = signal(false, ...(ngDevMode ?
|
|
1576
|
-
this.snapshot = signal(undefined, ...(ngDevMode ?
|
|
1577
|
-
this.supportsRS = signal(false, ...(ngDevMode ?
|
|
1578
|
-
this.referencesSnapshot = signal(undefined, ...(ngDevMode ?
|
|
1574
|
+
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, { ...(ngDevMode ? { debugName: "loggedIn" } : {}) });
|
|
1575
|
+
this.loggingIn = signal(false, { ...(ngDevMode ? { debugName: "loggingIn" } : {}) });
|
|
1576
|
+
this.snapshot = signal(undefined, { ...(ngDevMode ? { debugName: "snapshot" } : {}) });
|
|
1577
|
+
this.supportsRS = signal(false, { ...(ngDevMode ? { debugName: "supportsRS" } : {}) });
|
|
1578
|
+
this.referencesSnapshot = signal(undefined, { ...(ngDevMode ? { debugName: "referencesSnapshot" } : {}) });
|
|
1579
1579
|
this.dashboard = new ClipperDashboard();
|
|
1580
|
-
this.bag = signal([], ...(ngDevMode ?
|
|
1580
|
+
this.bag = signal([], { ...(ngDevMode ? { debugName: "bag" } : {}) });
|
|
1581
1581
|
this.bagTotal = computed(() => {
|
|
1582
1582
|
return this.bag().length;
|
|
1583
|
-
}, ...(ngDevMode ?
|
|
1584
|
-
this.visible = signal(false, ...(ngDevMode ?
|
|
1583
|
+
}, { ...(ngDevMode ? { debugName: "bagTotal" } : {}) });
|
|
1584
|
+
this.visible = signal(false, { ...(ngDevMode ? { debugName: "visible" } : {}) });
|
|
1585
1585
|
this._teams = [];
|
|
1586
|
-
this.currentTeamId = signal(SystemUtils.emptyUUID(), ...(ngDevMode ?
|
|
1587
|
-
this.currentTeamName = signal("PERSONALE", ...(ngDevMode ?
|
|
1586
|
+
this.currentTeamId = signal(SystemUtils.emptyUUID(), { ...(ngDevMode ? { debugName: "currentTeamId" } : {}) });
|
|
1587
|
+
this.currentTeamName = signal("PERSONALE", { ...(ngDevMode ? { debugName: "currentTeamName" } : {}) });
|
|
1588
1588
|
this.currentTeamIsPrivate = computed(() => {
|
|
1589
1589
|
return this.currentTeamId() !== SystemUtils.emptyUUID();
|
|
1590
|
-
}, ...(ngDevMode ?
|
|
1591
|
-
this.availableChannels = signal([], ...(ngDevMode ?
|
|
1590
|
+
}, { ...(ngDevMode ? { debugName: "currentTeamIsPrivate" } : {}) });
|
|
1591
|
+
this.availableChannels = signal([], { ...(ngDevMode ? { debugName: "availableChannels" } : {}) });
|
|
1592
1592
|
this.activeChannels = computed(() => {
|
|
1593
1593
|
return this.availableChannels()?.filter(x => !x.disabled && x.active === true);
|
|
1594
|
-
}, ...(ngDevMode ?
|
|
1595
|
-
this.allowTags = signal(false, ...(ngDevMode ?
|
|
1594
|
+
}, { ...(ngDevMode ? { debugName: "activeChannels" } : {}) });
|
|
1595
|
+
this.allowTags = signal(false, { ...(ngDevMode ? { debugName: "allowTags" } : {}) });
|
|
1596
1596
|
}
|
|
1597
1597
|
get appUri() {
|
|
1598
1598
|
return this._appUri;
|
|
@@ -2612,10 +2612,10 @@ class ClipperService {
|
|
|
2612
2612
|
downloadArchiveFile(id, otp) {
|
|
2613
2613
|
return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
|
|
2614
2614
|
}
|
|
2615
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2616
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2616
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
|
|
2617
2617
|
}
|
|
2618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperService, decorators: [{
|
|
2619
2619
|
type: Injectable,
|
|
2620
2620
|
args: [{
|
|
2621
2621
|
providedIn: 'root',
|
|
@@ -2672,19 +2672,19 @@ class ClipperAuthInterceptor {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
return next.handle(request);
|
|
2674
2674
|
}
|
|
2675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2676
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2676
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor }); }
|
|
2677
2677
|
}
|
|
2678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
|
|
2679
2679
|
type: Injectable
|
|
2680
2680
|
}] });
|
|
2681
2681
|
|
|
2682
2682
|
class ArsClipperCommonModule {
|
|
2683
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2684
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2685
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2684
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
2685
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
2686
2686
|
}
|
|
2687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.1", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
|
|
2688
2688
|
type: NgModule
|
|
2689
2689
|
}] });
|
|
2690
2690
|
|