cordage-enterprise 0.9.2 → 0.9.3

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.
@@ -219577,11 +219577,12 @@ const kvc = $("div", {
219577
219577
  btnFiltersText: r = "Filters",
219578
219578
  onChangeDashboard: i = () => {
219579
219579
  },
219580
- placeholderOptions: t
219580
+ placeholderOptions: t,
219581
+ presetOptions: f
219581
219582
  }) => {
219582
- const { init: f, isMobile: A } = Es();
219583
+ const { init: A, isMobile: m } = Es();
219583
219584
  return w1(() => {
219584
- f();
219585
+ A();
219585
219586
  }, []), /* @__PURE__ */ L.jsxs(
219586
219587
  qvc,
219587
219588
  {
@@ -219599,7 +219600,7 @@ const kvc = $("div", {
219599
219600
  /* @__PURE__ */ L.jsx(
219600
219601
  v0,
219601
219602
  {
219602
- size: A ? "xxs" : "sm",
219603
+ size: m ? "xxs" : "sm",
219603
219604
  iconName: a,
219604
219605
  colorIcon: "orange600",
219605
219606
  backgroundColor: "orange100"
@@ -219610,7 +219611,7 @@ const kvc = $("div", {
219610
219611
  {
219611
219612
  className: "titleDashboard",
219612
219613
  children: [
219613
- A ? /* @__PURE__ */ L.jsx(cC, { variant: "bold", children: c }) : /* @__PURE__ */ L.jsx(
219614
+ m ? /* @__PURE__ */ L.jsx(cC, { variant: "bold", children: c }) : /* @__PURE__ */ L.jsx(
219614
219615
  xs,
219615
219616
  {
219616
219617
  variant: "bold",
@@ -219638,7 +219639,7 @@ const kvc = $("div", {
219638
219639
  ]
219639
219640
  }
219640
219641
  ),
219641
- n && A && /* @__PURE__ */ L.jsx(
219642
+ n && m && /* @__PURE__ */ L.jsx(
219642
219643
  C0,
219643
219644
  {
219644
219645
  variant: "tertiary",
@@ -219661,13 +219662,14 @@ const kvc = $("div", {
219661
219662
  placeholder: t,
219662
219663
  isMultiselectList: !1,
219663
219664
  isBtnCleanOption: !0,
219664
- onChange: (m) => i(m.target.value),
219665
- renderItem: (m) => {
219666
- const z = m;
219665
+ preset: f,
219666
+ onChange: (z) => i(z.target.value),
219667
+ renderItem: (z) => {
219668
+ const C = z;
219667
219669
  return /* @__PURE__ */ L.jsx(
219668
219670
  p9,
219669
219671
  {
219670
- componentIcon: z.isMain ? /* @__PURE__ */ L.jsx(
219672
+ componentIcon: C.isMain ? /* @__PURE__ */ L.jsx(
219671
219673
  r2,
219672
219674
  {
219673
219675
  variant: "solid",
@@ -219682,20 +219684,20 @@ const kvc = $("div", {
219682
219684
  }
219683
219685
  ) : null,
219684
219686
  variant: "oneLine",
219685
- label: z.label,
219686
- typeVisualLeft: z.isMain ? "icon" : void 0,
219687
+ label: C.label,
219688
+ typeVisualLeft: C.isMain ? "icon" : void 0,
219687
219689
  as: "div",
219688
- titleItem: z.title,
219689
- badgeText: z.isDefault ? "Default" : void 0,
219690
+ titleItem: C.title,
219691
+ badgeText: C.isDefault ? "Default" : void 0,
219690
219692
  colorBadgeRight: "fuchsia",
219691
219693
  colorBadge: "fuchsia",
219692
219694
  stopPropagation: !1
219693
219695
  }
219694
219696
  );
219695
219697
  },
219696
- getDisplayValue: (m) => m.label,
219698
+ getDisplayValue: (z) => z.label,
219697
219699
  stylesContainer: {
219698
- width: A ? "100%" : "24rem"
219700
+ width: m ? "100%" : "24rem"
219699
219701
  },
219700
219702
  stylesCombobox: {
219701
219703
  padding: ".925rem 1.2rem"
@@ -219705,7 +219707,7 @@ const kvc = $("div", {
219705
219707
  }
219706
219708
  }
219707
219709
  ),
219708
- n && !A && /* @__PURE__ */ L.jsx(
219710
+ n && !m && /* @__PURE__ */ L.jsx(
219709
219711
  C0,
219710
219712
  {
219711
219713
  variant: "tertiary",
@@ -265410,17 +265412,17 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265410
265412
  cssReports: t,
265411
265413
  options: f,
265412
265414
  placeholderOptions: A,
265413
- breadcrumbs: m,
265414
- onClickBreadcrumb: z = () => {
265415
+ presetOptions: m,
265416
+ breadcrumbs: z,
265417
+ onClickBreadcrumb: C = () => {
265415
265418
  },
265416
- onClickBtn: C = () => {
265419
+ onClickBtn: u = () => {
265417
265420
  },
265418
- _openFilters: u,
265419
- subPanelContent: g,
265420
- isOpenSubPanel: p = !1,
265421
- cssSubPanel: M,
265422
- subPanelTitle: h,
265423
- optionsCards: v,
265421
+ _openFilters: g,
265422
+ subPanelContent: p,
265423
+ isOpenSubPanel: M = !1,
265424
+ cssSubPanel: h,
265425
+ subPanelTitle: v,
265424
265426
  onToggleFilters: x,
265425
265427
  onToggleSubPanel: w,
265426
265428
  onToggleReport: I,
@@ -265434,10 +265436,10 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265434
265436
  };
265435
265437
  return document.addEventListener("mousedown", W), () => document.removeEventListener("mousedown", W);
265436
265438
  }, []), w1(() => {
265437
- u !== void 0 && P(u);
265438
- }, [u]), w1(() => {
265439
- p !== void 0 && k(p);
265440
- }, [p]);
265439
+ g !== void 0 && P(g);
265440
+ }, [g]), w1(() => {
265441
+ M !== void 0 && k(M);
265442
+ }, [M]);
265441
265443
  const H = (W) => {
265442
265444
  P(W), x == null || x(W);
265443
265445
  }, R = (W) => {
@@ -265453,18 +265455,18 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265453
265455
  className: "dashboardContainer",
265454
265456
  css: n,
265455
265457
  children: [
265456
- m && /* @__PURE__ */ L.jsx(
265458
+ z && /* @__PURE__ */ L.jsx(
265457
265459
  N,
265458
265460
  {
265459
265461
  display: "flex",
265460
265462
  gap: ".4rem",
265461
265463
  alignItems: "center",
265462
265464
  className: "breadcrumbsContainer",
265463
- children: m.map((W, q) => /* @__PURE__ */ L.jsx(
265465
+ children: z.map((W, q) => /* @__PURE__ */ L.jsx(
265464
265466
  EC,
265465
265467
  {
265466
265468
  ...W,
265467
- onClick: () => z(W)
265469
+ onClick: () => C(W)
265468
265470
  },
265469
265471
  q
265470
265472
  ))
@@ -265476,13 +265478,14 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265476
265478
  title: c,
265477
265479
  iconName: l,
265478
265480
  onClickBtn: () => {
265479
- C(), H(!y);
265481
+ u(), H(!y);
265480
265482
  },
265481
265483
  onChangeDashboard: s,
265482
265484
  css: o,
265483
265485
  options: f,
265484
265486
  hasFilters: !!a,
265485
- placeholderOptions: A
265487
+ placeholderOptions: A,
265488
+ presetOptions: m
265486
265489
  }
265487
265490
  ),
265488
265491
  /* @__PURE__ */ L.jsxs(
@@ -265528,7 +265531,7 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265528
265531
  ]
265529
265532
  }
265530
265533
  ),
265531
- T && /* @__PURE__ */ L.jsxs(tWc, { css: M, className: "subPanelContainer", children: [
265534
+ T && /* @__PURE__ */ L.jsxs(tWc, { css: h, className: "subPanelContainer", children: [
265532
265535
  /* @__PURE__ */ L.jsxs(fWc, { className: "subPanelTitleContainer", children: [
265533
265536
  /* @__PURE__ */ L.jsx(
265534
265537
  C0,
@@ -265541,9 +265544,9 @@ const oWc = ({ legends: c, type: l = "column" }) => {
265541
265544
  onClick: () => R(!1)
265542
265545
  }
265543
265546
  ),
265544
- /* @__PURE__ */ L.jsx(b3, { variant: "bold", children: h ?? "Back to Dashboard" })
265547
+ /* @__PURE__ */ L.jsx(b3, { variant: "bold", children: v ?? "Back to Dashboard" })
265545
265548
  ] }),
265546
- /* @__PURE__ */ L.jsx(AWc, { className: "subPanelContentContainer", children: g })
265549
+ /* @__PURE__ */ L.jsx(AWc, { className: "subPanelContentContainer", children: p })
265547
265550
  ] })
265548
265551
  ]
265549
265552
  }