@sheetxl/utils-react 0.7.27 → 0.7.28-beta.2
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/browser/cjs/C7jPCqFJNiWyD2pr.cjs +1 -0
- package/browser/cjs/CyWMySHsu-RvsIGs.cjs +1 -0
- package/browser/cjs/DZSvmqU8nRas1uz6.cjs +1 -0
- package/browser/cjs/index.cjs +5 -7
- package/browser/esm/7-_IBNtjW6k90P9e.mjs +390 -0
- package/browser/esm/BgV0nMxx2V13JMAV.mjs +2171 -0
- package/browser/esm/index.mjs +6128 -1806
- package/browser/esm/sLI7RooaRwVJN8R1.mjs +139 -0
- package/licenses/dependencies.txt +246 -39
- package/node/esm/DxhVj6bgjkjclg0J.mjs +139 -0
- package/node/esm/index.mjs +5141 -1774
- package/node/esm/k3zNlJ7uOn8Nfx4T.mjs +2171 -0
- package/package.json +8 -5
- package/types/index.d.ts +2 -2043
- package/types/src/animation/AnimationModeContext.d.ts +10 -0
- package/types/src/animation/index.d.ts +3 -0
- package/types/src/animation/useAnimatedMeasure.d.ts +39 -0
- package/types/src/command/ActivationTracker.d.ts +53 -0
- package/types/src/command/CommandAnchorProvider.d.ts +64 -0
- package/types/src/command/CommandButtonEntryLabel.d.ts +25 -0
- package/types/src/command/CommandButtonRegistry.d.ts +159 -0
- package/types/src/command/CommandButtonRegistryContext.d.ts +35 -0
- package/types/src/command/CommandCatalog.d.ts +155 -0
- package/types/src/command/CommandCatalogResource.d.ts +7 -0
- package/types/src/command/CommandCatalogService.d.ts +61 -0
- package/types/src/command/CommandChainContext.d.ts +32 -0
- package/types/src/command/CommandFallbackContext.d.ts +30 -0
- package/types/src/command/CommandFocusContext.d.ts +21 -0
- package/types/src/command/CommandRegistry.d.ts +164 -0
- package/types/src/command/CommandRegistryContext.d.ts +16 -0
- package/types/src/command/CommandResolver.d.ts +162 -0
- package/types/src/command/CommandScope.d.ts +343 -0
- package/types/src/command/CommandScopeContext.d.ts +205 -0
- package/types/src/command/FocusActivation.d.ts +140 -0
- package/types/src/command/ICommand.d.ts +31 -0
- package/types/src/command/ICommandDefinition.d.ts +82 -0
- package/types/src/command/KeyBindingDispatcher.d.ts +150 -0
- package/types/src/command/LayerActivation.d.ts +45 -0
- package/types/src/command/Types.d.ts +80 -0
- package/types/src/command/createResolvedCommand.d.ts +91 -0
- package/types/src/command/index.d.ts +26 -0
- package/types/src/command/reduceDefinitions.d.ts +33 -0
- package/types/src/command/useCommands.d.ts +22 -0
- package/types/src/command/useContributeCommands.d.ts +18 -0
- package/types/src/components/FocusKeyNavigation.d.ts +22 -0
- package/types/src/components/ITooltip.d.ts +38 -0
- package/types/src/components/RoundedTab.d.ts +26 -0
- package/types/src/components/index.d.ts +4 -0
- package/types/src/error/ErrorPanel.d.ts +14 -0
- package/types/src/error/ReactErrorBoundary.d.ts +7 -0
- package/types/src/error/UncaughtErrorBoundary.d.ts +5 -0
- package/types/src/error/index.d.ts +4 -0
- package/types/src/float/FloatPanel.d.ts +57 -0
- package/types/src/float/FloatPopper.d.ts +85 -0
- package/types/src/float/FloatPopup.d.ts +19 -0
- package/types/src/float/FloatProvider.d.ts +60 -0
- package/types/src/float/FloatStackContext.d.ts +25 -0
- package/types/src/float/FloatTooltip.d.ts +22 -0
- package/types/src/float/FloatUtils.d.ts +55 -0
- package/types/src/float/_FloatUtils.d.ts +51 -0
- package/types/src/float/index.d.ts +9 -0
- package/types/src/float/useFloatStack.d.ts +92 -0
- package/types/src/hooks/LanguageState.d.ts +15 -0
- package/types/src/hooks/index.d.ts +19 -0
- package/types/src/hooks/useBoundSyncExternalStore.d.ts +23 -0
- package/types/src/hooks/useCallbackRef.d.ts +11 -0
- package/types/src/hooks/useDevicePixelRatio.d.ts +37 -0
- package/types/src/hooks/useEditMode.d.ts +66 -0
- package/types/src/hooks/useGlobalClipboard.d.ts +7 -0
- package/types/src/hooks/useId.d.ts +9 -0
- package/types/src/hooks/useImperativeElement.d.ts +3 -0
- package/types/src/hooks/useLanguage.d.ts +13 -0
- package/types/src/hooks/useMouseDownAndHoldListener.d.ts +13 -0
- package/types/src/hooks/useNotifier.d.ts +330 -0
- package/types/src/hooks/useOnClickOrFocusAway.d.ts +8 -0
- package/types/src/hooks/useOptionalBoundSyncExternalStore.d.ts +20 -0
- package/types/src/hooks/useOptionalSyncExternalStore.d.ts +18 -0
- package/types/src/hooks/useSynchronizedPointerHandler.d.ts +54 -0
- package/types/src/hooks/useTextareaCaretRect.d.ts +85 -0
- package/types/src/hooks/useTraceUpdate.d.ts +2 -0
- package/types/src/hooks/useTranslator.d.ts +32 -0
- package/types/src/icons/DynamicIcon.d.ts +17 -0
- package/types/src/icons/DynamicIconService.d.ts +39 -0
- package/types/src/icons/ErrorIcon.d.ts +6 -0
- package/types/src/icons/Types.d.ts +81 -0
- package/types/src/icons/WalkingIcon.d.ts +27 -0
- package/types/src/icons/_Utils.d.ts +3 -0
- package/types/src/icons/index.d.ts +5 -0
- package/types/src/icons/packs/Base.d.ts +4 -0
- package/types/src/icons/packs/Conditional.d.ts +4 -0
- package/types/src/index.d.ts +18 -0
- package/types/src/loading/LoadingPanel.d.ts +31 -0
- package/types/src/loading/index.d.ts +2 -0
- package/types/src/persistence/InMemoryStore.d.ts +12 -0
- package/types/src/persistence/LocalStorageStore.d.ts +15 -0
- package/types/src/persistence/PersistenceStateProvider.d.ts +3 -0
- package/types/src/persistence/Types.d.ts +95 -0
- package/types/src/persistence/_Context.d.ts +9 -0
- package/types/src/persistence/index.d.ts +6 -0
- package/types/src/persistence/usePersistenceState.d.ts +33 -0
- package/types/src/react-resizable/Resizable.d.ts +30 -0
- package/types/src/react-resizable/ResizableBox.d.ts +18 -0
- package/types/src/react-resizable/index.d.ts +11 -0
- package/types/src/react-resizable/propTypes.d.ts +56 -0
- package/types/src/react-resizable/utils.d.ts +3 -0
- package/types/src/scroll/AxisViewport.d.ts +73 -0
- package/types/src/scroll/IScrollPane.d.ts +63 -0
- package/types/src/scroll/IScrollbar.d.ts +94 -0
- package/types/src/scroll/NativeScrollbar.d.ts +7 -0
- package/types/src/scroll/ScrollButton.d.ts +29 -0
- package/types/src/scroll/ScrollPane.d.ts +4 -0
- package/types/src/scroll/Scrollbar.d.ts +4 -0
- package/types/src/scroll/TouchThumbContext.d.ts +93 -0
- package/types/src/scroll/TouchThumbHandle.d.ts +64 -0
- package/types/src/scroll/TrackDrag.d.ts +107 -0
- package/types/src/scroll/Utils.d.ts +8 -0
- package/types/src/scroll/Viewport.d.ts +285 -0
- package/types/src/scroll/VirtualScrollbar.d.ts +49 -0
- package/types/src/scroll/index.d.ts +14 -0
- package/types/src/scroll/scrollbarTheming.d.ts +27 -0
- package/types/src/scroll/useWheelScroll.d.ts +27 -0
- package/types/src/scroller/Scroller.d.ts +260 -0
- package/types/src/scroller/animate.d.ts +30 -0
- package/types/src/scroller/index.d.ts +2 -0
- package/types/src/singletonHook/components/SingleItemContainer.d.ts +6 -0
- package/types/src/singletonHook/components/SingletonHooksContainer.d.ts +7 -0
- package/types/src/singletonHook/index.d.ts +11 -0
- package/types/src/singletonHook/singletonHook.d.ts +6 -0
- package/types/src/singletonHook/utils/env.d.ts +4 -0
- package/types/src/singletonHook/utils/env.native.d.ts +1 -0
- package/types/src/singletonHook/utils/warning.d.ts +2 -0
- package/types/src/splitPane/SplitPane.d.ts +91 -0
- package/types/src/splitPane/SplitPaneResizer.d.ts +11 -0
- package/types/src/splitPane/index.d.ts +3 -0
- package/types/src/theme/TokenTheme.d.ts +196 -0
- package/types/src/theme/TokenThemeProvider.d.ts +97 -0
- package/types/src/theme/buildThemeCSS.d.ts +54 -0
- package/types/src/theme/createThemeVars.d.ts +15 -0
- package/types/src/theme/defaultTheme.d.ts +15 -0
- package/types/src/theme/index.d.ts +9 -0
- package/types/src/theme/resolveTokens.d.ts +21 -0
- package/types/src/theme/themeAttrs.d.ts +32 -0
- package/types/src/theme/useResolvedThemeMode.d.ts +17 -0
- package/types/src/types/Types.d.ts +71 -0
- package/types/src/types/index.d.ts +2 -0
- package/types/src/utils/FullScreenPortal.d.ts +6 -0
- package/types/src/utils/PinchZoom.d.ts +3 -0
- package/types/src/utils/ReactUtils.d.ts +134 -0
- package/types/src/utils/index.d.ts +4 -0
- package/types/src/utils/useFullScreen.d.ts +47 -0
- package/browser/cjs/DJJQOl0dYYJgXfru.cjs +0 -6
- package/browser/esm/Bh0xih0ZamA4MXkt.mjs +0 -12
- package/node/assets/style.css +0 -1
- package/node/esm/DdwriRgF582bPBWP.mjs +0 -12
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.7.28-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var e = (e) => Math.round(100 * e) / 100, t = (t) => t.map(([t, n], r) => `${r ? "L" : "M"}${e(t)} ${e(n)}`).join(" ") + "Z", n = (e, t) => {
|
|
8
|
+
let n = t * Math.PI / 180, r = Math.cos(n), i = Math.sin(n);
|
|
9
|
+
return e.map(([e, t]) => {
|
|
10
|
+
let n = e - 12, a = t - 12;
|
|
11
|
+
return [12 + n * r - a * i, 12 + n * i + a * r];
|
|
12
|
+
});
|
|
13
|
+
}, r = [
|
|
14
|
+
[12, 2.5],
|
|
15
|
+
[19.5, 12],
|
|
16
|
+
[15.25, 12],
|
|
17
|
+
[15.25, 21.5],
|
|
18
|
+
[8.75, 21.5],
|
|
19
|
+
[8.75, 12],
|
|
20
|
+
[4.5, 12]
|
|
21
|
+
], i = (e) => ({ svg: [{
|
|
22
|
+
d: t(n(r, e)),
|
|
23
|
+
className: "fill outlined"
|
|
24
|
+
}] }), a = [
|
|
25
|
+
[12, 5.5],
|
|
26
|
+
[21, 18.5],
|
|
27
|
+
[3, 18.5]
|
|
28
|
+
], o = (e) => ({ svg: [{
|
|
29
|
+
d: t(n(a, e)),
|
|
30
|
+
className: "fill outlined"
|
|
31
|
+
}] }), s = (...e) => e.map((e) => ({
|
|
32
|
+
d: e,
|
|
33
|
+
className: "fill outlined"
|
|
34
|
+
})), c = (...e) => e.map((e) => ({
|
|
35
|
+
d: e,
|
|
36
|
+
className: "line heavy knockout"
|
|
37
|
+
})), l = (...e) => e.map((e) => ({
|
|
38
|
+
d: e,
|
|
39
|
+
className: "line heavy"
|
|
40
|
+
})), u = "M2 12a10 10 0 1 0 20 0a10 10 0 1 0-20 0", d = [
|
|
41
|
+
5,
|
|
42
|
+
9,
|
|
43
|
+
13,
|
|
44
|
+
17
|
|
45
|
+
].map((e, t) => ({ d: `M${3 + 5 * t} ${21 - e}h3.5v${e}h-3.5z` })), f = (e) => ({ svg: d.map((t, n) => ({
|
|
46
|
+
...t,
|
|
47
|
+
className: n < e ? "fill" : "fill tertiary"
|
|
48
|
+
})) }), p = [
|
|
49
|
+
"M12 2a10 10 0 0 1 10 10h-10z",
|
|
50
|
+
"M22 12a10 10 0 0 1-10 10v-10z",
|
|
51
|
+
"M12 22a10 10 0 0 1-10-10h10z",
|
|
52
|
+
"M2 12a10 10 0 0 1 10-10v10z"
|
|
53
|
+
], m = Array.from({ length: 10 }, (e, t) => {
|
|
54
|
+
let n = t % 2 == 0 ? 10.5 : 4.4, r = (36 * t - 90) * Math.PI / 180;
|
|
55
|
+
return [12 + n * Math.cos(r), 12 + n * Math.sin(r)];
|
|
56
|
+
}), h = (e, t) => {
|
|
57
|
+
let n = [], r = (e) => {
|
|
58
|
+
let t = n[n.length - 1];
|
|
59
|
+
t && t[0] === e[0] && t[1] === e[1] || n.push(e);
|
|
60
|
+
}, i = e.length;
|
|
61
|
+
for (let n = 0; n < i; n++) {
|
|
62
|
+
let a = e[n], o = e[(n + i - 1) % i], s = a[0] <= t;
|
|
63
|
+
if (s !== o[0] <= t) {
|
|
64
|
+
let e = (t - o[0]) / (a[0] - o[0]);
|
|
65
|
+
r([t, o[1] + e * (a[1] - o[1])]);
|
|
66
|
+
}
|
|
67
|
+
s && r(a);
|
|
68
|
+
}
|
|
69
|
+
return n;
|
|
70
|
+
}, g = (e) => ({ svg: [{
|
|
71
|
+
d: t(m),
|
|
72
|
+
className: e === 2 ? "fill" : "fill tertiary"
|
|
73
|
+
}, ...e === 1 ? [{
|
|
74
|
+
d: t(h(m, 12)),
|
|
75
|
+
className: "fill"
|
|
76
|
+
}] : []] }), _ = [
|
|
77
|
+
0,
|
|
78
|
+
1,
|
|
79
|
+
2,
|
|
80
|
+
3
|
|
81
|
+
].map((e) => `M${2.25 + 5 * e} 9.75h4.5v4.5h-4.5z`), v = (e) => ({ svg: _.map((t, n) => ({
|
|
82
|
+
d: t,
|
|
83
|
+
className: n < e ? "fill" : "fill tertiary"
|
|
84
|
+
})) }), y = (e) => ({ svg: [...p.slice(0, e).map((e) => ({
|
|
85
|
+
d: e,
|
|
86
|
+
className: "fill"
|
|
87
|
+
})), {
|
|
88
|
+
d: u,
|
|
89
|
+
className: "line heavy"
|
|
90
|
+
}] }), b = {
|
|
91
|
+
meta: {
|
|
92
|
+
label: "Conditional Formatting",
|
|
93
|
+
license: "ISC (Lucide)",
|
|
94
|
+
defaultViewBox: "0 0 24 24"
|
|
95
|
+
},
|
|
96
|
+
icons: {
|
|
97
|
+
arrowUp: i(0),
|
|
98
|
+
arrowUpRight: i(45),
|
|
99
|
+
arrowRight: i(90),
|
|
100
|
+
arrowDownRight: i(135),
|
|
101
|
+
arrowDown: i(180),
|
|
102
|
+
triangleUpSharp: o(0),
|
|
103
|
+
triangleDownSharp: o(180),
|
|
104
|
+
dash: { svg: s("M3 10.4h18v3.2H3z") },
|
|
105
|
+
circle: { svg: s(u) },
|
|
106
|
+
circleRimmed: { svg: [{
|
|
107
|
+
d: u,
|
|
108
|
+
className: "fill outlined rimmed"
|
|
109
|
+
}] },
|
|
110
|
+
triangleUp: { svg: s("M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z") },
|
|
111
|
+
diamond: { svg: s("M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z") },
|
|
112
|
+
flag: { svg: s("M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2a8 8 0 0 1 4 1 8 8 0 0 0 4 1 6 6 0 0 0 2.8-.7 1 1 0 0 1 1.2.15 1 1 0 0 1 0 .85V13a1 1 0 0 1-.6.9A6 6 0 0 1 16 14a8 8 0 0 1-4-1 8 8 0 0 0-4-1 6 6 0 0 0-4 1.4") },
|
|
113
|
+
check: { svg: l("M20 6.5 9.5 17 4 11.5") },
|
|
114
|
+
cross: { svg: l("M18.5 5.5 5.5 18.5", "M5.5 5.5 18.5 18.5") },
|
|
115
|
+
exclamation: { svg: l("M12 4v10", "M12 19.5h.01") },
|
|
116
|
+
circleCheck: { svg: [...s(u), ...c("m8 12.2 2.6 2.6L16 9.4")] },
|
|
117
|
+
circleCross: { svg: [...s(u), ...c("m15.5 8.5-7 7", "m8.5 8.5 7 7")] },
|
|
118
|
+
circleExclamation: { svg: [...s(u), ...c("M12 6.5v6", "M12 16.6h.01")] },
|
|
119
|
+
rating0: f(0),
|
|
120
|
+
rating1: f(1),
|
|
121
|
+
rating2: f(2),
|
|
122
|
+
rating3: f(3),
|
|
123
|
+
rating4: f(4),
|
|
124
|
+
star0: g(0),
|
|
125
|
+
star1: g(1),
|
|
126
|
+
star2: g(2),
|
|
127
|
+
boxes0: v(0),
|
|
128
|
+
boxes1: v(1),
|
|
129
|
+
boxes2: v(2),
|
|
130
|
+
boxes3: v(3),
|
|
131
|
+
boxes4: v(4),
|
|
132
|
+
quarters0: y(0),
|
|
133
|
+
quarters1: y(1),
|
|
134
|
+
quarters2: y(2),
|
|
135
|
+
quarters3: y(3),
|
|
136
|
+
quarters4: y(4)
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
export { b as default };
|
|
@@ -6,7 +6,7 @@ Description: Detect if a device is mouse only, touch only, or hybrid
|
|
|
6
6
|
Repository: git+https://github.com/rafgraph/detect-it.git
|
|
7
7
|
Homepage: https://detect-it.rafgraph.dev
|
|
8
8
|
Author: Rafael Pedicini <rafael@rafgraph.dev>
|
|
9
|
-
License
|
|
9
|
+
License Text:
|
|
10
10
|
===
|
|
11
11
|
|
|
12
12
|
The MIT License (MIT)
|
|
@@ -33,49 +33,15 @@ SOFTWARE.
|
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
-
Name: react-merge-refs
|
|
37
|
-
Version: 3.0.2
|
|
38
|
-
License: MIT
|
|
39
|
-
Private: false
|
|
40
|
-
Description: React utility to merge refs.
|
|
41
|
-
Repository: undefined
|
|
42
|
-
Author: Greg Bergé <berge.greg@gmail.com>
|
|
43
|
-
License Copyright:
|
|
44
|
-
===
|
|
45
|
-
|
|
46
|
-
MIT License
|
|
47
|
-
|
|
48
|
-
Copyright (c) 2020 Greg Bergé
|
|
49
|
-
|
|
50
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
51
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
52
|
-
in the Software without restriction, including without limitation the rights
|
|
53
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
54
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
55
|
-
furnished to do so, subject to the following conditions:
|
|
56
|
-
|
|
57
|
-
The above copyright notice and this permission notice shall be included in all
|
|
58
|
-
copies or substantial portions of the Software.
|
|
59
|
-
|
|
60
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
61
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
62
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
63
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
64
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
65
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
66
|
-
SOFTWARE.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
36
|
Name: react-use
|
|
71
|
-
Version: 17.6.
|
|
37
|
+
Version: 17.6.1
|
|
72
38
|
License: Unlicense
|
|
73
39
|
Private: false
|
|
74
40
|
Description: Collection of React Hooks
|
|
75
41
|
Repository: https://github.com/streamich/react-use
|
|
76
42
|
Homepage: https://github.com/streamich/react-use#readme
|
|
77
43
|
Author: @streamich
|
|
78
|
-
License
|
|
44
|
+
License Text:
|
|
79
45
|
===
|
|
80
46
|
|
|
81
47
|
This is free and unencumbered software released into the public domain.
|
|
@@ -105,6 +71,40 @@ For more information, please refer to <https://unlicense.org>
|
|
|
105
71
|
|
|
106
72
|
---
|
|
107
73
|
|
|
74
|
+
Name: react-merge-refs
|
|
75
|
+
Version: 3.0.2
|
|
76
|
+
License: MIT
|
|
77
|
+
Private: false
|
|
78
|
+
Description: React utility to merge refs.
|
|
79
|
+
Repository: undefined
|
|
80
|
+
Author: Greg Bergé <berge.greg@gmail.com>
|
|
81
|
+
License Text:
|
|
82
|
+
===
|
|
83
|
+
|
|
84
|
+
MIT License
|
|
85
|
+
|
|
86
|
+
Copyright (c) 2020 Greg Bergé
|
|
87
|
+
|
|
88
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
89
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
90
|
+
in the Software without restriction, including without limitation the rights
|
|
91
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
92
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
93
|
+
furnished to do so, subject to the following conditions:
|
|
94
|
+
|
|
95
|
+
The above copyright notice and this permission notice shall be included in all
|
|
96
|
+
copies or substantial portions of the Software.
|
|
97
|
+
|
|
98
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
99
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
100
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
101
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
102
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
103
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
104
|
+
SOFTWARE.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
108
|
Name: clsx
|
|
109
109
|
Version: 2.1.1
|
|
110
110
|
License: MIT
|
|
@@ -112,7 +112,7 @@ Private: false
|
|
|
112
112
|
Description: A tiny (239B) utility for constructing className strings conditionally.
|
|
113
113
|
Repository: undefined
|
|
114
114
|
Author: Luke Edwards <luke.edwards05@gmail.com> (https://lukeed.com)
|
|
115
|
-
License
|
|
115
|
+
License Text:
|
|
116
116
|
===
|
|
117
117
|
|
|
118
118
|
MIT License
|
|
@@ -123,4 +123,211 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
|
123
123
|
|
|
124
124
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
125
125
|
|
|
126
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
126
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
Name: @floating-ui/utils
|
|
131
|
+
Version: 0.2.12
|
|
132
|
+
License: MIT
|
|
133
|
+
Private: false
|
|
134
|
+
Description: Utilities for Floating UI
|
|
135
|
+
Repository: https://github.com/floating-ui/floating-ui.git
|
|
136
|
+
Homepage: https://floating-ui.com
|
|
137
|
+
Author: atomiks
|
|
138
|
+
License Text:
|
|
139
|
+
===
|
|
140
|
+
|
|
141
|
+
MIT License
|
|
142
|
+
|
|
143
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
144
|
+
|
|
145
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
146
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
147
|
+
the Software without restriction, including without limitation the rights to
|
|
148
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
149
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
150
|
+
subject to the following conditions:
|
|
151
|
+
|
|
152
|
+
The above copyright notice and this permission notice shall be included in all
|
|
153
|
+
copies or substantial portions of the Software.
|
|
154
|
+
|
|
155
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
156
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
157
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
158
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
159
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
160
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
161
|
+
|
|
162
|
+
---
|
|
163
|
+
|
|
164
|
+
Name: @floating-ui/core
|
|
165
|
+
Version: 1.8.0
|
|
166
|
+
License: MIT
|
|
167
|
+
Private: false
|
|
168
|
+
Description: Positioning library for floating elements: tooltips, popovers, dropdowns, and more
|
|
169
|
+
Repository: https://github.com/floating-ui/floating-ui.git
|
|
170
|
+
Homepage: https://floating-ui.com
|
|
171
|
+
Author: atomiks
|
|
172
|
+
License Text:
|
|
173
|
+
===
|
|
174
|
+
|
|
175
|
+
MIT License
|
|
176
|
+
|
|
177
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
178
|
+
|
|
179
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
180
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
181
|
+
the Software without restriction, including without limitation the rights to
|
|
182
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
183
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
184
|
+
subject to the following conditions:
|
|
185
|
+
|
|
186
|
+
The above copyright notice and this permission notice shall be included in all
|
|
187
|
+
copies or substantial portions of the Software.
|
|
188
|
+
|
|
189
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
190
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
191
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
192
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
193
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
194
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
Name: @floating-ui/dom
|
|
199
|
+
Version: 1.8.0
|
|
200
|
+
License: MIT
|
|
201
|
+
Private: false
|
|
202
|
+
Description: Floating UI for the web
|
|
203
|
+
Repository: https://github.com/floating-ui/floating-ui.git
|
|
204
|
+
Homepage: https://floating-ui.com
|
|
205
|
+
Author: atomiks
|
|
206
|
+
License Text:
|
|
207
|
+
===
|
|
208
|
+
|
|
209
|
+
MIT License
|
|
210
|
+
|
|
211
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
212
|
+
|
|
213
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
214
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
215
|
+
the Software without restriction, including without limitation the rights to
|
|
216
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
217
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
218
|
+
subject to the following conditions:
|
|
219
|
+
|
|
220
|
+
The above copyright notice and this permission notice shall be included in all
|
|
221
|
+
copies or substantial portions of the Software.
|
|
222
|
+
|
|
223
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
224
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
225
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
226
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
227
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
228
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
Name: @floating-ui/react-dom
|
|
233
|
+
Version: 2.1.9
|
|
234
|
+
License: MIT
|
|
235
|
+
Private: false
|
|
236
|
+
Description: Floating UI for React DOM
|
|
237
|
+
Repository: https://github.com/floating-ui/floating-ui.git
|
|
238
|
+
Homepage: https://floating-ui.com/docs/react-dom
|
|
239
|
+
Author: atomiks
|
|
240
|
+
License Text:
|
|
241
|
+
===
|
|
242
|
+
|
|
243
|
+
MIT License
|
|
244
|
+
|
|
245
|
+
Copyright (c) 2021-present Floating UI contributors
|
|
246
|
+
|
|
247
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
248
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
249
|
+
the Software without restriction, including without limitation the rights to
|
|
250
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
251
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
252
|
+
subject to the following conditions:
|
|
253
|
+
|
|
254
|
+
The above copyright notice and this permission notice shall be included in all
|
|
255
|
+
copies or substantial portions of the Software.
|
|
256
|
+
|
|
257
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
258
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
259
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
260
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
261
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
262
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
263
|
+
|
|
264
|
+
---
|
|
265
|
+
|
|
266
|
+
Name: prop-types
|
|
267
|
+
Version: 15.8.1
|
|
268
|
+
License: MIT
|
|
269
|
+
Private: false
|
|
270
|
+
Description: Runtime type checking for React props and similar objects.
|
|
271
|
+
Repository: undefined
|
|
272
|
+
Homepage: https://facebook.github.io/react/
|
|
273
|
+
License Text:
|
|
274
|
+
===
|
|
275
|
+
|
|
276
|
+
MIT License
|
|
277
|
+
|
|
278
|
+
Copyright (c) 2013-present, Facebook, Inc.
|
|
279
|
+
|
|
280
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
281
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
282
|
+
in the Software without restriction, including without limitation the rights
|
|
283
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
284
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
285
|
+
furnished to do so, subject to the following conditions:
|
|
286
|
+
|
|
287
|
+
The above copyright notice and this permission notice shall be included in all
|
|
288
|
+
copies or substantial portions of the Software.
|
|
289
|
+
|
|
290
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
291
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
292
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
293
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
294
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
295
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
296
|
+
SOFTWARE.
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
Name: react-draggable
|
|
301
|
+
Version: 4.7.0
|
|
302
|
+
License: MIT
|
|
303
|
+
Private: false
|
|
304
|
+
Description: React draggable component
|
|
305
|
+
Repository: https://github.com/react-grid-layout/react-draggable.git
|
|
306
|
+
Homepage: https://github.com/react-grid-layout/react-draggable
|
|
307
|
+
Author: Matt Zabriskie
|
|
308
|
+
Contributors:
|
|
309
|
+
Samuel Reed <samuel.trace.reed@gmail.com> (http://strml.net/)
|
|
310
|
+
License Text:
|
|
311
|
+
===
|
|
312
|
+
|
|
313
|
+
(MIT License)
|
|
314
|
+
|
|
315
|
+
Copyright (c) 2014-2016 Matt Zabriskie. All rights reserved.
|
|
316
|
+
|
|
317
|
+
Permission is hereby granted, free of charge, to any person obtaining a
|
|
318
|
+
copy of this software and associated documentation files (the "Software"),
|
|
319
|
+
to deal in the Software without restriction, including without limitation
|
|
320
|
+
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
321
|
+
and/or sell copies of the Software, and to permit persons to whom the
|
|
322
|
+
Software is furnished to do so, subject to the following conditions:
|
|
323
|
+
|
|
324
|
+
The above copyright notice and this permission notice shall be included in
|
|
325
|
+
all copies or substantial portions of the Software.
|
|
326
|
+
|
|
327
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
328
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
329
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
330
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
331
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
332
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
333
|
+
DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/utils-react - Utils React - Utilities for React capabilities needed for all SheetXL components. - v0.7.28-beta.2
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
var a = (a) => Math.round(100 * a) / 100, s = (s) => s.map(([s, l], e) => `${e ? "L" : "M"}${a(s)} ${a(l)}`).join(" ") + "Z", l = (a, s) => {
|
|
8
|
+
const l = s * Math.PI / 180, e = Math.cos(l), r = Math.sin(l);
|
|
9
|
+
return a.map(([a, s]) => {
|
|
10
|
+
const l = a - 12, t = s - 12;
|
|
11
|
+
return [12 + l * e - t * r, 12 + l * r + t * e];
|
|
12
|
+
});
|
|
13
|
+
}, e = [
|
|
14
|
+
[12, 2.5],
|
|
15
|
+
[19.5, 12],
|
|
16
|
+
[15.25, 12],
|
|
17
|
+
[15.25, 21.5],
|
|
18
|
+
[8.75, 21.5],
|
|
19
|
+
[8.75, 12],
|
|
20
|
+
[4.5, 12]
|
|
21
|
+
], r = (a) => ({ svg: [{
|
|
22
|
+
d: s(l(e, a)),
|
|
23
|
+
className: "fill outlined"
|
|
24
|
+
}] }), t = [
|
|
25
|
+
[12, 5.5],
|
|
26
|
+
[21, 18.5],
|
|
27
|
+
[3, 18.5]
|
|
28
|
+
], i = (a) => ({ svg: [{
|
|
29
|
+
d: s(l(t, a)),
|
|
30
|
+
className: "fill outlined"
|
|
31
|
+
}] }), n = (...a) => a.map((a) => ({
|
|
32
|
+
d: a,
|
|
33
|
+
className: "fill outlined"
|
|
34
|
+
})), o = (...a) => a.map((a) => ({
|
|
35
|
+
d: a,
|
|
36
|
+
className: "line heavy knockout"
|
|
37
|
+
})), c = (...a) => a.map((a) => ({
|
|
38
|
+
d: a,
|
|
39
|
+
className: "line heavy"
|
|
40
|
+
})), m = "M2 12a10 10 0 1 0 20 0a10 10 0 1 0-20 0", g = [
|
|
41
|
+
5,
|
|
42
|
+
9,
|
|
43
|
+
13,
|
|
44
|
+
17
|
|
45
|
+
].map((a, s) => ({ d: `M${3 + 5 * s} ${21 - a}h3.5v${a}h-3.5z` })), h = (a) => ({ svg: g.map((s, l) => ({
|
|
46
|
+
...s,
|
|
47
|
+
className: l < a ? "fill" : "fill tertiary"
|
|
48
|
+
})) }), v = [
|
|
49
|
+
"M12 2a10 10 0 0 1 10 10h-10z",
|
|
50
|
+
"M22 12a10 10 0 0 1-10 10v-10z",
|
|
51
|
+
"M12 22a10 10 0 0 1-10-10h10z",
|
|
52
|
+
"M2 12a10 10 0 0 1 10-10v10z"
|
|
53
|
+
], d = Array.from({ length: 10 }, (a, s) => {
|
|
54
|
+
const l = s % 2 == 0 ? 10.5 : 4.4, e = (36 * s - 90) * Math.PI / 180;
|
|
55
|
+
return [12 + l * Math.cos(e), 12 + l * Math.sin(e)];
|
|
56
|
+
}), M = (a, s) => {
|
|
57
|
+
const l = [], e = (a) => {
|
|
58
|
+
const s = l[l.length - 1];
|
|
59
|
+
s && s[0] === a[0] && s[1] === a[1] || l.push(a);
|
|
60
|
+
}, r = a.length;
|
|
61
|
+
for (let l = 0; l < r; l++) {
|
|
62
|
+
const t = a[l], i = a[(l + r - 1) % r], n = t[0] <= s;
|
|
63
|
+
if (n !== i[0] <= s) {
|
|
64
|
+
const a = (s - i[0]) / (t[0] - i[0]);
|
|
65
|
+
e([s, i[1] + a * (t[1] - i[1])]);
|
|
66
|
+
}
|
|
67
|
+
n && e(t);
|
|
68
|
+
}
|
|
69
|
+
return l;
|
|
70
|
+
}, u = (a) => ({ svg: [{
|
|
71
|
+
d: s(d),
|
|
72
|
+
className: 2 === a ? "fill" : "fill tertiary"
|
|
73
|
+
}, ...1 === a ? [{
|
|
74
|
+
d: s(M(d, 12)),
|
|
75
|
+
className: "fill"
|
|
76
|
+
}] : []] }), f = [
|
|
77
|
+
0,
|
|
78
|
+
1,
|
|
79
|
+
2,
|
|
80
|
+
3
|
|
81
|
+
].map((a) => `M${2.25 + 5 * a} 9.75h4.5v4.5h-4.5z`), p = (a) => ({ svg: f.map((s, l) => ({
|
|
82
|
+
d: s,
|
|
83
|
+
className: l < a ? "fill" : "fill tertiary"
|
|
84
|
+
})) }), N = (a) => ({ svg: [...v.slice(0, a).map((a) => ({
|
|
85
|
+
d: a,
|
|
86
|
+
className: "fill"
|
|
87
|
+
})), {
|
|
88
|
+
d: m,
|
|
89
|
+
className: "line heavy"
|
|
90
|
+
}] }), w = {
|
|
91
|
+
meta: {
|
|
92
|
+
label: "Conditional Formatting",
|
|
93
|
+
license: "ISC (Lucide)",
|
|
94
|
+
defaultViewBox: "0 0 24 24"
|
|
95
|
+
},
|
|
96
|
+
icons: {
|
|
97
|
+
arrowUp: r(0),
|
|
98
|
+
arrowUpRight: r(45),
|
|
99
|
+
arrowRight: r(90),
|
|
100
|
+
arrowDownRight: r(135),
|
|
101
|
+
arrowDown: r(180),
|
|
102
|
+
triangleUpSharp: i(0),
|
|
103
|
+
triangleDownSharp: i(180),
|
|
104
|
+
dash: { svg: n("M3 10.4h18v3.2H3z") },
|
|
105
|
+
circle: { svg: n(m) },
|
|
106
|
+
circleRimmed: { svg: [{
|
|
107
|
+
d: m,
|
|
108
|
+
className: "fill outlined rimmed"
|
|
109
|
+
}] },
|
|
110
|
+
triangleUp: { svg: n("M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z") },
|
|
111
|
+
diamond: { svg: n("M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41L13.7 2.71a2.41 2.41 0 0 0-3.41 0Z") },
|
|
112
|
+
flag: { svg: n("M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2a8 8 0 0 1 4 1 8 8 0 0 0 4 1 6 6 0 0 0 2.8-.7 1 1 0 0 1 1.2.15 1 1 0 0 1 0 .85V13a1 1 0 0 1-.6.9A6 6 0 0 1 16 14a8 8 0 0 1-4-1 8 8 0 0 0-4-1 6 6 0 0 0-4 1.4") },
|
|
113
|
+
check: { svg: c("M20 6.5 9.5 17 4 11.5") },
|
|
114
|
+
cross: { svg: c("M18.5 5.5 5.5 18.5", "M5.5 5.5 18.5 18.5") },
|
|
115
|
+
exclamation: { svg: c("M12 4v10", "M12 19.5h.01") },
|
|
116
|
+
circleCheck: { svg: [...n(m), ...o("m8 12.2 2.6 2.6L16 9.4")] },
|
|
117
|
+
circleCross: { svg: [...n(m), ...o("m15.5 8.5-7 7", "m8.5 8.5 7 7")] },
|
|
118
|
+
circleExclamation: { svg: [...n(m), ...o("M12 6.5v6", "M12 16.6h.01")] },
|
|
119
|
+
rating0: h(0),
|
|
120
|
+
rating1: h(1),
|
|
121
|
+
rating2: h(2),
|
|
122
|
+
rating3: h(3),
|
|
123
|
+
rating4: h(4),
|
|
124
|
+
star0: u(0),
|
|
125
|
+
star1: u(1),
|
|
126
|
+
star2: u(2),
|
|
127
|
+
boxes0: p(0),
|
|
128
|
+
boxes1: p(1),
|
|
129
|
+
boxes2: p(2),
|
|
130
|
+
boxes3: p(3),
|
|
131
|
+
boxes4: p(4),
|
|
132
|
+
quarters0: N(0),
|
|
133
|
+
quarters1: N(1),
|
|
134
|
+
quarters2: N(2),
|
|
135
|
+
quarters3: N(3),
|
|
136
|
+
quarters4: N(4)
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
export { w as default };
|