@arsedizioni/ars-utils 20.0.38 → 20.1.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/clipper.ui/index.d.ts +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +28 -28
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +110 -110
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-core.mjs +126 -125
- package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +13 -13
- 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 +14 -14
- 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 +136 -136
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.mjs +42 -42
- 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 +9 -9
- package/ui.application/index.d.ts +1 -1
package/clipper.ui/index.d.ts
CHANGED
|
@@ -1031,7 +1031,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
|
|
|
1031
1031
|
private changeDetector;
|
|
1032
1032
|
private clipperService;
|
|
1033
1033
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1034
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1034
|
+
readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
|
|
1035
1035
|
protected selection: () => ClipperDocumentInfo[];
|
|
1036
1036
|
readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
|
|
1037
1037
|
readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
|
|
@@ -1538,7 +1538,7 @@ var ClipperExportDocumentsFormat;
|
|
|
1538
1538
|
})(ClipperExportDocumentsFormat || (ClipperExportDocumentsFormat = {}));
|
|
1539
1539
|
class ClipperDashboard {
|
|
1540
1540
|
constructor() {
|
|
1541
|
-
this.items = signal([]);
|
|
1541
|
+
this.items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
1542
1542
|
this.isTrial = false;
|
|
1543
1543
|
this.unreadItems = computed(() => {
|
|
1544
1544
|
const states = [];
|
|
@@ -1550,7 +1550,7 @@ class ClipperDashboard {
|
|
|
1550
1550
|
states.push([ClipperModule.Approfondimenti, this.items().find((x) => x.id == ClipperModule.Approfondimenti)?.unreadItems ?? 0]);
|
|
1551
1551
|
states.push([ClipperModule.QuesitiECasiRisolti, this.items().find((x) => x.id == ClipperModule.QuesitiECasiRisolti)?.unreadItems ?? 0]);
|
|
1552
1552
|
return states;
|
|
1553
|
-
});
|
|
1553
|
+
}, ...(ngDevMode ? [{ debugName: "unreadItems" }] : []));
|
|
1554
1554
|
this.unreadItemsByModel = computed(() => {
|
|
1555
1555
|
const states = [];
|
|
1556
1556
|
this.items().forEach(item => {
|
|
@@ -1584,7 +1584,7 @@ class ClipperDashboard {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
});
|
|
1586
1586
|
return states;
|
|
1587
|
-
});
|
|
1587
|
+
}, ...(ngDevMode ? [{ debugName: "unreadItemsByModel" }] : []));
|
|
1588
1588
|
}
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Update unread items
|
|
@@ -1995,29 +1995,29 @@ class ClipperService {
|
|
|
1995
1995
|
this.keepAlive = 0;
|
|
1996
1996
|
this._serviceUri = '';
|
|
1997
1997
|
this._flags = ClipperServiceFlags.None;
|
|
1998
|
-
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null);
|
|
1999
|
-
this.loggingIn = signal(false);
|
|
2000
|
-
this.snapshot = signal(undefined);
|
|
2001
|
-
this.supportsRS = signal(false);
|
|
2002
|
-
this.shouldRefreshToken = signal(false);
|
|
2003
|
-
this.referencesSnapshot = signal(undefined);
|
|
1998
|
+
this.loggedIn = signal(sessionStorage.getItem("clipper_oauth_token") !== null, ...(ngDevMode ? [{ debugName: "loggedIn" }] : []));
|
|
1999
|
+
this.loggingIn = signal(false, ...(ngDevMode ? [{ debugName: "loggingIn" }] : []));
|
|
2000
|
+
this.snapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "snapshot" }] : []));
|
|
2001
|
+
this.supportsRS = signal(false, ...(ngDevMode ? [{ debugName: "supportsRS" }] : []));
|
|
2002
|
+
this.shouldRefreshToken = signal(false, ...(ngDevMode ? [{ debugName: "shouldRefreshToken" }] : []));
|
|
2003
|
+
this.referencesSnapshot = signal(undefined, ...(ngDevMode ? [{ debugName: "referencesSnapshot" }] : []));
|
|
2004
2004
|
this.dashboard = new ClipperDashboard();
|
|
2005
|
-
this.bag = signal([]);
|
|
2005
|
+
this.bag = signal([], ...(ngDevMode ? [{ debugName: "bag" }] : []));
|
|
2006
2006
|
this.bagTotal = computed(() => {
|
|
2007
2007
|
return this.bag().length;
|
|
2008
|
-
});
|
|
2009
|
-
this.visible = signal(false);
|
|
2008
|
+
}, ...(ngDevMode ? [{ debugName: "bagTotal" }] : []));
|
|
2009
|
+
this.visible = signal(false, ...(ngDevMode ? [{ debugName: "visible" }] : []));
|
|
2010
2010
|
this._teams = [];
|
|
2011
|
-
this.currentTeamId = signal(SystemUtils.emptyUUID());
|
|
2012
|
-
this.currentTeamName = signal("PERSONALE");
|
|
2011
|
+
this.currentTeamId = signal(SystemUtils.emptyUUID(), ...(ngDevMode ? [{ debugName: "currentTeamId" }] : []));
|
|
2012
|
+
this.currentTeamName = signal("PERSONALE", ...(ngDevMode ? [{ debugName: "currentTeamName" }] : []));
|
|
2013
2013
|
this.currentTeamIsPrivate = computed(() => {
|
|
2014
2014
|
return this.currentTeamId() !== SystemUtils.emptyUUID();
|
|
2015
|
-
});
|
|
2016
|
-
this.availableChannels = signal([]);
|
|
2015
|
+
}, ...(ngDevMode ? [{ debugName: "currentTeamIsPrivate" }] : []));
|
|
2016
|
+
this.availableChannels = signal([], ...(ngDevMode ? [{ debugName: "availableChannels" }] : []));
|
|
2017
2017
|
this.activeChannels = computed(() => {
|
|
2018
2018
|
return this.availableChannels()?.filter(x => !x.disabled && x.active === true);
|
|
2019
|
-
});
|
|
2020
|
-
this.allowTags = signal(false);
|
|
2019
|
+
}, ...(ngDevMode ? [{ debugName: "activeChannels" }] : []));
|
|
2020
|
+
this.allowTags = signal(false, ...(ngDevMode ? [{ debugName: "allowTags" }] : []));
|
|
2021
2021
|
}
|
|
2022
2022
|
get appUri() {
|
|
2023
2023
|
return this._appUri;
|
|
@@ -3078,10 +3078,10 @@ class ClipperService {
|
|
|
3078
3078
|
downloadArchiveFile(id, otp) {
|
|
3079
3079
|
return this.httpClient.get(this._serviceUri + '/archive/files/download/?id=' + id + '&otp=' + (otp ?? ''), { responseType: 'blob' });
|
|
3080
3080
|
}
|
|
3081
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0
|
|
3082
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0
|
|
3081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3082
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperService, providedIn: 'root' }); }
|
|
3083
3083
|
}
|
|
3084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0
|
|
3084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperService, decorators: [{
|
|
3085
3085
|
type: Injectable,
|
|
3086
3086
|
args: [{
|
|
3087
3087
|
providedIn: 'root',
|
|
@@ -3174,19 +3174,19 @@ class ClipperAuthInterceptor {
|
|
|
3174
3174
|
}
|
|
3175
3175
|
return request;
|
|
3176
3176
|
}
|
|
3177
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0
|
|
3178
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0
|
|
3177
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperAuthInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3178
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperAuthInterceptor }); }
|
|
3179
3179
|
}
|
|
3180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0
|
|
3180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ClipperAuthInterceptor, decorators: [{
|
|
3181
3181
|
type: Injectable
|
|
3182
3182
|
}] });
|
|
3183
3183
|
|
|
3184
3184
|
class ArsClipperCommonModule {
|
|
3185
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0
|
|
3186
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0
|
|
3187
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0
|
|
3185
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ArsClipperCommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3186
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.0", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3187
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ArsClipperCommonModule }); }
|
|
3188
3188
|
}
|
|
3189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0
|
|
3189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0", ngImport: i0, type: ArsClipperCommonModule, decorators: [{
|
|
3190
3190
|
type: NgModule
|
|
3191
3191
|
}] });
|
|
3192
3192
|
|