@arsedizioni/ars-utils 20.4.27 → 20.4.29
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 +6 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1 -1
- package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
- package/package.json +5 -5
- package/styles/ui.colors.scss +11 -15
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>;
|
|
@@ -1629,6 +1629,10 @@ class ClipperService {
|
|
|
1629
1629
|
* @param flags: the service flags. Default is none.
|
|
1630
1630
|
*/
|
|
1631
1631
|
initialize(serviceUri, appUri, flags = ClipperServiceFlags.None) {
|
|
1632
|
+
// Create unique client and machine id
|
|
1633
|
+
if (!sessionStorage.getItem('client_id')) {
|
|
1634
|
+
sessionStorage.setItem('client_id', SystemUtils.generateUUID());
|
|
1635
|
+
}
|
|
1632
1636
|
// Initialize
|
|
1633
1637
|
this._serviceUri = serviceUri;
|
|
1634
1638
|
this._appUri = appUri;
|
|
@@ -2626,7 +2630,8 @@ class ClipperAuthInterceptor {
|
|
|
2626
2630
|
request = request.clone({
|
|
2627
2631
|
withCredentials: true,
|
|
2628
2632
|
setHeaders: {
|
|
2629
|
-
'ngsw-bypass': 'ngsw-bypass'
|
|
2633
|
+
'ngsw-bypass': 'ngsw-bypass',
|
|
2634
|
+
'X-Client-Id': sessionStorage.getItem('client_id') ?? ''
|
|
2630
2635
|
}
|
|
2631
2636
|
});
|
|
2632
2637
|
return next.handle(request)
|