@uxland/primary-shell 8.4.1 → 8.5.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/dist/index.d.ts CHANGED
@@ -105,6 +105,10 @@ declare const BROKER_EVENTS: {
105
105
  readonly helpCenter: {
106
106
  readonly helpRequested: "help_requested";
107
107
  };
108
+ readonly petitions: {
109
+ readonly imageRequested: "petition_image_requested";
110
+ readonly pdfRequested: "petition_pdf_requested";
111
+ };
108
112
  };
109
113
 
110
114
  /**
@@ -692,7 +696,7 @@ export declare class PrimariaNavItem extends RegionLitElement {
692
696
  config: PrimariaNavItemConfig;
693
697
  }
694
698
 
695
- declare interface PrimariaNavItemConfig extends MenuItem {
699
+ export declare interface PrimariaNavItemConfig extends MenuItem {
696
700
  callbackFn?: () => void;
697
701
  showArrow?: boolean;
698
702
  fill?: boolean;
@@ -701,6 +705,23 @@ declare interface PrimariaNavItemConfig extends MenuItem {
701
705
  nestedMenuItems?: PrimariaNavItemConfig[];
702
706
  }
703
707
 
708
+ export declare class PrimariaNavTreeMenu extends LitElement {
709
+ static styles: CSSResult;
710
+ config: PrimariaNavTreeMenuConfig;
711
+ showActionMenu: boolean;
712
+ constructor(config: PrimariaNavTreeMenuConfig);
713
+ get primariaNavItemConfig(): PrimariaNavItemConfig;
714
+ handleItemClick: () => void;
715
+ handleCloseMenu: () => void;
716
+ render(): TemplateResult<1>;
717
+ }
718
+
719
+ export declare interface PrimariaNavTreeMenuConfig {
720
+ icon: string;
721
+ label: string;
722
+ actionMenuItems: PrimariaNavItemConfig[];
723
+ }
724
+
704
725
  declare abstract class PrimariaNotificationService {
705
726
  abstract info(message: string): void;
706
727
  abstract warning(message: string): void;
package/dist/index.js CHANGED
@@ -1,24 +1,25 @@
1
- import { f as i, G as s, H as e, E as r, F as t, I as S, L as I, J as _, M as n, y as R, A as T, P as o, z as C, R as P, x as D, B as c, v as A, w as l, u as m, K as L } from "./index-CZu0_eln.js";
1
+ import { f as E, H as e, I as s, E as r, G as t, J as S, L as I, K as n, N as T, y as _, z as R, B as P, P as o, A as C, R as D, x as c, F as A, v as l, w as m, u as N, M as L } from "./index-Be5mxdI-.js";
2
2
  export {
3
- i as CIPDS_DIAGNOSTIC_FILTER_HISTORIC_REQUESTED,
4
- s as CIPDS_SELECTION_REQUEST,
5
- e as CLINICAL_COURSE_DRAFT_APPEND_REQUESTED,
3
+ E as CIPDS_DIAGNOSTIC_FILTER_HISTORIC_REQUESTED,
4
+ e as CIPDS_SELECTION_REQUEST,
5
+ s as CLINICAL_COURSE_DRAFT_APPEND_REQUESTED,
6
6
  r as EcapEventManager,
7
7
  t as ExitShell,
8
8
  S as HELP_REQUESTED,
9
9
  I as LAST_WORKED_DIAGNOSTICS_KEY,
10
- _ as PrimariaContentSwitcher,
11
- n as PrimariaInteractionService,
12
- R as PrimariaNavItem,
13
- T as PrimariaRegion,
10
+ n as PrimariaContentSwitcher,
11
+ T as PrimariaInteractionService,
12
+ _ as PrimariaNavItem,
13
+ R as PrimariaNavTreeMenu,
14
+ P as PrimariaRegion,
14
15
  o as PrimariaRegionHost,
15
16
  C as QuickActionItem,
16
- P as REQUEST_DIAGNOSTICS_SELECTOR,
17
- D as bootstrapPlugins,
18
- c as createEcapEventManager,
19
- A as initializeShell,
20
- l as setInitialTokens,
21
- m as shellApi,
17
+ D as REQUEST_DIAGNOSTICS_SELECTOR,
18
+ c as bootstrapPlugins,
19
+ A as createEcapEventManager,
20
+ l as initializeShell,
21
+ m as setInitialTokens,
22
+ N as shellApi,
22
23
  L as wrapReactViewFactory
23
24
  };
24
25
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { d as ge, i as et, a as Xe, n as J, C as zi, D as T, k as h, r as q, b as W, h as Y, t as j, Q as ie, c as Pt, e as Z, f as Vi, g as Gi, j as Ni, l as Bi, m as Li, o as Js, p as Xt, q as qi, P as Wi } from "./index-CZu0_eln.js";
1
+ import { d as ge, i as et, a as Xe, n as J, C as zi, D as T, k as h, r as q, b as W, h as Y, t as j, Q as ie, c as Pt, e as Z, f as Vi, g as Gi, j as Ni, l as Bi, m as Li, o as Js, p as Xt, q as qi, P as Wi } from "./index-Be5mxdI-.js";
2
2
  const Yi = ({ primaryApi: e, store: t }) => {
3
3
  class s {
4
4
  constructor(o) {
@@ -6863,16 +6863,13 @@ Ii([
6863
6863
  ht = Ii([
6864
6864
  j("activity-history-search-results")
6865
6865
  ], ht);
6866
- const ih = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", nh = (e) => h`<dss-input
6867
- hideLabel
6868
- clearable
6866
+ const ih = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", nh = (e) => h`<dss-searchbar
6869
6867
  label=${m("search")}
6870
6868
  placeholder=${m("searchPlaceholder")}
6871
- icon="search"
6872
6869
  size="md"
6873
6870
  .value=${e.searchQuery}
6874
6871
  @change=${e._handleSearchChange}
6875
- ></dss-input>`;
6872
+ ></dss-searchbar>`;
6876
6873
  var oh = Object.defineProperty, ah = Object.getOwnPropertyDescriptor, Ei = (e, t, s, r) => {
6877
6874
  for (var i = r > 1 ? void 0 : r ? ah(t, s) : t, n = e.length - 1, o; n >= 0; n--)
6878
6875
  (o = e[n]) && (i = (r ? o(t, s, i) : o(i)) || i);
@@ -7765,4 +7762,4 @@ export {
7765
7762
  yf as dispose,
7766
7763
  gf as initialize
7767
7764
  };
7768
- //# sourceMappingURL=plugin-BftdkwTT.js.map
7765
+ //# sourceMappingURL=plugin-7bN678mV.js.map