@hortiview/shared-components 0.0.6927 → 0.0.7018

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 (106) hide show
  1. package/dist/BlockView.module-BPlNT5uh.js +15 -0
  2. package/dist/HashTabView.module-CJX4gxTu.js +13 -0
  3. package/dist/HeaderFilter.module-DiBmulr5.js +7 -0
  4. package/dist/Iconify-CY9lZjFd.js +95 -0
  5. package/dist/_baseToString-BNXOi2Mf.js +197 -0
  6. package/dist/_equalByTag-DJhSpgVG.js +157 -0
  7. package/dist/alertBanner.module-HneYdVzN.js +10 -0
  8. package/dist/assets/{main.css → Filter.css} +1 -1
  9. package/dist/baseView.module-ve87u_d0.js +12 -0
  10. package/dist/basicHeading.module-BYb8xvuk.js +16 -0
  11. package/dist/bigLoadingSpinner.module-GgbFol8k.js +11 -0
  12. package/dist/components/AlertBanner/AlertBanner.js +12 -17
  13. package/dist/components/AlertBanner/AlertBanner.test.js +1 -1
  14. package/dist/components/BaseView/BaseView.js +33 -40
  15. package/dist/components/BaseView/BaseView.test.js +1 -1
  16. package/dist/components/BasicHeading/BasicHeading.js +40 -51
  17. package/dist/components/BasicHeading/BasicHeading.test.js +1 -1
  18. package/dist/components/BlockView/BlockView.js +41 -51
  19. package/dist/components/BlockView/BlockView.test.js +1 -1
  20. package/dist/components/ContextMenu/ContextMenu.js +18 -20
  21. package/dist/components/ContextMenu/ContextMenu.test.js +1 -1
  22. package/dist/components/DeleteModal/DeleteModal.js +55 -60
  23. package/dist/components/DeleteModal/DeleteModal.test.js +1 -1
  24. package/dist/components/Disclaimer/Disclaimer.js +8 -11
  25. package/dist/components/Disclaimer/Disclaimer.test.js +1 -1
  26. package/dist/components/EmptyView/EmptyView.test.js +1 -1
  27. package/dist/components/Filter/Filter.d.ts +27 -0
  28. package/dist/components/Filter/Filter.js +149 -0
  29. package/dist/components/Filter/Filter.test.d.ts +1 -0
  30. package/dist/components/Filter/Filter.test.js +114 -0
  31. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.test.js +1 -1
  32. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +46 -52
  33. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.test.js +1 -1
  34. package/dist/components/FormComponents/FormRadio/FormRadio.test.js +1 -1
  35. package/dist/components/FormComponents/FormSelect/FormSelect.js +68 -73
  36. package/dist/components/FormComponents/FormSelect/FormSelect.test.js +2 -2
  37. package/dist/components/FormComponents/FormSlider/FormSlider.test.js +1 -1
  38. package/dist/components/FormComponents/FormText/FormText.js +57 -62
  39. package/dist/components/FormComponents/FormText/FormText.test.js +1 -1
  40. package/dist/components/GenericTable/GenericTable.js +52 -58
  41. package/dist/components/GenericTable/GenericTable.test.js +1 -1
  42. package/dist/components/HashTabView/HashTabView.js +46 -54
  43. package/dist/components/HashTabView/HashTabView.test.js +1 -1
  44. package/dist/components/HeaderFilter/HeaderFilter.js +14 -16
  45. package/dist/components/HeaderFilter/HeaderFilter.test.js +1 -1
  46. package/dist/components/Iconify/Iconify.d.ts +3 -13
  47. package/dist/components/Iconify/Iconify.js +6 -163
  48. package/dist/components/Iconify/Iconify.test.js +2 -2
  49. package/dist/components/InfoGroup/InfoGroup.js +38 -47
  50. package/dist/components/InfoGroup/InfoGroup.test.js +1 -1
  51. package/dist/components/ListArea/ListArea.js +258 -490
  52. package/dist/components/ListArea/ListArea.test.js +2 -2
  53. package/dist/components/ListArea/ListAreaService.js +82 -8
  54. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +9 -5
  55. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +3 -2
  56. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +13 -15
  57. package/dist/components/LoadingSpinner/Default/LoadingSpinner.test.js +1 -1
  58. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +2 -2
  59. package/dist/components/Scrollbar/scrollbar.test.js +1 -1
  60. package/dist/components/SearchBar/SearchBar.js +21 -23
  61. package/dist/components/SearchBar/SearchBar.test.js +1 -1
  62. package/dist/components/VerticalDivider/VerticalDivider.js +4 -6
  63. package/dist/components/VerticalDivider/VerticalDivider.test.js +1 -1
  64. package/dist/contextMenu.module-B7aUMFPe.js +7 -0
  65. package/dist/deleteModal.module-Ds3MDzdl.js +10 -0
  66. package/dist/disclaimer.module-BZydt-Q_.js +8 -0
  67. package/dist/formDatePicker.module-BV3ma_7y.js +11 -0
  68. package/dist/formSelect.module-C18N-SsT.js +11 -0
  69. package/dist/formText.module-Blt6Y-SR.js +10 -0
  70. package/dist/genericTable.module-BkU2VDKR.js +11 -0
  71. package/dist/get-UxX31Aph.js +47 -0
  72. package/dist/hooks/useBreakpoints.test.js +1 -1
  73. package/dist/iconify.module-C89oaw5b.js +79 -0
  74. package/dist/{index-DP2ENnrX.js → index-BQnj-5Zt.js} +1 -1
  75. package/dist/infoGroup.module-B3E1gCGi.js +14 -0
  76. package/dist/isArray-Ca4KR8TK.js +91 -0
  77. package/dist/listArea.module-B-gPyfbE.js +19 -0
  78. package/dist/loadingSpinner.module-CLtqSMWA.js +7 -0
  79. package/dist/main.d.ts +3 -0
  80. package/dist/main.js +55 -52
  81. package/dist/{react.esm-DoZanrUz.js → react.esm-C3jDj5Fe.js} +1 -0
  82. package/dist/searchBar.module-9gKyrZRT.js +7 -0
  83. package/dist/types/Filter.d.ts +31 -0
  84. package/dist/types/Filter.js +1 -0
  85. package/dist/verticalDivider.module-C3_GL-fH.js +7 -0
  86. package/package.json +1 -1
  87. package/dist/BigLoadingSpinner-Df2k3xOD.js +0 -18
  88. package/dist/ListAreaService-CiewPvfR.js +0 -99
  89. package/dist/get-BRDhkfK0.js +0 -324
  90. /package/dist/assets/{AlertBanner.css → alertBanner.css} +0 -0
  91. /package/dist/assets/{BaseView.css → baseView.css} +0 -0
  92. /package/dist/assets/{BasicHeading.css → basicHeading.css} +0 -0
  93. /package/dist/assets/{BigLoadingSpinner.css → bigLoadingSpinner.css} +0 -0
  94. /package/dist/assets/{ContextMenu.css → contextMenu.css} +0 -0
  95. /package/dist/assets/{DeleteModal.css → deleteModal.css} +0 -0
  96. /package/dist/assets/{Disclaimer.css → disclaimer.css} +0 -0
  97. /package/dist/assets/{FormDatePicker.css → formDatePicker.css} +0 -0
  98. /package/dist/assets/{FormSelect.css → formSelect.css} +0 -0
  99. /package/dist/assets/{FormText.css → formText.css} +0 -0
  100. /package/dist/assets/{GenericTable.css → genericTable.css} +0 -0
  101. /package/dist/assets/{Iconify.css → iconify.css} +0 -0
  102. /package/dist/assets/{InfoGroup.css → infoGroup.css} +0 -0
  103. /package/dist/assets/{ListAreaService.css → listArea.css} +0 -0
  104. /package/dist/assets/{LoadingSpinner.css → loadingSpinner.css} +0 -0
  105. /package/dist/assets/{SearchBar.css → searchBar.css} +0 -0
  106. /package/dist/assets/{VerticalDivider.css → verticalDivider.css} +0 -0
