@hortiview/shared-components 0.0.4624 → 0.0.4721

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.
Files changed (53) hide show
  1. package/dist/ListAreaService-BQCdQv7a.js +68 -0
  2. package/dist/assets/DeleteModal.css +1 -1
  3. package/dist/{component-Rx4bNsGO.js → component-DCtofpGS.js} +1 -1
  4. package/dist/components/BaseView/BaseView.js +30 -28
  5. package/dist/components/BaseView/BaseView.test.js +1 -1
  6. package/dist/components/BasicHeading/BasicHeading.js +51 -40
  7. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  8. package/dist/components/BlockView/BlockView.js +51 -41
  9. package/dist/components/DeleteModal/DeleteModal.js +36 -34
  10. package/dist/components/Disclaimer/Disclaimer.js +14 -11
  11. package/dist/components/EmptyView/EmptyView.js +4 -4
  12. package/dist/components/HashTabView/HashTabView.js +68 -60
  13. package/dist/components/HeaderFilter/HeaderFilter.js +629 -628
  14. package/dist/components/Iconify/Iconify.js +1 -1
  15. package/dist/components/ListArea/ListArea.js +233 -189
  16. package/dist/components/ListArea/ListArea.test.js +2 -2
  17. package/dist/components/ListArea/ListAreaService.js +9 -56
  18. package/dist/components/SearchBar/SearchBar.js +48 -47
  19. package/dist/components/VerticalDivider/VerticalDivider.js +6 -4
  20. package/dist/hooks/useBreakpoint.js +2 -2
  21. package/dist/{index.es-InSNsV4f.js → index.es-3I3oam0G.js} +1 -1
  22. package/dist/{index.es-Cct4Uapb.js → index.es-BahjEG5L.js} +28 -28
  23. package/dist/{index.es-L0ZCcbUf.js → index.es-BcHAMD5J.js} +1805 -1676
  24. package/dist/{index.es-CQ3ep412.js → index.es-C3EKMb0J.js} +3 -3
  25. package/dist/{index.es-C1ojb4Lq.js → index.es-CcfZlo4c.js} +1 -1
  26. package/dist/index.es-DVNdCQvl.js +1192 -0
  27. package/dist/{index.es-CVCp4d0C.js → index.es-STyHqa-8.js} +2 -2
  28. package/dist/{index.es-CNBieliG.js → index.es-hAl7Wxm5.js} +1 -1
  29. package/dist/{index.es-Cm4X20_S.js → index.es-z8RCxF8n.js} +2 -2
  30. package/dist/main.d.ts +0 -1
  31. package/dist/main.js +6 -6
  32. package/dist/{tslib.es6-CIXEwqhg.js → tslib.es6-BOWp4lfV.js} +4 -4
  33. package/dist/{useBreakpoint-DyAmuka7.js → useBreakpoint-DROHPVxO.js} +2 -2
  34. package/package.json +1 -1
  35. package/dist/BlockView.module-8kbPxxc4.js +0 -15
  36. package/dist/HashTabView.module-BY0tbl3B.js +0 -13
  37. package/dist/HeaderFilter.module-DiBmulr5.js +0 -7
  38. package/dist/_getTag-DNUtgXkb.js +0 -136
  39. package/dist/_stringToPath-BfzwTbL6.js +0 -54
  40. package/dist/baseView.module-DXWalo9p.js +0 -7
  41. package/dist/basicHeading.module-ClcvD7x2.js +0 -16
  42. package/dist/disclaimer.module-BZydt-Q_.js +0 -8
  43. package/dist/index.es-Ba9oZK_n.js +0 -769
  44. package/dist/index.es-Cj9DW-2T.js +0 -430
  45. package/dist/listArea.module-B04TR5bj.js +0 -14
  46. package/dist/searchBar.module-9gKyrZRT.js +0 -7
  47. package/dist/verticalDivider.module-C3_GL-fH.js +0 -7
  48. /package/dist/assets/{baseView.css → BaseView.css} +0 -0
  49. /package/dist/assets/{basicHeading.css → BasicHeading.css} +0 -0
  50. /package/dist/assets/{disclaimer.css → Disclaimer.css} +0 -0
  51. /package/dist/assets/{listArea.css → ListAreaService.css} +0 -0
  52. /package/dist/assets/{searchBar.css → SearchBar.css} +0 -0
  53. /package/dist/assets/{verticalDivider.css → VerticalDivider.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  import "../../assets/Iconify.css";
2
2
  import { jsx as r, Fragment as s } from "react/jsx-runtime";
3
3
  import * as e from "react";
4
- import { I as a } from "../../index.es-InSNsV4f.js";
4
+ import { I as a } from "../../index.es-3I3oam0G.js";
5
5
  const l = (t) => /* @__PURE__ */ e.createElement("svg", { width: 48, height: 49, viewBox: "0 0 48 49", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M14 10.5H18V6.5H14V10.5ZM14 26.5H18V22.5H14V26.5ZM14 42.5H18V38.5H14V42.5ZM22 34.5H26V30.5H22V34.5ZM22 42.5H26V38.5H22V42.5ZM6 42.5H10V38.5H6V42.5ZM6 34.5H10V30.5H6V34.5ZM6 26.5H10V22.5H6V26.5ZM6 18.5H10V14.5H6V18.5ZM6 10.5H10V6.5H6V10.5ZM22 26.5H26V22.5H22V26.5ZM38 34.5H42V30.5H38V34.5ZM38 26.5H42V22.5H38V26.5ZM38 42.5H42V38.5H38V42.5ZM38 18.5H42V14.5H38V18.5ZM22 18.5H26V14.5H22V18.5ZM38 6.5V10.5H42V6.5H38ZM22 10.5H26V6.5H22V10.5ZM30 42.5H34V38.5H30V42.5ZM30 26.5H34V22.5H30V26.5ZM30 10.5H34V6.5H30V10.5Z", fill: "currentColor" }), /* @__PURE__ */ e.createElement("rect", { x: 10, y: 1.70297, width: 50, height: 6, transform: "rotate(45 6.44336 1.70297)", stroke: "white", strokeWidth: 2, fill: "currentColor" })), c = l, d = (t) => /* @__PURE__ */ e.createElement("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("g", { clipPath: "url(#clip0_2972_158194)" }, /* @__PURE__ */ e.createElement("rect", { width: 48, height: 48, rx: 8, fill: "#40BAFF" }), /* @__PURE__ */ e.createElement("path", { d: "M14 10H18V6H14V10ZM14 26H18V22H14V26ZM14 42H18V38H14V42ZM22 34H26V30H22V34ZM22 42H26V38H22V42ZM6 42H10V38H6V42ZM6 34H10V30H6V34ZM6 26H10V22H6V26ZM6 18H10V14H6V18ZM6 10H10V6H6V10ZM22 26H26V22H22V26ZM38 34H42V30H38V34ZM38 26H42V22H38V26ZM38 42H42V38H38V42ZM38 18H42V14H38V18ZM22 18H26V14H22V18ZM38 6V10H42V6H38ZM22 10H26V6H22V10ZM30 42H34V38H30V42ZM30 26H34V22H30V26ZM30 10H34V6H30V10Z", fill: "black", fillOpacity: 0.6 })), /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("clipPath", { id: "clip0_2972_158194" }, /* @__PURE__ */ e.createElement("rect", { width: 48, height: 48, rx: 8, fill: "white" })))), V = d, H = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 26, viewBox: "0 0 22 26", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M5.78906 20.8241L6.65832 19.0859", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M13.6123 20.8241L14.4816 19.0859", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M8.83203 24.3006L9.70128 22.5625", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M1.00879 24.3006L1.87804 22.5625", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M16.6553 24.3006L17.5245 22.5625", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M16.6537 14.7362C17.8064 14.7362 18.9119 14.2784 19.7269 13.4635C20.5421 12.6486 21 11.5433 21 10.3909C21 9.23843 20.5421 8.13316 19.7269 7.31826C18.9119 6.50335 17.8064 6.04554 16.6537 6.04554C15.6623 6.04884 14.7009 6.38557 13.9242 7.00152C13.6932 5.7859 13.1208 4.66113 12.2741 3.75871C11.4273 2.85627 10.3411 2.21346 9.14243 1.90541C7.94377 1.59736 6.68217 1.6368 5.50508 2.01912C4.328 2.40143 3.28408 3.11083 2.49537 4.06438C1.70665 5.01794 1.2057 6.17625 1.05107 7.40393C0.896468 8.63161 1.09457 9.87792 1.62224 10.9972C2.14991 12.1165 2.98534 13.0625 4.03089 13.7246C5.07643 14.3867 6.28888 14.7376 7.52651 14.7362H16.6537Z", stroke: "black", strokeWidth: 1.73832, strokeLinecap: "round", strokeLinejoin: "round" })), h = H, k = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M12.0003 15.381C13.8677 15.381 15.3815 13.8672 15.3815 11.9998C15.3815 10.1325 13.8677 8.61865 12.0003 8.61865C10.1329 8.61865 8.61914 10.1325 8.61914 11.9998C8.61914 13.8672 10.1329 15.381 12.0003 15.381Z", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M12 1V2.6923", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M12 21.3076V22.9999", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M22.9999 12H21.3076", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M2.6923 12H1", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M19.7845 4.21533L18.583 5.41686", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M5.41735 18.583L4.21582 19.7845", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M19.7845 19.7845L18.583 18.583", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M5.41735 5.41686L4.21582 4.21533", stroke: "black", strokeWidth: 1.6923, strokeLinecap: "round", strokeLinejoin: "round" })), M = k, C = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 0 24 24", width: "24px", fill: "#000000", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }), /* @__PURE__ */ e.createElement("path", { d: "M12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6m0-2C9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96C18.67 6.59 15.64 4 12 4z" })), m = C, u = (t) => /* @__PURE__ */ e.createElement("svg", { width: 48, height: 51, viewBox: "0 0 48 51", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M20 18C18.896 18 18 18.894 18 20V22H22V20C22 18.894 21.104 18 20 18ZM36 32V16H32V32H36ZM28 32V22C28 17.588 24.412 14 20 14C15.588 14 12 17.588 12 22V32H16V26H24V32H28ZM32 12H36V10C36 8.916 35.084 8 34 8C32.916 8 32 8.916 32 10V12ZM44 32V36H4V32H8V22C8 15.374 13.374 10 20 10C23.078 10 25.876 11.168 28 13.074V10C28 6.7 30.7 4 34 4C37.3 4 40 6.7 40 10V32H44ZM4 44H44V40H4V44Z", fill: "currentColor" }), /* @__PURE__ */ e.createElement("rect", { x: 7.44336, y: 9.20297, width: 50, height: 6, transform: "rotate(45 7.44336 9.20297)", fill: "currentColor", stroke: "white", strokeWidth: 2 })), w = u, p = (t) => /* @__PURE__ */ e.createElement("svg", { width: 36, height: 36, viewBox: "0 0 36 36", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("g", { id: "Farm" }, /* @__PURE__ */ e.createElement("path", { id: "Union", d: "M15 13.5C14.172 13.5 13.5 14.1705 13.5 15V16.5H16.5V15C16.5 14.1705 15.828 13.5 15 13.5ZM27 24V12H24V24H27ZM21 24V16.5C21 13.191 18.309 10.5 15 10.5C11.691 10.5 9 13.191 9 16.5V24H12V19.5H18V24H21ZM24 9H27V7.5C27 6.687 26.313 6 25.5 6C24.687 6 24 6.687 24 7.5V9ZM33 24V27H3V24H6V16.5C6 11.5305 10.0305 7.5 15 7.5C17.3085 7.5 19.407 8.376 21 9.8055V7.5C21 5.025 23.025 3 25.5 3C27.975 3 30 5.025 30 7.5V24H33ZM3 33H33V30H3V33Z", fill: "currentColor" }))), Z = p, g = (t) => /* @__PURE__ */ e.createElement("svg", { width: 48, height: 48, viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M24 40H4V36H15.5C14.04 30.38 9.62 25.98 4 24.52C5.28 24.2 6.62 24 8 24C16.84 24 24 31.16 24 40ZM44 24.52C42.72 24.2 41.38 24 40 24C34.14 24 29.04 27.16 26.24 31.86C26.82 33.18 27.3 34.56 27.58 36C27.84 37.3 27.98 38.64 27.98 40H31.98H43.98V36H32.48C33.96 30.38 38.38 25.98 44 24.52ZM31.28 22.04C32.84 17.86 35.74 14.36 39.46 12.04C30.88 12.32 24 19.34 24 28C24 28.02 24 28.04 24 28.04C25.9 25.5 28.4 23.44 31.28 22.04ZM22.84 17.7C21.16 13.32 17.76 9.78 13.4 8C16.28 11.72 18 16.36 18 21.42C18 21.84 17.94 22.24 17.92 22.64C18.78 23.12 19.58 23.68 20.36 24.28C20.78 21.92 21.66 19.7 22.84 17.7Z", fill: "currentColor" }), /* @__PURE__ */ e.createElement("rect", { x: 10, y: 2.20297, width: 50, height: 6, transform: "rotate(45 6.44336 2.20297)", fill: "currentColor", stroke: "white", strokeWidth: 2 })), E = g, L = (t) => /* @__PURE__ */ e.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M4 11H9V5H4V11ZM4 18H9V12H4V18ZM10 18H15V12H10V18ZM16 18H21V12H16V18ZM10 11H15V5H10V11ZM16 5V11H21V5H16Z", fill: "currentColor", fillOpacity: 0.6 })), v = L, f = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 22, height: 22, viewBox: "0 0 22 22", fill: "none", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M11.769 1C12.4831 1 13.1678 1.28365 13.6727 1.78856C14.1776 2.29347 14.4613 2.97828 14.4613 3.69233C14.4613 4.40638 14.1776 5.09118 13.6727 5.5961C13.1678 6.10101 12.4831 6.38466 11.769 6.38466H1", stroke: "black", strokeWidth: 1.53845, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M18.3073 16.3847C19.0213 16.3847 19.7061 16.101 20.211 15.5961C20.7159 15.0912 20.9996 14.4064 20.9996 13.6923C20.9996 12.9783 20.7159 12.2935 20.211 11.7886C19.7061 11.2836 19.0213 11 18.3073 11H3.30762", stroke: "black", strokeWidth: 1.53845, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ e.createElement("path", { d: "M11.385 20.9999C12.0991 20.9999 12.7839 20.7162 13.2888 20.2113C13.7937 19.7063 14.0773 19.0216 14.0773 18.3076C14.0773 17.5936 13.7937 16.9088 13.2888 16.4039C12.7839 15.8989 12.0991 15.6152 11.385 15.6152H2.53906", stroke: "black", strokeWidth: 1.53845, strokeLinecap: "round", strokeLinejoin: "round" })), x = f, b = "_image_178sv_1", W = {
