@uxland/primary-shell 5.6.7 → 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 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());
@@ -16318,12 +16318,12 @@ const bootstrapActivityHistoryItem = (te) => {
16318
16318
  </dss-datepicker>
16319
16319
  </div>
16320
16320
  <div class="header__maximized__right">
16321
- <div>
16321
+ <!-- <div>
16322
16322
  <dss-button variant="subtle" size="md" label="${translate("actions.moreOptions")}" icon="more_horiz" iconposition="left"></dss-button>
16323
- <!-- <dss-action-menu position="bottom-start">
16323
+ <dss-action-menu position="bottom-start">
16324
16324
  <dss-action-menu-item @click=${() => te.api.broker.send(new ExportPdf())} lefticon="file_download" label=${translate("actions.exportPdf")}></dss-action-menu-item>
16325
- </dss-action-menu> -->
16326
- </div>
16325
+ </dss-action-menu>
16326
+ </div> -->
16327
16327
  <dss-button label="${translate("actions.entryLegend")}" size="md" variant="secondary" icon="info"></dss-button>
16328
16328
  <dss-button label="${translate("actions.cronogram")}" size="md" variant="primary" icon="view_timeline" @click=${te._raiseEcapCronogramEvent}></dss-button>
16329
16329
  </div>
@@ -44751,7 +44751,9 @@ __decorateClass([
44751
44751
  QuickActionItem = __decorateClass([
44752
44752
  t$k("quick-action-item")
44753
44753
  ], QuickActionItem);
44754
- const upperNavMenuItems = [
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)