@@ -0,0 +1,7 @@
1
+ import "./assets/loadingSpinner.css";
2
+ const n = "_loadingSpinnerContainer_1f3ss_1", o = {
3
+ loadingSpinnerContainer: n
4
+ };
5
+ export {
6
+ o as s
7
+ };
package/dist/main.d.ts CHANGED
@@ -7,6 +7,7 @@ export { ContextMenu } from './components/ContextMenu/ContextMenu';
7
7
  export { DeleteModal } from './components/DeleteModal/DeleteModal';
8
8
  export { Disclaimer } from './components/Disclaimer/Disclaimer';
9
9
  export { EmptyView } from './components/EmptyView/EmptyView';
10
+ export { Filter } from './components/Filter/Filter';
10
11
  export { GenericTable } from './components/GenericTable/GenericTable';
11
12
  export { HashTabView } from './components/HashTabView/HashTabView';
12
13
  export { HeaderFilter } from './components/HeaderFilter/HeaderFilter';
@@ -14,6 +15,7 @@ export { Iconify } from './components/Iconify/Iconify';
14
15
  export { InfoGroup } from './components/InfoGroup/InfoGroup';
15
16
  export { ListArea } from './components/ListArea/ListArea';
16
17
  export { LoadingSpinner } from './components/LoadingSpinner/Default/LoadingSpinner';
18
+ export { OverflowTooltip } from './components/OverflowTooltip/OverflowTooltip';
17
19
  export { ScrollbarX, ScrollbarY } from './components/Scrollbar/Scrollbar';