6
6
  image: b
7
7
  }, y = ({ icon: t, pure: n = !1, ...i }) => {
@@ -1,14 +1,12 @@
1
- import { jsx as h, jsxs as w, Fragment as H } from "react/jsx-runtime";
2
- import { g as U } from "../../_commonjsHelpers-CT_km90n.js";
3
- import { _ as R, i as M, a as k, b as q } from "../../_stringToPath-BfzwTbL6.js";
4
- import { P as l, d as C, c as W, _ as Y, x as J, y as Q, j as p, z as X, A as Z, B as z, C as I, D as V, E as T, F as j } from "../../index.es-Cct4Uapb.js";
5
- import { _ as x, k as F, L as rr } from "../../index.es-L0ZCcbUf.js";
6
- import nr, { forwardRef as er, useRef as ar, useImperativeHandle as tr, useState as ir, useMemo as S } from "react";
7
- import { SearchBar as sr } from "../SearchBar/SearchBar.js";
8
- import { getGroupedItems as or, getListedItems as ur } from "./ListAreaService.js";
9
- import { s as $ } from "../../listArea.module-B04TR5bj.js";
10
- import { E as cr } from "../../index.es-C1ojb4Lq.js";
11
- const dr = {
1
+ import { jsx as h, jsxs as O, Fragment as Y } from "react/jsx-runtime";
2
+ import { g as Z } from "../../_commonjsHelpers-CT_km90n.js";
3
+ import { P as l, d as C, c as W, _ as J, k as Q, l as V, m as j, n as p, o as rr, p as er, q as nr, s as ar, t as tr, v as ir, w as N, x as sr, y as K, z as or } from "../../index.es-BahjEG5L.js";
4
+ import { _ as G, k, L as cr } from "../../index.es-BcHAMD5J.js";
5
+ import ur, { forwardRef as dr, useRef as fr, useImperativeHandle as lr, useState as yr, useMemo as T } from "react";
6
+ import { SearchBar as pr } from "../SearchBar/SearchBar.js";
7
+ import { g as mr, a as vr, s as $ } from "../../ListAreaService-BQCdQv7a.js";
8
+ import { E as gr } from "../../index.es-CcfZlo4c.js";
9
+ const hr = {
12
10
  /**
13
11
  * The css class name to be passed through to the component markup.
14
12
  *
@@ -71,7 +69,7 @@ const dr = {
71
69
  * Defaults to **'none'**.
72
70
  */
73
71
  verticalMargin: l.oneOf(["none", "dense", "standard", "airy"])
74
- }, fr = {
72
+ }, $r = {
75
73
  className: void 0,
76
74
  dividerColor: void 0,
77
75
  dividerColorImportant: void 0,
@@ -81,265 +79,311 @@ const dr = {
81
79
  themeColorImportant: void 0,
82
80
  variant: "dense",
83
81
  verticalMargin: "none"
84
- }, _ = /* @__PURE__ */ er((r, n) => {
82
+ }, _ = /* @__PURE__ */ dr((r, e) => {
85
83
  const {
86
- dividerColor: e,
84
+ dividerColor: n,
87
85
  dividerColorImportant: a,
88
86
  dividerHeight: i,
89
87
  dividerStyle: t,
90
88
  themeColor: s,
91
89
  themeColorImportant: o,
92
- variant: u,
93
- className: c,
90
+ variant: c,
91
+ className: u,
94
92
  verticalMargin: f,
95
93
  ...d
96
- } = r, m = a || o, y = i || u, b = e || s, v = ar();
97
- tr(n, () => v.current, []);
98
- const g = W("lmnt", "lmnt-divider", m && "lmnt-divider--color-important", y && `lmnt-divider--${y}`, t && `lmnt-divider--${t}`, b && `lmnt-divider--${b}`, f && f !== "none" && `lmnt-divider--margin-${f}`, c);
99
- return /* @__PURE__ */ nr.createElement("hr", Y({
94
+ } = r, m = a || o, y = i || c, b = n || s, v = fr();
95
+ lr(e, () => v.current, []);
96
+ const g = W("lmnt", "lmnt-divider", m && "lmnt-divider--color-important", y && `lmnt-divider--${y}`, t && `lmnt-divider--${t}`, b && `lmnt-divider--${b}`, f && f !== "none" && `lmnt-divider--margin-${f}`, u);
97
+ return /* @__PURE__ */ ur.createElement("hr", J({
100
98
  ref: v,
101
99
  className: g
102
100
  }, d));
103
101
  });
104
102
  _.displayName = "Divider";
105
- _.propTypes = dr;
106
- _.defaultProps = fr;
107
- var lr = R;
108
- function yr(r) {
109
- return r == null ? "" : lr(r);
110
- }
111
- var mr = yr, pr = J, vr = x, gr = 1, hr = 2;
112
- function $r(r, n, e, a) {
113
- var i = e.length, t = i, s = !a;
103
+ _.propTypes = hr;
104
+ _.defaultProps = $r;
105
+ function _r(r, e) {
106
+ for (var n = -1, a = r == null ? 0 : r.length, i = Array(a); ++n < a; )
107
+ i[n] = e(r[n], n, r);
108
+ return i;
109
+ }
110
+ var R = _r, br = Q, Cr = V, Pr = "[object Symbol]";
111
+ function Mr(r) {
112
+ return typeof r == "symbol" || Cr(r) && br(r) == Pr;
113
+ }
114
+ var P = Mr, L = j, Ar = R, Sr = p, Er = P, wr = 1 / 0, I = L ? L.prototype : void 0, D = I ? I.toString : void 0;
115
+ function U(r) {
116
+ if (typeof r == "string")
117
+ return r;
118
+ if (Sr(r))
119
+ return Ar(r, U) + "";
120
+ if (Er(r))
121
+ return D ? D.call(r) : "";
122
+ var e = r + "";
123
+ return e == "0" && 1 / r == -wr ? "-0" : e;
124
+ }
125
+ var Or = U, Tr = Or;
126
+ function Lr(r) {
127
+ return r == null ? "" : Tr(r);
128
+ }
129
+ var Ir = Lr, Dr = rr, xr = G, Br = 1, Fr = 2;
130
+ function Nr(r, e, n, a) {
131
+ var i = n.length, t = i, s = !a;
114
132
  if (r == null)
115
133
  return !t;
116
134
  for (r = Object(r); i--; ) {
117
- var o = e[i];
135
+ var o = n[i];
118
136
  if (s && o[2] ? o[1] !== r[o[0]] : !(o[0] in r))
119
137
  return !1;
120
138
  }
121
139
  for (; ++i < t; ) {
122
- o = e[i];
123
- var u = o[0], c = r[u], f = o[1];
140
+ o = n[i];
141
+ var c = o[0], u = r[c], f = o[1];
124
142
  if (s && o[2]) {
125
- if (c === void 0 && !(u in r))
143
+ if (u === void 0 && !(c in r))
126
144
  return !1;
127
145
  } else {
128
- var d = new pr();
146
+ var d = new Dr();
129
147
  if (a)
130
- var m = a(c, f, u, r, n, d);
131
- if (!(m === void 0 ? vr(f, c, gr | hr, a, d) : m))
148
+ var m = a(u, f, c, r, e, d);
149
+ if (!(m === void 0 ? xr(f, u, Br | Fr, a, d) : m))
132
150
  return !1;
133
151
  }
134
152
  }
135
153
  return !0;
136
154
  }
137
- var _r = $r, br = Q;
138
- function Cr(r) {
139
- return r === r && !br(r);
155
+ var Kr = Nr, Gr = er;
156
+ function kr(r) {
157
+ return r === r && !Gr(r);
140
158
  }
141
- var K = Cr, Pr = K, Ar = F;
142
- function Mr(r) {
143
- for (var n = Ar(r), e = n.length; e--; ) {
144
- var a = n[e], i = r[a];
145
- n[e] = [a, i, Pr(i)];
159
+ var z = kr, Rr = z, Ur = k;
160
+ function zr(r) {
161
+ for (var e = Ur(r), n = e.length; n--; ) {
162
+ var a = e[n], i = r[a];
163
+ e[n] = [a, i, Rr(i)];
146
164
  }
147
- return n;
165
+ return e;
148
166
  }
149
- var Er = Mr;
150
- function Or(r, n) {
151
- return function(e) {
152
- return e == null ? !1 : e[r] === n && (n !== void 0 || r in Object(e));
167
+ var Hr = zr;
168
+ function qr(r, e) {
169
+ return function(n) {
170
+ return n == null ? !1 : n[r] === e && (e !== void 0 || r in Object(n));
153
171
  };
154
172
  }
155
- var N = Or, wr = _r, Sr = Er, Lr = N;
156
- function Dr(r) {
157
- var n = Sr(r);
158
- return n.length == 1 && n[0][2] ? Lr(n[0][0], n[0][1]) : function(e) {
159
- return e === r || wr(e, r, n);
173
+ var H = qr, Xr = Kr, Yr = Hr, Zr = H;
174
+ function Wr(r) {
175
+ var e = Yr(r);
176
+ return e.length == 1 && e[0][2] ? Zr(e[0][0], e[0][1]) : function(n) {
177
+ return n === r || Xr(n, r, e);
160
178
  };
161
179
  }
162
- var Br = Dr, Ir = p, Tr = M, xr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Fr = /^\w*$/;
163
- function Kr(r, n) {
164
- if (Ir(r))
180
+ var Jr = Wr, Qr = p, Vr = P, jr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, re = /^\w*$/;
181
+ function ee(r, e) {
182
+ if (Qr(r))
165
183
  return !1;
166
- var e = typeof r;
167
- return e == "number" || e == "symbol" || e == "boolean" || r == null || Tr(r) ? !0 : Fr.test(r) || !xr.test(r) || n != null && r in Object(n);
184
+ var n = typeof r;
185
+ return n == "number" || n == "symbol" || n == "boolean" || r == null || Vr(r) ? !0 : re.test(r) || !jr.test(r) || e != null && r in Object(e);
168
186
  }
169
- var E = Kr, Nr = p, Gr = E, Hr = k, Ur = mr;
170
- function Rr(r, n) {
171
- return Nr(r) ? r : Gr(r, n) ? [r] : Hr(Ur(r));
187
+ var S = ee, q = nr, ne = "Expected a function";
188
+ function E(r, e) {
189
+ if (typeof r != "function" || e != null && typeof e != "function")
190
+ throw new TypeError(ne);
191
+ var n = function() {
192
+ var a = arguments, i = e ? e.apply(this, a) : a[0], t = n.cache;
193
+ if (t.has(i))
194
+ return t.get(i);
195
+ var s = r.apply(this, a);
196
+ return n.cache = t.set(i, s) || t, s;
197
+ };
198
+ return n.cache = new (E.Cache || q)(), n;
172
199
  }
173
- var G = Rr, kr = M, qr = 1 / 0;
174
- function Wr(r) {
175
- if (typeof r == "string" || kr(r))
200
+ E.Cache = q;
201
+ var ae = E, te = ae, ie = 500;
202
+ function se(r) {
203
+ var e = te(r, function(a) {
204
+ return n.size === ie && n.clear(), a;
205
+ }), n = e.cache;
206
+ return e;
207
+ }
208
+ var oe = se, ce = oe, ue = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, de = /\\(\\)?/g, fe = ce(function(r) {
209
+ var e = [];
210
+ return r.charCodeAt(0) === 46 && e.push(""), r.replace(ue, function(n, a, i, t) {
211
+ e.push(i ? t.replace(de, "$1") : a || n);
212
+ }), e;
213
+ }), le = fe, ye = p, pe = S, me = le, ve = Ir;
214
+ function ge(r, e) {
215
+ return ye(r) ? r : pe(r, e) ? [r] : me(ve(r));
216
+ }
217
+ var X = ge, he = P, $e = 1 / 0;
218
+ function _e(r) {
219
+ if (typeof r == "string" || he(r))
176
220
  return r;
177
- var n = r + "";
178
- return n == "0" && 1 / r == -qr ? "-0" : n;
179
- }
180
- var P = Wr, Yr = G, Jr = P;
181
- function Qr(r, n) {
182
- n = Yr(n, r);
183
- for (var e = 0, a = n.length; r != null && e < a; )
184
- r = r[Jr(n[e++])];
185
- return e && e == a ? r : void 0;
186
- }
187
- var O = Qr, Xr = O;
188
- function Zr(r, n, e) {
189
- var a = r == null ? void 0 : Xr(r, n);
190
- return a === void 0 ? e : a;
191
- }
192
- var zr = Zr;
193
- function Vr(r, n) {
194
- return r != null && n in Object(r);
195
- }
196
- var jr = Vr, rn = G, nn = X, en = p, an = Z, tn = z, sn = P;
197
- function on(r, n, e) {
198
- n = rn(n, r);
199
- for (var a = -1, i = n.length, t = !1; ++a < i; ) {
200
- var s = sn(n[a]);
201
- if (!(t = r != null && e(r, s)))
221
+ var e = r + "";
222
+ return e == "0" && 1 / r == -$e ? "-0" : e;
223
+ }
224
+ var M = _e, be = X, Ce = M;
225
+ function Pe(r, e) {
226
+ e = be(e, r);
227
+ for (var n = 0, a = e.length; r != null && n < a; )
228
+ r = r[Ce(e[n++])];
229
+ return n && n == a ? r : void 0;
230
+ }
231
+ var w = Pe, Me = w;
232
+ function Ae(r, e, n) {
233
+ var a = r == null ? void 0 : Me(r, e);
234
+ return a === void 0 ? n : a;
235
+ }
236
+ var Se = Ae;
237
+ function Ee(r, e) {
238
+ return r != null && e in Object(r);
239
+ }
240
+ var we = Ee, Oe = X, Te = ar, Le = p, Ie = tr, De = ir, xe = M;
241
+ function Be(r, e, n) {
242
+ e = Oe(e, r);
243
+ for (var a = -1, i = e.length, t = !1; ++a < i; ) {
244
+ var s = xe(e[a]);
245
+ if (!(t = r != null && n(r, s)))
202
246
  break;
203
247
  r = r[s];
204
248
  }
205
- return t || ++a != i ? t : (i = r == null ? 0 : r.length, !!i && tn(i) && an(s, i) && (en(r) || nn(r)));
249
+ return t || ++a != i ? t : (i = r == null ? 0 : r.length, !!i && De(i) && Ie(s, i) && (Le(r) || Te(r)));
206
250
  }
207
- var un = on, cn = jr, dn = un;
208
- function fn(r, n) {
209
- return r != null && dn(r, n, cn);
251
+ var Fe = Be, Ne = we, Ke = Fe;
252
+ function Ge(r, e) {
253
+ return r != null && Ke(r, e, Ne);
210
254
  }
211
- var ln = fn, yn = x, mn = zr, pn = ln, vn = E, gn = K, hn = N, $n = P, _n = 1, bn = 2;
212
- function Cn(r, n) {
213
- return vn(r) && gn(n) ? hn($n(r), n) : function(e) {
214
- var a = mn(e, r);
215
- return a === void 0 && a === n ? pn(e, r) : yn(n, a, _n | bn);
255
+ var ke = Ge, Re = G, Ue = Se, ze = ke, He = S, qe = z, Xe = H, Ye = M, Ze = 1, We = 2;
256
+ function Je(r, e) {
257
+ return He(r) && qe(e) ? Xe(Ye(r), e) : function(n) {
258
+ var a = Ue(n, r);
259
+ return a === void 0 && a === e ? ze(n, r) : Re(e, a, Ze | We);
216
260
  };
217
261
  }
218
- var Pn = Cn;
219
- function An(r) {
220
- return function(n) {
221
- return n?.[r];
262
+ var Qe = Je;
263
+ function Ve(r) {
264
+ return function(e) {
265
+ return e?.[r];
222
266
  };
223
267
  }
224
- var Mn = An, En = O;
225
- function On(r) {
226
- return function(n) {
227
- return En(n, r);
268
+ var je = Ve, rn = w;
269
+ function en(r) {
270
+ return function(e) {
271
+ return rn(e, r);
228
272
  };
229
273
  }
230
- var wn = On, Sn = Mn, Ln = wn, Dn = E, Bn = P;
231
- function In(r) {
232
- return Dn(r) ? Sn(Bn(r)) : Ln(r);
233
- }
234
- var Tn = In, xn = Br, Fn = Pn, Kn = I, Nn = p, Gn = Tn;
235
- function Hn(r) {
236
- return typeof r == "function" ? r : r == null ? Kn : typeof r == "object" ? Nn(r) ? Fn(r[0], r[1]) : xn(r) : Gn(r);
237
- }
238
- var Un = Hn, Rn = V, kn = F;
239
- function qn(r, n) {
240
- return r && Rn(r, n, kn);
241
- }
242
- var Wn = qn, Yn = T;
243
- function Jn(r, n) {
244
- return function(e, a) {
245
- if (e == null)
246
- return e;
247
- if (!Yn(e))
248
- return r(e, a);
249
- for (var i = e.length, t = n ? i : -1, s = Object(e); (n ? t-- : ++t < i) && a(s[t], t, s) !== !1; )
274
+ var nn = en, an = je, tn = nn, sn = S, on = M;
275
+ function cn(r) {
276
+ return sn(r) ? an(on(r)) : tn(r);
277
+ }
278
+ var un = cn, dn = Jr, fn = Qe, ln = N, yn = p, pn = un;
279
+ function mn(r) {
280
+ return typeof r == "function" ? r : r == null ? ln : typeof r == "object" ? yn(r) ? fn(r[0], r[1]) : dn(r) : pn(r);
281
+ }
282
+ var vn = mn, gn = sr, hn = k;
283
+ function $n(r, e) {
284
+ return r && gn(r, e, hn);
285
+ }
286
+ var _n = $n, bn = K;
287
+ function Cn(r, e) {
288
+ return function(n, a) {
289
+ if (n == null)
290
+ return n;
291
+ if (!bn(n))
292
+ return r(n, a);
293
+ for (var i = n.length, t = e ? i : -1, s = Object(n); (e ? t-- : ++t < i) && a(s[t], t, s) !== !1; )
250
294
  ;
251
- return e;
295
+ return n;
252
296
  };
253
297
  }
254
- var Qn = Jn, Xn = Wn, Zn = Qn, zn = Zn(Xn), Vn = zn, jn = Vn, re = T;
255
- function ne(r, n) {
256
- var e = -1, a = re(r) ? Array(r.length) : [];
257
- return jn(r, function(i, t, s) {
258
- a[++e] = n(i, t, s);
298
+ var Pn = Cn, Mn = _n, An = Pn, Sn = An(Mn), En = Sn, wn = En, On = K;
299
+ function Tn(r, e) {
300
+ var n = -1, a = On(r) ? Array(r.length) : [];
301
+ return wn(r, function(i, t, s) {
302
+ a[++n] = e(i, t, s);
259
303
  }), a;
260
304
  }
261
- var ee = ne;
262
- function ae(r, n) {
263
- var e = r.length;
264
- for (r.sort(n); e--; )
265
- r[e] = r[e].value;
305
+ var Ln = Tn;
306
+ function In(r, e) {
307
+ var n = r.length;
308
+ for (r.sort(e); n--; )
309
+ r[n] = r[n].value;
266
310
  return r;
267
311
  }
268
- var te = ae, L = M;
269
- function ie(r, n) {
270
- if (r !== n) {
271
- var e = r !== void 0, a = r === null, i = r === r, t = L(r), s = n !== void 0, o = n === null, u = n === n, c = L(n);
272
- if (!o && !c && !t && r > n || t && s && u && !o && !c || a && s && u || !e && u || !i)
312
+ var Dn = In, x = P;
313
+ function xn(r, e) {
314
+ if (r !== e) {
315
+ var n = r !== void 0, a = r === null, i = r === r, t = x(r), s = e !== void 0, o = e === null, c = e === e, u = x(e);
316
+ if (!o && !u && !t && r > e || t && s && c && !o && !u || a && s && c || !n && c || !i)
273
317
  return 1;
274
- if (!a && !t && !c && r < n || c && e && i && !a && !t || o && e && i || !s && i || !u)
318
+ if (!a && !t && !u && r < e || u && n && i && !a && !t || o && n && i || !s && i || !c)
275
319
  return -1;
276
320
  }
277
321
  return 0;
278
322
  }
279
- var se = ie, oe = se;
280
- function ue(r, n, e) {
281
- for (var a = -1, i = r.criteria, t = n.criteria, s = i.length, o = e.length; ++a < s; ) {
282
- var u = oe(i[a], t[a]);
283
- if (u) {
323
+ var Bn = xn, Fn = Bn;
324
+ function Nn(r, e, n) {
325
+ for (var a = -1, i = r.criteria, t = e.criteria, s = i.length, o = n.length; ++a < s; ) {
326
+ var c = Fn(i[a], t[a]);
327
+ if (c) {
284
328
  if (a >= o)
285
- return u;
286
- var c = e[a];
287
- return u * (c == "desc" ? -1 : 1);
329
+ return c;
330
+ var u = n[a];
331
+ return c * (u == "desc" ? -1 : 1);
288
332
  }
289
333
  }
290
- return r.index - n.index;
334
+ return r.index - e.index;
291
335
  }
292
- var ce = ue, A = q, de = O, fe = Un, le = ee, ye = te, me = j, pe = ce, ve = I, ge = p;
293
- function he(r, n, e) {
294
- n.length ? n = A(n, function(t) {
295
- return ge(t) ? function(s) {
296
- return de(s, t.length === 1 ? t[0] : t);
336
+ var Kn = Nn, A = R, Gn = w, kn = vn, Rn = Ln, Un = Dn, zn = or, Hn = Kn, qn = N, Xn = p;
337
+ function Yn(r, e, n) {
338
+ e.length ? e = A(e, function(t) {
339
+ return Xn(t) ? function(s) {
340
+ return Gn(s, t.length === 1 ? t[0] : t);
297
341
  } : t;
298
- }) : n = [ve];
342
+ }) : e = [qn];
299
343
  var a = -1;
300
- n = A(n, me(fe));
301
- var i = le(r, function(t, s, o) {
302
- var u = A(n, function(c) {
303
- return c(t);
344
+ e = A(e, zn(kn));
345
+ var i = Rn(r, function(t, s, o) {
346
+ var c = A(e, function(u) {
347
+ return u(t);
304
348
  });
305
- return { criteria: u, index: ++a, value: t };
349
+ return { criteria: c, index: ++a, value: t };
306
350
  });
307
- return ye(i, function(t, s) {
308
- return pe(t, s, e);
351
+ return Un(i, function(t, s) {
352
+ return Hn(t, s, n);
309
353
  });
310
354
  }
311
- var $e = he, _e = $e, D = p;
312
- function be(r, n, e, a) {
313
- return r == null ? [] : (D(n) || (n = n == null ? [] : [n]), e = a ? void 0 : e, D(e) || (e = e == null ? [] : [e]), _e(r, n, e));
355
+ var Zn = Yn, Wn = Zn, B = p;
356
+ function Jn(r, e, n, a) {
357
+ return r == null ? [] : (B(e) || (e = e == null ? [] : [e]), n = a ? void 0 : n, B(n) || (n = n == null ? [] : [n]), Wn(r, e, n));
314
358
  }
315
- var Ce = be;
316
- const B = /* @__PURE__ */ U(Ce), Ie = ({
359
+ var Qn = Jn;
360
+ const F = /* @__PURE__ */ Z(Qn), sa = ({
317
361
  elements: r,
318
- pathname: n,
319
- isGrouped: e = !1,
362
+ pathname: e,
363
+ isGrouped: n = !1,
320
364
  hasSearch: a = !1,
321
365
  searchPlaceholder: i = "",
322
366
  isIntegrated: t = !1,
323
367
  isSorted: s = !0,
324
368
  itemClassName: o = "",
325
- maxHeight: u = "100%",
326
- noElementsView: c,
369
+ maxHeight: c = "100%",
370
+ noElementsView: u,
327
371
  routerLinkElement: f
328
372
  }) => {
329
- const [d, m] = ir(""), y = S(() => {
373
+ const [d, m] = yr(""), y = T(() => {
330
374
  if (!d)
331
- return s ? B(r, "title") : r;
375
+ return s ? F(r, "title") : r;
332
376
  const v = r.filter((g) => g.title.toLowerCase().includes(d.toLowerCase()) || g.subTitle?.toLowerCase().includes(d.toLowerCase()) || g.id.toLowerCase().includes(d.toLowerCase()));
333
- return s ? B(v, "title") : v;
334
- }, [d, r, s]), b = S(
335
- () => e ? or(y, n, o, f) : ur(y, n, o, f),
336
- [y, n, o, e, f]
377
+ return s ? F(v, "title") : v;
378
+ }, [d, r, s]), b = T(
379
+ () => n ? mr(y, e, o, f) : vr(y, e, o, f),
380
+ [y, e, o, n, f]
337
381
  );
338
- return /* @__PURE__ */ h(cr, { elevation: t ? 0 : 1, className: `${$.mainElevation}`, children: /* @__PURE__ */ w("div", { className: $.fullWidth, children: [
339
- a && r.length > 0 && /* @__PURE__ */ w(H, { children: [
382
+ return /* @__PURE__ */ h(gr, { elevation: t ? 0 : 1, className: `${$.mainElevation}`, children: /* @__PURE__ */ O("div", { className: $.fullWidth, children: [
383
+ a && r.length > 0 && /* @__PURE__ */ O(Y, { children: [
340
384
  t && /* @__PURE__ */ h(_, {}),
341
385
  /* @__PURE__ */ h(
342
- sr,
386
+ pr,
343
387
  {
344
388
  searchTerm: d,
345
389
  setSearchTerm: m,
@@ -349,18 +393,18 @@ const B = /* @__PURE__ */ U(Ce), Ie = ({
349
393
  ),
350
394
  /* @__PURE__ */ h(_, {})
351
395
  ] }),
352
- y.length === 0 && c,
396
+ y.length === 0 && u,
353
397
  /* @__PURE__ */ h(
354
- rr,
398
+ cr,
355
399
  {
356
400
  items: b,
357
- className: `${$.list} ${e ? "" : $.roundedBottom}`,
358
- style: { maxHeight: u },
401
+ className: `${$.list} ${n ? "" : $.roundedBottom}`,
402
+ style: { maxHeight: c },
359
403
  showDivider: !1
360
404
  }
361
405
  )
362
406
  ] }) });
363
407
  };
364
408
  export {
365
- Ie as ListArea
409
+ sa as ListArea
366
410
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as r, Fragment as i } from "react/jsx-runtime";
2
2
  import { r as s, s as a, f as u } from "../../react.esm-BeDwcQWb.js";
3
3
  import { ListArea as c } from "./ListArea.js";
4
- import { getGroupedItems as h } from "./ListAreaService.js";
4
+ import { g as h } from "../../ListAreaService-BQCdQv7a.js";
5
5
  import { d as m, t as n, g as t } from "../../vi.JYQecGiw-BbUbJcT8.js";
6
- import { T as p } from "../../index.es-Cm4X20_S.js";
6
+ import { T as p } from "../../index.es-z8RCxF8n.js";
7
7
  m("ListArea Test", () => {
8
8
  const o = [
9
9
  {