se-design 1.0.68-dev → 1.0.68-devnav
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/assets/style.css +1 -1
- package/dist/components/Banner/index.d.ts +0 -2
- package/dist/components/MenuItem/index.d.ts +2 -1
- package/dist/components/Paywall/index.d.ts +7 -1
- package/dist/index10.js.map +1 -1
- package/dist/index100.js.map +1 -1
- package/dist/index101.js.map +1 -1
- package/dist/index102.js.map +1 -1
- package/dist/index103.js.map +1 -1
- package/dist/index104.js.map +1 -1
- package/dist/index105.js.map +1 -1
- package/dist/index106.js.map +1 -1
- package/dist/index107.js.map +1 -1
- package/dist/index108.js.map +1 -1
- package/dist/index109.js.map +1 -1
- package/dist/index11.js.map +1 -1
- package/dist/index110.js.map +1 -1
- package/dist/index111.js.map +1 -1
- package/dist/index112.js.map +1 -1
- package/dist/index113.js.map +1 -1
- package/dist/index114.js.map +1 -1
- package/dist/index115.js.map +1 -1
- package/dist/index116.js.map +1 -1
- package/dist/index117.js.map +1 -1
- package/dist/index118.js.map +1 -1
- package/dist/index119.js.map +1 -1
- package/dist/index12.js.map +1 -1
- package/dist/index120.js.map +1 -1
- package/dist/index121.js.map +1 -1
- package/dist/index122.js.map +1 -1
- package/dist/index123.js.map +1 -1
- package/dist/index124.js.map +1 -1
- package/dist/index125.js.map +1 -1
- package/dist/index126.js.map +1 -1
- package/dist/index127.js.map +1 -1
- package/dist/index128.js.map +1 -1
- package/dist/index129.js.map +1 -1
- package/dist/index13.js.map +1 -1
- package/dist/index130.js.map +1 -1
- package/dist/index131.js.map +1 -1
- package/dist/index132.js.map +1 -1
- package/dist/index133.js.map +1 -1
- package/dist/index134.js.map +1 -1
- package/dist/index135.js.map +1 -1
- package/dist/index136.js.map +1 -1
- package/dist/index137.js.map +1 -1
- package/dist/index138.js.map +1 -1
- package/dist/index139.js.map +1 -1
- package/dist/index140.js.map +1 -1
- package/dist/index141.js.map +1 -1
- package/dist/index142.js.map +1 -1
- package/dist/index143.js.map +1 -1
- package/dist/index144.js.map +1 -1
- package/dist/index145.js.map +1 -1
- package/dist/index146.js.map +1 -1
- package/dist/index147.js.map +1 -1
- package/dist/index148.js.map +1 -1
- package/dist/index149.js.map +1 -1
- package/dist/index15.js.map +1 -1
- package/dist/index150.js.map +1 -1
- package/dist/index151.js.map +1 -1
- package/dist/index152.js.map +1 -1
- package/dist/index153.js.map +1 -1
- package/dist/index154.js.map +1 -1
- package/dist/index155.js.map +1 -1
- package/dist/index156.js.map +1 -1
- package/dist/index157.js.map +1 -1
- package/dist/index158.js.map +1 -1
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +26 -25
- package/dist/index16.js.map +1 -1
- package/dist/index160.js.map +1 -1
- package/dist/index161.js.map +1 -1
- package/dist/index162.js.map +1 -1
- package/dist/index163.js.map +1 -1
- package/dist/index164.js.map +1 -1
- package/dist/index165.js.map +1 -1
- package/dist/index166.js.map +1 -1
- package/dist/index167.js.map +1 -1
- package/dist/index168.js.map +1 -1
- package/dist/index169.js.map +1 -1
- package/dist/index17.js +59 -47
- package/dist/index17.js.map +1 -1
- package/dist/index170.js.map +1 -1
- package/dist/index171.js.map +1 -1
- package/dist/index172.js.map +1 -1
- package/dist/index173.js.map +1 -1
- package/dist/index174.js.map +1 -1
- package/dist/index175.js.map +1 -1
- package/dist/index176.js.map +1 -1
- package/dist/index177.js.map +1 -1
- package/dist/index178.js.map +1 -1
- package/dist/index179.js.map +1 -1
- package/dist/index18.js.map +1 -1
- package/dist/index180.js.map +1 -1
- package/dist/index181.js.map +1 -1
- package/dist/index182.js.map +1 -1
- package/dist/index183.js.map +1 -1
- package/dist/index184.js.map +1 -1
- package/dist/index185.js.map +1 -1
- package/dist/index186.js.map +1 -1
- package/dist/index187.js.map +1 -1
- package/dist/index188.js.map +1 -1
- package/dist/index189.js.map +1 -1
- package/dist/index19.js.map +1 -1
- package/dist/index192.js.map +1 -1
- package/dist/index194.js.map +1 -1
- package/dist/index196.js.map +1 -1
- package/dist/index20.js.map +1 -1
- package/dist/index204.js.map +1 -1
- package/dist/index21.js.map +1 -1
- package/dist/index215.js.map +1 -1
- package/dist/index216.js.map +1 -1
- package/dist/index22.js.map +1 -1
- package/dist/index227.js.map +1 -1
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +1 -1
- package/dist/index229.js.map +1 -1
- package/dist/index23.js.map +1 -1
- package/dist/index230.js.map +1 -1
- package/dist/index232.js.map +1 -1
- package/dist/index233.js.map +1 -1
- package/dist/index234.js.map +1 -1
- package/dist/index235.js.map +1 -1
- package/dist/index236.js.map +1 -1
- package/dist/index237.js.map +1 -1
- package/dist/index238.js.map +1 -1
- package/dist/index24.js.map +1 -1
- package/dist/index240.js.map +1 -1
- package/dist/index241.js.map +1 -1
- package/dist/index242.js.map +1 -1
- package/dist/index244.js.map +1 -1
- package/dist/index245.js.map +1 -1
- package/dist/index246.js.map +1 -1
- package/dist/index249.js.map +1 -1
- package/dist/index25.js.map +1 -1
- package/dist/index26.js.map +1 -1
- package/dist/index27.js.map +1 -1
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +55 -57
- package/dist/index29.js.map +1 -1
- package/dist/index3.js.map +1 -1
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +10 -11
- package/dist/index31.js.map +1 -1
- package/dist/index32.js.map +1 -1
- package/dist/index33.js.map +1 -1
- package/dist/index34.js.map +1 -1
- package/dist/index35.js.map +1 -1
- package/dist/index36.js.map +1 -1
- package/dist/index37.js.map +1 -1
- package/dist/index38.js.map +1 -1
- package/dist/index39.js.map +1 -1
- package/dist/index4.js.map +1 -1
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +7 -8
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +6 -7
- package/dist/index42.js.map +1 -1
- package/dist/index43.js.map +1 -1
- package/dist/index44.js.map +1 -1
- package/dist/index45.js.map +1 -1
- package/dist/index46.js.map +1 -1
- package/dist/index47.js.map +1 -1
- package/dist/index48.js.map +1 -1
- package/dist/index49.js.map +1 -1
- package/dist/index5.js +72 -72
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +13 -13
- package/dist/index50.js.map +1 -1
- package/dist/index51.js.map +1 -1
- package/dist/index52.js.map +1 -1
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +16 -17
- package/dist/index54.js.map +1 -1
- package/dist/index55.js.map +1 -1
- package/dist/index56.js.map +1 -1
- package/dist/index57.js.map +1 -1
- package/dist/index58.js.map +1 -1
- package/dist/index59.js.map +1 -1
- package/dist/index6.js +6 -7
- package/dist/index6.js.map +1 -1
- package/dist/index60.js.map +1 -1
- package/dist/index61.js.map +1 -1
- package/dist/index62.js.map +1 -1
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +87 -75
- package/dist/index64.js.map +1 -1
- package/dist/index66.js.map +1 -1
- package/dist/index67.js.map +1 -1
- package/dist/index68.js.map +1 -1
- package/dist/index69.js.map +1 -1
- package/dist/index7.js.map +1 -1
- package/dist/index70.js.map +1 -1
- package/dist/index72.js.map +1 -1
- package/dist/index73.js.map +1 -1
- package/dist/index74.js.map +1 -1
- package/dist/index75.js.map +1 -1
- package/dist/index76.js.map +1 -1
- package/dist/index77.js.map +1 -1
- package/dist/index78.js.map +1 -1
- package/dist/index79.js.map +1 -1
- package/dist/index8.js.map +1 -1
- package/dist/index80.js.map +1 -1
- package/dist/index81.js.map +1 -1
- package/dist/index82.js.map +1 -1
- package/dist/index83.js.map +1 -1
- package/dist/index84.js.map +1 -1
- package/dist/index85.js.map +1 -1
- package/dist/index86.js.map +1 -1
- package/dist/index87.js.map +1 -1
- package/dist/index88.js.map +1 -1
- package/dist/index89.js.map +1 -1
- package/dist/index9.js.map +1 -1
- package/dist/index90.js.map +1 -1
- package/dist/index91.js.map +1 -1
- package/dist/index92.js.map +1 -1
- package/dist/index93.js.map +1 -1
- package/dist/index94.js.map +1 -1
- package/dist/index95.js.map +1 -1
- package/dist/index96.js.map +1 -1
- package/dist/index97.js.map +1 -1
- package/dist/index98.js.map +1 -1
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index17.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { MenuItem as
|
|
3
|
-
import { InputWithIcon as
|
|
4
|
-
import { useRovingFocus as
|
|
5
|
-
function
|
|
6
|
-
return
|
|
7
|
-
for (var
|
|
8
|
-
var
|
|
9
|
-
for (var l in
|
|
1
|
+
import t, { useState as $, useMemo as y } from "react";
|
|
2
|
+
import { MenuItem as k } from "./index16.js";
|
|
3
|
+
import { InputWithIcon as F } from "./index51.js";
|
|
4
|
+
import { useRovingFocus as R } from "./index68.js";
|
|
5
|
+
function m() {
|
|
6
|
+
return m = Object.assign ? Object.assign.bind() : function(a) {
|
|
7
|
+
for (var o = 1; o < arguments.length; o++) {
|
|
8
|
+
var n = arguments[o];
|
|
9
|
+
for (var l in n) ({}).hasOwnProperty.call(n, l) && (a[l] = n[l]);
|
|
10
10
|
}
|
|
11
|
-
return
|
|
12
|
-
},
|
|
11
|
+
return a;
|
|
12
|
+
}, m.apply(null, arguments);
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
items:
|
|
16
|
-
maxHeight:
|
|
17
|
-
shouldShowSearch:
|
|
14
|
+
const P = ({
|
|
15
|
+
items: a,
|
|
16
|
+
maxHeight: o,
|
|
17
|
+
shouldShowSearch: n = !1,
|
|
18
18
|
searchPlaceholder: l = "Search...",
|
|
19
|
-
searchBy:
|
|
20
|
-
searchResultEmptyMessage:
|
|
19
|
+
searchBy: g = "label",
|
|
20
|
+
searchResultEmptyMessage: v = "No results found"
|
|
21
21
|
}) => {
|
|
22
|
-
const [
|
|
22
|
+
const [i, b] = $(""), I = () => i.trim() ? a.filter((e) => (e[g]?.toString().toLowerCase() || "").includes(i.toLowerCase())) : a, h = () => /* @__PURE__ */ t.createElement("div", {
|
|
23
23
|
className: "w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1"
|
|
24
|
-
}, /* @__PURE__ */
|
|
24
|
+
}, /* @__PURE__ */ t.createElement(F, {
|
|
25
25
|
leftIcon: {
|
|
26
26
|
name: "search",
|
|
27
27
|
position: "left",
|
|
@@ -29,7 +29,7 @@ const _ = ({
|
|
|
29
29
|
color: "var(--color-gray-500)"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
value:
|
|
32
|
+
value: i,
|
|
33
33
|
onChange: (e) => b(e),
|
|
34
34
|
placeholder: l,
|
|
35
35
|
style: {
|
|
@@ -41,48 +41,60 @@ const _ = ({
|
|
|
41
41
|
border: "none",
|
|
42
42
|
outline: "none"
|
|
43
43
|
}
|
|
44
|
-
})),
|
|
45
|
-
maxHeight:
|
|
44
|
+
})), c = I(), x = o ? {
|
|
45
|
+
maxHeight: o,
|
|
46
46
|
overflowY: "auto"
|
|
47
|
-
} : {},
|
|
48
|
-
const e = /* @__PURE__ */ new WeakMap(),
|
|
49
|
-
return
|
|
50
|
-
const
|
|
51
|
-
let
|
|
52
|
-
|
|
47
|
+
} : {}, d = y(() => {
|
|
48
|
+
const e = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new Set();
|
|
49
|
+
return a.forEach((s, p) => {
|
|
50
|
+
const f = s.id || s.automationId || `menu-item-${p}`;
|
|
51
|
+
let u = f;
|
|
52
|
+
r.has(u) && (u = `${f}-${p}`), r.add(u), e.set(s, u);
|
|
53
53
|
}), e;
|
|
54
|
-
}, [
|
|
54
|
+
}, [a]), w = y(() => c.filter((e) => e.type !== "header" && e.type !== "separator").map((e) => d.get(e)), [c, d]), {
|
|
55
55
|
getRovingItemProps: E,
|
|
56
|
-
handleKeyDown:
|
|
56
|
+
handleKeyDown: N,
|
|
57
57
|
setFocusedId: M
|
|
58
|
-
} =
|
|
59
|
-
itemIds:
|
|
58
|
+
} = R({
|
|
59
|
+
itemIds: w,
|
|
60
60
|
orientation: "vertical",
|
|
61
61
|
loop: !0
|
|
62
62
|
});
|
|
63
|
-
return /* @__PURE__ */
|
|
64
|
-
className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${
|
|
63
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
64
|
+
className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${n ? "" : "py-2"}`,
|
|
65
65
|
role: "menu",
|
|
66
66
|
"aria-label": "Menu"
|
|
67
|
-
},
|
|
67
|
+
}, n && h(), /* @__PURE__ */ t.createElement("div", {
|
|
68
68
|
style: x,
|
|
69
|
-
className: `overflow-y-auto ${
|
|
70
|
-
},
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
className: `overflow-y-auto ${n ? "py-2" : ""}`
|
|
70
|
+
}, c.length > 0 ? c.map((e) => {
|
|
71
|
+
const r = d.get(e);
|
|
72
|
+
if (e.type === "separator")
|
|
73
|
+
return /* @__PURE__ */ t.createElement("hr", {
|
|
74
|
+
key: r,
|
|
75
|
+
className: "se-design-menu-separator cursor-default border-[var(--color-gray-200)]"
|
|
76
|
+
});
|
|
77
|
+
if (e.type === "header")
|
|
78
|
+
return /* @__PURE__ */ t.createElement("div", {
|
|
79
|
+
key: r,
|
|
80
|
+
className: "se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]",
|
|
81
|
+
role: "presentation"
|
|
82
|
+
}, e.label);
|
|
83
|
+
const s = E(r);
|
|
84
|
+
return /* @__PURE__ */ t.createElement(k, m({}, e, {
|
|
85
|
+
key: r,
|
|
86
|
+
ref: s.ref,
|
|
87
|
+
tabIndex: s.tabIndex,
|
|
88
|
+
onKeyDown: N,
|
|
89
|
+
onFocus: () => M(r)
|
|
78
90
|
}));
|
|
79
|
-
}) : /* @__PURE__ */
|
|
91
|
+
}) : /* @__PURE__ */ t.createElement("div", {
|
|
80
92
|
className: "px-3 py-4 text-center text-[var(--color-gray-700)] text-sm",
|
|
81
93
|
role: "status",
|
|
82
94
|
"aria-live": "polite"
|
|
83
|
-
},
|
|
95
|
+
}, v)));
|
|
84
96
|
};
|
|
85
97
|
export {
|
|
86
|
-
|
|
98
|
+
P as MenuList
|
|
87
99
|
};
|
|
88
100
|
//# sourceMappingURL=index17.js.map
|
package/dist/index17.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index17.js","sources":["../src/components/MenuList/index.tsx"],"sourcesContent":["import React, { FC, useState, useMemo } from 'react';\nimport { MenuItem, MenuItemProps } from 'src/components/MenuItem';\nimport { InputWithIcon } from '../InputWithIcon';\nimport { useRovingFocus } from 'src/utils/a11y/useRovingFocus';\n\nexport type MenuListProps = {\n items: MenuItemProps[];\n maxHeight?: string;\n shouldShowSearch?: boolean;\n searchPlaceholder?: string;\n searchBy?: string;\n searchResultEmptyMessage?: string;\n};\n\nexport const MenuList: FC<MenuListProps> = ({\n items,\n maxHeight,\n shouldShowSearch = false,\n searchPlaceholder = 'Search...',\n searchBy = 'label',\n searchResultEmptyMessage = 'No results found'\n}) => {\n const [searchQuery, setSearchQuery] = useState('');\n\n const getFilteredItems = () => {\n if (!searchQuery.trim()) {\n return items;\n }\n return items.filter((item) => {\n const searchValue = item[searchBy as keyof MenuItemProps]?.toString().toLowerCase() || '';\n return searchValue.includes(searchQuery.toLowerCase());\n });\n };\n\n const renderSearchBar = () => {\n return (\n <div className=\"w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1\">\n <InputWithIcon\n leftIcon={{ name: 'search', position: 'left', style: { color: 'var(--color-gray-500)' } }}\n value={searchQuery}\n onChange={(value) => setSearchQuery(value)}\n placeholder={searchPlaceholder}\n style={{ margin: 0, gap: 0 }}\n inputStyle={{ width: '100%', border: 'none', outline: 'none' }}\n />\n </div>\n );\n };\n\n const filteredItems = getFilteredItems();\n const containerStyle = maxHeight\n ? {\n maxHeight,\n overflowY: 'auto' as const\n }\n : {};\n\n \n const itemIdByRef = useMemo(() => {\n const map = new WeakMap<MenuItemProps, string>();\n const seen = new Set<string>();\n\n items.forEach((item, index) => {\n const baseId = item.id || item.automationId || `menu-item-${index}`;\n let uniqueId = baseId;\n\n if (seen.has(uniqueId)) {\n uniqueId = `${baseId}-${index}`;\n }\n\n seen.add(uniqueId);\n map.set(item, uniqueId);\n });\n\n return map;\n }, [items]);\n\n const itemIds = useMemo(() => {\n return filteredItems.
|
|
1
|
+
{"version":3,"file":"index17.js","sources":["../src/components/MenuList/index.tsx"],"sourcesContent":["import React, { FC, useState, useMemo } from 'react';\nimport { MenuItem, MenuItemProps } from 'src/components/MenuItem';\nimport { InputWithIcon } from '../InputWithIcon';\nimport { useRovingFocus } from 'src/utils/a11y/useRovingFocus';\n\nexport type MenuListProps = {\n items: MenuItemProps[];\n maxHeight?: string;\n shouldShowSearch?: boolean;\n searchPlaceholder?: string;\n searchBy?: string;\n searchResultEmptyMessage?: string;\n};\n\nexport const MenuList: FC<MenuListProps> = ({\n items,\n maxHeight,\n shouldShowSearch = false,\n searchPlaceholder = 'Search...',\n searchBy = 'label',\n searchResultEmptyMessage = 'No results found'\n}) => {\n const [searchQuery, setSearchQuery] = useState('');\n\n const getFilteredItems = () => {\n if (!searchQuery.trim()) {\n return items;\n }\n return items.filter((item) => {\n const searchValue = item[searchBy as keyof MenuItemProps]?.toString().toLowerCase() || '';\n return searchValue.includes(searchQuery.toLowerCase());\n });\n };\n\n const renderSearchBar = () => {\n return (\n <div className=\"w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1\">\n <InputWithIcon\n leftIcon={{ name: 'search', position: 'left', style: { color: 'var(--color-gray-500)' } }}\n value={searchQuery}\n onChange={(value) => setSearchQuery(value)}\n placeholder={searchPlaceholder}\n style={{ margin: 0, gap: 0 }}\n inputStyle={{ width: '100%', border: 'none', outline: 'none' }}\n />\n </div>\n );\n };\n\n const filteredItems = getFilteredItems();\n const containerStyle = maxHeight\n ? {\n maxHeight,\n overflowY: 'auto' as const\n }\n : {};\n\n \n const itemIdByRef = useMemo(() => {\n const map = new WeakMap<MenuItemProps, string>();\n const seen = new Set<string>();\n\n items.forEach((item, index) => {\n const baseId = item.id || item.automationId || `menu-item-${index}`;\n let uniqueId = baseId;\n\n if (seen.has(uniqueId)) {\n uniqueId = `${baseId}-${index}`;\n }\n\n seen.add(uniqueId);\n map.set(item, uniqueId);\n });\n\n return map;\n }, [items]);\n\n const itemIds = useMemo(() => {\n return filteredItems\n .filter((item) => item.type !== 'header' && item.type !== 'separator')\n .map((item) => itemIdByRef.get(item) as string);\n }, [filteredItems, itemIdByRef]);\n\n // Use roving focus for arrow key navigation\n const { getRovingItemProps, handleKeyDown, setFocusedId } = useRovingFocus({\n itemIds,\n orientation: 'vertical',\n loop: true\n });\n\n return (\n <div\n className={`se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${\n shouldShowSearch ? '' : 'py-2'\n }`}\n role=\"menu\"\n aria-label=\"Menu\"\n >\n {shouldShowSearch && renderSearchBar()}\n <div style={containerStyle} className={`overflow-y-auto ${shouldShowSearch ? 'py-2' : ''}`}>\n {filteredItems.length > 0 ? (\n filteredItems.map((item) => {\n const stableId = itemIdByRef.get(item) as string;\n\n if (item.type === 'separator') {\n return (\n <hr key={stableId} className=\"se-design-menu-separator cursor-default border-[var(--color-gray-200)]\" />\n );\n }\n\n if (item.type === 'header') {\n return (\n <div\n key={stableId}\n className=\"se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]\"\n role=\"presentation\"\n >\n {item.label}\n </div>\n );\n }\n\n const rovingProps = getRovingItemProps(stableId);\n return (\n <MenuItem\n {...item}\n key={stableId}\n ref={rovingProps.ref}\n tabIndex={rovingProps.tabIndex}\n onKeyDown={handleKeyDown}\n onFocus={() => setFocusedId(stableId)}\n />\n );\n })\n ) : (\n <div className=\"px-3 py-4 text-center text-[var(--color-gray-700)] text-sm\" role=\"status\" aria-live=\"polite\">{searchResultEmptyMessage}</div>\n )}\n </div>\n </div>\n );\n};\n"],"names":["MenuList","items","maxHeight","shouldShowSearch","searchPlaceholder","searchBy","searchResultEmptyMessage","searchQuery","setSearchQuery","useState","getFilteredItems","trim","filter","item","toString","toLowerCase","includes","renderSearchBar","React","createElement","className","InputWithIcon","leftIcon","name","position","style","color","value","onChange","placeholder","margin","gap","inputStyle","width","border","outline","filteredItems","containerStyle","overflowY","itemIdByRef","useMemo","map","WeakMap","seen","Set","forEach","index","baseId","id","automationId","uniqueId","has","add","set","itemIds","type","get","getRovingItemProps","handleKeyDown","setFocusedId","useRovingFocus","orientation","loop","role","length","stableId","key","label","rovingProps","MenuItem","_extends","ref","tabIndex","onKeyDown","onFocus"],"mappings":";;;;;;;;;;;;;AAcO,MAAMA,IAA8BA,CAAC;AAAA,EAC1CC,OAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,kBAAAA,IAAmB;AAAA,EACnBC,mBAAAA,IAAoB;AAAA,EACpBC,UAAAA,IAAW;AAAA,EACXC,0BAAAA,IAA2B;AAC7B,MAAM;AACJ,QAAM,CAACC,GAAaC,CAAc,IAAIC,EAAS,EAAE,GAE3CC,IAAmBA,MAClBH,EAAYI,SAGVV,EAAMW,OAAQC,CAAAA,OACCA,EAAKR,CAA+B,GAAGS,SAAAA,EAAWC,iBAAiB,IACpEC,SAAST,EAAYQ,YAAAA,CAAa,CACtD,IALQd,GAQLgB,IAAkBA,MAEpBC,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,EAAA,GACbF,gBAAAA,EAAAC,cAACE,GAAa;AAAA,IACZC,UAAU;AAAA,MAAEC,MAAM;AAAA,MAAUC,UAAU;AAAA,MAAQC,OAAO;AAAA,QAAEC,OAAO;AAAA,MAAA;AAAA,IAAwB;AAAA,IACtFC,OAAOpB;AAAAA,IACPqB,UAAWD,CAAAA,MAAUnB,EAAemB,CAAK;AAAA,IACzCE,aAAazB;AAAAA,IACbqB,OAAO;AAAA,MAAEK,QAAQ;AAAA,MAAGC,KAAK;AAAA,IAAA;AAAA,IACzBC,YAAY;AAAA,MAAEC,OAAO;AAAA,MAAQC,QAA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EAAE;AAAA,EAAA,GACrFiC,EAAc4B,SAAS,IACtB5B,EAAcK,IAAK5B,CAAAA,MAAS;AAC1B,UAAMoD,IAAW1B,EAAYiB,IAAI3C,CAAI;AAErC,QAAIA,EAAK0C,SAAS;AAChB,aACErC,gBAAAA,EAAAC,cAAA,MAAA;AAAA,QAAI+C,KAAKD;AAAAA,QAAU7C,WAAU;AAAA,MAAA,CAA0E;AAI3G,QAAIP,EAAK0C,SAAS;AAChB,aACErC,gBAAAA,EAAAC,cAAA,OAAA;AAAA,QACE+C,KAAKD;AAAAA,QACL7C,WAAU;AAAA,QACV2C,MAAK;AAAA,MAAA,GAEJlD,EAAKsD,KACH;AAIT,UAAMC,IAAcX,EAAmBQ,CAAQ;AAC/C,6BACE9C,cAACkD,GAAQC,MACHzD,GAAI;AAAA,MACRqD,KAAKD;AAAAA,MACLM,KAAKH,EAAYG;AAAAA,MACjBC,UAAUJ,EAAYI;AAAAA,MACtBC,WAAWf;AAAAA,MACXgB,SAASA,MAAMf,EAAaM,CAAQ;AAAA,IAAA,CAAE,CACvC;AAAA,EAEL,CAAC,IAED/C,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKC,WAAU;AAAA,IAA6D2C,MAAK;AAAA,IAAS,aAAU;AAAA,EAAA,GAAUzD,CAA8B,CAE3I,CACF;AAET;"}
|
package/dist/index170.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index170.js","sources":["../src/assets/icons/sort-asc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_98"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index170.js","sources":["../src/assets/icons/sort-asc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_98"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index171.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index171.js","sources":["../src/assets/icons/sort-desc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_99"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index171.js","sources":["../src/assets/icons/sort-desc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_99"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index172.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index172.js","sources":["../src/assets/icons/sort.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_100"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index172.js","sources":["../src/assets/icons/sort.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_100"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index173.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index173.js","sources":["../src/assets/icons/space.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_101"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index173.js","sources":["../src/assets/icons/space.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_101"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index174.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index174.js","sources":["../src/assets/icons/stamp-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M2.30574%2011.1058H13.6986V12.6594C13.6986%2012.9341%2013.5894%2013.1976%2013.3952%2013.3918C13.201%2013.586%2012.9376%2013.6951%2012.6629%2013.6951H3.34145C3.06676%2013.6951%202.80333%2013.586%202.60909%2013.3918C2.41486%2013.1976%202.30574%2012.9341%202.30574%2012.6594V11.1058Z'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M11.6281%207.4811C11.3535%207.4811%2011.09%207.37197%2010.8958%207.17775C10.7015%206.98351%2010.5924%206.72007%2010.5924%206.44538V4.37395C10.5924%203.68723%2010.3196%203.02863%209.83404%202.54305C9.34846%202.05746%208.68986%201.78467%208.00314%201.78467C7.31642%201.78467%206.65782%202.05746%206.17223%202.54305C5.68665%203.02863%205.41385%203.68723%205.41385%204.37395V6.44538C5.41385%206.72007%205.30473%206.98351%205.1105%207.17775C4.91626%207.37197%204.65283%207.4811%204.37814%207.4811H3.34242C2.79305%207.4811%202.26617%207.69933%201.87771%208.08781C1.48924%208.47627%201.271%209.00315%201.271%209.55253V10.0704C1.271%2010.3451%201.38012%2010.6085%201.57435%2010.8027C1.76858%2010.997%202.03202%2011.1061%202.30671%2011.1061H13.6996C13.9742%2011.1061%2014.2377%2010.997%2014.4319%2010.8027C14.6261%2010.6085%2014.7353%2010.3451%2014.7353%2010.0704V9.55253C14.7353%209.00315%2014.5171%208.47627%2014.1286%208.08781C13.7401%207.69933%2013.2132%207.4811%2012.6639%207.4811H11.6281Z'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_102"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index174.js","sources":["../src/assets/icons/stamp-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M2.30574%2011.1058H13.6986V12.6594C13.6986%2012.9341%2013.5894%2013.1976%2013.3952%2013.3918C13.201%2013.586%2012.9376%2013.6951%2012.6629%2013.6951H3.34145C3.06676%2013.6951%202.80333%2013.586%202.60909%2013.3918C2.41486%2013.1976%202.30574%2012.9341%202.30574%2012.6594V11.1058Z'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3cpath%20d='M11.6281%207.4811C11.3535%207.4811%2011.09%207.37197%2010.8958%207.17775C10.7015%206.98351%2010.5924%206.72007%2010.5924%206.44538V4.37395C10.5924%203.68723%2010.3196%203.02863%209.83404%202.54305C9.34846%202.05746%208.68986%201.78467%208.00314%201.78467C7.31642%201.78467%206.65782%202.05746%206.17223%202.54305C5.68665%203.02863%205.41385%203.68723%205.41385%204.37395V6.44538C5.41385%206.72007%205.30473%206.98351%205.1105%207.17775C4.91626%207.37197%204.65283%207.4811%204.37814%207.4811H3.34242C2.79305%207.4811%202.26617%207.69933%201.87771%208.08781C1.48924%208.47627%201.271%209.00315%201.271%209.55253V10.0704C1.271%2010.3451%201.38012%2010.6085%201.57435%2010.8027C1.76858%2010.997%202.03202%2011.1061%202.30671%2011.1061H13.6996C13.9742%2011.1061%2014.2377%2010.997%2014.4319%2010.8027C14.6261%2010.6085%2014.7353%2010.3451%2014.7353%2010.0704V9.55253C14.7353%209.00315%2014.5171%208.47627%2014.1286%208.08781C13.7401%207.69933%2013.2132%207.4811%2012.6639%207.4811H11.6281Z'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_102"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index175.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index175.js","sources":["../src/assets/icons/stop.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_10311_52362)'%3e%3cpath%20d='M4.82891%208.00033H11.1718M8.00033%2014.8718C11.7954%2014.8718%2014.8718%2011.7954%2014.8718%208.00033C14.8718%204.20535%2011.7954%201.12891%208.00033%201.12891C4.20535%201.12891%201.12891%204.20535%201.12891%208.00033C1.12891%2011.7954%204.20535%2014.8718%208.00033%2014.8718Z'%20stroke='%23CA264D'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10311_52362'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_103"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index175.js","sources":["../src/assets/icons/stop.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0_10311_52362)'%3e%3cpath%20d='M4.82891%208.00033H11.1718M8.00033%2014.8718C11.7954%2014.8718%2014.8718%2011.7954%2014.8718%208.00033C14.8718%204.20535%2011.7954%201.12891%208.00033%201.12891C4.20535%201.12891%201.12891%204.20535%201.12891%208.00033C1.12891%2011.7954%204.20535%2014.8718%208.00033%2014.8718Z'%20stroke='%23CA264D'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10311_52362'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_103"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index176.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index176.js","sources":["../src/assets/icons/success-check.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_104"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index176.js","sources":["../src/assets/icons/success-check.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_104"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index177.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index177.js","sources":["../src/assets/icons/tag.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_105"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index177.js","sources":["../src/assets/icons/tag.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_105"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index178.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index178.js","sources":["../src/assets/icons/text-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_106"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index178.js","sources":["../src/assets/icons/text-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_106"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index179.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index179.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_107"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index179.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_107"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index18.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index18.js","sources":["../src/components/Popover/index.tsx"],"sourcesContent":["import React, { useState, useRef, ReactNode, useEffect, forwardRef, ForwardedRef, useImperativeHandle } from 'react';\nimport ReactDOM from 'react-dom';\nimport { getA11yNameAttributes, useDismissOnFocusOut } from '../../utils/a11y';\n\nexport interface PopoverHandle {\n togglePopover: () => void;\n}\n\nexport interface PopoverProps {\n className?: string;\n automationId?: string;\n popoverContentAutomationId?: string;\n renderPopoverContents: (props: { closePopoverCb: () => void }) => ReactNode;\n renderPopoverSrcElement: (props: { displayPopover: boolean; togglePopover: () => void }) => ReactNode;\n position?: 'bottom-center' | 'bottom-left' | 'bottom-right' | 'top-center' | 'top-left' | 'top-right';\n onPopoverToggle?: (displayPopover: boolean) => void;\n contentWidth?: 'full' | 'max';\n isPopoverOpen?: boolean;\n disabled?: boolean;\n isWithPortal?: boolean;\n noBorder?: boolean;\n ariaLabel?: string;\n ariaLabelledBy?: string;\n sourceRole?: 'button' | 'combobox';\n popoverContentStyleProperty?: React.CSSProperties;\n disableClickToggle?: boolean;\n disableAutoClose?: boolean;\n}\n\nexport const Popover = forwardRef<PopoverHandle, PopoverProps>(\n (\n {\n className = '',\n automationId = '',\n position = 'bottom-center',\n popoverContentAutomationId = '',\n contentWidth = 'max',\n renderPopoverContents,\n renderPopoverSrcElement,\n onPopoverToggle,\n isPopoverOpen,\n disabled = false,\n isWithPortal = false,\n ariaLabel,\n ariaLabelledBy,\n sourceRole = 'button',\n popoverContentStyleProperty = {\n zIndex: 1000,\n borderColor: 'var(--color-gray-200)',\n color: 'var(--color-gray-900)',\n backgroundColor: 'var(--color-white)'\n },\n disableClickToggle = false,\n noBorder = false,\n disableAutoClose = false,\n ...props\n },\n ref: ForwardedRef<PopoverHandle>\n ) => {\n const [displayPopover, setDisplayPopover] = useState(false);\n const [popoverPosition, setPopoverPosition] = useState(position);\n const [isSrcElementVisible, setIsSrcElementVisible] = useState(false);\n const srcElementRef = useRef<HTMLDivElement>(null);\n const popoverContentRef = useRef<HTMLDivElement>(null);\n\n // Compute accessible name/description props with correct precedence\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy: undefined // Popover doesn't support describedBy yet\n });\n\n // Use shared focus-out dismissal for non-portal popovers.\n // Portal content lives outside the wrapper, so portal uses a dedicated onBlur fallback below.\n const { onBlurCapture: onDismissBlurCapture } = useDismissOnFocusOut<HTMLDivElement>({\n disabled: !displayPopover || disableAutoClose || isWithPortal,\n onFocusOut: () => setDisplayPopover(false),\n closeOnEscape: false\n });\n\n const [portalPosition, setPortalPosition] = useState({ top: 0, left: 0 });\n\n const calculatePositionOfPopover = (position: string = 'bottom-center') => {\n if (!srcElementRef.current) return { top: 0, left: 0 };\n\n let localPosition = position;\n\n const srcRect = srcElementRef.current.getBoundingClientRect();\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n // Calculate position for portal\n let top = 0;\n let left = 0;\n\n switch (localPosition) {\n case 'bottom-left':\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n case 'bottom-right':\n top = srcRect.bottom;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'bottom-center':\n top = srcRect.bottom;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n case 'top-left':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.left;\n break;\n case 'top-right':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'top-center':\n top = srcRect.top - srcRect.height * 1.9;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n default:\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n }\n\n // Get popover dimensions if available\n const popoverRect = popoverContentRef.current?.getBoundingClientRect();\n const popoverWidth = popoverRect?.width || 0;\n const popoverHeight = popoverRect?.height || 0;\n\n // Adjust center positions to account for popover width\n if (localPosition === 'bottom-center' || localPosition === 'top-center') {\n // Center the popover by subtracting half its width from the source center\n left = left - popoverWidth / 2;\n }\n\n // Adjust position to keep popover within viewport bounds\n // Horizontal adjustments\n if (left + popoverWidth > viewportWidth) {\n // Popover extends beyond right edge, shift it left\n left = Math.max(0, viewportWidth - popoverWidth);\n }\n if (left < 0) {\n // Popover extends beyond left edge, shift it right\n left = 0;\n }\n\n // Vertical adjustments\n if (top + popoverHeight > viewportHeight) {\n // Popover extends beyond bottom edge\n // Try to position it above the source element\n const spaceAbove = srcRect.top;\n const spaceBelow = viewportHeight - srcRect.bottom;\n\n if (spaceAbove >= popoverHeight || spaceAbove > spaceBelow) {\n // Position above if there's enough space or more space above\n top = srcRect.top - popoverHeight;\n // Ensure it doesn't go above viewport\n if (top < 0) {\n top = 0;\n }\n } else {\n // Keep at bottom but adjust to fit within viewport\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n if (top < 0) {\n // Popover extends beyond top edge, position it below the source element\n top = srcRect.bottom;\n // Ensure it doesn't go below viewport\n if (top + popoverHeight > viewportHeight) {\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n\n return { top, left };\n };\n\n useEffect(() => {\n if (onPopoverToggle) {\n onPopoverToggle(displayPopover);\n }\n\n if (displayPopover && !isWithPortal) {\n // Add click listener for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickListener, true);\n }\n checkPopoverPosition();\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickListener, true);\n }\n };\n } else if (displayPopover && isWithPortal) {\n // Add click/scroll listeners for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickAndScrollListenerWithPortal, true);\n window.addEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n // When disableAutoClose is true, still listen to scroll for repositioning\n window.addEventListener('scroll', scrollListenerForRepositioning);\n }\n // Always add resize listener for repositioning\n window.addEventListener('resize', resizeListenerWithPortal);\n\n // Initial position calculation\n const timeout1 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n checkSourceVisibility();\n\n if (position) {\n setPortalPosition(position);\n }\n }, 0);\n\n // Recalculate after popover is rendered to get accurate dimensions\n const timeout2 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }, 10);\n\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickAndScrollListenerWithPortal, true);\n window.removeEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n window.removeEventListener('scroll', scrollListenerForRepositioning);\n }\n window.removeEventListener('resize', resizeListenerWithPortal);\n clearTimeout(timeout1);\n clearTimeout(timeout2);\n };\n }\n }, [displayPopover, isWithPortal, disableAutoClose]);\n\n const checkSourceVisibility = () => {\n if (!srcElementRef.current) {\n setIsSrcElementVisible(false);\n return;\n }\n\n const rec = srcElementRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n const viewportWidth = window.innerWidth;\n\n const isVisible = rec.top < viewportHeight && rec.bottom > 0 && rec.left < viewportWidth && rec.right > 0;\n\n setIsSrcElementVisible(isVisible);\n };\n\n useEffect(() => {\n setDisplayPopover(isPopoverOpen ?? false);\n }, [isPopoverOpen]);\n\n useEffect(() => {\n // Focus first focusable element when popover opens\n if (displayPopover && popoverContentRef.current) {\n setTimeout(() => {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = popoverContentRef.current?.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable && document.activeElement === srcElementRef.current) {\n firstFocusable.focus();\n }\n }, 0);\n }\n }, [displayPopover]);\n\n //Function to check popover position\n const checkPopoverPosition = () => {\n if (!popoverContentRef.current) return;\n\n const popoverRect = popoverContentRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n\n if (popoverRect?.bottom > viewportHeight) {\n setPopoverPosition(\n position.includes('left') ? 'top-left' : position.includes('right') ? 'top-right' : 'top-center'\n );\n } else if (popoverRect?.top < 0) {\n // If popover extends beyond top of viewport, switch to bottom position\n setPopoverPosition(\n position.includes('left') ? 'bottom-left' : position.includes('right') ? 'bottom-right' : 'bottom-center'\n );\n }\n };\n\n const clickListener = (event: MouseEvent) => {\n const currentDropRef = srcElementRef.current;\n if (!currentDropRef) return;\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = popoverContentRef.current?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if (disableAutoClose) return;\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const clickAndScrollListenerWithPortal = (event: Event) => {\n const currentDropRef = srcElementRef.current;\n const currentPopoverRef = popoverContentRef.current;\n if (!currentDropRef) return;\n checkSourceVisibility();\n\n // Recalculate position on scroll\n if (event.type === 'scroll' && displayPopover) {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = currentPopoverRef?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n if (disableAutoClose) return;\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const resizeListenerWithPortal = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const scrollListenerForRepositioning = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const togglePopover = () => {\n setDisplayPopover((displayPopover) => !displayPopover);\n };\n\n const handleArrowKeyNavigation = (e: React.KeyboardEvent, container: HTMLDivElement | null) => {\n if (!container) return;\n\n // Find all focusable elements within the popover content\n // This includes elements with role=\"menuitem\", role=\"option\", tabIndex >= 0, etc.\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n 'input:not([disabled])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n\n const focusableElements = Array.from(container.querySelectorAll<HTMLElement>(focusableSelectors)).filter((el) => {\n // Filter out disabled and hidden elements\n const style = window.getComputedStyle(el);\n return (\n !el.hasAttribute('disabled') &&\n !el.hasAttribute('aria-disabled') &&\n style.display !== 'none' &&\n style.visibility !== 'hidden' &&\n (el.tabIndex >= 0 || el.hasAttribute('role'))\n );\n });\n\n if (focusableElements.length === 0) return;\n\n const currentIndex = focusableElements.findIndex((el) => el === document.activeElement);\n let nextIndex = -1;\n\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex < focusableElements.length - 1 ? currentIndex + 1 : 0;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex > 0 ? currentIndex - 1 : focusableElements.length - 1;\n } else if (e.key === 'Home') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = 0;\n } else if (e.key === 'End') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = focusableElements.length - 1;\n }\n\n if (nextIndex >= 0 && focusableElements[nextIndex]) {\n focusableElements[nextIndex].focus();\n } else if (currentIndex === -1 && focusableElements.length > 0) {\n // If no element is currently focused, focus the first one\n focusableElements[0].focus();\n }\n };\n\n const handlePopoverContentKeyDown = (e: React.KeyboardEvent) => {\n // Allow Escape key to close popover when focus is on content\n if (e.key === 'Escape') {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n srcElementRef.current?.focus();\n } else if (e.key === 'Tab') {\n // Close popover when Tab exits the menu\n setDisplayPopover(false);\n if (e.shiftKey) {\n // Shift+Tab: prevent default (would go to wrapper) and focus trigger instead\n e.preventDefault();\n srcElementRef.current?.focus();\n }\n // Forward Tab: do NOT preventDefault — browser moves focus to next element naturally\n } else if (e.key === 'ArrowDown' || e.key === 'ArrowUp' || e.key === 'Home' || e.key === 'End') {\n // Handle arrow key navigation for focusable elements inside popover\n handleArrowKeyNavigation(e, popoverContentRef.current);\n } else if (e.key === 'Enter' || e.key === ' ') {\n // Prevent Enter/Space from bubbling to wrapper (mirrors click stopPropagation)\n e.stopPropagation();\n }\n };\n\n useImperativeHandle(ref, () => ({ togglePopover }), []);\n\n const popoverContentStyle = {\n 'bottom-left': { left: '0', top: '100%' },\n 'bottom-right': { right: '0', top: '100%' },\n 'bottom-center': { left: '50%', transform: 'translateX(-50%)', top: '100%' },\n 'top-left': { left: '0', bottom: '100%' },\n 'top-right': { right: '0', bottom: '100%' },\n 'top-center': { left: '50%', transform: 'translateX(-50%)', bottom: '100%' }\n };\n const popoverContentClasses = noBorder ? '' : 'shadow-md border rounded-md';\n\n return (\n <div\n className={\n 'se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md' +\n (className.length > 0 ? ` ${className}` : '') +\n (displayPopover ? ' open' : '') +\n (disabled ? ' opacity-50 cursor-not-allowed pointer-events-none' : '')\n }\n ref={srcElementRef}\n onClick={(e) => {\n if (disabled || disableClickToggle) return;\n e.stopPropagation();\n togglePopover();\n }}\n onKeyDown={(e) => {\n if (disabled) return;\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n e.stopPropagation();\n const wasOpen = displayPopover;\n togglePopover();\n // Focus first focusable element when opening\n if (!wasOpen) {\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n } else if (e.key === 'Escape' && displayPopover) {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n } else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && displayPopover) {\n // Handle arrow keys when popover is open\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n handleArrowKeyNavigation(e, currentRef);\n }\n } else if (e.key === 'ArrowDown' && !displayPopover) {\n // Open popover and focus first item when ArrowDown is pressed\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(true);\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n }}\n onBlurCapture={onDismissBlurCapture}\n onBlur={(e) => {\n // Portal content is rendered outside wrapper, so keep explicit check for that case.\n if (!displayPopover || disableAutoClose || !isWithPortal) return;\n\n const nextFocused = e.relatedTarget as Node | null;\n const isFocusInSource = !!(nextFocused && srcElementRef.current?.contains(nextFocused));\n const isFocusInPopover = !!(nextFocused && popoverContentRef.current?.contains(nextFocused));\n\n // Close only when focus leaves both source and portal content.\n if (!isFocusInSource && !isFocusInPopover) {\n setDisplayPopover(false);\n }\n }}\n role={sourceRole}\n aria-expanded={disableClickToggle ? undefined : displayPopover ? 'true' : 'false'}\n aria-haspopup={disableClickToggle ? undefined : sourceRole === 'combobox' ? 'listbox' : 'true'}\n tabIndex={disabled || disableClickToggle ? -1 : 0}\n aria-disabled={disabled ? 'true' : 'false'}\n {...accessibleNameProps}\n data-automation-id={automationId}\n {...props}\n >\n {renderPopoverSrcElement({ displayPopover, togglePopover })}\n\n {displayPopover && !isWithPortal && (\n <div\n className={`popover-content absolute ${popoverContentClasses} z-[1000] ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n ...popoverContentStyleProperty,\n ...popoverContentStyle[popoverPosition]\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>\n )}\n {isWithPortal &&\n displayPopover &&\n isSrcElementVisible &&\n ReactDOM.createPortal(\n <div\n className={`popover-content-with-portal ${popoverContentClasses} ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n position: 'fixed',\n top: portalPosition.top,\n left: portalPosition.left,\n ...popoverContentStyleProperty\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>,\n document.body\n )}\n </div>\n );\n }\n);\n"],"names":["Popover","className","automationId","position","popoverContentAutomationId","contentWidth","renderPopoverContents","renderPopoverSrcElement","onPopoverToggle","isPopoverOpen","disabled","isWithPortal","ariaLabel","ariaLabelledBy","sourceRole","popoverContentStyleProperty","zIndex","borderColor","color","backgroundColor","disableClickToggle","noBorder","disableAutoClose","props","ref","displayPopover","setDisplayPopover","useState","popoverPosition","setPopoverPosition","isSrcElementVisible","setIsSrcElementVisible","srcElementRef","useRef","popoverContentRef","accessibleNameProps","getA11yNameAttributes","ariaDescribedBy","undefined","onBlurCapture","onDismissBlurCapture","useDismissOnFocusOut","onFocusOut","closeOnEscape","portalPosition","setPortalPosition","top","left","calculatePositionOfPopover","current","localPosition","srcRect","getBoundingClientRect","viewportWidth","window","innerWidth","viewportHeight","innerHeight","bottom","right","width","height","popoverRect","popoverWidth","popoverHeight","Math","max","spaceAbove","spaceBelow","useEffect","document","body","addEventListener","clickListener","checkPopoverPosition","removeEventListener","scrollListenerForRepositioning","clickAndScrollListenerWithPortal","resizeListenerWithPortal","timeout1","setTimeout","checkSourceVisibility","timeout2","clearTimeout","rec","isVisible","focusableSelectors","join","firstFocusable","querySelector","activeElement","focus","includes","event","currentDropRef","target","isSourcePopover","contains","isPopoverContent","closestPopoverWrapper","closest","isAnotherPopoverSource","isNestedPopover","currentPopoverRef","type","togglePopover","handleArrowKeyNavigation","e","container","focusableElements","Array","from","querySelectorAll","filter","el","style","getComputedStyle","hasAttribute","display","visibility","tabIndex","length","currentIndex","findIndex","nextIndex","key","preventDefault","stopPropagation","handlePopoverContentKeyDown","shiftKey","useImperativeHandle","popoverContentStyle","transform","popoverContentClasses","React","createElement","_extends","onClick","onKeyDown","wasOpen","currentRef","onBlur","nextFocused","relatedTarget","isFocusInSource","isFocusInPopover","role","closePopoverCb","createPortal"],"mappings":";;;;;;;;;;;;;AA6BaA,MAAAA,wBACX,CACE;AAAA,EACEC,WAAAA,IAAY;AAAA,EACZC,cAAAA,IAAe;AAAA,EACfC,UAAAA,IAAW;AAAA,EACXC,4BAAAA,IAA6B;AAAA,EAC7BC,cAAAA,IAAe;AAAA,EACfC,uBAAAA;AAAAA,EACAC,yBAAAA;AAAAA,EACAC,iBAAAA;AAAAA,EACAC,eAAAA;AAAAA,EACAC,UAAAA,IAAW;AAAA,EACXC,cAAAA,IAAe;AAAA,EACfC,WAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,YAAAA,IAAa;AAAA,EACbC,6BAAAA,IAA8B;AAAA,IAC5BC,QAAQ;AAAA,IACRC,aAAa;AAAA,IACbC,OAAO;AAAA,IACPC,iBAAiB;AAAA,EACnB;AAAA,EACAC,oBAAAA,IAAqB;AAAA,EACrBC,UAAAA,IAAW;AAAA,EACXC,kBAAAA,IAAmB;AAAA,EACnB,GAAGC;AACL,GACAC,OACG;AACH,QAAM,CAACC,GAAgBC,CAAiB,IAAIC,EAAS,EAAK,GACpD,CAACC,GAAiBC,CAAkB,IAAIF,EAASxB,CAAQ,GACzD,CAAC2B,IAAqBC,CAAsB,IAAIJ,EAAS,EAAK,GAC9DK,IAAgBC,EAAuB,IAAI,GAC3CC,IAAoBD,EAAuB,IAAI,GAG/CE,KAAsBC,GAAsB;AAAA,IAChDxB,WAAAA;AAAAA,IACAC,gBAAAA;AAAAA,IACAwB,iBAAiBC;AAAAA;AAAAA,EAAAA,CAClB,GAIK;AAAA,IAAEC,eAAeC;AAAAA,MAAyBC,GAAqC;AAAA,IAC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/ByB,IAAmB;AAAA,IACvB,sBAAoBjC;AAAAA,EAAAA,GAChBqB,CAAK,GAERhB,EAAwB;AAAA,IAAEkB,gBAAAA;AAAAA,IAAgBgF,eAAAA;AAAAA,EAAAA,CAAe,GAEzDhF,KAAkB,CAACd,KAClB2H,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEtI,WAAW,4BAA4BoI,CAAqB,aAC1DhI,KAAgB,SAAS,WAAW,OAAO;AAAA,IAE7C8G,OAAO;AAAA,MACL,GAAGpG;AAAAA,MACH,GAAGoH,GAAoBvG,CAAe;AAAA,IACxC;AAAA,IACA6G,SAAU9B,CAAMA,MAAAA,EAAEoB,gBAAgB;AAAA,IAClCW,WAAWV;AAAAA,IACXxG,KAAKU;AAAAA,IACL,sBAAoB9B;AAAAA,KAEnBE,EAAsB;AAAA,IAAE6I,gBAAgBA,MAAMzH,EAAkB,EAAK;AAAA,EAAA,CAAG,CACtE,GAENf,KACCc,KACAK,MACSsH,gBAAAA,GAAAA,aACPb,gBAAAA,EAAAA,cAAA,OAAA;AAAA,IACEtI,WAAW,+BAA+BoI,CAAqB,IAC7DhI,KAAgB,SAAS,WAAW,OAAO;AAAA,IAE7C8G,OAAO;AAAA,MACLhH,UAAU;AAAA,MACV2C,KAAKF,EAAeE;AAAAA,MACpBC,MAAMH,EAAeG;AAAAA,MACrB,GAAGhC;AAAAA,IACL;AAAA,IACA0H,SAAU9B,CAAMA,MAAAA,EAAEoB,gBAAgB;AAAA,IAClCW,WAAWV;AAAAA,IACXxG,KAAKU;AAAAA,IACL,sBAAoB9B;AAAAA,KAEnBE,EAAsB;AAAA,IAAE6I,gBAAgBA,MAAMzH,EAAkB,EAAK;AAAA,EAAG,CAAA,CACtE,GACL4C,SAASC,IACX,CACC;AAET,CACF;"}
|
|
1
|
+
{"version":3,"file":"index18.js","sources":["../src/components/Popover/index.tsx"],"sourcesContent":["import React, { useState, useRef, ReactNode, useEffect, forwardRef, ForwardedRef, useImperativeHandle } from 'react';\nimport ReactDOM from 'react-dom';\nimport { getA11yNameAttributes, useDismissOnFocusOut } from '../../utils/a11y';\n\nexport interface PopoverHandle {\n togglePopover: () => void;\n}\n\nexport interface PopoverProps {\n className?: string;\n automationId?: string;\n popoverContentAutomationId?: string;\n renderPopoverContents: (props: { closePopoverCb: () => void }) => ReactNode;\n renderPopoverSrcElement: (props: { displayPopover: boolean; togglePopover: () => void }) => ReactNode;\n position?: 'bottom-center' | 'bottom-left' | 'bottom-right' | 'top-center' | 'top-left' | 'top-right';\n onPopoverToggle?: (displayPopover: boolean) => void;\n contentWidth?: 'full' | 'max';\n isPopoverOpen?: boolean;\n disabled?: boolean;\n isWithPortal?: boolean;\n noBorder?: boolean;\n ariaLabel?: string;\n ariaLabelledBy?: string;\n sourceRole?: 'button' | 'combobox';\n popoverContentStyleProperty?: React.CSSProperties;\n disableClickToggle?: boolean;\n disableAutoClose?: boolean;\n}\n\nexport const Popover = forwardRef<PopoverHandle, PopoverProps>(\n (\n {\n className = '',\n automationId = '',\n position = 'bottom-center',\n popoverContentAutomationId = '',\n contentWidth = 'max',\n renderPopoverContents,\n renderPopoverSrcElement,\n onPopoverToggle,\n isPopoverOpen,\n disabled = false,\n isWithPortal = false,\n ariaLabel,\n ariaLabelledBy,\n sourceRole = 'button',\n popoverContentStyleProperty = {\n zIndex: 1000,\n borderColor: 'var(--color-gray-200)',\n color: 'var(--color-gray-900)',\n backgroundColor: 'var(--color-white)'\n },\n disableClickToggle = false,\n noBorder = false,\n disableAutoClose = false,\n ...props\n },\n ref: ForwardedRef<PopoverHandle>\n ) => {\n const [displayPopover, setDisplayPopover] = useState(false);\n const [popoverPosition, setPopoverPosition] = useState(position);\n const [isSrcElementVisible, setIsSrcElementVisible] = useState(false);\n const srcElementRef = useRef<HTMLDivElement>(null);\n const popoverContentRef = useRef<HTMLDivElement>(null);\n\n // Compute accessible name/description props with correct precedence\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy: undefined // Popover doesn't support describedBy yet\n });\n\n // Use shared focus-out dismissal for non-portal popovers.\n // Portal content lives outside the wrapper, so portal uses a dedicated onBlur fallback below.\n const { onBlurCapture: onDismissBlurCapture } = useDismissOnFocusOut<HTMLDivElement>({\n disabled: !displayPopover || disableAutoClose || isWithPortal,\n onFocusOut: () => setDisplayPopover(false),\n closeOnEscape: false\n });\n\n const [portalPosition, setPortalPosition] = useState({ top: 0, left: 0 });\n\n const calculatePositionOfPopover = (position: string = 'bottom-center') => {\n if (!srcElementRef.current) return { top: 0, left: 0 };\n\n let localPosition = position;\n\n const srcRect = srcElementRef.current.getBoundingClientRect();\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n // Calculate position for portal\n let top = 0;\n let left = 0;\n\n switch (localPosition) {\n case 'bottom-left':\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n case 'bottom-right':\n top = srcRect.bottom;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'bottom-center':\n top = srcRect.bottom;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n case 'top-left':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.left;\n break;\n case 'top-right':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'top-center':\n top = srcRect.top - srcRect.height * 1.9;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n default:\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n }\n\n // Get popover dimensions if available\n const popoverRect = popoverContentRef.current?.getBoundingClientRect();\n const popoverWidth = popoverRect?.width || 0;\n const popoverHeight = popoverRect?.height || 0;\n\n // Adjust center positions to account for popover width\n if (localPosition === 'bottom-center' || localPosition === 'top-center') {\n // Center the popover by subtracting half its width from the source center\n left = left - popoverWidth / 2;\n }\n\n // Adjust position to keep popover within viewport bounds\n // Horizontal adjustments\n if (left + popoverWidth > viewportWidth) {\n // Popover extends beyond right edge, shift it left\n left = Math.max(0, viewportWidth - popoverWidth);\n }\n if (left < 0) {\n // Popover extends beyond left edge, shift it right\n left = 0;\n }\n\n // Vertical adjustments\n if (top + popoverHeight > viewportHeight) {\n // Popover extends beyond bottom edge\n // Try to position it above the source element\n const spaceAbove = srcRect.top;\n const spaceBelow = viewportHeight - srcRect.bottom;\n\n if (spaceAbove >= popoverHeight || spaceAbove > spaceBelow) {\n // Position above if there's enough space or more space above\n top = srcRect.top - popoverHeight;\n // Ensure it doesn't go above viewport\n if (top < 0) {\n top = 0;\n }\n } else {\n // Keep at bottom but adjust to fit within viewport\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n if (top < 0) {\n // Popover extends beyond top edge, position it below the source element\n top = srcRect.bottom;\n // Ensure it doesn't go below viewport\n if (top + popoverHeight > viewportHeight) {\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n\n return { top, left };\n };\n\n useEffect(() => {\n if (onPopoverToggle) {\n onPopoverToggle(displayPopover);\n }\n\n if (displayPopover && !isWithPortal) {\n // Add click listener for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickListener, true);\n }\n checkPopoverPosition();\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickListener, true);\n }\n };\n } else if (displayPopover && isWithPortal) {\n // Add click/scroll listeners for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickAndScrollListenerWithPortal, true);\n window.addEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n // When disableAutoClose is true, still listen to scroll for repositioning\n window.addEventListener('scroll', scrollListenerForRepositioning);\n }\n // Always add resize listener for repositioning\n window.addEventListener('resize', resizeListenerWithPortal);\n\n // Initial position calculation\n const timeout1 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n checkSourceVisibility();\n\n if (position) {\n setPortalPosition(position);\n }\n }, 0);\n\n // Recalculate after popover is rendered to get accurate dimensions\n const timeout2 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }, 10);\n\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickAndScrollListenerWithPortal, true);\n window.removeEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n window.removeEventListener('scroll', scrollListenerForRepositioning);\n }\n window.removeEventListener('resize', resizeListenerWithPortal);\n clearTimeout(timeout1);\n clearTimeout(timeout2);\n };\n }\n }, [displayPopover, isWithPortal, disableAutoClose]);\n\n const checkSourceVisibility = () => {\n if (!srcElementRef.current) {\n setIsSrcElementVisible(false);\n return;\n }\n\n const rec = srcElementRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n const viewportWidth = window.innerWidth;\n\n const isVisible = rec.top < viewportHeight && rec.bottom > 0 && rec.left < viewportWidth && rec.right > 0;\n\n setIsSrcElementVisible(isVisible);\n };\n\n useEffect(() => {\n setDisplayPopover(isPopoverOpen ?? false);\n }, [isPopoverOpen]);\n\n useEffect(() => {\n // Focus first focusable element when popover opens\n if (displayPopover && popoverContentRef.current) {\n setTimeout(() => {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = popoverContentRef.current?.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable && document.activeElement === srcElementRef.current) {\n firstFocusable.focus();\n }\n }, 0);\n }\n }, [displayPopover]);\n\n //Function to check popover position\n const checkPopoverPosition = () => {\n if (!popoverContentRef.current) return;\n\n const popoverRect = popoverContentRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n\n if (popoverRect?.bottom > viewportHeight) {\n setPopoverPosition(\n position.includes('left') ? 'top-left' : position.includes('right') ? 'top-right' : 'top-center'\n );\n } else if (popoverRect?.top < 0) {\n // If popover extends beyond top of viewport, switch to bottom position\n setPopoverPosition(\n position.includes('left') ? 'bottom-left' : position.includes('right') ? 'bottom-right' : 'bottom-center'\n );\n }\n };\n\n const clickListener = (event: MouseEvent) => {\n const currentDropRef = srcElementRef.current;\n if (!currentDropRef) return;\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = popoverContentRef.current?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if (disableAutoClose) return;\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const clickAndScrollListenerWithPortal = (event: Event) => {\n const currentDropRef = srcElementRef.current;\n const currentPopoverRef = popoverContentRef.current;\n if (!currentDropRef) return;\n checkSourceVisibility();\n\n // Recalculate position on scroll\n if (event.type === 'scroll' && displayPopover) {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = currentPopoverRef?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n if (disableAutoClose) return;\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const resizeListenerWithPortal = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const scrollListenerForRepositioning = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const togglePopover = () => {\n setDisplayPopover((displayPopover) => !displayPopover);\n };\n\n const handleArrowKeyNavigation = (e: React.KeyboardEvent, container: HTMLDivElement | null) => {\n if (!container) return;\n\n // Find all focusable elements within the popover content\n // This includes elements with role=\"menuitem\", role=\"option\", tabIndex >= 0, etc.\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n 'input:not([disabled])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n\n const focusableElements = Array.from(container.querySelectorAll<HTMLElement>(focusableSelectors)).filter((el) => {\n // Filter out disabled and hidden elements\n const style = window.getComputedStyle(el);\n return (\n !el.hasAttribute('disabled') &&\n !el.hasAttribute('aria-disabled') &&\n style.display !== 'none' &&\n style.visibility !== 'hidden' &&\n (el.tabIndex >= 0 || el.hasAttribute('role'))\n );\n });\n\n if (focusableElements.length === 0) return;\n\n const currentIndex = focusableElements.findIndex((el) => el === document.activeElement);\n let nextIndex = -1;\n\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex < focusableElements.length - 1 ? currentIndex + 1 : 0;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex > 0 ? currentIndex - 1 : focusableElements.length - 1;\n } else if (e.key === 'Home') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = 0;\n } else if (e.key === 'End') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = focusableElements.length - 1;\n }\n\n if (nextIndex >= 0 && focusableElements[nextIndex]) {\n focusableElements[nextIndex].focus();\n } else if (currentIndex === -1 && focusableElements.length > 0) {\n // If no element is currently focused, focus the first one\n focusableElements[0].focus();\n }\n };\n\n const handlePopoverContentKeyDown = (e: React.KeyboardEvent) => {\n // Allow Escape key to close popover when focus is on content\n if (e.key === 'Escape') {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n srcElementRef.current?.focus();\n } else if (e.key === 'Tab') {\n // Close popover when Tab exits the menu\n setDisplayPopover(false);\n if (e.shiftKey) {\n // Shift+Tab: prevent default (would go to wrapper) and focus trigger instead\n e.preventDefault();\n srcElementRef.current?.focus();\n }\n // Forward Tab: do NOT preventDefault — browser moves focus to next element naturally\n } else if (e.key === 'ArrowDown' || e.key === 'ArrowUp' || e.key === 'Home' || e.key === 'End') {\n // Handle arrow key navigation for focusable elements inside popover\n handleArrowKeyNavigation(e, popoverContentRef.current);\n } else if (e.key === 'Enter' || e.key === ' ') {\n // Prevent Enter/Space from bubbling to wrapper (mirrors click stopPropagation)\n e.stopPropagation();\n }\n };\n\n useImperativeHandle(ref, () => ({ togglePopover }), []);\n\n const popoverContentStyle = {\n 'bottom-left': { left: '0', top: '100%' },\n 'bottom-right': { right: '0', top: '100%' },\n 'bottom-center': { left: '50%', transform: 'translateX(-50%)', top: '100%' },\n 'top-left': { left: '0', bottom: '100%' },\n 'top-right': { right: '0', bottom: '100%' },\n 'top-center': { left: '50%', transform: 'translateX(-50%)', bottom: '100%' }\n };\n const popoverContentClasses = noBorder ? '' : 'shadow-md border rounded-md';\n\n return (\n <div\n className={\n 'se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md' +\n (className.length > 0 ? ` ${className}` : '') +\n (displayPopover ? ' open' : '') +\n (disabled ? ' opacity-50 cursor-not-allowed pointer-events-none' : '')\n }\n ref={srcElementRef}\n onClick={(e) => {\n if (disabled || disableClickToggle) return;\n e.stopPropagation();\n togglePopover();\n }}\n onKeyDown={(e) => {\n if (disabled) return;\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n e.stopPropagation();\n const wasOpen = displayPopover;\n togglePopover();\n // Focus first focusable element when opening\n if (!wasOpen) {\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n } else if (e.key === 'Escape' && displayPopover) {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n } else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && displayPopover) {\n // Handle arrow keys when popover is open\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n handleArrowKeyNavigation(e, currentRef);\n }\n } else if (e.key === 'ArrowDown' && !displayPopover) {\n // Open popover and focus first item when ArrowDown is pressed\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(true);\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n }}\n onBlurCapture={onDismissBlurCapture}\n onBlur={(e) => {\n // Portal content is rendered outside wrapper, so keep explicit check for that case.\n if (!displayPopover || disableAutoClose || !isWithPortal) return;\n\n const nextFocused = e.relatedTarget as Node | null;\n const isFocusInSource = !!(nextFocused && srcElementRef.current?.contains(nextFocused));\n const isFocusInPopover = !!(nextFocused && popoverContentRef.current?.contains(nextFocused));\n\n // Close only when focus leaves both source and portal content.\n if (!isFocusInSource && !isFocusInPopover) {\n setDisplayPopover(false);\n }\n }}\n role={sourceRole}\n aria-expanded={disableClickToggle ? undefined : displayPopover ? 'true' : 'false'}\n aria-haspopup={disableClickToggle ? undefined : sourceRole === 'combobox' ? 'listbox' : 'true'}\n tabIndex={disabled || disableClickToggle ? -1 : 0}\n aria-disabled={disabled ? 'true' : 'false'}\n {...accessibleNameProps}\n data-automation-id={automationId}\n {...props}\n >\n {renderPopoverSrcElement({ displayPopover, togglePopover })}\n\n {displayPopover && !isWithPortal && (\n <div\n className={`popover-content absolute ${popoverContentClasses} z-[1000] ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n ...popoverContentStyleProperty,\n ...popoverContentStyle[popoverPosition]\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>\n )}\n {isWithPortal &&\n displayPopover &&\n isSrcElementVisible &&\n ReactDOM.createPortal(\n <div\n className={`popover-content-with-portal ${popoverContentClasses} ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n position: 'fixed',\n top: portalPosition.top,\n left: portalPosition.left,\n ...popoverContentStyleProperty\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>,\n document.body\n )}\n </div>\n );\n }\n);\n"],"names":["Popover","className","automationId","position","popoverContentAutomationId","contentWidth","renderPopoverContents","renderPopoverSrcElement","onPopoverToggle","isPopoverOpen","disabled","isWithPortal","ariaLabel","ariaLabelledBy","sourceRole","popoverContentStyleProperty","zIndex","borderColor","color","backgroundColor","disableClickToggle","noBorder","disableAutoClose","props","ref","displayPopover","setDisplayPopover","useState","popoverPosition","setPopoverPosition","isSrcElementVisible","setIsSrcElementVisible","srcElementRef","useRef","popoverContentRef","accessibleNameProps","getA11yNameAttributes","ariaDescribedBy","undefined","onBlurCapture","onDismissBlurCapture","useDismissOnFocusOut","onFocusOut","closeOnEscape","portalPosition","setPortalPosition","top","left","calculatePositionOfPopover","current","localPosition","srcRect","getBoundingClientRect","viewportWidth","window","innerWidth","viewportHeight","innerHeight","bottom","right","width","height","popoverRect","popoverWidth","popoverHeight","Math","max","spaceAbove","spaceBelow","useEffect","document","body","addEventListener","clickListener","checkPopoverPosition","removeEventListener","scrollListenerForRepositioning","clickAndScrollListenerWithPortal","resizeListenerWithPortal","timeout1","setTimeout","checkSourceVisibility","timeout2","clearTimeout","rec","isVisible","focusableSelectors","join","firstFocusable","querySelector","activeElement","focus","includes","event","currentDropRef","target","isSourcePopover","contains","isPopoverContent","closestPopoverWrapper","closest","isAnotherPopoverSource","isNestedPopover","currentPopoverRef","type","togglePopover","handleArrowKeyNavigation","e","container","focusableElements","Array","from","querySelectorAll","filter","el","style","getComputedStyle","hasAttribute","display","visibility","tabIndex","length","currentIndex","findIndex","nextIndex","key","preventDefault","stopPropagation","handlePopoverContentKeyDown","shiftKey","useImperativeHandle","popoverContentStyle","transform","popoverContentClasses","React","createElement","_extends","onClick","onKeyDown","wasOpen","currentRef","onBlur","nextFocused","relatedTarget","isFocusInSource","isFocusInPopover","role","closePopoverCb","ReactDOM","createPortal"],"mappings":";;;;;;;;;;;;;AA6BO,MAAMA,wBACX,CACE;AAAA,EACEC,WAAAA,IAAY;AAAA,EACZC,cAAAA,IAAe;AAAA,EACfC,UAAAA,IAAW;AAAA,EACXC,4BAAAA,IAA6B;AAAA,EAC7BC,cAAAA,IAAe;AAAA,EACfC,uBAAAA;A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,GAAGpG;AAAAA,MACH,GAAGoH,GAAoBvG,CAAe;AAAA,IAAA;AAAA,IAExC6G,SAAU9B,CAAAA,MAAMA,EAAEoB,gBAAAA;AAAAA,IAClBW,WAAWV;AAAAA,IACXxG,KAAKU;AAAAA,IACL,sBAAoB9B;AAAAA,EAAAA,GAEnBE,EAAsB;AAAA,IAAE6I,gBAAgBA,MAAMzH,EAAkB,EAAK;AAAA,EAAA,CAAG,CACtE,GAENf,KACCc,KACAK,MACAsH,gBAAAA,GAASC,aACPf,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IACEtI,WAAW,+BAA+BoI,CAAqB,IAC7DhI,KAAgB,SAAS,WAAW,OAAO;AAAA,IAE7C8G,OAAO;AAAA,MACLhH,UAAU;AAAA,MACV2C,KAAKF,EAAeE;AAAAA,MACpBC,MAAMH,EAAeG;AAAAA,MACrB,GAAGhC;AAAAA,IAAAA;AAAAA,IAEL0H,SAAU9B,CAAAA,MAAMA,EAAEoB,gBAAAA;AAAAA,IAClBW,WAAWV;AAAAA,IACXxG,KAAKU;AAAAA,IACL,sBAAoB9B;AAAAA,EAAAA,GAEnBE,EAAsB;AAAA,IAAE6I,gBAAgBA,MAAMzH,EAAkB,EAAK;AAAA,EAAA,CAAG,CACtE,GACL4C,SAASC,IACX,CACC;AAET,CACF;"}
|
package/dist/index180.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index180.js","sources":["../src/assets/icons/title-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.25439%208.51893H14.7454M4.88658%208.51893V10.0756M11.1132%208.51893V10.0756M4.88658%204.88674V2.81121C4.88658%202.23807%205.35121%201.77344%205.92435%201.77344H10.0754C10.6486%201.77344%2011.1132%202.23807%2011.1132%202.81121V4.88674M13.7076%204.88674H2.29216C1.71902%204.88674%201.25439%205.35137%201.25439%205.92451V13.1889C1.25439%2013.762%201.71902%2014.2266%202.29216%2014.2266H13.7076C14.2808%2014.2266%2014.7454%2013.762%2014.7454%2013.1889V5.92451C14.7454%205.35137%2014.2808%204.88674%2013.7076%204.88674Z'%20stroke='black'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_108"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index180.js","sources":["../src/assets/icons/title-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.25439%208.51893H14.7454M4.88658%208.51893V10.0756M11.1132%208.51893V10.0756M4.88658%204.88674V2.81121C4.88658%202.23807%205.35121%201.77344%205.92435%201.77344H10.0754C10.6486%201.77344%2011.1132%202.23807%2011.1132%202.81121V4.88674M13.7076%204.88674H2.29216C1.71902%204.88674%201.25439%205.35137%201.25439%205.92451V13.1889C1.25439%2013.762%201.71902%2014.2266%202.29216%2014.2266H13.7076C14.2808%2014.2266%2014.7454%2013.762%2014.7454%2013.1889V5.92451C14.7454%205.35137%2014.2808%204.88674%2013.7076%204.88674Z'%20stroke='black'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_108"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index181.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index181.js","sources":["../src/assets/icons/upload-csv.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='35'%20height='43'%20viewBox='0%200%2035%2043'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8801_133423)'%3e%3crect%20x='0.5625'%20y='0.25'%20width='33.5'%20height='41.5'%20rx='1.75'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-width='0.5'/%3e%3cg%20clip-path='url(%23clip1_8801_133423)'%3e%3cpath%20d='M7.81283%2010.5007C8.57025%2010.5007%209.18426%209.88666%209.18426%209.12924C9.18426%208.37182%208.57025%207.75781%207.81283%207.75781C7.05542%207.75781%206.44141%208.37182%206.44141%209.12924C6.44141%209.88666%207.05542%2010.5007%207.81283%2010.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2011.4141C6.57792%2011.4141%205.51811%2012.1688%205.07031%2013.2426H10.5577C10.1099%2012.1688%209.0501%2011.4141%207.81401%2011.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cg%20clip-path='url(%23clip2_8801_133423)'%3e%3cpath%20d='M7.81283%2020.5007C8.57025%2020.5007%209.18426%2019.8867%209.18426%2019.1292C9.18426%2018.3718%208.57025%2017.7578%207.81283%2017.7578C7.05542%2017.7578%206.44141%2018.3718%206.44141%2019.1292C6.44141%2019.8867%207.05542%2020.5007%207.81283%2020.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2021.4141C6.57792%2021.4141%205.51811%2022.1688%205.07031%2023.2426H10.5577C10.1099%2022.1688%209.0501%2021.4141%207.81401%2021.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cg%20clip-path='url(%23clip3_8801_133423)'%3e%3cpath%20d='M7.81283%2030.5007C8.57025%2030.5007%209.18426%2029.8867%209.18426%2029.1292C9.18426%2028.3718%208.57025%2027.7578%207.81283%2027.7578C7.05542%2027.7578%206.44141%2028.3718%206.44141%2029.1292C6.44141%2029.8867%207.05542%2030.5007%207.81283%2030.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2031.4141C6.57792%2031.4141%205.51811%2032.1688%205.07031%2033.2426H10.5577C10.1099%2032.1688%209.0501%2031.4141%207.81401%2031.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cpath%20d='M12.3125%2012H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2022H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2032H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%209H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2019H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2029H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8801_133423'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%207)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip2_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%2017)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip3_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%2027)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_109"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index181.js","sources":["../src/assets/icons/upload-csv.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='35'%20height='43'%20viewBox='0%200%2035%2043'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8801_133423)'%3e%3crect%20x='0.5625'%20y='0.25'%20width='33.5'%20height='41.5'%20rx='1.75'%20fill='%23F4FAFF'%20stroke='%231088E7'%20stroke-width='0.5'/%3e%3cg%20clip-path='url(%23clip1_8801_133423)'%3e%3cpath%20d='M7.81283%2010.5007C8.57025%2010.5007%209.18426%209.88666%209.18426%209.12924C9.18426%208.37182%208.57025%207.75781%207.81283%207.75781C7.05542%207.75781%206.44141%208.37182%206.44141%209.12924C6.44141%209.88666%207.05542%2010.5007%207.81283%2010.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2011.4141C6.57792%2011.4141%205.51811%2012.1688%205.07031%2013.2426H10.5577C10.1099%2012.1688%209.0501%2011.4141%207.81401%2011.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cg%20clip-path='url(%23clip2_8801_133423)'%3e%3cpath%20d='M7.81283%2020.5007C8.57025%2020.5007%209.18426%2019.8867%209.18426%2019.1292C9.18426%2018.3718%208.57025%2017.7578%207.81283%2017.7578C7.05542%2017.7578%206.44141%2018.3718%206.44141%2019.1292C6.44141%2019.8867%207.05542%2020.5007%207.81283%2020.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2021.4141C6.57792%2021.4141%205.51811%2022.1688%205.07031%2023.2426H10.5577C10.1099%2022.1688%209.0501%2021.4141%207.81401%2021.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cg%20clip-path='url(%23clip3_8801_133423)'%3e%3cpath%20d='M7.81283%2030.5007C8.57025%2030.5007%209.18426%2029.8867%209.18426%2029.1292C9.18426%2028.3718%208.57025%2027.7578%207.81283%2027.7578C7.05542%2027.7578%206.44141%2028.3718%206.44141%2029.1292C6.44141%2029.8867%207.05542%2030.5007%207.81283%2030.5007Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.81401%2031.4141C6.57792%2031.4141%205.51811%2032.1688%205.07031%2033.2426H10.5577C10.1099%2032.1688%209.0501%2031.4141%207.81401%2031.4141Z'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cpath%20d='M12.3125%2012H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2022H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2032H30.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%209H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2019H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3cpath%20d='M12.3125%2029H19.3125'%20stroke='%231088E7'%20stroke-width='0.5'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8801_133423'%3e%3crect%20width='34.6287'%20height='42.5'%20fill='white'/%3e%3c/clipPath%3e%3cclipPath%20id='clip1_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%207)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip2_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%2017)'/%3e%3c/clipPath%3e%3cclipPath%20id='clip3_8801_133423'%3e%3crect%20width='7'%20height='7'%20fill='white'%20transform='translate(4.3125%2027)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_109"],"mappings":"AAAA,MAAAA,IAAe;"}
|
package/dist/index182.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index182.js","sources":["../src/assets/icons/warning.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_16652_76962)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.91%2049.82C38.6674%2049.82%2049.82%2038.6674%2049.82%2024.91C49.82%2011.1526%2038.6674%200%2024.91%200C11.1526%200%200%2011.1526%200%2024.91C0%2038.6674%2011.1526%2049.82%2024.91%2049.82ZM24.91%2011.1205C26.384%2011.1205%2027.5789%2012.3155%2027.5789%2013.7895V25.3548C27.5789%2026.8288%2026.384%2028.0238%2024.91%2028.0238C23.436%2028.0238%2022.2411%2026.8288%2022.2411%2025.3548V13.7895C22.2411%2012.3155%2023.436%2011.1205%2024.91%2011.1205ZM28.4686%2035.1409C28.4686%2037.1063%2026.8753%2038.6995%2024.91%2038.6995C22.9447%2038.6995%2021.3514%2037.1063%2021.3514%2035.1409C21.3514%2033.1756%2022.9447%2031.5823%2024.91%2031.5823C26.8753%2031.5823%2028.4686%2033.1756%2028.4686%2035.1409Z'%20fill='%23FC2F60'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_16652_76962'%3e%3crect%20width='49.82'%20height='49.82'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_110"],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index182.js","sources":["../src/assets/icons/warning.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='50'%20height='50'%20viewBox='0%200%2050%2050'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_16652_76962)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M24.91%2049.82C38.6674%2049.82%2049.82%2038.6674%2049.82%2024.91C49.82%2011.1526%2038.6674%200%2024.91%200C11.1526%200%200%2011.1526%200%2024.91C0%2038.6674%2011.1526%2049.82%2024.91%2049.82ZM24.91%2011.1205C26.384%2011.1205%2027.5789%2012.3155%2027.5789%2013.7895V25.3548C27.5789%2026.8288%2026.384%2028.0238%2024.91%2028.0238C23.436%2028.0238%2022.2411%2026.8288%2022.2411%2025.3548V13.7895C22.2411%2012.3155%2023.436%2011.1205%2024.91%2011.1205ZM28.4686%2035.1409C28.4686%2037.1063%2026.8753%2038.6995%2024.91%2038.6995C22.9447%2038.6995%2021.3514%2037.1063%2021.3514%2035.1409C21.3514%2033.1756%2022.9447%2031.5823%2024.91%2031.5823C26.8753%2031.5823%2028.4686%2033.1756%2028.4686%2035.1409Z'%20fill='%23FC2F60'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_16652_76962'%3e%3crect%20width='49.82'%20height='49.82'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_110"],"mappings":"AAAA,MAAAA,IAAe;"}
|