18
20
  export { SearchBar } from './components/SearchBar/SearchBar';
19
21
  export { VerticalDivider } from './components/VerticalDivider/VerticalDivider';
@@ -29,6 +31,7 @@ export { capitalizeFirstLetters } from './services/UtilService';
29
31
  export type { FormSelectOption } from './components/FormComponents/FormSelect/FormSelect';
30
32
  export type { FormTextProps } from './components/FormComponents/FormText/FormText';
31
33
  export type { FieldItem } from './components/InfoGroup/InfoGroup';
34
+ export type { FilterData, FilterOption, FilterSelection } from './types/Filter';
32
35
  export type { CellTemplate, CellTemplateProps, TableLayoutProps } from './types/GenericTable';
33
36
  export type { HashTab } from './types/HashTab';
34
37
  export type { BaseListElement, ListElement } from './types/ListElement';
package/dist/main.js CHANGED
@@ -1,58 +1,61 @@
1
- import "./assets/main.css";
2
- import { AlertBanner as t } from "./components/AlertBanner/AlertBanner.js";
3
- import { BaseView as p } from "./components/BaseView/BaseView.js";
4
- import { BasicHeading as f } from "./components/BasicHeading/BasicHeading.js";
5
- import { BlockView as a } from "./components/BlockView/BlockView.js";
6
- import { ContextMenu as c } from "./components/ContextMenu/ContextMenu.js";
7
- import { DeleteModal as s } from "./components/DeleteModal/DeleteModal.js";
8
- import { Disclaimer as d } from "./components/Disclaimer/Disclaimer.js";
9
- import { EmptyView as S } from "./components/EmptyView/EmptyView.js";
10
- import { GenericTable as u } from "./components/GenericTable/GenericTable.js";
1
+ import { Filter as e } from "./components/Filter/Filter.js";
2
+ import { AlertBanner as m } from "./components/AlertBanner/AlertBanner.js";
3
+ import { BaseView as f } from "./components/BaseView/BaseView.js";
4
+ import { BasicHeading as i } from "./components/BasicHeading/BasicHeading.js";
5
+ import { BlockView as l } from "./components/BlockView/BlockView.js";
6
+ import { ContextMenu as n } from "./components/ContextMenu/ContextMenu.js";
7
+ import { DeleteModal as F } from "./components/DeleteModal/DeleteModal.js";
8
+ import { Disclaimer as B } from "./components/Disclaimer/Disclaimer.js";
9
+ import { EmptyView as b } from "./components/EmptyView/EmptyView.js";
10
+ import { GenericTable as w } from "./components/GenericTable/GenericTable.js";
11
11
  import { HashTabView as k } from "./components/HashTabView/HashTabView.js";
12
- import { HeaderFilter as D } from "./components/HeaderFilter/HeaderFilter.js";
13
- import { Iconify as A } from "./components/Iconify/Iconify.js";
14
- import { InfoGroup as H } from "./components/InfoGroup/InfoGroup.js";
15
- import { ListArea as L } from "./components/ListArea/ListArea.js";
12
+ import { HeaderFilter as I } from "./components/HeaderFilter/HeaderFilter.js";
13
+ import { I as h } from "./Iconify-CY9lZjFd.js";
14
+ import { InfoGroup as A } from "./components/InfoGroup/InfoGroup.js";
15
+ import { ListArea as H } from "./components/ListArea/ListArea.js";
16
16
  import { LoadingSpinner as g } from "./components/LoadingSpinner/Default/LoadingSpinner.js";
