@uxland/primary-shell 5.6.8 → 5.6.9
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/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/features/open-hes-visor/open-hes-visor.d.ts +1 -0
- package/package.json +1 -1
- package/src/UI/internal-views/upper-nav-views.ts +2 -1
- package/src/features/open-hes-visor/open-hes-visor.ts +6 -0
- package/src/internal-plugins/activity-history/activity-history-item/list/merge-history-items-and-subgroups/merge-history-items-and-subgroups.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -14578,13 +14578,13 @@ const hasItemDivider = (te, J) => {
|
|
|
14578
14578
|
const X = J.findIndex((ne) => ne.id === te.id);
|
|
14579
14579
|
return X === -1 ? !1 : X === J.length - 1 ? !0 : !((re = te.diagnostics) != null && re.length);
|
|
14580
14580
|
}, mergeHistoryItemsAndSubgroups = (te) => {
|
|
14581
|
-
const J = te.items.map((re) => ({
|
|
14581
|
+
const J = te == null ? void 0 : te.items.map((re) => ({
|
|
14582
14582
|
type: "item",
|
|
14583
14583
|
date: new Date(re.date),
|
|
14584
14584
|
item: re
|
|
14585
14585
|
})), X = te.subGroups.map((re) => ({
|
|
14586
14586
|
type: "subGroup",
|
|
14587
|
-
date: re.items.length ? new Date(re.items[0].date) : /* @__PURE__ */ new Date(0),
|
|
14587
|
+
date: re != null && re.items.length ? new Date(re.items[0].date) : /* @__PURE__ */ new Date(0),
|
|
14588
14588
|
subGroup: re
|
|
14589
14589
|
}));
|
|
14590
14590
|
return [...J, ...X].sort((re, ne) => ne.date.getTime() - re.date.getTime());
|
|
@@ -44751,7 +44751,9 @@ __decorateClass([
|
|
|
44751
44751
|
QuickActionItem = __decorateClass([
|
|
44752
44752
|
t$k("quick-action-item")
|
|
44753
44753
|
], QuickActionItem);
|
|
44754
|
-
const
|
|
44754
|
+
const sendHesFormRequest = "send_hes_form", openHesVisor = () => {
|
|
44755
|
+
shellApi.broker.send(sendHesFormRequest);
|
|
44756
|
+
}, upperNavMenuItems = [
|
|
44755
44757
|
{
|
|
44756
44758
|
id: "landing",
|
|
44757
44759
|
icon: "home",
|
|
@@ -44938,8 +44940,7 @@ const upperNavMenuItems = [
|
|
|
44938
44940
|
label: "Visor",
|
|
44939
44941
|
type: "item",
|
|
44940
44942
|
sortHint: "0140",
|
|
44941
|
-
callbackFn:
|
|
44942
|
-
}
|
|
44943
|
+
callbackFn: openHesVisor
|
|
44943
44944
|
}
|
|
44944
44945
|
], registerUpperNavMenuViews = () => {
|
|
44945
44946
|
for (const te of upperNavMenuItems)
|