17
- import { ScrollbarX as y, ScrollbarY as G } from "./components/Scrollbar/Scrollbar.js";
18
- import { SearchBar as z } from "./components/SearchBar/SearchBar.js";
19
- import { VerticalDivider as P } from "./components/VerticalDivider/VerticalDivider.js";
20
- import { FormCheckBox as X } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
21
- import { FormDatePicker as j } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
22
- import { FormRadio as J } from "./components/FormComponents/FormRadio/FormRadio.js";
23
- import { FormSelect as N } from "./components/FormComponents/FormSelect/FormSelect.js";
24
- import { FormSlider as Q } from "./components/FormComponents/FormSlider/FormSlider.js";
25
- import { FormText as W } from "./components/FormComponents/FormText/FormText.js";
26
- import { AvailableCustomIcons as _ } from "./enums/AvailableCustomIcons.js";
27
- import { u as rr } from "./useBreakpoint-BNeVhjjZ.js";
28
- import { capitalizeFirstLetters as er } from "./services/UtilService.js";
17
+ import { OverflowTooltip as G } from "./components/OverflowTooltip/OverflowTooltip.js";
18
+ import { ScrollbarX as z, ScrollbarY as E } from "./components/Scrollbar/Scrollbar.js";
19
+ import { SearchBar as P } from "./components/SearchBar/SearchBar.js";
20
+ import { VerticalDivider as X } from "./components/VerticalDivider/VerticalDivider.js";
21
+ import { FormCheckBox as j } from "./components/FormComponents/FormCheckBox/FormCheckBox.js";
22
+ import { FormDatePicker as J } from "./components/FormComponents/FormDatePicker/FormDatePicker.js";
23
+ import { FormRadio as N } from "./components/FormComponents/FormRadio/FormRadio.js";
24
+ import { FormSelect as U } from "./components/FormComponents/FormSelect/FormSelect.js";
25
+ import { FormSlider as Z } from "./components/FormComponents/FormSlider/FormSlider.js";
26
+ import { FormText as $ } from "./components/FormComponents/FormText/FormText.js";
27
+ import { AvailableCustomIcons as or } from "./enums/AvailableCustomIcons.js";
28
+ import { u as tr } from "./useBreakpoint-BNeVhjjZ.js";
29
+ import { capitalizeFirstLetters as pr } from "./services/UtilService.js";
29
30
  export {
30
- t as AlertBanner,
31
- _ as AvailableCustomIcons,
32
- p as BaseView,
33
- f as BasicHeading,
34
- a as BlockView,
35
- c as ContextMenu,
36
- s as DeleteModal,
37
- d as Disclaimer,
38
- S as EmptyView,
39
- X as FormCheckBox,
40
- j as FormDatePicker,
41
- J as FormRadio,
42
- N as FormSelect,
43
- Q as FormSlider,
44
- W as FormText,
45
- u as GenericTable,
31
+ m as AlertBanner,
32
+ or as AvailableCustomIcons,
33
+ f as BaseView,
34
+ i as BasicHeading,
35
+ l as BlockView,
36
+ n as ContextMenu,
37
+ F as DeleteModal,
38
+ B as Disclaimer,
39
+ b as EmptyView,
40
+ e as Filter,
41
+ j as FormCheckBox,
42
+ J as FormDatePicker,
43
+ N as FormRadio,
44
+ U as FormSelect,
45
+ Z as FormSlider,
46
+ $ as FormText,
47
+ w as GenericTable,
46
48
  k as HashTabView,
47
- D as HeaderFilter,
48
- A as Iconify,
49
- H as InfoGroup,
50
- L as ListArea,
49
+ I as HeaderFilter,
50
+ h as Iconify,
51
+ A as InfoGroup,
52
+ H as ListArea,
51
53
  g as LoadingSpinner,
52
- y as ScrollbarX,
53
- G as ScrollbarY,
54
- z as SearchBar,
55
- P as VerticalDivider,
56
- er as capitalizeFirstLetters,
57
- rr as useBreakpoints
54
+ G as OverflowTooltip,
55
+ z as ScrollbarX,
56
+ E as ScrollbarY,
57
+ P as SearchBar,
58
+ X as VerticalDivider,
59
+ pr as capitalizeFirstLetters,
60
+ tr as useBreakpoints
58
61
  };
@@ -12778,5 +12778,6 @@ export {
12778
12778
  Y as g,
12779
12779
  J1 as r,
12780
12780
  X1 as s,
12781
+ $p as t,
12781
12782
  ix as w
12782
12783
  };
@@ -0,0 +1,7 @@
1
+ import "./assets/searchBar.css";
2
+ const s = "_searchbar_gnvwc_1", a = {
3
+ searchbar: s
4
+ };
5
+ export {
6
+ a as s
7
+ };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Filter data type
3
+ * @param id - filter id (unique)
4
+ * @param title - filter title
5
+ * @param availableOptions - available options for the filter
6
+ */
7
+ export type FilterData = {
8
+ id: string;
9
+ title: string;
10
+ availableOptions: FilterOption[];
11
+ };
12
+ /**
13
+ * Filter option data type
14
+ * @param id - option id (unique)
15
+ * @param text - option text
16
+ * @param icon - option icon, optional
17
+ */
18
+ export type FilterOption = {
19
+ id: string;
20
+ text: string;
21
+ icon?: string;
22
+ };
23
+ /**
24
+ * Filter selection data type
25
+ * @param id - filter id (unique)
26
+ * @param selectedOptions - selected options of the filter (multiple)
27
+ */
28
+ export type FilterSelection = {
29
+ id: string;
30
+ selectedOptions: FilterOption[];
31
+ };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,7 @@
1
+ import "./assets/verticalDivider.css";
2
+ const i = "_divider_opvom_1", o = {
3
+ divider: i
4
+ };
5
+ export {
6
+ o as s
7
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/shared-components",
3
3
  "description": "This is a shared component library. It should used in the HortiView platform and its modules.",
4
- "version": "0.0.6927",
4
+ "version": "0.0.7018",
5
5
  "type": "module",
6
6
  "repository": "https://dev.azure.com/sdundc/HV%20Platform/_git/HortiView-Frontend-Shared",
7
7
  "author": "Falk Menge <falk.menge.ext@bayer.com>",
@@ -1,18 +0,0 @@
1
- import "./assets/BigLoadingSpinner.css";
2
- import { jsx as r, jsxs as a } from "react/jsx-runtime";
3
- import { TypoBody as e } from "@element/react-components";
4
- import { Iconify as n } from "./components/Iconify/Iconify.js";
5
- const d = "_loadingBigOverlay_7dxo1_1", t = "_bigLoadSpinnerCard_7dxo1_12", g = "_bigLoadSpinnerCardText_7dxo1_27", s = "_logo_7dxo1_33", l = "_rotate360deg_7dxo1_1", o = {
6
- loadingBigOverlay: d,
7
- bigLoadSpinnerCard: t,
8
- bigLoadSpinnerCardText: g,
9
- logo: s,
10
- rotate360deg: l
11
- }, c = ({ text: i }) => /* @__PURE__ */ a("div", { className: o.bigLoadSpinnerCard, role: "progressbar", children: [
12
- /* @__PURE__ */ r(n, { icon: "hortiview", className: o.logo, "data-testid": "logo-icon" }),
13
- /* @__PURE__ */ r(e, { tag: "p", bold: !0, level: 1, className: o.bigLoadSpinnerCardText, children: i })
14
- ] }), b = (i) => /* @__PURE__ */ r("div", { className: o.loadingBigOverlay, children: /* @__PURE__ */ r(c, { ...i }) });
15
- export {
16
- b as B,
17
- o as s
18
- };
@@ -1,99 +0,0 @@
1
- import "./assets/ListAreaService.css";
2
- import { jsx as r, jsxs as N } from "react/jsx-runtime";
3
- import { TypoButton as b, Group as k, TypoSubtitle as $, TypoBody as L, Icon as O } from "@element/react-components";
4
- import { Iconify as E } from "./components/Iconify/Iconify.js";
5
- import { AvailableCustomIcons as j } from "./enums/AvailableCustomIcons.js";
6
- const W = "_fullWidth_x5yt7_1", G = "_mainElevation_x5yt7_5", S = "_searchbar_x5yt7_11", w = "_roundedBottom_x5yt7_19", A = "_primaryText_x5yt7_24", P = "_list_x5yt7_28", q = "_listItem_x5yt7_56", z = "_trailingIcon_x5yt7_60", D = "_groupedListItem_x5yt7_72", F = "_iconColor_x5yt7_76", H = "_overlineTitle_x5yt7_80", J = "_truncate_x5yt7_85", K = "_truncateOverlineText_x5yt7_94", n = {
7
- fullWidth: W,
8
- mainElevation: G,
9
- searchbar: S,
10
- roundedBottom: w,
11
- primaryText: A,
12
- list: P,
13
- listItem: q,
14
- trailingIcon: z,
15
- groupedListItem: D,
16
- iconColor: F,
17
- overlineTitle: H,
18
- truncate: J,
19
- truncateOverlineText: K
20
- }, Z = (e, a, c, l) => {
21
- const o = e.reduce((i, s) => {
22
- const { groupName: t, ...m } = s;
23
- return !t || typeof t != "string" || (i[t] || (i[t] = {
24
- groupName: /* @__PURE__ */ r(b, { children: t }),
25
- id: t,
26
- items: []
27
- }), i[t].items = [
28
- ...i[t].items,
29
- x(m, a, c, l)
30
- ]), i;
31
- }, {});
32
- return Object.values(o);
33
- }, tt = (e, a, c, l) => e.map((o) => x(o, a, c, l)), x = (e, a, c, l) => {
34
- const {
35
- id: o,
36
- title: i,
37
- subTitle: s,
38
- route: t,
39
- value: m,
40
- noNavigation: d,
41
- disabled: _,
42
- icon: g,
43
- iconType: p,
44
- trailingIcon: T,
45
- trailingIconType: I,
46
- actionButton: h,
47
- onClick: f,
48
- customTitle: y,
49
- listItemClassName: B,
50
- overlineTitle: v
51
- } = e, u = a === t;
52
- return {
53
- id: o,
54
- key: o,
55
- select: u,
56
- primaryText: o,
57
- secondaryText: /* @__PURE__ */ N(k, { direction: "vertical", gap: "none", children: [
58
- y ?? /* @__PURE__ */ r(
59
- $,
60
- {
61
- level: 1,
62
- themeColor: u ? "primary" : void 0,
63
- className: `${n.truncate} lmnt-theme-on-surface-active`,
64
- children: i
65
- }
66
- ),
67
- s && !y ? /* @__PURE__ */ r(
68
- L,
69
- {
70
- level: 2,
71
- themeColor: u ? "primary" : void 0,
72
- className: `${n.truncate} lmnt-theme-on-surface-inactive`,
73
- children: s
74
- }
75
- ) : void 0
76
- ] }),
77
- overlineText: /* @__PURE__ */ r("span", { className: `${n.truncate} ${n.truncateOverlineText}`, children: v }),
78
- trailingBlock: h ?? T ?? /* @__PURE__ */ r(O, { icon: "arrow_right", className: n.iconColor }),
79
- leadingBlock: M(g),
80
- value: m,
81
- componentProps: {
82
- id: o,
83
- key: o,
84
- leadingBlockType: p ?? "icon",
85
- trailingBlockType: I ?? "icon",
86
- className: `${p === "avatar" ? "" : n.listItem} ${c} ${B ?? ""} ${v ? n.overlineTitle : ""}`,
87
- onClick: (Q, C) => f?.(C),
88
- tag: _ || d ? void 0 : l ?? "a",
89
- to: _ || d ? void 0 : t,
90
- disabled: _
91
- }
92
- };
93
- }, M = (e) => typeof e == "string" && e in j ? /* @__PURE__ */ r(E, { icon: e }) : e;
94
- export {
95
- tt as a,
96
- Z as g,
97
- x as m,
98
- n as s
99
- };
@@ -1,324 +0,0 @@
1
- import { g as D, c as u } from "./_commonjsHelpers-CT_km90n.js";
2
- function E(t, e) {
3
- for (var a = -1, r = t == null ? 0 : t.length, n = Array(r); ++a < r; )
4
- n[a] = e(t[a], a, t);
5
- return n;
6
- }
7
- var A = E, F = Array.isArray, v = F;
8
- const lr = /* @__PURE__ */ D(v);
9
- var K = typeof u == "object" && u && u.Object === Object && u, R = K, L = R, q = typeof self == "object" && self && self.Object === Object && self, U = L || q || Function("return this")(), g = U, J = g, V = J.Symbol, d = V, m = d, x = Object.prototype, X = x.hasOwnProperty, Y = x.toString, h = m ? m.toStringTag : void 0;
10
- function Z(t) {
11
- var e = X.call(t, h), a = t[h];
12
- try {
13
- t[h] = void 0;
14
- var r = !0;
15
- } catch {
16
- }
17
- var n = Y.call(t);
18
- return r && (e ? t[h] = a : delete t[h]), n;
19
- }
20
- var k = Z, B = Object.prototype, Q = B.toString;
21
- function W(t) {
22
- return Q.call(t);
23
- }
24
- var tt = W, C = d, et = k, at = tt, rt = "[object Null]", nt = "[object Undefined]", S = C ? C.toStringTag : void 0;
25
- function it(t) {
26
- return t == null ? t === void 0 ? nt : rt : S && S in Object(t) ? et(t) : at(t);
27
- }
28
- var M = it;
29
- function st(t) {
30
- return t != null && typeof t == "object";
31
- }
32
- var ot = st, ct = M, ht = ot, ut = "[object Symbol]";
33
- function vt(t) {
34
- return typeof t == "symbol" || ht(t) && ct(t) == ut;
35
- }
36
- var $ = vt, lt = v, pt = $, ft = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, _t = /^\w*$/;
37
- function gt(t, e) {
38
- if (lt(t))
39
- return !1;
40
- var a = typeof t;
41
- return a == "number" || a == "symbol" || a == "boolean" || t == null || pt(t) ? !0 : _t.test(t) || !ft.test(t) || e != null && t in Object(e);
42
- }
43
- var dt = gt;
44
- function $t(t) {
45
- var e = typeof t;
46
- return t != null && (e == "object" || e == "function");
47
- }
48
- var G = $t, yt = M, bt = G, mt = "[object AsyncFunction]", Ct = "[object Function]", St = "[object GeneratorFunction]", Ot = "[object Proxy]";
49
- function Tt(t) {
50
- if (!bt(t))
51
- return !1;
52
- var e = yt(t);
53
- return e == Ct || e == St || e == mt || e == Ot;
54
- }
55
- var jt = Tt, Pt = g, wt = Pt["__core-js_shared__"], It = wt, _ = It, O = function() {
56
- var t = /[^.]+$/.exec(_ && _.keys && _.keys.IE_PROTO || "");
57
- return t ? "Symbol(src)_1." + t : "";
58
- }();
59
- function Dt(t) {
60
- return !!O && O in t;
61
- }
62
- var xt = Dt, Mt = Function.prototype, Gt = Mt.toString;
63
- function zt(t) {
64
- if (t != null) {
65
- try {
66
- return Gt.call(t);
67
- } catch {
68
- }
69
- try {
70
- return t + "";
71
- } catch {
72
- }
73
- }
74
- return "";
75
- }
76
- var Nt = zt, Ht = jt, Et = xt, At = G, Ft = Nt, Kt = /[\\^$.*+?()[\]{}|]/g, Rt = /^\[object .+?Constructor\]$/, Lt = Function.prototype, qt = Object.prototype, Ut = Lt.toString, Jt = qt.hasOwnProperty, Vt = RegExp(
77
- "^" + Ut.call(Jt).replace(Kt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
78
- );
79
- function Xt(t) {
80
- if (!At(t) || Et(t))
81
- return !1;
82
- var e = Ht(t) ? Vt : Rt;
83
- return e.test(Ft(t));
84
- }
85
- var Yt = Xt;
86
- function Zt(t, e) {
87
- return t?.[e];
88
- }
89
- var kt = Zt, Bt = Yt, Qt = kt;
90
- function Wt(t, e) {
91
- var a = Qt(t, e);
92
- return Bt(a) ? a : void 0;
93
- }
94
- var z = Wt, te = z, ee = te(Object, "create"), l = ee, T = l;
95
- function ae() {
96
- this.__data__ = T ? T(null) : {}, this.size = 0;
97
- }
98
- var re = ae;
99
- function ne(t) {
100
- var e = this.has(t) && delete this.__data__[t];
101
- return this.size -= e ? 1 : 0, e;
102
- }
103
- var ie = ne, se = l, oe = "__lodash_hash_undefined__", ce = Object.prototype, he = ce.hasOwnProperty;
104
- function ue(t) {
105
- var e = this.__data__;
106
- if (se) {
107
- var a = e[t];
108
- return a === oe ? void 0 : a;
109
- }
110
- return he.call(e, t) ? e[t] : void 0;
111
- }
112
- var ve = ue, le = l, pe = Object.prototype, fe = pe.hasOwnProperty;
113
- function _e(t) {
114
- var e = this.__data__;
115
- return le ? e[t] !== void 0 : fe.call(e, t);
116
- }
117
- var ge = _e, de = l, $e = "__lodash_hash_undefined__";
118
- function ye(t, e) {
119
- var a = this.__data__;
120
- return this.size += this.has(t) ? 0 : 1, a[t] = de && e === void 0 ? $e : e, this;
121
- }
122
- var be = ye, me = re, Ce = ie, Se = ve, Oe = ge, Te = be;
123
- function s(t) {
124
- var e = -1, a = t == null ? 0 : t.length;
125
- for (this.clear(); ++e < a; ) {
126
- var r = t[e];
127
- this.set(r[0], r[1]);
128
- }
129
- }
130
- s.prototype.clear = me;
131
- s.prototype.delete = Ce;
132
- s.prototype.get = Se;
133
- s.prototype.has = Oe;
134
- s.prototype.set = Te;
135
- var je = s;
136
- function Pe() {
137
- this.__data__ = [], this.size = 0;
138
- }
139
- var we = Pe;
140
- function Ie(t, e) {
141
- return t === e || t !== t && e !== e;
142
- }
143
- var De = Ie, xe = De;
144
- function Me(t, e) {
145
- for (var a = t.length; a--; )
146
- if (xe(t[a][0], e))
147
- return a;
148
- return -1;
149
- }
150
- var p = Me, Ge = p, ze = Array.prototype, Ne = ze.splice;
151
- function He(t) {
152
- var e = this.__data__, a = Ge(e, t);
153
- if (a < 0)
154
- return !1;
155
- var r = e.length - 1;
156
- return a == r ? e.pop() : Ne.call(e, a, 1), --this.size, !0;
157
- }
158
- var Ee = He, Ae = p;
159
- function Fe(t) {
160
- var e = this.__data__, a = Ae(e, t);
161
- return a < 0 ? void 0 : e[a][1];
162
- }
163
- var Ke = Fe, Re = p;
164
- function Le(t) {
165
- return Re(this.__data__, t) > -1;
166
- }
167
- var qe = Le, Ue = p;
168
- function Je(t, e) {
169
- var a = this.__data__, r = Ue(a, t);
170
- return r < 0 ? (++this.size, a.push([t, e])) : a[r][1] = e, this;
171
- }
172
- var Ve = Je, Xe = we, Ye = Ee, Ze = Ke, ke = qe, Be = Ve;
173
- function o(t) {
174
- var e = -1, a = t == null ? 0 : t.length;
175
- for (this.clear(); ++e < a; ) {
176
- var r = t[e];
177
- this.set(r[0], r[1]);
178
- }
179
- }
180
- o.prototype.clear = Xe;
181
- o.prototype.delete = Ye;
182
- o.prototype.get = Ze;
183
- o.prototype.has = ke;
184
- o.prototype.set = Be;
185
- var Qe = o, We = z, ta = g, ea = We(ta, "Map"), aa = ea, j = je, ra = Qe, na = aa;
186
- function ia() {
187
- this.size = 0, this.__data__ = {
188
- hash: new j(),
189
- map: new (na || ra)(),
190
- string: new j()
191
- };
192
- }
193
- var sa = ia;
194
- function oa(t) {
195
- var e = typeof t;
196
- return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
197
- }
198
- var ca = oa, ha = ca;
199
- function ua(t, e) {
200
- var a = t.__data__;
201
- return ha(e) ? a[typeof e == "string" ? "string" : "hash"] : a.map;
202
- }
203
- var f = ua, va = f;
204
- function la(t) {
205
- var e = va(this, t).delete(t);
206
- return this.size -= e ? 1 : 0, e;
207
- }
208
- var pa = la, fa = f;
209
- function _a(t) {
210
- return fa(this, t).get(t);
211
- }
212
- var ga = _a, da = f;
213
- function $a(t) {
214
- return da(this, t).has(t);
215
- }
216
- var ya = $a, ba = f;
217
- function ma(t, e) {
218
- var a = ba(this, t), r = a.size;
219
- return a.set(t, e), this.size += a.size == r ? 0 : 1, this;
220
- }
221
- var Ca = ma, Sa = sa, Oa = pa, Ta = ga, ja = ya, Pa = Ca;
222
- function c(t) {
223
- var e = -1, a = t == null ? 0 : t.length;
224
- for (this.clear(); ++e < a; ) {
225
- var r = t[e];
226
- this.set(r[0], r[1]);
227
- }
228
- }
229
- c.prototype.clear = Sa;
230
- c.prototype.delete = Oa;
231
- c.prototype.get = Ta;
232
- c.prototype.has = ja;
233
- c.prototype.set = Pa;
234
- var wa = c, N = wa, Ia = "Expected a function";
235
- function y(t, e) {
236
- if (typeof t != "function" || e != null && typeof e != "function")
237
- throw new TypeError(Ia);
238
- var a = function() {
239
- var r = arguments, n = e ? e.apply(this, r) : r[0], i = a.cache;
240
- if (i.has(n))
241
- return i.get(n);
242
- var b = t.apply(this, r);
243
- return a.cache = i.set(n, b) || i, b;
244
- };
245
- return a.cache = new (y.Cache || N)(), a;
246
- }
247
- y.Cache = N;
248
- var Da = y, xa = Da, Ma = 500;
249
- function Ga(t) {
250
- var e = xa(t, function(r) {
251
- return a.size === Ma && a.clear(), r;
252
- }), a = e.cache;
253
- return e;
254
- }
255
- var za = Ga, Na = za, Ha = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, Aa = Na(function(t) {
256
- var e = [];
257
- return t.charCodeAt(0) === 46 && e.push(""), t.replace(Ha, function(a, r, n, i) {
258
- e.push(n ? i.replace(Ea, "$1") : r || a);
259
- }), e;
260
- }), Fa = Aa, P = d, Ka = A, Ra = v, La = $, qa = 1 / 0, w = P ? P.prototype : void 0, I = w ? w.toString : void 0;
261
- function H(t) {
262
- if (typeof t == "string")
263
- return t;
264
- if (Ra(t))
265
- return Ka(t, H) + "";
266
- if (La(t))
267
- return I ? I.call(t) : "";
268
- var e = t + "";
269
- return e == "0" && 1 / t == -qa ? "-0" : e;
270
- }
271
- var Ua = H, Ja = Ua;
272
- function Va(t) {
273
- return t == null ? "" : Ja(t);
274
- }
275
- var Xa = Va, Ya = v, Za = dt, ka = Fa, Ba = Xa;
276
- function Qa(t, e) {
277
- return Ya(t) ? t : Za(t, e) ? [t] : ka(Ba(t));
278
- }
279
- var Wa = Qa, tr = $, er = 1 / 0;
280
- function ar(t) {
281
- if (typeof t == "string" || tr(t))
282
- return t;
283
- var e = t + "";
284
- return e == "0" && 1 / t == -er ? "-0" : e;
285
- }
286
- var rr = ar, nr = Wa, ir = rr;
287
- function sr(t, e) {
288
- e = nr(e, t);
289
- for (var a = 0, r = e.length; t != null && a < r; )
290
- t = t[ir(e[a++])];
291
- return a && a == r ? t : void 0;
292
- }
293
- var or = sr, cr = or;
294
- function hr(t, e, a) {
295
- var r = t == null ? void 0 : cr(t, e);
296
- return r === void 0 ? a : r;
297
- }
298
- var ur = hr;
299
- const pr = /* @__PURE__ */ D(ur);
300
- export {
301
- Qe as _,
302
- aa as a,
303
- wa as b,
304
- g as c,
305
- d,
306
- De as e,
307
- v as f,
308
- pr as g,
309
- M as h,
310
- lr as i,
311
- ot as j,
312
- R as k,
313
- jt as l,
314
- z as m,
315
- Nt as n,
316
- G as o,
317
- Wa as p,
318
- rr as q,
319
- ur as r,
320
- dt as s,
321
- or as t,
322
- $ as u,
323
- A as v
324
- };
File without changes
File without changes